operations

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 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 operations API

func (*Client) GetOauth2Credential

func (a *Client) GetOauth2Credential(params *GetOauth2CredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOauth2CredentialOK, error)

GetOauth2Credential gets o auth 2 0 credential

Get details about an OAuth 2.0 credential.

func (*Client) NOOPCodegenAnchor added in v0.17.0

func (a *Client) NOOPCodegenAnchor(params *NOOPCodegenAnchorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NOOPCodegenAnchorOK, error)

NOOPCodegenAnchor n o o p codegen anchor API

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 {
	GetOauth2Credential(params *GetOauth2CredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOauth2CredentialOK, error)

	NOOPCodegenAnchor(params *NOOPCodegenAnchorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NOOPCodegenAnchorOK, 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 operations API client.

type GetOauth2CredentialOK

type GetOauth2CredentialOK struct {
	Payload *models.GetOauth2CredentialResponse
}

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

A successful response.

func NewGetOauth2CredentialOK

func NewGetOauth2CredentialOK() *GetOauth2CredentialOK

NewGetOauth2CredentialOK creates a GetOauth2CredentialOK with default headers values

func (*GetOauth2CredentialOK) Code

func (o *GetOauth2CredentialOK) Code() int

Code gets the status code for the get oauth2 credential o k response

func (*GetOauth2CredentialOK) Error

func (o *GetOauth2CredentialOK) Error() string

func (*GetOauth2CredentialOK) GetPayload

func (*GetOauth2CredentialOK) IsClientError

func (o *GetOauth2CredentialOK) IsClientError() bool

IsClientError returns true when this get oauth2 credential o k response has a 4xx status code

func (*GetOauth2CredentialOK) IsCode

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

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

func (*GetOauth2CredentialOK) IsRedirect

func (o *GetOauth2CredentialOK) IsRedirect() bool

IsRedirect returns true when this get oauth2 credential o k response has a 3xx status code

func (*GetOauth2CredentialOK) IsServerError

func (o *GetOauth2CredentialOK) IsServerError() bool

IsServerError returns true when this get oauth2 credential o k response has a 5xx status code

func (*GetOauth2CredentialOK) IsSuccess

func (o *GetOauth2CredentialOK) IsSuccess() bool

IsSuccess returns true when this get oauth2 credential o k response has a 2xx status code

func (*GetOauth2CredentialOK) String

func (o *GetOauth2CredentialOK) String() string

type GetOauth2CredentialParams

type GetOauth2CredentialParams struct {

	// Body.
	Body *models.GetOauth2CredentialRequest

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

GetOauth2CredentialParams contains all the parameters to send to the API endpoint

for the get oauth2 credential operation.

Typically these are written to a http.Request.

func NewGetOauth2CredentialParams

func NewGetOauth2CredentialParams() *GetOauth2CredentialParams

NewGetOauth2CredentialParams creates a new GetOauth2CredentialParams 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 NewGetOauth2CredentialParamsWithContext

func NewGetOauth2CredentialParamsWithContext(ctx context.Context) *GetOauth2CredentialParams

NewGetOauth2CredentialParamsWithContext creates a new GetOauth2CredentialParams object with the ability to set a context for a request.

func NewGetOauth2CredentialParamsWithHTTPClient

func NewGetOauth2CredentialParamsWithHTTPClient(client *http.Client) *GetOauth2CredentialParams

NewGetOauth2CredentialParamsWithHTTPClient creates a new GetOauth2CredentialParams object with the ability to set a custom HTTPClient for a request.

func NewGetOauth2CredentialParamsWithTimeout

func NewGetOauth2CredentialParamsWithTimeout(timeout time.Duration) *GetOauth2CredentialParams

NewGetOauth2CredentialParamsWithTimeout creates a new GetOauth2CredentialParams object with the ability to set a timeout on a request.

func (*GetOauth2CredentialParams) SetBody

SetBody adds the body to the get oauth2 credential params

func (*GetOauth2CredentialParams) SetContext

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

SetContext adds the context to the get oauth2 credential params

func (*GetOauth2CredentialParams) SetDefaults

func (o *GetOauth2CredentialParams) SetDefaults()

SetDefaults hydrates default values in the get oauth2 credential params (not the query body).

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

func (*GetOauth2CredentialParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get oauth2 credential params

func (*GetOauth2CredentialParams) SetTimeout

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

SetTimeout adds the timeout to the get oauth2 credential params

func (*GetOauth2CredentialParams) WithBody

WithBody adds the body to the get oauth2 credential params

func (*GetOauth2CredentialParams) WithContext

WithContext adds the context to the get oauth2 credential params

func (*GetOauth2CredentialParams) WithDefaults

WithDefaults hydrates default values in the get oauth2 credential params (not the query body).

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

func (*GetOauth2CredentialParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get oauth2 credential params

func (*GetOauth2CredentialParams) WithTimeout

WithTimeout adds the timeout to the get oauth2 credential params

func (*GetOauth2CredentialParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOauth2CredentialReader

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

GetOauth2CredentialReader is a Reader for the GetOauth2Credential structure.

func (*GetOauth2CredentialReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NOOPCodegenAnchorOK added in v0.17.0

type NOOPCodegenAnchorOK struct {
	Payload *models.NOOPCodegenAnchorResponse
}

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

A successful response.

func NewNOOPCodegenAnchorOK added in v0.17.0

func NewNOOPCodegenAnchorOK() *NOOPCodegenAnchorOK

NewNOOPCodegenAnchorOK creates a NOOPCodegenAnchorOK with default headers values

func (*NOOPCodegenAnchorOK) Code added in v0.17.0

func (o *NOOPCodegenAnchorOK) Code() int

Code gets the status code for the n o o p codegen anchor o k response

func (*NOOPCodegenAnchorOK) Error added in v0.17.0

func (o *NOOPCodegenAnchorOK) Error() string

func (*NOOPCodegenAnchorOK) GetPayload added in v0.17.0

func (*NOOPCodegenAnchorOK) IsClientError added in v0.17.0

func (o *NOOPCodegenAnchorOK) IsClientError() bool

IsClientError returns true when this n o o p codegen anchor o k response has a 4xx status code

func (*NOOPCodegenAnchorOK) IsCode added in v0.17.0

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

IsCode returns true when this n o o p codegen anchor o k response a status code equal to that given

func (*NOOPCodegenAnchorOK) IsRedirect added in v0.17.0

func (o *NOOPCodegenAnchorOK) IsRedirect() bool

IsRedirect returns true when this n o o p codegen anchor o k response has a 3xx status code

func (*NOOPCodegenAnchorOK) IsServerError added in v0.17.0

func (o *NOOPCodegenAnchorOK) IsServerError() bool

IsServerError returns true when this n o o p codegen anchor o k response has a 5xx status code

func (*NOOPCodegenAnchorOK) IsSuccess added in v0.17.0

func (o *NOOPCodegenAnchorOK) IsSuccess() bool

IsSuccess returns true when this n o o p codegen anchor o k response has a 2xx status code

func (*NOOPCodegenAnchorOK) String added in v0.17.0

func (o *NOOPCodegenAnchorOK) String() string

type NOOPCodegenAnchorParams added in v0.17.0

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

NOOPCodegenAnchorParams contains all the parameters to send to the API endpoint

for the n o o p codegen anchor operation.

Typically these are written to a http.Request.

func NewNOOPCodegenAnchorParams added in v0.17.0

func NewNOOPCodegenAnchorParams() *NOOPCodegenAnchorParams

NewNOOPCodegenAnchorParams creates a new NOOPCodegenAnchorParams 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 NewNOOPCodegenAnchorParamsWithContext added in v0.17.0

func NewNOOPCodegenAnchorParamsWithContext(ctx context.Context) *NOOPCodegenAnchorParams

NewNOOPCodegenAnchorParamsWithContext creates a new NOOPCodegenAnchorParams object with the ability to set a context for a request.

func NewNOOPCodegenAnchorParamsWithHTTPClient added in v0.17.0

func NewNOOPCodegenAnchorParamsWithHTTPClient(client *http.Client) *NOOPCodegenAnchorParams

NewNOOPCodegenAnchorParamsWithHTTPClient creates a new NOOPCodegenAnchorParams object with the ability to set a custom HTTPClient for a request.

func NewNOOPCodegenAnchorParamsWithTimeout added in v0.17.0

func NewNOOPCodegenAnchorParamsWithTimeout(timeout time.Duration) *NOOPCodegenAnchorParams

NewNOOPCodegenAnchorParamsWithTimeout creates a new NOOPCodegenAnchorParams object with the ability to set a timeout on a request.

func (*NOOPCodegenAnchorParams) SetContext added in v0.17.0

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

SetContext adds the context to the n o o p codegen anchor params

func (*NOOPCodegenAnchorParams) SetDefaults added in v0.17.0

func (o *NOOPCodegenAnchorParams) SetDefaults()

SetDefaults hydrates default values in the n o o p codegen anchor params (not the query body).

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

func (*NOOPCodegenAnchorParams) SetHTTPClient added in v0.17.0

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

SetHTTPClient adds the HTTPClient to the n o o p codegen anchor params

func (*NOOPCodegenAnchorParams) SetTimeout added in v0.17.0

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

SetTimeout adds the timeout to the n o o p codegen anchor params

func (*NOOPCodegenAnchorParams) WithContext added in v0.17.0

WithContext adds the context to the n o o p codegen anchor params

func (*NOOPCodegenAnchorParams) WithDefaults added in v0.17.0

WithDefaults hydrates default values in the n o o p codegen anchor params (not the query body).

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

func (*NOOPCodegenAnchorParams) WithHTTPClient added in v0.17.0

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

WithHTTPClient adds the HTTPClient to the n o o p codegen anchor params

func (*NOOPCodegenAnchorParams) WithTimeout added in v0.17.0

WithTimeout adds the timeout to the n o o p codegen anchor params

func (*NOOPCodegenAnchorParams) WriteToRequest added in v0.17.0

WriteToRequest writes these params to a swagger request

type NOOPCodegenAnchorReader added in v0.17.0

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

NOOPCodegenAnchorReader is a Reader for the NOOPCodegenAnchor structure.

func (*NOOPCodegenAnchorReader) ReadResponse added in v0.17.0

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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