client

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddClientBadRequest

type AddClientBadRequest struct {
}

AddClientBadRequest handles this case with default header values.

Unable to process request

func NewAddClientBadRequest

func NewAddClientBadRequest() *AddClientBadRequest

NewAddClientBadRequest creates a AddClientBadRequest with default headers values

func (*AddClientBadRequest) Error

func (o *AddClientBadRequest) Error() string

type AddClientForbidden

type AddClientForbidden struct {
}

AddClientForbidden handles this case with default header values.

Not authorized

func NewAddClientForbidden

func NewAddClientForbidden() *AddClientForbidden

NewAddClientForbidden creates a AddClientForbidden with default headers values

func (*AddClientForbidden) Error

func (o *AddClientForbidden) Error() string

type AddClientInternalServerError

type AddClientInternalServerError struct {
}

AddClientInternalServerError handles this case with default header values.

Internal server error

func NewAddClientInternalServerError

func NewAddClientInternalServerError() *AddClientInternalServerError

NewAddClientInternalServerError creates a AddClientInternalServerError with default headers values

func (*AddClientInternalServerError) Error

type AddClientOK

type AddClientOK struct {
	Payload *models.Client
}

AddClientOK handles this case with default header values.

Successful registration of a new client.

func NewAddClientOK

func NewAddClientOK() *AddClientOK

NewAddClientOK creates a AddClientOK with default headers values

func (*AddClientOK) Error

func (o *AddClientOK) Error() string

type AddClientParams

type AddClientParams struct {

	/*Client*/
	Client *models.Client

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

AddClientParams contains all the parameters to send to the API endpoint for the add client operation typically these are written to a http.Request

func NewAddClientParams

func NewAddClientParams() *AddClientParams

NewAddClientParams creates a new AddClientParams object with the default values initialized.

func NewAddClientParamsWithContext

func NewAddClientParamsWithContext(ctx context.Context) *AddClientParams

NewAddClientParamsWithContext creates a new AddClientParams object with the default values initialized, and the ability to set a context for a request

func NewAddClientParamsWithHTTPClient

func NewAddClientParamsWithHTTPClient(client *http.Client) *AddClientParams

NewAddClientParamsWithHTTPClient creates a new AddClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddClientParamsWithTimeout

func NewAddClientParamsWithTimeout(timeout time.Duration) *AddClientParams

NewAddClientParamsWithTimeout creates a new AddClientParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddClientParams) SetClient

func (o *AddClientParams) SetClient(client *models.Client)

SetClient adds the client to the add client params

func (*AddClientParams) SetContext

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

SetContext adds the context to the add client params

func (*AddClientParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add client params

func (*AddClientParams) SetTimeout

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

SetTimeout adds the timeout to the add client params

func (*AddClientParams) WithClient

func (o *AddClientParams) WithClient(client *models.Client) *AddClientParams

WithClient adds the client to the add client params

func (*AddClientParams) WithContext

func (o *AddClientParams) WithContext(ctx context.Context) *AddClientParams

WithContext adds the context to the add client params

func (*AddClientParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add client params

func (*AddClientParams) WithTimeout

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

WithTimeout adds the timeout to the add client params

func (*AddClientParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddClientPublicKeyBadRequest

type AddClientPublicKeyBadRequest struct {
}

AddClientPublicKeyBadRequest handles this case with default header values.

Unable to process request

func NewAddClientPublicKeyBadRequest

func NewAddClientPublicKeyBadRequest() *AddClientPublicKeyBadRequest

NewAddClientPublicKeyBadRequest creates a AddClientPublicKeyBadRequest with default headers values

func (*AddClientPublicKeyBadRequest) Error

type AddClientPublicKeyForbidden

type AddClientPublicKeyForbidden struct {
}

AddClientPublicKeyForbidden handles this case with default header values.

Not authorized

func NewAddClientPublicKeyForbidden

func NewAddClientPublicKeyForbidden() *AddClientPublicKeyForbidden

NewAddClientPublicKeyForbidden creates a AddClientPublicKeyForbidden with default headers values

func (*AddClientPublicKeyForbidden) Error

type AddClientPublicKeyInternalServerError

type AddClientPublicKeyInternalServerError struct {
}

AddClientPublicKeyInternalServerError handles this case with default header values.

Internal server error

func NewAddClientPublicKeyInternalServerError

func NewAddClientPublicKeyInternalServerError() *AddClientPublicKeyInternalServerError

NewAddClientPublicKeyInternalServerError creates a AddClientPublicKeyInternalServerError with default headers values

func (*AddClientPublicKeyInternalServerError) Error

type AddClientPublicKeyOK

type AddClientPublicKeyOK struct {
	Payload *models.PublicKey
}

AddClientPublicKeyOK handles this case with default header values.

Public key for the client successfully added

func NewAddClientPublicKeyOK

func NewAddClientPublicKeyOK() *AddClientPublicKeyOK

NewAddClientPublicKeyOK creates a AddClientPublicKeyOK with default headers values

func (*AddClientPublicKeyOK) Error

func (o *AddClientPublicKeyOK) Error() string

type AddClientPublicKeyParams

type AddClientPublicKeyParams struct {

	/*ClientID*/
	ClientID string
	/*NewPublicKey*/
	NewPublicKey *models.PublicKey

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

AddClientPublicKeyParams contains all the parameters to send to the API endpoint for the add client public key operation typically these are written to a http.Request

func NewAddClientPublicKeyParams

func NewAddClientPublicKeyParams() *AddClientPublicKeyParams

NewAddClientPublicKeyParams creates a new AddClientPublicKeyParams object with the default values initialized.

func NewAddClientPublicKeyParamsWithContext

func NewAddClientPublicKeyParamsWithContext(ctx context.Context) *AddClientPublicKeyParams

NewAddClientPublicKeyParamsWithContext creates a new AddClientPublicKeyParams object with the default values initialized, and the ability to set a context for a request

func NewAddClientPublicKeyParamsWithHTTPClient

func NewAddClientPublicKeyParamsWithHTTPClient(client *http.Client) *AddClientPublicKeyParams

NewAddClientPublicKeyParamsWithHTTPClient creates a new AddClientPublicKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddClientPublicKeyParamsWithTimeout

func NewAddClientPublicKeyParamsWithTimeout(timeout time.Duration) *AddClientPublicKeyParams

NewAddClientPublicKeyParamsWithTimeout creates a new AddClientPublicKeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddClientPublicKeyParams) SetClientID

func (o *AddClientPublicKeyParams) SetClientID(clientID string)

SetClientID adds the clientId to the add client public key params

func (*AddClientPublicKeyParams) SetContext

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

SetContext adds the context to the add client public key params

func (*AddClientPublicKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add client public key params

func (*AddClientPublicKeyParams) SetNewPublicKey

func (o *AddClientPublicKeyParams) SetNewPublicKey(newPublicKey *models.PublicKey)

SetNewPublicKey adds the newPublicKey to the add client public key params

func (*AddClientPublicKeyParams) SetTimeout

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

SetTimeout adds the timeout to the add client public key params

func (*AddClientPublicKeyParams) WithClientID

func (o *AddClientPublicKeyParams) WithClientID(clientID string) *AddClientPublicKeyParams

WithClientID adds the clientID to the add client public key params

func (*AddClientPublicKeyParams) WithContext

WithContext adds the context to the add client public key params

func (*AddClientPublicKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add client public key params

func (*AddClientPublicKeyParams) WithNewPublicKey

func (o *AddClientPublicKeyParams) WithNewPublicKey(newPublicKey *models.PublicKey) *AddClientPublicKeyParams

WithNewPublicKey adds the newPublicKey to the add client public key params

func (*AddClientPublicKeyParams) WithTimeout

WithTimeout adds the timeout to the add client public key params

func (*AddClientPublicKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddClientPublicKeyReader

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

AddClientPublicKeyReader is a Reader for the AddClientPublicKey structure.

func (*AddClientPublicKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddClientPublicKeyUnauthorized

type AddClientPublicKeyUnauthorized struct {
}

AddClientPublicKeyUnauthorized handles this case with default header values.

Not authenticated

func NewAddClientPublicKeyUnauthorized

func NewAddClientPublicKeyUnauthorized() *AddClientPublicKeyUnauthorized

NewAddClientPublicKeyUnauthorized creates a AddClientPublicKeyUnauthorized with default headers values

func (*AddClientPublicKeyUnauthorized) Error

type AddClientReader

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

AddClientReader is a Reader for the AddClient structure.

func (*AddClientReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddClientUnauthorized

type AddClientUnauthorized struct {
}

AddClientUnauthorized handles this case with default header values.

Not authenticated

func NewAddClientUnauthorized

func NewAddClientUnauthorized() *AddClientUnauthorized

NewAddClientUnauthorized creates a AddClientUnauthorized with default headers values

func (*AddClientUnauthorized) Error

func (o *AddClientUnauthorized) Error() string

type Client

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

Client for client API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new client API client.

func (*Client) AddClient

func (a *Client) AddClient(params *AddClientParams, authInfo runtime.ClientAuthInfoWriter) (*AddClientOK, error)

AddClient registers a new client

func (*Client) AddClientPublicKey

func (a *Client) AddClientPublicKey(params *AddClientPublicKeyParams, authInfo runtime.ClientAuthInfoWriter) (*AddClientPublicKeyOK, error)

AddClientPublicKey registers a new public key for the client

func (*Client) DeleteClient

func (a *Client) DeleteClient(params *DeleteClientParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClientOK, error)

DeleteClient removes an existing organization

func (*Client) GetClient

func (a *Client) GetClient(params *GetClientParams, authInfo runtime.ClientAuthInfoWriter) (*GetClientOK, error)

GetClient gets an existing client

func (*Client) ReturnPagedClientIds added in v0.0.9

func (a *Client) ReturnPagedClientIds(params *ReturnPagedClientIdsParams, authInfo runtime.ClientAuthInfoWriter) (*ReturnPagedClientIdsOK, error)

ReturnPagedClientIds returns a page of client ids that belong to the authenticated org

func (*Client) ReturnPagedClients added in v0.1.1

func (a *Client) ReturnPagedClients(params *ReturnPagedClientsParams, authInfo runtime.ClientAuthInfoWriter) (*ReturnPagedClientsOK, error)

ReturnPagedClients returns a page of client objects that belong to the authenticated org

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteClientBadRequest

type DeleteClientBadRequest struct {
}

DeleteClientBadRequest handles this case with default header values.

Unable to process request

func NewDeleteClientBadRequest

func NewDeleteClientBadRequest() *DeleteClientBadRequest

NewDeleteClientBadRequest creates a DeleteClientBadRequest with default headers values

func (*DeleteClientBadRequest) Error

func (o *DeleteClientBadRequest) Error() string

type DeleteClientForbidden

type DeleteClientForbidden struct {
}

DeleteClientForbidden handles this case with default header values.

Not authorized

func NewDeleteClientForbidden

func NewDeleteClientForbidden() *DeleteClientForbidden

NewDeleteClientForbidden creates a DeleteClientForbidden with default headers values

func (*DeleteClientForbidden) Error

func (o *DeleteClientForbidden) Error() string

type DeleteClientInternalServerError

type DeleteClientInternalServerError struct {
}

DeleteClientInternalServerError handles this case with default header values.

Internal server error

func NewDeleteClientInternalServerError

func NewDeleteClientInternalServerError() *DeleteClientInternalServerError

NewDeleteClientInternalServerError creates a DeleteClientInternalServerError with default headers values

func (*DeleteClientInternalServerError) Error

type DeleteClientOK

type DeleteClientOK struct {
	Payload *models.Client
}

DeleteClientOK handles this case with default header values.

Successful update of an existing client.

func NewDeleteClientOK

func NewDeleteClientOK() *DeleteClientOK

NewDeleteClientOK creates a DeleteClientOK with default headers values

func (*DeleteClientOK) Error

func (o *DeleteClientOK) Error() string

type DeleteClientParams

type DeleteClientParams struct {

	/*ClientID*/
	ClientID string

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

DeleteClientParams contains all the parameters to send to the API endpoint for the delete client operation typically these are written to a http.Request

func NewDeleteClientParams

func NewDeleteClientParams() *DeleteClientParams

NewDeleteClientParams creates a new DeleteClientParams object with the default values initialized.

func NewDeleteClientParamsWithContext

func NewDeleteClientParamsWithContext(ctx context.Context) *DeleteClientParams

NewDeleteClientParamsWithContext creates a new DeleteClientParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteClientParamsWithHTTPClient

func NewDeleteClientParamsWithHTTPClient(client *http.Client) *DeleteClientParams

NewDeleteClientParamsWithHTTPClient creates a new DeleteClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteClientParamsWithTimeout

func NewDeleteClientParamsWithTimeout(timeout time.Duration) *DeleteClientParams

NewDeleteClientParamsWithTimeout creates a new DeleteClientParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteClientParams) SetClientID

func (o *DeleteClientParams) SetClientID(clientID string)

SetClientID adds the clientId to the delete client params

func (*DeleteClientParams) SetContext

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

SetContext adds the context to the delete client params

func (*DeleteClientParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete client params

func (*DeleteClientParams) SetTimeout

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

SetTimeout adds the timeout to the delete client params

func (*DeleteClientParams) WithClientID

func (o *DeleteClientParams) WithClientID(clientID string) *DeleteClientParams

WithClientID adds the clientID to the delete client params

func (*DeleteClientParams) WithContext

WithContext adds the context to the delete client params

func (*DeleteClientParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete client params

func (*DeleteClientParams) WithTimeout

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

WithTimeout adds the timeout to the delete client params

func (*DeleteClientParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteClientReader

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

DeleteClientReader is a Reader for the DeleteClient structure.

func (*DeleteClientReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteClientUnauthorized

type DeleteClientUnauthorized struct {
}

DeleteClientUnauthorized handles this case with default header values.

Not authenticated

func NewDeleteClientUnauthorized

func NewDeleteClientUnauthorized() *DeleteClientUnauthorized

NewDeleteClientUnauthorized creates a DeleteClientUnauthorized with default headers values

func (*DeleteClientUnauthorized) Error

func (o *DeleteClientUnauthorized) Error() string

type GetClientBadRequest

type GetClientBadRequest struct {
}

GetClientBadRequest handles this case with default header values.

Unable to process request

func NewGetClientBadRequest

func NewGetClientBadRequest() *GetClientBadRequest

NewGetClientBadRequest creates a GetClientBadRequest with default headers values

func (*GetClientBadRequest) Error

func (o *GetClientBadRequest) Error() string

type GetClientForbidden

type GetClientForbidden struct {
}

GetClientForbidden handles this case with default header values.

Not authorized

func NewGetClientForbidden

func NewGetClientForbidden() *GetClientForbidden

NewGetClientForbidden creates a GetClientForbidden with default headers values

func (*GetClientForbidden) Error

func (o *GetClientForbidden) Error() string

type GetClientInternalServerError

type GetClientInternalServerError struct {
}

GetClientInternalServerError handles this case with default header values.

Internal server error

func NewGetClientInternalServerError

func NewGetClientInternalServerError() *GetClientInternalServerError

NewGetClientInternalServerError creates a GetClientInternalServerError with default headers values

func (*GetClientInternalServerError) Error

type GetClientOK

type GetClientOK struct {
	Payload *models.Client
}

GetClientOK handles this case with default header values.

Returns the client requested

func NewGetClientOK

func NewGetClientOK() *GetClientOK

NewGetClientOK creates a GetClientOK with default headers values

func (*GetClientOK) Error

func (o *GetClientOK) Error() string

type GetClientParams

type GetClientParams struct {

	/*ClientID*/
	ClientID string

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

GetClientParams contains all the parameters to send to the API endpoint for the get client operation typically these are written to a http.Request

func NewGetClientParams

func NewGetClientParams() *GetClientParams

NewGetClientParams creates a new GetClientParams object with the default values initialized.

func NewGetClientParamsWithContext

func NewGetClientParamsWithContext(ctx context.Context) *GetClientParams

NewGetClientParamsWithContext creates a new GetClientParams object with the default values initialized, and the ability to set a context for a request

func NewGetClientParamsWithHTTPClient

func NewGetClientParamsWithHTTPClient(client *http.Client) *GetClientParams

NewGetClientParamsWithHTTPClient creates a new GetClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetClientParamsWithTimeout

func NewGetClientParamsWithTimeout(timeout time.Duration) *GetClientParams

NewGetClientParamsWithTimeout creates a new GetClientParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetClientParams) SetClientID

func (o *GetClientParams) SetClientID(clientID string)

SetClientID adds the clientId to the get client params

func (*GetClientParams) SetContext

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

SetContext adds the context to the get client params

func (*GetClientParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get client params

func (*GetClientParams) SetTimeout

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

SetTimeout adds the timeout to the get client params

func (*GetClientParams) WithClientID

func (o *GetClientParams) WithClientID(clientID string) *GetClientParams

WithClientID adds the clientID to the get client params

func (*GetClientParams) WithContext

func (o *GetClientParams) WithContext(ctx context.Context) *GetClientParams

WithContext adds the context to the get client params

func (*GetClientParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get client params

func (*GetClientParams) WithTimeout

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

WithTimeout adds the timeout to the get client params

func (*GetClientParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetClientReader

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

GetClientReader is a Reader for the GetClient structure.

func (*GetClientReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClientUnauthorized

type GetClientUnauthorized struct {
}

GetClientUnauthorized handles this case with default header values.

Not authenticated

func NewGetClientUnauthorized

func NewGetClientUnauthorized() *GetClientUnauthorized

NewGetClientUnauthorized creates a GetClientUnauthorized with default headers values

func (*GetClientUnauthorized) Error

func (o *GetClientUnauthorized) Error() string

type ReturnPagedClientIdsBadRequest added in v0.0.9

type ReturnPagedClientIdsBadRequest struct {
}

ReturnPagedClientIdsBadRequest handles this case with default header values.

Unable to process request

func NewReturnPagedClientIdsBadRequest added in v0.0.9

func NewReturnPagedClientIdsBadRequest() *ReturnPagedClientIdsBadRequest

NewReturnPagedClientIdsBadRequest creates a ReturnPagedClientIdsBadRequest with default headers values

func (*ReturnPagedClientIdsBadRequest) Error added in v0.0.9

type ReturnPagedClientIdsForbidden added in v0.0.9

type ReturnPagedClientIdsForbidden struct {
}

ReturnPagedClientIdsForbidden handles this case with default header values.

Not authorized

func NewReturnPagedClientIdsForbidden added in v0.0.9

func NewReturnPagedClientIdsForbidden() *ReturnPagedClientIdsForbidden

NewReturnPagedClientIdsForbidden creates a ReturnPagedClientIdsForbidden with default headers values

func (*ReturnPagedClientIdsForbidden) Error added in v0.0.9

type ReturnPagedClientIdsInternalServerError added in v0.0.9

type ReturnPagedClientIdsInternalServerError struct {
}

ReturnPagedClientIdsInternalServerError handles this case with default header values.

Internal server error

func NewReturnPagedClientIdsInternalServerError added in v0.0.9

func NewReturnPagedClientIdsInternalServerError() *ReturnPagedClientIdsInternalServerError

NewReturnPagedClientIdsInternalServerError creates a ReturnPagedClientIdsInternalServerError with default headers values

func (*ReturnPagedClientIdsInternalServerError) Error added in v0.0.9

type ReturnPagedClientIdsOK added in v0.0.9

type ReturnPagedClientIdsOK struct {
	Payload *models.PagedArray
}

ReturnPagedClientIdsOK handles this case with default header values.

A list of clientIds in the requested page.

func NewReturnPagedClientIdsOK added in v0.0.9

func NewReturnPagedClientIdsOK() *ReturnPagedClientIdsOK

NewReturnPagedClientIdsOK creates a ReturnPagedClientIdsOK with default headers values

func (*ReturnPagedClientIdsOK) Error added in v0.0.9

func (o *ReturnPagedClientIdsOK) Error() string

type ReturnPagedClientIdsParams added in v0.0.9

type ReturnPagedClientIdsParams struct {

	/*Page*/
	Page int64
	/*PageSize*/
	PageSize int64

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

ReturnPagedClientIdsParams contains all the parameters to send to the API endpoint for the return paged client ids operation typically these are written to a http.Request

func NewReturnPagedClientIdsParams added in v0.0.9

func NewReturnPagedClientIdsParams() *ReturnPagedClientIdsParams

NewReturnPagedClientIdsParams creates a new ReturnPagedClientIdsParams object with the default values initialized.

func NewReturnPagedClientIdsParamsWithContext added in v0.0.9

func NewReturnPagedClientIdsParamsWithContext(ctx context.Context) *ReturnPagedClientIdsParams

NewReturnPagedClientIdsParamsWithContext creates a new ReturnPagedClientIdsParams object with the default values initialized, and the ability to set a context for a request

func NewReturnPagedClientIdsParamsWithHTTPClient added in v0.0.9

func NewReturnPagedClientIdsParamsWithHTTPClient(client *http.Client) *ReturnPagedClientIdsParams

NewReturnPagedClientIdsParamsWithHTTPClient creates a new ReturnPagedClientIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewReturnPagedClientIdsParamsWithTimeout added in v0.0.9

func NewReturnPagedClientIdsParamsWithTimeout(timeout time.Duration) *ReturnPagedClientIdsParams

NewReturnPagedClientIdsParamsWithTimeout creates a new ReturnPagedClientIdsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ReturnPagedClientIdsParams) SetContext added in v0.0.9

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

SetContext adds the context to the return paged client ids params

func (*ReturnPagedClientIdsParams) SetHTTPClient added in v0.0.9

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

SetHTTPClient adds the HTTPClient to the return paged client ids params

func (*ReturnPagedClientIdsParams) SetPage added in v0.0.9

func (o *ReturnPagedClientIdsParams) SetPage(page int64)

SetPage adds the page to the return paged client ids params

func (*ReturnPagedClientIdsParams) SetPageSize added in v0.0.9

func (o *ReturnPagedClientIdsParams) SetPageSize(pageSize int64)

SetPageSize adds the pageSize to the return paged client ids params

func (*ReturnPagedClientIdsParams) SetTimeout added in v0.0.9

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

SetTimeout adds the timeout to the return paged client ids params

func (*ReturnPagedClientIdsParams) WithContext added in v0.0.9

WithContext adds the context to the return paged client ids params

func (*ReturnPagedClientIdsParams) WithHTTPClient added in v0.0.9

WithHTTPClient adds the HTTPClient to the return paged client ids params

func (*ReturnPagedClientIdsParams) WithPage added in v0.0.9

WithPage adds the page to the return paged client ids params

func (*ReturnPagedClientIdsParams) WithPageSize added in v0.0.9

func (o *ReturnPagedClientIdsParams) WithPageSize(pageSize int64) *ReturnPagedClientIdsParams

WithPageSize adds the pageSize to the return paged client ids params

func (*ReturnPagedClientIdsParams) WithTimeout added in v0.0.9

WithTimeout adds the timeout to the return paged client ids params

func (*ReturnPagedClientIdsParams) WriteToRequest added in v0.0.9

WriteToRequest writes these params to a swagger request

type ReturnPagedClientIdsReader added in v0.0.9

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

ReturnPagedClientIdsReader is a Reader for the ReturnPagedClientIds structure.

func (*ReturnPagedClientIdsReader) ReadResponse added in v0.0.9

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

ReadResponse reads a server response into the received o.

type ReturnPagedClientIdsUnauthorized added in v0.0.9

type ReturnPagedClientIdsUnauthorized struct {
}

ReturnPagedClientIdsUnauthorized handles this case with default header values.

Not authenticated

func NewReturnPagedClientIdsUnauthorized added in v0.0.9

func NewReturnPagedClientIdsUnauthorized() *ReturnPagedClientIdsUnauthorized

NewReturnPagedClientIdsUnauthorized creates a ReturnPagedClientIdsUnauthorized with default headers values

func (*ReturnPagedClientIdsUnauthorized) Error added in v0.0.9

type ReturnPagedClientsBadRequest added in v0.1.1

type ReturnPagedClientsBadRequest struct {
}

ReturnPagedClientsBadRequest handles this case with default header values.

Unable to process request

func NewReturnPagedClientsBadRequest added in v0.1.1

func NewReturnPagedClientsBadRequest() *ReturnPagedClientsBadRequest

NewReturnPagedClientsBadRequest creates a ReturnPagedClientsBadRequest with default headers values

func (*ReturnPagedClientsBadRequest) Error added in v0.1.1

type ReturnPagedClientsForbidden added in v0.1.1

type ReturnPagedClientsForbidden struct {
}

ReturnPagedClientsForbidden handles this case with default header values.

Not authorized

func NewReturnPagedClientsForbidden added in v0.1.1

func NewReturnPagedClientsForbidden() *ReturnPagedClientsForbidden

NewReturnPagedClientsForbidden creates a ReturnPagedClientsForbidden with default headers values

func (*ReturnPagedClientsForbidden) Error added in v0.1.1

type ReturnPagedClientsInternalServerError added in v0.1.1

type ReturnPagedClientsInternalServerError struct {
}

ReturnPagedClientsInternalServerError handles this case with default header values.

Internal server error

func NewReturnPagedClientsInternalServerError added in v0.1.1

func NewReturnPagedClientsInternalServerError() *ReturnPagedClientsInternalServerError

NewReturnPagedClientsInternalServerError creates a ReturnPagedClientsInternalServerError with default headers values

func (*ReturnPagedClientsInternalServerError) Error added in v0.1.1

type ReturnPagedClientsOK added in v0.1.1

type ReturnPagedClientsOK struct {
	Payload []*models.Client
}

ReturnPagedClientsOK handles this case with default header values.

A list of clients in the requested page.

func NewReturnPagedClientsOK added in v0.1.1

func NewReturnPagedClientsOK() *ReturnPagedClientsOK

NewReturnPagedClientsOK creates a ReturnPagedClientsOK with default headers values

func (*ReturnPagedClientsOK) Error added in v0.1.1

func (o *ReturnPagedClientsOK) Error() string

type ReturnPagedClientsParams added in v0.1.1

type ReturnPagedClientsParams struct {

	/*Page*/
	Page int64
	/*PageSize*/
	PageSize int64

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

ReturnPagedClientsParams contains all the parameters to send to the API endpoint for the return paged clients operation typically these are written to a http.Request

func NewReturnPagedClientsParams added in v0.1.1

func NewReturnPagedClientsParams() *ReturnPagedClientsParams

NewReturnPagedClientsParams creates a new ReturnPagedClientsParams object with the default values initialized.

func NewReturnPagedClientsParamsWithContext added in v0.1.1

func NewReturnPagedClientsParamsWithContext(ctx context.Context) *ReturnPagedClientsParams

NewReturnPagedClientsParamsWithContext creates a new ReturnPagedClientsParams object with the default values initialized, and the ability to set a context for a request

func NewReturnPagedClientsParamsWithHTTPClient added in v0.1.1

func NewReturnPagedClientsParamsWithHTTPClient(client *http.Client) *ReturnPagedClientsParams

NewReturnPagedClientsParamsWithHTTPClient creates a new ReturnPagedClientsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewReturnPagedClientsParamsWithTimeout added in v0.1.1

func NewReturnPagedClientsParamsWithTimeout(timeout time.Duration) *ReturnPagedClientsParams

NewReturnPagedClientsParamsWithTimeout creates a new ReturnPagedClientsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ReturnPagedClientsParams) SetContext added in v0.1.1

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

SetContext adds the context to the return paged clients params

func (*ReturnPagedClientsParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the return paged clients params

func (*ReturnPagedClientsParams) SetPage added in v0.1.1

func (o *ReturnPagedClientsParams) SetPage(page int64)

SetPage adds the page to the return paged clients params

func (*ReturnPagedClientsParams) SetPageSize added in v0.1.1

func (o *ReturnPagedClientsParams) SetPageSize(pageSize int64)

SetPageSize adds the pageSize to the return paged clients params

func (*ReturnPagedClientsParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the return paged clients params

func (*ReturnPagedClientsParams) WithContext added in v0.1.1

WithContext adds the context to the return paged clients params

func (*ReturnPagedClientsParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the return paged clients params

func (*ReturnPagedClientsParams) WithPage added in v0.1.1

WithPage adds the page to the return paged clients params

func (*ReturnPagedClientsParams) WithPageSize added in v0.1.1

func (o *ReturnPagedClientsParams) WithPageSize(pageSize int64) *ReturnPagedClientsParams

WithPageSize adds the pageSize to the return paged clients params

func (*ReturnPagedClientsParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the return paged clients params

func (*ReturnPagedClientsParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type ReturnPagedClientsReader added in v0.1.1

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

ReturnPagedClientsReader is a Reader for the ReturnPagedClients structure.

func (*ReturnPagedClientsReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type ReturnPagedClientsUnauthorized added in v0.1.1

type ReturnPagedClientsUnauthorized struct {
}

ReturnPagedClientsUnauthorized handles this case with default header values.

Not authenticated

func NewReturnPagedClientsUnauthorized added in v0.1.1

func NewReturnPagedClientsUnauthorized() *ReturnPagedClientsUnauthorized

NewReturnPagedClientsUnauthorized creates a ReturnPagedClientsUnauthorized with default headers values

func (*ReturnPagedClientsUnauthorized) Error added in v0.1.1

Jump to

Keyboard shortcuts

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