Documentation ¶
Overview ¶
Package management 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 NewCreatePCFBindingRequest(server string, body CreatePCFBindingJSONRequestBody) (*http.Request, error)
- func NewCreatePCFBindingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteIndPCFBindingRequest(server string, bindingId string) (*http.Request, error)
- func NewGetPCFBindingsRequest(server string, params *GetPCFBindingsParams) (*http.Request, error)
- func NewUpdateIndPCFBindingRequestWithApplicationMergePatchPlusJSONBody(server string, bindingId string, ...) (*http.Request, error)
- func NewUpdateIndPCFBindingRequestWithBody(server string, bindingId 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 BindingLevel
- type BindingResp
- type Client
- func (c *Client) CreatePCFBinding(ctx context.Context, body CreatePCFBindingJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePCFBindingWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteIndPCFBinding(ctx context.Context, bindingId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPCFBindings(ctx context.Context, params *GetPCFBindingsParams, ...) (*http.Response, error)
- func (c *Client) UpdateIndPCFBindingWithApplicationMergePatchPlusJSONBody(ctx context.Context, bindingId string, ...) (*http.Response, error)
- func (c *Client) UpdateIndPCFBindingWithBody(ctx context.Context, bindingId string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreatePCFBindingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePCFBindingResponse, error)
- func (c *ClientWithResponses) CreatePCFBindingWithResponse(ctx context.Context, body CreatePCFBindingJSONRequestBody, ...) (*CreatePCFBindingResponse, error)
- func (c *ClientWithResponses) DeleteIndPCFBindingWithResponse(ctx context.Context, bindingId string, reqEditors ...RequestEditorFn) (*DeleteIndPCFBindingResponse, error)
- func (c *ClientWithResponses) GetPCFBindingsWithResponse(ctx context.Context, params *GetPCFBindingsParams, ...) (*GetPCFBindingsResponse, error)
- func (c *ClientWithResponses) UpdateIndPCFBindingWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, bindingId string, ...) (*UpdateIndPCFBindingResponse, error)
- func (c *ClientWithResponses) UpdateIndPCFBindingWithBodyWithResponse(ctx context.Context, bindingId string, contentType string, body io.Reader, ...) (*UpdateIndPCFBindingResponse, error)
- type ClientWithResponsesInterface
- type CreatePCFBinding201JSONResponse
- type CreatePCFBinding201ResponseHeaders
- type CreatePCFBinding400ApplicationProblemPlusJSONResponse
- type CreatePCFBinding401ApplicationProblemPlusJSONResponse
- type CreatePCFBinding403ApplicationProblemPlusJSONResponse
- type CreatePCFBinding404ApplicationProblemPlusJSONResponse
- type CreatePCFBinding411ApplicationProblemPlusJSONResponse
- type CreatePCFBinding413ApplicationProblemPlusJSONResponse
- type CreatePCFBinding415ApplicationProblemPlusJSONResponse
- type CreatePCFBinding429ApplicationProblemPlusJSONResponse
- type CreatePCFBinding500ApplicationProblemPlusJSONResponse
- type CreatePCFBinding503ApplicationProblemPlusJSONResponse
- type CreatePCFBindingJSONRequestBody
- type CreatePCFBindingRequestObject
- type CreatePCFBindingResponse
- type CreatePCFBindingResponseObject
- type CreatePCFBindingdefaultApplicationProblemPlusJSONResponse
- type DeleteIndPCFBinding204Response
- type DeleteIndPCFBinding307JSONResponse
- type DeleteIndPCFBinding308JSONResponse
- type DeleteIndPCFBinding400ApplicationProblemPlusJSONResponse
- type DeleteIndPCFBinding401ApplicationProblemPlusJSONResponse
- type DeleteIndPCFBinding403ApplicationProblemPlusJSONResponse
- type DeleteIndPCFBinding404ApplicationProblemPlusJSONResponse
- type DeleteIndPCFBinding429ApplicationProblemPlusJSONResponse
- type DeleteIndPCFBinding500ApplicationProblemPlusJSONResponse
- type DeleteIndPCFBinding503ApplicationProblemPlusJSONResponse
- type DeleteIndPCFBindingRequestObject
- type DeleteIndPCFBindingResponse
- type DeleteIndPCFBindingResponseObject
- type DeleteIndPCFBindingdefaultApplicationProblemPlusJSONResponse
- type ExtProblemDetails
- type GetPCFBindings200JSONResponse
- type GetPCFBindings204Response
- type GetPCFBindings400ApplicationProblemPlusJSONResponse
- type GetPCFBindings401ApplicationProblemPlusJSONResponse
- type GetPCFBindings403ApplicationProblemPlusJSONResponse
- type GetPCFBindings404ApplicationProblemPlusJSONResponse
- type GetPCFBindings406Response
- type GetPCFBindings414ApplicationProblemPlusJSONResponse
- type GetPCFBindings429ApplicationProblemPlusJSONResponse
- type GetPCFBindings500ApplicationProblemPlusJSONResponse
- type GetPCFBindings503ApplicationProblemPlusJSONResponse
- type GetPCFBindingsParams
- type GetPCFBindingsRequestObject
- type GetPCFBindingsResponse
- type GetPCFBindingsResponseObject
- type GetPCFBindingsdefaultApplicationProblemPlusJSONResponse
- type GinServerOptions
- type HttpRequestDoer
- type MiddlewareFunc
- type ParameterCombination
- type PcfBinding
- type PcfBindingPatch
- type RequestEditorFn
- type ServerInterface
- type ServerInterfaceWrapper
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type UpdateIndPCFBinding200JSONResponse
- type UpdateIndPCFBinding307JSONResponse
- type UpdateIndPCFBinding308JSONResponse
- type UpdateIndPCFBinding400ApplicationProblemPlusJSONResponse
- type UpdateIndPCFBinding401ApplicationProblemPlusJSONResponse
- type UpdateIndPCFBinding403ApplicationProblemPlusJSONResponse
- type UpdateIndPCFBinding404ApplicationProblemPlusJSONResponse
- type UpdateIndPCFBinding411ApplicationProblemPlusJSONResponse
- type UpdateIndPCFBinding413ApplicationProblemPlusJSONResponse
- type UpdateIndPCFBinding415ApplicationProblemPlusJSONResponse
- type UpdateIndPCFBinding429ApplicationProblemPlusJSONResponse
- type UpdateIndPCFBinding500ApplicationProblemPlusJSONResponse
- type UpdateIndPCFBinding503ApplicationProblemPlusJSONResponse
- type UpdateIndPCFBindingApplicationMergePatchPlusJSONRequestBody
- type UpdateIndPCFBindingRequestObject
- type UpdateIndPCFBindingResponse
- type UpdateIndPCFBindingResponseObject
- type UpdateIndPCFBindingdefaultApplicationProblemPlusJSONResponse
Constants ¶
const (
OAuth2ClientCredentialsScopes = "oAuth2ClientCredentials.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func GetKinOpenApi3Document ¶
func NewCreatePCFBindingRequest ¶
func NewCreatePCFBindingRequest(server string, body CreatePCFBindingJSONRequestBody) (*http.Request, error)
NewCreatePCFBindingRequest calls the generic CreatePCFBinding builder with application/json body
func NewCreatePCFBindingRequestWithBody ¶
func NewCreatePCFBindingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePCFBindingRequestWithBody generates requests for CreatePCFBinding with any type of body
func NewDeleteIndPCFBindingRequest ¶
NewDeleteIndPCFBindingRequest generates requests for DeleteIndPCFBinding
func NewGetPCFBindingsRequest ¶
func NewGetPCFBindingsRequest(server string, params *GetPCFBindingsParams) (*http.Request, error)
NewGetPCFBindingsRequest generates requests for GetPCFBindings
func NewUpdateIndPCFBindingRequestWithApplicationMergePatchPlusJSONBody ¶
func NewUpdateIndPCFBindingRequestWithApplicationMergePatchPlusJSONBody(server string, bindingId string, body UpdateIndPCFBindingApplicationMergePatchPlusJSONRequestBody) (*http.Request, error)
NewUpdateIndPCFBindingRequestWithApplicationMergePatchPlusJSONBody calls the generic UpdateIndPCFBinding builder with application/merge-patch+json body
func NewUpdateIndPCFBindingRequestWithBody ¶
func NewUpdateIndPCFBindingRequestWithBody(server string, bindingId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIndPCFBindingRequestWithBody generates requests for UpdateIndPCFBinding 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 BindingLevel ¶
type BindingLevel string
BindingLevel Possible values are - "NF_SET" - "NF_INSTANCE"
const ( NFINSTANCE BindingLevel = "NF_INSTANCE" NFSET BindingLevel = "NF_SET" )
Defines values for BindingLevel.
type BindingResp ¶
type BindingResp struct { // PcfSmFqdn Fully Qualified Domain Name PcfSmFqdn *externalRef1.Fqdn `json:"pcfSmFqdn,omitempty"` // PcfSmIpEndPoints IP end points of the PCF hosting the Npcf_SMPolicyControl service. PcfSmIpEndPoints []externalRef1.IpEndPoint `json:"pcfSmIpEndPoints,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
BindingResp defines model for BindingResp.
func (BindingResp) Get ¶
func (a BindingResp) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for BindingResp. Returns the specified element and whether it was found
func (BindingResp) MarshalJSON ¶
func (a BindingResp) MarshalJSON() ([]byte, error)
Override default JSON handling for BindingResp to handle AdditionalProperties
func (*BindingResp) Set ¶
func (a *BindingResp) Set(fieldName string, value interface{})
Setter for additional properties for BindingResp
func (*BindingResp) UnmarshalJSON ¶
func (a *BindingResp) UnmarshalJSON(b []byte) error
Override default JSON handling for BindingResp 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) CreatePCFBinding ¶
func (c *Client) CreatePCFBinding(ctx context.Context, body CreatePCFBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePCFBindingWithBody ¶
func (*Client) DeleteIndPCFBinding ¶
func (*Client) GetPCFBindings ¶
func (c *Client) GetPCFBindings(ctx context.Context, params *GetPCFBindingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateIndPCFBindingWithApplicationMergePatchPlusJSONBody ¶
func (c *Client) UpdateIndPCFBindingWithApplicationMergePatchPlusJSONBody(ctx context.Context, bindingId string, body UpdateIndPCFBindingApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // GetPCFBindings request GetPCFBindings(ctx context.Context, params *GetPCFBindingsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreatePCFBindingWithBody request with any body CreatePCFBindingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreatePCFBinding(ctx context.Context, body CreatePCFBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteIndPCFBinding request DeleteIndPCFBinding(ctx context.Context, bindingId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateIndPCFBindingWithBody request with any body UpdateIndPCFBindingWithBody(ctx context.Context, bindingId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateIndPCFBindingWithApplicationMergePatchPlusJSONBody(ctx context.Context, bindingId string, body UpdateIndPCFBindingApplicationMergePatchPlusJSONRequestBody, 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) CreatePCFBindingWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePCFBindingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePCFBindingResponse, error)
CreatePCFBindingWithBodyWithResponse request with arbitrary body returning *CreatePCFBindingResponse
func (*ClientWithResponses) CreatePCFBindingWithResponse ¶
func (c *ClientWithResponses) CreatePCFBindingWithResponse(ctx context.Context, body CreatePCFBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePCFBindingResponse, error)
func (*ClientWithResponses) DeleteIndPCFBindingWithResponse ¶
func (c *ClientWithResponses) DeleteIndPCFBindingWithResponse(ctx context.Context, bindingId string, reqEditors ...RequestEditorFn) (*DeleteIndPCFBindingResponse, error)
DeleteIndPCFBindingWithResponse request returning *DeleteIndPCFBindingResponse
func (*ClientWithResponses) GetPCFBindingsWithResponse ¶
func (c *ClientWithResponses) GetPCFBindingsWithResponse(ctx context.Context, params *GetPCFBindingsParams, reqEditors ...RequestEditorFn) (*GetPCFBindingsResponse, error)
GetPCFBindingsWithResponse request returning *GetPCFBindingsResponse
func (*ClientWithResponses) UpdateIndPCFBindingWithApplicationMergePatchPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIndPCFBindingWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, bindingId string, body UpdateIndPCFBindingApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIndPCFBindingResponse, error)
func (*ClientWithResponses) UpdateIndPCFBindingWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIndPCFBindingWithBodyWithResponse(ctx context.Context, bindingId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIndPCFBindingResponse, error)
UpdateIndPCFBindingWithBodyWithResponse request with arbitrary body returning *UpdateIndPCFBindingResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetPCFBindingsWithResponse request GetPCFBindingsWithResponse(ctx context.Context, params *GetPCFBindingsParams, reqEditors ...RequestEditorFn) (*GetPCFBindingsResponse, error) // CreatePCFBindingWithBodyWithResponse request with any body CreatePCFBindingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePCFBindingResponse, error) CreatePCFBindingWithResponse(ctx context.Context, body CreatePCFBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePCFBindingResponse, error) // DeleteIndPCFBindingWithResponse request DeleteIndPCFBindingWithResponse(ctx context.Context, bindingId string, reqEditors ...RequestEditorFn) (*DeleteIndPCFBindingResponse, error) // UpdateIndPCFBindingWithBodyWithResponse request with any body UpdateIndPCFBindingWithBodyWithResponse(ctx context.Context, bindingId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIndPCFBindingResponse, error) UpdateIndPCFBindingWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, bindingId string, body UpdateIndPCFBindingApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIndPCFBindingResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreatePCFBinding201JSONResponse ¶
type CreatePCFBinding201JSONResponse struct { Body PcfBinding Headers CreatePCFBinding201ResponseHeaders }
func (CreatePCFBinding201JSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBinding201JSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type CreatePCFBinding201ResponseHeaders ¶
type CreatePCFBinding201ResponseHeaders struct {
Location string
}
type CreatePCFBinding400ApplicationProblemPlusJSONResponse ¶
type CreatePCFBinding400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (CreatePCFBinding400ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBinding400ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type CreatePCFBinding401ApplicationProblemPlusJSONResponse ¶
type CreatePCFBinding401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (CreatePCFBinding401ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBinding401ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type CreatePCFBinding403ApplicationProblemPlusJSONResponse ¶
type CreatePCFBinding403ApplicationProblemPlusJSONResponse ExtProblemDetails
func (CreatePCFBinding403ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBinding403ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type CreatePCFBinding404ApplicationProblemPlusJSONResponse ¶
type CreatePCFBinding404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (CreatePCFBinding404ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBinding404ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type CreatePCFBinding411ApplicationProblemPlusJSONResponse ¶
type CreatePCFBinding411ApplicationProblemPlusJSONResponse struct {
externalRef0.N411ApplicationProblemPlusJSONResponse
}
func (CreatePCFBinding411ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBinding411ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type CreatePCFBinding413ApplicationProblemPlusJSONResponse ¶
type CreatePCFBinding413ApplicationProblemPlusJSONResponse struct {
externalRef0.N413ApplicationProblemPlusJSONResponse
}
func (CreatePCFBinding413ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBinding413ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type CreatePCFBinding415ApplicationProblemPlusJSONResponse ¶
type CreatePCFBinding415ApplicationProblemPlusJSONResponse struct {
externalRef0.N415ApplicationProblemPlusJSONResponse
}
func (CreatePCFBinding415ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBinding415ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type CreatePCFBinding429ApplicationProblemPlusJSONResponse ¶
type CreatePCFBinding429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (CreatePCFBinding429ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBinding429ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type CreatePCFBinding500ApplicationProblemPlusJSONResponse ¶
type CreatePCFBinding500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (CreatePCFBinding500ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBinding500ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type CreatePCFBinding503ApplicationProblemPlusJSONResponse ¶
type CreatePCFBinding503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (CreatePCFBinding503ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBinding503ApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type CreatePCFBindingJSONRequestBody ¶
type CreatePCFBindingJSONRequestBody = PcfBinding
CreatePCFBindingJSONRequestBody defines body for CreatePCFBinding for application/json ContentType.
type CreatePCFBindingRequestObject ¶
type CreatePCFBindingRequestObject struct {
Body *CreatePCFBindingJSONRequestBody
}
type CreatePCFBindingResponse ¶
type CreatePCFBindingResponse struct { Body []byte HTTPResponse *http.Response JSON201 *PcfBinding ApplicationproblemJSON400 *externalRef0.N400 ApplicationproblemJSON401 *externalRef0.N401 ApplicationproblemJSON403 *ExtProblemDetails 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 ParseCreatePCFBindingResponse ¶
func ParseCreatePCFBindingResponse(rsp *http.Response) (*CreatePCFBindingResponse, error)
ParseCreatePCFBindingResponse parses an HTTP response from a CreatePCFBindingWithResponse call
func (CreatePCFBindingResponse) Status ¶
func (r CreatePCFBindingResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePCFBindingResponse) StatusCode ¶
func (r CreatePCFBindingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePCFBindingResponseObject ¶
type CreatePCFBindingResponseObject interface {
VisitCreatePCFBindingResponse(w http.ResponseWriter) error
}
type CreatePCFBindingdefaultApplicationProblemPlusJSONResponse ¶
type CreatePCFBindingdefaultApplicationProblemPlusJSONResponse struct { Body externalRef0.ProblemDetails StatusCode int }
func (CreatePCFBindingdefaultApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse ¶
func (response CreatePCFBindingdefaultApplicationProblemPlusJSONResponse) VisitCreatePCFBindingResponse(w http.ResponseWriter) error
type DeleteIndPCFBinding204Response ¶
type DeleteIndPCFBinding204Response struct { }
func (DeleteIndPCFBinding204Response) VisitDeleteIndPCFBindingResponse ¶
func (response DeleteIndPCFBinding204Response) VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
type DeleteIndPCFBinding307JSONResponse ¶
type DeleteIndPCFBinding307JSONResponse struct{ externalRef0.N307JSONResponse }
func (DeleteIndPCFBinding307JSONResponse) VisitDeleteIndPCFBindingResponse ¶
func (response DeleteIndPCFBinding307JSONResponse) VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
type DeleteIndPCFBinding308JSONResponse ¶
type DeleteIndPCFBinding308JSONResponse struct{ externalRef0.N308JSONResponse }
func (DeleteIndPCFBinding308JSONResponse) VisitDeleteIndPCFBindingResponse ¶
func (response DeleteIndPCFBinding308JSONResponse) VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
type DeleteIndPCFBinding400ApplicationProblemPlusJSONResponse ¶
type DeleteIndPCFBinding400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (DeleteIndPCFBinding400ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse ¶
func (response DeleteIndPCFBinding400ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
type DeleteIndPCFBinding401ApplicationProblemPlusJSONResponse ¶
type DeleteIndPCFBinding401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (DeleteIndPCFBinding401ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse ¶
func (response DeleteIndPCFBinding401ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
type DeleteIndPCFBinding403ApplicationProblemPlusJSONResponse ¶
type DeleteIndPCFBinding403ApplicationProblemPlusJSONResponse struct {
externalRef0.N403ApplicationProblemPlusJSONResponse
}
func (DeleteIndPCFBinding403ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse ¶
func (response DeleteIndPCFBinding403ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
type DeleteIndPCFBinding404ApplicationProblemPlusJSONResponse ¶
type DeleteIndPCFBinding404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (DeleteIndPCFBinding404ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse ¶
func (response DeleteIndPCFBinding404ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
type DeleteIndPCFBinding429ApplicationProblemPlusJSONResponse ¶
type DeleteIndPCFBinding429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (DeleteIndPCFBinding429ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse ¶
func (response DeleteIndPCFBinding429ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
type DeleteIndPCFBinding500ApplicationProblemPlusJSONResponse ¶
type DeleteIndPCFBinding500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (DeleteIndPCFBinding500ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse ¶
func (response DeleteIndPCFBinding500ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
type DeleteIndPCFBinding503ApplicationProblemPlusJSONResponse ¶
type DeleteIndPCFBinding503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (DeleteIndPCFBinding503ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse ¶
func (response DeleteIndPCFBinding503ApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
type DeleteIndPCFBindingRequestObject ¶
type DeleteIndPCFBindingRequestObject struct {
BindingId string `json:"bindingId"`
}
type DeleteIndPCFBindingResponse ¶
type DeleteIndPCFBindingResponse struct { Body []byte HTTPResponse *http.Response 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 ParseDeleteIndPCFBindingResponse ¶
func ParseDeleteIndPCFBindingResponse(rsp *http.Response) (*DeleteIndPCFBindingResponse, error)
ParseDeleteIndPCFBindingResponse parses an HTTP response from a DeleteIndPCFBindingWithResponse call
func (DeleteIndPCFBindingResponse) Status ¶
func (r DeleteIndPCFBindingResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIndPCFBindingResponse) StatusCode ¶
func (r DeleteIndPCFBindingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIndPCFBindingResponseObject ¶
type DeleteIndPCFBindingResponseObject interface {
VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
}
type DeleteIndPCFBindingdefaultApplicationProblemPlusJSONResponse ¶
type DeleteIndPCFBindingdefaultApplicationProblemPlusJSONResponse struct { Body externalRef0.ProblemDetails StatusCode int }
func (DeleteIndPCFBindingdefaultApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse ¶
func (response DeleteIndPCFBindingdefaultApplicationProblemPlusJSONResponse) VisitDeleteIndPCFBindingResponse(w http.ResponseWriter) error
type ExtProblemDetails ¶
type ExtProblemDetails struct { // AccessTokenError Error returned in the access token response message (Original reference TS29510_Nnrf_AccessToken.yaml#/components/schemas/AccessTokenErr) AccessTokenError interface{} `json:"accessTokenError,omitempty"` // AccessTokenRequest Contains information related to the access token request (Original reference TS29510_Nnrf_AccessToken.yaml#/components/schemas/AccessTokenReq) AccessTokenRequest interface{} `json:"accessTokenRequest,omitempty"` Cause *string `json:"cause,omitempty"` Detail *string `json:"detail,omitempty"` Instance *externalRef0.Uri `json:"instance,omitempty"` InvalidParams []externalRef0.InvalidParam `json:"invalidParams,omitempty"` NrfId *string `json:"nrfId,omitempty"` // PcfSmFqdn Fully Qualified Domain Name PcfSmFqdn *externalRef1.Fqdn `json:"pcfSmFqdn,omitempty"` // PcfSmIpEndPoints IP end points of the PCF hosting the Npcf_SMPolicyControl service. PcfSmIpEndPoints []externalRef1.IpEndPoint `json:"pcfSmIpEndPoints,omitempty"` Status int `json:"status,omitempty"` SupportedFeatures *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"` Title *string `json:"title,omitempty"` Type *externalRef0.Uri `json:"type,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
ExtProblemDetails defines model for ExtProblemDetails.
func (ExtProblemDetails) Get ¶
func (a ExtProblemDetails) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ExtProblemDetails. Returns the specified element and whether it was found
func (ExtProblemDetails) MarshalJSON ¶
func (a ExtProblemDetails) MarshalJSON() ([]byte, error)
Override default JSON handling for ExtProblemDetails to handle AdditionalProperties
func (*ExtProblemDetails) Set ¶
func (a *ExtProblemDetails) Set(fieldName string, value interface{})
Setter for additional properties for ExtProblemDetails
func (*ExtProblemDetails) UnmarshalJSON ¶
func (a *ExtProblemDetails) UnmarshalJSON(b []byte) error
Override default JSON handling for ExtProblemDetails to handle AdditionalProperties
type GetPCFBindings200JSONResponse ¶
type GetPCFBindings200JSONResponse PcfBinding
func (GetPCFBindings200JSONResponse) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindings200JSONResponse) VisitGetPCFBindingsResponse(w http.ResponseWriter) error
type GetPCFBindings204Response ¶
type GetPCFBindings204Response struct { }
func (GetPCFBindings204Response) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindings204Response) VisitGetPCFBindingsResponse(w http.ResponseWriter) error
type GetPCFBindings400ApplicationProblemPlusJSONResponse ¶
type GetPCFBindings400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (GetPCFBindings400ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindings400ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse(w http.ResponseWriter) error
type GetPCFBindings401ApplicationProblemPlusJSONResponse ¶
type GetPCFBindings401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (GetPCFBindings401ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindings401ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse(w http.ResponseWriter) error
type GetPCFBindings403ApplicationProblemPlusJSONResponse ¶
type GetPCFBindings403ApplicationProblemPlusJSONResponse struct {
externalRef0.N403ApplicationProblemPlusJSONResponse
}
func (GetPCFBindings403ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindings403ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse(w http.ResponseWriter) error
type GetPCFBindings404ApplicationProblemPlusJSONResponse ¶
type GetPCFBindings404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (GetPCFBindings404ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindings404ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse(w http.ResponseWriter) error
type GetPCFBindings406Response ¶
type GetPCFBindings406Response externalRef0.N406Response
func (GetPCFBindings406Response) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindings406Response) VisitGetPCFBindingsResponse(w http.ResponseWriter) error
type GetPCFBindings414ApplicationProblemPlusJSONResponse ¶
type GetPCFBindings414ApplicationProblemPlusJSONResponse struct {
externalRef0.N414ApplicationProblemPlusJSONResponse
}
func (GetPCFBindings414ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindings414ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse(w http.ResponseWriter) error
type GetPCFBindings429ApplicationProblemPlusJSONResponse ¶
type GetPCFBindings429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (GetPCFBindings429ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindings429ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse(w http.ResponseWriter) error
type GetPCFBindings500ApplicationProblemPlusJSONResponse ¶
type GetPCFBindings500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (GetPCFBindings500ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindings500ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse(w http.ResponseWriter) error
type GetPCFBindings503ApplicationProblemPlusJSONResponse ¶
type GetPCFBindings503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (GetPCFBindings503ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindings503ApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse(w http.ResponseWriter) error
type GetPCFBindingsParams ¶
type GetPCFBindingsParams struct { // Ipv4Addr The IPv4 Address of the served UE. Ipv4Addr *externalRef0.Ipv4Addr `form:"ipv4Addr,omitempty" json:"ipv4Addr,omitempty"` // Ipv6Prefix The IPv6 Address of the served UE. The NF service consumer shall append '/128' to the IPv6 address in the attribute value. E.g. '2001:db8:85a3::8a2e:370:7334/128'. Ipv6Prefix *externalRef0.Ipv6Prefix `form:"ipv6Prefix,omitempty" json:"ipv6Prefix,omitempty"` // MacAddr48 The MAC Address of the served UE. MacAddr48 *externalRef0.MacAddr48 `form:"macAddr48,omitempty" json:"macAddr48,omitempty"` // Dnn DNN. Dnn *externalRef0.Dnn `form:"dnn,omitempty" json:"dnn,omitempty"` // Supi Subscription Permanent Identifier. Supi *externalRef0.Supi `form:"supi,omitempty" json:"supi,omitempty"` // Gpsi Generic Public Subscription Identifier Gpsi *externalRef0.Gpsi `form:"gpsi,omitempty" json:"gpsi,omitempty"` // Snssai The identification of slice. Snssai *externalRef0.Snssai `form:"snssai,omitempty" json:"snssai,omitempty"` // IpDomain The IPv4 address domain identifier. IpDomain *string `form:"ipDomain,omitempty" json:"ipDomain,omitempty"` // SuppFeat To filter irrelevant responses related to unsupported features SuppFeat *externalRef0.SupportedFeatures `form:"supp-feat,omitempty" json:"supp-feat,omitempty"` }
GetPCFBindingsParams defines parameters for GetPCFBindings.
type GetPCFBindingsRequestObject ¶
type GetPCFBindingsRequestObject struct {
Params GetPCFBindingsParams
}
type GetPCFBindingsResponse ¶
type GetPCFBindingsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PcfBinding ApplicationproblemJSON400 *externalRef0.N400 ApplicationproblemJSON401 *externalRef0.N401 ApplicationproblemJSON403 *externalRef0.N403 ApplicationproblemJSON404 *externalRef0.N404 ApplicationproblemJSON414 *externalRef0.N414 ApplicationproblemJSON429 *externalRef0.N429 ApplicationproblemJSON500 *externalRef0.N500 ApplicationproblemJSON503 *externalRef0.N503 ApplicationproblemJSONDefault *externalRef0.Default }
func ParseGetPCFBindingsResponse ¶
func ParseGetPCFBindingsResponse(rsp *http.Response) (*GetPCFBindingsResponse, error)
ParseGetPCFBindingsResponse parses an HTTP response from a GetPCFBindingsWithResponse call
func (GetPCFBindingsResponse) Status ¶
func (r GetPCFBindingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPCFBindingsResponse) StatusCode ¶
func (r GetPCFBindingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPCFBindingsResponseObject ¶
type GetPCFBindingsResponseObject interface {
VisitGetPCFBindingsResponse(w http.ResponseWriter) error
}
type GetPCFBindingsdefaultApplicationProblemPlusJSONResponse ¶
type GetPCFBindingsdefaultApplicationProblemPlusJSONResponse struct { Body externalRef0.ProblemDetails StatusCode int }
func (GetPCFBindingsdefaultApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse ¶
func (response GetPCFBindingsdefaultApplicationProblemPlusJSONResponse) VisitGetPCFBindingsResponse(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 ParameterCombination ¶
type ParameterCombination struct { Dnn *externalRef0.Dnn `json:"dnn,omitempty"` Snssai *externalRef0.Snssai `json:"snssai,omitempty"` Supi externalRef0.Supi `json:"supi,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
ParameterCombination defines model for ParameterCombination.
func (ParameterCombination) Get ¶
func (a ParameterCombination) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ParameterCombination. Returns the specified element and whether it was found
func (ParameterCombination) MarshalJSON ¶
func (a ParameterCombination) MarshalJSON() ([]byte, error)
Override default JSON handling for ParameterCombination to handle AdditionalProperties
func (*ParameterCombination) Set ¶
func (a *ParameterCombination) Set(fieldName string, value interface{})
Setter for additional properties for ParameterCombination
func (*ParameterCombination) UnmarshalJSON ¶
func (a *ParameterCombination) UnmarshalJSON(b []byte) error
Override default JSON handling for ParameterCombination to handle AdditionalProperties
type PcfBinding ¶
type PcfBinding struct { // AddIpv6Prefixes The additional IPv6 Address Prefixes of the served UE. AddIpv6Prefixes []externalRef0.Ipv6Prefix `json:"addIpv6Prefixes,omitempty"` // AddMacAddrs The additional MAC Addresses of the served UE. AddMacAddrs []externalRef0.MacAddr48 `json:"addMacAddrs,omitempty"` // BindLevel Possible values are - "NF_SET" - "NF_INSTANCE" BindLevel *BindingLevel `json:"bindLevel,omitempty"` Dnn externalRef0.Dnn `json:"dnn"` Gpsi externalRef0.Gpsi `json:"gpsi,omitempty"` IpDomain *string `json:"ipDomain,omitempty"` Ipv4Addr externalRef0.Ipv4Addr `json:"ipv4Addr,omitempty"` Ipv4FrameRouteList []externalRef0.Ipv4AddrMask `json:"ipv4FrameRouteList,omitempty"` Ipv6FrameRouteList []externalRef0.Ipv6Prefix `json:"ipv6FrameRouteList,omitempty"` Ipv6Prefix *externalRef0.Ipv6Prefix `json:"ipv6Prefix,omitempty"` MacAddr48 externalRef0.MacAddr48 `json:"macAddr48,omitempty"` ParaCom *ParameterCombination `json:"paraCom,omitempty"` PcfDiamHost externalRef0.DiameterIdentity `json:"pcfDiamHost,omitempty"` PcfDiamRealm externalRef0.DiameterIdentity `json:"pcfDiamRealm,omitempty"` // PcfFqdn Fully Qualified Domain Name PcfFqdn *externalRef1.Fqdn `json:"pcfFqdn,omitempty"` PcfId *externalRef0.NfInstanceId `json:"pcfId,omitempty"` // PcfIpEndPoints IP end points of the PCF hosting the Npcf_PolicyAuthorization service. PcfIpEndPoints []externalRef1.IpEndPoint `json:"pcfIpEndPoints,omitempty"` PcfSetId *externalRef0.NfSetId `json:"pcfSetId,omitempty"` // PcfSmFqdn Fully Qualified Domain Name PcfSmFqdn *externalRef1.Fqdn `json:"pcfSmFqdn,omitempty"` // PcfSmIpEndPoints IP end points of the PCF hosting the Npcf_SMPolicyControl service. PcfSmIpEndPoints []externalRef1.IpEndPoint `json:"pcfSmIpEndPoints,omitempty"` RecoveryTime *externalRef0.DateTime `json:"recoveryTime,omitempty"` Snssai externalRef0.Snssai `json:"snssai"` Supi externalRef0.Supi `json:"supi,omitempty"` SuppFeat *externalRef0.SupportedFeatures `json:"suppFeat,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
PcfBinding defines model for PcfBinding.
func (PcfBinding) Get ¶
func (a PcfBinding) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PcfBinding. Returns the specified element and whether it was found
func (PcfBinding) MarshalJSON ¶
func (a PcfBinding) MarshalJSON() ([]byte, error)
Override default JSON handling for PcfBinding to handle AdditionalProperties
func (*PcfBinding) Set ¶
func (a *PcfBinding) Set(fieldName string, value interface{})
Setter for additional properties for PcfBinding
func (*PcfBinding) UnmarshalJSON ¶
func (a *PcfBinding) UnmarshalJSON(b []byte) error
Override default JSON handling for PcfBinding to handle AdditionalProperties
type PcfBindingPatch ¶
type PcfBindingPatch struct { // AddIpv6Prefixes The additional IPv6 Address Prefixes of the served UE. AddIpv6Prefixes *[]externalRef0.Ipv6Prefix `json:"addIpv6Prefixes"` // AddMacAddrs The additional MAC Addresses of the served UE. AddMacAddrs *[]externalRef0.MacAddr48 `json:"addMacAddrs"` IpDomain *string `json:"ipDomain"` Ipv4Addr *externalRef0.Ipv4AddrRm `json:"ipv4Addr"` Ipv6Prefix *externalRef0.Ipv6PrefixRm `json:"ipv6Prefix"` MacAddr48 *externalRef0.MacAddr48Rm `json:"macAddr48"` PcfDiamHost externalRef0.DiameterIdentity `json:"pcfDiamHost,omitempty"` PcfDiamRealm externalRef0.DiameterIdentity `json:"pcfDiamRealm,omitempty"` // PcfFqdn Fully Qualified Domain Name PcfFqdn *externalRef1.Fqdn `json:"pcfFqdn,omitempty"` PcfId *externalRef0.NfInstanceId `json:"pcfId,omitempty"` // PcfIpEndPoints IP end points of the PCF hosting the Npcf_PolicyAuthorization service. PcfIpEndPoints []externalRef1.IpEndPoint `json:"pcfIpEndPoints,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
PcfBindingPatch defines model for PcfBindingPatch.
func (PcfBindingPatch) Get ¶
func (a PcfBindingPatch) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PcfBindingPatch. Returns the specified element and whether it was found
func (PcfBindingPatch) MarshalJSON ¶
func (a PcfBindingPatch) MarshalJSON() ([]byte, error)
Override default JSON handling for PcfBindingPatch to handle AdditionalProperties
func (*PcfBindingPatch) Set ¶
func (a *PcfBindingPatch) Set(fieldName string, value interface{})
Setter for additional properties for PcfBindingPatch
func (*PcfBindingPatch) UnmarshalJSON ¶
func (a *PcfBindingPatch) UnmarshalJSON(b []byte) error
Override default JSON handling for PcfBindingPatch to handle AdditionalProperties
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ServerInterface ¶
type ServerInterface interface { // Read PCF Bindings information // (GET /pcfBindings) GetPCFBindings(c *gin.Context, params GetPCFBindingsParams) // Create a new Individual PCF binding information // (POST /pcfBindings) CreatePCFBinding(c *gin.Context) // Delete an existing Individual PCF Binding information // (DELETE /pcfBindings/{bindingId}) DeleteIndPCFBinding(c *gin.Context, bindingId string) // Update an existing Individual PCF Binding information // (PATCH /pcfBindings/{bindingId}) UpdateIndPCFBinding(c *gin.Context, bindingId 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) CreatePCFBinding ¶
func (siw *ServerInterfaceWrapper) CreatePCFBinding(c *gin.Context)
CreatePCFBinding operation middleware
func (*ServerInterfaceWrapper) DeleteIndPCFBinding ¶
func (siw *ServerInterfaceWrapper) DeleteIndPCFBinding(c *gin.Context)
DeleteIndPCFBinding operation middleware
func (*ServerInterfaceWrapper) GetPCFBindings ¶
func (siw *ServerInterfaceWrapper) GetPCFBindings(c *gin.Context)
GetPCFBindings operation middleware
func (*ServerInterfaceWrapper) UpdateIndPCFBinding ¶
func (siw *ServerInterfaceWrapper) UpdateIndPCFBinding(c *gin.Context)
UpdateIndPCFBinding operation middleware
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictgin.StrictGinHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface { // Read PCF Bindings information // (GET /pcfBindings) GetPCFBindings(ctx context.Context, request GetPCFBindingsRequestObject) (GetPCFBindingsResponseObject, error) // Create a new Individual PCF binding information // (POST /pcfBindings) CreatePCFBinding(ctx context.Context, request CreatePCFBindingRequestObject) (CreatePCFBindingResponseObject, error) // Delete an existing Individual PCF Binding information // (DELETE /pcfBindings/{bindingId}) DeleteIndPCFBinding(ctx context.Context, request DeleteIndPCFBindingRequestObject) (DeleteIndPCFBindingResponseObject, error) // Update an existing Individual PCF Binding information // (PATCH /pcfBindings/{bindingId}) UpdateIndPCFBinding(ctx context.Context, request UpdateIndPCFBindingRequestObject) (UpdateIndPCFBindingResponseObject, error) }
StrictServerInterface represents all server handlers.
type UpdateIndPCFBinding200JSONResponse ¶
type UpdateIndPCFBinding200JSONResponse PcfBinding
func (UpdateIndPCFBinding200JSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding200JSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding307JSONResponse ¶
type UpdateIndPCFBinding307JSONResponse struct{ externalRef0.N307JSONResponse }
func (UpdateIndPCFBinding307JSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding307JSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding308JSONResponse ¶
type UpdateIndPCFBinding308JSONResponse struct{ externalRef0.N308JSONResponse }
func (UpdateIndPCFBinding308JSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding308JSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding400ApplicationProblemPlusJSONResponse ¶
type UpdateIndPCFBinding400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (UpdateIndPCFBinding400ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding400ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding401ApplicationProblemPlusJSONResponse ¶
type UpdateIndPCFBinding401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (UpdateIndPCFBinding401ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding401ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding403ApplicationProblemPlusJSONResponse ¶
type UpdateIndPCFBinding403ApplicationProblemPlusJSONResponse struct {
externalRef0.N403ApplicationProblemPlusJSONResponse
}
func (UpdateIndPCFBinding403ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding403ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding404ApplicationProblemPlusJSONResponse ¶
type UpdateIndPCFBinding404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (UpdateIndPCFBinding404ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding404ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding411ApplicationProblemPlusJSONResponse ¶
type UpdateIndPCFBinding411ApplicationProblemPlusJSONResponse struct {
externalRef0.N411ApplicationProblemPlusJSONResponse
}
func (UpdateIndPCFBinding411ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding411ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding413ApplicationProblemPlusJSONResponse ¶
type UpdateIndPCFBinding413ApplicationProblemPlusJSONResponse struct {
externalRef0.N413ApplicationProblemPlusJSONResponse
}
func (UpdateIndPCFBinding413ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding413ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding415ApplicationProblemPlusJSONResponse ¶
type UpdateIndPCFBinding415ApplicationProblemPlusJSONResponse struct {
externalRef0.N415ApplicationProblemPlusJSONResponse
}
func (UpdateIndPCFBinding415ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding415ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding429ApplicationProblemPlusJSONResponse ¶
type UpdateIndPCFBinding429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (UpdateIndPCFBinding429ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding429ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding500ApplicationProblemPlusJSONResponse ¶
type UpdateIndPCFBinding500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (UpdateIndPCFBinding500ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding500ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBinding503ApplicationProblemPlusJSONResponse ¶
type UpdateIndPCFBinding503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (UpdateIndPCFBinding503ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBinding503ApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
type UpdateIndPCFBindingApplicationMergePatchPlusJSONRequestBody ¶
type UpdateIndPCFBindingApplicationMergePatchPlusJSONRequestBody = PcfBindingPatch
UpdateIndPCFBindingApplicationMergePatchPlusJSONRequestBody defines body for UpdateIndPCFBinding for application/merge-patch+json ContentType.
type UpdateIndPCFBindingRequestObject ¶
type UpdateIndPCFBindingRequestObject struct { BindingId string `json:"bindingId"` Body *UpdateIndPCFBindingApplicationMergePatchPlusJSONRequestBody }
type UpdateIndPCFBindingResponse ¶
type UpdateIndPCFBindingResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PcfBinding 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 ParseUpdateIndPCFBindingResponse ¶
func ParseUpdateIndPCFBindingResponse(rsp *http.Response) (*UpdateIndPCFBindingResponse, error)
ParseUpdateIndPCFBindingResponse parses an HTTP response from a UpdateIndPCFBindingWithResponse call
func (UpdateIndPCFBindingResponse) Status ¶
func (r UpdateIndPCFBindingResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIndPCFBindingResponse) StatusCode ¶
func (r UpdateIndPCFBindingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIndPCFBindingResponseObject ¶
type UpdateIndPCFBindingResponseObject interface {
VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error
}
type UpdateIndPCFBindingdefaultApplicationProblemPlusJSONResponse ¶
type UpdateIndPCFBindingdefaultApplicationProblemPlusJSONResponse struct { Body externalRef0.ProblemDetails StatusCode int }
func (UpdateIndPCFBindingdefaultApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse ¶
func (response UpdateIndPCFBindingdefaultApplicationProblemPlusJSONResponse) VisitUpdateIndPCFBindingResponse(w http.ResponseWriter) error