Documentation
¶
Overview ¶
Package authorization 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 GetLoader() loader.SpecLoader
- func NewDeleteAppSessionRequest(server string, appSessionId string, body DeleteAppSessionJSONRequestBody) (*http.Request, error)
- func NewDeleteAppSessionRequestWithBody(server string, appSessionId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteEventsSubscRequest(server string, appSessionId string) (*http.Request, error)
- func NewGetAppSessionRequest(server string, appSessionId string) (*http.Request, error)
- func NewModAppSessionRequestWithApplicationMergePatchPlusJSONBody(server string, appSessionId string, ...) (*http.Request, error)
- func NewModAppSessionRequestWithBody(server string, appSessionId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPcscfRestorationRequest(server string, body PcscfRestorationJSONRequestBody) (*http.Request, error)
- func NewPcscfRestorationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAppSessionsRequest(server string, body PostAppSessionsJSONRequestBody) (*http.Request, error)
- func NewPostAppSessionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateEventsSubscRequest(server string, appSessionId string, body UpdateEventsSubscJSONRequestBody) (*http.Request, error)
- func NewUpdateEventsSubscRequestWithBody(server string, appSessionId 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 Client
- func (c *Client) DeleteAppSession(ctx context.Context, appSessionId string, body DeleteAppSessionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteAppSessionWithBody(ctx context.Context, appSessionId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteEventsSubsc(ctx context.Context, appSessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAppSession(ctx context.Context, appSessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ModAppSessionWithApplicationMergePatchPlusJSONBody(ctx context.Context, appSessionId string, ...) (*http.Response, error)
- func (c *Client) ModAppSessionWithBody(ctx context.Context, appSessionId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PcscfRestoration(ctx context.Context, body PcscfRestorationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PcscfRestorationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAppSessions(ctx context.Context, body PostAppSessionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAppSessionsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateEventsSubsc(ctx context.Context, appSessionId string, ...) (*http.Response, error)
- func (c *Client) UpdateEventsSubscWithBody(ctx context.Context, appSessionId string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteAppSessionWithBodyWithResponse(ctx context.Context, appSessionId string, contentType string, body io.Reader, ...) (*DeleteAppSessionResponse, error)
- func (c *ClientWithResponses) DeleteAppSessionWithResponse(ctx context.Context, appSessionId string, body DeleteAppSessionJSONRequestBody, ...) (*DeleteAppSessionResponse, error)
- func (c *ClientWithResponses) DeleteEventsSubscWithResponse(ctx context.Context, appSessionId string, reqEditors ...RequestEditorFn) (*DeleteEventsSubscResponse, error)
- func (c *ClientWithResponses) GetAppSessionWithResponse(ctx context.Context, appSessionId string, reqEditors ...RequestEditorFn) (*GetAppSessionResponse, error)
- func (c *ClientWithResponses) ModAppSessionWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, appSessionId string, ...) (*ModAppSessionResponse, error)
- func (c *ClientWithResponses) ModAppSessionWithBodyWithResponse(ctx context.Context, appSessionId string, contentType string, body io.Reader, ...) (*ModAppSessionResponse, error)
- func (c *ClientWithResponses) PcscfRestorationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PcscfRestorationResponse, error)
- func (c *ClientWithResponses) PcscfRestorationWithResponse(ctx context.Context, body PcscfRestorationJSONRequestBody, ...) (*PcscfRestorationResponse, error)
- func (c *ClientWithResponses) PostAppSessionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAppSessionsResponse, error)
- func (c *ClientWithResponses) PostAppSessionsWithResponse(ctx context.Context, body PostAppSessionsJSONRequestBody, ...) (*PostAppSessionsResponse, error)
- func (c *ClientWithResponses) UpdateEventsSubscWithBodyWithResponse(ctx context.Context, appSessionId string, contentType string, body io.Reader, ...) (*UpdateEventsSubscResponse, error)
- func (c *ClientWithResponses) UpdateEventsSubscWithResponse(ctx context.Context, appSessionId string, ...) (*UpdateEventsSubscResponse, error)
- type ClientWithResponsesInterface
- type DeleteAppSession200JSONResponse
- type DeleteAppSession204Response
- type DeleteAppSession307JSONResponse
- type DeleteAppSession308JSONResponse
- type DeleteAppSession400ApplicationProblemPlusJSONResponse
- type DeleteAppSession401ApplicationProblemPlusJSONResponse
- type DeleteAppSession403ApplicationProblemPlusJSONResponse
- type DeleteAppSession404ApplicationProblemPlusJSONResponse
- type DeleteAppSession411ApplicationProblemPlusJSONResponse
- type DeleteAppSession413ApplicationProblemPlusJSONResponse
- type DeleteAppSession415ApplicationProblemPlusJSONResponse
- type DeleteAppSession429ApplicationProblemPlusJSONResponse
- type DeleteAppSession500ApplicationProblemPlusJSONResponse
- type DeleteAppSession503ApplicationProblemPlusJSONResponse
- type DeleteAppSessionJSONRequestBody
- type DeleteAppSessionRequestObject
- type DeleteAppSessionResponse
- type DeleteAppSessionResponseObject
- type DeleteAppSessiondefaultApplicationProblemPlusJSONResponse
- type DeleteEventsSubsc204Response
- type DeleteEventsSubsc307JSONResponse
- type DeleteEventsSubsc308JSONResponse
- type DeleteEventsSubsc400ApplicationProblemPlusJSONResponse
- type DeleteEventsSubsc401ApplicationProblemPlusJSONResponse
- type DeleteEventsSubsc403ApplicationProblemPlusJSONResponse
- type DeleteEventsSubsc404ApplicationProblemPlusJSONResponse
- type DeleteEventsSubsc429ApplicationProblemPlusJSONResponse
- type DeleteEventsSubsc500ApplicationProblemPlusJSONResponse
- type DeleteEventsSubsc503ApplicationProblemPlusJSONResponse
- type DeleteEventsSubscRequestObject
- type DeleteEventsSubscResponse
- type DeleteEventsSubscResponseObject
- type DeleteEventsSubscdefaultApplicationProblemPlusJSONResponse
- type GetAppSession200JSONResponse
- type GetAppSession307JSONResponse
- type GetAppSession308JSONResponse
- type GetAppSession400ApplicationProblemPlusJSONResponse
- type GetAppSession401ApplicationProblemPlusJSONResponse
- type GetAppSession403ApplicationProblemPlusJSONResponse
- type GetAppSession404ApplicationProblemPlusJSONResponse
- type GetAppSession406Response
- type GetAppSession429ApplicationProblemPlusJSONResponse
- type GetAppSession500ApplicationProblemPlusJSONResponse
- type GetAppSession503ApplicationProblemPlusJSONResponse
- type GetAppSessionRequestObject
- type GetAppSessionResponse
- type GetAppSessionResponseObject
- type GetAppSessiondefaultApplicationProblemPlusJSONResponse
- type GinServerOptions
- type HttpRequestDoer
- type MiddlewareFunc
- type ModAppSession200JSONResponse
- type ModAppSession204Response
- type ModAppSession307JSONResponse
- type ModAppSession308JSONResponse
- type ModAppSession400ApplicationProblemPlusJSONResponse
- type ModAppSession401ApplicationProblemPlusJSONResponse
- type ModAppSession403ApplicationProblemPlusJSONResponse
- type ModAppSession403ResponseHeaders
- type ModAppSession404ApplicationProblemPlusJSONResponse
- type ModAppSession411ApplicationProblemPlusJSONResponse
- type ModAppSession413ApplicationProblemPlusJSONResponse
- type ModAppSession415ApplicationProblemPlusJSONResponse
- type ModAppSession429ApplicationProblemPlusJSONResponse
- type ModAppSession500ApplicationProblemPlusJSONResponse
- type ModAppSession503ApplicationProblemPlusJSONResponse
- type ModAppSessionApplicationMergePatchPlusJSONRequestBody
- type ModAppSessionRequestObject
- type ModAppSessionResponse
- type ModAppSessionResponseObject
- type ModAppSessiondefaultApplicationProblemPlusJSONResponse
- type PcscfRestoration204Response
- type PcscfRestoration307JSONResponse
- type PcscfRestoration308JSONResponse
- type PcscfRestoration400ApplicationProblemPlusJSONResponse
- type PcscfRestoration401ApplicationProblemPlusJSONResponse
- type PcscfRestoration403ApplicationProblemPlusJSONResponse
- type PcscfRestoration404ApplicationProblemPlusJSONResponse
- type PcscfRestoration411ApplicationProblemPlusJSONResponse
- type PcscfRestoration413ApplicationProblemPlusJSONResponse
- type PcscfRestoration415ApplicationProblemPlusJSONResponse
- type PcscfRestoration429ApplicationProblemPlusJSONResponse
- type PcscfRestoration500ApplicationProblemPlusJSONResponse
- type PcscfRestoration503ApplicationProblemPlusJSONResponse
- type PcscfRestorationJSONRequestBody
- type PcscfRestorationRequestObject
- type PcscfRestorationResponse
- type PcscfRestorationResponseObject
- type PcscfRestorationdefaultApplicationProblemPlusJSONResponse
- type PostAppSessions201JSONResponse
- type PostAppSessions201ResponseHeaders
- type PostAppSessions303Response
- type PostAppSessions303ResponseHeaders
- type PostAppSessions400ApplicationProblemPlusJSONResponse
- type PostAppSessions401ApplicationProblemPlusJSONResponse
- type PostAppSessions403ApplicationProblemPlusJSONResponse
- type PostAppSessions403ResponseHeaders
- type PostAppSessions404ApplicationProblemPlusJSONResponse
- type PostAppSessions411ApplicationProblemPlusJSONResponse
- type PostAppSessions413ApplicationProblemPlusJSONResponse
- type PostAppSessions415ApplicationProblemPlusJSONResponse
- type PostAppSessions429ApplicationProblemPlusJSONResponse
- type PostAppSessions500ApplicationProblemPlusJSONResponse
- type PostAppSessions503ApplicationProblemPlusJSONResponse
- type PostAppSessionsJSONRequestBody
- type PostAppSessionsRequestObject
- type PostAppSessionsResponse
- type PostAppSessionsResponseObject
- type PostAppSessionsdefaultApplicationProblemPlusJSONResponse
- type RequestEditorFn
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) DeleteAppSession(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteEventsSubsc(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetAppSession(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ModAppSession(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PcscfRestoration(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PostAppSessions(c *gin.Context)
- func (siw *ServerInterfaceWrapper) UpdateEventsSubsc(c *gin.Context)
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type UpdateEventsSubsc200JSONResponse
- type UpdateEventsSubsc201JSONResponse
- type UpdateEventsSubsc201ResponseHeaders
- type UpdateEventsSubsc204Response
- type UpdateEventsSubsc307JSONResponse
- type UpdateEventsSubsc308JSONResponse
- type UpdateEventsSubsc400ApplicationProblemPlusJSONResponse
- type UpdateEventsSubsc401ApplicationProblemPlusJSONResponse
- type UpdateEventsSubsc403ApplicationProblemPlusJSONResponse
- type UpdateEventsSubsc404ApplicationProblemPlusJSONResponse
- type UpdateEventsSubsc411ApplicationProblemPlusJSONResponse
- type UpdateEventsSubsc413ApplicationProblemPlusJSONResponse
- type UpdateEventsSubsc415ApplicationProblemPlusJSONResponse
- type UpdateEventsSubsc429ApplicationProblemPlusJSONResponse
- type UpdateEventsSubsc500ApplicationProblemPlusJSONResponse
- type UpdateEventsSubsc503ApplicationProblemPlusJSONResponse
- type UpdateEventsSubscJSONRequestBody
- type UpdateEventsSubscRequestObject
- type UpdateEventsSubscResponse
- type UpdateEventsSubscResponseObject
- type UpdateEventsSubscdefaultApplicationProblemPlusJSONResponse
Constants ¶
const (
OAuth2ClientCredentialsScopes = "oAuth2ClientCredentials.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func GetLoader ¶
func GetLoader() loader.SpecLoader
func NewDeleteAppSessionRequest ¶
func NewDeleteAppSessionRequest(server string, appSessionId string, body DeleteAppSessionJSONRequestBody) (*http.Request, error)
NewDeleteAppSessionRequest calls the generic DeleteAppSession builder with application/json body
func NewDeleteAppSessionRequestWithBody ¶
func NewDeleteAppSessionRequestWithBody(server string, appSessionId string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteAppSessionRequestWithBody generates requests for DeleteAppSession with any type of body
func NewDeleteEventsSubscRequest ¶
NewDeleteEventsSubscRequest generates requests for DeleteEventsSubsc
func NewGetAppSessionRequest ¶
NewGetAppSessionRequest generates requests for GetAppSession
func NewModAppSessionRequestWithApplicationMergePatchPlusJSONBody ¶
func NewModAppSessionRequestWithApplicationMergePatchPlusJSONBody(server string, appSessionId string, body ModAppSessionApplicationMergePatchPlusJSONRequestBody) (*http.Request, error)
NewModAppSessionRequestWithApplicationMergePatchPlusJSONBody calls the generic ModAppSession builder with application/merge-patch+json body
func NewModAppSessionRequestWithBody ¶
func NewModAppSessionRequestWithBody(server string, appSessionId string, contentType string, body io.Reader) (*http.Request, error)
NewModAppSessionRequestWithBody generates requests for ModAppSession with any type of body
func NewPcscfRestorationRequest ¶
func NewPcscfRestorationRequest(server string, body PcscfRestorationJSONRequestBody) (*http.Request, error)
NewPcscfRestorationRequest calls the generic PcscfRestoration builder with application/json body
func NewPcscfRestorationRequestWithBody ¶
func NewPcscfRestorationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPcscfRestorationRequestWithBody generates requests for PcscfRestoration with any type of body
func NewPostAppSessionsRequest ¶
func NewPostAppSessionsRequest(server string, body PostAppSessionsJSONRequestBody) (*http.Request, error)
NewPostAppSessionsRequest calls the generic PostAppSessions builder with application/json body
func NewPostAppSessionsRequestWithBody ¶
func NewPostAppSessionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostAppSessionsRequestWithBody generates requests for PostAppSessions with any type of body
func NewUpdateEventsSubscRequest ¶
func NewUpdateEventsSubscRequest(server string, appSessionId string, body UpdateEventsSubscJSONRequestBody) (*http.Request, error)
NewUpdateEventsSubscRequest calls the generic UpdateEventsSubsc builder with application/json body
func NewUpdateEventsSubscRequestWithBody ¶
func NewUpdateEventsSubscRequestWithBody(server string, appSessionId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEventsSubscRequestWithBody generates requests for UpdateEventsSubsc 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 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) DeleteAppSession ¶
func (c *Client) DeleteAppSession(ctx context.Context, appSessionId string, body DeleteAppSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteAppSessionWithBody ¶
func (*Client) DeleteEventsSubsc ¶
func (*Client) GetAppSession ¶
func (*Client) ModAppSessionWithApplicationMergePatchPlusJSONBody ¶
func (c *Client) ModAppSessionWithApplicationMergePatchPlusJSONBody(ctx context.Context, appSessionId string, body ModAppSessionApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ModAppSessionWithBody ¶
func (*Client) PcscfRestoration ¶
func (c *Client) PcscfRestoration(ctx context.Context, body PcscfRestorationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PcscfRestorationWithBody ¶
func (*Client) PostAppSessions ¶
func (c *Client) PostAppSessions(ctx context.Context, body PostAppSessionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppSessionsWithBody ¶
func (*Client) UpdateEventsSubsc ¶
func (c *Client) UpdateEventsSubsc(ctx context.Context, appSessionId string, body UpdateEventsSubscJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// PostAppSessionsWithBody request with any body
PostAppSessionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAppSessions(ctx context.Context, body PostAppSessionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PcscfRestorationWithBody request with any body
PcscfRestorationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PcscfRestoration(ctx context.Context, body PcscfRestorationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppSession request
GetAppSession(ctx context.Context, appSessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModAppSessionWithBody request with any body
ModAppSessionWithBody(ctx context.Context, appSessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModAppSessionWithApplicationMergePatchPlusJSONBody(ctx context.Context, appSessionId string, body ModAppSessionApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAppSessionWithBody request with any body
DeleteAppSessionWithBody(ctx context.Context, appSessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAppSession(ctx context.Context, appSessionId string, body DeleteAppSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEventsSubsc request
DeleteEventsSubsc(ctx context.Context, appSessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEventsSubscWithBody request with any body
UpdateEventsSubscWithBody(ctx context.Context, appSessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEventsSubsc(ctx context.Context, appSessionId string, body UpdateEventsSubscJSONRequestBody, 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) DeleteAppSessionWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteAppSessionWithBodyWithResponse(ctx context.Context, appSessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAppSessionResponse, error)
DeleteAppSessionWithBodyWithResponse request with arbitrary body returning *DeleteAppSessionResponse
func (*ClientWithResponses) DeleteAppSessionWithResponse ¶
func (c *ClientWithResponses) DeleteAppSessionWithResponse(ctx context.Context, appSessionId string, body DeleteAppSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAppSessionResponse, error)
func (*ClientWithResponses) DeleteEventsSubscWithResponse ¶
func (c *ClientWithResponses) DeleteEventsSubscWithResponse(ctx context.Context, appSessionId string, reqEditors ...RequestEditorFn) (*DeleteEventsSubscResponse, error)
DeleteEventsSubscWithResponse request returning *DeleteEventsSubscResponse
func (*ClientWithResponses) GetAppSessionWithResponse ¶
func (c *ClientWithResponses) GetAppSessionWithResponse(ctx context.Context, appSessionId string, reqEditors ...RequestEditorFn) (*GetAppSessionResponse, error)
GetAppSessionWithResponse request returning *GetAppSessionResponse
func (*ClientWithResponses) ModAppSessionWithApplicationMergePatchPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) ModAppSessionWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, appSessionId string, body ModAppSessionApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*ModAppSessionResponse, error)
func (*ClientWithResponses) ModAppSessionWithBodyWithResponse ¶
func (c *ClientWithResponses) ModAppSessionWithBodyWithResponse(ctx context.Context, appSessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModAppSessionResponse, error)
ModAppSessionWithBodyWithResponse request with arbitrary body returning *ModAppSessionResponse
func (*ClientWithResponses) PcscfRestorationWithBodyWithResponse ¶
func (c *ClientWithResponses) PcscfRestorationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PcscfRestorationResponse, error)
PcscfRestorationWithBodyWithResponse request with arbitrary body returning *PcscfRestorationResponse
func (*ClientWithResponses) PcscfRestorationWithResponse ¶
func (c *ClientWithResponses) PcscfRestorationWithResponse(ctx context.Context, body PcscfRestorationJSONRequestBody, reqEditors ...RequestEditorFn) (*PcscfRestorationResponse, error)
func (*ClientWithResponses) PostAppSessionsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAppSessionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppSessionsResponse, error)
PostAppSessionsWithBodyWithResponse request with arbitrary body returning *PostAppSessionsResponse
func (*ClientWithResponses) PostAppSessionsWithResponse ¶
func (c *ClientWithResponses) PostAppSessionsWithResponse(ctx context.Context, body PostAppSessionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppSessionsResponse, error)
func (*ClientWithResponses) UpdateEventsSubscWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEventsSubscWithBodyWithResponse(ctx context.Context, appSessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEventsSubscResponse, error)
UpdateEventsSubscWithBodyWithResponse request with arbitrary body returning *UpdateEventsSubscResponse
func (*ClientWithResponses) UpdateEventsSubscWithResponse ¶
func (c *ClientWithResponses) UpdateEventsSubscWithResponse(ctx context.Context, appSessionId string, body UpdateEventsSubscJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEventsSubscResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// PostAppSessionsWithBodyWithResponse request with any body
PostAppSessionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppSessionsResponse, error)
PostAppSessionsWithResponse(ctx context.Context, body PostAppSessionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppSessionsResponse, error)
// PcscfRestorationWithBodyWithResponse request with any body
PcscfRestorationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PcscfRestorationResponse, error)
PcscfRestorationWithResponse(ctx context.Context, body PcscfRestorationJSONRequestBody, reqEditors ...RequestEditorFn) (*PcscfRestorationResponse, error)
// GetAppSessionWithResponse request
GetAppSessionWithResponse(ctx context.Context, appSessionId string, reqEditors ...RequestEditorFn) (*GetAppSessionResponse, error)
// ModAppSessionWithBodyWithResponse request with any body
ModAppSessionWithBodyWithResponse(ctx context.Context, appSessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModAppSessionResponse, error)
ModAppSessionWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, appSessionId string, body ModAppSessionApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*ModAppSessionResponse, error)
// DeleteAppSessionWithBodyWithResponse request with any body
DeleteAppSessionWithBodyWithResponse(ctx context.Context, appSessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAppSessionResponse, error)
DeleteAppSessionWithResponse(ctx context.Context, appSessionId string, body DeleteAppSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAppSessionResponse, error)
// DeleteEventsSubscWithResponse request
DeleteEventsSubscWithResponse(ctx context.Context, appSessionId string, reqEditors ...RequestEditorFn) (*DeleteEventsSubscResponse, error)
// UpdateEventsSubscWithBodyWithResponse request with any body
UpdateEventsSubscWithBodyWithResponse(ctx context.Context, appSessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEventsSubscResponse, error)
UpdateEventsSubscWithResponse(ctx context.Context, appSessionId string, body UpdateEventsSubscJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEventsSubscResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DeleteAppSession200JSONResponse ¶
type DeleteAppSession200JSONResponse externalRef0.AppSessionContext
func (DeleteAppSession200JSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession200JSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession204Response ¶
type DeleteAppSession204Response struct {
}
func (DeleteAppSession204Response) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession204Response) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession307JSONResponse ¶
type DeleteAppSession307JSONResponse struct{ externalRef0.N307JSONResponse }
func (DeleteAppSession307JSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession307JSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession308JSONResponse ¶
type DeleteAppSession308JSONResponse struct{ externalRef0.N308JSONResponse }
func (DeleteAppSession308JSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession308JSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession400ApplicationProblemPlusJSONResponse ¶
type DeleteAppSession400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (DeleteAppSession400ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession400ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession401ApplicationProblemPlusJSONResponse ¶
type DeleteAppSession401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (DeleteAppSession401ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession401ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession403ApplicationProblemPlusJSONResponse ¶
type DeleteAppSession403ApplicationProblemPlusJSONResponse struct {
externalRef0.N403ApplicationProblemPlusJSONResponse
}
func (DeleteAppSession403ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession403ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession404ApplicationProblemPlusJSONResponse ¶
type DeleteAppSession404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (DeleteAppSession404ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession404ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession411ApplicationProblemPlusJSONResponse ¶
type DeleteAppSession411ApplicationProblemPlusJSONResponse struct {
externalRef0.N411ApplicationProblemPlusJSONResponse
}
func (DeleteAppSession411ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession411ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession413ApplicationProblemPlusJSONResponse ¶
type DeleteAppSession413ApplicationProblemPlusJSONResponse struct {
externalRef0.N413ApplicationProblemPlusJSONResponse
}
func (DeleteAppSession413ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession413ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession415ApplicationProblemPlusJSONResponse ¶
type DeleteAppSession415ApplicationProblemPlusJSONResponse struct {
externalRef0.N415ApplicationProblemPlusJSONResponse
}
func (DeleteAppSession415ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession415ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession429ApplicationProblemPlusJSONResponse ¶
type DeleteAppSession429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (DeleteAppSession429ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession429ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession500ApplicationProblemPlusJSONResponse ¶
type DeleteAppSession500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (DeleteAppSession500ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession500ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSession503ApplicationProblemPlusJSONResponse ¶
type DeleteAppSession503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (DeleteAppSession503ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSession503ApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteAppSessionJSONRequestBody ¶
type DeleteAppSessionJSONRequestBody = externalRef0.EventsSubscReqData
DeleteAppSessionJSONRequestBody defines body for DeleteAppSession for application/json ContentType.
type DeleteAppSessionRequestObject ¶
type DeleteAppSessionRequestObject struct {
AppSessionId string `json:"appSessionId"`
Body *DeleteAppSessionJSONRequestBody
}
type DeleteAppSessionResponse ¶
type DeleteAppSessionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *externalRef0.AppSessionContext
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 ParseDeleteAppSessionResponse ¶
func ParseDeleteAppSessionResponse(rsp *http.Response) (*DeleteAppSessionResponse, error)
ParseDeleteAppSessionResponse parses an HTTP response from a DeleteAppSessionWithResponse call
func (DeleteAppSessionResponse) Status ¶
func (r DeleteAppSessionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAppSessionResponse) StatusCode ¶
func (r DeleteAppSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAppSessionResponseObject ¶
type DeleteAppSessionResponseObject interface {
VisitDeleteAppSessionResponse(w http.ResponseWriter) error
}
type DeleteAppSessiondefaultApplicationProblemPlusJSONResponse ¶
type DeleteAppSessiondefaultApplicationProblemPlusJSONResponse struct {
Body externalRef0.ProblemDetails
StatusCode int
}
func (DeleteAppSessiondefaultApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse ¶
func (response DeleteAppSessiondefaultApplicationProblemPlusJSONResponse) VisitDeleteAppSessionResponse(w http.ResponseWriter) error
type DeleteEventsSubsc204Response ¶
type DeleteEventsSubsc204Response struct {
}
func (DeleteEventsSubsc204Response) VisitDeleteEventsSubscResponse ¶
func (response DeleteEventsSubsc204Response) VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
type DeleteEventsSubsc307JSONResponse ¶
type DeleteEventsSubsc307JSONResponse struct{ externalRef0.N307JSONResponse }
func (DeleteEventsSubsc307JSONResponse) VisitDeleteEventsSubscResponse ¶
func (response DeleteEventsSubsc307JSONResponse) VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
type DeleteEventsSubsc308JSONResponse ¶
type DeleteEventsSubsc308JSONResponse struct{ externalRef0.N308JSONResponse }
func (DeleteEventsSubsc308JSONResponse) VisitDeleteEventsSubscResponse ¶
func (response DeleteEventsSubsc308JSONResponse) VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
type DeleteEventsSubsc400ApplicationProblemPlusJSONResponse ¶
type DeleteEventsSubsc400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (DeleteEventsSubsc400ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse ¶
func (response DeleteEventsSubsc400ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
type DeleteEventsSubsc401ApplicationProblemPlusJSONResponse ¶
type DeleteEventsSubsc401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (DeleteEventsSubsc401ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse ¶
func (response DeleteEventsSubsc401ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
type DeleteEventsSubsc403ApplicationProblemPlusJSONResponse ¶
type DeleteEventsSubsc403ApplicationProblemPlusJSONResponse struct {
externalRef0.N403ApplicationProblemPlusJSONResponse
}
func (DeleteEventsSubsc403ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse ¶
func (response DeleteEventsSubsc403ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
type DeleteEventsSubsc404ApplicationProblemPlusJSONResponse ¶
type DeleteEventsSubsc404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (DeleteEventsSubsc404ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse ¶
func (response DeleteEventsSubsc404ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
type DeleteEventsSubsc429ApplicationProblemPlusJSONResponse ¶
type DeleteEventsSubsc429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (DeleteEventsSubsc429ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse ¶
func (response DeleteEventsSubsc429ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
type DeleteEventsSubsc500ApplicationProblemPlusJSONResponse ¶
type DeleteEventsSubsc500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (DeleteEventsSubsc500ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse ¶
func (response DeleteEventsSubsc500ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
type DeleteEventsSubsc503ApplicationProblemPlusJSONResponse ¶
type DeleteEventsSubsc503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (DeleteEventsSubsc503ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse ¶
func (response DeleteEventsSubsc503ApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
type DeleteEventsSubscRequestObject ¶
type DeleteEventsSubscRequestObject struct {
AppSessionId string `json:"appSessionId"`
}
type DeleteEventsSubscResponse ¶
type DeleteEventsSubscResponse 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 ParseDeleteEventsSubscResponse ¶
func ParseDeleteEventsSubscResponse(rsp *http.Response) (*DeleteEventsSubscResponse, error)
ParseDeleteEventsSubscResponse parses an HTTP response from a DeleteEventsSubscWithResponse call
func (DeleteEventsSubscResponse) Status ¶
func (r DeleteEventsSubscResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEventsSubscResponse) StatusCode ¶
func (r DeleteEventsSubscResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEventsSubscResponseObject ¶
type DeleteEventsSubscResponseObject interface {
VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
}
type DeleteEventsSubscdefaultApplicationProblemPlusJSONResponse ¶
type DeleteEventsSubscdefaultApplicationProblemPlusJSONResponse struct {
Body externalRef0.ProblemDetails
StatusCode int
}
func (DeleteEventsSubscdefaultApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse ¶
func (response DeleteEventsSubscdefaultApplicationProblemPlusJSONResponse) VisitDeleteEventsSubscResponse(w http.ResponseWriter) error
type GetAppSession200JSONResponse ¶
type GetAppSession200JSONResponse externalRef0.AppSessionContext
func (GetAppSession200JSONResponse) VisitGetAppSessionResponse ¶
func (response GetAppSession200JSONResponse) VisitGetAppSessionResponse(w http.ResponseWriter) error
type GetAppSession307JSONResponse ¶
type GetAppSession307JSONResponse struct{ externalRef0.N307JSONResponse }
func (GetAppSession307JSONResponse) VisitGetAppSessionResponse ¶
func (response GetAppSession307JSONResponse) VisitGetAppSessionResponse(w http.ResponseWriter) error
type GetAppSession308JSONResponse ¶
type GetAppSession308JSONResponse struct{ externalRef0.N308JSONResponse }
func (GetAppSession308JSONResponse) VisitGetAppSessionResponse ¶
func (response GetAppSession308JSONResponse) VisitGetAppSessionResponse(w http.ResponseWriter) error
type GetAppSession400ApplicationProblemPlusJSONResponse ¶
type GetAppSession400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (GetAppSession400ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse ¶
func (response GetAppSession400ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse(w http.ResponseWriter) error
type GetAppSession401ApplicationProblemPlusJSONResponse ¶
type GetAppSession401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (GetAppSession401ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse ¶
func (response GetAppSession401ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse(w http.ResponseWriter) error
type GetAppSession403ApplicationProblemPlusJSONResponse ¶
type GetAppSession403ApplicationProblemPlusJSONResponse struct {
externalRef0.N403ApplicationProblemPlusJSONResponse
}
func (GetAppSession403ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse ¶
func (response GetAppSession403ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse(w http.ResponseWriter) error
type GetAppSession404ApplicationProblemPlusJSONResponse ¶
type GetAppSession404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (GetAppSession404ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse ¶
func (response GetAppSession404ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse(w http.ResponseWriter) error
type GetAppSession406Response ¶
type GetAppSession406Response externalRef0.N406Response
func (GetAppSession406Response) VisitGetAppSessionResponse ¶
func (response GetAppSession406Response) VisitGetAppSessionResponse(w http.ResponseWriter) error
type GetAppSession429ApplicationProblemPlusJSONResponse ¶
type GetAppSession429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (GetAppSession429ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse ¶
func (response GetAppSession429ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse(w http.ResponseWriter) error
type GetAppSession500ApplicationProblemPlusJSONResponse ¶
type GetAppSession500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (GetAppSession500ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse ¶
func (response GetAppSession500ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse(w http.ResponseWriter) error
type GetAppSession503ApplicationProblemPlusJSONResponse ¶
type GetAppSession503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (GetAppSession503ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse ¶
func (response GetAppSession503ApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse(w http.ResponseWriter) error
type GetAppSessionRequestObject ¶
type GetAppSessionRequestObject struct {
AppSessionId string `json:"appSessionId"`
}
type GetAppSessionResponse ¶
type GetAppSessionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *externalRef0.AppSessionContext
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 ParseGetAppSessionResponse ¶
func ParseGetAppSessionResponse(rsp *http.Response) (*GetAppSessionResponse, error)
ParseGetAppSessionResponse parses an HTTP response from a GetAppSessionWithResponse call
func (GetAppSessionResponse) Status ¶
func (r GetAppSessionResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppSessionResponse) StatusCode ¶
func (r GetAppSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppSessionResponseObject ¶
type GetAppSessionResponseObject interface {
VisitGetAppSessionResponse(w http.ResponseWriter) error
}
type GetAppSessiondefaultApplicationProblemPlusJSONResponse ¶
type GetAppSessiondefaultApplicationProblemPlusJSONResponse struct {
Body externalRef0.ProblemDetails
StatusCode int
}
func (GetAppSessiondefaultApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse ¶
func (response GetAppSessiondefaultApplicationProblemPlusJSONResponse) VisitGetAppSessionResponse(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 ModAppSession200JSONResponse ¶
type ModAppSession200JSONResponse externalRef0.AppSessionContext
func (ModAppSession200JSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession200JSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession204Response ¶
type ModAppSession204Response struct {
}
func (ModAppSession204Response) VisitModAppSessionResponse ¶
func (response ModAppSession204Response) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession307JSONResponse ¶
type ModAppSession307JSONResponse struct{ externalRef0.N307JSONResponse }
func (ModAppSession307JSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession307JSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession308JSONResponse ¶
type ModAppSession308JSONResponse struct{ externalRef0.N308JSONResponse }
func (ModAppSession308JSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession308JSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession400ApplicationProblemPlusJSONResponse ¶
type ModAppSession400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (ModAppSession400ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession400ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession401ApplicationProblemPlusJSONResponse ¶
type ModAppSession401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (ModAppSession401ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession401ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession403ApplicationProblemPlusJSONResponse ¶
type ModAppSession403ApplicationProblemPlusJSONResponse struct {
Body externalRef0.ExtendedProblemDetails
Headers ModAppSession403ResponseHeaders
}
func (ModAppSession403ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession403ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession403ResponseHeaders ¶
type ModAppSession403ResponseHeaders struct {
RetryAfter *struct {
// contains filtered or unexported fields
}
}
type ModAppSession404ApplicationProblemPlusJSONResponse ¶
type ModAppSession404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (ModAppSession404ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession404ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession411ApplicationProblemPlusJSONResponse ¶
type ModAppSession411ApplicationProblemPlusJSONResponse struct {
externalRef0.N411ApplicationProblemPlusJSONResponse
}
func (ModAppSession411ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession411ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession413ApplicationProblemPlusJSONResponse ¶
type ModAppSession413ApplicationProblemPlusJSONResponse struct {
externalRef0.N413ApplicationProblemPlusJSONResponse
}
func (ModAppSession413ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession413ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession415ApplicationProblemPlusJSONResponse ¶
type ModAppSession415ApplicationProblemPlusJSONResponse struct {
externalRef0.N415ApplicationProblemPlusJSONResponse
}
func (ModAppSession415ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession415ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession429ApplicationProblemPlusJSONResponse ¶
type ModAppSession429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (ModAppSession429ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession429ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession500ApplicationProblemPlusJSONResponse ¶
type ModAppSession500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (ModAppSession500ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession500ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSession503ApplicationProblemPlusJSONResponse ¶
type ModAppSession503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (ModAppSession503ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSession503ApplicationProblemPlusJSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type ModAppSessionApplicationMergePatchPlusJSONRequestBody ¶
type ModAppSessionApplicationMergePatchPlusJSONRequestBody = externalRef0.AppSessionContextUpdateDataPatch
ModAppSessionApplicationMergePatchPlusJSONRequestBody defines body for ModAppSession for application/merge-patch+json ContentType.
type ModAppSessionRequestObject ¶
type ModAppSessionRequestObject struct {
AppSessionId string `json:"appSessionId"`
Body *ModAppSessionApplicationMergePatchPlusJSONRequestBody
}
type ModAppSessionResponse ¶
type ModAppSessionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *externalRef0.AppSessionContext
JSON307 *externalRef0.N307
JSON308 *externalRef0.N308
ApplicationproblemJSON400 *externalRef0.N400
ApplicationproblemJSON401 *externalRef0.N401
ApplicationproblemJSON403 *externalRef0.ExtendedProblemDetails
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 ParseModAppSessionResponse ¶
func ParseModAppSessionResponse(rsp *http.Response) (*ModAppSessionResponse, error)
ParseModAppSessionResponse parses an HTTP response from a ModAppSessionWithResponse call
func (ModAppSessionResponse) Status ¶
func (r ModAppSessionResponse) Status() string
Status returns HTTPResponse.Status
func (ModAppSessionResponse) StatusCode ¶
func (r ModAppSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModAppSessionResponseObject ¶
type ModAppSessionResponseObject interface {
VisitModAppSessionResponse(w http.ResponseWriter) error
}
type ModAppSessiondefaultApplicationProblemPlusJSONResponse ¶
type ModAppSessiondefaultApplicationProblemPlusJSONResponse struct {
Body externalRef0.ProblemDetails
StatusCode int
}
func (ModAppSessiondefaultApplicationProblemPlusJSONResponse) VisitModAppSessionResponse ¶
func (response ModAppSessiondefaultApplicationProblemPlusJSONResponse) VisitModAppSessionResponse(w http.ResponseWriter) error
type PcscfRestoration204Response ¶
type PcscfRestoration204Response struct {
}
func (PcscfRestoration204Response) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration204Response) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration307JSONResponse ¶
type PcscfRestoration307JSONResponse struct{ externalRef0.N307JSONResponse }
func (PcscfRestoration307JSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration307JSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration308JSONResponse ¶
type PcscfRestoration308JSONResponse struct{ externalRef0.N308JSONResponse }
func (PcscfRestoration308JSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration308JSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration400ApplicationProblemPlusJSONResponse ¶
type PcscfRestoration400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (PcscfRestoration400ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration400ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration401ApplicationProblemPlusJSONResponse ¶
type PcscfRestoration401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (PcscfRestoration401ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration401ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration403ApplicationProblemPlusJSONResponse ¶
type PcscfRestoration403ApplicationProblemPlusJSONResponse struct {
externalRef0.N403ApplicationProblemPlusJSONResponse
}
func (PcscfRestoration403ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration403ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration404ApplicationProblemPlusJSONResponse ¶
type PcscfRestoration404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (PcscfRestoration404ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration404ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration411ApplicationProblemPlusJSONResponse ¶
type PcscfRestoration411ApplicationProblemPlusJSONResponse struct {
externalRef0.N411ApplicationProblemPlusJSONResponse
}
func (PcscfRestoration411ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration411ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration413ApplicationProblemPlusJSONResponse ¶
type PcscfRestoration413ApplicationProblemPlusJSONResponse struct {
externalRef0.N413ApplicationProblemPlusJSONResponse
}
func (PcscfRestoration413ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration413ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration415ApplicationProblemPlusJSONResponse ¶
type PcscfRestoration415ApplicationProblemPlusJSONResponse struct {
externalRef0.N415ApplicationProblemPlusJSONResponse
}
func (PcscfRestoration415ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration415ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration429ApplicationProblemPlusJSONResponse ¶
type PcscfRestoration429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (PcscfRestoration429ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration429ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration500ApplicationProblemPlusJSONResponse ¶
type PcscfRestoration500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (PcscfRestoration500ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration500ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestoration503ApplicationProblemPlusJSONResponse ¶
type PcscfRestoration503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (PcscfRestoration503ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestoration503ApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PcscfRestorationJSONRequestBody ¶
type PcscfRestorationJSONRequestBody = externalRef0.PcscfRestorationRequestData
PcscfRestorationJSONRequestBody defines body for PcscfRestoration for application/json ContentType.
type PcscfRestorationRequestObject ¶
type PcscfRestorationRequestObject struct {
Body *PcscfRestorationJSONRequestBody
}
type PcscfRestorationResponse ¶
type PcscfRestorationResponse struct {
Body []byte
HTTPResponse *http.Response
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 ParsePcscfRestorationResponse ¶
func ParsePcscfRestorationResponse(rsp *http.Response) (*PcscfRestorationResponse, error)
ParsePcscfRestorationResponse parses an HTTP response from a PcscfRestorationWithResponse call
func (PcscfRestorationResponse) Status ¶
func (r PcscfRestorationResponse) Status() string
Status returns HTTPResponse.Status
func (PcscfRestorationResponse) StatusCode ¶
func (r PcscfRestorationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PcscfRestorationResponseObject ¶
type PcscfRestorationResponseObject interface {
VisitPcscfRestorationResponse(w http.ResponseWriter) error
}
type PcscfRestorationdefaultApplicationProblemPlusJSONResponse ¶
type PcscfRestorationdefaultApplicationProblemPlusJSONResponse struct {
Body externalRef0.ProblemDetails
StatusCode int
}
func (PcscfRestorationdefaultApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse ¶
func (response PcscfRestorationdefaultApplicationProblemPlusJSONResponse) VisitPcscfRestorationResponse(w http.ResponseWriter) error
type PostAppSessions201JSONResponse ¶
type PostAppSessions201JSONResponse struct {
Body externalRef0.AppSessionContext
Headers PostAppSessions201ResponseHeaders
}
func (PostAppSessions201JSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessions201JSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessions201ResponseHeaders ¶
type PostAppSessions201ResponseHeaders struct {
Location string
}
type PostAppSessions303Response ¶
type PostAppSessions303Response struct {
Headers PostAppSessions303ResponseHeaders
}
func (PostAppSessions303Response) VisitPostAppSessionsResponse ¶
func (response PostAppSessions303Response) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessions303ResponseHeaders ¶
type PostAppSessions303ResponseHeaders struct {
Location string
}
type PostAppSessions400ApplicationProblemPlusJSONResponse ¶
type PostAppSessions400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (PostAppSessions400ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessions400ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessions401ApplicationProblemPlusJSONResponse ¶
type PostAppSessions401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (PostAppSessions401ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessions401ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessions403ApplicationProblemPlusJSONResponse ¶
type PostAppSessions403ApplicationProblemPlusJSONResponse struct {
Body externalRef0.ExtendedProblemDetails
Headers PostAppSessions403ResponseHeaders
}
func (PostAppSessions403ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessions403ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessions403ResponseHeaders ¶
type PostAppSessions403ResponseHeaders struct {
RetryAfter *struct {
// contains filtered or unexported fields
}
}
type PostAppSessions404ApplicationProblemPlusJSONResponse ¶
type PostAppSessions404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (PostAppSessions404ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessions404ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessions411ApplicationProblemPlusJSONResponse ¶
type PostAppSessions411ApplicationProblemPlusJSONResponse struct {
externalRef0.N411ApplicationProblemPlusJSONResponse
}
func (PostAppSessions411ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessions411ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessions413ApplicationProblemPlusJSONResponse ¶
type PostAppSessions413ApplicationProblemPlusJSONResponse struct {
externalRef0.N413ApplicationProblemPlusJSONResponse
}
func (PostAppSessions413ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessions413ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessions415ApplicationProblemPlusJSONResponse ¶
type PostAppSessions415ApplicationProblemPlusJSONResponse struct {
externalRef0.N415ApplicationProblemPlusJSONResponse
}
func (PostAppSessions415ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessions415ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessions429ApplicationProblemPlusJSONResponse ¶
type PostAppSessions429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (PostAppSessions429ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessions429ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessions500ApplicationProblemPlusJSONResponse ¶
type PostAppSessions500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (PostAppSessions500ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessions500ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessions503ApplicationProblemPlusJSONResponse ¶
type PostAppSessions503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (PostAppSessions503ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessions503ApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type PostAppSessionsJSONRequestBody ¶
type PostAppSessionsJSONRequestBody = externalRef0.AppSessionContext
PostAppSessionsJSONRequestBody defines body for PostAppSessions for application/json ContentType.
type PostAppSessionsRequestObject ¶
type PostAppSessionsRequestObject struct {
Body *PostAppSessionsJSONRequestBody
}
type PostAppSessionsResponse ¶
type PostAppSessionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *externalRef0.AppSessionContext
ApplicationproblemJSON400 *externalRef0.N400
ApplicationproblemJSON401 *externalRef0.N401
ApplicationproblemJSON403 *externalRef0.ExtendedProblemDetails
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 ParsePostAppSessionsResponse ¶
func ParsePostAppSessionsResponse(rsp *http.Response) (*PostAppSessionsResponse, error)
ParsePostAppSessionsResponse parses an HTTP response from a PostAppSessionsWithResponse call
func (PostAppSessionsResponse) Status ¶
func (r PostAppSessionsResponse) Status() string
Status returns HTTPResponse.Status
func (PostAppSessionsResponse) StatusCode ¶
func (r PostAppSessionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAppSessionsResponseObject ¶
type PostAppSessionsResponseObject interface {
VisitPostAppSessionsResponse(w http.ResponseWriter) error
}
type PostAppSessionsdefaultApplicationProblemPlusJSONResponse ¶
type PostAppSessionsdefaultApplicationProblemPlusJSONResponse struct {
Body externalRef0.ProblemDetails
StatusCode int
}
func (PostAppSessionsdefaultApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse ¶
func (response PostAppSessionsdefaultApplicationProblemPlusJSONResponse) VisitPostAppSessionsResponse(w http.ResponseWriter) error
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ServerInterface ¶
type ServerInterface interface {
// Creates a new Individual Application Session Context resource
// (POST /app-sessions)
PostAppSessions(c *gin.Context)
// Indicates P-CSCF restoration and does not create an Individual Application Session Context
// (POST /app-sessions/pcscf-restoration)
PcscfRestoration(c *gin.Context)
// Reads an existing Individual Application Session Context
// (GET /app-sessions/{appSessionId})
GetAppSession(c *gin.Context, appSessionId string)
// Modifies an existing Individual Application Session Context
// (PATCH /app-sessions/{appSessionId})
ModAppSession(c *gin.Context, appSessionId string)
// Deletes an existing Individual Application Session Context
// (POST /app-sessions/{appSessionId}/delete)
DeleteAppSession(c *gin.Context, appSessionId string)
// deletes the Events Subscription subresource
// (DELETE /app-sessions/{appSessionId}/events-subscription)
DeleteEventsSubsc(c *gin.Context, appSessionId string)
// creates or modifies an Events Subscription subresource
// (PUT /app-sessions/{appSessionId}/events-subscription)
UpdateEventsSubsc(c *gin.Context, appSessionId 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) DeleteAppSession ¶
func (siw *ServerInterfaceWrapper) DeleteAppSession(c *gin.Context)
DeleteAppSession operation middleware
func (*ServerInterfaceWrapper) DeleteEventsSubsc ¶
func (siw *ServerInterfaceWrapper) DeleteEventsSubsc(c *gin.Context)
DeleteEventsSubsc operation middleware
func (*ServerInterfaceWrapper) GetAppSession ¶
func (siw *ServerInterfaceWrapper) GetAppSession(c *gin.Context)
GetAppSession operation middleware
func (*ServerInterfaceWrapper) ModAppSession ¶
func (siw *ServerInterfaceWrapper) ModAppSession(c *gin.Context)
ModAppSession operation middleware
func (*ServerInterfaceWrapper) PcscfRestoration ¶
func (siw *ServerInterfaceWrapper) PcscfRestoration(c *gin.Context)
PcscfRestoration operation middleware
func (*ServerInterfaceWrapper) PostAppSessions ¶
func (siw *ServerInterfaceWrapper) PostAppSessions(c *gin.Context)
PostAppSessions operation middleware
func (*ServerInterfaceWrapper) UpdateEventsSubsc ¶
func (siw *ServerInterfaceWrapper) UpdateEventsSubsc(c *gin.Context)
UpdateEventsSubsc operation middleware
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictgin.StrictGinHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// Creates a new Individual Application Session Context resource
// (POST /app-sessions)
PostAppSessions(ctx context.Context, request PostAppSessionsRequestObject) (PostAppSessionsResponseObject, error)
// Indicates P-CSCF restoration and does not create an Individual Application Session Context
// (POST /app-sessions/pcscf-restoration)
PcscfRestoration(ctx context.Context, request PcscfRestorationRequestObject) (PcscfRestorationResponseObject, error)
// Reads an existing Individual Application Session Context
// (GET /app-sessions/{appSessionId})
GetAppSession(ctx context.Context, request GetAppSessionRequestObject) (GetAppSessionResponseObject, error)
// Modifies an existing Individual Application Session Context
// (PATCH /app-sessions/{appSessionId})
ModAppSession(ctx context.Context, request ModAppSessionRequestObject) (ModAppSessionResponseObject, error)
// Deletes an existing Individual Application Session Context
// (POST /app-sessions/{appSessionId}/delete)
DeleteAppSession(ctx context.Context, request DeleteAppSessionRequestObject) (DeleteAppSessionResponseObject, error)
// deletes the Events Subscription subresource
// (DELETE /app-sessions/{appSessionId}/events-subscription)
DeleteEventsSubsc(ctx context.Context, request DeleteEventsSubscRequestObject) (DeleteEventsSubscResponseObject, error)
// creates or modifies an Events Subscription subresource
// (PUT /app-sessions/{appSessionId}/events-subscription)
UpdateEventsSubsc(ctx context.Context, request UpdateEventsSubscRequestObject) (UpdateEventsSubscResponseObject, error)
}
StrictServerInterface represents all server handlers.
type UpdateEventsSubsc200JSONResponse ¶
type UpdateEventsSubsc200JSONResponse externalRef0.EventsSubscPutData
func (UpdateEventsSubsc200JSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc200JSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc201JSONResponse ¶
type UpdateEventsSubsc201JSONResponse struct {
Body externalRef0.EventsSubscPutData
Headers UpdateEventsSubsc201ResponseHeaders
}
func (UpdateEventsSubsc201JSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc201JSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc201ResponseHeaders ¶
type UpdateEventsSubsc201ResponseHeaders struct {
Location string
}
type UpdateEventsSubsc204Response ¶
type UpdateEventsSubsc204Response struct {
}
func (UpdateEventsSubsc204Response) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc204Response) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc307JSONResponse ¶
type UpdateEventsSubsc307JSONResponse struct{ externalRef0.N307JSONResponse }
func (UpdateEventsSubsc307JSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc307JSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc308JSONResponse ¶
type UpdateEventsSubsc308JSONResponse struct{ externalRef0.N308JSONResponse }
func (UpdateEventsSubsc308JSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc308JSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc400ApplicationProblemPlusJSONResponse ¶
type UpdateEventsSubsc400ApplicationProblemPlusJSONResponse struct {
externalRef0.N400ApplicationProblemPlusJSONResponse
}
func (UpdateEventsSubsc400ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc400ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc401ApplicationProblemPlusJSONResponse ¶
type UpdateEventsSubsc401ApplicationProblemPlusJSONResponse struct {
externalRef0.N401ApplicationProblemPlusJSONResponse
}
func (UpdateEventsSubsc401ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc401ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc403ApplicationProblemPlusJSONResponse ¶
type UpdateEventsSubsc403ApplicationProblemPlusJSONResponse struct {
externalRef0.N403ApplicationProblemPlusJSONResponse
}
func (UpdateEventsSubsc403ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc403ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc404ApplicationProblemPlusJSONResponse ¶
type UpdateEventsSubsc404ApplicationProblemPlusJSONResponse struct {
externalRef0.N404ApplicationProblemPlusJSONResponse
}
func (UpdateEventsSubsc404ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc404ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc411ApplicationProblemPlusJSONResponse ¶
type UpdateEventsSubsc411ApplicationProblemPlusJSONResponse struct {
externalRef0.N411ApplicationProblemPlusJSONResponse
}
func (UpdateEventsSubsc411ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc411ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc413ApplicationProblemPlusJSONResponse ¶
type UpdateEventsSubsc413ApplicationProblemPlusJSONResponse struct {
externalRef0.N413ApplicationProblemPlusJSONResponse
}
func (UpdateEventsSubsc413ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc413ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc415ApplicationProblemPlusJSONResponse ¶
type UpdateEventsSubsc415ApplicationProblemPlusJSONResponse struct {
externalRef0.N415ApplicationProblemPlusJSONResponse
}
func (UpdateEventsSubsc415ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc415ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc429ApplicationProblemPlusJSONResponse ¶
type UpdateEventsSubsc429ApplicationProblemPlusJSONResponse struct {
externalRef0.N429ApplicationProblemPlusJSONResponse
}
func (UpdateEventsSubsc429ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc429ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc500ApplicationProblemPlusJSONResponse ¶
type UpdateEventsSubsc500ApplicationProblemPlusJSONResponse struct {
externalRef0.N500ApplicationProblemPlusJSONResponse
}
func (UpdateEventsSubsc500ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc500ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubsc503ApplicationProblemPlusJSONResponse ¶
type UpdateEventsSubsc503ApplicationProblemPlusJSONResponse struct {
externalRef0.N503ApplicationProblemPlusJSONResponse
}
func (UpdateEventsSubsc503ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubsc503ApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
type UpdateEventsSubscJSONRequestBody ¶
type UpdateEventsSubscJSONRequestBody = externalRef0.EventsSubscReqData
UpdateEventsSubscJSONRequestBody defines body for UpdateEventsSubsc for application/json ContentType.
type UpdateEventsSubscRequestObject ¶
type UpdateEventsSubscRequestObject struct {
AppSessionId string `json:"appSessionId"`
Body *UpdateEventsSubscJSONRequestBody
}
type UpdateEventsSubscResponse ¶
type UpdateEventsSubscResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *externalRef0.EventsSubscPutData
JSON201 *externalRef0.EventsSubscPutData
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 ParseUpdateEventsSubscResponse ¶
func ParseUpdateEventsSubscResponse(rsp *http.Response) (*UpdateEventsSubscResponse, error)
ParseUpdateEventsSubscResponse parses an HTTP response from a UpdateEventsSubscWithResponse call
func (UpdateEventsSubscResponse) Status ¶
func (r UpdateEventsSubscResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEventsSubscResponse) StatusCode ¶
func (r UpdateEventsSubscResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEventsSubscResponseObject ¶
type UpdateEventsSubscResponseObject interface {
VisitUpdateEventsSubscResponse(w http.ResponseWriter) error
}
type UpdateEventsSubscdefaultApplicationProblemPlusJSONResponse ¶
type UpdateEventsSubscdefaultApplicationProblemPlusJSONResponse struct {
Body externalRef0.ProblemDetails
StatusCode int
}
func (UpdateEventsSubscdefaultApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse ¶
func (response UpdateEventsSubscdefaultApplicationProblemPlusJSONResponse) VisitUpdateEventsSubscResponse(w http.ResponseWriter) error