access

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 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) DeleteAccessApikeyID

func (a *Client) DeleteAccessApikeyID(params *DeleteAccessApikeyIDParams, opts ...ClientOption) (*DeleteAccessApikeyIDOK, error)

DeleteAccessApikeyID deletes API key deletes an API key given its ID if the user s session is tied to an organization the API key must be for that organization

DeleteAPIKey deletes an API Key given its 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 API key lists all API keys for a user if the user s session is tied to an organization only API keys for that organization will be returned

ListAPIKey lists all API Keys for a user. If the user's session is tied to an organization, only API Keys for that organization will be returned.

func (*Client) GetAccessApikeyName

func (a *Client) GetAccessApikeyName(params *GetAccessApikeyNameParams, opts ...ClientOption) (*GetAccessApikeyNameOK, error)

GetAccessApikeyName gets API key gets information about a specific API key given its name if the user s session is tied to an organization the API key must be for that organization

GetAPIKey gets information about a specific API Key given its name. If the user's session is tied to an organization, the API Key must be for that organization.

func (*Client) PostAccessApikeyName

func (a *Client) PostAccessApikeyName(params *PostAccessApikeyNameParams, opts ...ClientOption) (*PostAccessApikeyNameOK, error)

PostAccessApikeyName creates API key creates a new API key with the given name scoped to all the organizations the user is a member of if the user s session is tied to an organization the API key will be scoped to that organization

CreateAPIKey creates a new API Key with the given name scoped to all the organizations the user is a member of. If the user's session is tied to an organization, the 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 {
	DeleteAccessApikeyID(params *DeleteAccessApikeyIDParams, opts ...ClientOption) (*DeleteAccessApikeyIDOK, error)

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

	GetAccessApikeyName(params *GetAccessApikeyNameParams, opts ...ClientOption) (*GetAccessApikeyNameOK, error)

	PostAccessApikeyName(params *PostAccessApikeyNameParams, opts ...ClientOption) (*PostAccessApikeyNameOK, 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 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 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 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

Jump to

Keyboard shortcuts

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