session

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: GPL-3.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 session API

func (*Client) GetSessionUsingGET

func (a *Client) GetSessionUsingGET(params *GetSessionUsingGETParams) (*GetSessionUsingGETOK, error)

GetSessionUsingGET gets session

func (*Client) PatchTenantUsingPATCH

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

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

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

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

WithTimeout adds the timeout to the get session using g e t params

func (*GetSessionUsingGETParams) WriteToRequest

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

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

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

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

WithContext adds the context to the patch tenant using p a t c h params

func (*PatchTenantUsingPATCHParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch tenant using p a t c h params

func (*PatchTenantUsingPATCHParams) WithSessionDto

WithSessionDto adds the sessionDto to the patch tenant using p a t c h params

func (*PatchTenantUsingPATCHParams) WithTimeout

WithTimeout adds the timeout to the patch tenant using p a t c h params

func (*PatchTenantUsingPATCHParams) WriteToRequest

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

Jump to

Keyboard shortcuts

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