provider_service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT 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 provider service API

func (*Client) ProviderServiceGetProvider

func (a *Client) ProviderServiceGetProvider(params *ProviderServiceGetProviderParams, opts ...ClientOption) (*ProviderServiceGetProviderOK, error)

ProviderServiceGetProvider プロバイダーの取得s

プロバイダーを取得します。

func (*Client) ProviderServiceGetProvider2

func (a *Client) ProviderServiceGetProvider2(params *ProviderServiceGetProvider2Params, opts ...ClientOption) (*ProviderServiceGetProvider2OK, error)

ProviderServiceGetProvider2 プロバイダーの取得s

プロバイダーを取得します。

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 {
	ProviderServiceGetProvider(params *ProviderServiceGetProviderParams, opts ...ClientOption) (*ProviderServiceGetProviderOK, error)

	ProviderServiceGetProvider2(params *ProviderServiceGetProvider2Params, opts ...ClientOption) (*ProviderServiceGetProvider2OK, 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 provider service API client.

type ProviderServiceGetProvider2Default

type ProviderServiceGetProvider2Default struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProviderServiceGetProvider2Default

func NewProviderServiceGetProvider2Default(code int) *ProviderServiceGetProvider2Default

NewProviderServiceGetProvider2Default creates a ProviderServiceGetProvider2Default with default headers values

func (*ProviderServiceGetProvider2Default) Code

Code gets the status code for the provider service get provider2 default response

func (*ProviderServiceGetProvider2Default) Error

func (*ProviderServiceGetProvider2Default) GetPayload

func (*ProviderServiceGetProvider2Default) IsClientError

func (o *ProviderServiceGetProvider2Default) IsClientError() bool

IsClientError returns true when this provider service get provider2 default response has a 4xx status code

func (*ProviderServiceGetProvider2Default) IsCode

IsCode returns true when this provider service get provider2 default response a status code equal to that given

func (*ProviderServiceGetProvider2Default) IsRedirect

func (o *ProviderServiceGetProvider2Default) IsRedirect() bool

IsRedirect returns true when this provider service get provider2 default response has a 3xx status code

func (*ProviderServiceGetProvider2Default) IsServerError

func (o *ProviderServiceGetProvider2Default) IsServerError() bool

IsServerError returns true when this provider service get provider2 default response has a 5xx status code

func (*ProviderServiceGetProvider2Default) IsSuccess

IsSuccess returns true when this provider service get provider2 default response has a 2xx status code

func (*ProviderServiceGetProvider2Default) String

type ProviderServiceGetProvider2OK

type ProviderServiceGetProvider2OK struct {
	Payload *models.V1GetProviderResponse
}

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

A successful response.

func NewProviderServiceGetProvider2OK

func NewProviderServiceGetProvider2OK() *ProviderServiceGetProvider2OK

NewProviderServiceGetProvider2OK creates a ProviderServiceGetProvider2OK with default headers values

func (*ProviderServiceGetProvider2OK) Code

Code gets the status code for the provider service get provider2 o k response

func (*ProviderServiceGetProvider2OK) Error

func (*ProviderServiceGetProvider2OK) GetPayload

func (*ProviderServiceGetProvider2OK) IsClientError

func (o *ProviderServiceGetProvider2OK) IsClientError() bool

IsClientError returns true when this provider service get provider2 o k response has a 4xx status code

func (*ProviderServiceGetProvider2OK) IsCode

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

IsCode returns true when this provider service get provider2 o k response a status code equal to that given

func (*ProviderServiceGetProvider2OK) IsRedirect

func (o *ProviderServiceGetProvider2OK) IsRedirect() bool

IsRedirect returns true when this provider service get provider2 o k response has a 3xx status code

func (*ProviderServiceGetProvider2OK) IsServerError

func (o *ProviderServiceGetProvider2OK) IsServerError() bool

IsServerError returns true when this provider service get provider2 o k response has a 5xx status code

func (*ProviderServiceGetProvider2OK) IsSuccess

func (o *ProviderServiceGetProvider2OK) IsSuccess() bool

IsSuccess returns true when this provider service get provider2 o k response has a 2xx status code

func (*ProviderServiceGetProvider2OK) String

type ProviderServiceGetProvider2Params

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

ProviderServiceGetProvider2Params contains all the parameters to send to the API endpoint

for the provider service get provider2 operation.

Typically these are written to a http.Request.

func NewProviderServiceGetProvider2Params

func NewProviderServiceGetProvider2Params() *ProviderServiceGetProvider2Params

NewProviderServiceGetProvider2Params creates a new ProviderServiceGetProvider2Params 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 NewProviderServiceGetProvider2ParamsWithContext

func NewProviderServiceGetProvider2ParamsWithContext(ctx context.Context) *ProviderServiceGetProvider2Params

NewProviderServiceGetProvider2ParamsWithContext creates a new ProviderServiceGetProvider2Params object with the ability to set a context for a request.

func NewProviderServiceGetProvider2ParamsWithHTTPClient

func NewProviderServiceGetProvider2ParamsWithHTTPClient(client *http.Client) *ProviderServiceGetProvider2Params

NewProviderServiceGetProvider2ParamsWithHTTPClient creates a new ProviderServiceGetProvider2Params object with the ability to set a custom HTTPClient for a request.

func NewProviderServiceGetProvider2ParamsWithTimeout

func NewProviderServiceGetProvider2ParamsWithTimeout(timeout time.Duration) *ProviderServiceGetProvider2Params

NewProviderServiceGetProvider2ParamsWithTimeout creates a new ProviderServiceGetProvider2Params object with the ability to set a timeout on a request.

func (*ProviderServiceGetProvider2Params) SetContext

SetContext adds the context to the provider service get provider2 params

func (*ProviderServiceGetProvider2Params) SetDefaults

func (o *ProviderServiceGetProvider2Params) SetDefaults()

SetDefaults hydrates default values in the provider service get provider2 params (not the query body).

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

func (*ProviderServiceGetProvider2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the provider service get provider2 params

func (*ProviderServiceGetProvider2Params) SetTimeout

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

SetTimeout adds the timeout to the provider service get provider2 params

func (*ProviderServiceGetProvider2Params) WithContext

WithContext adds the context to the provider service get provider2 params

func (*ProviderServiceGetProvider2Params) WithDefaults

WithDefaults hydrates default values in the provider service get provider2 params (not the query body).

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

func (*ProviderServiceGetProvider2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the provider service get provider2 params

func (*ProviderServiceGetProvider2Params) WithTimeout

WithTimeout adds the timeout to the provider service get provider2 params

func (*ProviderServiceGetProvider2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProviderServiceGetProvider2Reader

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

ProviderServiceGetProvider2Reader is a Reader for the ProviderServiceGetProvider2 structure.

func (*ProviderServiceGetProvider2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProviderServiceGetProviderDefault

type ProviderServiceGetProviderDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProviderServiceGetProviderDefault

func NewProviderServiceGetProviderDefault(code int) *ProviderServiceGetProviderDefault

NewProviderServiceGetProviderDefault creates a ProviderServiceGetProviderDefault with default headers values

func (*ProviderServiceGetProviderDefault) Code

Code gets the status code for the provider service get provider default response

func (*ProviderServiceGetProviderDefault) Error

func (*ProviderServiceGetProviderDefault) GetPayload

func (*ProviderServiceGetProviderDefault) IsClientError

func (o *ProviderServiceGetProviderDefault) IsClientError() bool

IsClientError returns true when this provider service get provider default response has a 4xx status code

func (*ProviderServiceGetProviderDefault) IsCode

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

IsCode returns true when this provider service get provider default response a status code equal to that given

func (*ProviderServiceGetProviderDefault) IsRedirect

func (o *ProviderServiceGetProviderDefault) IsRedirect() bool

IsRedirect returns true when this provider service get provider default response has a 3xx status code

func (*ProviderServiceGetProviderDefault) IsServerError

func (o *ProviderServiceGetProviderDefault) IsServerError() bool

IsServerError returns true when this provider service get provider default response has a 5xx status code

func (*ProviderServiceGetProviderDefault) IsSuccess

func (o *ProviderServiceGetProviderDefault) IsSuccess() bool

IsSuccess returns true when this provider service get provider default response has a 2xx status code

func (*ProviderServiceGetProviderDefault) String

type ProviderServiceGetProviderOK

type ProviderServiceGetProviderOK struct {
	Payload *models.V1GetProviderResponse
}

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

A successful response.

func NewProviderServiceGetProviderOK

func NewProviderServiceGetProviderOK() *ProviderServiceGetProviderOK

NewProviderServiceGetProviderOK creates a ProviderServiceGetProviderOK with default headers values

func (*ProviderServiceGetProviderOK) Code

Code gets the status code for the provider service get provider o k response

func (*ProviderServiceGetProviderOK) Error

func (*ProviderServiceGetProviderOK) GetPayload

func (*ProviderServiceGetProviderOK) IsClientError

func (o *ProviderServiceGetProviderOK) IsClientError() bool

IsClientError returns true when this provider service get provider o k response has a 4xx status code

func (*ProviderServiceGetProviderOK) IsCode

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

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

func (*ProviderServiceGetProviderOK) IsRedirect

func (o *ProviderServiceGetProviderOK) IsRedirect() bool

IsRedirect returns true when this provider service get provider o k response has a 3xx status code

func (*ProviderServiceGetProviderOK) IsServerError

func (o *ProviderServiceGetProviderOK) IsServerError() bool

IsServerError returns true when this provider service get provider o k response has a 5xx status code

func (*ProviderServiceGetProviderOK) IsSuccess

func (o *ProviderServiceGetProviderOK) IsSuccess() bool

IsSuccess returns true when this provider service get provider o k response has a 2xx status code

func (*ProviderServiceGetProviderOK) String

type ProviderServiceGetProviderParams

type ProviderServiceGetProviderParams struct {

	// Body.
	Body models.V1GetProviderRequest

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

ProviderServiceGetProviderParams contains all the parameters to send to the API endpoint

for the provider service get provider operation.

Typically these are written to a http.Request.

func NewProviderServiceGetProviderParams

func NewProviderServiceGetProviderParams() *ProviderServiceGetProviderParams

NewProviderServiceGetProviderParams creates a new ProviderServiceGetProviderParams 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 NewProviderServiceGetProviderParamsWithContext

func NewProviderServiceGetProviderParamsWithContext(ctx context.Context) *ProviderServiceGetProviderParams

NewProviderServiceGetProviderParamsWithContext creates a new ProviderServiceGetProviderParams object with the ability to set a context for a request.

func NewProviderServiceGetProviderParamsWithHTTPClient

func NewProviderServiceGetProviderParamsWithHTTPClient(client *http.Client) *ProviderServiceGetProviderParams

NewProviderServiceGetProviderParamsWithHTTPClient creates a new ProviderServiceGetProviderParams object with the ability to set a custom HTTPClient for a request.

func NewProviderServiceGetProviderParamsWithTimeout

func NewProviderServiceGetProviderParamsWithTimeout(timeout time.Duration) *ProviderServiceGetProviderParams

NewProviderServiceGetProviderParamsWithTimeout creates a new ProviderServiceGetProviderParams object with the ability to set a timeout on a request.

func (*ProviderServiceGetProviderParams) SetBody

SetBody adds the body to the provider service get provider params

func (*ProviderServiceGetProviderParams) SetContext

SetContext adds the context to the provider service get provider params

func (*ProviderServiceGetProviderParams) SetDefaults

func (o *ProviderServiceGetProviderParams) SetDefaults()

SetDefaults hydrates default values in the provider service get provider params (not the query body).

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

func (*ProviderServiceGetProviderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the provider service get provider params

func (*ProviderServiceGetProviderParams) SetTimeout

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

SetTimeout adds the timeout to the provider service get provider params

func (*ProviderServiceGetProviderParams) WithBody

WithBody adds the body to the provider service get provider params

func (*ProviderServiceGetProviderParams) WithContext

WithContext adds the context to the provider service get provider params

func (*ProviderServiceGetProviderParams) WithDefaults

WithDefaults hydrates default values in the provider service get provider params (not the query body).

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

func (*ProviderServiceGetProviderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the provider service get provider params

func (*ProviderServiceGetProviderParams) WithTimeout

WithTimeout adds the timeout to the provider service get provider params

func (*ProviderServiceGetProviderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProviderServiceGetProviderReader

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

ProviderServiceGetProviderReader is a Reader for the ProviderServiceGetProvider structure.

func (*ProviderServiceGetProviderReader) ReadResponse

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