Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) V1DatacentersGet(params *V1DatacentersGetParams, opts ...ClientOption) (*V1DatacentersGetOK, error)
- func (a *Client) V1DatacentersGetall(params *V1DatacentersGetallParams, opts ...ClientOption) (*V1DatacentersGetallOK, error)
- func (a *Client) V1DatacentersPrivateGet(params *V1DatacentersPrivateGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1DatacentersPrivateGetOK, error)
- func (a *Client) V1DatacentersPrivateGetall(params *V1DatacentersPrivateGetallParams, ...) (*V1DatacentersPrivateGetallOK, error)
- type ClientOption
- type ClientService
- type V1DatacentersGetBadRequest
- func (o *V1DatacentersGetBadRequest) Code() int
- func (o *V1DatacentersGetBadRequest) Error() string
- func (o *V1DatacentersGetBadRequest) GetPayload() *models.Error
- func (o *V1DatacentersGetBadRequest) IsClientError() bool
- func (o *V1DatacentersGetBadRequest) IsCode(code int) bool
- func (o *V1DatacentersGetBadRequest) IsRedirect() bool
- func (o *V1DatacentersGetBadRequest) IsServerError() bool
- func (o *V1DatacentersGetBadRequest) IsSuccess() bool
- func (o *V1DatacentersGetBadRequest) String() string
- type V1DatacentersGetForbidden
- func (o *V1DatacentersGetForbidden) Code() int
- func (o *V1DatacentersGetForbidden) Error() string
- func (o *V1DatacentersGetForbidden) GetPayload() *models.Error
- func (o *V1DatacentersGetForbidden) IsClientError() bool
- func (o *V1DatacentersGetForbidden) IsCode(code int) bool
- func (o *V1DatacentersGetForbidden) IsRedirect() bool
- func (o *V1DatacentersGetForbidden) IsServerError() bool
- func (o *V1DatacentersGetForbidden) IsSuccess() bool
- func (o *V1DatacentersGetForbidden) String() string
- type V1DatacentersGetInternalServerError
- func (o *V1DatacentersGetInternalServerError) Code() int
- func (o *V1DatacentersGetInternalServerError) Error() string
- func (o *V1DatacentersGetInternalServerError) GetPayload() *models.Error
- func (o *V1DatacentersGetInternalServerError) IsClientError() bool
- func (o *V1DatacentersGetInternalServerError) IsCode(code int) bool
- func (o *V1DatacentersGetInternalServerError) IsRedirect() bool
- func (o *V1DatacentersGetInternalServerError) IsServerError() bool
- func (o *V1DatacentersGetInternalServerError) IsSuccess() bool
- func (o *V1DatacentersGetInternalServerError) String() string
- type V1DatacentersGetOK
- func (o *V1DatacentersGetOK) Code() int
- func (o *V1DatacentersGetOK) Error() string
- func (o *V1DatacentersGetOK) GetPayload() *models.Datacenter
- func (o *V1DatacentersGetOK) IsClientError() bool
- func (o *V1DatacentersGetOK) IsCode(code int) bool
- func (o *V1DatacentersGetOK) IsRedirect() bool
- func (o *V1DatacentersGetOK) IsServerError() bool
- func (o *V1DatacentersGetOK) IsSuccess() bool
- func (o *V1DatacentersGetOK) String() string
- type V1DatacentersGetParams
- func NewV1DatacentersGetParams() *V1DatacentersGetParams
- func NewV1DatacentersGetParamsWithContext(ctx context.Context) *V1DatacentersGetParams
- func NewV1DatacentersGetParamsWithHTTPClient(client *http.Client) *V1DatacentersGetParams
- func NewV1DatacentersGetParamsWithTimeout(timeout time.Duration) *V1DatacentersGetParams
- func (o *V1DatacentersGetParams) SetContext(ctx context.Context)
- func (o *V1DatacentersGetParams) SetDatacenterRegion(datacenterRegion string)
- func (o *V1DatacentersGetParams) SetDefaults()
- func (o *V1DatacentersGetParams) SetHTTPClient(client *http.Client)
- func (o *V1DatacentersGetParams) SetTimeout(timeout time.Duration)
- func (o *V1DatacentersGetParams) WithContext(ctx context.Context) *V1DatacentersGetParams
- func (o *V1DatacentersGetParams) WithDatacenterRegion(datacenterRegion string) *V1DatacentersGetParams
- func (o *V1DatacentersGetParams) WithDefaults() *V1DatacentersGetParams
- func (o *V1DatacentersGetParams) WithHTTPClient(client *http.Client) *V1DatacentersGetParams
- func (o *V1DatacentersGetParams) WithTimeout(timeout time.Duration) *V1DatacentersGetParams
- func (o *V1DatacentersGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1DatacentersGetReader
- type V1DatacentersGetUnauthorized
- func (o *V1DatacentersGetUnauthorized) Code() int
- func (o *V1DatacentersGetUnauthorized) Error() string
- func (o *V1DatacentersGetUnauthorized) GetPayload() *models.Error
- func (o *V1DatacentersGetUnauthorized) IsClientError() bool
- func (o *V1DatacentersGetUnauthorized) IsCode(code int) bool
- func (o *V1DatacentersGetUnauthorized) IsRedirect() bool
- func (o *V1DatacentersGetUnauthorized) IsServerError() bool
- func (o *V1DatacentersGetUnauthorized) IsSuccess() bool
- func (o *V1DatacentersGetUnauthorized) String() string
- type V1DatacentersGetallBadRequest
- func (o *V1DatacentersGetallBadRequest) Code() int
- func (o *V1DatacentersGetallBadRequest) Error() string
- func (o *V1DatacentersGetallBadRequest) GetPayload() *models.Error
- func (o *V1DatacentersGetallBadRequest) IsClientError() bool
- func (o *V1DatacentersGetallBadRequest) IsCode(code int) bool
- func (o *V1DatacentersGetallBadRequest) IsRedirect() bool
- func (o *V1DatacentersGetallBadRequest) IsServerError() bool
- func (o *V1DatacentersGetallBadRequest) IsSuccess() bool
- func (o *V1DatacentersGetallBadRequest) String() string
- type V1DatacentersGetallForbidden
- func (o *V1DatacentersGetallForbidden) Code() int
- func (o *V1DatacentersGetallForbidden) Error() string
- func (o *V1DatacentersGetallForbidden) GetPayload() *models.Error
- func (o *V1DatacentersGetallForbidden) IsClientError() bool
- func (o *V1DatacentersGetallForbidden) IsCode(code int) bool
- func (o *V1DatacentersGetallForbidden) IsRedirect() bool
- func (o *V1DatacentersGetallForbidden) IsServerError() bool
- func (o *V1DatacentersGetallForbidden) IsSuccess() bool
- func (o *V1DatacentersGetallForbidden) String() string
- type V1DatacentersGetallInternalServerError
- func (o *V1DatacentersGetallInternalServerError) Code() int
- func (o *V1DatacentersGetallInternalServerError) Error() string
- func (o *V1DatacentersGetallInternalServerError) GetPayload() *models.Error
- func (o *V1DatacentersGetallInternalServerError) IsClientError() bool
- func (o *V1DatacentersGetallInternalServerError) IsCode(code int) bool
- func (o *V1DatacentersGetallInternalServerError) IsRedirect() bool
- func (o *V1DatacentersGetallInternalServerError) IsServerError() bool
- func (o *V1DatacentersGetallInternalServerError) IsSuccess() bool
- func (o *V1DatacentersGetallInternalServerError) String() string
- type V1DatacentersGetallOK
- func (o *V1DatacentersGetallOK) Code() int
- func (o *V1DatacentersGetallOK) Error() string
- func (o *V1DatacentersGetallOK) GetPayload() *models.Datacenters
- func (o *V1DatacentersGetallOK) IsClientError() bool
- func (o *V1DatacentersGetallOK) IsCode(code int) bool
- func (o *V1DatacentersGetallOK) IsRedirect() bool
- func (o *V1DatacentersGetallOK) IsServerError() bool
- func (o *V1DatacentersGetallOK) IsSuccess() bool
- func (o *V1DatacentersGetallOK) String() string
- type V1DatacentersGetallParams
- func NewV1DatacentersGetallParams() *V1DatacentersGetallParams
- func NewV1DatacentersGetallParamsWithContext(ctx context.Context) *V1DatacentersGetallParams
- func NewV1DatacentersGetallParamsWithHTTPClient(client *http.Client) *V1DatacentersGetallParams
- func NewV1DatacentersGetallParamsWithTimeout(timeout time.Duration) *V1DatacentersGetallParams
- func (o *V1DatacentersGetallParams) SetContext(ctx context.Context)
- func (o *V1DatacentersGetallParams) SetDefaults()
- func (o *V1DatacentersGetallParams) SetHTTPClient(client *http.Client)
- func (o *V1DatacentersGetallParams) SetTimeout(timeout time.Duration)
- func (o *V1DatacentersGetallParams) WithContext(ctx context.Context) *V1DatacentersGetallParams
- func (o *V1DatacentersGetallParams) WithDefaults() *V1DatacentersGetallParams
- func (o *V1DatacentersGetallParams) WithHTTPClient(client *http.Client) *V1DatacentersGetallParams
- func (o *V1DatacentersGetallParams) WithTimeout(timeout time.Duration) *V1DatacentersGetallParams
- func (o *V1DatacentersGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1DatacentersGetallReader
- type V1DatacentersGetallUnauthorized
- func (o *V1DatacentersGetallUnauthorized) Code() int
- func (o *V1DatacentersGetallUnauthorized) Error() string
- func (o *V1DatacentersGetallUnauthorized) GetPayload() *models.Error
- func (o *V1DatacentersGetallUnauthorized) IsClientError() bool
- func (o *V1DatacentersGetallUnauthorized) IsCode(code int) bool
- func (o *V1DatacentersGetallUnauthorized) IsRedirect() bool
- func (o *V1DatacentersGetallUnauthorized) IsServerError() bool
- func (o *V1DatacentersGetallUnauthorized) IsSuccess() bool
- func (o *V1DatacentersGetallUnauthorized) String() string
- type V1DatacentersPrivateGetBadRequest
- func (o *V1DatacentersPrivateGetBadRequest) Code() int
- func (o *V1DatacentersPrivateGetBadRequest) Error() string
- func (o *V1DatacentersPrivateGetBadRequest) GetPayload() *models.Error
- func (o *V1DatacentersPrivateGetBadRequest) IsClientError() bool
- func (o *V1DatacentersPrivateGetBadRequest) IsCode(code int) bool
- func (o *V1DatacentersPrivateGetBadRequest) IsRedirect() bool
- func (o *V1DatacentersPrivateGetBadRequest) IsServerError() bool
- func (o *V1DatacentersPrivateGetBadRequest) IsSuccess() bool
- func (o *V1DatacentersPrivateGetBadRequest) String() string
- type V1DatacentersPrivateGetForbidden
- func (o *V1DatacentersPrivateGetForbidden) Code() int
- func (o *V1DatacentersPrivateGetForbidden) Error() string
- func (o *V1DatacentersPrivateGetForbidden) GetPayload() *models.Error
- func (o *V1DatacentersPrivateGetForbidden) IsClientError() bool
- func (o *V1DatacentersPrivateGetForbidden) IsCode(code int) bool
- func (o *V1DatacentersPrivateGetForbidden) IsRedirect() bool
- func (o *V1DatacentersPrivateGetForbidden) IsServerError() bool
- func (o *V1DatacentersPrivateGetForbidden) IsSuccess() bool
- func (o *V1DatacentersPrivateGetForbidden) String() string
- type V1DatacentersPrivateGetInternalServerError
- func (o *V1DatacentersPrivateGetInternalServerError) Code() int
- func (o *V1DatacentersPrivateGetInternalServerError) Error() string
- func (o *V1DatacentersPrivateGetInternalServerError) GetPayload() *models.Error
- func (o *V1DatacentersPrivateGetInternalServerError) IsClientError() bool
- func (o *V1DatacentersPrivateGetInternalServerError) IsCode(code int) bool
- func (o *V1DatacentersPrivateGetInternalServerError) IsRedirect() bool
- func (o *V1DatacentersPrivateGetInternalServerError) IsServerError() bool
- func (o *V1DatacentersPrivateGetInternalServerError) IsSuccess() bool
- func (o *V1DatacentersPrivateGetInternalServerError) String() string
- type V1DatacentersPrivateGetOK
- func (o *V1DatacentersPrivateGetOK) Code() int
- func (o *V1DatacentersPrivateGetOK) Error() string
- func (o *V1DatacentersPrivateGetOK) GetPayload() *models.Datacenter
- func (o *V1DatacentersPrivateGetOK) IsClientError() bool
- func (o *V1DatacentersPrivateGetOK) IsCode(code int) bool
- func (o *V1DatacentersPrivateGetOK) IsRedirect() bool
- func (o *V1DatacentersPrivateGetOK) IsServerError() bool
- func (o *V1DatacentersPrivateGetOK) IsSuccess() bool
- func (o *V1DatacentersPrivateGetOK) String() string
- type V1DatacentersPrivateGetParams
- func NewV1DatacentersPrivateGetParams() *V1DatacentersPrivateGetParams
- func NewV1DatacentersPrivateGetParamsWithContext(ctx context.Context) *V1DatacentersPrivateGetParams
- func NewV1DatacentersPrivateGetParamsWithHTTPClient(client *http.Client) *V1DatacentersPrivateGetParams
- func NewV1DatacentersPrivateGetParamsWithTimeout(timeout time.Duration) *V1DatacentersPrivateGetParams
- func (o *V1DatacentersPrivateGetParams) SetContext(ctx context.Context)
- func (o *V1DatacentersPrivateGetParams) SetDatacenterRegion(datacenterRegion string)
- func (o *V1DatacentersPrivateGetParams) SetDefaults()
- func (o *V1DatacentersPrivateGetParams) SetHTTPClient(client *http.Client)
- func (o *V1DatacentersPrivateGetParams) SetTimeout(timeout time.Duration)
- func (o *V1DatacentersPrivateGetParams) WithContext(ctx context.Context) *V1DatacentersPrivateGetParams
- func (o *V1DatacentersPrivateGetParams) WithDatacenterRegion(datacenterRegion string) *V1DatacentersPrivateGetParams
- func (o *V1DatacentersPrivateGetParams) WithDefaults() *V1DatacentersPrivateGetParams
- func (o *V1DatacentersPrivateGetParams) WithHTTPClient(client *http.Client) *V1DatacentersPrivateGetParams
- func (o *V1DatacentersPrivateGetParams) WithTimeout(timeout time.Duration) *V1DatacentersPrivateGetParams
- func (o *V1DatacentersPrivateGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1DatacentersPrivateGetReader
- type V1DatacentersPrivateGetUnauthorized
- func (o *V1DatacentersPrivateGetUnauthorized) Code() int
- func (o *V1DatacentersPrivateGetUnauthorized) Error() string
- func (o *V1DatacentersPrivateGetUnauthorized) GetPayload() *models.Error
- func (o *V1DatacentersPrivateGetUnauthorized) IsClientError() bool
- func (o *V1DatacentersPrivateGetUnauthorized) IsCode(code int) bool
- func (o *V1DatacentersPrivateGetUnauthorized) IsRedirect() bool
- func (o *V1DatacentersPrivateGetUnauthorized) IsServerError() bool
- func (o *V1DatacentersPrivateGetUnauthorized) IsSuccess() bool
- func (o *V1DatacentersPrivateGetUnauthorized) String() string
- type V1DatacentersPrivateGetallBadRequest
- func (o *V1DatacentersPrivateGetallBadRequest) Code() int
- func (o *V1DatacentersPrivateGetallBadRequest) Error() string
- func (o *V1DatacentersPrivateGetallBadRequest) GetPayload() *models.Error
- func (o *V1DatacentersPrivateGetallBadRequest) IsClientError() bool
- func (o *V1DatacentersPrivateGetallBadRequest) IsCode(code int) bool
- func (o *V1DatacentersPrivateGetallBadRequest) IsRedirect() bool
- func (o *V1DatacentersPrivateGetallBadRequest) IsServerError() bool
- func (o *V1DatacentersPrivateGetallBadRequest) IsSuccess() bool
- func (o *V1DatacentersPrivateGetallBadRequest) String() string
- type V1DatacentersPrivateGetallForbidden
- func (o *V1DatacentersPrivateGetallForbidden) Code() int
- func (o *V1DatacentersPrivateGetallForbidden) Error() string
- func (o *V1DatacentersPrivateGetallForbidden) GetPayload() *models.Error
- func (o *V1DatacentersPrivateGetallForbidden) IsClientError() bool
- func (o *V1DatacentersPrivateGetallForbidden) IsCode(code int) bool
- func (o *V1DatacentersPrivateGetallForbidden) IsRedirect() bool
- func (o *V1DatacentersPrivateGetallForbidden) IsServerError() bool
- func (o *V1DatacentersPrivateGetallForbidden) IsSuccess() bool
- func (o *V1DatacentersPrivateGetallForbidden) String() string
- type V1DatacentersPrivateGetallInternalServerError
- func (o *V1DatacentersPrivateGetallInternalServerError) Code() int
- func (o *V1DatacentersPrivateGetallInternalServerError) Error() string
- func (o *V1DatacentersPrivateGetallInternalServerError) GetPayload() *models.Error
- func (o *V1DatacentersPrivateGetallInternalServerError) IsClientError() bool
- func (o *V1DatacentersPrivateGetallInternalServerError) IsCode(code int) bool
- func (o *V1DatacentersPrivateGetallInternalServerError) IsRedirect() bool
- func (o *V1DatacentersPrivateGetallInternalServerError) IsServerError() bool
- func (o *V1DatacentersPrivateGetallInternalServerError) IsSuccess() bool
- func (o *V1DatacentersPrivateGetallInternalServerError) String() string
- type V1DatacentersPrivateGetallOK
- func (o *V1DatacentersPrivateGetallOK) Code() int
- func (o *V1DatacentersPrivateGetallOK) Error() string
- func (o *V1DatacentersPrivateGetallOK) GetPayload() *models.Datacenters
- func (o *V1DatacentersPrivateGetallOK) IsClientError() bool
- func (o *V1DatacentersPrivateGetallOK) IsCode(code int) bool
- func (o *V1DatacentersPrivateGetallOK) IsRedirect() bool
- func (o *V1DatacentersPrivateGetallOK) IsServerError() bool
- func (o *V1DatacentersPrivateGetallOK) IsSuccess() bool
- func (o *V1DatacentersPrivateGetallOK) String() string
- type V1DatacentersPrivateGetallParams
- func NewV1DatacentersPrivateGetallParams() *V1DatacentersPrivateGetallParams
- func NewV1DatacentersPrivateGetallParamsWithContext(ctx context.Context) *V1DatacentersPrivateGetallParams
- func NewV1DatacentersPrivateGetallParamsWithHTTPClient(client *http.Client) *V1DatacentersPrivateGetallParams
- func NewV1DatacentersPrivateGetallParamsWithTimeout(timeout time.Duration) *V1DatacentersPrivateGetallParams
- func (o *V1DatacentersPrivateGetallParams) SetContext(ctx context.Context)
- func (o *V1DatacentersPrivateGetallParams) SetDefaults()
- func (o *V1DatacentersPrivateGetallParams) SetHTTPClient(client *http.Client)
- func (o *V1DatacentersPrivateGetallParams) SetTimeout(timeout time.Duration)
- func (o *V1DatacentersPrivateGetallParams) WithContext(ctx context.Context) *V1DatacentersPrivateGetallParams
- func (o *V1DatacentersPrivateGetallParams) WithDefaults() *V1DatacentersPrivateGetallParams
- func (o *V1DatacentersPrivateGetallParams) WithHTTPClient(client *http.Client) *V1DatacentersPrivateGetallParams
- func (o *V1DatacentersPrivateGetallParams) WithTimeout(timeout time.Duration) *V1DatacentersPrivateGetallParams
- func (o *V1DatacentersPrivateGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1DatacentersPrivateGetallReader
- type V1DatacentersPrivateGetallUnauthorized
- func (o *V1DatacentersPrivateGetallUnauthorized) Code() int
- func (o *V1DatacentersPrivateGetallUnauthorized) Error() string
- func (o *V1DatacentersPrivateGetallUnauthorized) GetPayload() *models.Error
- func (o *V1DatacentersPrivateGetallUnauthorized) IsClientError() bool
- func (o *V1DatacentersPrivateGetallUnauthorized) IsCode(code int) bool
- func (o *V1DatacentersPrivateGetallUnauthorized) IsRedirect() bool
- func (o *V1DatacentersPrivateGetallUnauthorized) IsServerError() bool
- func (o *V1DatacentersPrivateGetallUnauthorized) IsSuccess() bool
- func (o *V1DatacentersPrivateGetallUnauthorized) String() string
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 datacenters API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) V1DatacentersGet ¶
func (a *Client) V1DatacentersGet(params *V1DatacentersGetParams, opts ...ClientOption) (*V1DatacentersGetOK, error)
V1DatacentersGet gets a datacenter s information and capabilities
func (*Client) V1DatacentersGetall ¶
func (a *Client) V1DatacentersGetall(params *V1DatacentersGetallParams, opts ...ClientOption) (*V1DatacentersGetallOK, error)
V1DatacentersGetall gets all datacenters information and capabilities
func (*Client) V1DatacentersPrivateGet ¶ added in v1.9.0
func (a *Client) V1DatacentersPrivateGet(params *V1DatacentersPrivateGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1DatacentersPrivateGetOK, error)
V1DatacentersPrivateGet gets a private datacenter s information and capabilities
func (*Client) V1DatacentersPrivateGetall ¶ added in v1.9.0
func (a *Client) V1DatacentersPrivateGetall(params *V1DatacentersPrivateGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1DatacentersPrivateGetallOK, error)
V1DatacentersPrivateGetall gets private datacenter information and capabilities
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { V1DatacentersGet(params *V1DatacentersGetParams, opts ...ClientOption) (*V1DatacentersGetOK, error) V1DatacentersGetall(params *V1DatacentersGetallParams, opts ...ClientOption) (*V1DatacentersGetallOK, error) V1DatacentersPrivateGet(params *V1DatacentersPrivateGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1DatacentersPrivateGetOK, error) V1DatacentersPrivateGetall(params *V1DatacentersPrivateGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1DatacentersPrivateGetallOK, 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 datacenters API client.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new datacenters API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v1.7.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new datacenters API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type V1DatacentersGetBadRequest ¶
V1DatacentersGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1DatacentersGetBadRequest ¶
func NewV1DatacentersGetBadRequest() *V1DatacentersGetBadRequest
NewV1DatacentersGetBadRequest creates a V1DatacentersGetBadRequest with default headers values
func (*V1DatacentersGetBadRequest) Code ¶
func (o *V1DatacentersGetBadRequest) Code() int
Code gets the status code for the v1 datacenters get bad request response
func (*V1DatacentersGetBadRequest) Error ¶
func (o *V1DatacentersGetBadRequest) Error() string
func (*V1DatacentersGetBadRequest) GetPayload ¶
func (o *V1DatacentersGetBadRequest) GetPayload() *models.Error
func (*V1DatacentersGetBadRequest) IsClientError ¶
func (o *V1DatacentersGetBadRequest) IsClientError() bool
IsClientError returns true when this v1 datacenters get bad request response has a 4xx status code
func (*V1DatacentersGetBadRequest) IsCode ¶
func (o *V1DatacentersGetBadRequest) IsCode(code int) bool
IsCode returns true when this v1 datacenters get bad request response a status code equal to that given
func (*V1DatacentersGetBadRequest) IsRedirect ¶
func (o *V1DatacentersGetBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 datacenters get bad request response has a 3xx status code
func (*V1DatacentersGetBadRequest) IsServerError ¶
func (o *V1DatacentersGetBadRequest) IsServerError() bool
IsServerError returns true when this v1 datacenters get bad request response has a 5xx status code
func (*V1DatacentersGetBadRequest) IsSuccess ¶
func (o *V1DatacentersGetBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 datacenters get bad request response has a 2xx status code
func (*V1DatacentersGetBadRequest) String ¶
func (o *V1DatacentersGetBadRequest) String() string
type V1DatacentersGetForbidden ¶
V1DatacentersGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1DatacentersGetForbidden ¶
func NewV1DatacentersGetForbidden() *V1DatacentersGetForbidden
NewV1DatacentersGetForbidden creates a V1DatacentersGetForbidden with default headers values
func (*V1DatacentersGetForbidden) Code ¶
func (o *V1DatacentersGetForbidden) Code() int
Code gets the status code for the v1 datacenters get forbidden response
func (*V1DatacentersGetForbidden) Error ¶
func (o *V1DatacentersGetForbidden) Error() string
func (*V1DatacentersGetForbidden) GetPayload ¶
func (o *V1DatacentersGetForbidden) GetPayload() *models.Error
func (*V1DatacentersGetForbidden) IsClientError ¶
func (o *V1DatacentersGetForbidden) IsClientError() bool
IsClientError returns true when this v1 datacenters get forbidden response has a 4xx status code
func (*V1DatacentersGetForbidden) IsCode ¶
func (o *V1DatacentersGetForbidden) IsCode(code int) bool
IsCode returns true when this v1 datacenters get forbidden response a status code equal to that given
func (*V1DatacentersGetForbidden) IsRedirect ¶
func (o *V1DatacentersGetForbidden) IsRedirect() bool
IsRedirect returns true when this v1 datacenters get forbidden response has a 3xx status code
func (*V1DatacentersGetForbidden) IsServerError ¶
func (o *V1DatacentersGetForbidden) IsServerError() bool
IsServerError returns true when this v1 datacenters get forbidden response has a 5xx status code
func (*V1DatacentersGetForbidden) IsSuccess ¶
func (o *V1DatacentersGetForbidden) IsSuccess() bool
IsSuccess returns true when this v1 datacenters get forbidden response has a 2xx status code
func (*V1DatacentersGetForbidden) String ¶
func (o *V1DatacentersGetForbidden) String() string
type V1DatacentersGetInternalServerError ¶
V1DatacentersGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1DatacentersGetInternalServerError ¶
func NewV1DatacentersGetInternalServerError() *V1DatacentersGetInternalServerError
NewV1DatacentersGetInternalServerError creates a V1DatacentersGetInternalServerError with default headers values
func (*V1DatacentersGetInternalServerError) Code ¶
func (o *V1DatacentersGetInternalServerError) Code() int
Code gets the status code for the v1 datacenters get internal server error response
func (*V1DatacentersGetInternalServerError) Error ¶
func (o *V1DatacentersGetInternalServerError) Error() string
func (*V1DatacentersGetInternalServerError) GetPayload ¶
func (o *V1DatacentersGetInternalServerError) GetPayload() *models.Error
func (*V1DatacentersGetInternalServerError) IsClientError ¶
func (o *V1DatacentersGetInternalServerError) IsClientError() bool
IsClientError returns true when this v1 datacenters get internal server error response has a 4xx status code
func (*V1DatacentersGetInternalServerError) IsCode ¶
func (o *V1DatacentersGetInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 datacenters get internal server error response a status code equal to that given
func (*V1DatacentersGetInternalServerError) IsRedirect ¶
func (o *V1DatacentersGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 datacenters get internal server error response has a 3xx status code
func (*V1DatacentersGetInternalServerError) IsServerError ¶
func (o *V1DatacentersGetInternalServerError) IsServerError() bool
IsServerError returns true when this v1 datacenters get internal server error response has a 5xx status code
func (*V1DatacentersGetInternalServerError) IsSuccess ¶
func (o *V1DatacentersGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 datacenters get internal server error response has a 2xx status code
func (*V1DatacentersGetInternalServerError) String ¶
func (o *V1DatacentersGetInternalServerError) String() string
type V1DatacentersGetOK ¶
type V1DatacentersGetOK struct {
Payload *models.Datacenter
}
V1DatacentersGetOK describes a response with status code 200, with default header values.
OK
func NewV1DatacentersGetOK ¶
func NewV1DatacentersGetOK() *V1DatacentersGetOK
NewV1DatacentersGetOK creates a V1DatacentersGetOK with default headers values
func (*V1DatacentersGetOK) Code ¶
func (o *V1DatacentersGetOK) Code() int
Code gets the status code for the v1 datacenters get o k response
func (*V1DatacentersGetOK) Error ¶
func (o *V1DatacentersGetOK) Error() string
func (*V1DatacentersGetOK) GetPayload ¶
func (o *V1DatacentersGetOK) GetPayload() *models.Datacenter
func (*V1DatacentersGetOK) IsClientError ¶
func (o *V1DatacentersGetOK) IsClientError() bool
IsClientError returns true when this v1 datacenters get o k response has a 4xx status code
func (*V1DatacentersGetOK) IsCode ¶
func (o *V1DatacentersGetOK) IsCode(code int) bool
IsCode returns true when this v1 datacenters get o k response a status code equal to that given
func (*V1DatacentersGetOK) IsRedirect ¶
func (o *V1DatacentersGetOK) IsRedirect() bool
IsRedirect returns true when this v1 datacenters get o k response has a 3xx status code
func (*V1DatacentersGetOK) IsServerError ¶
func (o *V1DatacentersGetOK) IsServerError() bool
IsServerError returns true when this v1 datacenters get o k response has a 5xx status code
func (*V1DatacentersGetOK) IsSuccess ¶
func (o *V1DatacentersGetOK) IsSuccess() bool
IsSuccess returns true when this v1 datacenters get o k response has a 2xx status code
func (*V1DatacentersGetOK) String ¶
func (o *V1DatacentersGetOK) String() string
type V1DatacentersGetParams ¶
type V1DatacentersGetParams struct { /* DatacenterRegion. Datacenter Region */ DatacenterRegion string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1DatacentersGetParams contains all the parameters to send to the API endpoint
for the v1 datacenters get operation. Typically these are written to a http.Request.
func NewV1DatacentersGetParams ¶
func NewV1DatacentersGetParams() *V1DatacentersGetParams
NewV1DatacentersGetParams creates a new V1DatacentersGetParams 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 NewV1DatacentersGetParamsWithContext ¶
func NewV1DatacentersGetParamsWithContext(ctx context.Context) *V1DatacentersGetParams
NewV1DatacentersGetParamsWithContext creates a new V1DatacentersGetParams object with the ability to set a context for a request.
func NewV1DatacentersGetParamsWithHTTPClient ¶
func NewV1DatacentersGetParamsWithHTTPClient(client *http.Client) *V1DatacentersGetParams
NewV1DatacentersGetParamsWithHTTPClient creates a new V1DatacentersGetParams object with the ability to set a custom HTTPClient for a request.
func NewV1DatacentersGetParamsWithTimeout ¶
func NewV1DatacentersGetParamsWithTimeout(timeout time.Duration) *V1DatacentersGetParams
NewV1DatacentersGetParamsWithTimeout creates a new V1DatacentersGetParams object with the ability to set a timeout on a request.
func (*V1DatacentersGetParams) SetContext ¶
func (o *V1DatacentersGetParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 datacenters get params
func (*V1DatacentersGetParams) SetDatacenterRegion ¶
func (o *V1DatacentersGetParams) SetDatacenterRegion(datacenterRegion string)
SetDatacenterRegion adds the datacenterRegion to the v1 datacenters get params
func (*V1DatacentersGetParams) SetDefaults ¶
func (o *V1DatacentersGetParams) SetDefaults()
SetDefaults hydrates default values in the v1 datacenters get params (not the query body).
All values with no default are reset to their zero value.
func (*V1DatacentersGetParams) SetHTTPClient ¶
func (o *V1DatacentersGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 datacenters get params
func (*V1DatacentersGetParams) SetTimeout ¶
func (o *V1DatacentersGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 datacenters get params
func (*V1DatacentersGetParams) WithContext ¶
func (o *V1DatacentersGetParams) WithContext(ctx context.Context) *V1DatacentersGetParams
WithContext adds the context to the v1 datacenters get params
func (*V1DatacentersGetParams) WithDatacenterRegion ¶
func (o *V1DatacentersGetParams) WithDatacenterRegion(datacenterRegion string) *V1DatacentersGetParams
WithDatacenterRegion adds the datacenterRegion to the v1 datacenters get params
func (*V1DatacentersGetParams) WithDefaults ¶
func (o *V1DatacentersGetParams) WithDefaults() *V1DatacentersGetParams
WithDefaults hydrates default values in the v1 datacenters get params (not the query body).
All values with no default are reset to their zero value.
func (*V1DatacentersGetParams) WithHTTPClient ¶
func (o *V1DatacentersGetParams) WithHTTPClient(client *http.Client) *V1DatacentersGetParams
WithHTTPClient adds the HTTPClient to the v1 datacenters get params
func (*V1DatacentersGetParams) WithTimeout ¶
func (o *V1DatacentersGetParams) WithTimeout(timeout time.Duration) *V1DatacentersGetParams
WithTimeout adds the timeout to the v1 datacenters get params
func (*V1DatacentersGetParams) WriteToRequest ¶
func (o *V1DatacentersGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1DatacentersGetReader ¶
type V1DatacentersGetReader struct {
// contains filtered or unexported fields
}
V1DatacentersGetReader is a Reader for the V1DatacentersGet structure.
func (*V1DatacentersGetReader) ReadResponse ¶
func (o *V1DatacentersGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1DatacentersGetUnauthorized ¶
type V1DatacentersGetUnauthorized struct {
}V1DatacentersGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1DatacentersGetUnauthorized ¶
func NewV1DatacentersGetUnauthorized() *V1DatacentersGetUnauthorized
NewV1DatacentersGetUnauthorized creates a V1DatacentersGetUnauthorized with default headers values
func (*V1DatacentersGetUnauthorized) Code ¶
func (o *V1DatacentersGetUnauthorized) Code() int
Code gets the status code for the v1 datacenters get unauthorized response
func (*V1DatacentersGetUnauthorized) Error ¶
func (o *V1DatacentersGetUnauthorized) Error() string
func (*V1DatacentersGetUnauthorized) GetPayload ¶
func (o *V1DatacentersGetUnauthorized) GetPayload() *models.Error
func (*V1DatacentersGetUnauthorized) IsClientError ¶
func (o *V1DatacentersGetUnauthorized) IsClientError() bool
IsClientError returns true when this v1 datacenters get unauthorized response has a 4xx status code
func (*V1DatacentersGetUnauthorized) IsCode ¶
func (o *V1DatacentersGetUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 datacenters get unauthorized response a status code equal to that given
func (*V1DatacentersGetUnauthorized) IsRedirect ¶
func (o *V1DatacentersGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 datacenters get unauthorized response has a 3xx status code
func (*V1DatacentersGetUnauthorized) IsServerError ¶
func (o *V1DatacentersGetUnauthorized) IsServerError() bool
IsServerError returns true when this v1 datacenters get unauthorized response has a 5xx status code
func (*V1DatacentersGetUnauthorized) IsSuccess ¶
func (o *V1DatacentersGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 datacenters get unauthorized response has a 2xx status code
func (*V1DatacentersGetUnauthorized) String ¶
func (o *V1DatacentersGetUnauthorized) String() string
type V1DatacentersGetallBadRequest ¶
V1DatacentersGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1DatacentersGetallBadRequest ¶
func NewV1DatacentersGetallBadRequest() *V1DatacentersGetallBadRequest
NewV1DatacentersGetallBadRequest creates a V1DatacentersGetallBadRequest with default headers values
func (*V1DatacentersGetallBadRequest) Code ¶
func (o *V1DatacentersGetallBadRequest) Code() int
Code gets the status code for the v1 datacenters getall bad request response
func (*V1DatacentersGetallBadRequest) Error ¶
func (o *V1DatacentersGetallBadRequest) Error() string
func (*V1DatacentersGetallBadRequest) GetPayload ¶
func (o *V1DatacentersGetallBadRequest) GetPayload() *models.Error
func (*V1DatacentersGetallBadRequest) IsClientError ¶
func (o *V1DatacentersGetallBadRequest) IsClientError() bool
IsClientError returns true when this v1 datacenters getall bad request response has a 4xx status code
func (*V1DatacentersGetallBadRequest) IsCode ¶
func (o *V1DatacentersGetallBadRequest) IsCode(code int) bool
IsCode returns true when this v1 datacenters getall bad request response a status code equal to that given
func (*V1DatacentersGetallBadRequest) IsRedirect ¶
func (o *V1DatacentersGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 datacenters getall bad request response has a 3xx status code
func (*V1DatacentersGetallBadRequest) IsServerError ¶
func (o *V1DatacentersGetallBadRequest) IsServerError() bool
IsServerError returns true when this v1 datacenters getall bad request response has a 5xx status code
func (*V1DatacentersGetallBadRequest) IsSuccess ¶
func (o *V1DatacentersGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 datacenters getall bad request response has a 2xx status code
func (*V1DatacentersGetallBadRequest) String ¶
func (o *V1DatacentersGetallBadRequest) String() string
type V1DatacentersGetallForbidden ¶
V1DatacentersGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1DatacentersGetallForbidden ¶
func NewV1DatacentersGetallForbidden() *V1DatacentersGetallForbidden
NewV1DatacentersGetallForbidden creates a V1DatacentersGetallForbidden with default headers values
func (*V1DatacentersGetallForbidden) Code ¶
func (o *V1DatacentersGetallForbidden) Code() int
Code gets the status code for the v1 datacenters getall forbidden response
func (*V1DatacentersGetallForbidden) Error ¶
func (o *V1DatacentersGetallForbidden) Error() string
func (*V1DatacentersGetallForbidden) GetPayload ¶
func (o *V1DatacentersGetallForbidden) GetPayload() *models.Error
func (*V1DatacentersGetallForbidden) IsClientError ¶
func (o *V1DatacentersGetallForbidden) IsClientError() bool
IsClientError returns true when this v1 datacenters getall forbidden response has a 4xx status code
func (*V1DatacentersGetallForbidden) IsCode ¶
func (o *V1DatacentersGetallForbidden) IsCode(code int) bool
IsCode returns true when this v1 datacenters getall forbidden response a status code equal to that given
func (*V1DatacentersGetallForbidden) IsRedirect ¶
func (o *V1DatacentersGetallForbidden) IsRedirect() bool
IsRedirect returns true when this v1 datacenters getall forbidden response has a 3xx status code
func (*V1DatacentersGetallForbidden) IsServerError ¶
func (o *V1DatacentersGetallForbidden) IsServerError() bool
IsServerError returns true when this v1 datacenters getall forbidden response has a 5xx status code
func (*V1DatacentersGetallForbidden) IsSuccess ¶
func (o *V1DatacentersGetallForbidden) IsSuccess() bool
IsSuccess returns true when this v1 datacenters getall forbidden response has a 2xx status code
func (*V1DatacentersGetallForbidden) String ¶
func (o *V1DatacentersGetallForbidden) String() string
type V1DatacentersGetallInternalServerError ¶
V1DatacentersGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1DatacentersGetallInternalServerError ¶
func NewV1DatacentersGetallInternalServerError() *V1DatacentersGetallInternalServerError
NewV1DatacentersGetallInternalServerError creates a V1DatacentersGetallInternalServerError with default headers values
func (*V1DatacentersGetallInternalServerError) Code ¶
func (o *V1DatacentersGetallInternalServerError) Code() int
Code gets the status code for the v1 datacenters getall internal server error response
func (*V1DatacentersGetallInternalServerError) Error ¶
func (o *V1DatacentersGetallInternalServerError) Error() string
func (*V1DatacentersGetallInternalServerError) GetPayload ¶
func (o *V1DatacentersGetallInternalServerError) GetPayload() *models.Error
func (*V1DatacentersGetallInternalServerError) IsClientError ¶
func (o *V1DatacentersGetallInternalServerError) IsClientError() bool
IsClientError returns true when this v1 datacenters getall internal server error response has a 4xx status code
func (*V1DatacentersGetallInternalServerError) IsCode ¶
func (o *V1DatacentersGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 datacenters getall internal server error response a status code equal to that given
func (*V1DatacentersGetallInternalServerError) IsRedirect ¶
func (o *V1DatacentersGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 datacenters getall internal server error response has a 3xx status code
func (*V1DatacentersGetallInternalServerError) IsServerError ¶
func (o *V1DatacentersGetallInternalServerError) IsServerError() bool
IsServerError returns true when this v1 datacenters getall internal server error response has a 5xx status code
func (*V1DatacentersGetallInternalServerError) IsSuccess ¶
func (o *V1DatacentersGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 datacenters getall internal server error response has a 2xx status code
func (*V1DatacentersGetallInternalServerError) String ¶
func (o *V1DatacentersGetallInternalServerError) String() string
type V1DatacentersGetallOK ¶
type V1DatacentersGetallOK struct {
Payload *models.Datacenters
}
V1DatacentersGetallOK describes a response with status code 200, with default header values.
OK
func NewV1DatacentersGetallOK ¶
func NewV1DatacentersGetallOK() *V1DatacentersGetallOK
NewV1DatacentersGetallOK creates a V1DatacentersGetallOK with default headers values
func (*V1DatacentersGetallOK) Code ¶
func (o *V1DatacentersGetallOK) Code() int
Code gets the status code for the v1 datacenters getall o k response
func (*V1DatacentersGetallOK) Error ¶
func (o *V1DatacentersGetallOK) Error() string
func (*V1DatacentersGetallOK) GetPayload ¶
func (o *V1DatacentersGetallOK) GetPayload() *models.Datacenters
func (*V1DatacentersGetallOK) IsClientError ¶
func (o *V1DatacentersGetallOK) IsClientError() bool
IsClientError returns true when this v1 datacenters getall o k response has a 4xx status code
func (*V1DatacentersGetallOK) IsCode ¶
func (o *V1DatacentersGetallOK) IsCode(code int) bool
IsCode returns true when this v1 datacenters getall o k response a status code equal to that given
func (*V1DatacentersGetallOK) IsRedirect ¶
func (o *V1DatacentersGetallOK) IsRedirect() bool
IsRedirect returns true when this v1 datacenters getall o k response has a 3xx status code
func (*V1DatacentersGetallOK) IsServerError ¶
func (o *V1DatacentersGetallOK) IsServerError() bool
IsServerError returns true when this v1 datacenters getall o k response has a 5xx status code
func (*V1DatacentersGetallOK) IsSuccess ¶
func (o *V1DatacentersGetallOK) IsSuccess() bool
IsSuccess returns true when this v1 datacenters getall o k response has a 2xx status code
func (*V1DatacentersGetallOK) String ¶
func (o *V1DatacentersGetallOK) String() string
type V1DatacentersGetallParams ¶
type V1DatacentersGetallParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1DatacentersGetallParams contains all the parameters to send to the API endpoint
for the v1 datacenters getall operation. Typically these are written to a http.Request.
func NewV1DatacentersGetallParams ¶
func NewV1DatacentersGetallParams() *V1DatacentersGetallParams
NewV1DatacentersGetallParams creates a new V1DatacentersGetallParams 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 NewV1DatacentersGetallParamsWithContext ¶
func NewV1DatacentersGetallParamsWithContext(ctx context.Context) *V1DatacentersGetallParams
NewV1DatacentersGetallParamsWithContext creates a new V1DatacentersGetallParams object with the ability to set a context for a request.
func NewV1DatacentersGetallParamsWithHTTPClient ¶
func NewV1DatacentersGetallParamsWithHTTPClient(client *http.Client) *V1DatacentersGetallParams
NewV1DatacentersGetallParamsWithHTTPClient creates a new V1DatacentersGetallParams object with the ability to set a custom HTTPClient for a request.
func NewV1DatacentersGetallParamsWithTimeout ¶
func NewV1DatacentersGetallParamsWithTimeout(timeout time.Duration) *V1DatacentersGetallParams
NewV1DatacentersGetallParamsWithTimeout creates a new V1DatacentersGetallParams object with the ability to set a timeout on a request.
func (*V1DatacentersGetallParams) SetContext ¶
func (o *V1DatacentersGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 datacenters getall params
func (*V1DatacentersGetallParams) SetDefaults ¶
func (o *V1DatacentersGetallParams) SetDefaults()
SetDefaults hydrates default values in the v1 datacenters getall params (not the query body).
All values with no default are reset to their zero value.
func (*V1DatacentersGetallParams) SetHTTPClient ¶
func (o *V1DatacentersGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 datacenters getall params
func (*V1DatacentersGetallParams) SetTimeout ¶
func (o *V1DatacentersGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 datacenters getall params
func (*V1DatacentersGetallParams) WithContext ¶
func (o *V1DatacentersGetallParams) WithContext(ctx context.Context) *V1DatacentersGetallParams
WithContext adds the context to the v1 datacenters getall params
func (*V1DatacentersGetallParams) WithDefaults ¶
func (o *V1DatacentersGetallParams) WithDefaults() *V1DatacentersGetallParams
WithDefaults hydrates default values in the v1 datacenters getall params (not the query body).
All values with no default are reset to their zero value.
func (*V1DatacentersGetallParams) WithHTTPClient ¶
func (o *V1DatacentersGetallParams) WithHTTPClient(client *http.Client) *V1DatacentersGetallParams
WithHTTPClient adds the HTTPClient to the v1 datacenters getall params
func (*V1DatacentersGetallParams) WithTimeout ¶
func (o *V1DatacentersGetallParams) WithTimeout(timeout time.Duration) *V1DatacentersGetallParams
WithTimeout adds the timeout to the v1 datacenters getall params
func (*V1DatacentersGetallParams) WriteToRequest ¶
func (o *V1DatacentersGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1DatacentersGetallReader ¶
type V1DatacentersGetallReader struct {
// contains filtered or unexported fields
}
V1DatacentersGetallReader is a Reader for the V1DatacentersGetall structure.
func (*V1DatacentersGetallReader) ReadResponse ¶
func (o *V1DatacentersGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1DatacentersGetallUnauthorized ¶
type V1DatacentersGetallUnauthorized struct {
}V1DatacentersGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1DatacentersGetallUnauthorized ¶
func NewV1DatacentersGetallUnauthorized() *V1DatacentersGetallUnauthorized
NewV1DatacentersGetallUnauthorized creates a V1DatacentersGetallUnauthorized with default headers values
func (*V1DatacentersGetallUnauthorized) Code ¶
func (o *V1DatacentersGetallUnauthorized) Code() int
Code gets the status code for the v1 datacenters getall unauthorized response
func (*V1DatacentersGetallUnauthorized) Error ¶
func (o *V1DatacentersGetallUnauthorized) Error() string
func (*V1DatacentersGetallUnauthorized) GetPayload ¶
func (o *V1DatacentersGetallUnauthorized) GetPayload() *models.Error
func (*V1DatacentersGetallUnauthorized) IsClientError ¶
func (o *V1DatacentersGetallUnauthorized) IsClientError() bool
IsClientError returns true when this v1 datacenters getall unauthorized response has a 4xx status code
func (*V1DatacentersGetallUnauthorized) IsCode ¶
func (o *V1DatacentersGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 datacenters getall unauthorized response a status code equal to that given
func (*V1DatacentersGetallUnauthorized) IsRedirect ¶
func (o *V1DatacentersGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 datacenters getall unauthorized response has a 3xx status code
func (*V1DatacentersGetallUnauthorized) IsServerError ¶
func (o *V1DatacentersGetallUnauthorized) IsServerError() bool
IsServerError returns true when this v1 datacenters getall unauthorized response has a 5xx status code
func (*V1DatacentersGetallUnauthorized) IsSuccess ¶
func (o *V1DatacentersGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 datacenters getall unauthorized response has a 2xx status code
func (*V1DatacentersGetallUnauthorized) String ¶
func (o *V1DatacentersGetallUnauthorized) String() string
type V1DatacentersPrivateGetBadRequest ¶ added in v1.9.0
V1DatacentersPrivateGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1DatacentersPrivateGetBadRequest ¶ added in v1.9.0
func NewV1DatacentersPrivateGetBadRequest() *V1DatacentersPrivateGetBadRequest
NewV1DatacentersPrivateGetBadRequest creates a V1DatacentersPrivateGetBadRequest with default headers values
func (*V1DatacentersPrivateGetBadRequest) Code ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetBadRequest) Code() int
Code gets the status code for the v1 datacenters private get bad request response
func (*V1DatacentersPrivateGetBadRequest) Error ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetBadRequest) Error() string
func (*V1DatacentersPrivateGetBadRequest) GetPayload ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetBadRequest) GetPayload() *models.Error
func (*V1DatacentersPrivateGetBadRequest) IsClientError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetBadRequest) IsClientError() bool
IsClientError returns true when this v1 datacenters private get bad request response has a 4xx status code
func (*V1DatacentersPrivateGetBadRequest) IsCode ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetBadRequest) IsCode(code int) bool
IsCode returns true when this v1 datacenters private get bad request response a status code equal to that given
func (*V1DatacentersPrivateGetBadRequest) IsRedirect ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 datacenters private get bad request response has a 3xx status code
func (*V1DatacentersPrivateGetBadRequest) IsServerError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetBadRequest) IsServerError() bool
IsServerError returns true when this v1 datacenters private get bad request response has a 5xx status code
func (*V1DatacentersPrivateGetBadRequest) IsSuccess ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 datacenters private get bad request response has a 2xx status code
func (*V1DatacentersPrivateGetBadRequest) String ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetBadRequest) String() string
type V1DatacentersPrivateGetForbidden ¶ added in v1.9.0
V1DatacentersPrivateGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1DatacentersPrivateGetForbidden ¶ added in v1.9.0
func NewV1DatacentersPrivateGetForbidden() *V1DatacentersPrivateGetForbidden
NewV1DatacentersPrivateGetForbidden creates a V1DatacentersPrivateGetForbidden with default headers values
func (*V1DatacentersPrivateGetForbidden) Code ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetForbidden) Code() int
Code gets the status code for the v1 datacenters private get forbidden response
func (*V1DatacentersPrivateGetForbidden) Error ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetForbidden) Error() string
func (*V1DatacentersPrivateGetForbidden) GetPayload ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetForbidden) GetPayload() *models.Error
func (*V1DatacentersPrivateGetForbidden) IsClientError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetForbidden) IsClientError() bool
IsClientError returns true when this v1 datacenters private get forbidden response has a 4xx status code
func (*V1DatacentersPrivateGetForbidden) IsCode ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetForbidden) IsCode(code int) bool
IsCode returns true when this v1 datacenters private get forbidden response a status code equal to that given
func (*V1DatacentersPrivateGetForbidden) IsRedirect ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetForbidden) IsRedirect() bool
IsRedirect returns true when this v1 datacenters private get forbidden response has a 3xx status code
func (*V1DatacentersPrivateGetForbidden) IsServerError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetForbidden) IsServerError() bool
IsServerError returns true when this v1 datacenters private get forbidden response has a 5xx status code
func (*V1DatacentersPrivateGetForbidden) IsSuccess ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetForbidden) IsSuccess() bool
IsSuccess returns true when this v1 datacenters private get forbidden response has a 2xx status code
func (*V1DatacentersPrivateGetForbidden) String ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetForbidden) String() string
type V1DatacentersPrivateGetInternalServerError ¶ added in v1.9.0
V1DatacentersPrivateGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1DatacentersPrivateGetInternalServerError ¶ added in v1.9.0
func NewV1DatacentersPrivateGetInternalServerError() *V1DatacentersPrivateGetInternalServerError
NewV1DatacentersPrivateGetInternalServerError creates a V1DatacentersPrivateGetInternalServerError with default headers values
func (*V1DatacentersPrivateGetInternalServerError) Code ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetInternalServerError) Code() int
Code gets the status code for the v1 datacenters private get internal server error response
func (*V1DatacentersPrivateGetInternalServerError) Error ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetInternalServerError) Error() string
func (*V1DatacentersPrivateGetInternalServerError) GetPayload ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetInternalServerError) GetPayload() *models.Error
func (*V1DatacentersPrivateGetInternalServerError) IsClientError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetInternalServerError) IsClientError() bool
IsClientError returns true when this v1 datacenters private get internal server error response has a 4xx status code
func (*V1DatacentersPrivateGetInternalServerError) IsCode ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 datacenters private get internal server error response a status code equal to that given
func (*V1DatacentersPrivateGetInternalServerError) IsRedirect ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 datacenters private get internal server error response has a 3xx status code
func (*V1DatacentersPrivateGetInternalServerError) IsServerError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetInternalServerError) IsServerError() bool
IsServerError returns true when this v1 datacenters private get internal server error response has a 5xx status code
func (*V1DatacentersPrivateGetInternalServerError) IsSuccess ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 datacenters private get internal server error response has a 2xx status code
func (*V1DatacentersPrivateGetInternalServerError) String ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetInternalServerError) String() string
type V1DatacentersPrivateGetOK ¶ added in v1.9.0
type V1DatacentersPrivateGetOK struct {
Payload *models.Datacenter
}
V1DatacentersPrivateGetOK describes a response with status code 200, with default header values.
OK
func NewV1DatacentersPrivateGetOK ¶ added in v1.9.0
func NewV1DatacentersPrivateGetOK() *V1DatacentersPrivateGetOK
NewV1DatacentersPrivateGetOK creates a V1DatacentersPrivateGetOK with default headers values
func (*V1DatacentersPrivateGetOK) Code ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetOK) Code() int
Code gets the status code for the v1 datacenters private get o k response
func (*V1DatacentersPrivateGetOK) Error ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetOK) Error() string
func (*V1DatacentersPrivateGetOK) GetPayload ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetOK) GetPayload() *models.Datacenter
func (*V1DatacentersPrivateGetOK) IsClientError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetOK) IsClientError() bool
IsClientError returns true when this v1 datacenters private get o k response has a 4xx status code
func (*V1DatacentersPrivateGetOK) IsCode ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetOK) IsCode(code int) bool
IsCode returns true when this v1 datacenters private get o k response a status code equal to that given
func (*V1DatacentersPrivateGetOK) IsRedirect ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetOK) IsRedirect() bool
IsRedirect returns true when this v1 datacenters private get o k response has a 3xx status code
func (*V1DatacentersPrivateGetOK) IsServerError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetOK) IsServerError() bool
IsServerError returns true when this v1 datacenters private get o k response has a 5xx status code
func (*V1DatacentersPrivateGetOK) IsSuccess ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetOK) IsSuccess() bool
IsSuccess returns true when this v1 datacenters private get o k response has a 2xx status code
func (*V1DatacentersPrivateGetOK) String ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetOK) String() string
type V1DatacentersPrivateGetParams ¶ added in v1.9.0
type V1DatacentersPrivateGetParams struct { /* DatacenterRegion. Datacenter Region */ DatacenterRegion string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1DatacentersPrivateGetParams contains all the parameters to send to the API endpoint
for the v1 datacenters private get operation. Typically these are written to a http.Request.
func NewV1DatacentersPrivateGetParams ¶ added in v1.9.0
func NewV1DatacentersPrivateGetParams() *V1DatacentersPrivateGetParams
NewV1DatacentersPrivateGetParams creates a new V1DatacentersPrivateGetParams 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 NewV1DatacentersPrivateGetParamsWithContext ¶ added in v1.9.0
func NewV1DatacentersPrivateGetParamsWithContext(ctx context.Context) *V1DatacentersPrivateGetParams
NewV1DatacentersPrivateGetParamsWithContext creates a new V1DatacentersPrivateGetParams object with the ability to set a context for a request.
func NewV1DatacentersPrivateGetParamsWithHTTPClient ¶ added in v1.9.0
func NewV1DatacentersPrivateGetParamsWithHTTPClient(client *http.Client) *V1DatacentersPrivateGetParams
NewV1DatacentersPrivateGetParamsWithHTTPClient creates a new V1DatacentersPrivateGetParams object with the ability to set a custom HTTPClient for a request.
func NewV1DatacentersPrivateGetParamsWithTimeout ¶ added in v1.9.0
func NewV1DatacentersPrivateGetParamsWithTimeout(timeout time.Duration) *V1DatacentersPrivateGetParams
NewV1DatacentersPrivateGetParamsWithTimeout creates a new V1DatacentersPrivateGetParams object with the ability to set a timeout on a request.
func (*V1DatacentersPrivateGetParams) SetContext ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 datacenters private get params
func (*V1DatacentersPrivateGetParams) SetDatacenterRegion ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetParams) SetDatacenterRegion(datacenterRegion string)
SetDatacenterRegion adds the datacenterRegion to the v1 datacenters private get params
func (*V1DatacentersPrivateGetParams) SetDefaults ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetParams) SetDefaults()
SetDefaults hydrates default values in the v1 datacenters private get params (not the query body).
All values with no default are reset to their zero value.
func (*V1DatacentersPrivateGetParams) SetHTTPClient ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 datacenters private get params
func (*V1DatacentersPrivateGetParams) SetTimeout ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 datacenters private get params
func (*V1DatacentersPrivateGetParams) WithContext ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetParams) WithContext(ctx context.Context) *V1DatacentersPrivateGetParams
WithContext adds the context to the v1 datacenters private get params
func (*V1DatacentersPrivateGetParams) WithDatacenterRegion ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetParams) WithDatacenterRegion(datacenterRegion string) *V1DatacentersPrivateGetParams
WithDatacenterRegion adds the datacenterRegion to the v1 datacenters private get params
func (*V1DatacentersPrivateGetParams) WithDefaults ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetParams) WithDefaults() *V1DatacentersPrivateGetParams
WithDefaults hydrates default values in the v1 datacenters private get params (not the query body).
All values with no default are reset to their zero value.
func (*V1DatacentersPrivateGetParams) WithHTTPClient ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetParams) WithHTTPClient(client *http.Client) *V1DatacentersPrivateGetParams
WithHTTPClient adds the HTTPClient to the v1 datacenters private get params
func (*V1DatacentersPrivateGetParams) WithTimeout ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetParams) WithTimeout(timeout time.Duration) *V1DatacentersPrivateGetParams
WithTimeout adds the timeout to the v1 datacenters private get params
func (*V1DatacentersPrivateGetParams) WriteToRequest ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1DatacentersPrivateGetReader ¶ added in v1.9.0
type V1DatacentersPrivateGetReader struct {
// contains filtered or unexported fields
}
V1DatacentersPrivateGetReader is a Reader for the V1DatacentersPrivateGet structure.
func (*V1DatacentersPrivateGetReader) ReadResponse ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1DatacentersPrivateGetUnauthorized ¶ added in v1.9.0
type V1DatacentersPrivateGetUnauthorized struct {
}V1DatacentersPrivateGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1DatacentersPrivateGetUnauthorized ¶ added in v1.9.0
func NewV1DatacentersPrivateGetUnauthorized() *V1DatacentersPrivateGetUnauthorized
NewV1DatacentersPrivateGetUnauthorized creates a V1DatacentersPrivateGetUnauthorized with default headers values
func (*V1DatacentersPrivateGetUnauthorized) Code ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetUnauthorized) Code() int
Code gets the status code for the v1 datacenters private get unauthorized response
func (*V1DatacentersPrivateGetUnauthorized) Error ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetUnauthorized) Error() string
func (*V1DatacentersPrivateGetUnauthorized) GetPayload ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetUnauthorized) GetPayload() *models.Error
func (*V1DatacentersPrivateGetUnauthorized) IsClientError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetUnauthorized) IsClientError() bool
IsClientError returns true when this v1 datacenters private get unauthorized response has a 4xx status code
func (*V1DatacentersPrivateGetUnauthorized) IsCode ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 datacenters private get unauthorized response a status code equal to that given
func (*V1DatacentersPrivateGetUnauthorized) IsRedirect ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 datacenters private get unauthorized response has a 3xx status code
func (*V1DatacentersPrivateGetUnauthorized) IsServerError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetUnauthorized) IsServerError() bool
IsServerError returns true when this v1 datacenters private get unauthorized response has a 5xx status code
func (*V1DatacentersPrivateGetUnauthorized) IsSuccess ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 datacenters private get unauthorized response has a 2xx status code
func (*V1DatacentersPrivateGetUnauthorized) String ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetUnauthorized) String() string
type V1DatacentersPrivateGetallBadRequest ¶ added in v1.9.0
V1DatacentersPrivateGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1DatacentersPrivateGetallBadRequest ¶ added in v1.9.0
func NewV1DatacentersPrivateGetallBadRequest() *V1DatacentersPrivateGetallBadRequest
NewV1DatacentersPrivateGetallBadRequest creates a V1DatacentersPrivateGetallBadRequest with default headers values
func (*V1DatacentersPrivateGetallBadRequest) Code ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallBadRequest) Code() int
Code gets the status code for the v1 datacenters private getall bad request response
func (*V1DatacentersPrivateGetallBadRequest) Error ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallBadRequest) Error() string
func (*V1DatacentersPrivateGetallBadRequest) GetPayload ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallBadRequest) GetPayload() *models.Error
func (*V1DatacentersPrivateGetallBadRequest) IsClientError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallBadRequest) IsClientError() bool
IsClientError returns true when this v1 datacenters private getall bad request response has a 4xx status code
func (*V1DatacentersPrivateGetallBadRequest) IsCode ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallBadRequest) IsCode(code int) bool
IsCode returns true when this v1 datacenters private getall bad request response a status code equal to that given
func (*V1DatacentersPrivateGetallBadRequest) IsRedirect ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 datacenters private getall bad request response has a 3xx status code
func (*V1DatacentersPrivateGetallBadRequest) IsServerError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallBadRequest) IsServerError() bool
IsServerError returns true when this v1 datacenters private getall bad request response has a 5xx status code
func (*V1DatacentersPrivateGetallBadRequest) IsSuccess ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 datacenters private getall bad request response has a 2xx status code
func (*V1DatacentersPrivateGetallBadRequest) String ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallBadRequest) String() string
type V1DatacentersPrivateGetallForbidden ¶ added in v1.9.0
V1DatacentersPrivateGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1DatacentersPrivateGetallForbidden ¶ added in v1.9.0
func NewV1DatacentersPrivateGetallForbidden() *V1DatacentersPrivateGetallForbidden
NewV1DatacentersPrivateGetallForbidden creates a V1DatacentersPrivateGetallForbidden with default headers values
func (*V1DatacentersPrivateGetallForbidden) Code ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallForbidden) Code() int
Code gets the status code for the v1 datacenters private getall forbidden response
func (*V1DatacentersPrivateGetallForbidden) Error ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallForbidden) Error() string
func (*V1DatacentersPrivateGetallForbidden) GetPayload ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallForbidden) GetPayload() *models.Error
func (*V1DatacentersPrivateGetallForbidden) IsClientError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallForbidden) IsClientError() bool
IsClientError returns true when this v1 datacenters private getall forbidden response has a 4xx status code
func (*V1DatacentersPrivateGetallForbidden) IsCode ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallForbidden) IsCode(code int) bool
IsCode returns true when this v1 datacenters private getall forbidden response a status code equal to that given
func (*V1DatacentersPrivateGetallForbidden) IsRedirect ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallForbidden) IsRedirect() bool
IsRedirect returns true when this v1 datacenters private getall forbidden response has a 3xx status code
func (*V1DatacentersPrivateGetallForbidden) IsServerError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallForbidden) IsServerError() bool
IsServerError returns true when this v1 datacenters private getall forbidden response has a 5xx status code
func (*V1DatacentersPrivateGetallForbidden) IsSuccess ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallForbidden) IsSuccess() bool
IsSuccess returns true when this v1 datacenters private getall forbidden response has a 2xx status code
func (*V1DatacentersPrivateGetallForbidden) String ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallForbidden) String() string
type V1DatacentersPrivateGetallInternalServerError ¶ added in v1.9.0
V1DatacentersPrivateGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1DatacentersPrivateGetallInternalServerError ¶ added in v1.9.0
func NewV1DatacentersPrivateGetallInternalServerError() *V1DatacentersPrivateGetallInternalServerError
NewV1DatacentersPrivateGetallInternalServerError creates a V1DatacentersPrivateGetallInternalServerError with default headers values
func (*V1DatacentersPrivateGetallInternalServerError) Code ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallInternalServerError) Code() int
Code gets the status code for the v1 datacenters private getall internal server error response
func (*V1DatacentersPrivateGetallInternalServerError) Error ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallInternalServerError) Error() string
func (*V1DatacentersPrivateGetallInternalServerError) GetPayload ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallInternalServerError) GetPayload() *models.Error
func (*V1DatacentersPrivateGetallInternalServerError) IsClientError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallInternalServerError) IsClientError() bool
IsClientError returns true when this v1 datacenters private getall internal server error response has a 4xx status code
func (*V1DatacentersPrivateGetallInternalServerError) IsCode ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 datacenters private getall internal server error response a status code equal to that given
func (*V1DatacentersPrivateGetallInternalServerError) IsRedirect ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 datacenters private getall internal server error response has a 3xx status code
func (*V1DatacentersPrivateGetallInternalServerError) IsServerError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallInternalServerError) IsServerError() bool
IsServerError returns true when this v1 datacenters private getall internal server error response has a 5xx status code
func (*V1DatacentersPrivateGetallInternalServerError) IsSuccess ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 datacenters private getall internal server error response has a 2xx status code
func (*V1DatacentersPrivateGetallInternalServerError) String ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallInternalServerError) String() string
type V1DatacentersPrivateGetallOK ¶ added in v1.9.0
type V1DatacentersPrivateGetallOK struct {
Payload *models.Datacenters
}
V1DatacentersPrivateGetallOK describes a response with status code 200, with default header values.
OK
func NewV1DatacentersPrivateGetallOK ¶ added in v1.9.0
func NewV1DatacentersPrivateGetallOK() *V1DatacentersPrivateGetallOK
NewV1DatacentersPrivateGetallOK creates a V1DatacentersPrivateGetallOK with default headers values
func (*V1DatacentersPrivateGetallOK) Code ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallOK) Code() int
Code gets the status code for the v1 datacenters private getall o k response
func (*V1DatacentersPrivateGetallOK) Error ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallOK) Error() string
func (*V1DatacentersPrivateGetallOK) GetPayload ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallOK) GetPayload() *models.Datacenters
func (*V1DatacentersPrivateGetallOK) IsClientError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallOK) IsClientError() bool
IsClientError returns true when this v1 datacenters private getall o k response has a 4xx status code
func (*V1DatacentersPrivateGetallOK) IsCode ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallOK) IsCode(code int) bool
IsCode returns true when this v1 datacenters private getall o k response a status code equal to that given
func (*V1DatacentersPrivateGetallOK) IsRedirect ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallOK) IsRedirect() bool
IsRedirect returns true when this v1 datacenters private getall o k response has a 3xx status code
func (*V1DatacentersPrivateGetallOK) IsServerError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallOK) IsServerError() bool
IsServerError returns true when this v1 datacenters private getall o k response has a 5xx status code
func (*V1DatacentersPrivateGetallOK) IsSuccess ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallOK) IsSuccess() bool
IsSuccess returns true when this v1 datacenters private getall o k response has a 2xx status code
func (*V1DatacentersPrivateGetallOK) String ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallOK) String() string
type V1DatacentersPrivateGetallParams ¶ added in v1.9.0
type V1DatacentersPrivateGetallParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1DatacentersPrivateGetallParams contains all the parameters to send to the API endpoint
for the v1 datacenters private getall operation. Typically these are written to a http.Request.
func NewV1DatacentersPrivateGetallParams ¶ added in v1.9.0
func NewV1DatacentersPrivateGetallParams() *V1DatacentersPrivateGetallParams
NewV1DatacentersPrivateGetallParams creates a new V1DatacentersPrivateGetallParams 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 NewV1DatacentersPrivateGetallParamsWithContext ¶ added in v1.9.0
func NewV1DatacentersPrivateGetallParamsWithContext(ctx context.Context) *V1DatacentersPrivateGetallParams
NewV1DatacentersPrivateGetallParamsWithContext creates a new V1DatacentersPrivateGetallParams object with the ability to set a context for a request.
func NewV1DatacentersPrivateGetallParamsWithHTTPClient ¶ added in v1.9.0
func NewV1DatacentersPrivateGetallParamsWithHTTPClient(client *http.Client) *V1DatacentersPrivateGetallParams
NewV1DatacentersPrivateGetallParamsWithHTTPClient creates a new V1DatacentersPrivateGetallParams object with the ability to set a custom HTTPClient for a request.
func NewV1DatacentersPrivateGetallParamsWithTimeout ¶ added in v1.9.0
func NewV1DatacentersPrivateGetallParamsWithTimeout(timeout time.Duration) *V1DatacentersPrivateGetallParams
NewV1DatacentersPrivateGetallParamsWithTimeout creates a new V1DatacentersPrivateGetallParams object with the ability to set a timeout on a request.
func (*V1DatacentersPrivateGetallParams) SetContext ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 datacenters private getall params
func (*V1DatacentersPrivateGetallParams) SetDefaults ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallParams) SetDefaults()
SetDefaults hydrates default values in the v1 datacenters private getall params (not the query body).
All values with no default are reset to their zero value.
func (*V1DatacentersPrivateGetallParams) SetHTTPClient ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 datacenters private getall params
func (*V1DatacentersPrivateGetallParams) SetTimeout ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 datacenters private getall params
func (*V1DatacentersPrivateGetallParams) WithContext ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallParams) WithContext(ctx context.Context) *V1DatacentersPrivateGetallParams
WithContext adds the context to the v1 datacenters private getall params
func (*V1DatacentersPrivateGetallParams) WithDefaults ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallParams) WithDefaults() *V1DatacentersPrivateGetallParams
WithDefaults hydrates default values in the v1 datacenters private getall params (not the query body).
All values with no default are reset to their zero value.
func (*V1DatacentersPrivateGetallParams) WithHTTPClient ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallParams) WithHTTPClient(client *http.Client) *V1DatacentersPrivateGetallParams
WithHTTPClient adds the HTTPClient to the v1 datacenters private getall params
func (*V1DatacentersPrivateGetallParams) WithTimeout ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallParams) WithTimeout(timeout time.Duration) *V1DatacentersPrivateGetallParams
WithTimeout adds the timeout to the v1 datacenters private getall params
func (*V1DatacentersPrivateGetallParams) WriteToRequest ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1DatacentersPrivateGetallReader ¶ added in v1.9.0
type V1DatacentersPrivateGetallReader struct {
// contains filtered or unexported fields
}
V1DatacentersPrivateGetallReader is a Reader for the V1DatacentersPrivateGetall structure.
func (*V1DatacentersPrivateGetallReader) ReadResponse ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1DatacentersPrivateGetallUnauthorized ¶ added in v1.9.0
type V1DatacentersPrivateGetallUnauthorized struct {
}V1DatacentersPrivateGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1DatacentersPrivateGetallUnauthorized ¶ added in v1.9.0
func NewV1DatacentersPrivateGetallUnauthorized() *V1DatacentersPrivateGetallUnauthorized
NewV1DatacentersPrivateGetallUnauthorized creates a V1DatacentersPrivateGetallUnauthorized with default headers values
func (*V1DatacentersPrivateGetallUnauthorized) Code ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallUnauthorized) Code() int
Code gets the status code for the v1 datacenters private getall unauthorized response
func (*V1DatacentersPrivateGetallUnauthorized) Error ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallUnauthorized) Error() string
func (*V1DatacentersPrivateGetallUnauthorized) GetPayload ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallUnauthorized) GetPayload() *models.Error
func (*V1DatacentersPrivateGetallUnauthorized) IsClientError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallUnauthorized) IsClientError() bool
IsClientError returns true when this v1 datacenters private getall unauthorized response has a 4xx status code
func (*V1DatacentersPrivateGetallUnauthorized) IsCode ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 datacenters private getall unauthorized response a status code equal to that given
func (*V1DatacentersPrivateGetallUnauthorized) IsRedirect ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 datacenters private getall unauthorized response has a 3xx status code
func (*V1DatacentersPrivateGetallUnauthorized) IsServerError ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallUnauthorized) IsServerError() bool
IsServerError returns true when this v1 datacenters private getall unauthorized response has a 5xx status code
func (*V1DatacentersPrivateGetallUnauthorized) IsSuccess ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 datacenters private getall unauthorized response has a 2xx status code
func (*V1DatacentersPrivateGetallUnauthorized) String ¶ added in v1.9.0
func (o *V1DatacentersPrivateGetallUnauthorized) String() string
Source Files ¶
- datacenters_client.go
- v1_datacenters_get_parameters.go
- v1_datacenters_get_responses.go
- v1_datacenters_getall_parameters.go
- v1_datacenters_getall_responses.go
- v1_datacenters_private_get_parameters.go
- v1_datacenters_private_get_responses.go
- v1_datacenters_private_getall_parameters.go
- v1_datacenters_private_getall_responses.go