user_session_info_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: 10 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 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

type PostUserSessionInfoBadRequest struct {
	Payload *models.APIResult
}

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

type PostUserSessionInfoConflict

type PostUserSessionInfoConflict struct {
	Payload *models.APIResult
}

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

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

type PostUserSessionInfoForbidden

type PostUserSessionInfoForbidden struct {
	Payload *models.APIResult
}

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

type PostUserSessionInfoInternalServerError

type PostUserSessionInfoInternalServerError struct {
	Payload *models.APIResult
}

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

type PostUserSessionInfoNotFound

type PostUserSessionInfoNotFound struct {
	Payload *models.APIResult
}

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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