access

package
v0.1.7-dev8 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 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

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

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

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 DeleteAccessApikeyNameoridInternalServerError

type DeleteAccessApikeyNameoridInternalServerError struct {
	Payload string
}

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

Internal Server Error

func NewDeleteAccessApikeyNameoridInternalServerError

func NewDeleteAccessApikeyNameoridInternalServerError() *DeleteAccessApikeyNameoridInternalServerError

NewDeleteAccessApikeyNameoridInternalServerError creates a DeleteAccessApikeyNameoridInternalServerError with default headers values

func (*DeleteAccessApikeyNameoridInternalServerError) Code

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

func (*DeleteAccessApikeyNameoridInternalServerError) Error

func (*DeleteAccessApikeyNameoridInternalServerError) GetPayload

func (*DeleteAccessApikeyNameoridInternalServerError) IsClientError

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

func (*DeleteAccessApikeyNameoridInternalServerError) IsCode

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

func (*DeleteAccessApikeyNameoridInternalServerError) IsRedirect

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

func (*DeleteAccessApikeyNameoridInternalServerError) IsServerError

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

func (*DeleteAccessApikeyNameoridInternalServerError) IsSuccess

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

func (*DeleteAccessApikeyNameoridInternalServerError) String

type DeleteAccessApikeyNameoridNotFound

type DeleteAccessApikeyNameoridNotFound struct {
	Payload string
}

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

Not Found

func NewDeleteAccessApikeyNameoridNotFound

func NewDeleteAccessApikeyNameoridNotFound() *DeleteAccessApikeyNameoridNotFound

NewDeleteAccessApikeyNameoridNotFound creates a DeleteAccessApikeyNameoridNotFound with default headers values

func (*DeleteAccessApikeyNameoridNotFound) Code

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

func (*DeleteAccessApikeyNameoridNotFound) Error

func (*DeleteAccessApikeyNameoridNotFound) GetPayload

func (*DeleteAccessApikeyNameoridNotFound) IsClientError

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

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

func (*DeleteAccessApikeyNameoridNotFound) IsRedirect

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

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

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

func (*DeleteAccessApikeyNameoridNotFound) String

type DeleteAccessApikeyNameoridOK

type DeleteAccessApikeyNameoridOK struct {
	Payload string
}

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

OK

func NewDeleteAccessApikeyNameoridOK

func NewDeleteAccessApikeyNameoridOK() *DeleteAccessApikeyNameoridOK

NewDeleteAccessApikeyNameoridOK creates a DeleteAccessApikeyNameoridOK with default headers values

func (*DeleteAccessApikeyNameoridOK) Code

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

func (*DeleteAccessApikeyNameoridOK) Error

func (*DeleteAccessApikeyNameoridOK) GetPayload

func (o *DeleteAccessApikeyNameoridOK) GetPayload() string

func (*DeleteAccessApikeyNameoridOK) IsClientError

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

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

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

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

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

type DeleteAccessApikeyNameoridParams

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

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

func NewDeleteAccessApikeyNameoridParamsWithContext(ctx context.Context) *DeleteAccessApikeyNameoridParams

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

func NewDeleteAccessApikeyNameoridParamsWithHTTPClient

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

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

SetContext adds the context to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) SetNameorid

func (o *DeleteAccessApikeyNameoridParams) SetNameorid(nameorid string)

SetNameorid adds the nameorid to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) SetTimeout

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

SetTimeout adds the timeout to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) WithContext

WithContext adds the context to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) WithNameorid

WithNameorid adds the nameorid to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) WithTimeout

WithTimeout adds the timeout to the delete access apikey nameorid params

func (*DeleteAccessApikeyNameoridParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAccessApikeyNameoridReader

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

DeleteAccessApikeyNameoridReader is a Reader for the DeleteAccessApikeyNameorid structure.

func (*DeleteAccessApikeyNameoridReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAccessApikeyNameoridUnauthorized

type DeleteAccessApikeyNameoridUnauthorized struct {
	Payload string
}

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

Unauthorized

func NewDeleteAccessApikeyNameoridUnauthorized

func NewDeleteAccessApikeyNameoridUnauthorized() *DeleteAccessApikeyNameoridUnauthorized

NewDeleteAccessApikeyNameoridUnauthorized creates a DeleteAccessApikeyNameoridUnauthorized with default headers values

func (*DeleteAccessApikeyNameoridUnauthorized) Code

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

func (*DeleteAccessApikeyNameoridUnauthorized) Error

func (*DeleteAccessApikeyNameoridUnauthorized) GetPayload

func (*DeleteAccessApikeyNameoridUnauthorized) IsClientError

func (o *DeleteAccessApikeyNameoridUnauthorized) IsClientError() bool

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

func (*DeleteAccessApikeyNameoridUnauthorized) IsCode

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

func (*DeleteAccessApikeyNameoridUnauthorized) IsRedirect

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

func (*DeleteAccessApikeyNameoridUnauthorized) IsServerError

func (o *DeleteAccessApikeyNameoridUnauthorized) IsServerError() bool

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

func (*DeleteAccessApikeyNameoridUnauthorized) IsSuccess

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

func (*DeleteAccessApikeyNameoridUnauthorized) String

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 GetAccessApikeyNameoridInternalServerError

type GetAccessApikeyNameoridInternalServerError struct {
	Payload string
}

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

Internal Server Error

func NewGetAccessApikeyNameoridInternalServerError

func NewGetAccessApikeyNameoridInternalServerError() *GetAccessApikeyNameoridInternalServerError

NewGetAccessApikeyNameoridInternalServerError creates a GetAccessApikeyNameoridInternalServerError with default headers values

func (*GetAccessApikeyNameoridInternalServerError) Code

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

func (*GetAccessApikeyNameoridInternalServerError) Error

func (*GetAccessApikeyNameoridInternalServerError) GetPayload

func (*GetAccessApikeyNameoridInternalServerError) IsClientError

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

func (*GetAccessApikeyNameoridInternalServerError) IsCode

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

func (*GetAccessApikeyNameoridInternalServerError) IsRedirect

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

func (*GetAccessApikeyNameoridInternalServerError) IsServerError

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

func (*GetAccessApikeyNameoridInternalServerError) IsSuccess

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

func (*GetAccessApikeyNameoridInternalServerError) String

type GetAccessApikeyNameoridNotFound

type GetAccessApikeyNameoridNotFound struct {
	Payload string
}

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

Not Found

func NewGetAccessApikeyNameoridNotFound

func NewGetAccessApikeyNameoridNotFound() *GetAccessApikeyNameoridNotFound

NewGetAccessApikeyNameoridNotFound creates a GetAccessApikeyNameoridNotFound with default headers values

func (*GetAccessApikeyNameoridNotFound) Code

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

func (*GetAccessApikeyNameoridNotFound) Error

func (*GetAccessApikeyNameoridNotFound) GetPayload

func (o *GetAccessApikeyNameoridNotFound) GetPayload() string

func (*GetAccessApikeyNameoridNotFound) IsClientError

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

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

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

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

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

type GetAccessApikeyNameoridOK

type GetAccessApikeyNameoridOK struct {
	Payload *models.ModelsGetAPIKeyResponse
}

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

OK

func NewGetAccessApikeyNameoridOK

func NewGetAccessApikeyNameoridOK() *GetAccessApikeyNameoridOK

NewGetAccessApikeyNameoridOK creates a GetAccessApikeyNameoridOK with default headers values

func (*GetAccessApikeyNameoridOK) Code

func (o *GetAccessApikeyNameoridOK) Code() int

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

func (*GetAccessApikeyNameoridOK) Error

func (o *GetAccessApikeyNameoridOK) Error() string

func (*GetAccessApikeyNameoridOK) GetPayload

func (*GetAccessApikeyNameoridOK) IsClientError

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

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

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

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

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

func (o *GetAccessApikeyNameoridOK) String() string

type GetAccessApikeyNameoridParams

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

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

func NewGetAccessApikeyNameoridParamsWithContext(ctx context.Context) *GetAccessApikeyNameoridParams

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

func NewGetAccessApikeyNameoridParamsWithHTTPClient

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

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

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

SetContext adds the context to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) SetNameorid

func (o *GetAccessApikeyNameoridParams) SetNameorid(nameorid string)

SetNameorid adds the nameorid to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) SetTimeout

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

SetTimeout adds the timeout to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) WithContext

WithContext adds the context to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) WithNameorid

WithNameorid adds the nameorid to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) WithTimeout

WithTimeout adds the timeout to the get access apikey nameorid params

func (*GetAccessApikeyNameoridParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccessApikeyNameoridReader

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

GetAccessApikeyNameoridReader is a Reader for the GetAccessApikeyNameorid structure.

func (*GetAccessApikeyNameoridReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccessApikeyNameoridUnauthorized

type GetAccessApikeyNameoridUnauthorized struct {
	Payload string
}

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

Unauthorized

func NewGetAccessApikeyNameoridUnauthorized

func NewGetAccessApikeyNameoridUnauthorized() *GetAccessApikeyNameoridUnauthorized

NewGetAccessApikeyNameoridUnauthorized creates a GetAccessApikeyNameoridUnauthorized with default headers values

func (*GetAccessApikeyNameoridUnauthorized) Code

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

func (*GetAccessApikeyNameoridUnauthorized) Error

func (*GetAccessApikeyNameoridUnauthorized) GetPayload

func (*GetAccessApikeyNameoridUnauthorized) IsClientError

func (o *GetAccessApikeyNameoridUnauthorized) IsClientError() bool

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

func (*GetAccessApikeyNameoridUnauthorized) IsCode

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

func (*GetAccessApikeyNameoridUnauthorized) IsRedirect

func (o *GetAccessApikeyNameoridUnauthorized) IsRedirect() bool

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

func (*GetAccessApikeyNameoridUnauthorized) IsServerError

func (o *GetAccessApikeyNameoridUnauthorized) IsServerError() bool

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

func (*GetAccessApikeyNameoridUnauthorized) IsSuccess

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

func (*GetAccessApikeyNameoridUnauthorized) String

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

type PostAccessApikeyBadRequest struct {
	Payload string
}

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

Bad Request

func NewPostAccessApikeyBadRequest

func NewPostAccessApikeyBadRequest() *PostAccessApikeyBadRequest

NewPostAccessApikeyBadRequest creates a PostAccessApikeyBadRequest with default headers values

func (*PostAccessApikeyBadRequest) Code

func (o *PostAccessApikeyBadRequest) Code() int

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

func (*PostAccessApikeyBadRequest) Error

func (*PostAccessApikeyBadRequest) GetPayload

func (o *PostAccessApikeyBadRequest) GetPayload() string

func (*PostAccessApikeyBadRequest) IsClientError

func (o *PostAccessApikeyBadRequest) IsClientError() bool

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

func (*PostAccessApikeyBadRequest) IsCode

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

func (o *PostAccessApikeyBadRequest) IsRedirect() bool

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

func (*PostAccessApikeyBadRequest) IsServerError

func (o *PostAccessApikeyBadRequest) IsServerError() bool

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

func (*PostAccessApikeyBadRequest) IsSuccess

func (o *PostAccessApikeyBadRequest) IsSuccess() bool

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

func (*PostAccessApikeyBadRequest) String

func (o *PostAccessApikeyBadRequest) String() string

type PostAccessApikeyInternalServerError

type PostAccessApikeyInternalServerError struct {
	Payload string
}

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

Internal Server Error

func NewPostAccessApikeyInternalServerError

func NewPostAccessApikeyInternalServerError() *PostAccessApikeyInternalServerError

NewPostAccessApikeyInternalServerError creates a PostAccessApikeyInternalServerError with default headers values

func (*PostAccessApikeyInternalServerError) Code

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

func (*PostAccessApikeyInternalServerError) Error

func (*PostAccessApikeyInternalServerError) GetPayload

func (*PostAccessApikeyInternalServerError) IsClientError

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

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

func (*PostAccessApikeyInternalServerError) IsRedirect

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

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

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

func (*PostAccessApikeyInternalServerError) String

type PostAccessApikeyOK

type PostAccessApikeyOK struct {
	Payload *models.ModelsCreateAPIKeyResponse
}

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

OK

func NewPostAccessApikeyOK

func NewPostAccessApikeyOK() *PostAccessApikeyOK

NewPostAccessApikeyOK creates a PostAccessApikeyOK with default headers values

func (*PostAccessApikeyOK) Code

func (o *PostAccessApikeyOK) Code() int

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

func (*PostAccessApikeyOK) Error

func (o *PostAccessApikeyOK) Error() string

func (*PostAccessApikeyOK) GetPayload

func (*PostAccessApikeyOK) IsClientError

func (o *PostAccessApikeyOK) IsClientError() bool

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

func (*PostAccessApikeyOK) IsCode

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

func (o *PostAccessApikeyOK) IsRedirect() bool

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

func (*PostAccessApikeyOK) IsServerError

func (o *PostAccessApikeyOK) IsServerError() bool

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

func (*PostAccessApikeyOK) IsSuccess

func (o *PostAccessApikeyOK) IsSuccess() bool

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

func (*PostAccessApikeyOK) String

func (o *PostAccessApikeyOK) String() string

type PostAccessApikeyParams

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

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

func NewPostAccessApikeyParamsWithContext(ctx context.Context) *PostAccessApikeyParams

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

func NewPostAccessApikeyParamsWithHTTPClient

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

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

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

SetContext adds the context to the post access apikey params

func (*PostAccessApikeyParams) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the post access apikey params

func (*PostAccessApikeyParams) SetRequest

SetRequest adds the request to the post access apikey params

func (*PostAccessApikeyParams) SetTimeout

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

SetTimeout adds the timeout to the post access apikey params

func (*PostAccessApikeyParams) WithContext

WithContext adds the context to the post access apikey params

func (*PostAccessApikeyParams) WithDefaults

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

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

WithHTTPClient adds the HTTPClient to the post access apikey params

func (*PostAccessApikeyParams) WithRequest

WithRequest adds the request to the post access apikey params

func (*PostAccessApikeyParams) WithTimeout

WithTimeout adds the timeout to the post access apikey params

func (*PostAccessApikeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAccessApikeyReader

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

PostAccessApikeyReader is a Reader for the PostAccessApikey structure.

func (*PostAccessApikeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAccessApikeyUnauthorized

type PostAccessApikeyUnauthorized struct {
	Payload string
}

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

Unauthorized

func NewPostAccessApikeyUnauthorized

func NewPostAccessApikeyUnauthorized() *PostAccessApikeyUnauthorized

NewPostAccessApikeyUnauthorized creates a PostAccessApikeyUnauthorized with default headers values

func (*PostAccessApikeyUnauthorized) Code

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

func (*PostAccessApikeyUnauthorized) Error

func (*PostAccessApikeyUnauthorized) GetPayload

func (o *PostAccessApikeyUnauthorized) GetPayload() string

func (*PostAccessApikeyUnauthorized) IsClientError

func (o *PostAccessApikeyUnauthorized) IsClientError() bool

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

func (*PostAccessApikeyUnauthorized) IsCode

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

func (o *PostAccessApikeyUnauthorized) IsRedirect() bool

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

func (*PostAccessApikeyUnauthorized) IsServerError

func (o *PostAccessApikeyUnauthorized) IsServerError() bool

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

func (*PostAccessApikeyUnauthorized) IsSuccess

func (o *PostAccessApikeyUnauthorized) IsSuccess() bool

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

func (*PostAccessApikeyUnauthorized) String

Jump to

Keyboard shortcuts

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