Documentation ¶
Index ¶
- type Client
- type ClientService
- type PostUserSessionInfoBadRequest
- type PostUserSessionInfoConflict
- type PostUserSessionInfoForbidden
- type PostUserSessionInfoInternalServerError
- type PostUserSessionInfoNotFound
- type PostUserSessionInfoOK
- type PostUserSessionInfoParams
- func NewPostUserSessionInfoParams() *PostUserSessionInfoParams
- func NewPostUserSessionInfoParamsWithContext(ctx context.Context) *PostUserSessionInfoParams
- func NewPostUserSessionInfoParamsWithHTTPClient(client *http.Client) *PostUserSessionInfoParams
- func NewPostUserSessionInfoParamsWithTimeout(timeout time.Duration) *PostUserSessionInfoParams
- func (o *PostUserSessionInfoParams) SetContext(ctx context.Context)
- func (o *PostUserSessionInfoParams) SetHTTPClient(client *http.Client)
- func (o *PostUserSessionInfoParams) SetTimeout(timeout time.Duration)
- func (o *PostUserSessionInfoParams) SetUsername(username string)
- func (o *PostUserSessionInfoParams) WithContext(ctx context.Context) *PostUserSessionInfoParams
- func (o *PostUserSessionInfoParams) WithHTTPClient(client *http.Client) *PostUserSessionInfoParams
- func (o *PostUserSessionInfoParams) WithTimeout(timeout time.Duration) *PostUserSessionInfoParams
- func (o *PostUserSessionInfoParams) WithUsername(username string) *PostUserSessionInfoParams
- func (o *PostUserSessionInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostUserSessionInfoReader
- type PostUserSessionInfoUnauthorized
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 user session info controller API
func (*Client) PostUserSessionInfo ¶
func (a *Client) PostUserSessionInfo(params *PostUserSessionInfoParams, authInfo runtime.ClientAuthInfoWriter) (*PostUserSessionInfoOK, error)
PostUserSessionInfo retrieves the current user s session info the username parameter is not yet supported
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { PostUserSessionInfo(params *PostUserSessionInfoParams, authInfo runtime.ClientAuthInfoWriter) (*PostUserSessionInfoOK, 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 user session info controller API client.
type PostUserSessionInfoBadRequest ¶
PostUserSessionInfoBadRequest handles this case with default header values.
Bad Request
func NewPostUserSessionInfoBadRequest ¶
func NewPostUserSessionInfoBadRequest() *PostUserSessionInfoBadRequest
NewPostUserSessionInfoBadRequest creates a PostUserSessionInfoBadRequest with default headers values
func (*PostUserSessionInfoBadRequest) Error ¶
func (o *PostUserSessionInfoBadRequest) Error() string
func (*PostUserSessionInfoBadRequest) GetPayload ¶
func (o *PostUserSessionInfoBadRequest) GetPayload() *models.APIResult
type PostUserSessionInfoConflict ¶
PostUserSessionInfoConflict handles this case with default header values.
Conflict
func NewPostUserSessionInfoConflict ¶
func NewPostUserSessionInfoConflict() *PostUserSessionInfoConflict
NewPostUserSessionInfoConflict creates a PostUserSessionInfoConflict with default headers values
func (*PostUserSessionInfoConflict) Error ¶
func (o *PostUserSessionInfoConflict) Error() string
func (*PostUserSessionInfoConflict) GetPayload ¶
func (o *PostUserSessionInfoConflict) GetPayload() *models.APIResult
type PostUserSessionInfoForbidden ¶
PostUserSessionInfoForbidden handles this case with default header values.
Forbidden
func NewPostUserSessionInfoForbidden ¶
func NewPostUserSessionInfoForbidden() *PostUserSessionInfoForbidden
NewPostUserSessionInfoForbidden creates a PostUserSessionInfoForbidden with default headers values
func (*PostUserSessionInfoForbidden) Error ¶
func (o *PostUserSessionInfoForbidden) Error() string
func (*PostUserSessionInfoForbidden) GetPayload ¶
func (o *PostUserSessionInfoForbidden) GetPayload() *models.APIResult
type PostUserSessionInfoInternalServerError ¶
PostUserSessionInfoInternalServerError handles this case with default header values.
Internal Server Error
func NewPostUserSessionInfoInternalServerError ¶
func NewPostUserSessionInfoInternalServerError() *PostUserSessionInfoInternalServerError
NewPostUserSessionInfoInternalServerError creates a PostUserSessionInfoInternalServerError with default headers values
func (*PostUserSessionInfoInternalServerError) Error ¶
func (o *PostUserSessionInfoInternalServerError) Error() string
func (*PostUserSessionInfoInternalServerError) GetPayload ¶
func (o *PostUserSessionInfoInternalServerError) GetPayload() *models.APIResult
type PostUserSessionInfoNotFound ¶
PostUserSessionInfoNotFound handles this case with default header values.
Not Found
func NewPostUserSessionInfoNotFound ¶
func NewPostUserSessionInfoNotFound() *PostUserSessionInfoNotFound
NewPostUserSessionInfoNotFound creates a PostUserSessionInfoNotFound with default headers values
func (*PostUserSessionInfoNotFound) Error ¶
func (o *PostUserSessionInfoNotFound) Error() string
func (*PostUserSessionInfoNotFound) GetPayload ¶
func (o *PostUserSessionInfoNotFound) GetPayload() *models.APIResult
type PostUserSessionInfoOK ¶
type PostUserSessionInfoOK struct {
Payload *models.APIResultUserSessionInformation
}
PostUserSessionInfoOK handles this case with default header values.
OK
func NewPostUserSessionInfoOK ¶
func NewPostUserSessionInfoOK() *PostUserSessionInfoOK
NewPostUserSessionInfoOK creates a PostUserSessionInfoOK with default headers values
func (*PostUserSessionInfoOK) Error ¶
func (o *PostUserSessionInfoOK) Error() string
func (*PostUserSessionInfoOK) GetPayload ¶
func (o *PostUserSessionInfoOK) GetPayload() *models.APIResultUserSessionInformation
type PostUserSessionInfoParams ¶
type PostUserSessionInfoParams struct { /*Username username */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostUserSessionInfoParams contains all the parameters to send to the API endpoint for the post user session info operation typically these are written to a http.Request
func NewPostUserSessionInfoParams ¶
func NewPostUserSessionInfoParams() *PostUserSessionInfoParams
NewPostUserSessionInfoParams creates a new PostUserSessionInfoParams object with the default values initialized.
func NewPostUserSessionInfoParamsWithContext ¶
func NewPostUserSessionInfoParamsWithContext(ctx context.Context) *PostUserSessionInfoParams
NewPostUserSessionInfoParamsWithContext creates a new PostUserSessionInfoParams object with the default values initialized, and the ability to set a context for a request
func NewPostUserSessionInfoParamsWithHTTPClient ¶
func NewPostUserSessionInfoParamsWithHTTPClient(client *http.Client) *PostUserSessionInfoParams
NewPostUserSessionInfoParamsWithHTTPClient creates a new PostUserSessionInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostUserSessionInfoParamsWithTimeout ¶
func NewPostUserSessionInfoParamsWithTimeout(timeout time.Duration) *PostUserSessionInfoParams
NewPostUserSessionInfoParamsWithTimeout creates a new PostUserSessionInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostUserSessionInfoParams) SetContext ¶
func (o *PostUserSessionInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the post user session info params
func (*PostUserSessionInfoParams) SetHTTPClient ¶
func (o *PostUserSessionInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post user session info params
func (*PostUserSessionInfoParams) SetTimeout ¶
func (o *PostUserSessionInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post user session info params
func (*PostUserSessionInfoParams) SetUsername ¶
func (o *PostUserSessionInfoParams) SetUsername(username string)
SetUsername adds the username to the post user session info params
func (*PostUserSessionInfoParams) WithContext ¶
func (o *PostUserSessionInfoParams) WithContext(ctx context.Context) *PostUserSessionInfoParams
WithContext adds the context to the post user session info params
func (*PostUserSessionInfoParams) WithHTTPClient ¶
func (o *PostUserSessionInfoParams) WithHTTPClient(client *http.Client) *PostUserSessionInfoParams
WithHTTPClient adds the HTTPClient to the post user session info params
func (*PostUserSessionInfoParams) WithTimeout ¶
func (o *PostUserSessionInfoParams) WithTimeout(timeout time.Duration) *PostUserSessionInfoParams
WithTimeout adds the timeout to the post user session info params
func (*PostUserSessionInfoParams) WithUsername ¶
func (o *PostUserSessionInfoParams) WithUsername(username string) *PostUserSessionInfoParams
WithUsername adds the username to the post user session info params
func (*PostUserSessionInfoParams) WriteToRequest ¶
func (o *PostUserSessionInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostUserSessionInfoReader ¶
type PostUserSessionInfoReader struct {
// contains filtered or unexported fields
}
PostUserSessionInfoReader is a Reader for the PostUserSessionInfo structure.
func (*PostUserSessionInfoReader) ReadResponse ¶
func (o *PostUserSessionInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostUserSessionInfoUnauthorized ¶
type PostUserSessionInfoUnauthorized struct {
}PostUserSessionInfoUnauthorized handles this case with default header values.
Unauthorized
func NewPostUserSessionInfoUnauthorized ¶
func NewPostUserSessionInfoUnauthorized() *PostUserSessionInfoUnauthorized
NewPostUserSessionInfoUnauthorized creates a PostUserSessionInfoUnauthorized with default headers values
func (*PostUserSessionInfoUnauthorized) Error ¶
func (o *PostUserSessionInfoUnauthorized) Error() string
func (*PostUserSessionInfoUnauthorized) GetPayload ¶
func (o *PostUserSessionInfoUnauthorized) GetPayload() *models.APIResult