Documentation ¶
Overview ¶
Package BDTpolicy provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.1-0.20240123090344-d326c01d279a DO NOT EDIT.
Index ¶
- Constants
- func GetKinOpenApi3Document() (*openapi3.T, error)
- func GetKinOpenApi3DocumentMust() *openapi3.T
- func NewCreateBDTPolicyRequest(server string, body CreateBDTPolicyJSONRequestBody) (*http.Request, error)
- func NewCreateBDTPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetBDTPolicyRequest(server string, bdtPolicyId string) (*http.Request, error)
- func NewUpdateBDTPolicyRequestWithApplicationMergePatchPlusJSONBody(server string, bdtPolicyId string, ...) (*http.Request, error)
- func NewUpdateBDTPolicyRequestWithBody(server string, bdtPolicyId string, contentType string, body io.Reader) (*http.Request, error)
- func RegisterHandlers(router gin.IRouter, si ServerInterface)
- func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)
- type AspId
- type BdtPolicy
- type BdtPolicyData
- type BdtPolicyDataPatch
- type BdtReqData
- type BdtReqDataPatch
- type Client
- func (c *Client) CreateBDTPolicy(ctx context.Context, body CreateBDTPolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateBDTPolicyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetBDTPolicy(ctx context.Context, bdtPolicyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateBDTPolicyWithApplicationMergePatchPlusJSONBody(ctx context.Context, bdtPolicyId string, ...) (*http.Response, error)
- func (c *Client) UpdateBDTPolicyWithBody(ctx context.Context, bdtPolicyId string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateBDTPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateBDTPolicyResponse, error)
- func (c *ClientWithResponses) CreateBDTPolicyWithResponse(ctx context.Context, body CreateBDTPolicyJSONRequestBody, ...) (*CreateBDTPolicyResponse, error)
- func (c *ClientWithResponses) GetBDTPolicyWithResponse(ctx context.Context, bdtPolicyId string, reqEditors ...RequestEditorFn) (*GetBDTPolicyResponse, error)
- func (c *ClientWithResponses) UpdateBDTPolicyWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, bdtPolicyId string, ...) (*UpdateBDTPolicyResponse, error)
- func (c *ClientWithResponses) UpdateBDTPolicyWithBodyWithResponse(ctx context.Context, bdtPolicyId string, contentType string, body io.Reader, ...) (*UpdateBDTPolicyResponse, error)
- type ClientWithResponsesInterface
- type CreateBDTPolicy201JSONResponse
- type CreateBDTPolicy201ResponseHeaders
- type CreateBDTPolicy303Response
- type CreateBDTPolicy303ResponseHeaders
- type CreateBDTPolicy400ApplicationProblemPlusJSONResponse
- type CreateBDTPolicy401ApplicationProblemPlusJSONResponse
- type CreateBDTPolicy403ApplicationProblemPlusJSONResponse
- type CreateBDTPolicy404ApplicationProblemPlusJSONResponse
- type CreateBDTPolicy411ApplicationProblemPlusJSONResponse
- type CreateBDTPolicy413ApplicationProblemPlusJSONResponse
- type CreateBDTPolicy415ApplicationProblemPlusJSONResponse
- type CreateBDTPolicy429ApplicationProblemPlusJSONResponse
- type CreateBDTPolicy500ApplicationProblemPlusJSONResponse
- type CreateBDTPolicy503ApplicationProblemPlusJSONResponse
- type CreateBDTPolicyJSONRequestBody
- type CreateBDTPolicyRequestObject
- type CreateBDTPolicyResponse
- type CreateBDTPolicyResponseObject
- type CreateBDTPolicydefaultApplicationProblemPlusJSONResponse
- type GetBDTPolicy200JSONResponse
- type GetBDTPolicy307JSONResponse
- type GetBDTPolicy308JSONResponse
- type GetBDTPolicy400ApplicationProblemPlusJSONResponse
- type GetBDTPolicy401ApplicationProblemPlusJSONResponse
- type GetBDTPolicy403ApplicationProblemPlusJSONResponse
- type GetBDTPolicy404ApplicationProblemPlusJSONResponse
- type GetBDTPolicy406Response
- type GetBDTPolicy429ApplicationProblemPlusJSONResponse
- type GetBDTPolicy500ApplicationProblemPlusJSONResponse
- type GetBDTPolicy503ApplicationProblemPlusJSONResponse
- type GetBDTPolicyRequestObject
- type GetBDTPolicyResponse
- type GetBDTPolicyResponseObject
- type GetBDTPolicydefaultApplicationProblemPlusJSONResponse
- type GinServerOptions
- type HttpRequestDoer
- type MiddlewareFunc
- type NetworkAreaInfo
- type Notification
- type PatchBdtPolicy
- type RequestEditorFn
- type ServerInterface
- type ServerInterfaceWrapper
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type TransferPolicy
- type UpdateBDTPolicy200JSONResponse
- type UpdateBDTPolicy204Response
- type UpdateBDTPolicy307JSONResponse
- type UpdateBDTPolicy308JSONResponse
- type UpdateBDTPolicy400ApplicationProblemPlusJSONResponse
- type UpdateBDTPolicy401ApplicationProblemPlusJSONResponse
- type UpdateBDTPolicy403ApplicationProblemPlusJSONResponse
- type UpdateBDTPolicy404ApplicationProblemPlusJSONResponse
- type UpdateBDTPolicy411ApplicationProblemPlusJSONResponse
- type UpdateBDTPolicy413ApplicationProblemPlusJSONResponse
- type UpdateBDTPolicy415ApplicationProblemPlusJSONResponse
- type UpdateBDTPolicy429ApplicationProblemPlusJSONResponse
- type UpdateBDTPolicy500ApplicationProblemPlusJSONResponse
- type UpdateBDTPolicy503ApplicationProblemPlusJSONResponse
- type UpdateBDTPolicyApplicationMergePatchPlusJSONRequestBody
- type UpdateBDTPolicyRequestObject
- type UpdateBDTPolicyResponse
- type UpdateBDTPolicyResponseObject
- type UpdateBDTPolicydefaultApplicationProblemPlusJSONResponse
Constants ¶
const (
OAuth2ClientCredentialsScopes = "oAuth2ClientCredentials.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func GetKinOpenApi3Document ¶
func NewCreateBDTPolicyRequest ¶
func NewCreateBDTPolicyRequest(server string, body CreateBDTPolicyJSONRequestBody) (*http.Request, error)
NewCreateBDTPolicyRequest calls the generic CreateBDTPolicy builder with application/json body
func NewCreateBDTPolicyRequestWithBody ¶
func NewCreateBDTPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateBDTPolicyRequestWithBody generates requests for CreateBDTPolicy with any type of body
func NewGetBDTPolicyRequest ¶
NewGetBDTPolicyRequest generates requests for GetBDTPolicy
func NewUpdateBDTPolicyRequestWithApplicationMergePatchPlusJSONBody ¶
func NewUpdateBDTPolicyRequestWithApplicationMergePatchPlusJSONBody(server string, bdtPolicyId string, body UpdateBDTPolicyApplicationMergePatchPlusJSONRequestBody) (*http.Request, error)
NewUpdateBDTPolicyRequestWithApplicationMergePatchPlusJSONBody calls the generic UpdateBDTPolicy builder with application/merge-patch+json body
func NewUpdateBDTPolicyRequestWithBody ¶
func NewUpdateBDTPolicyRequestWithBody(server string, bdtPolicyId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateBDTPolicyRequestWithBody generates requests for UpdateBDTPolicy with any type of body
func RegisterHandlers ¶
func RegisterHandlers(router gin.IRouter, si ServerInterface)
RegisterHandlers creates http.Handler with routing matching OpenAPI spec.
func RegisterHandlersWithOptions ¶
func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)
RegisterHandlersWithOptions creates http.Handler with additional options
Types ¶
type BdtPolicy ¶
type BdtPolicy struct { // BdtPolData Describes the authorization data of an Individual BDT policy resource. BdtPolData *BdtPolicyData `json:"bdtPolData,omitempty"` // BdtReqData Contains service requirements for creation a new Individual BDT policy resource. BdtReqData *BdtReqData `json:"bdtReqData,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
BdtPolicy Represents an Individual BDT policy resource.
func (BdtPolicy) Get ¶
Getter for additional properties for BdtPolicy. Returns the specified element and whether it was found
func (BdtPolicy) MarshalJSON ¶
Override default JSON handling for BdtPolicy to handle AdditionalProperties
func (*BdtPolicy) UnmarshalJSON ¶
Override default JSON handling for BdtPolicy to handle AdditionalProperties
type BdtPolicyData ¶
type BdtPolicyData struct { // BdtRefId string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. BdtRefId externalRef1.BdtReferenceId `json:"bdtRefId"` // SelTransPolicyId Contains an identity of the selected transfer policy. SelTransPolicyId *int `json:"selTransPolicyId,omitempty"` SuppFeat *externalRef0.SupportedFeatures `json:"suppFeat,omitempty"` // TransfPolicies Contains transfer policies. TransfPolicies []TransferPolicy `json:"transfPolicies"` AdditionalProperties map[string]interface{} `json:"-"` }
BdtPolicyData Describes the authorization data of an Individual BDT policy resource.
func (BdtPolicyData) Get ¶
func (a BdtPolicyData) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for BdtPolicyData. Returns the specified element and whether it was found
func (BdtPolicyData) MarshalJSON ¶
func (a BdtPolicyData) MarshalJSON() ([]byte, error)
Override default JSON handling for BdtPolicyData to handle AdditionalProperties
func (*BdtPolicyData) Set ¶
func (a *BdtPolicyData) Set(fieldName string, value interface{})
Setter for additional properties for BdtPolicyData
func (*BdtPolicyData) UnmarshalJSON ¶
func (a *BdtPolicyData) UnmarshalJSON(b []byte) error
Override default JSON handling for BdtPolicyData to handle AdditionalProperties
type BdtPolicyDataPatch ¶
type BdtPolicyDataPatch struct { // SelTransPolicyId Contains an identity (i.e. transPolicyId value) of the selected transfer policy. If the BdtNotification_5G feature is supported value 0 indicates that no transfer policy is selected. SelTransPolicyId int `json:"selTransPolicyId"` AdditionalProperties map[string]interface{} `json:"-"` }
BdtPolicyDataPatch A JSON Merge Patch body schema containing modification instruction to be performed on the bdtPolData attribute of the BdtPolicy data structure to select a transfer policy. Adds selTransPolicyId to BdtPolicyData data structure.
func (BdtPolicyDataPatch) Get ¶
func (a BdtPolicyDataPatch) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for BdtPolicyDataPatch. Returns the specified element and whether it was found
func (BdtPolicyDataPatch) MarshalJSON ¶
func (a BdtPolicyDataPatch) MarshalJSON() ([]byte, error)
Override default JSON handling for BdtPolicyDataPatch to handle AdditionalProperties
func (*BdtPolicyDataPatch) Set ¶
func (a *BdtPolicyDataPatch) Set(fieldName string, value interface{})
Setter for additional properties for BdtPolicyDataPatch
func (*BdtPolicyDataPatch) UnmarshalJSON ¶
func (a *BdtPolicyDataPatch) UnmarshalJSON(b []byte) error
Override default JSON handling for BdtPolicyDataPatch to handle AdditionalProperties
type BdtReqData ¶
type BdtReqData struct { // AspId Contains an identity of an application service provider. AspId AspId `json:"aspId"` DesTimeInt externalRef1.TimeWindow `json:"desTimeInt"` Dnn *externalRef0.Dnn `json:"dnn,omitempty"` InterGroupId externalRef0.GroupId `json:"interGroupId,omitempty"` NotifUri *externalRef0.Uri `json:"notifUri,omitempty"` // NumOfUes Indicates a number of UEs. NumOfUes int `json:"numOfUes"` // NwAreaInfo Describes a network area information in which the NF service consumer requests the number of UEs. NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty"` Snssai *externalRef0.Snssai `json:"snssai,omitempty"` SuppFeat *externalRef0.SupportedFeatures `json:"suppFeat,omitempty"` // TrafficDes Identify a traffic descriptor as defined in Figure 5.2.2 of 3GPP TS 24.526, octets v+5 to w. (Original reference TS29122_ResourceManagementOfBdt.yaml#/components/schemas/TrafficDescriptor) TrafficDes *string `json:"trafficDes,omitempty"` VolPerUe externalRef1.UsageThreshold `json:"volPerUe"` // WarnNotifReq Indicates whether the BDT warning notification is enabled or disabled. WarnNotifReq *bool `json:"warnNotifReq,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
BdtReqData Contains service requirements for creation a new Individual BDT policy resource.
func (BdtReqData) Get ¶
func (a BdtReqData) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for BdtReqData. Returns the specified element and whether it was found
func (BdtReqData) MarshalJSON ¶
func (a BdtReqData) MarshalJSON() ([]byte, error)
Override default JSON handling for BdtReqData to handle AdditionalProperties
func (*BdtReqData) Set ¶
func (a *BdtReqData) Set(fieldName string, value interface{})
Setter for additional properties for BdtReqData
func (*BdtReqData) UnmarshalJSON ¶
func (a *BdtReqData) UnmarshalJSON(b []byte) error
Override default JSON handling for BdtReqData to handle AdditionalProperties
type BdtReqDataPatch ¶
type BdtReqDataPatch struct { // WarnNotifReq Indicates whether the BDT warning notification is enabled or disabled. WarnNotifReq *bool `json:"warnNotifReq,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
BdtReqDataPatch A JSON Merge Patch body schema containing modification instruction to be performed on the bdtReqData attribute of the BdtPolicy data structure to indicate whether the BDT warning notification is enabled or disabled. Modifies warnNotifReq from BdtReqData data structure.
func (BdtReqDataPatch) Get ¶
func (a BdtReqDataPatch) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for BdtReqDataPatch. Returns the specified element and whether it was found
func (BdtReqDataPatch) MarshalJSON ¶
func (a BdtReqDataPatch) MarshalJSON() ([]byte, error)
Override default JSON handling for BdtReqDataPatch to handle AdditionalProperties
func (*BdtReqDataPatch) Set ¶
func (a *BdtReqDataPatch) Set(fieldName string, value interface{})
Setter for additional properties for BdtReqDataPatch
func (*BdtReqDataPatch) UnmarshalJSON ¶
func (a *BdtReqDataPatch) UnmarshalJSON(b []byte) error
Override default JSON handling for BdtReqDataPatch to handle AdditionalProperties
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CreateBDTPolicy ¶
func (c *Client) CreateBDTPolicy(ctx context.Context, body CreateBDTPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBDTPolicyWithBody ¶
func (*Client) GetBDTPolicy ¶
func (*Client) UpdateBDTPolicyWithApplicationMergePatchPlusJSONBody ¶
func (c *Client) UpdateBDTPolicyWithApplicationMergePatchPlusJSONBody(ctx context.Context, bdtPolicyId string, body UpdateBDTPolicyApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // CreateBDTPolicyWithBody request with any body CreateBDTPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateBDTPolicy(ctx context.Context, body CreateBDTPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBDTPolicy request GetBDTPolicy(ctx context.Context, bdtPolicyId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateBDTPolicyWithBody request with any body UpdateBDTPolicyWithBody(ctx context.Context, bdtPolicyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateBDTPolicyWithApplicationMergePatchPlusJSONBody(ctx context.Context, bdtPolicyId string, body UpdateBDTPolicyApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CreateBDTPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBDTPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBDTPolicyResponse, error)
CreateBDTPolicyWithBodyWithResponse request with arbitrary body returning *CreateBDTPolicyResponse
func (*ClientWithResponses) CreateBDTPolicyWithResponse ¶
func (c *ClientWithResponses) CreateBDTPolicyWithResponse(ctx context.Context, body CreateBDTPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBDTPolicyResponse, error)
func (*ClientWithResponses) GetBDTPolicyWithResponse ¶
func (c *ClientWithResponses) GetBDTPolicyWithResponse(ctx context.Context, bdtPolicyId string, reqEditors ...RequestEditorFn) (*GetBDTPolicyResponse, error)
GetBDTPolicyWithResponse request returning *GetBDTPolicyResponse
func (*ClientWithResponses) UpdateBDTPolicyWithApplicationMergePatchPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBDTPolicyWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, bdtPolicyId string, body UpdateBDTPolicyApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBDTPolicyResponse, error)
func (*ClientWithResponses) UpdateBDTPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBDTPolicyWithBodyWithResponse(ctx context.Context, bdtPolicyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBDTPolicyResponse, error)
UpdateBDTPolicyWithBodyWithResponse request with arbitrary body returning *UpdateBDTPolicyResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // CreateBDTPolicyWithBodyWithResponse request with any body CreateBDTPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBDTPolicyResponse, error) CreateBDTPolicyWithResponse(ctx context.Context, body CreateBDTPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBDTPolicyResponse, error) // GetBDTPolicyWithResponse request GetBDTPolicyWithResponse(ctx context.Context, bdtPolicyId string, reqEditors ...RequestEditorFn) (*GetBDTPolicyResponse, error) // UpdateBDTPolicyWithBodyWithResponse request with any body UpdateBDTPolicyWithBodyWithResponse(ctx context.Context, bdtPolicyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBDTPolicyResponse, error) UpdateBDTPolicyWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, bdtPolicyId string, body UpdateBDTPolicyApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBDTPolicyResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateBDTPolicy201JSONResponse ¶
type CreateBDTPolicy201JSONResponse struct { Body BdtPolicy Headers CreateBDTPolicy201ResponseHeaders }
func (CreateBDTPolicy201JSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy201JSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicy201ResponseHeaders ¶
type CreateBDTPolicy201ResponseHeaders struct {
Location string
}
type CreateBDTPolicy303Response ¶
type CreateBDTPolicy303Response struct {
Headers CreateBDTPolicy303ResponseHeaders
}
func (CreateBDTPolicy303Response) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy303Response) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicy303ResponseHeaders ¶
type CreateBDTPolicy303ResponseHeaders struct {
Location string
}
type CreateBDTPolicy400ApplicationProblemPlusJSONResponse ¶
type CreateBDTPolicy400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (CreateBDTPolicy400ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy400ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicy401ApplicationProblemPlusJSONResponse ¶
type CreateBDTPolicy401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (CreateBDTPolicy401ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy401ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicy403ApplicationProblemPlusJSONResponse ¶
type CreateBDTPolicy403ApplicationProblemPlusJSONResponse struct {
externalRef0.N403ApplicationProblemPlusJSONResponse
}
func (CreateBDTPolicy403ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy403ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicy404ApplicationProblemPlusJSONResponse ¶
type CreateBDTPolicy404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (CreateBDTPolicy404ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy404ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicy411ApplicationProblemPlusJSONResponse ¶
type CreateBDTPolicy411ApplicationProblemPlusJSONResponse struct {
externalRef0.N411ApplicationProblemPlusJSONResponse
}
func (CreateBDTPolicy411ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy411ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicy413ApplicationProblemPlusJSONResponse ¶
type CreateBDTPolicy413ApplicationProblemPlusJSONResponse struct {
externalRef0.N413ApplicationProblemPlusJSONResponse
}
func (CreateBDTPolicy413ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy413ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicy415ApplicationProblemPlusJSONResponse ¶
type CreateBDTPolicy415ApplicationProblemPlusJSONResponse struct {
externalRef0.N415ApplicationProblemPlusJSONResponse
}
func (CreateBDTPolicy415ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy415ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicy429ApplicationProblemPlusJSONResponse ¶
type CreateBDTPolicy429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (CreateBDTPolicy429ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy429ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicy500ApplicationProblemPlusJSONResponse ¶
type CreateBDTPolicy500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (CreateBDTPolicy500ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy500ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicy503ApplicationProblemPlusJSONResponse ¶
type CreateBDTPolicy503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (CreateBDTPolicy503ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicy503ApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type CreateBDTPolicyJSONRequestBody ¶
type CreateBDTPolicyJSONRequestBody = BdtReqData
CreateBDTPolicyJSONRequestBody defines body for CreateBDTPolicy for application/json ContentType.
type CreateBDTPolicyRequestObject ¶
type CreateBDTPolicyRequestObject struct {
Body *CreateBDTPolicyJSONRequestBody
}
type CreateBDTPolicyResponse ¶
type CreateBDTPolicyResponse struct { Body []byte HTTPResponse *http.Response JSON201 *BdtPolicy ApplicationproblemJSON400 *externalRef0.N400 ApplicationproblemJSON401 *externalRef0.N401 ApplicationproblemJSON403 *externalRef0.N403 ApplicationproblemJSON404 *externalRef0.N404 ApplicationproblemJSON411 *externalRef0.N411 ApplicationproblemJSON413 *externalRef0.N413 ApplicationproblemJSON415 *externalRef0.N415 ApplicationproblemJSON429 *externalRef0.N429 ApplicationproblemJSON500 *externalRef0.N500 ApplicationproblemJSON503 *externalRef0.N503 ApplicationproblemJSONDefault *externalRef0.Default }
func ParseCreateBDTPolicyResponse ¶
func ParseCreateBDTPolicyResponse(rsp *http.Response) (*CreateBDTPolicyResponse, error)
ParseCreateBDTPolicyResponse parses an HTTP response from a CreateBDTPolicyWithResponse call
func (CreateBDTPolicyResponse) Status ¶
func (r CreateBDTPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBDTPolicyResponse) StatusCode ¶
func (r CreateBDTPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBDTPolicyResponseObject ¶
type CreateBDTPolicyResponseObject interface {
VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
}
type CreateBDTPolicydefaultApplicationProblemPlusJSONResponse ¶
type CreateBDTPolicydefaultApplicationProblemPlusJSONResponse struct { Body externalRef0.ProblemDetails StatusCode int }
func (CreateBDTPolicydefaultApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse ¶
func (response CreateBDTPolicydefaultApplicationProblemPlusJSONResponse) VisitCreateBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicy200JSONResponse ¶
type GetBDTPolicy200JSONResponse BdtPolicy
func (GetBDTPolicy200JSONResponse) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicy200JSONResponse) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicy307JSONResponse ¶
type GetBDTPolicy307JSONResponse struct{ externalRef0.N307JSONResponse }
func (GetBDTPolicy307JSONResponse) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicy307JSONResponse) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicy308JSONResponse ¶
type GetBDTPolicy308JSONResponse struct{ externalRef0.N308JSONResponse }
func (GetBDTPolicy308JSONResponse) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicy308JSONResponse) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicy400ApplicationProblemPlusJSONResponse ¶
type GetBDTPolicy400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (GetBDTPolicy400ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicy400ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicy401ApplicationProblemPlusJSONResponse ¶
type GetBDTPolicy401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (GetBDTPolicy401ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicy401ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicy403ApplicationProblemPlusJSONResponse ¶
type GetBDTPolicy403ApplicationProblemPlusJSONResponse struct {
externalRef0.N403ApplicationProblemPlusJSONResponse
}
func (GetBDTPolicy403ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicy403ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicy404ApplicationProblemPlusJSONResponse ¶
type GetBDTPolicy404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (GetBDTPolicy404ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicy404ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicy406Response ¶
type GetBDTPolicy406Response externalRef0.N406Response
func (GetBDTPolicy406Response) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicy406Response) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicy429ApplicationProblemPlusJSONResponse ¶
type GetBDTPolicy429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (GetBDTPolicy429ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicy429ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicy500ApplicationProblemPlusJSONResponse ¶
type GetBDTPolicy500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (GetBDTPolicy500ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicy500ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicy503ApplicationProblemPlusJSONResponse ¶
type GetBDTPolicy503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (GetBDTPolicy503ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicy503ApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GetBDTPolicyRequestObject ¶
type GetBDTPolicyRequestObject struct {
BdtPolicyId string `json:"bdtPolicyId"`
}
type GetBDTPolicyResponse ¶
type GetBDTPolicyResponse struct { Body []byte HTTPResponse *http.Response JSON200 *BdtPolicy JSON307 *externalRef0.N307 JSON308 *externalRef0.N308 ApplicationproblemJSON400 *externalRef0.N400 ApplicationproblemJSON401 *externalRef0.N401 ApplicationproblemJSON403 *externalRef0.N403 ApplicationproblemJSON404 *externalRef0.N404 ApplicationproblemJSON429 *externalRef0.N429 ApplicationproblemJSON500 *externalRef0.N500 ApplicationproblemJSON503 *externalRef0.N503 ApplicationproblemJSONDefault *externalRef0.Default }
func ParseGetBDTPolicyResponse ¶
func ParseGetBDTPolicyResponse(rsp *http.Response) (*GetBDTPolicyResponse, error)
ParseGetBDTPolicyResponse parses an HTTP response from a GetBDTPolicyWithResponse call
func (GetBDTPolicyResponse) Status ¶
func (r GetBDTPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (GetBDTPolicyResponse) StatusCode ¶
func (r GetBDTPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBDTPolicyResponseObject ¶
type GetBDTPolicyResponseObject interface {
VisitGetBDTPolicyResponse(w http.ResponseWriter) error
}
type GetBDTPolicydefaultApplicationProblemPlusJSONResponse ¶
type GetBDTPolicydefaultApplicationProblemPlusJSONResponse struct { Body externalRef0.ProblemDetails StatusCode int }
func (GetBDTPolicydefaultApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse ¶
func (response GetBDTPolicydefaultApplicationProblemPlusJSONResponse) VisitGetBDTPolicyResponse(w http.ResponseWriter) error
type GinServerOptions ¶
type GinServerOptions struct { BaseURL string Middlewares []MiddlewareFunc ErrorHandler func(*gin.Context, error, int) }
GinServerOptions provides options for the Gin server.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type MiddlewareFunc ¶
type NetworkAreaInfo ¶
type NetworkAreaInfo struct { // Ecgis Contains a list of E-UTRA cell identities. Ecgis []externalRef0.Ecgi `json:"ecgis,omitempty"` // GRanNodeIds Contains a list of NG RAN nodes. GRanNodeIds []externalRef0.GlobalRanNodeId `json:"gRanNodeIds,omitempty"` // Ncgis Contains a list of NR cell identities. Ncgis []externalRef0.Ncgi `json:"ncgis,omitempty"` // Tais Contains a list of tracking area identities. Tais []externalRef0.Tai `json:"tais,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
NetworkAreaInfo Describes a network area information in which the NF service consumer requests the number of UEs.
func (NetworkAreaInfo) Get ¶
func (a NetworkAreaInfo) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for NetworkAreaInfo. Returns the specified element and whether it was found
func (NetworkAreaInfo) MarshalJSON ¶
func (a NetworkAreaInfo) MarshalJSON() ([]byte, error)
Override default JSON handling for NetworkAreaInfo to handle AdditionalProperties
func (*NetworkAreaInfo) Set ¶
func (a *NetworkAreaInfo) Set(fieldName string, value interface{})
Setter for additional properties for NetworkAreaInfo
func (*NetworkAreaInfo) UnmarshalJSON ¶
func (a *NetworkAreaInfo) UnmarshalJSON(b []byte) error
Override default JSON handling for NetworkAreaInfo to handle AdditionalProperties
type Notification ¶
type Notification struct { // BdtRefId string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. BdtRefId externalRef1.BdtReferenceId `json:"bdtRefId"` // CandPolicies Contains a list of the candidate transfer policies from which the AF may select a new transfer policy due to a network performance is below the criteria set by the operator. CandPolicies []TransferPolicy `json:"candPolicies,omitempty"` // NwAreaInfo Describes a network area information in which the NF service consumer requests the number of UEs. NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty"` TimeWindow *externalRef1.TimeWindow `json:"timeWindow,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
Notification Describes a BDT notification.
func (Notification) Get ¶
func (a Notification) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for Notification. Returns the specified element and whether it was found
func (Notification) MarshalJSON ¶
func (a Notification) MarshalJSON() ([]byte, error)
Override default JSON handling for Notification to handle AdditionalProperties
func (*Notification) Set ¶
func (a *Notification) Set(fieldName string, value interface{})
Setter for additional properties for Notification
func (*Notification) UnmarshalJSON ¶
func (a *Notification) UnmarshalJSON(b []byte) error
Override default JSON handling for Notification to handle AdditionalProperties
type PatchBdtPolicy ¶
type PatchBdtPolicy struct { // BdtPolData A JSON Merge Patch body schema containing modification instruction to be performed on the bdtPolData attribute of the BdtPolicy data structure to select a transfer policy. Adds selTransPolicyId to BdtPolicyData data structure. BdtPolData *BdtPolicyDataPatch `json:"bdtPolData,omitempty"` // BdtReqData A JSON Merge Patch body schema containing modification instruction to be performed on the bdtReqData attribute of the BdtPolicy data structure to indicate whether the BDT warning notification is enabled or disabled. Modifies warnNotifReq from BdtReqData data structure. BdtReqData *BdtReqDataPatch `json:"bdtReqData,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
PatchBdtPolicy Describes the updates in authorization data of an Individual BDT Policy created by the PCF.
func (PatchBdtPolicy) Get ¶
func (a PatchBdtPolicy) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PatchBdtPolicy. Returns the specified element and whether it was found
func (PatchBdtPolicy) MarshalJSON ¶
func (a PatchBdtPolicy) MarshalJSON() ([]byte, error)
Override default JSON handling for PatchBdtPolicy to handle AdditionalProperties
func (*PatchBdtPolicy) Set ¶
func (a *PatchBdtPolicy) Set(fieldName string, value interface{})
Setter for additional properties for PatchBdtPolicy
func (*PatchBdtPolicy) UnmarshalJSON ¶
func (a *PatchBdtPolicy) UnmarshalJSON(b []byte) error
Override default JSON handling for PatchBdtPolicy to handle AdditionalProperties
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ServerInterface ¶
type ServerInterface interface { // Create a new Individual BDT policy // (POST /bdtpolicies) CreateBDTPolicy(c *gin.Context) // Read an Individual BDT policy // (GET /bdtpolicies/{bdtPolicyId}) GetBDTPolicy(c *gin.Context, bdtPolicyId string) // Update an Individual BDT policy // (PATCH /bdtpolicies/{bdtPolicyId}) UpdateBDTPolicy(c *gin.Context, bdtPolicyId string) }
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct { Handler ServerInterface HandlerMiddlewares []MiddlewareFunc ErrorHandler func(*gin.Context, error, int) }
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) CreateBDTPolicy ¶
func (siw *ServerInterfaceWrapper) CreateBDTPolicy(c *gin.Context)
CreateBDTPolicy operation middleware
func (*ServerInterfaceWrapper) GetBDTPolicy ¶
func (siw *ServerInterfaceWrapper) GetBDTPolicy(c *gin.Context)
GetBDTPolicy operation middleware
func (*ServerInterfaceWrapper) UpdateBDTPolicy ¶
func (siw *ServerInterfaceWrapper) UpdateBDTPolicy(c *gin.Context)
UpdateBDTPolicy operation middleware
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictgin.StrictGinHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface { // Create a new Individual BDT policy // (POST /bdtpolicies) CreateBDTPolicy(ctx context.Context, request CreateBDTPolicyRequestObject) (CreateBDTPolicyResponseObject, error) // Read an Individual BDT policy // (GET /bdtpolicies/{bdtPolicyId}) GetBDTPolicy(ctx context.Context, request GetBDTPolicyRequestObject) (GetBDTPolicyResponseObject, error) // Update an Individual BDT policy // (PATCH /bdtpolicies/{bdtPolicyId}) UpdateBDTPolicy(ctx context.Context, request UpdateBDTPolicyRequestObject) (UpdateBDTPolicyResponseObject, error) }
StrictServerInterface represents all server handlers.
type TransferPolicy ¶
type TransferPolicy struct { MaxBitRateDl externalRef0.BitRate `json:"maxBitRateDl,omitempty"` MaxBitRateUl externalRef0.BitRate `json:"maxBitRateUl,omitempty"` // RatingGroup Indicates a rating group for the recommended time window. RatingGroup int `json:"ratingGroup"` RecTimeInt externalRef1.TimeWindow `json:"recTimeInt"` // TransPolicyId Contains an identity of a transfer policy. TransPolicyId int `json:"transPolicyId"` AdditionalProperties map[string]interface{} `json:"-"` }
TransferPolicy Describes a transfer policy.
func (TransferPolicy) Get ¶
func (a TransferPolicy) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for TransferPolicy. Returns the specified element and whether it was found
func (TransferPolicy) MarshalJSON ¶
func (a TransferPolicy) MarshalJSON() ([]byte, error)
Override default JSON handling for TransferPolicy to handle AdditionalProperties
func (*TransferPolicy) Set ¶
func (a *TransferPolicy) Set(fieldName string, value interface{})
Setter for additional properties for TransferPolicy
func (*TransferPolicy) UnmarshalJSON ¶
func (a *TransferPolicy) UnmarshalJSON(b []byte) error
Override default JSON handling for TransferPolicy to handle AdditionalProperties
type UpdateBDTPolicy200JSONResponse ¶
type UpdateBDTPolicy200JSONResponse BdtPolicy
func (UpdateBDTPolicy200JSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy200JSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy204Response ¶
type UpdateBDTPolicy204Response struct { }
func (UpdateBDTPolicy204Response) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy204Response) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy307JSONResponse ¶
type UpdateBDTPolicy307JSONResponse struct{ externalRef0.N307JSONResponse }
func (UpdateBDTPolicy307JSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy307JSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy308JSONResponse ¶
type UpdateBDTPolicy308JSONResponse struct{ externalRef0.N308JSONResponse }
func (UpdateBDTPolicy308JSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy308JSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy400ApplicationProblemPlusJSONResponse ¶
type UpdateBDTPolicy400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (UpdateBDTPolicy400ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy400ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy401ApplicationProblemPlusJSONResponse ¶
type UpdateBDTPolicy401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (UpdateBDTPolicy401ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy401ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy403ApplicationProblemPlusJSONResponse ¶
type UpdateBDTPolicy403ApplicationProblemPlusJSONResponse struct {
externalRef0.N403ApplicationProblemPlusJSONResponse
}
func (UpdateBDTPolicy403ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy403ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy404ApplicationProblemPlusJSONResponse ¶
type UpdateBDTPolicy404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (UpdateBDTPolicy404ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy404ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy411ApplicationProblemPlusJSONResponse ¶
type UpdateBDTPolicy411ApplicationProblemPlusJSONResponse struct {
externalRef0.N411ApplicationProblemPlusJSONResponse
}
func (UpdateBDTPolicy411ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy411ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy413ApplicationProblemPlusJSONResponse ¶
type UpdateBDTPolicy413ApplicationProblemPlusJSONResponse struct {
externalRef0.N413ApplicationProblemPlusJSONResponse
}
func (UpdateBDTPolicy413ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy413ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy415ApplicationProblemPlusJSONResponse ¶
type UpdateBDTPolicy415ApplicationProblemPlusJSONResponse struct {
externalRef0.N415ApplicationProblemPlusJSONResponse
}
func (UpdateBDTPolicy415ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy415ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy429ApplicationProblemPlusJSONResponse ¶
type UpdateBDTPolicy429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (UpdateBDTPolicy429ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy429ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy500ApplicationProblemPlusJSONResponse ¶
type UpdateBDTPolicy500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (UpdateBDTPolicy500ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy500ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicy503ApplicationProblemPlusJSONResponse ¶
type UpdateBDTPolicy503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (UpdateBDTPolicy503ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicy503ApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
type UpdateBDTPolicyApplicationMergePatchPlusJSONRequestBody ¶
type UpdateBDTPolicyApplicationMergePatchPlusJSONRequestBody = PatchBdtPolicy
UpdateBDTPolicyApplicationMergePatchPlusJSONRequestBody defines body for UpdateBDTPolicy for application/merge-patch+json ContentType.
type UpdateBDTPolicyRequestObject ¶
type UpdateBDTPolicyRequestObject struct { BdtPolicyId string `json:"bdtPolicyId"` Body *UpdateBDTPolicyApplicationMergePatchPlusJSONRequestBody }
type UpdateBDTPolicyResponse ¶
type UpdateBDTPolicyResponse struct { Body []byte HTTPResponse *http.Response JSON200 *BdtPolicy JSON307 *externalRef0.N307 JSON308 *externalRef0.N308 ApplicationproblemJSON400 *externalRef0.N400 ApplicationproblemJSON401 *externalRef0.N401 ApplicationproblemJSON403 *externalRef0.N403 ApplicationproblemJSON404 *externalRef0.N404 ApplicationproblemJSON411 *externalRef0.N411 ApplicationproblemJSON413 *externalRef0.N413 ApplicationproblemJSON415 *externalRef0.N415 ApplicationproblemJSON429 *externalRef0.N429 ApplicationproblemJSON500 *externalRef0.N500 ApplicationproblemJSON503 *externalRef0.N503 ApplicationproblemJSONDefault *externalRef0.Default }
func ParseUpdateBDTPolicyResponse ¶
func ParseUpdateBDTPolicyResponse(rsp *http.Response) (*UpdateBDTPolicyResponse, error)
ParseUpdateBDTPolicyResponse parses an HTTP response from a UpdateBDTPolicyWithResponse call
func (UpdateBDTPolicyResponse) Status ¶
func (r UpdateBDTPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateBDTPolicyResponse) StatusCode ¶
func (r UpdateBDTPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateBDTPolicyResponseObject ¶
type UpdateBDTPolicyResponseObject interface {
VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error
}
type UpdateBDTPolicydefaultApplicationProblemPlusJSONResponse ¶
type UpdateBDTPolicydefaultApplicationProblemPlusJSONResponse struct { Body externalRef0.ProblemDetails StatusCode int }
func (UpdateBDTPolicydefaultApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse ¶
func (response UpdateBDTPolicydefaultApplicationProblemPlusJSONResponse) VisitUpdateBDTPolicyResponse(w http.ResponseWriter) error