access

package
v0.3.14-jm-test Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 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 access API

func (*Client) DeleteAccessApikeyNameorid added in v0.3.13

func (a *Client) DeleteAccessApikeyNameorid(params *DeleteAccessApikeyNameoridParams, opts ...ClientOption) (*DeleteAccessApikeyNameoridOK, error)

DeleteAccessApikeyNameorid Deletes an API Key given its `name` or `id`. If the user's session is tied to an organization, the API Key must be for that organization.

func (*Client) GetAccessApikey

func (a *Client) GetAccessApikey(params *GetAccessApikeyParams, opts ...ClientOption) (*GetAccessApikeyOK, error)

GetAccessApikey Lists all the API Keys for the authenticated user. If the user's session is tied to an organization, only the API Keys for that organization will be returned.

func (*Client) GetAccessApikeyNameorid added in v0.3.13

func (a *Client) GetAccessApikeyNameorid(params *GetAccessApikeyNameoridParams, opts ...ClientOption) (*GetAccessApikeyNameoridOK, error)

GetAccessApikeyNameorid Gets information about a specific API Key given its `name` or `id`. If the user's session is tied to an organization, the API Key must be for that organization.

func (*Client) PostAccessApikey added in v0.3.13

func (a *Client) PostAccessApikey(params *PostAccessApikeyParams, opts ...ClientOption) (*PostAccessApikeyOK, error)

PostAccessApikey Creates a new API Key with the given `name` scoped to all the organizations the user is a member or owner of. If the user's session is already tied to an organization, the new API Key will be scoped to that organization.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteAccessApikeyNameorid(params *DeleteAccessApikeyNameoridParams, opts ...ClientOption) (*DeleteAccessApikeyNameoridOK, error)

	GetAccessApikey(params *GetAccessApikeyParams, opts ...ClientOption) (*GetAccessApikeyOK, error)

	GetAccessApikeyNameorid(params *GetAccessApikeyNameoridParams, opts ...ClientOption) (*GetAccessApikeyNameoridOK, error)

	PostAccessApikey(params *PostAccessApikeyParams, opts ...ClientOption) (*PostAccessApikeyOK, 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 access API client.

type DeleteAccessApikeyIDInternalServerError

type DeleteAccessApikeyIDInternalServerError struct {
	Payload string
}

DeleteAccessApikeyIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteAccessApikeyIDInternalServerError

func NewDeleteAccessApikeyIDInternalServerError() *DeleteAccessApikeyIDInternalServerError

NewDeleteAccessApikeyIDInternalServerError creates a DeleteAccessApikeyIDInternalServerError with default headers values

func (*DeleteAccessApikeyIDInternalServerError) Code

Code gets the status code for the delete access apikey Id internal server error response

func (*DeleteAccessApikeyIDInternalServerError) Error

func (*DeleteAccessApikeyIDInternalServerError) GetPayload

func (*DeleteAccessApikeyIDInternalServerError) IsClientError

func (o *DeleteAccessApikeyIDInternalServerError) IsClientError() bool

IsClientError returns true when this delete access apikey Id internal server error response has a 4xx status code

func (*DeleteAccessApikeyIDInternalServerError) IsCode

IsCode returns true when this delete access apikey Id internal server error response a status code equal to that given

func (*DeleteAccessApikeyIDInternalServerError) IsRedirect

IsRedirect returns true when this delete access apikey Id internal server error response has a 3xx status code

func (*DeleteAccessApikeyIDInternalServerError) IsServerError

func (o *DeleteAccessApikeyIDInternalServerError) IsServerError() bool

IsServerError returns true when this delete access apikey Id internal server error response has a 5xx status code

func (*DeleteAccessApikeyIDInternalServerError) IsSuccess

IsSuccess returns true when this delete access apikey Id internal server error response has a 2xx status code

func (*DeleteAccessApikeyIDInternalServerError) String

type DeleteAccessApikeyIDNotFound

type DeleteAccessApikeyIDNotFound struct {
	Payload string
}

DeleteAccessApikeyIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteAccessApikeyIDNotFound

func NewDeleteAccessApikeyIDNotFound() *DeleteAccessApikeyIDNotFound

NewDeleteAccessApikeyIDNotFound creates a DeleteAccessApikeyIDNotFound with default headers values

func (*DeleteAccessApikeyIDNotFound) Code

Code gets the status code for the delete access apikey Id not found response

func (*DeleteAccessApikeyIDNotFound) Error

func (*DeleteAccessApikeyIDNotFound) GetPayload

func (o *DeleteAccessApikeyIDNotFound) GetPayload() string

func (*DeleteAccessApikeyIDNotFound) IsClientError

func (o *DeleteAccessApikeyIDNotFound) IsClientError() bool

IsClientError returns true when this delete access apikey Id not found response has a 4xx status code

func (*DeleteAccessApikeyIDNotFound) IsCode

func (o *DeleteAccessApikeyIDNotFound) IsCode(code int) bool

IsCode returns true when this delete access apikey Id not found response a status code equal to that given

func (*DeleteAccessApikeyIDNotFound) IsRedirect

func (o *DeleteAccessApikeyIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete access apikey Id not found response has a 3xx status code

func (*DeleteAccessApikeyIDNotFound) IsServerError

func (o *DeleteAccessApikeyIDNotFound) IsServerError() bool

IsServerError returns true when this delete access apikey Id not found response has a 5xx status code

func (*DeleteAccessApikeyIDNotFound) IsSuccess

func (o *DeleteAccessApikeyIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete access apikey Id not found response has a 2xx status code

func (*DeleteAccessApikeyIDNotFound) String

type DeleteAccessApikeyIDOK

type DeleteAccessApikeyIDOK struct {
	Payload string
}

DeleteAccessApikeyIDOK describes a response with status code 200, with default header values.

OK

func NewDeleteAccessApikeyIDOK

func NewDeleteAccessApikeyIDOK() *DeleteAccessApikeyIDOK

NewDeleteAccessApikeyIDOK creates a DeleteAccessApikeyIDOK with default headers values

func (*DeleteAccessApikeyIDOK) Code

func (o *DeleteAccessApikeyIDOK) Code() int

Code gets the status code for the delete access apikey Id o k response

func (*DeleteAccessApikeyIDOK) Error

func (o *DeleteAccessApikeyIDOK) Error() string

func (*DeleteAccessApikeyIDOK) GetPayload

func (o *DeleteAccessApikeyIDOK) GetPayload() string

func (*DeleteAccessApikeyIDOK) IsClientError

func (o *DeleteAccessApikeyIDOK) IsClientError() bool

IsClientError returns true when this delete access apikey Id o k response has a 4xx status code

func (*DeleteAccessApikeyIDOK) IsCode

func (o *DeleteAccessApikeyIDOK) IsCode(code int) bool

IsCode returns true when this delete access apikey Id o k response a status code equal to that given

func (*DeleteAccessApikeyIDOK) IsRedirect

func (o *DeleteAccessApikeyIDOK) IsRedirect() bool

IsRedirect returns true when this delete access apikey Id o k response has a 3xx status code

func (*DeleteAccessApikeyIDOK) IsServerError

func (o *DeleteAccessApikeyIDOK) IsServerError() bool

IsServerError returns true when this delete access apikey Id o k response has a 5xx status code

func (*DeleteAccessApikeyIDOK) IsSuccess

func (o *DeleteAccessApikeyIDOK) IsSuccess() bool

IsSuccess returns true when this delete access apikey Id o k response has a 2xx status code

func (*DeleteAccessApikeyIDOK) String

func (o *DeleteAccessApikeyIDOK) String() string

type DeleteAccessApikeyIDParams

type DeleteAccessApikeyIDParams struct {

	/* ID.

	   API Key ID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAccessApikeyIDParams contains all the parameters to send to the API endpoint

for the delete access apikey ID operation.

Typically these are written to a http.Request.

func NewDeleteAccessApikeyIDParams

func NewDeleteAccessApikeyIDParams() *DeleteAccessApikeyIDParams

NewDeleteAccessApikeyIDParams creates a new DeleteAccessApikeyIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAccessApikeyIDParamsWithContext

func NewDeleteAccessApikeyIDParamsWithContext(ctx context.Context) *DeleteAccessApikeyIDParams

NewDeleteAccessApikeyIDParamsWithContext creates a new DeleteAccessApikeyIDParams object with the ability to set a context for a request.

func NewDeleteAccessApikeyIDParamsWithHTTPClient

func NewDeleteAccessApikeyIDParamsWithHTTPClient(client *http.Client) *DeleteAccessApikeyIDParams

NewDeleteAccessApikeyIDParamsWithHTTPClient creates a new DeleteAccessApikeyIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAccessApikeyIDParamsWithTimeout

func NewDeleteAccessApikeyIDParamsWithTimeout(timeout time.Duration) *DeleteAccessApikeyIDParams

NewDeleteAccessApikeyIDParamsWithTimeout creates a new DeleteAccessApikeyIDParams object with the ability to set a timeout on a request.

func (*DeleteAccessApikeyIDParams) SetContext

func (o *DeleteAccessApikeyIDParams) SetContext(ctx context.Context)

SetContext adds the context to the delete access apikey ID params

func (*DeleteAccessApikeyIDParams) SetDefaults

func (o *DeleteAccessApikeyIDParams) SetDefaults()

SetDefaults hydrates default values in the delete access apikey ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAccessApikeyIDParams) SetHTTPClient

func (o *DeleteAccessApikeyIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete access apikey ID params

func (*DeleteAccessApikeyIDParams) SetID

func (o *DeleteAccessApikeyIDParams) SetID(id string)

SetID adds the id to the delete access apikey ID params

func (*DeleteAccessApikeyIDParams) SetTimeout

func (o *DeleteAccessApikeyIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete access apikey ID params

func (*DeleteAccessApikeyIDParams) WithContext

WithContext adds the context to the delete access apikey ID params

func (*DeleteAccessApikeyIDParams) WithDefaults

WithDefaults hydrates default values in the delete access apikey ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAccessApikeyIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete access apikey ID params

func (*DeleteAccessApikeyIDParams) WithID

WithID adds the id to the delete access apikey ID params

func (*DeleteAccessApikeyIDParams) WithTimeout

WithTimeout adds the timeout to the delete access apikey ID params

func (*DeleteAccessApikeyIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAccessApikeyIDReader

type DeleteAccessApikeyIDReader struct {
	// contains filtered or unexported fields
}

DeleteAccessApikeyIDReader is a Reader for the DeleteAccessApikeyID structure.

func (*DeleteAccessApikeyIDReader) ReadResponse

func (o *DeleteAccessApikeyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAccessApikeyIDUnauthorized

type DeleteAccessApikeyIDUnauthorized struct {
	Payload string
}

DeleteAccessApikeyIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteAccessApikeyIDUnauthorized

func NewDeleteAccessApikeyIDUnauthorized() *DeleteAccessApikeyIDUnauthorized

NewDeleteAccessApikeyIDUnauthorized creates a DeleteAccessApikeyIDUnauthorized with default headers values

func (*DeleteAccessApikeyIDUnauthorized) Code

Code gets the status code for the delete access apikey Id unauthorized response

func (*DeleteAccessApikeyIDUnauthorized) Error

func (*DeleteAccessApikeyIDUnauthorized) GetPayload

func (o *DeleteAccessApikeyIDUnauthorized) GetPayload() string

func (*DeleteAccessApikeyIDUnauthorized) IsClientError

func (o *DeleteAccessApikeyIDUnauthorized) IsClientError() bool

IsClientError returns true when this delete access apikey Id unauthorized response has a 4xx status code

func (*DeleteAccessApikeyIDUnauthorized) IsCode

func (o *DeleteAccessApikeyIDUnauthorized) IsCode(code int) bool

IsCode returns true when this delete access apikey Id unauthorized response a status code equal to that given

func (*DeleteAccessApikeyIDUnauthorized) IsRedirect

func (o *DeleteAccessApikeyIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete access apikey Id unauthorized response has a 3xx status code

func (*DeleteAccessApikeyIDUnauthorized) IsServerError

func (o *DeleteAccessApikeyIDUnauthorized) IsServerError() bool

IsServerError returns true when this delete access apikey Id unauthorized response has a 5xx status code

func (*DeleteAccessApikeyIDUnauthorized) IsSuccess

func (o *DeleteAccessApikeyIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete access apikey Id unauthorized response has a 2xx status code

func (*DeleteAccessApikeyIDUnauthorized) String

type DeleteAccessApikeyNameoridInternalServerError added in v0.3.13

type DeleteAccessApikeyNameoridInternalServerError struct {
	Payload string
}

DeleteAccessApikeyNameoridInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteAccessApikeyNameoridInternalServerError added in v0.3.13

func NewDeleteAccessApikeyNameoridInternalServerError() *DeleteAccessApikeyNameoridInternalServerError

NewDeleteAccessApikeyNameoridInternalServerError creates a DeleteAccessApikeyNameoridInternalServerError with default headers values

func (*DeleteAccessApikeyNameoridInternalServerError) Code added in v0.3.13

Code gets the status code for the delete access apikey nameorid internal server error response

func (*DeleteAccessApikeyNameoridInternalServerError) Error added in v0.3.13

func (*DeleteAccessApikeyNameoridInternalServerError) GetPayload added in v0.3.13

func (*DeleteAccessApikeyNameoridInternalServerError) IsClientError added in v0.3.13

IsClientError returns true when this delete access apikey nameorid internal server error response has a 4xx status code

func (*DeleteAccessApikeyNameoridInternalServerError) IsCode added in v0.3.13

IsCode returns true when this delete access apikey nameorid internal server error response a status code equal to that given

func (*DeleteAccessApikeyNameoridInternalServerError) IsRedirect added in v0.3.13

IsRedirect returns true when this delete access apikey nameorid internal server error response has a 3xx status code

func (*DeleteAccessApikeyNameoridInternalServerError) IsServerError added in v0.3.13

IsServerError returns true when this delete access apikey nameorid internal server error response has a 5xx status code

func (*DeleteAccessApikeyNameoridInternalServerError) IsSuccess added in v0.3.13

IsSuccess returns true when this delete access apikey nameorid internal server error response has a 2xx status code

func (*DeleteAccessApikeyNameoridInternalServerError) String added in v0.3.13

type DeleteAccessApikeyNameoridNotFound added in v0.3.13

type DeleteAccessApikeyNameoridNotFound struct {
	Payload string
}

DeleteAccessApikeyNameoridNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteAccessApikeyNameoridNotFound added in v0.3.13

func NewDeleteAccessApikeyNameoridNotFound() *DeleteAccessApikeyNameoridNotFound

NewDeleteAccessApikeyNameoridNotFound creates a DeleteAccessApikeyNameoridNotFound with default headers values

func (*DeleteAccessApikeyNameoridNotFound) Code added in v0.3.13

Code gets the status code for the delete access apikey nameorid not found response

func (*DeleteAccessApikeyNameoridNotFound) Error added in v0.3.13

func (*DeleteAccessApikeyNameoridNotFound) GetPayload added in v0.3.13

func (*DeleteAccessApikeyNameoridNotFound) IsClientError added in v0.3.13

func (o *DeleteAccessApikeyNameoridNotFound) IsClientError() bool

IsClientError returns true when this delete access apikey nameorid not found response has a 4xx status code

func (*DeleteAccessApikeyNameoridNotFound) IsCode added in v0.3.13

IsCode returns true when this delete access apikey nameorid not found response a status code equal to that given

func (*DeleteAccessApikeyNameoridNotFound) IsRedirect added in v0.3.13

func (o *DeleteAccessApikeyNameoridNotFound) IsRedirect() bool

IsRedirect returns true when this delete access apikey nameorid not found response has a 3xx status code

func (*DeleteAccessApikeyNameoridNotFound) IsServerError added in v0.3.13

func (o *DeleteAccessApikeyNameoridNotFound) IsServerError() bool

IsServerError returns true when this delete access apikey nameorid not found response has a 5xx status code

func (*DeleteAccessApikeyNameoridNotFound) IsSuccess added in v0.3.13

IsSuccess returns true when this delete access apikey nameorid not found response has a 2xx status code

func (*DeleteAccessApikeyNameoridNotFound) String added in v0.3.13

type DeleteAccessApikeyNameoridOK added in v0.3.13

type DeleteAccessApikeyNameoridOK struct {
	Payload string
}

DeleteAccessApikeyNameoridOK describes a response with status code 200, with default header values.

OK

func NewDeleteAccessApikeyNameoridOK added in v0.3.13

func NewDeleteAccessApikeyNameoridOK() *DeleteAccessApikeyNameoridOK

NewDeleteAccessApikeyNameoridOK creates a DeleteAccessApikeyNameoridOK with default headers values

func (*DeleteAccessApikeyNameoridOK) Code added in v0.3.13

Code gets the status code for the delete access apikey nameorid o k response

func (*DeleteAccessApikeyNameoridOK) Error added in v0.3.13

func (*DeleteAccessApikeyNameoridOK) GetPayload added in v0.3.13

func (o *DeleteAccessApikeyNameoridOK) GetPayload() string

func (*DeleteAccessApikeyNameoridOK) IsClientError added in v0.3.13

func (o *DeleteAccessApikeyNameoridOK) IsClientError() bool

IsClientError returns true when this delete access apikey nameorid o k response has a 4xx status code

func (*DeleteAccessApikeyNameoridOK) IsCode added in v0.3.13

func (o *DeleteAccessApikeyNameoridOK) IsCode(code int) bool

IsCode returns true when this delete access apikey nameorid o k response a status code equal to that given

func (*DeleteAccessApikeyNameoridOK) IsRedirect added in v0.3.13

func (o *DeleteAccessApikeyNameoridOK) IsRedirect() bool

IsRedirect returns true when this delete access apikey nameorid o k response has a 3xx status code

func (*DeleteAccessApikeyNameoridOK) IsServerError added in v0.3.13

func (o *DeleteAccessApikeyNameoridOK) IsServerError() bool

IsServerError returns true when this delete access apikey nameorid o k response has a 5xx status code

func (*DeleteAccessApikeyNameoridOK) IsSuccess added in v0.3.13

func (o *DeleteAccessApikeyNameoridOK) IsSuccess() bool

IsSuccess returns true when this delete access apikey nameorid o k response has a 2xx status code

func (*DeleteAccessApikeyNameoridOK) String added in v0.3.13

type DeleteAccessApikeyNameoridParams added in v0.3.13

type DeleteAccessApikeyNameoridParams struct {

	/* Nameorid.

	   API Key Name or ID
	*/
	Nameorid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAccessApikeyNameoridParams contains all the parameters to send to the API endpoint

for the delete access apikey nameorid operation.

Typically these are written to a http.Request.

func NewDeleteAccessApikeyNameoridParams added in v0.3.13

func NewDeleteAccessApikeyNameoridParams() *DeleteAccessApikeyNameoridParams

NewDeleteAccessApikeyNameoridParams creates a new DeleteAccessApikeyNameoridParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAccessApikeyNameoridParamsWithContext added in v0.3.13

func NewDeleteAccessApikeyNameoridParamsWithContext(ctx context.Context) *DeleteAccessApikeyNameoridParams

NewDeleteAccessApikeyNameoridParamsWithContext creates a new DeleteAccessApikeyNameoridParams object with the ability to set a context for a request.

func NewDeleteAccessApikeyNameoridParamsWithHTTPClient added in v0.3.13

func NewDeleteAccessApikeyNameoridParamsWithHTTPClient(client *http.Client) *DeleteAccessApikeyNameoridParams

NewDeleteAccessApikeyNameoridParamsWithHTTPClient creates a new DeleteAccessApikeyNameoridParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAccessApikeyNameoridParamsWithTimeout added in v0.3.13

func NewDeleteAccessApikeyNameoridParamsWithTimeout(timeout time.Duration) *DeleteAccessApikeyNameoridParams

NewDeleteAccessApikeyNameoridParamsWithTimeout creates a new DeleteAccessApikeyNameoridParams object with the ability to set a timeout on a request.

func (*DeleteAccessApikeyNameoridParams) SetContext added in v0.3.13

SetContext adds the context to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) SetDefaults added in v0.3.13

func (o *DeleteAccessApikeyNameoridParams) SetDefaults()

SetDefaults hydrates default values in the delete access apikey nameorid params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAccessApikeyNameoridParams) SetHTTPClient added in v0.3.13

func (o *DeleteAccessApikeyNameoridParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) SetNameorid added in v0.3.13

func (o *DeleteAccessApikeyNameoridParams) SetNameorid(nameorid string)

SetNameorid adds the nameorid to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) SetTimeout added in v0.3.13

func (o *DeleteAccessApikeyNameoridParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) WithContext added in v0.3.13

WithContext adds the context to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) WithDefaults added in v0.3.13

WithDefaults hydrates default values in the delete access apikey nameorid params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAccessApikeyNameoridParams) WithHTTPClient added in v0.3.13

WithHTTPClient adds the HTTPClient to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) WithNameorid added in v0.3.13

WithNameorid adds the nameorid to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) WithTimeout added in v0.3.13

WithTimeout adds the timeout to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) WriteToRequest added in v0.3.13

WriteToRequest writes these params to a swagger request

type DeleteAccessApikeyNameoridReader added in v0.3.13

type DeleteAccessApikeyNameoridReader struct {
	// contains filtered or unexported fields
}

DeleteAccessApikeyNameoridReader is a Reader for the DeleteAccessApikeyNameorid structure.

func (*DeleteAccessApikeyNameoridReader) ReadResponse added in v0.3.13

func (o *DeleteAccessApikeyNameoridReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAccessApikeyNameoridUnauthorized added in v0.3.13

type DeleteAccessApikeyNameoridUnauthorized struct {
	Payload string
}

DeleteAccessApikeyNameoridUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteAccessApikeyNameoridUnauthorized added in v0.3.13

func NewDeleteAccessApikeyNameoridUnauthorized() *DeleteAccessApikeyNameoridUnauthorized

NewDeleteAccessApikeyNameoridUnauthorized creates a DeleteAccessApikeyNameoridUnauthorized with default headers values

func (*DeleteAccessApikeyNameoridUnauthorized) Code added in v0.3.13

Code gets the status code for the delete access apikey nameorid unauthorized response

func (*DeleteAccessApikeyNameoridUnauthorized) Error added in v0.3.13

func (*DeleteAccessApikeyNameoridUnauthorized) GetPayload added in v0.3.13

func (*DeleteAccessApikeyNameoridUnauthorized) IsClientError added in v0.3.13

func (o *DeleteAccessApikeyNameoridUnauthorized) IsClientError() bool

IsClientError returns true when this delete access apikey nameorid unauthorized response has a 4xx status code

func (*DeleteAccessApikeyNameoridUnauthorized) IsCode added in v0.3.13

IsCode returns true when this delete access apikey nameorid unauthorized response a status code equal to that given

func (*DeleteAccessApikeyNameoridUnauthorized) IsRedirect added in v0.3.13

IsRedirect returns true when this delete access apikey nameorid unauthorized response has a 3xx status code

func (*DeleteAccessApikeyNameoridUnauthorized) IsServerError added in v0.3.13

func (o *DeleteAccessApikeyNameoridUnauthorized) IsServerError() bool

IsServerError returns true when this delete access apikey nameorid unauthorized response has a 5xx status code

func (*DeleteAccessApikeyNameoridUnauthorized) IsSuccess added in v0.3.13

IsSuccess returns true when this delete access apikey nameorid unauthorized response has a 2xx status code

func (*DeleteAccessApikeyNameoridUnauthorized) String added in v0.3.13

type GetAccessApikeyInternalServerError

type GetAccessApikeyInternalServerError struct {
	Payload string
}

GetAccessApikeyInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAccessApikeyInternalServerError

func NewGetAccessApikeyInternalServerError() *GetAccessApikeyInternalServerError

NewGetAccessApikeyInternalServerError creates a GetAccessApikeyInternalServerError with default headers values

func (*GetAccessApikeyInternalServerError) Code

Code gets the status code for the get access apikey internal server error response

func (*GetAccessApikeyInternalServerError) Error

func (*GetAccessApikeyInternalServerError) GetPayload

func (*GetAccessApikeyInternalServerError) IsClientError

func (o *GetAccessApikeyInternalServerError) IsClientError() bool

IsClientError returns true when this get access apikey internal server error response has a 4xx status code

func (*GetAccessApikeyInternalServerError) IsCode

IsCode returns true when this get access apikey internal server error response a status code equal to that given

func (*GetAccessApikeyInternalServerError) IsRedirect

func (o *GetAccessApikeyInternalServerError) IsRedirect() bool

IsRedirect returns true when this get access apikey internal server error response has a 3xx status code

func (*GetAccessApikeyInternalServerError) IsServerError

func (o *GetAccessApikeyInternalServerError) IsServerError() bool

IsServerError returns true when this get access apikey internal server error response has a 5xx status code

func (*GetAccessApikeyInternalServerError) IsSuccess

IsSuccess returns true when this get access apikey internal server error response has a 2xx status code

func (*GetAccessApikeyInternalServerError) String

type GetAccessApikeyNameInternalServerError

type GetAccessApikeyNameInternalServerError struct {
	Payload string
}

GetAccessApikeyNameInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAccessApikeyNameInternalServerError

func NewGetAccessApikeyNameInternalServerError() *GetAccessApikeyNameInternalServerError

NewGetAccessApikeyNameInternalServerError creates a GetAccessApikeyNameInternalServerError with default headers values

func (*GetAccessApikeyNameInternalServerError) Code

Code gets the status code for the get access apikey name internal server error response

func (*GetAccessApikeyNameInternalServerError) Error

func (*GetAccessApikeyNameInternalServerError) GetPayload

func (*GetAccessApikeyNameInternalServerError) IsClientError

func (o *GetAccessApikeyNameInternalServerError) IsClientError() bool

IsClientError returns true when this get access apikey name internal server error response has a 4xx status code

func (*GetAccessApikeyNameInternalServerError) IsCode

IsCode returns true when this get access apikey name internal server error response a status code equal to that given

func (*GetAccessApikeyNameInternalServerError) IsRedirect

IsRedirect returns true when this get access apikey name internal server error response has a 3xx status code

func (*GetAccessApikeyNameInternalServerError) IsServerError

func (o *GetAccessApikeyNameInternalServerError) IsServerError() bool

IsServerError returns true when this get access apikey name internal server error response has a 5xx status code

func (*GetAccessApikeyNameInternalServerError) IsSuccess

IsSuccess returns true when this get access apikey name internal server error response has a 2xx status code

func (*GetAccessApikeyNameInternalServerError) String

type GetAccessApikeyNameNotFound

type GetAccessApikeyNameNotFound struct {
	Payload string
}

GetAccessApikeyNameNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAccessApikeyNameNotFound

func NewGetAccessApikeyNameNotFound() *GetAccessApikeyNameNotFound

NewGetAccessApikeyNameNotFound creates a GetAccessApikeyNameNotFound with default headers values

func (*GetAccessApikeyNameNotFound) Code

func (o *GetAccessApikeyNameNotFound) Code() int

Code gets the status code for the get access apikey name not found response

func (*GetAccessApikeyNameNotFound) Error

func (*GetAccessApikeyNameNotFound) GetPayload

func (o *GetAccessApikeyNameNotFound) GetPayload() string

func (*GetAccessApikeyNameNotFound) IsClientError

func (o *GetAccessApikeyNameNotFound) IsClientError() bool

IsClientError returns true when this get access apikey name not found response has a 4xx status code

func (*GetAccessApikeyNameNotFound) IsCode

func (o *GetAccessApikeyNameNotFound) IsCode(code int) bool

IsCode returns true when this get access apikey name not found response a status code equal to that given

func (*GetAccessApikeyNameNotFound) IsRedirect

func (o *GetAccessApikeyNameNotFound) IsRedirect() bool

IsRedirect returns true when this get access apikey name not found response has a 3xx status code

func (*GetAccessApikeyNameNotFound) IsServerError

func (o *GetAccessApikeyNameNotFound) IsServerError() bool

IsServerError returns true when this get access apikey name not found response has a 5xx status code

func (*GetAccessApikeyNameNotFound) IsSuccess

func (o *GetAccessApikeyNameNotFound) IsSuccess() bool

IsSuccess returns true when this get access apikey name not found response has a 2xx status code

func (*GetAccessApikeyNameNotFound) String

func (o *GetAccessApikeyNameNotFound) String() string

type GetAccessApikeyNameOK

type GetAccessApikeyNameOK struct {
	Payload *models.ModelsGetAPIKeyResponse
}

GetAccessApikeyNameOK describes a response with status code 200, with default header values.

OK

func NewGetAccessApikeyNameOK

func NewGetAccessApikeyNameOK() *GetAccessApikeyNameOK

NewGetAccessApikeyNameOK creates a GetAccessApikeyNameOK with default headers values

func (*GetAccessApikeyNameOK) Code

func (o *GetAccessApikeyNameOK) Code() int

Code gets the status code for the get access apikey name o k response

func (*GetAccessApikeyNameOK) Error

func (o *GetAccessApikeyNameOK) Error() string

func (*GetAccessApikeyNameOK) GetPayload

func (*GetAccessApikeyNameOK) IsClientError

func (o *GetAccessApikeyNameOK) IsClientError() bool

IsClientError returns true when this get access apikey name o k response has a 4xx status code

func (*GetAccessApikeyNameOK) IsCode

func (o *GetAccessApikeyNameOK) IsCode(code int) bool

IsCode returns true when this get access apikey name o k response a status code equal to that given

func (*GetAccessApikeyNameOK) IsRedirect

func (o *GetAccessApikeyNameOK) IsRedirect() bool

IsRedirect returns true when this get access apikey name o k response has a 3xx status code

func (*GetAccessApikeyNameOK) IsServerError

func (o *GetAccessApikeyNameOK) IsServerError() bool

IsServerError returns true when this get access apikey name o k response has a 5xx status code

func (*GetAccessApikeyNameOK) IsSuccess

func (o *GetAccessApikeyNameOK) IsSuccess() bool

IsSuccess returns true when this get access apikey name o k response has a 2xx status code

func (*GetAccessApikeyNameOK) String

func (o *GetAccessApikeyNameOK) String() string

type GetAccessApikeyNameParams

type GetAccessApikeyNameParams struct {

	/* Name.

	   API Key Name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccessApikeyNameParams contains all the parameters to send to the API endpoint

for the get access apikey name operation.

Typically these are written to a http.Request.

func NewGetAccessApikeyNameParams

func NewGetAccessApikeyNameParams() *GetAccessApikeyNameParams

NewGetAccessApikeyNameParams creates a new GetAccessApikeyNameParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccessApikeyNameParamsWithContext

func NewGetAccessApikeyNameParamsWithContext(ctx context.Context) *GetAccessApikeyNameParams

NewGetAccessApikeyNameParamsWithContext creates a new GetAccessApikeyNameParams object with the ability to set a context for a request.

func NewGetAccessApikeyNameParamsWithHTTPClient

func NewGetAccessApikeyNameParamsWithHTTPClient(client *http.Client) *GetAccessApikeyNameParams

NewGetAccessApikeyNameParamsWithHTTPClient creates a new GetAccessApikeyNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccessApikeyNameParamsWithTimeout

func NewGetAccessApikeyNameParamsWithTimeout(timeout time.Duration) *GetAccessApikeyNameParams

NewGetAccessApikeyNameParamsWithTimeout creates a new GetAccessApikeyNameParams object with the ability to set a timeout on a request.

func (*GetAccessApikeyNameParams) SetContext

func (o *GetAccessApikeyNameParams) SetContext(ctx context.Context)

SetContext adds the context to the get access apikey name params

func (*GetAccessApikeyNameParams) SetDefaults

func (o *GetAccessApikeyNameParams) SetDefaults()

SetDefaults hydrates default values in the get access apikey name params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccessApikeyNameParams) SetHTTPClient

func (o *GetAccessApikeyNameParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get access apikey name params

func (*GetAccessApikeyNameParams) SetName

func (o *GetAccessApikeyNameParams) SetName(name string)

SetName adds the name to the get access apikey name params

func (*GetAccessApikeyNameParams) SetTimeout

func (o *GetAccessApikeyNameParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get access apikey name params

func (*GetAccessApikeyNameParams) WithContext

WithContext adds the context to the get access apikey name params

func (*GetAccessApikeyNameParams) WithDefaults

WithDefaults hydrates default values in the get access apikey name params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccessApikeyNameParams) WithHTTPClient

func (o *GetAccessApikeyNameParams) WithHTTPClient(client *http.Client) *GetAccessApikeyNameParams

WithHTTPClient adds the HTTPClient to the get access apikey name params

func (*GetAccessApikeyNameParams) WithName

WithName adds the name to the get access apikey name params

func (*GetAccessApikeyNameParams) WithTimeout

WithTimeout adds the timeout to the get access apikey name params

func (*GetAccessApikeyNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccessApikeyNameReader

type GetAccessApikeyNameReader struct {
	// contains filtered or unexported fields
}

GetAccessApikeyNameReader is a Reader for the GetAccessApikeyName structure.

func (*GetAccessApikeyNameReader) ReadResponse

func (o *GetAccessApikeyNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccessApikeyNameUnauthorized

type GetAccessApikeyNameUnauthorized struct {
	Payload string
}

GetAccessApikeyNameUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAccessApikeyNameUnauthorized

func NewGetAccessApikeyNameUnauthorized() *GetAccessApikeyNameUnauthorized

NewGetAccessApikeyNameUnauthorized creates a GetAccessApikeyNameUnauthorized with default headers values

func (*GetAccessApikeyNameUnauthorized) Code

Code gets the status code for the get access apikey name unauthorized response

func (*GetAccessApikeyNameUnauthorized) Error

func (*GetAccessApikeyNameUnauthorized) GetPayload

func (o *GetAccessApikeyNameUnauthorized) GetPayload() string

func (*GetAccessApikeyNameUnauthorized) IsClientError

func (o *GetAccessApikeyNameUnauthorized) IsClientError() bool

IsClientError returns true when this get access apikey name unauthorized response has a 4xx status code

func (*GetAccessApikeyNameUnauthorized) IsCode

func (o *GetAccessApikeyNameUnauthorized) IsCode(code int) bool

IsCode returns true when this get access apikey name unauthorized response a status code equal to that given

func (*GetAccessApikeyNameUnauthorized) IsRedirect

func (o *GetAccessApikeyNameUnauthorized) IsRedirect() bool

IsRedirect returns true when this get access apikey name unauthorized response has a 3xx status code

func (*GetAccessApikeyNameUnauthorized) IsServerError

func (o *GetAccessApikeyNameUnauthorized) IsServerError() bool

IsServerError returns true when this get access apikey name unauthorized response has a 5xx status code

func (*GetAccessApikeyNameUnauthorized) IsSuccess

func (o *GetAccessApikeyNameUnauthorized) IsSuccess() bool

IsSuccess returns true when this get access apikey name unauthorized response has a 2xx status code

func (*GetAccessApikeyNameUnauthorized) String

type GetAccessApikeyNameoridInternalServerError added in v0.3.13

type GetAccessApikeyNameoridInternalServerError struct {
	Payload string
}

GetAccessApikeyNameoridInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAccessApikeyNameoridInternalServerError added in v0.3.13

func NewGetAccessApikeyNameoridInternalServerError() *GetAccessApikeyNameoridInternalServerError

NewGetAccessApikeyNameoridInternalServerError creates a GetAccessApikeyNameoridInternalServerError with default headers values

func (*GetAccessApikeyNameoridInternalServerError) Code added in v0.3.13

Code gets the status code for the get access apikey nameorid internal server error response

func (*GetAccessApikeyNameoridInternalServerError) Error added in v0.3.13

func (*GetAccessApikeyNameoridInternalServerError) GetPayload added in v0.3.13

func (*GetAccessApikeyNameoridInternalServerError) IsClientError added in v0.3.13

IsClientError returns true when this get access apikey nameorid internal server error response has a 4xx status code

func (*GetAccessApikeyNameoridInternalServerError) IsCode added in v0.3.13

IsCode returns true when this get access apikey nameorid internal server error response a status code equal to that given

func (*GetAccessApikeyNameoridInternalServerError) IsRedirect added in v0.3.13

IsRedirect returns true when this get access apikey nameorid internal server error response has a 3xx status code

func (*GetAccessApikeyNameoridInternalServerError) IsServerError added in v0.3.13

IsServerError returns true when this get access apikey nameorid internal server error response has a 5xx status code

func (*GetAccessApikeyNameoridInternalServerError) IsSuccess added in v0.3.13

IsSuccess returns true when this get access apikey nameorid internal server error response has a 2xx status code

func (*GetAccessApikeyNameoridInternalServerError) String added in v0.3.13

type GetAccessApikeyNameoridNotFound added in v0.3.13

type GetAccessApikeyNameoridNotFound struct {
	Payload string
}

GetAccessApikeyNameoridNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAccessApikeyNameoridNotFound added in v0.3.13

func NewGetAccessApikeyNameoridNotFound() *GetAccessApikeyNameoridNotFound

NewGetAccessApikeyNameoridNotFound creates a GetAccessApikeyNameoridNotFound with default headers values

func (*GetAccessApikeyNameoridNotFound) Code added in v0.3.13

Code gets the status code for the get access apikey nameorid not found response

func (*GetAccessApikeyNameoridNotFound) Error added in v0.3.13

func (*GetAccessApikeyNameoridNotFound) GetPayload added in v0.3.13

func (o *GetAccessApikeyNameoridNotFound) GetPayload() string

func (*GetAccessApikeyNameoridNotFound) IsClientError added in v0.3.13

func (o *GetAccessApikeyNameoridNotFound) IsClientError() bool

IsClientError returns true when this get access apikey nameorid not found response has a 4xx status code

func (*GetAccessApikeyNameoridNotFound) IsCode added in v0.3.13

func (o *GetAccessApikeyNameoridNotFound) IsCode(code int) bool

IsCode returns true when this get access apikey nameorid not found response a status code equal to that given

func (*GetAccessApikeyNameoridNotFound) IsRedirect added in v0.3.13

func (o *GetAccessApikeyNameoridNotFound) IsRedirect() bool

IsRedirect returns true when this get access apikey nameorid not found response has a 3xx status code

func (*GetAccessApikeyNameoridNotFound) IsServerError added in v0.3.13

func (o *GetAccessApikeyNameoridNotFound) IsServerError() bool

IsServerError returns true when this get access apikey nameorid not found response has a 5xx status code

func (*GetAccessApikeyNameoridNotFound) IsSuccess added in v0.3.13

func (o *GetAccessApikeyNameoridNotFound) IsSuccess() bool

IsSuccess returns true when this get access apikey nameorid not found response has a 2xx status code

func (*GetAccessApikeyNameoridNotFound) String added in v0.3.13

type GetAccessApikeyNameoridOK added in v0.3.13

type GetAccessApikeyNameoridOK struct {
	Payload *models.ModelsGetAPIKeyResponse
}

GetAccessApikeyNameoridOK describes a response with status code 200, with default header values.

OK

func NewGetAccessApikeyNameoridOK added in v0.3.13

func NewGetAccessApikeyNameoridOK() *GetAccessApikeyNameoridOK

NewGetAccessApikeyNameoridOK creates a GetAccessApikeyNameoridOK with default headers values

func (*GetAccessApikeyNameoridOK) Code added in v0.3.13

func (o *GetAccessApikeyNameoridOK) Code() int

Code gets the status code for the get access apikey nameorid o k response

func (*GetAccessApikeyNameoridOK) Error added in v0.3.13

func (o *GetAccessApikeyNameoridOK) Error() string

func (*GetAccessApikeyNameoridOK) GetPayload added in v0.3.13

func (*GetAccessApikeyNameoridOK) IsClientError added in v0.3.13

func (o *GetAccessApikeyNameoridOK) IsClientError() bool

IsClientError returns true when this get access apikey nameorid o k response has a 4xx status code

func (*GetAccessApikeyNameoridOK) IsCode added in v0.3.13

func (o *GetAccessApikeyNameoridOK) IsCode(code int) bool

IsCode returns true when this get access apikey nameorid o k response a status code equal to that given

func (*GetAccessApikeyNameoridOK) IsRedirect added in v0.3.13

func (o *GetAccessApikeyNameoridOK) IsRedirect() bool

IsRedirect returns true when this get access apikey nameorid o k response has a 3xx status code

func (*GetAccessApikeyNameoridOK) IsServerError added in v0.3.13

func (o *GetAccessApikeyNameoridOK) IsServerError() bool

IsServerError returns true when this get access apikey nameorid o k response has a 5xx status code

func (*GetAccessApikeyNameoridOK) IsSuccess added in v0.3.13

func (o *GetAccessApikeyNameoridOK) IsSuccess() bool

IsSuccess returns true when this get access apikey nameorid o k response has a 2xx status code

func (*GetAccessApikeyNameoridOK) String added in v0.3.13

func (o *GetAccessApikeyNameoridOK) String() string

type GetAccessApikeyNameoridParams added in v0.3.13

type GetAccessApikeyNameoridParams struct {

	/* Nameorid.

	   API Key Name or ID
	*/
	Nameorid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccessApikeyNameoridParams contains all the parameters to send to the API endpoint

for the get access apikey nameorid operation.

Typically these are written to a http.Request.

func NewGetAccessApikeyNameoridParams added in v0.3.13

func NewGetAccessApikeyNameoridParams() *GetAccessApikeyNameoridParams

NewGetAccessApikeyNameoridParams creates a new GetAccessApikeyNameoridParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccessApikeyNameoridParamsWithContext added in v0.3.13

func NewGetAccessApikeyNameoridParamsWithContext(ctx context.Context) *GetAccessApikeyNameoridParams

NewGetAccessApikeyNameoridParamsWithContext creates a new GetAccessApikeyNameoridParams object with the ability to set a context for a request.

func NewGetAccessApikeyNameoridParamsWithHTTPClient added in v0.3.13

func NewGetAccessApikeyNameoridParamsWithHTTPClient(client *http.Client) *GetAccessApikeyNameoridParams

NewGetAccessApikeyNameoridParamsWithHTTPClient creates a new GetAccessApikeyNameoridParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccessApikeyNameoridParamsWithTimeout added in v0.3.13

func NewGetAccessApikeyNameoridParamsWithTimeout(timeout time.Duration) *GetAccessApikeyNameoridParams

NewGetAccessApikeyNameoridParamsWithTimeout creates a new GetAccessApikeyNameoridParams object with the ability to set a timeout on a request.

func (*GetAccessApikeyNameoridParams) SetContext added in v0.3.13

func (o *GetAccessApikeyNameoridParams) SetContext(ctx context.Context)

SetContext adds the context to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) SetDefaults added in v0.3.13

func (o *GetAccessApikeyNameoridParams) SetDefaults()

SetDefaults hydrates default values in the get access apikey nameorid params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccessApikeyNameoridParams) SetHTTPClient added in v0.3.13

func (o *GetAccessApikeyNameoridParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) SetNameorid added in v0.3.13

func (o *GetAccessApikeyNameoridParams) SetNameorid(nameorid string)

SetNameorid adds the nameorid to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) SetTimeout added in v0.3.13

func (o *GetAccessApikeyNameoridParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) WithContext added in v0.3.13

WithContext adds the context to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) WithDefaults added in v0.3.13

WithDefaults hydrates default values in the get access apikey nameorid params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccessApikeyNameoridParams) WithHTTPClient added in v0.3.13

WithHTTPClient adds the HTTPClient to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) WithNameorid added in v0.3.13

WithNameorid adds the nameorid to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) WithTimeout added in v0.3.13

WithTimeout adds the timeout to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) WriteToRequest added in v0.3.13

WriteToRequest writes these params to a swagger request

type GetAccessApikeyNameoridReader added in v0.3.13

type GetAccessApikeyNameoridReader struct {
	// contains filtered or unexported fields
}

GetAccessApikeyNameoridReader is a Reader for the GetAccessApikeyNameorid structure.

func (*GetAccessApikeyNameoridReader) ReadResponse added in v0.3.13

func (o *GetAccessApikeyNameoridReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccessApikeyNameoridUnauthorized added in v0.3.13

type GetAccessApikeyNameoridUnauthorized struct {
	Payload string
}

GetAccessApikeyNameoridUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAccessApikeyNameoridUnauthorized added in v0.3.13

func NewGetAccessApikeyNameoridUnauthorized() *GetAccessApikeyNameoridUnauthorized

NewGetAccessApikeyNameoridUnauthorized creates a GetAccessApikeyNameoridUnauthorized with default headers values

func (*GetAccessApikeyNameoridUnauthorized) Code added in v0.3.13

Code gets the status code for the get access apikey nameorid unauthorized response

func (*GetAccessApikeyNameoridUnauthorized) Error added in v0.3.13

func (*GetAccessApikeyNameoridUnauthorized) GetPayload added in v0.3.13

func (*GetAccessApikeyNameoridUnauthorized) IsClientError added in v0.3.13

func (o *GetAccessApikeyNameoridUnauthorized) IsClientError() bool

IsClientError returns true when this get access apikey nameorid unauthorized response has a 4xx status code

func (*GetAccessApikeyNameoridUnauthorized) IsCode added in v0.3.13

IsCode returns true when this get access apikey nameorid unauthorized response a status code equal to that given

func (*GetAccessApikeyNameoridUnauthorized) IsRedirect added in v0.3.13

func (o *GetAccessApikeyNameoridUnauthorized) IsRedirect() bool

IsRedirect returns true when this get access apikey nameorid unauthorized response has a 3xx status code

func (*GetAccessApikeyNameoridUnauthorized) IsServerError added in v0.3.13

func (o *GetAccessApikeyNameoridUnauthorized) IsServerError() bool

IsServerError returns true when this get access apikey nameorid unauthorized response has a 5xx status code

func (*GetAccessApikeyNameoridUnauthorized) IsSuccess added in v0.3.13

IsSuccess returns true when this get access apikey nameorid unauthorized response has a 2xx status code

func (*GetAccessApikeyNameoridUnauthorized) String added in v0.3.13

type GetAccessApikeyOK

type GetAccessApikeyOK struct {
	Payload []*models.ModelsGetAPIKeyResponse
}

GetAccessApikeyOK describes a response with status code 200, with default header values.

OK

func NewGetAccessApikeyOK

func NewGetAccessApikeyOK() *GetAccessApikeyOK

NewGetAccessApikeyOK creates a GetAccessApikeyOK with default headers values

func (*GetAccessApikeyOK) Code

func (o *GetAccessApikeyOK) Code() int

Code gets the status code for the get access apikey o k response

func (*GetAccessApikeyOK) Error

func (o *GetAccessApikeyOK) Error() string

func (*GetAccessApikeyOK) GetPayload

func (*GetAccessApikeyOK) IsClientError

func (o *GetAccessApikeyOK) IsClientError() bool

IsClientError returns true when this get access apikey o k response has a 4xx status code

func (*GetAccessApikeyOK) IsCode

func (o *GetAccessApikeyOK) IsCode(code int) bool

IsCode returns true when this get access apikey o k response a status code equal to that given

func (*GetAccessApikeyOK) IsRedirect

func (o *GetAccessApikeyOK) IsRedirect() bool

IsRedirect returns true when this get access apikey o k response has a 3xx status code

func (*GetAccessApikeyOK) IsServerError

func (o *GetAccessApikeyOK) IsServerError() bool

IsServerError returns true when this get access apikey o k response has a 5xx status code

func (*GetAccessApikeyOK) IsSuccess

func (o *GetAccessApikeyOK) IsSuccess() bool

IsSuccess returns true when this get access apikey o k response has a 2xx status code

func (*GetAccessApikeyOK) String

func (o *GetAccessApikeyOK) String() string

type GetAccessApikeyParams

type GetAccessApikeyParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccessApikeyParams contains all the parameters to send to the API endpoint

for the get access apikey operation.

Typically these are written to a http.Request.

func NewGetAccessApikeyParams

func NewGetAccessApikeyParams() *GetAccessApikeyParams

NewGetAccessApikeyParams creates a new GetAccessApikeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccessApikeyParamsWithContext

func NewGetAccessApikeyParamsWithContext(ctx context.Context) *GetAccessApikeyParams

NewGetAccessApikeyParamsWithContext creates a new GetAccessApikeyParams object with the ability to set a context for a request.

func NewGetAccessApikeyParamsWithHTTPClient

func NewGetAccessApikeyParamsWithHTTPClient(client *http.Client) *GetAccessApikeyParams

NewGetAccessApikeyParamsWithHTTPClient creates a new GetAccessApikeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccessApikeyParamsWithTimeout

func NewGetAccessApikeyParamsWithTimeout(timeout time.Duration) *GetAccessApikeyParams

NewGetAccessApikeyParamsWithTimeout creates a new GetAccessApikeyParams object with the ability to set a timeout on a request.

func (*GetAccessApikeyParams) SetContext

func (o *GetAccessApikeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get access apikey params

func (*GetAccessApikeyParams) SetDefaults

func (o *GetAccessApikeyParams) SetDefaults()

SetDefaults hydrates default values in the get access apikey params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccessApikeyParams) SetHTTPClient

func (o *GetAccessApikeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get access apikey params

func (*GetAccessApikeyParams) SetTimeout

func (o *GetAccessApikeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get access apikey params

func (*GetAccessApikeyParams) WithContext

WithContext adds the context to the get access apikey params

func (*GetAccessApikeyParams) WithDefaults

func (o *GetAccessApikeyParams) WithDefaults() *GetAccessApikeyParams

WithDefaults hydrates default values in the get access apikey params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccessApikeyParams) WithHTTPClient

func (o *GetAccessApikeyParams) WithHTTPClient(client *http.Client) *GetAccessApikeyParams

WithHTTPClient adds the HTTPClient to the get access apikey params

func (*GetAccessApikeyParams) WithTimeout

func (o *GetAccessApikeyParams) WithTimeout(timeout time.Duration) *GetAccessApikeyParams

WithTimeout adds the timeout to the get access apikey params

func (*GetAccessApikeyParams) WriteToRequest

func (o *GetAccessApikeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAccessApikeyReader

type GetAccessApikeyReader struct {
	// contains filtered or unexported fields
}

GetAccessApikeyReader is a Reader for the GetAccessApikey structure.

func (*GetAccessApikeyReader) ReadResponse

func (o *GetAccessApikeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccessApikeyUnauthorized

type GetAccessApikeyUnauthorized struct {
	Payload string
}

GetAccessApikeyUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAccessApikeyUnauthorized

func NewGetAccessApikeyUnauthorized() *GetAccessApikeyUnauthorized

NewGetAccessApikeyUnauthorized creates a GetAccessApikeyUnauthorized with default headers values

func (*GetAccessApikeyUnauthorized) Code

func (o *GetAccessApikeyUnauthorized) Code() int

Code gets the status code for the get access apikey unauthorized response

func (*GetAccessApikeyUnauthorized) Error

func (*GetAccessApikeyUnauthorized) GetPayload

func (o *GetAccessApikeyUnauthorized) GetPayload() string

func (*GetAccessApikeyUnauthorized) IsClientError

func (o *GetAccessApikeyUnauthorized) IsClientError() bool

IsClientError returns true when this get access apikey unauthorized response has a 4xx status code

func (*GetAccessApikeyUnauthorized) IsCode

func (o *GetAccessApikeyUnauthorized) IsCode(code int) bool

IsCode returns true when this get access apikey unauthorized response a status code equal to that given

func (*GetAccessApikeyUnauthorized) IsRedirect

func (o *GetAccessApikeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this get access apikey unauthorized response has a 3xx status code

func (*GetAccessApikeyUnauthorized) IsServerError

func (o *GetAccessApikeyUnauthorized) IsServerError() bool

IsServerError returns true when this get access apikey unauthorized response has a 5xx status code

func (*GetAccessApikeyUnauthorized) IsSuccess

func (o *GetAccessApikeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this get access apikey unauthorized response has a 2xx status code

func (*GetAccessApikeyUnauthorized) String

func (o *GetAccessApikeyUnauthorized) String() string

type PostAccessApikeyBadRequest added in v0.3.13

type PostAccessApikeyBadRequest struct {
	Payload string
}

PostAccessApikeyBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAccessApikeyBadRequest added in v0.3.13

func NewPostAccessApikeyBadRequest() *PostAccessApikeyBadRequest

NewPostAccessApikeyBadRequest creates a PostAccessApikeyBadRequest with default headers values

func (*PostAccessApikeyBadRequest) Code added in v0.3.13

func (o *PostAccessApikeyBadRequest) Code() int

Code gets the status code for the post access apikey bad request response

func (*PostAccessApikeyBadRequest) Error added in v0.3.13

func (*PostAccessApikeyBadRequest) GetPayload added in v0.3.13

func (o *PostAccessApikeyBadRequest) GetPayload() string

func (*PostAccessApikeyBadRequest) IsClientError added in v0.3.13

func (o *PostAccessApikeyBadRequest) IsClientError() bool

IsClientError returns true when this post access apikey bad request response has a 4xx status code

func (*PostAccessApikeyBadRequest) IsCode added in v0.3.13

func (o *PostAccessApikeyBadRequest) IsCode(code int) bool

IsCode returns true when this post access apikey bad request response a status code equal to that given

func (*PostAccessApikeyBadRequest) IsRedirect added in v0.3.13

func (o *PostAccessApikeyBadRequest) IsRedirect() bool

IsRedirect returns true when this post access apikey bad request response has a 3xx status code

func (*PostAccessApikeyBadRequest) IsServerError added in v0.3.13

func (o *PostAccessApikeyBadRequest) IsServerError() bool

IsServerError returns true when this post access apikey bad request response has a 5xx status code

func (*PostAccessApikeyBadRequest) IsSuccess added in v0.3.13

func (o *PostAccessApikeyBadRequest) IsSuccess() bool

IsSuccess returns true when this post access apikey bad request response has a 2xx status code

func (*PostAccessApikeyBadRequest) String added in v0.3.13

func (o *PostAccessApikeyBadRequest) String() string

type PostAccessApikeyInternalServerError added in v0.3.13

type PostAccessApikeyInternalServerError struct {
	Payload string
}

PostAccessApikeyInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAccessApikeyInternalServerError added in v0.3.13

func NewPostAccessApikeyInternalServerError() *PostAccessApikeyInternalServerError

NewPostAccessApikeyInternalServerError creates a PostAccessApikeyInternalServerError with default headers values

func (*PostAccessApikeyInternalServerError) Code added in v0.3.13

Code gets the status code for the post access apikey internal server error response

func (*PostAccessApikeyInternalServerError) Error added in v0.3.13

func (*PostAccessApikeyInternalServerError) GetPayload added in v0.3.13

func (*PostAccessApikeyInternalServerError) IsClientError added in v0.3.13

func (o *PostAccessApikeyInternalServerError) IsClientError() bool

IsClientError returns true when this post access apikey internal server error response has a 4xx status code

func (*PostAccessApikeyInternalServerError) IsCode added in v0.3.13

IsCode returns true when this post access apikey internal server error response a status code equal to that given

func (*PostAccessApikeyInternalServerError) IsRedirect added in v0.3.13

func (o *PostAccessApikeyInternalServerError) IsRedirect() bool

IsRedirect returns true when this post access apikey internal server error response has a 3xx status code

func (*PostAccessApikeyInternalServerError) IsServerError added in v0.3.13

func (o *PostAccessApikeyInternalServerError) IsServerError() bool

IsServerError returns true when this post access apikey internal server error response has a 5xx status code

func (*PostAccessApikeyInternalServerError) IsSuccess added in v0.3.13

IsSuccess returns true when this post access apikey internal server error response has a 2xx status code

func (*PostAccessApikeyInternalServerError) String added in v0.3.13

type PostAccessApikeyNameBadRequest

type PostAccessApikeyNameBadRequest struct {
	Payload string
}

PostAccessApikeyNameBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAccessApikeyNameBadRequest

func NewPostAccessApikeyNameBadRequest() *PostAccessApikeyNameBadRequest

NewPostAccessApikeyNameBadRequest creates a PostAccessApikeyNameBadRequest with default headers values

func (*PostAccessApikeyNameBadRequest) Code

Code gets the status code for the post access apikey name bad request response

func (*PostAccessApikeyNameBadRequest) Error

func (*PostAccessApikeyNameBadRequest) GetPayload

func (o *PostAccessApikeyNameBadRequest) GetPayload() string

func (*PostAccessApikeyNameBadRequest) IsClientError

func (o *PostAccessApikeyNameBadRequest) IsClientError() bool

IsClientError returns true when this post access apikey name bad request response has a 4xx status code

func (*PostAccessApikeyNameBadRequest) IsCode

func (o *PostAccessApikeyNameBadRequest) IsCode(code int) bool

IsCode returns true when this post access apikey name bad request response a status code equal to that given

func (*PostAccessApikeyNameBadRequest) IsRedirect

func (o *PostAccessApikeyNameBadRequest) IsRedirect() bool

IsRedirect returns true when this post access apikey name bad request response has a 3xx status code

func (*PostAccessApikeyNameBadRequest) IsServerError

func (o *PostAccessApikeyNameBadRequest) IsServerError() bool

IsServerError returns true when this post access apikey name bad request response has a 5xx status code

func (*PostAccessApikeyNameBadRequest) IsSuccess

func (o *PostAccessApikeyNameBadRequest) IsSuccess() bool

IsSuccess returns true when this post access apikey name bad request response has a 2xx status code

func (*PostAccessApikeyNameBadRequest) String

type PostAccessApikeyNameInternalServerError

type PostAccessApikeyNameInternalServerError struct {
	Payload string
}

PostAccessApikeyNameInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAccessApikeyNameInternalServerError

func NewPostAccessApikeyNameInternalServerError() *PostAccessApikeyNameInternalServerError

NewPostAccessApikeyNameInternalServerError creates a PostAccessApikeyNameInternalServerError with default headers values

func (*PostAccessApikeyNameInternalServerError) Code

Code gets the status code for the post access apikey name internal server error response

func (*PostAccessApikeyNameInternalServerError) Error

func (*PostAccessApikeyNameInternalServerError) GetPayload

func (*PostAccessApikeyNameInternalServerError) IsClientError

func (o *PostAccessApikeyNameInternalServerError) IsClientError() bool

IsClientError returns true when this post access apikey name internal server error response has a 4xx status code

func (*PostAccessApikeyNameInternalServerError) IsCode

IsCode returns true when this post access apikey name internal server error response a status code equal to that given

func (*PostAccessApikeyNameInternalServerError) IsRedirect

IsRedirect returns true when this post access apikey name internal server error response has a 3xx status code

func (*PostAccessApikeyNameInternalServerError) IsServerError

func (o *PostAccessApikeyNameInternalServerError) IsServerError() bool

IsServerError returns true when this post access apikey name internal server error response has a 5xx status code

func (*PostAccessApikeyNameInternalServerError) IsSuccess

IsSuccess returns true when this post access apikey name internal server error response has a 2xx status code

func (*PostAccessApikeyNameInternalServerError) String

type PostAccessApikeyNameOK

type PostAccessApikeyNameOK struct {
	Payload *models.ModelsCreateAPIKeyResponse
}

PostAccessApikeyNameOK describes a response with status code 200, with default header values.

OK

func NewPostAccessApikeyNameOK

func NewPostAccessApikeyNameOK() *PostAccessApikeyNameOK

NewPostAccessApikeyNameOK creates a PostAccessApikeyNameOK with default headers values

func (*PostAccessApikeyNameOK) Code

func (o *PostAccessApikeyNameOK) Code() int

Code gets the status code for the post access apikey name o k response

func (*PostAccessApikeyNameOK) Error

func (o *PostAccessApikeyNameOK) Error() string

func (*PostAccessApikeyNameOK) GetPayload

func (*PostAccessApikeyNameOK) IsClientError

func (o *PostAccessApikeyNameOK) IsClientError() bool

IsClientError returns true when this post access apikey name o k response has a 4xx status code

func (*PostAccessApikeyNameOK) IsCode

func (o *PostAccessApikeyNameOK) IsCode(code int) bool

IsCode returns true when this post access apikey name o k response a status code equal to that given

func (*PostAccessApikeyNameOK) IsRedirect

func (o *PostAccessApikeyNameOK) IsRedirect() bool

IsRedirect returns true when this post access apikey name o k response has a 3xx status code

func (*PostAccessApikeyNameOK) IsServerError

func (o *PostAccessApikeyNameOK) IsServerError() bool

IsServerError returns true when this post access apikey name o k response has a 5xx status code

func (*PostAccessApikeyNameOK) IsSuccess

func (o *PostAccessApikeyNameOK) IsSuccess() bool

IsSuccess returns true when this post access apikey name o k response has a 2xx status code

func (*PostAccessApikeyNameOK) String

func (o *PostAccessApikeyNameOK) String() string

type PostAccessApikeyNameParams

type PostAccessApikeyNameParams struct {

	/* Name.

	   name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAccessApikeyNameParams contains all the parameters to send to the API endpoint

for the post access apikey name operation.

Typically these are written to a http.Request.

func NewPostAccessApikeyNameParams

func NewPostAccessApikeyNameParams() *PostAccessApikeyNameParams

NewPostAccessApikeyNameParams creates a new PostAccessApikeyNameParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostAccessApikeyNameParamsWithContext

func NewPostAccessApikeyNameParamsWithContext(ctx context.Context) *PostAccessApikeyNameParams

NewPostAccessApikeyNameParamsWithContext creates a new PostAccessApikeyNameParams object with the ability to set a context for a request.

func NewPostAccessApikeyNameParamsWithHTTPClient

func NewPostAccessApikeyNameParamsWithHTTPClient(client *http.Client) *PostAccessApikeyNameParams

NewPostAccessApikeyNameParamsWithHTTPClient creates a new PostAccessApikeyNameParams object with the ability to set a custom HTTPClient for a request.

func NewPostAccessApikeyNameParamsWithTimeout

func NewPostAccessApikeyNameParamsWithTimeout(timeout time.Duration) *PostAccessApikeyNameParams

NewPostAccessApikeyNameParamsWithTimeout creates a new PostAccessApikeyNameParams object with the ability to set a timeout on a request.

func (*PostAccessApikeyNameParams) SetContext

func (o *PostAccessApikeyNameParams) SetContext(ctx context.Context)

SetContext adds the context to the post access apikey name params

func (*PostAccessApikeyNameParams) SetDefaults

func (o *PostAccessApikeyNameParams) SetDefaults()

SetDefaults hydrates default values in the post access apikey name params (not the query body).

All values with no default are reset to their zero value.

func (*PostAccessApikeyNameParams) SetHTTPClient

func (o *PostAccessApikeyNameParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post access apikey name params

func (*PostAccessApikeyNameParams) SetName

func (o *PostAccessApikeyNameParams) SetName(name string)

SetName adds the name to the post access apikey name params

func (*PostAccessApikeyNameParams) SetTimeout

func (o *PostAccessApikeyNameParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post access apikey name params

func (*PostAccessApikeyNameParams) WithContext

WithContext adds the context to the post access apikey name params

func (*PostAccessApikeyNameParams) WithDefaults

WithDefaults hydrates default values in the post access apikey name params (not the query body).

All values with no default are reset to their zero value.

func (*PostAccessApikeyNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post access apikey name params

func (*PostAccessApikeyNameParams) WithName

WithName adds the name to the post access apikey name params

func (*PostAccessApikeyNameParams) WithTimeout

WithTimeout adds the timeout to the post access apikey name params

func (*PostAccessApikeyNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAccessApikeyNameReader

type PostAccessApikeyNameReader struct {
	// contains filtered or unexported fields
}

PostAccessApikeyNameReader is a Reader for the PostAccessApikeyName structure.

func (*PostAccessApikeyNameReader) ReadResponse

func (o *PostAccessApikeyNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostAccessApikeyNameUnauthorized

type PostAccessApikeyNameUnauthorized struct {
	Payload string
}

PostAccessApikeyNameUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostAccessApikeyNameUnauthorized

func NewPostAccessApikeyNameUnauthorized() *PostAccessApikeyNameUnauthorized

NewPostAccessApikeyNameUnauthorized creates a PostAccessApikeyNameUnauthorized with default headers values

func (*PostAccessApikeyNameUnauthorized) Code

Code gets the status code for the post access apikey name unauthorized response

func (*PostAccessApikeyNameUnauthorized) Error

func (*PostAccessApikeyNameUnauthorized) GetPayload

func (o *PostAccessApikeyNameUnauthorized) GetPayload() string

func (*PostAccessApikeyNameUnauthorized) IsClientError

func (o *PostAccessApikeyNameUnauthorized) IsClientError() bool

IsClientError returns true when this post access apikey name unauthorized response has a 4xx status code

func (*PostAccessApikeyNameUnauthorized) IsCode

func (o *PostAccessApikeyNameUnauthorized) IsCode(code int) bool

IsCode returns true when this post access apikey name unauthorized response a status code equal to that given

func (*PostAccessApikeyNameUnauthorized) IsRedirect

func (o *PostAccessApikeyNameUnauthorized) IsRedirect() bool

IsRedirect returns true when this post access apikey name unauthorized response has a 3xx status code

func (*PostAccessApikeyNameUnauthorized) IsServerError

func (o *PostAccessApikeyNameUnauthorized) IsServerError() bool

IsServerError returns true when this post access apikey name unauthorized response has a 5xx status code

func (*PostAccessApikeyNameUnauthorized) IsSuccess

func (o *PostAccessApikeyNameUnauthorized) IsSuccess() bool

IsSuccess returns true when this post access apikey name unauthorized response has a 2xx status code

func (*PostAccessApikeyNameUnauthorized) String

type PostAccessApikeyOK added in v0.3.13

type PostAccessApikeyOK struct {
	Payload *models.ModelsCreateAPIKeyResponse
}

PostAccessApikeyOK describes a response with status code 200, with default header values.

OK

func NewPostAccessApikeyOK added in v0.3.13

func NewPostAccessApikeyOK() *PostAccessApikeyOK

NewPostAccessApikeyOK creates a PostAccessApikeyOK with default headers values

func (*PostAccessApikeyOK) Code added in v0.3.13

func (o *PostAccessApikeyOK) Code() int

Code gets the status code for the post access apikey o k response

func (*PostAccessApikeyOK) Error added in v0.3.13

func (o *PostAccessApikeyOK) Error() string

func (*PostAccessApikeyOK) GetPayload added in v0.3.13

func (*PostAccessApikeyOK) IsClientError added in v0.3.13

func (o *PostAccessApikeyOK) IsClientError() bool

IsClientError returns true when this post access apikey o k response has a 4xx status code

func (*PostAccessApikeyOK) IsCode added in v0.3.13

func (o *PostAccessApikeyOK) IsCode(code int) bool

IsCode returns true when this post access apikey o k response a status code equal to that given

func (*PostAccessApikeyOK) IsRedirect added in v0.3.13

func (o *PostAccessApikeyOK) IsRedirect() bool

IsRedirect returns true when this post access apikey o k response has a 3xx status code

func (*PostAccessApikeyOK) IsServerError added in v0.3.13

func (o *PostAccessApikeyOK) IsServerError() bool

IsServerError returns true when this post access apikey o k response has a 5xx status code

func (*PostAccessApikeyOK) IsSuccess added in v0.3.13

func (o *PostAccessApikeyOK) IsSuccess() bool

IsSuccess returns true when this post access apikey o k response has a 2xx status code

func (*PostAccessApikeyOK) String added in v0.3.13

func (o *PostAccessApikeyOK) String() string

type PostAccessApikeyParams added in v0.3.13

type PostAccessApikeyParams struct {

	/* Request.

	   Create API Key Request
	*/
	Request *models.ModelsCreateAPIKeyRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAccessApikeyParams contains all the parameters to send to the API endpoint

for the post access apikey operation.

Typically these are written to a http.Request.

func NewPostAccessApikeyParams added in v0.3.13

func NewPostAccessApikeyParams() *PostAccessApikeyParams

NewPostAccessApikeyParams creates a new PostAccessApikeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostAccessApikeyParamsWithContext added in v0.3.13

func NewPostAccessApikeyParamsWithContext(ctx context.Context) *PostAccessApikeyParams

NewPostAccessApikeyParamsWithContext creates a new PostAccessApikeyParams object with the ability to set a context for a request.

func NewPostAccessApikeyParamsWithHTTPClient added in v0.3.13

func NewPostAccessApikeyParamsWithHTTPClient(client *http.Client) *PostAccessApikeyParams

NewPostAccessApikeyParamsWithHTTPClient creates a new PostAccessApikeyParams object with the ability to set a custom HTTPClient for a request.

func NewPostAccessApikeyParamsWithTimeout added in v0.3.13

func NewPostAccessApikeyParamsWithTimeout(timeout time.Duration) *PostAccessApikeyParams

NewPostAccessApikeyParamsWithTimeout creates a new PostAccessApikeyParams object with the ability to set a timeout on a request.

func (*PostAccessApikeyParams) SetContext added in v0.3.13

func (o *PostAccessApikeyParams) SetContext(ctx context.Context)

SetContext adds the context to the post access apikey params

func (*PostAccessApikeyParams) SetDefaults added in v0.3.13

func (o *PostAccessApikeyParams) SetDefaults()

SetDefaults hydrates default values in the post access apikey params (not the query body).

All values with no default are reset to their zero value.

func (*PostAccessApikeyParams) SetHTTPClient added in v0.3.13

func (o *PostAccessApikeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post access apikey params

func (*PostAccessApikeyParams) SetRequest added in v0.3.13

SetRequest adds the request to the post access apikey params

func (*PostAccessApikeyParams) SetTimeout added in v0.3.13

func (o *PostAccessApikeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post access apikey params

func (*PostAccessApikeyParams) WithContext added in v0.3.13

WithContext adds the context to the post access apikey params

func (*PostAccessApikeyParams) WithDefaults added in v0.3.13

WithDefaults hydrates default values in the post access apikey params (not the query body).

All values with no default are reset to their zero value.

func (*PostAccessApikeyParams) WithHTTPClient added in v0.3.13

func (o *PostAccessApikeyParams) WithHTTPClient(client *http.Client) *PostAccessApikeyParams

WithHTTPClient adds the HTTPClient to the post access apikey params

func (*PostAccessApikeyParams) WithRequest added in v0.3.13

WithRequest adds the request to the post access apikey params

func (*PostAccessApikeyParams) WithTimeout added in v0.3.13

WithTimeout adds the timeout to the post access apikey params

func (*PostAccessApikeyParams) WriteToRequest added in v0.3.13

WriteToRequest writes these params to a swagger request

type PostAccessApikeyReader added in v0.3.13

type PostAccessApikeyReader struct {
	// contains filtered or unexported fields
}

PostAccessApikeyReader is a Reader for the PostAccessApikey structure.

func (*PostAccessApikeyReader) ReadResponse added in v0.3.13

func (o *PostAccessApikeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostAccessApikeyUnauthorized added in v0.3.13

type PostAccessApikeyUnauthorized struct {
	Payload string
}

PostAccessApikeyUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostAccessApikeyUnauthorized added in v0.3.13

func NewPostAccessApikeyUnauthorized() *PostAccessApikeyUnauthorized

NewPostAccessApikeyUnauthorized creates a PostAccessApikeyUnauthorized with default headers values

func (*PostAccessApikeyUnauthorized) Code added in v0.3.13

Code gets the status code for the post access apikey unauthorized response

func (*PostAccessApikeyUnauthorized) Error added in v0.3.13

func (*PostAccessApikeyUnauthorized) GetPayload added in v0.3.13

func (o *PostAccessApikeyUnauthorized) GetPayload() string

func (*PostAccessApikeyUnauthorized) IsClientError added in v0.3.13

func (o *PostAccessApikeyUnauthorized) IsClientError() bool

IsClientError returns true when this post access apikey unauthorized response has a 4xx status code

func (*PostAccessApikeyUnauthorized) IsCode added in v0.3.13

func (o *PostAccessApikeyUnauthorized) IsCode(code int) bool

IsCode returns true when this post access apikey unauthorized response a status code equal to that given

func (*PostAccessApikeyUnauthorized) IsRedirect added in v0.3.13

func (o *PostAccessApikeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this post access apikey unauthorized response has a 3xx status code

func (*PostAccessApikeyUnauthorized) IsServerError added in v0.3.13

func (o *PostAccessApikeyUnauthorized) IsServerError() bool

IsServerError returns true when this post access apikey unauthorized response has a 5xx status code

func (*PostAccessApikeyUnauthorized) IsSuccess added in v0.3.13

func (o *PostAccessApikeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this post access apikey unauthorized response has a 2xx status code

func (*PostAccessApikeyUnauthorized) String added in v0.3.13

Jump to

Keyboard shortcuts

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