user_session_state_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

type ListUserSessionStateBadRequest struct {
	Payload *models.APIResult
}

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 (*ListUserSessionStateBadRequest) GetPayload

type ListUserSessionStateConflict

type ListUserSessionStateConflict struct {
	Payload *models.APIResult
}

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 (*ListUserSessionStateConflict) GetPayload

type ListUserSessionStateForbidden

type ListUserSessionStateForbidden struct {
	Payload *models.APIResult
}

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 (*ListUserSessionStateForbidden) GetPayload

type ListUserSessionStateInternalServerError

type ListUserSessionStateInternalServerError struct {
	Payload *models.APIResult
}

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 (*ListUserSessionStateInternalServerError) GetPayload

type ListUserSessionStateNotFound

type ListUserSessionStateNotFound struct {
	Payload *models.APIResult
}

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 (*ListUserSessionStateNotFound) GetPayload

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

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

WithContext adds the context to the list user session state params

func (*ListUserSessionStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list user session state params

func (*ListUserSessionStateParams) WithLimit

WithLimit adds the limit to the list user session state params

func (*ListUserSessionStateParams) WithQ

WithQ adds the q to the list user session state params

func (*ListUserSessionStateParams) WithStart

WithStart adds the start to the list user session state params

func (*ListUserSessionStateParams) WithTimeout

WithTimeout adds the timeout to the list user session state params

func (*ListUserSessionStateParams) WriteToRequest

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 {
	Payload *models.APIResult
}

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 (*ListUserSessionStateUnauthorized) GetPayload

type PutUserSessionStateBadRequest

type PutUserSessionStateBadRequest struct {
	Payload *models.APIResult
}

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 (*PutUserSessionStateBadRequest) GetPayload

type PutUserSessionStateConflict

type PutUserSessionStateConflict struct {
	Payload *models.APIResult
}

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 (*PutUserSessionStateConflict) GetPayload

func (o *PutUserSessionStateConflict) GetPayload() *models.APIResult

type PutUserSessionStateForbidden

type PutUserSessionStateForbidden struct {
	Payload *models.APIResult
}

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 (*PutUserSessionStateForbidden) GetPayload

type PutUserSessionStateInternalServerError

type PutUserSessionStateInternalServerError struct {
	Payload *models.APIResult
}

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 (*PutUserSessionStateInternalServerError) GetPayload

type PutUserSessionStateNotFound

type PutUserSessionStateNotFound struct {
	Payload *models.APIResult
}

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 (*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

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

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

WithResources adds the resources to the put user session state params

func (*PutUserSessionStateParams) WithTimeout

WithTimeout adds the timeout to the put user session state params

func (*PutUserSessionStateParams) WriteToRequest

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 {
	Payload *models.APIResult
}

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 (*PutUserSessionStateUnauthorized) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL