Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type InternalV1PowervsLocationsTransitgatewayGetForbidden
- func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) Code() int
- func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) Error() string
- func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) GetPayload() *models.Error
- func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) IsClientError() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) IsCode(code int) bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) IsRedirect() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) IsServerError() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) IsSuccess() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) String() string
- type InternalV1PowervsLocationsTransitgatewayGetInternalServerError
- func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) Code() int
- func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) Error() string
- func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) GetPayload() *models.Error
- func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsClientError() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsCode(code int) bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsRedirect() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsServerError() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsSuccess() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) String() string
- type InternalV1PowervsLocationsTransitgatewayGetOK
- func (o *InternalV1PowervsLocationsTransitgatewayGetOK) Code() int
- func (o *InternalV1PowervsLocationsTransitgatewayGetOK) Error() string
- func (o *InternalV1PowervsLocationsTransitgatewayGetOK) GetPayload() *models.TransitGatewayLocations
- func (o *InternalV1PowervsLocationsTransitgatewayGetOK) IsClientError() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetOK) IsCode(code int) bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetOK) IsRedirect() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetOK) IsServerError() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetOK) IsSuccess() bool
- func (o *InternalV1PowervsLocationsTransitgatewayGetOK) String() string
- type InternalV1PowervsLocationsTransitgatewayGetParams
- func NewInternalV1PowervsLocationsTransitgatewayGetParams() *InternalV1PowervsLocationsTransitgatewayGetParams
- func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithContext(ctx context.Context) *InternalV1PowervsLocationsTransitgatewayGetParams
- func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithHTTPClient(client *http.Client) *InternalV1PowervsLocationsTransitgatewayGetParams
- func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithTimeout(timeout time.Duration) *InternalV1PowervsLocationsTransitgatewayGetParams
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetContext(ctx context.Context)
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetDefaults()
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithContext(ctx context.Context) *InternalV1PowervsLocationsTransitgatewayGetParams
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithDefaults() *InternalV1PowervsLocationsTransitgatewayGetParams
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithHTTPClient(client *http.Client) *InternalV1PowervsLocationsTransitgatewayGetParams
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithTimeout(timeout time.Duration) *InternalV1PowervsLocationsTransitgatewayGetParams
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1PowervsLocationsTransitgatewayGetReader
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 ¶
func (a *Client) InternalV1PowervsLocationsTransitgatewayGet(params *InternalV1PowervsLocationsTransitgatewayGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1PowervsLocationsTransitgatewayGetOK, error)
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 ¶
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
func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) Code() int
Code gets the status code for the internal v1 powervs locations transitgateway get forbidden response
func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) Error ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) Error() string
func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) GetPayload ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) GetPayload() *models.Error
func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) IsClientError ¶ added in v1.2.2
func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) IsClientError() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) IsCode(code int) bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) IsRedirect() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) IsServerError() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) IsSuccess() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) String() string
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
func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) Code() int
Code gets the status code for the internal v1 powervs locations transitgateway get internal server error response
func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) Error ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) Error() string
func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) GetPayload ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) GetPayload() *models.Error
func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsClientError() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsCode(code int) bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsRedirect() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsServerError() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsSuccess() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) String() string
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
func (o *InternalV1PowervsLocationsTransitgatewayGetOK) Code() int
Code gets the status code for the internal v1 powervs locations transitgateway get o k response
func (*InternalV1PowervsLocationsTransitgatewayGetOK) Error ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetOK) Error() string
func (*InternalV1PowervsLocationsTransitgatewayGetOK) GetPayload ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetOK) GetPayload() *models.TransitGatewayLocations
func (*InternalV1PowervsLocationsTransitgatewayGetOK) IsClientError ¶ added in v1.2.2
func (o *InternalV1PowervsLocationsTransitgatewayGetOK) IsClientError() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetOK) IsCode(code int) bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetOK) IsRedirect() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetOK) IsServerError() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetOK) IsSuccess() bool
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
func (o *InternalV1PowervsLocationsTransitgatewayGetOK) String() string
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 ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) SetDefaults ¶
func (o *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 ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) SetTimeout ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) WithContext ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithContext(ctx context.Context) *InternalV1PowervsLocationsTransitgatewayGetParams
WithContext adds the context to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) WithDefaults ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithDefaults() *InternalV1PowervsLocationsTransitgatewayGetParams
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 ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithHTTPClient(client *http.Client) *InternalV1PowervsLocationsTransitgatewayGetParams
WithHTTPClient adds the HTTPClient to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) WithTimeout ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithTimeout(timeout time.Duration) *InternalV1PowervsLocationsTransitgatewayGetParams
WithTimeout adds the timeout to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) WriteToRequest ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.