internal_power_v_s_locations

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 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 internal power v s locations API

func (*Client) InternalV1PowervsLocationsTransitgatewayGet

InternalV1PowervsLocationsTransitgatewayGet gets list of p e r enabled power v s locations

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 {
	InternalV1PowervsLocationsTransitgatewayGet(params *InternalV1PowervsLocationsTransitgatewayGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1PowervsLocationsTransitgatewayGetOK, 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 internal power v s locations API client.

type InternalV1PowervsLocationsTransitgatewayGetForbidden

type InternalV1PowervsLocationsTransitgatewayGetForbidden struct {
	Payload *models.Error
}

InternalV1PowervsLocationsTransitgatewayGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewInternalV1PowervsLocationsTransitgatewayGetForbidden

func NewInternalV1PowervsLocationsTransitgatewayGetForbidden() *InternalV1PowervsLocationsTransitgatewayGetForbidden

NewInternalV1PowervsLocationsTransitgatewayGetForbidden creates a InternalV1PowervsLocationsTransitgatewayGetForbidden with default headers values

func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) Code added in v1.2.4

Code gets the status code for the internal v1 powervs locations transitgateway get forbidden response

func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) Error

func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) GetPayload

func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) IsClientError added in v1.2.2

IsClientError returns true when this internal v1 powervs locations transitgateway get forbidden response has a 4xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) IsCode added in v1.2.2

IsCode returns true when this internal v1 powervs locations transitgateway get forbidden response a status code equal to that given

func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this internal v1 powervs locations transitgateway get forbidden response has a 3xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) IsServerError added in v1.2.2

IsServerError returns true when this internal v1 powervs locations transitgateway get forbidden response has a 5xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this internal v1 powervs locations transitgateway get forbidden response has a 2xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) String added in v1.2.2

type InternalV1PowervsLocationsTransitgatewayGetInternalServerError

type InternalV1PowervsLocationsTransitgatewayGetInternalServerError struct {
	Payload *models.Error
}

InternalV1PowervsLocationsTransitgatewayGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewInternalV1PowervsLocationsTransitgatewayGetInternalServerError

func NewInternalV1PowervsLocationsTransitgatewayGetInternalServerError() *InternalV1PowervsLocationsTransitgatewayGetInternalServerError

NewInternalV1PowervsLocationsTransitgatewayGetInternalServerError creates a InternalV1PowervsLocationsTransitgatewayGetInternalServerError with default headers values

func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) Code added in v1.2.4

Code gets the status code for the internal v1 powervs locations transitgateway get internal server error response

func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) Error

func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) GetPayload

func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this internal v1 powervs locations transitgateway get internal server error response has a 4xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this internal v1 powervs locations transitgateway get internal server error response a status code equal to that given

func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this internal v1 powervs locations transitgateway get internal server error response has a 3xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this internal v1 powervs locations transitgateway get internal server error response has a 5xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this internal v1 powervs locations transitgateway get internal server error response has a 2xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) String added in v1.2.2

type InternalV1PowervsLocationsTransitgatewayGetOK

type InternalV1PowervsLocationsTransitgatewayGetOK struct {
	Payload *models.TransitGatewayLocations
}

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

OK

func NewInternalV1PowervsLocationsTransitgatewayGetOK

func NewInternalV1PowervsLocationsTransitgatewayGetOK() *InternalV1PowervsLocationsTransitgatewayGetOK

NewInternalV1PowervsLocationsTransitgatewayGetOK creates a InternalV1PowervsLocationsTransitgatewayGetOK with default headers values

func (*InternalV1PowervsLocationsTransitgatewayGetOK) Code added in v1.2.4

Code gets the status code for the internal v1 powervs locations transitgateway get o k response

func (*InternalV1PowervsLocationsTransitgatewayGetOK) Error

func (*InternalV1PowervsLocationsTransitgatewayGetOK) GetPayload

func (*InternalV1PowervsLocationsTransitgatewayGetOK) IsClientError added in v1.2.2

IsClientError returns true when this internal v1 powervs locations transitgateway get o k response has a 4xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetOK) IsCode added in v1.2.2

IsCode returns true when this internal v1 powervs locations transitgateway get o k response a status code equal to that given

func (*InternalV1PowervsLocationsTransitgatewayGetOK) IsRedirect added in v1.2.2

IsRedirect returns true when this internal v1 powervs locations transitgateway get o k response has a 3xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetOK) IsServerError added in v1.2.2

IsServerError returns true when this internal v1 powervs locations transitgateway get o k response has a 5xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetOK) IsSuccess added in v1.2.2

IsSuccess returns true when this internal v1 powervs locations transitgateway get o k response has a 2xx status code

func (*InternalV1PowervsLocationsTransitgatewayGetOK) String added in v1.2.2

type InternalV1PowervsLocationsTransitgatewayGetParams

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

InternalV1PowervsLocationsTransitgatewayGetParams contains all the parameters to send to the API endpoint

for the internal v1 powervs locations transitgateway get operation.

Typically these are written to a http.Request.

func NewInternalV1PowervsLocationsTransitgatewayGetParams

func NewInternalV1PowervsLocationsTransitgatewayGetParams() *InternalV1PowervsLocationsTransitgatewayGetParams

NewInternalV1PowervsLocationsTransitgatewayGetParams creates a new InternalV1PowervsLocationsTransitgatewayGetParams 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 NewInternalV1PowervsLocationsTransitgatewayGetParamsWithContext

func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithContext(ctx context.Context) *InternalV1PowervsLocationsTransitgatewayGetParams

NewInternalV1PowervsLocationsTransitgatewayGetParamsWithContext creates a new InternalV1PowervsLocationsTransitgatewayGetParams object with the ability to set a context for a request.

func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithHTTPClient

func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithHTTPClient(client *http.Client) *InternalV1PowervsLocationsTransitgatewayGetParams

NewInternalV1PowervsLocationsTransitgatewayGetParamsWithHTTPClient creates a new InternalV1PowervsLocationsTransitgatewayGetParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithTimeout

func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithTimeout(timeout time.Duration) *InternalV1PowervsLocationsTransitgatewayGetParams

NewInternalV1PowervsLocationsTransitgatewayGetParamsWithTimeout creates a new InternalV1PowervsLocationsTransitgatewayGetParams object with the ability to set a timeout on a request.

func (*InternalV1PowervsLocationsTransitgatewayGetParams) SetContext

SetContext adds the context to the internal v1 powervs locations transitgateway get params

func (*InternalV1PowervsLocationsTransitgatewayGetParams) SetDefaults

SetDefaults hydrates default values in the internal v1 powervs locations transitgateway get params (not the query body).

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

func (*InternalV1PowervsLocationsTransitgatewayGetParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the internal v1 powervs locations transitgateway get params

func (*InternalV1PowervsLocationsTransitgatewayGetParams) SetTimeout

SetTimeout adds the timeout to the internal v1 powervs locations transitgateway get params

func (*InternalV1PowervsLocationsTransitgatewayGetParams) WithContext

WithContext adds the context to the internal v1 powervs locations transitgateway get params

func (*InternalV1PowervsLocationsTransitgatewayGetParams) WithDefaults

WithDefaults hydrates default values in the internal v1 powervs locations transitgateway get params (not the query body).

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

func (*InternalV1PowervsLocationsTransitgatewayGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the internal v1 powervs locations transitgateway get params

func (*InternalV1PowervsLocationsTransitgatewayGetParams) WithTimeout

WithTimeout adds the timeout to the internal v1 powervs locations transitgateway get params

func (*InternalV1PowervsLocationsTransitgatewayGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1PowervsLocationsTransitgatewayGetReader

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

InternalV1PowervsLocationsTransitgatewayGetReader is a Reader for the InternalV1PowervsLocationsTransitgatewayGet structure.

func (*InternalV1PowervsLocationsTransitgatewayGetReader) ReadResponse

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