Documentation ¶
Index ¶
- type Client
- func (a *Client) ListUserSessionState(params *ListUserSessionStateParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserSessionStateOK, error)
- func (a *Client) PutUserSessionState(params *PutUserSessionStateParams, authInfo runtime.ClientAuthInfoWriter) (*PutUserSessionStateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ListUserSessionStateBadRequest
- type ListUserSessionStateConflict
- type ListUserSessionStateForbidden
- type ListUserSessionStateInternalServerError
- type ListUserSessionStateNotFound
- type ListUserSessionStateOK
- type ListUserSessionStateParams
- func NewListUserSessionStateParams() *ListUserSessionStateParams
- func NewListUserSessionStateParamsWithContext(ctx context.Context) *ListUserSessionStateParams
- func NewListUserSessionStateParamsWithHTTPClient(client *http.Client) *ListUserSessionStateParams
- func NewListUserSessionStateParamsWithTimeout(timeout time.Duration) *ListUserSessionStateParams
- func (o *ListUserSessionStateParams) SetContext(ctx context.Context)
- func (o *ListUserSessionStateParams) SetHTTPClient(client *http.Client)
- func (o *ListUserSessionStateParams) SetLimit(limit *int32)
- func (o *ListUserSessionStateParams) SetQ(q *string)
- func (o *ListUserSessionStateParams) SetStart(start *int32)
- func (o *ListUserSessionStateParams) SetTimeout(timeout time.Duration)
- func (o *ListUserSessionStateParams) WithContext(ctx context.Context) *ListUserSessionStateParams
- func (o *ListUserSessionStateParams) WithHTTPClient(client *http.Client) *ListUserSessionStateParams
- func (o *ListUserSessionStateParams) WithLimit(limit *int32) *ListUserSessionStateParams
- func (o *ListUserSessionStateParams) WithQ(q *string) *ListUserSessionStateParams
- func (o *ListUserSessionStateParams) WithStart(start *int32) *ListUserSessionStateParams
- func (o *ListUserSessionStateParams) WithTimeout(timeout time.Duration) *ListUserSessionStateParams
- func (o *ListUserSessionStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserSessionStateReader
- type ListUserSessionStateUnauthorized
- type PutUserSessionStateBadRequest
- type PutUserSessionStateConflict
- type PutUserSessionStateForbidden
- type PutUserSessionStateInternalServerError
- type PutUserSessionStateNotFound
- type PutUserSessionStateOK
- type PutUserSessionStateParams
- func NewPutUserSessionStateParams() *PutUserSessionStateParams
- func NewPutUserSessionStateParamsWithContext(ctx context.Context) *PutUserSessionStateParams
- func NewPutUserSessionStateParamsWithHTTPClient(client *http.Client) *PutUserSessionStateParams
- func NewPutUserSessionStateParamsWithTimeout(timeout time.Duration) *PutUserSessionStateParams
- func (o *PutUserSessionStateParams) SetContext(ctx context.Context)
- func (o *PutUserSessionStateParams) SetHTTPClient(client *http.Client)
- func (o *PutUserSessionStateParams) SetResources(resources []*models.UserSessionState)
- func (o *PutUserSessionStateParams) SetTimeout(timeout time.Duration)
- func (o *PutUserSessionStateParams) WithContext(ctx context.Context) *PutUserSessionStateParams
- func (o *PutUserSessionStateParams) WithHTTPClient(client *http.Client) *PutUserSessionStateParams
- func (o *PutUserSessionStateParams) WithResources(resources []*models.UserSessionState) *PutUserSessionStateParams
- func (o *PutUserSessionStateParams) WithTimeout(timeout time.Duration) *PutUserSessionStateParams
- func (o *PutUserSessionStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutUserSessionStateReader
- type PutUserSessionStateUnauthorized
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 state controller API
func (*Client) ListUserSessionState ¶
func (a *Client) ListUserSessionState(params *ListUserSessionStateParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserSessionStateOK, error)
ListUserSessionState lists
func (*Client) PutUserSessionState ¶
func (a *Client) PutUserSessionState(params *PutUserSessionStateParams, authInfo runtime.ClientAuthInfoWriter) (*PutUserSessionStateOK, error)
PutUserSessionState puts
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListUserSessionState(params *ListUserSessionStateParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserSessionStateOK, error) PutUserSessionState(params *PutUserSessionStateParams, authInfo runtime.ClientAuthInfoWriter) (*PutUserSessionStateOK, 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 state controller API client.
type ListUserSessionStateBadRequest ¶
ListUserSessionStateBadRequest handles this case with default header values.
Bad Request
func NewListUserSessionStateBadRequest ¶
func NewListUserSessionStateBadRequest() *ListUserSessionStateBadRequest
NewListUserSessionStateBadRequest creates a ListUserSessionStateBadRequest with default headers values
func (*ListUserSessionStateBadRequest) Error ¶
func (o *ListUserSessionStateBadRequest) Error() string
func (*ListUserSessionStateBadRequest) GetPayload ¶
func (o *ListUserSessionStateBadRequest) GetPayload() *models.APIResult
type ListUserSessionStateConflict ¶
ListUserSessionStateConflict handles this case with default header values.
Conflict
func NewListUserSessionStateConflict ¶
func NewListUserSessionStateConflict() *ListUserSessionStateConflict
NewListUserSessionStateConflict creates a ListUserSessionStateConflict with default headers values
func (*ListUserSessionStateConflict) Error ¶
func (o *ListUserSessionStateConflict) Error() string
func (*ListUserSessionStateConflict) GetPayload ¶
func (o *ListUserSessionStateConflict) GetPayload() *models.APIResult
type ListUserSessionStateForbidden ¶
ListUserSessionStateForbidden handles this case with default header values.
Forbidden
func NewListUserSessionStateForbidden ¶
func NewListUserSessionStateForbidden() *ListUserSessionStateForbidden
NewListUserSessionStateForbidden creates a ListUserSessionStateForbidden with default headers values
func (*ListUserSessionStateForbidden) Error ¶
func (o *ListUserSessionStateForbidden) Error() string
func (*ListUserSessionStateForbidden) GetPayload ¶
func (o *ListUserSessionStateForbidden) GetPayload() *models.APIResult
type ListUserSessionStateInternalServerError ¶
ListUserSessionStateInternalServerError handles this case with default header values.
Internal Server Error
func NewListUserSessionStateInternalServerError ¶
func NewListUserSessionStateInternalServerError() *ListUserSessionStateInternalServerError
NewListUserSessionStateInternalServerError creates a ListUserSessionStateInternalServerError with default headers values
func (*ListUserSessionStateInternalServerError) Error ¶
func (o *ListUserSessionStateInternalServerError) Error() string
func (*ListUserSessionStateInternalServerError) GetPayload ¶
func (o *ListUserSessionStateInternalServerError) GetPayload() *models.APIResult
type ListUserSessionStateNotFound ¶
ListUserSessionStateNotFound handles this case with default header values.
Not Found
func NewListUserSessionStateNotFound ¶
func NewListUserSessionStateNotFound() *ListUserSessionStateNotFound
NewListUserSessionStateNotFound creates a ListUserSessionStateNotFound with default headers values
func (*ListUserSessionStateNotFound) Error ¶
func (o *ListUserSessionStateNotFound) Error() string
func (*ListUserSessionStateNotFound) GetPayload ¶
func (o *ListUserSessionStateNotFound) GetPayload() *models.APIResult
type ListUserSessionStateOK ¶
type ListUserSessionStateOK struct {
Payload *models.APIResultListUserSessionState
}
ListUserSessionStateOK handles this case with default header values.
OK
func NewListUserSessionStateOK ¶
func NewListUserSessionStateOK() *ListUserSessionStateOK
NewListUserSessionStateOK creates a ListUserSessionStateOK with default headers values
func (*ListUserSessionStateOK) Error ¶
func (o *ListUserSessionStateOK) Error() string
func (*ListUserSessionStateOK) GetPayload ¶
func (o *ListUserSessionStateOK) GetPayload() *models.APIResultListUserSessionState
type ListUserSessionStateParams ¶
type ListUserSessionStateParams struct { /*Limit A maximum number of returned objects in listing, if '-1' or '0' no limit is applied */ Limit *int32 /*Q A search query */ Q *string /*Start A start offset in object listing */ Start *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserSessionStateParams contains all the parameters to send to the API endpoint for the list user session state operation typically these are written to a http.Request
func NewListUserSessionStateParams ¶
func NewListUserSessionStateParams() *ListUserSessionStateParams
NewListUserSessionStateParams creates a new ListUserSessionStateParams object with the default values initialized.
func NewListUserSessionStateParamsWithContext ¶
func NewListUserSessionStateParamsWithContext(ctx context.Context) *ListUserSessionStateParams
NewListUserSessionStateParamsWithContext creates a new ListUserSessionStateParams object with the default values initialized, and the ability to set a context for a request
func NewListUserSessionStateParamsWithHTTPClient ¶
func NewListUserSessionStateParamsWithHTTPClient(client *http.Client) *ListUserSessionStateParams
NewListUserSessionStateParamsWithHTTPClient creates a new ListUserSessionStateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListUserSessionStateParamsWithTimeout ¶
func NewListUserSessionStateParamsWithTimeout(timeout time.Duration) *ListUserSessionStateParams
NewListUserSessionStateParamsWithTimeout creates a new ListUserSessionStateParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListUserSessionStateParams) SetContext ¶
func (o *ListUserSessionStateParams) SetContext(ctx context.Context)
SetContext adds the context to the list user session state params
func (*ListUserSessionStateParams) SetHTTPClient ¶
func (o *ListUserSessionStateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user session state params
func (*ListUserSessionStateParams) SetLimit ¶
func (o *ListUserSessionStateParams) SetLimit(limit *int32)
SetLimit adds the limit to the list user session state params
func (*ListUserSessionStateParams) SetQ ¶
func (o *ListUserSessionStateParams) SetQ(q *string)
SetQ adds the q to the list user session state params
func (*ListUserSessionStateParams) SetStart ¶
func (o *ListUserSessionStateParams) SetStart(start *int32)
SetStart adds the start to the list user session state params
func (*ListUserSessionStateParams) SetTimeout ¶
func (o *ListUserSessionStateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user session state params
func (*ListUserSessionStateParams) WithContext ¶
func (o *ListUserSessionStateParams) WithContext(ctx context.Context) *ListUserSessionStateParams
WithContext adds the context to the list user session state params
func (*ListUserSessionStateParams) WithHTTPClient ¶
func (o *ListUserSessionStateParams) WithHTTPClient(client *http.Client) *ListUserSessionStateParams
WithHTTPClient adds the HTTPClient to the list user session state params
func (*ListUserSessionStateParams) WithLimit ¶
func (o *ListUserSessionStateParams) WithLimit(limit *int32) *ListUserSessionStateParams
WithLimit adds the limit to the list user session state params
func (*ListUserSessionStateParams) WithQ ¶
func (o *ListUserSessionStateParams) WithQ(q *string) *ListUserSessionStateParams
WithQ adds the q to the list user session state params
func (*ListUserSessionStateParams) WithStart ¶
func (o *ListUserSessionStateParams) WithStart(start *int32) *ListUserSessionStateParams
WithStart adds the start to the list user session state params
func (*ListUserSessionStateParams) WithTimeout ¶
func (o *ListUserSessionStateParams) WithTimeout(timeout time.Duration) *ListUserSessionStateParams
WithTimeout adds the timeout to the list user session state params
func (*ListUserSessionStateParams) WriteToRequest ¶
func (o *ListUserSessionStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserSessionStateReader ¶
type ListUserSessionStateReader struct {
// contains filtered or unexported fields
}
ListUserSessionStateReader is a Reader for the ListUserSessionState structure.
func (*ListUserSessionStateReader) ReadResponse ¶
func (o *ListUserSessionStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserSessionStateUnauthorized ¶
type ListUserSessionStateUnauthorized struct {
}ListUserSessionStateUnauthorized handles this case with default header values.
Unauthorized
func NewListUserSessionStateUnauthorized ¶
func NewListUserSessionStateUnauthorized() *ListUserSessionStateUnauthorized
NewListUserSessionStateUnauthorized creates a ListUserSessionStateUnauthorized with default headers values
func (*ListUserSessionStateUnauthorized) Error ¶
func (o *ListUserSessionStateUnauthorized) Error() string
func (*ListUserSessionStateUnauthorized) GetPayload ¶
func (o *ListUserSessionStateUnauthorized) GetPayload() *models.APIResult
type PutUserSessionStateBadRequest ¶
PutUserSessionStateBadRequest handles this case with default header values.
Bad Request
func NewPutUserSessionStateBadRequest ¶
func NewPutUserSessionStateBadRequest() *PutUserSessionStateBadRequest
NewPutUserSessionStateBadRequest creates a PutUserSessionStateBadRequest with default headers values
func (*PutUserSessionStateBadRequest) Error ¶
func (o *PutUserSessionStateBadRequest) Error() string
func (*PutUserSessionStateBadRequest) GetPayload ¶
func (o *PutUserSessionStateBadRequest) GetPayload() *models.APIResult
type PutUserSessionStateConflict ¶
PutUserSessionStateConflict handles this case with default header values.
Conflict
func NewPutUserSessionStateConflict ¶
func NewPutUserSessionStateConflict() *PutUserSessionStateConflict
NewPutUserSessionStateConflict creates a PutUserSessionStateConflict with default headers values
func (*PutUserSessionStateConflict) Error ¶
func (o *PutUserSessionStateConflict) Error() string
func (*PutUserSessionStateConflict) GetPayload ¶
func (o *PutUserSessionStateConflict) GetPayload() *models.APIResult
type PutUserSessionStateForbidden ¶
PutUserSessionStateForbidden handles this case with default header values.
Forbidden
func NewPutUserSessionStateForbidden ¶
func NewPutUserSessionStateForbidden() *PutUserSessionStateForbidden
NewPutUserSessionStateForbidden creates a PutUserSessionStateForbidden with default headers values
func (*PutUserSessionStateForbidden) Error ¶
func (o *PutUserSessionStateForbidden) Error() string
func (*PutUserSessionStateForbidden) GetPayload ¶
func (o *PutUserSessionStateForbidden) GetPayload() *models.APIResult
type PutUserSessionStateInternalServerError ¶
PutUserSessionStateInternalServerError handles this case with default header values.
Internal Server Error
func NewPutUserSessionStateInternalServerError ¶
func NewPutUserSessionStateInternalServerError() *PutUserSessionStateInternalServerError
NewPutUserSessionStateInternalServerError creates a PutUserSessionStateInternalServerError with default headers values
func (*PutUserSessionStateInternalServerError) Error ¶
func (o *PutUserSessionStateInternalServerError) Error() string
func (*PutUserSessionStateInternalServerError) GetPayload ¶
func (o *PutUserSessionStateInternalServerError) GetPayload() *models.APIResult
type PutUserSessionStateNotFound ¶
PutUserSessionStateNotFound handles this case with default header values.
Not Found
func NewPutUserSessionStateNotFound ¶
func NewPutUserSessionStateNotFound() *PutUserSessionStateNotFound
NewPutUserSessionStateNotFound creates a PutUserSessionStateNotFound with default headers values
func (*PutUserSessionStateNotFound) Error ¶
func (o *PutUserSessionStateNotFound) Error() string
func (*PutUserSessionStateNotFound) GetPayload ¶
func (o *PutUserSessionStateNotFound) GetPayload() *models.APIResult
type PutUserSessionStateOK ¶
type PutUserSessionStateOK struct {
Payload *models.APIResultListUserSessionState
}
PutUserSessionStateOK handles this case with default header values.
OK
func NewPutUserSessionStateOK ¶
func NewPutUserSessionStateOK() *PutUserSessionStateOK
NewPutUserSessionStateOK creates a PutUserSessionStateOK with default headers values
func (*PutUserSessionStateOK) Error ¶
func (o *PutUserSessionStateOK) Error() string
func (*PutUserSessionStateOK) GetPayload ¶
func (o *PutUserSessionStateOK) GetPayload() *models.APIResultListUserSessionState
type PutUserSessionStateParams ¶
type PutUserSessionStateParams struct { /*Resources resources */ Resources []*models.UserSessionState Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutUserSessionStateParams contains all the parameters to send to the API endpoint for the put user session state operation typically these are written to a http.Request
func NewPutUserSessionStateParams ¶
func NewPutUserSessionStateParams() *PutUserSessionStateParams
NewPutUserSessionStateParams creates a new PutUserSessionStateParams object with the default values initialized.
func NewPutUserSessionStateParamsWithContext ¶
func NewPutUserSessionStateParamsWithContext(ctx context.Context) *PutUserSessionStateParams
NewPutUserSessionStateParamsWithContext creates a new PutUserSessionStateParams object with the default values initialized, and the ability to set a context for a request
func NewPutUserSessionStateParamsWithHTTPClient ¶
func NewPutUserSessionStateParamsWithHTTPClient(client *http.Client) *PutUserSessionStateParams
NewPutUserSessionStateParamsWithHTTPClient creates a new PutUserSessionStateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutUserSessionStateParamsWithTimeout ¶
func NewPutUserSessionStateParamsWithTimeout(timeout time.Duration) *PutUserSessionStateParams
NewPutUserSessionStateParamsWithTimeout creates a new PutUserSessionStateParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutUserSessionStateParams) SetContext ¶
func (o *PutUserSessionStateParams) SetContext(ctx context.Context)
SetContext adds the context to the put user session state params
func (*PutUserSessionStateParams) SetHTTPClient ¶
func (o *PutUserSessionStateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put user session state params
func (*PutUserSessionStateParams) SetResources ¶
func (o *PutUserSessionStateParams) SetResources(resources []*models.UserSessionState)
SetResources adds the resources to the put user session state params
func (*PutUserSessionStateParams) SetTimeout ¶
func (o *PutUserSessionStateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put user session state params
func (*PutUserSessionStateParams) WithContext ¶
func (o *PutUserSessionStateParams) WithContext(ctx context.Context) *PutUserSessionStateParams
WithContext adds the context to the put user session state params
func (*PutUserSessionStateParams) WithHTTPClient ¶
func (o *PutUserSessionStateParams) WithHTTPClient(client *http.Client) *PutUserSessionStateParams
WithHTTPClient adds the HTTPClient to the put user session state params
func (*PutUserSessionStateParams) WithResources ¶
func (o *PutUserSessionStateParams) WithResources(resources []*models.UserSessionState) *PutUserSessionStateParams
WithResources adds the resources to the put user session state params
func (*PutUserSessionStateParams) WithTimeout ¶
func (o *PutUserSessionStateParams) WithTimeout(timeout time.Duration) *PutUserSessionStateParams
WithTimeout adds the timeout to the put user session state params
func (*PutUserSessionStateParams) WriteToRequest ¶
func (o *PutUserSessionStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutUserSessionStateReader ¶
type PutUserSessionStateReader struct {
// contains filtered or unexported fields
}
PutUserSessionStateReader is a Reader for the PutUserSessionState structure.
func (*PutUserSessionStateReader) ReadResponse ¶
func (o *PutUserSessionStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutUserSessionStateUnauthorized ¶
type PutUserSessionStateUnauthorized struct {
}PutUserSessionStateUnauthorized handles this case with default header values.
Unauthorized
func NewPutUserSessionStateUnauthorized ¶
func NewPutUserSessionStateUnauthorized() *PutUserSessionStateUnauthorized
NewPutUserSessionStateUnauthorized creates a PutUserSessionStateUnauthorized with default headers values
func (*PutUserSessionStateUnauthorized) Error ¶
func (o *PutUserSessionStateUnauthorized) Error() string
func (*PutUserSessionStateUnauthorized) GetPayload ¶
func (o *PutUserSessionStateUnauthorized) GetPayload() *models.APIResult