specification_openapiv3

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 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 specification openapiv3 API

func (*Client) GetOpenapiv3Specification

func (a *Client) GetOpenapiv3Specification(params *GetOpenapiv3SpecificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOpenapiv3SpecificationOK, error)

GetOpenapiv3Specification data plane API v3 specification

Return Data Plane API OpenAPI v3 specification

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 {
	GetOpenapiv3Specification(params *GetOpenapiv3SpecificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOpenapiv3SpecificationOK, 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 specification openapiv3 API client.

type GetOpenapiv3SpecificationDefault

type GetOpenapiv3SpecificationDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetOpenapiv3SpecificationDefault describes a response with status code -1, with default header values.

General Error

func NewGetOpenapiv3SpecificationDefault

func NewGetOpenapiv3SpecificationDefault(code int) *GetOpenapiv3SpecificationDefault

NewGetOpenapiv3SpecificationDefault creates a GetOpenapiv3SpecificationDefault with default headers values

func (*GetOpenapiv3SpecificationDefault) Code

Code gets the status code for the get openapiv3 specification default response

func (*GetOpenapiv3SpecificationDefault) Error

func (*GetOpenapiv3SpecificationDefault) GetPayload

func (*GetOpenapiv3SpecificationDefault) IsClientError added in v1.1.0

func (o *GetOpenapiv3SpecificationDefault) IsClientError() bool

IsClientError returns true when this get openapiv3 specification default response has a 4xx status code

func (*GetOpenapiv3SpecificationDefault) IsCode added in v1.1.0

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

IsCode returns true when this get openapiv3 specification default response a status code equal to that given

func (*GetOpenapiv3SpecificationDefault) IsRedirect added in v1.1.0

func (o *GetOpenapiv3SpecificationDefault) IsRedirect() bool

IsRedirect returns true when this get openapiv3 specification default response has a 3xx status code

func (*GetOpenapiv3SpecificationDefault) IsServerError added in v1.1.0

func (o *GetOpenapiv3SpecificationDefault) IsServerError() bool

IsServerError returns true when this get openapiv3 specification default response has a 5xx status code

func (*GetOpenapiv3SpecificationDefault) IsSuccess added in v1.1.0

func (o *GetOpenapiv3SpecificationDefault) IsSuccess() bool

IsSuccess returns true when this get openapiv3 specification default response has a 2xx status code

func (*GetOpenapiv3SpecificationDefault) String added in v1.1.0

type GetOpenapiv3SpecificationOK

type GetOpenapiv3SpecificationOK struct {
	Payload interface{}
}

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

Success

func NewGetOpenapiv3SpecificationOK

func NewGetOpenapiv3SpecificationOK() *GetOpenapiv3SpecificationOK

NewGetOpenapiv3SpecificationOK creates a GetOpenapiv3SpecificationOK with default headers values

func (*GetOpenapiv3SpecificationOK) Code added in v1.1.5

func (o *GetOpenapiv3SpecificationOK) Code() int

Code gets the status code for the get openapiv3 specification o k response

func (*GetOpenapiv3SpecificationOK) Error

func (*GetOpenapiv3SpecificationOK) GetPayload

func (o *GetOpenapiv3SpecificationOK) GetPayload() interface{}

func (*GetOpenapiv3SpecificationOK) IsClientError added in v1.1.0

func (o *GetOpenapiv3SpecificationOK) IsClientError() bool

IsClientError returns true when this get openapiv3 specification o k response has a 4xx status code

func (*GetOpenapiv3SpecificationOK) IsCode added in v1.1.0

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

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

func (*GetOpenapiv3SpecificationOK) IsRedirect added in v1.1.0

func (o *GetOpenapiv3SpecificationOK) IsRedirect() bool

IsRedirect returns true when this get openapiv3 specification o k response has a 3xx status code

func (*GetOpenapiv3SpecificationOK) IsServerError added in v1.1.0

func (o *GetOpenapiv3SpecificationOK) IsServerError() bool

IsServerError returns true when this get openapiv3 specification o k response has a 5xx status code

func (*GetOpenapiv3SpecificationOK) IsSuccess added in v1.1.0

func (o *GetOpenapiv3SpecificationOK) IsSuccess() bool

IsSuccess returns true when this get openapiv3 specification o k response has a 2xx status code

func (*GetOpenapiv3SpecificationOK) String added in v1.1.0

func (o *GetOpenapiv3SpecificationOK) String() string

type GetOpenapiv3SpecificationParams

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

GetOpenapiv3SpecificationParams contains all the parameters to send to the API endpoint

for the get openapiv3 specification operation.

Typically these are written to a http.Request.

func NewGetOpenapiv3SpecificationParams

func NewGetOpenapiv3SpecificationParams() *GetOpenapiv3SpecificationParams

NewGetOpenapiv3SpecificationParams creates a new GetOpenapiv3SpecificationParams 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 NewGetOpenapiv3SpecificationParamsWithContext

func NewGetOpenapiv3SpecificationParamsWithContext(ctx context.Context) *GetOpenapiv3SpecificationParams

NewGetOpenapiv3SpecificationParamsWithContext creates a new GetOpenapiv3SpecificationParams object with the ability to set a context for a request.

func NewGetOpenapiv3SpecificationParamsWithHTTPClient

func NewGetOpenapiv3SpecificationParamsWithHTTPClient(client *http.Client) *GetOpenapiv3SpecificationParams

NewGetOpenapiv3SpecificationParamsWithHTTPClient creates a new GetOpenapiv3SpecificationParams object with the ability to set a custom HTTPClient for a request.

func NewGetOpenapiv3SpecificationParamsWithTimeout

func NewGetOpenapiv3SpecificationParamsWithTimeout(timeout time.Duration) *GetOpenapiv3SpecificationParams

NewGetOpenapiv3SpecificationParamsWithTimeout creates a new GetOpenapiv3SpecificationParams object with the ability to set a timeout on a request.

func (*GetOpenapiv3SpecificationParams) SetContext

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

SetContext adds the context to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) SetDefaults

func (o *GetOpenapiv3SpecificationParams) SetDefaults()

SetDefaults hydrates default values in the get openapiv3 specification params (not the query body).

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

func (*GetOpenapiv3SpecificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) SetTimeout

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

SetTimeout adds the timeout to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) WithContext

WithContext adds the context to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) WithDefaults

WithDefaults hydrates default values in the get openapiv3 specification params (not the query body).

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

func (*GetOpenapiv3SpecificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) WithTimeout

WithTimeout adds the timeout to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOpenapiv3SpecificationReader

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

GetOpenapiv3SpecificationReader is a Reader for the GetOpenapiv3Specification structure.

func (*GetOpenapiv3SpecificationReader) ReadResponse

func (o *GetOpenapiv3SpecificationReader) 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