client_registration

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 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 client registration API

func (*Client) DeleteRegister

func (a *Client) DeleteRegister(params *DeleteRegisterParams) (*DeleteRegisterNoContent, error)

DeleteRegister deletes register

The Client Registration Endpoint removes the Client Metadata for a previously registered client.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteRegister(params *DeleteRegisterParams) (*DeleteRegisterNoContent, 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 client registration API client.

type DeleteRegisterBadRequest

type DeleteRegisterBadRequest struct {
	Payload *models.ErrorResponse
}

DeleteRegisterBadRequest handles this case with default header values.

Invalid parameters provided to endpoint.

func NewDeleteRegisterBadRequest

func NewDeleteRegisterBadRequest() *DeleteRegisterBadRequest

NewDeleteRegisterBadRequest creates a DeleteRegisterBadRequest with default headers values

func (*DeleteRegisterBadRequest) Error

func (o *DeleteRegisterBadRequest) Error() string

func (*DeleteRegisterBadRequest) GetPayload

type DeleteRegisterInternalServerError

type DeleteRegisterInternalServerError struct {
	Payload *models.ErrorResponse
}

DeleteRegisterInternalServerError handles this case with default header values.

Internal error occured. Please check log file for details.

func NewDeleteRegisterInternalServerError

func NewDeleteRegisterInternalServerError() *DeleteRegisterInternalServerError

NewDeleteRegisterInternalServerError creates a DeleteRegisterInternalServerError with default headers values

func (*DeleteRegisterInternalServerError) Error

func (*DeleteRegisterInternalServerError) GetPayload

type DeleteRegisterNoContent

type DeleteRegisterNoContent struct {
}

DeleteRegisterNoContent handles this case with default header values.

OK

func NewDeleteRegisterNoContent

func NewDeleteRegisterNoContent() *DeleteRegisterNoContent

NewDeleteRegisterNoContent creates a DeleteRegisterNoContent with default headers values

func (*DeleteRegisterNoContent) Error

func (o *DeleteRegisterNoContent) Error() string

type DeleteRegisterParams

type DeleteRegisterParams struct {

	/*Authorization
	  Authorization header carrying \"registration_access_token\" issued before as a Bearer token

	*/
	Authorization string
	/*ClientID
	  Client ID that identifies client.

	*/
	ClientID string

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

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

func NewDeleteRegisterParams

func NewDeleteRegisterParams() *DeleteRegisterParams

NewDeleteRegisterParams creates a new DeleteRegisterParams object with the default values initialized.

func NewDeleteRegisterParamsWithContext

func NewDeleteRegisterParamsWithContext(ctx context.Context) *DeleteRegisterParams

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

func NewDeleteRegisterParamsWithHTTPClient

func NewDeleteRegisterParamsWithHTTPClient(client *http.Client) *DeleteRegisterParams

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

func NewDeleteRegisterParamsWithTimeout

func NewDeleteRegisterParamsWithTimeout(timeout time.Duration) *DeleteRegisterParams

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

func (*DeleteRegisterParams) SetAuthorization

func (o *DeleteRegisterParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete register params

func (*DeleteRegisterParams) SetClientID

func (o *DeleteRegisterParams) SetClientID(clientID string)

SetClientID adds the clientId to the delete register params

func (*DeleteRegisterParams) SetContext

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

SetContext adds the context to the delete register params

func (*DeleteRegisterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete register params

func (*DeleteRegisterParams) SetTimeout

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

SetTimeout adds the timeout to the delete register params

func (*DeleteRegisterParams) WithAuthorization

func (o *DeleteRegisterParams) WithAuthorization(authorization string) *DeleteRegisterParams

WithAuthorization adds the authorization to the delete register params

func (*DeleteRegisterParams) WithClientID

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

WithClientID adds the clientID to the delete register params

func (*DeleteRegisterParams) WithContext

WithContext adds the context to the delete register params

func (*DeleteRegisterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete register params

func (*DeleteRegisterParams) WithTimeout

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

WithTimeout adds the timeout to the delete register params

func (*DeleteRegisterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteRegisterReader

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

DeleteRegisterReader is a Reader for the DeleteRegister structure.

func (*DeleteRegisterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRegisterUnauthorized

type DeleteRegisterUnauthorized struct {
	Payload *models.ErrorResponse
}

DeleteRegisterUnauthorized handles this case with default header values.

Invalid parameters provided to endpoint.

func NewDeleteRegisterUnauthorized

func NewDeleteRegisterUnauthorized() *DeleteRegisterUnauthorized

NewDeleteRegisterUnauthorized creates a DeleteRegisterUnauthorized with default headers values

func (*DeleteRegisterUnauthorized) Error

func (*DeleteRegisterUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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