Documentation ¶
Index ¶
- type Client
- func (a *Client) GetSessionUsingGET(params *GetSessionUsingGETParams) (*GetSessionUsingGETOK, error)
- func (a *Client) PatchTenantUsingPATCH(params *PatchTenantUsingPATCHParams) (*PatchTenantUsingPATCHOK, *PatchTenantUsingPATCHNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetSessionUsingGETForbidden
- type GetSessionUsingGETNotFound
- type GetSessionUsingGETOK
- type GetSessionUsingGETParams
- func NewGetSessionUsingGETParams() *GetSessionUsingGETParams
- func NewGetSessionUsingGETParamsWithContext(ctx context.Context) *GetSessionUsingGETParams
- func NewGetSessionUsingGETParamsWithHTTPClient(client *http.Client) *GetSessionUsingGETParams
- func NewGetSessionUsingGETParamsWithTimeout(timeout time.Duration) *GetSessionUsingGETParams
- func (o *GetSessionUsingGETParams) SetContext(ctx context.Context)
- func (o *GetSessionUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetSessionUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetSessionUsingGETParams) WithContext(ctx context.Context) *GetSessionUsingGETParams
- func (o *GetSessionUsingGETParams) WithHTTPClient(client *http.Client) *GetSessionUsingGETParams
- func (o *GetSessionUsingGETParams) WithTimeout(timeout time.Duration) *GetSessionUsingGETParams
- func (o *GetSessionUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSessionUsingGETReader
- type GetSessionUsingGETUnauthorized
- type PatchTenantUsingPATCHForbidden
- type PatchTenantUsingPATCHNoContent
- type PatchTenantUsingPATCHOK
- type PatchTenantUsingPATCHParams
- func NewPatchTenantUsingPATCHParams() *PatchTenantUsingPATCHParams
- func NewPatchTenantUsingPATCHParamsWithContext(ctx context.Context) *PatchTenantUsingPATCHParams
- func NewPatchTenantUsingPATCHParamsWithHTTPClient(client *http.Client) *PatchTenantUsingPATCHParams
- func NewPatchTenantUsingPATCHParamsWithTimeout(timeout time.Duration) *PatchTenantUsingPATCHParams
- func (o *PatchTenantUsingPATCHParams) SetContext(ctx context.Context)
- func (o *PatchTenantUsingPATCHParams) SetHTTPClient(client *http.Client)
- func (o *PatchTenantUsingPATCHParams) SetSessionDto(sessionDto *models.SessionDto)
- func (o *PatchTenantUsingPATCHParams) SetTimeout(timeout time.Duration)
- func (o *PatchTenantUsingPATCHParams) WithContext(ctx context.Context) *PatchTenantUsingPATCHParams
- func (o *PatchTenantUsingPATCHParams) WithHTTPClient(client *http.Client) *PatchTenantUsingPATCHParams
- func (o *PatchTenantUsingPATCHParams) WithSessionDto(sessionDto *models.SessionDto) *PatchTenantUsingPATCHParams
- func (o *PatchTenantUsingPATCHParams) WithTimeout(timeout time.Duration) *PatchTenantUsingPATCHParams
- func (o *PatchTenantUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchTenantUsingPATCHReader
- type PatchTenantUsingPATCHUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for session API
func (*Client) GetSessionUsingGET ¶
func (a *Client) GetSessionUsingGET(params *GetSessionUsingGETParams) (*GetSessionUsingGETOK, error)
GetSessionUsingGET gets session
func (*Client) PatchTenantUsingPATCH ¶
func (a *Client) PatchTenantUsingPATCH(params *PatchTenantUsingPATCHParams) (*PatchTenantUsingPATCHOK, *PatchTenantUsingPATCHNoContent, error)
PatchTenantUsingPATCH patches session
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetSessionUsingGET(params *GetSessionUsingGETParams) (*GetSessionUsingGETOK, error) PatchTenantUsingPATCH(params *PatchTenantUsingPATCHParams) (*PatchTenantUsingPATCHOK, *PatchTenantUsingPATCHNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new session API client.
type GetSessionUsingGETForbidden ¶
type GetSessionUsingGETForbidden struct { }
GetSessionUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetSessionUsingGETForbidden ¶
func NewGetSessionUsingGETForbidden() *GetSessionUsingGETForbidden
NewGetSessionUsingGETForbidden creates a GetSessionUsingGETForbidden with default headers values
func (*GetSessionUsingGETForbidden) Error ¶
func (o *GetSessionUsingGETForbidden) Error() string
type GetSessionUsingGETNotFound ¶
type GetSessionUsingGETNotFound struct { }
GetSessionUsingGETNotFound handles this case with default header values.
Not Found
func NewGetSessionUsingGETNotFound ¶
func NewGetSessionUsingGETNotFound() *GetSessionUsingGETNotFound
NewGetSessionUsingGETNotFound creates a GetSessionUsingGETNotFound with default headers values
func (*GetSessionUsingGETNotFound) Error ¶
func (o *GetSessionUsingGETNotFound) Error() string
type GetSessionUsingGETOK ¶
type GetSessionUsingGETOK struct {
Payload *models.SessionDto
}
GetSessionUsingGETOK handles this case with default header values.
OK
func NewGetSessionUsingGETOK ¶
func NewGetSessionUsingGETOK() *GetSessionUsingGETOK
NewGetSessionUsingGETOK creates a GetSessionUsingGETOK with default headers values
func (*GetSessionUsingGETOK) Error ¶
func (o *GetSessionUsingGETOK) Error() string
func (*GetSessionUsingGETOK) GetPayload ¶
func (o *GetSessionUsingGETOK) GetPayload() *models.SessionDto
type GetSessionUsingGETParams ¶
type GetSessionUsingGETParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSessionUsingGETParams contains all the parameters to send to the API endpoint for the get session using g e t operation typically these are written to a http.Request
func NewGetSessionUsingGETParams ¶
func NewGetSessionUsingGETParams() *GetSessionUsingGETParams
NewGetSessionUsingGETParams creates a new GetSessionUsingGETParams object with the default values initialized.
func NewGetSessionUsingGETParamsWithContext ¶
func NewGetSessionUsingGETParamsWithContext(ctx context.Context) *GetSessionUsingGETParams
NewGetSessionUsingGETParamsWithContext creates a new GetSessionUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetSessionUsingGETParamsWithHTTPClient ¶
func NewGetSessionUsingGETParamsWithHTTPClient(client *http.Client) *GetSessionUsingGETParams
NewGetSessionUsingGETParamsWithHTTPClient creates a new GetSessionUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSessionUsingGETParamsWithTimeout ¶
func NewGetSessionUsingGETParamsWithTimeout(timeout time.Duration) *GetSessionUsingGETParams
NewGetSessionUsingGETParamsWithTimeout creates a new GetSessionUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSessionUsingGETParams) SetContext ¶
func (o *GetSessionUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get session using g e t params
func (*GetSessionUsingGETParams) SetHTTPClient ¶
func (o *GetSessionUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get session using g e t params
func (*GetSessionUsingGETParams) SetTimeout ¶
func (o *GetSessionUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get session using g e t params
func (*GetSessionUsingGETParams) WithContext ¶
func (o *GetSessionUsingGETParams) WithContext(ctx context.Context) *GetSessionUsingGETParams
WithContext adds the context to the get session using g e t params
func (*GetSessionUsingGETParams) WithHTTPClient ¶
func (o *GetSessionUsingGETParams) WithHTTPClient(client *http.Client) *GetSessionUsingGETParams
WithHTTPClient adds the HTTPClient to the get session using g e t params
func (*GetSessionUsingGETParams) WithTimeout ¶
func (o *GetSessionUsingGETParams) WithTimeout(timeout time.Duration) *GetSessionUsingGETParams
WithTimeout adds the timeout to the get session using g e t params
func (*GetSessionUsingGETParams) WriteToRequest ¶
func (o *GetSessionUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSessionUsingGETReader ¶
type GetSessionUsingGETReader struct {
// contains filtered or unexported fields
}
GetSessionUsingGETReader is a Reader for the GetSessionUsingGET structure.
func (*GetSessionUsingGETReader) ReadResponse ¶
func (o *GetSessionUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSessionUsingGETUnauthorized ¶
type GetSessionUsingGETUnauthorized struct { }
GetSessionUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetSessionUsingGETUnauthorized ¶
func NewGetSessionUsingGETUnauthorized() *GetSessionUsingGETUnauthorized
NewGetSessionUsingGETUnauthorized creates a GetSessionUsingGETUnauthorized with default headers values
func (*GetSessionUsingGETUnauthorized) Error ¶
func (o *GetSessionUsingGETUnauthorized) Error() string
type PatchTenantUsingPATCHForbidden ¶
type PatchTenantUsingPATCHForbidden struct { }
PatchTenantUsingPATCHForbidden handles this case with default header values.
Forbidden
func NewPatchTenantUsingPATCHForbidden ¶
func NewPatchTenantUsingPATCHForbidden() *PatchTenantUsingPATCHForbidden
NewPatchTenantUsingPATCHForbidden creates a PatchTenantUsingPATCHForbidden with default headers values
func (*PatchTenantUsingPATCHForbidden) Error ¶
func (o *PatchTenantUsingPATCHForbidden) Error() string
type PatchTenantUsingPATCHNoContent ¶
type PatchTenantUsingPATCHNoContent struct { }
PatchTenantUsingPATCHNoContent handles this case with default header values.
No Content
func NewPatchTenantUsingPATCHNoContent ¶
func NewPatchTenantUsingPATCHNoContent() *PatchTenantUsingPATCHNoContent
NewPatchTenantUsingPATCHNoContent creates a PatchTenantUsingPATCHNoContent with default headers values
func (*PatchTenantUsingPATCHNoContent) Error ¶
func (o *PatchTenantUsingPATCHNoContent) Error() string
type PatchTenantUsingPATCHOK ¶
type PatchTenantUsingPATCHOK struct {
Payload *models.SessionDto
}
PatchTenantUsingPATCHOK handles this case with default header values.
OK
func NewPatchTenantUsingPATCHOK ¶
func NewPatchTenantUsingPATCHOK() *PatchTenantUsingPATCHOK
NewPatchTenantUsingPATCHOK creates a PatchTenantUsingPATCHOK with default headers values
func (*PatchTenantUsingPATCHOK) Error ¶
func (o *PatchTenantUsingPATCHOK) Error() string
func (*PatchTenantUsingPATCHOK) GetPayload ¶
func (o *PatchTenantUsingPATCHOK) GetPayload() *models.SessionDto
type PatchTenantUsingPATCHParams ¶
type PatchTenantUsingPATCHParams struct { /*SessionDto sessionDto */ SessionDto *models.SessionDto Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchTenantUsingPATCHParams contains all the parameters to send to the API endpoint for the patch tenant using p a t c h operation typically these are written to a http.Request
func NewPatchTenantUsingPATCHParams ¶
func NewPatchTenantUsingPATCHParams() *PatchTenantUsingPATCHParams
NewPatchTenantUsingPATCHParams creates a new PatchTenantUsingPATCHParams object with the default values initialized.
func NewPatchTenantUsingPATCHParamsWithContext ¶
func NewPatchTenantUsingPATCHParamsWithContext(ctx context.Context) *PatchTenantUsingPATCHParams
NewPatchTenantUsingPATCHParamsWithContext creates a new PatchTenantUsingPATCHParams object with the default values initialized, and the ability to set a context for a request
func NewPatchTenantUsingPATCHParamsWithHTTPClient ¶
func NewPatchTenantUsingPATCHParamsWithHTTPClient(client *http.Client) *PatchTenantUsingPATCHParams
NewPatchTenantUsingPATCHParamsWithHTTPClient creates a new PatchTenantUsingPATCHParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchTenantUsingPATCHParamsWithTimeout ¶
func NewPatchTenantUsingPATCHParamsWithTimeout(timeout time.Duration) *PatchTenantUsingPATCHParams
NewPatchTenantUsingPATCHParamsWithTimeout creates a new PatchTenantUsingPATCHParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchTenantUsingPATCHParams) SetContext ¶
func (o *PatchTenantUsingPATCHParams) SetContext(ctx context.Context)
SetContext adds the context to the patch tenant using p a t c h params
func (*PatchTenantUsingPATCHParams) SetHTTPClient ¶
func (o *PatchTenantUsingPATCHParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch tenant using p a t c h params
func (*PatchTenantUsingPATCHParams) SetSessionDto ¶
func (o *PatchTenantUsingPATCHParams) SetSessionDto(sessionDto *models.SessionDto)
SetSessionDto adds the sessionDto to the patch tenant using p a t c h params
func (*PatchTenantUsingPATCHParams) SetTimeout ¶
func (o *PatchTenantUsingPATCHParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch tenant using p a t c h params
func (*PatchTenantUsingPATCHParams) WithContext ¶
func (o *PatchTenantUsingPATCHParams) WithContext(ctx context.Context) *PatchTenantUsingPATCHParams
WithContext adds the context to the patch tenant using p a t c h params
func (*PatchTenantUsingPATCHParams) WithHTTPClient ¶
func (o *PatchTenantUsingPATCHParams) WithHTTPClient(client *http.Client) *PatchTenantUsingPATCHParams
WithHTTPClient adds the HTTPClient to the patch tenant using p a t c h params
func (*PatchTenantUsingPATCHParams) WithSessionDto ¶
func (o *PatchTenantUsingPATCHParams) WithSessionDto(sessionDto *models.SessionDto) *PatchTenantUsingPATCHParams
WithSessionDto adds the sessionDto to the patch tenant using p a t c h params
func (*PatchTenantUsingPATCHParams) WithTimeout ¶
func (o *PatchTenantUsingPATCHParams) WithTimeout(timeout time.Duration) *PatchTenantUsingPATCHParams
WithTimeout adds the timeout to the patch tenant using p a t c h params
func (*PatchTenantUsingPATCHParams) WriteToRequest ¶
func (o *PatchTenantUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchTenantUsingPATCHReader ¶
type PatchTenantUsingPATCHReader struct {
// contains filtered or unexported fields
}
PatchTenantUsingPATCHReader is a Reader for the PatchTenantUsingPATCH structure.
func (*PatchTenantUsingPATCHReader) ReadResponse ¶
func (o *PatchTenantUsingPATCHReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchTenantUsingPATCHUnauthorized ¶
type PatchTenantUsingPATCHUnauthorized struct { }
PatchTenantUsingPATCHUnauthorized handles this case with default header values.
Unauthorized
func NewPatchTenantUsingPATCHUnauthorized ¶
func NewPatchTenantUsingPATCHUnauthorized() *PatchTenantUsingPATCHUnauthorized
NewPatchTenantUsingPATCHUnauthorized creates a PatchTenantUsingPATCHUnauthorized with default headers values
func (*PatchTenantUsingPATCHUnauthorized) Error ¶
func (o *PatchTenantUsingPATCHUnauthorized) Error() string