Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSession(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionCreated, error)
- func (a *Client) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error)
- func (a *Client) DetailSession(params *DetailSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DetailSessionOK, error)
- func (a *Client) DetailSessionRoutePath(params *DetailSessionRoutePathParams, authInfo runtime.ClientAuthInfoWriter) (*DetailSessionRoutePathOK, error)
- func (a *Client) ListSessions(params *ListSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateSessionBadRequest
- type CreateSessionCreated
- type CreateSessionParams
- func (o *CreateSessionParams) SetContext(ctx context.Context)
- func (o *CreateSessionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSessionParams) SetSession(session *rest_model.SessionCreate)
- func (o *CreateSessionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSessionParams) WithContext(ctx context.Context) *CreateSessionParams
- func (o *CreateSessionParams) WithHTTPClient(client *http.Client) *CreateSessionParams
- func (o *CreateSessionParams) WithSession(session *rest_model.SessionCreate) *CreateSessionParams
- func (o *CreateSessionParams) WithTimeout(timeout time.Duration) *CreateSessionParams
- func (o *CreateSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSessionReader
- type CreateSessionUnauthorized
- type DeleteSessionBadRequest
- type DeleteSessionConflict
- type DeleteSessionOK
- type DeleteSessionParams
- func (o *DeleteSessionParams) SetContext(ctx context.Context)
- func (o *DeleteSessionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSessionParams) SetID(id string)
- func (o *DeleteSessionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSessionParams) WithContext(ctx context.Context) *DeleteSessionParams
- func (o *DeleteSessionParams) WithHTTPClient(client *http.Client) *DeleteSessionParams
- func (o *DeleteSessionParams) WithID(id string) *DeleteSessionParams
- func (o *DeleteSessionParams) WithTimeout(timeout time.Duration) *DeleteSessionParams
- func (o *DeleteSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSessionReader
- type DeleteSessionUnauthorized
- type DetailSessionNotFound
- type DetailSessionOK
- type DetailSessionParams
- func (o *DetailSessionParams) SetContext(ctx context.Context)
- func (o *DetailSessionParams) SetHTTPClient(client *http.Client)
- func (o *DetailSessionParams) SetID(id string)
- func (o *DetailSessionParams) SetTimeout(timeout time.Duration)
- func (o *DetailSessionParams) WithContext(ctx context.Context) *DetailSessionParams
- func (o *DetailSessionParams) WithHTTPClient(client *http.Client) *DetailSessionParams
- func (o *DetailSessionParams) WithID(id string) *DetailSessionParams
- func (o *DetailSessionParams) WithTimeout(timeout time.Duration) *DetailSessionParams
- func (o *DetailSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailSessionReader
- type DetailSessionRoutePathNotFound
- type DetailSessionRoutePathOK
- type DetailSessionRoutePathParams
- func NewDetailSessionRoutePathParams() *DetailSessionRoutePathParams
- func NewDetailSessionRoutePathParamsWithContext(ctx context.Context) *DetailSessionRoutePathParams
- func NewDetailSessionRoutePathParamsWithHTTPClient(client *http.Client) *DetailSessionRoutePathParams
- func NewDetailSessionRoutePathParamsWithTimeout(timeout time.Duration) *DetailSessionRoutePathParams
- func (o *DetailSessionRoutePathParams) SetContext(ctx context.Context)
- func (o *DetailSessionRoutePathParams) SetHTTPClient(client *http.Client)
- func (o *DetailSessionRoutePathParams) SetID(id string)
- func (o *DetailSessionRoutePathParams) SetTimeout(timeout time.Duration)
- func (o *DetailSessionRoutePathParams) WithContext(ctx context.Context) *DetailSessionRoutePathParams
- func (o *DetailSessionRoutePathParams) WithHTTPClient(client *http.Client) *DetailSessionRoutePathParams
- func (o *DetailSessionRoutePathParams) WithID(id string) *DetailSessionRoutePathParams
- func (o *DetailSessionRoutePathParams) WithTimeout(timeout time.Duration) *DetailSessionRoutePathParams
- func (o *DetailSessionRoutePathParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailSessionRoutePathReader
- type DetailSessionRoutePathUnauthorized
- type DetailSessionUnauthorized
- type ListSessionsOK
- type ListSessionsParams
- func (o *ListSessionsParams) SetContext(ctx context.Context)
- func (o *ListSessionsParams) SetFilter(filter *string)
- func (o *ListSessionsParams) SetHTTPClient(client *http.Client)
- func (o *ListSessionsParams) SetLimit(limit *int64)
- func (o *ListSessionsParams) SetOffset(offset *int64)
- func (o *ListSessionsParams) SetTimeout(timeout time.Duration)
- func (o *ListSessionsParams) WithContext(ctx context.Context) *ListSessionsParams
- func (o *ListSessionsParams) WithFilter(filter *string) *ListSessionsParams
- func (o *ListSessionsParams) WithHTTPClient(client *http.Client) *ListSessionsParams
- func (o *ListSessionsParams) WithLimit(limit *int64) *ListSessionsParams
- func (o *ListSessionsParams) WithOffset(offset *int64) *ListSessionsParams
- func (o *ListSessionsParams) WithTimeout(timeout time.Duration) *ListSessionsParams
- func (o *ListSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSessionsReader
- type ListSessionsUnauthorized
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) CreateSession ¶
func (a *Client) CreateSession(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionCreated, error)
CreateSession creates a session resource
Create a session resource. Requires admin access.
func (*Client) DeleteSession ¶
func (a *Client) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error)
DeleteSession deletes a session
Delete a session by id. Requires admin access.
func (*Client) DetailSession ¶
func (a *Client) DetailSession(params *DetailSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DetailSessionOK, error)
DetailSession retrieves a single session
Retrieves a single session by id. Requires admin access.
func (*Client) DetailSessionRoutePath ¶ added in v0.19.16
func (a *Client) DetailSessionRoutePath(params *DetailSessionRoutePathParams, authInfo runtime.ClientAuthInfoWriter) (*DetailSessionRoutePathOK, error)
DetailSessionRoutePath retrieves a single session s router path
Retrieves a single session's route path by id. Requires admin access.
func (*Client) ListSessions ¶
func (a *Client) ListSessions(params *ListSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionsOK, error)
ListSessions lists sessions Retrieves a list of active sessions resources; supports filtering, sorting, and pagination. Requires admin access.
Sessions are tied to an API session and are moved when an API session times out or logs out. Active sessions (i.e. Ziti SDK connected to an edge router) will keep the session and API session marked as active.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CreateSession(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionCreated, error) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error) DetailSession(params *DetailSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DetailSessionOK, error) DetailSessionRoutePath(params *DetailSessionRoutePathParams, authInfo runtime.ClientAuthInfoWriter) (*DetailSessionRoutePathOK, error) ListSessions(params *ListSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionsOK, 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 CreateSessionBadRequest ¶
type CreateSessionBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateSessionBadRequest handles this case with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreateSessionBadRequest ¶
func NewCreateSessionBadRequest() *CreateSessionBadRequest
NewCreateSessionBadRequest creates a CreateSessionBadRequest with default headers values
func (*CreateSessionBadRequest) Error ¶
func (o *CreateSessionBadRequest) Error() string
func (*CreateSessionBadRequest) GetPayload ¶
func (o *CreateSessionBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateSessionCreated ¶ added in v0.17.52
type CreateSessionCreated struct {
Payload *rest_model.SessionCreateEnvelope
}
CreateSessionCreated handles this case with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateSessionCreated ¶ added in v0.17.52
func NewCreateSessionCreated() *CreateSessionCreated
NewCreateSessionCreated creates a CreateSessionCreated with default headers values
func (*CreateSessionCreated) Error ¶ added in v0.17.52
func (o *CreateSessionCreated) Error() string
func (*CreateSessionCreated) GetPayload ¶ added in v0.17.52
func (o *CreateSessionCreated) GetPayload() *rest_model.SessionCreateEnvelope
type CreateSessionParams ¶
type CreateSessionParams struct { /*Session A session to create */ Session *rest_model.SessionCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSessionParams contains all the parameters to send to the API endpoint for the create session operation typically these are written to a http.Request
func NewCreateSessionParams ¶
func NewCreateSessionParams() *CreateSessionParams
NewCreateSessionParams creates a new CreateSessionParams object with the default values initialized.
func NewCreateSessionParamsWithContext ¶
func NewCreateSessionParamsWithContext(ctx context.Context) *CreateSessionParams
NewCreateSessionParamsWithContext creates a new CreateSessionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateSessionParamsWithHTTPClient ¶
func NewCreateSessionParamsWithHTTPClient(client *http.Client) *CreateSessionParams
NewCreateSessionParamsWithHTTPClient creates a new CreateSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateSessionParamsWithTimeout ¶
func NewCreateSessionParamsWithTimeout(timeout time.Duration) *CreateSessionParams
NewCreateSessionParamsWithTimeout creates a new CreateSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSessionParams) SetContext ¶
func (o *CreateSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the create session params
func (*CreateSessionParams) SetHTTPClient ¶
func (o *CreateSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create session params
func (*CreateSessionParams) SetSession ¶ added in v0.19.6
func (o *CreateSessionParams) SetSession(session *rest_model.SessionCreate)
SetSession adds the session to the create session params
func (*CreateSessionParams) SetTimeout ¶
func (o *CreateSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create session params
func (*CreateSessionParams) WithContext ¶
func (o *CreateSessionParams) WithContext(ctx context.Context) *CreateSessionParams
WithContext adds the context to the create session params
func (*CreateSessionParams) WithHTTPClient ¶
func (o *CreateSessionParams) WithHTTPClient(client *http.Client) *CreateSessionParams
WithHTTPClient adds the HTTPClient to the create session params
func (*CreateSessionParams) WithSession ¶ added in v0.19.6
func (o *CreateSessionParams) WithSession(session *rest_model.SessionCreate) *CreateSessionParams
WithSession adds the session to the create session params
func (*CreateSessionParams) WithTimeout ¶
func (o *CreateSessionParams) WithTimeout(timeout time.Duration) *CreateSessionParams
WithTimeout adds the timeout to the create session params
func (*CreateSessionParams) WriteToRequest ¶
func (o *CreateSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSessionReader ¶
type CreateSessionReader struct {
// contains filtered or unexported fields
}
CreateSessionReader is a Reader for the CreateSession structure.
func (*CreateSessionReader) ReadResponse ¶
func (o *CreateSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSessionUnauthorized ¶
type CreateSessionUnauthorized struct {
}CreateSessionUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreateSessionUnauthorized ¶
func NewCreateSessionUnauthorized() *CreateSessionUnauthorized
NewCreateSessionUnauthorized creates a CreateSessionUnauthorized with default headers values
func (*CreateSessionUnauthorized) Error ¶
func (o *CreateSessionUnauthorized) Error() string
func (*CreateSessionUnauthorized) GetPayload ¶
func (o *CreateSessionUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteSessionBadRequest ¶
type DeleteSessionBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteSessionBadRequest handles this case with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewDeleteSessionBadRequest ¶
func NewDeleteSessionBadRequest() *DeleteSessionBadRequest
NewDeleteSessionBadRequest creates a DeleteSessionBadRequest with default headers values
func (*DeleteSessionBadRequest) Error ¶
func (o *DeleteSessionBadRequest) Error() string
func (*DeleteSessionBadRequest) GetPayload ¶
func (o *DeleteSessionBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteSessionConflict ¶
type DeleteSessionConflict struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteSessionConflict handles this case with default header values.
The resource requested to be removed/altered cannot be as it is referenced by another object.
func NewDeleteSessionConflict ¶
func NewDeleteSessionConflict() *DeleteSessionConflict
NewDeleteSessionConflict creates a DeleteSessionConflict with default headers values
func (*DeleteSessionConflict) Error ¶
func (o *DeleteSessionConflict) Error() string
func (*DeleteSessionConflict) GetPayload ¶
func (o *DeleteSessionConflict) GetPayload() *rest_model.APIErrorEnvelope
type DeleteSessionOK ¶
type DeleteSessionOK struct {
Payload *rest_model.Empty
}
DeleteSessionOK handles this case with default header values.
The delete request was successful and the resource has been removed
func NewDeleteSessionOK ¶
func NewDeleteSessionOK() *DeleteSessionOK
NewDeleteSessionOK creates a DeleteSessionOK with default headers values
func (*DeleteSessionOK) Error ¶
func (o *DeleteSessionOK) Error() string
func (*DeleteSessionOK) GetPayload ¶
func (o *DeleteSessionOK) GetPayload() *rest_model.Empty
type DeleteSessionParams ¶
type DeleteSessionParams struct { /*ID The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSessionParams contains all the parameters to send to the API endpoint for the delete session operation typically these are written to a http.Request
func NewDeleteSessionParams ¶
func NewDeleteSessionParams() *DeleteSessionParams
NewDeleteSessionParams creates a new DeleteSessionParams object with the default values initialized.
func NewDeleteSessionParamsWithContext ¶
func NewDeleteSessionParamsWithContext(ctx context.Context) *DeleteSessionParams
NewDeleteSessionParamsWithContext creates a new DeleteSessionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSessionParamsWithHTTPClient ¶
func NewDeleteSessionParamsWithHTTPClient(client *http.Client) *DeleteSessionParams
NewDeleteSessionParamsWithHTTPClient creates a new DeleteSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSessionParamsWithTimeout ¶
func NewDeleteSessionParamsWithTimeout(timeout time.Duration) *DeleteSessionParams
NewDeleteSessionParamsWithTimeout creates a new DeleteSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSessionParams) SetContext ¶
func (o *DeleteSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete session params
func (*DeleteSessionParams) SetHTTPClient ¶
func (o *DeleteSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete session params
func (*DeleteSessionParams) SetID ¶
func (o *DeleteSessionParams) SetID(id string)
SetID adds the id to the delete session params
func (*DeleteSessionParams) SetTimeout ¶
func (o *DeleteSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete session params
func (*DeleteSessionParams) WithContext ¶
func (o *DeleteSessionParams) WithContext(ctx context.Context) *DeleteSessionParams
WithContext adds the context to the delete session params
func (*DeleteSessionParams) WithHTTPClient ¶
func (o *DeleteSessionParams) WithHTTPClient(client *http.Client) *DeleteSessionParams
WithHTTPClient adds the HTTPClient to the delete session params
func (*DeleteSessionParams) WithID ¶
func (o *DeleteSessionParams) WithID(id string) *DeleteSessionParams
WithID adds the id to the delete session params
func (*DeleteSessionParams) WithTimeout ¶
func (o *DeleteSessionParams) WithTimeout(timeout time.Duration) *DeleteSessionParams
WithTimeout adds the timeout to the delete session params
func (*DeleteSessionParams) WriteToRequest ¶
func (o *DeleteSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSessionReader ¶
type DeleteSessionReader struct {
// contains filtered or unexported fields
}
DeleteSessionReader is a Reader for the DeleteSession structure.
func (*DeleteSessionReader) ReadResponse ¶
func (o *DeleteSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSessionUnauthorized ¶
type DeleteSessionUnauthorized struct {
}DeleteSessionUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDeleteSessionUnauthorized ¶
func NewDeleteSessionUnauthorized() *DeleteSessionUnauthorized
NewDeleteSessionUnauthorized creates a DeleteSessionUnauthorized with default headers values
func (*DeleteSessionUnauthorized) Error ¶
func (o *DeleteSessionUnauthorized) Error() string
func (*DeleteSessionUnauthorized) GetPayload ¶
func (o *DeleteSessionUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailSessionNotFound ¶
type DetailSessionNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailSessionNotFound handles this case with default header values.
The requested resource does not exist
func NewDetailSessionNotFound ¶
func NewDetailSessionNotFound() *DetailSessionNotFound
NewDetailSessionNotFound creates a DetailSessionNotFound with default headers values
func (*DetailSessionNotFound) Error ¶
func (o *DetailSessionNotFound) Error() string
func (*DetailSessionNotFound) GetPayload ¶
func (o *DetailSessionNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailSessionOK ¶
type DetailSessionOK struct {
Payload *rest_model.DetailSessionEnvelope
}
DetailSessionOK handles this case with default header values.
A single session
func NewDetailSessionOK ¶
func NewDetailSessionOK() *DetailSessionOK
NewDetailSessionOK creates a DetailSessionOK with default headers values
func (*DetailSessionOK) Error ¶
func (o *DetailSessionOK) Error() string
func (*DetailSessionOK) GetPayload ¶
func (o *DetailSessionOK) GetPayload() *rest_model.DetailSessionEnvelope
type DetailSessionParams ¶
type DetailSessionParams struct { /*ID The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailSessionParams contains all the parameters to send to the API endpoint for the detail session operation typically these are written to a http.Request
func NewDetailSessionParams ¶
func NewDetailSessionParams() *DetailSessionParams
NewDetailSessionParams creates a new DetailSessionParams object with the default values initialized.
func NewDetailSessionParamsWithContext ¶
func NewDetailSessionParamsWithContext(ctx context.Context) *DetailSessionParams
NewDetailSessionParamsWithContext creates a new DetailSessionParams object with the default values initialized, and the ability to set a context for a request
func NewDetailSessionParamsWithHTTPClient ¶
func NewDetailSessionParamsWithHTTPClient(client *http.Client) *DetailSessionParams
NewDetailSessionParamsWithHTTPClient creates a new DetailSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDetailSessionParamsWithTimeout ¶
func NewDetailSessionParamsWithTimeout(timeout time.Duration) *DetailSessionParams
NewDetailSessionParamsWithTimeout creates a new DetailSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DetailSessionParams) SetContext ¶
func (o *DetailSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the detail session params
func (*DetailSessionParams) SetHTTPClient ¶
func (o *DetailSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail session params
func (*DetailSessionParams) SetID ¶
func (o *DetailSessionParams) SetID(id string)
SetID adds the id to the detail session params
func (*DetailSessionParams) SetTimeout ¶
func (o *DetailSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail session params
func (*DetailSessionParams) WithContext ¶
func (o *DetailSessionParams) WithContext(ctx context.Context) *DetailSessionParams
WithContext adds the context to the detail session params
func (*DetailSessionParams) WithHTTPClient ¶
func (o *DetailSessionParams) WithHTTPClient(client *http.Client) *DetailSessionParams
WithHTTPClient adds the HTTPClient to the detail session params
func (*DetailSessionParams) WithID ¶
func (o *DetailSessionParams) WithID(id string) *DetailSessionParams
WithID adds the id to the detail session params
func (*DetailSessionParams) WithTimeout ¶
func (o *DetailSessionParams) WithTimeout(timeout time.Duration) *DetailSessionParams
WithTimeout adds the timeout to the detail session params
func (*DetailSessionParams) WriteToRequest ¶
func (o *DetailSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailSessionReader ¶
type DetailSessionReader struct {
// contains filtered or unexported fields
}
DetailSessionReader is a Reader for the DetailSession structure.
func (*DetailSessionReader) ReadResponse ¶
func (o *DetailSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailSessionRoutePathNotFound ¶ added in v0.19.16
type DetailSessionRoutePathNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailSessionRoutePathNotFound handles this case with default header values.
The requested resource does not exist
func NewDetailSessionRoutePathNotFound ¶ added in v0.19.16
func NewDetailSessionRoutePathNotFound() *DetailSessionRoutePathNotFound
NewDetailSessionRoutePathNotFound creates a DetailSessionRoutePathNotFound with default headers values
func (*DetailSessionRoutePathNotFound) Error ¶ added in v0.19.16
func (o *DetailSessionRoutePathNotFound) Error() string
func (*DetailSessionRoutePathNotFound) GetPayload ¶ added in v0.19.16
func (o *DetailSessionRoutePathNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailSessionRoutePathOK ¶ added in v0.19.16
type DetailSessionRoutePathOK struct {
Payload *rest_model.DetailSessionRoutePathEnvelope
}
DetailSessionRoutePathOK handles this case with default header values.
A single session's route path
func NewDetailSessionRoutePathOK ¶ added in v0.19.16
func NewDetailSessionRoutePathOK() *DetailSessionRoutePathOK
NewDetailSessionRoutePathOK creates a DetailSessionRoutePathOK with default headers values
func (*DetailSessionRoutePathOK) Error ¶ added in v0.19.16
func (o *DetailSessionRoutePathOK) Error() string
func (*DetailSessionRoutePathOK) GetPayload ¶ added in v0.19.16
func (o *DetailSessionRoutePathOK) GetPayload() *rest_model.DetailSessionRoutePathEnvelope
type DetailSessionRoutePathParams ¶ added in v0.19.16
type DetailSessionRoutePathParams struct { /*ID The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailSessionRoutePathParams contains all the parameters to send to the API endpoint for the detail session route path operation typically these are written to a http.Request
func NewDetailSessionRoutePathParams ¶ added in v0.19.16
func NewDetailSessionRoutePathParams() *DetailSessionRoutePathParams
NewDetailSessionRoutePathParams creates a new DetailSessionRoutePathParams object with the default values initialized.
func NewDetailSessionRoutePathParamsWithContext ¶ added in v0.19.16
func NewDetailSessionRoutePathParamsWithContext(ctx context.Context) *DetailSessionRoutePathParams
NewDetailSessionRoutePathParamsWithContext creates a new DetailSessionRoutePathParams object with the default values initialized, and the ability to set a context for a request
func NewDetailSessionRoutePathParamsWithHTTPClient ¶ added in v0.19.16
func NewDetailSessionRoutePathParamsWithHTTPClient(client *http.Client) *DetailSessionRoutePathParams
NewDetailSessionRoutePathParamsWithHTTPClient creates a new DetailSessionRoutePathParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDetailSessionRoutePathParamsWithTimeout ¶ added in v0.19.16
func NewDetailSessionRoutePathParamsWithTimeout(timeout time.Duration) *DetailSessionRoutePathParams
NewDetailSessionRoutePathParamsWithTimeout creates a new DetailSessionRoutePathParams object with the default values initialized, and the ability to set a timeout on a request
func (*DetailSessionRoutePathParams) SetContext ¶ added in v0.19.16
func (o *DetailSessionRoutePathParams) SetContext(ctx context.Context)
SetContext adds the context to the detail session route path params
func (*DetailSessionRoutePathParams) SetHTTPClient ¶ added in v0.19.16
func (o *DetailSessionRoutePathParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail session route path params
func (*DetailSessionRoutePathParams) SetID ¶ added in v0.19.16
func (o *DetailSessionRoutePathParams) SetID(id string)
SetID adds the id to the detail session route path params
func (*DetailSessionRoutePathParams) SetTimeout ¶ added in v0.19.16
func (o *DetailSessionRoutePathParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail session route path params
func (*DetailSessionRoutePathParams) WithContext ¶ added in v0.19.16
func (o *DetailSessionRoutePathParams) WithContext(ctx context.Context) *DetailSessionRoutePathParams
WithContext adds the context to the detail session route path params
func (*DetailSessionRoutePathParams) WithHTTPClient ¶ added in v0.19.16
func (o *DetailSessionRoutePathParams) WithHTTPClient(client *http.Client) *DetailSessionRoutePathParams
WithHTTPClient adds the HTTPClient to the detail session route path params
func (*DetailSessionRoutePathParams) WithID ¶ added in v0.19.16
func (o *DetailSessionRoutePathParams) WithID(id string) *DetailSessionRoutePathParams
WithID adds the id to the detail session route path params
func (*DetailSessionRoutePathParams) WithTimeout ¶ added in v0.19.16
func (o *DetailSessionRoutePathParams) WithTimeout(timeout time.Duration) *DetailSessionRoutePathParams
WithTimeout adds the timeout to the detail session route path params
func (*DetailSessionRoutePathParams) WriteToRequest ¶ added in v0.19.16
func (o *DetailSessionRoutePathParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailSessionRoutePathReader ¶ added in v0.19.16
type DetailSessionRoutePathReader struct {
// contains filtered or unexported fields
}
DetailSessionRoutePathReader is a Reader for the DetailSessionRoutePath structure.
func (*DetailSessionRoutePathReader) ReadResponse ¶ added in v0.19.16
func (o *DetailSessionRoutePathReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailSessionRoutePathUnauthorized ¶ added in v0.19.16
type DetailSessionRoutePathUnauthorized struct {
}DetailSessionRoutePathUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailSessionRoutePathUnauthorized ¶ added in v0.19.16
func NewDetailSessionRoutePathUnauthorized() *DetailSessionRoutePathUnauthorized
NewDetailSessionRoutePathUnauthorized creates a DetailSessionRoutePathUnauthorized with default headers values
func (*DetailSessionRoutePathUnauthorized) Error ¶ added in v0.19.16
func (o *DetailSessionRoutePathUnauthorized) Error() string
func (*DetailSessionRoutePathUnauthorized) GetPayload ¶ added in v0.19.16
func (o *DetailSessionRoutePathUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailSessionUnauthorized ¶
type DetailSessionUnauthorized struct {
}DetailSessionUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailSessionUnauthorized ¶
func NewDetailSessionUnauthorized() *DetailSessionUnauthorized
NewDetailSessionUnauthorized creates a DetailSessionUnauthorized with default headers values
func (*DetailSessionUnauthorized) Error ¶
func (o *DetailSessionUnauthorized) Error() string
func (*DetailSessionUnauthorized) GetPayload ¶
func (o *DetailSessionUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListSessionsOK ¶
type ListSessionsOK struct {
Payload *rest_model.ListSessionsEnvelope
}
ListSessionsOK handles this case with default header values.
A list of sessions
func NewListSessionsOK ¶
func NewListSessionsOK() *ListSessionsOK
NewListSessionsOK creates a ListSessionsOK with default headers values
func (*ListSessionsOK) Error ¶
func (o *ListSessionsOK) Error() string
func (*ListSessionsOK) GetPayload ¶
func (o *ListSessionsOK) GetPayload() *rest_model.ListSessionsEnvelope
type ListSessionsParams ¶
type ListSessionsParams struct { /*Filter*/ Filter *string /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSessionsParams contains all the parameters to send to the API endpoint for the list sessions operation typically these are written to a http.Request
func NewListSessionsParams ¶
func NewListSessionsParams() *ListSessionsParams
NewListSessionsParams creates a new ListSessionsParams object with the default values initialized.
func NewListSessionsParamsWithContext ¶
func NewListSessionsParamsWithContext(ctx context.Context) *ListSessionsParams
NewListSessionsParamsWithContext creates a new ListSessionsParams object with the default values initialized, and the ability to set a context for a request
func NewListSessionsParamsWithHTTPClient ¶
func NewListSessionsParamsWithHTTPClient(client *http.Client) *ListSessionsParams
NewListSessionsParamsWithHTTPClient creates a new ListSessionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListSessionsParamsWithTimeout ¶
func NewListSessionsParamsWithTimeout(timeout time.Duration) *ListSessionsParams
NewListSessionsParamsWithTimeout creates a new ListSessionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListSessionsParams) SetContext ¶
func (o *ListSessionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list sessions params
func (*ListSessionsParams) SetFilter ¶
func (o *ListSessionsParams) SetFilter(filter *string)
SetFilter adds the filter to the list sessions params
func (*ListSessionsParams) SetHTTPClient ¶
func (o *ListSessionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list sessions params
func (*ListSessionsParams) SetLimit ¶
func (o *ListSessionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list sessions params
func (*ListSessionsParams) SetOffset ¶
func (o *ListSessionsParams) SetOffset(offset *int64)
SetOffset adds the offset to the list sessions params
func (*ListSessionsParams) SetTimeout ¶
func (o *ListSessionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list sessions params
func (*ListSessionsParams) WithContext ¶
func (o *ListSessionsParams) WithContext(ctx context.Context) *ListSessionsParams
WithContext adds the context to the list sessions params
func (*ListSessionsParams) WithFilter ¶
func (o *ListSessionsParams) WithFilter(filter *string) *ListSessionsParams
WithFilter adds the filter to the list sessions params
func (*ListSessionsParams) WithHTTPClient ¶
func (o *ListSessionsParams) WithHTTPClient(client *http.Client) *ListSessionsParams
WithHTTPClient adds the HTTPClient to the list sessions params
func (*ListSessionsParams) WithLimit ¶
func (o *ListSessionsParams) WithLimit(limit *int64) *ListSessionsParams
WithLimit adds the limit to the list sessions params
func (*ListSessionsParams) WithOffset ¶
func (o *ListSessionsParams) WithOffset(offset *int64) *ListSessionsParams
WithOffset adds the offset to the list sessions params
func (*ListSessionsParams) WithTimeout ¶
func (o *ListSessionsParams) WithTimeout(timeout time.Duration) *ListSessionsParams
WithTimeout adds the timeout to the list sessions params
func (*ListSessionsParams) WriteToRequest ¶
func (o *ListSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSessionsReader ¶
type ListSessionsReader struct {
// contains filtered or unexported fields
}
ListSessionsReader is a Reader for the ListSessions structure.
func (*ListSessionsReader) ReadResponse ¶
func (o *ListSessionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSessionsUnauthorized ¶
type ListSessionsUnauthorized struct {
}ListSessionsUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListSessionsUnauthorized ¶
func NewListSessionsUnauthorized() *ListSessionsUnauthorized
NewListSessionsUnauthorized creates a ListSessionsUnauthorized with default headers values
func (*ListSessionsUnauthorized) Error ¶
func (o *ListSessionsUnauthorized) Error() string
func (*ListSessionsUnauthorized) GetPayload ¶
func (o *ListSessionsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- create_session_parameters.go
- create_session_responses.go
- delete_session_parameters.go
- delete_session_responses.go
- detail_session_parameters.go
- detail_session_responses.go
- detail_session_route_path_parameters.go
- detail_session_route_path_responses.go
- list_sessions_parameters.go
- list_sessions_responses.go
- session_client.go