datacenters

package
v1.9.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

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

type V1DatacentersGetBadRequest struct {
	Payload *models.Error
}

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 (*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

type V1DatacentersGetForbidden struct {
	Payload *models.Error
}

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

type V1DatacentersGetInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the v1 datacenters get internal server error response

func (*V1DatacentersGetInternalServerError) Error

func (*V1DatacentersGetInternalServerError) GetPayload

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

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

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

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

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

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

WithTimeout adds the timeout to the v1 datacenters get params

func (*V1DatacentersGetParams) WriteToRequest

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 {
	Payload *models.Error
}

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

Code gets the status code for the v1 datacenters get unauthorized response

func (*V1DatacentersGetUnauthorized) Error

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

type V1DatacentersGetallBadRequest

type V1DatacentersGetallBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the v1 datacenters getall bad request response

func (*V1DatacentersGetallBadRequest) Error

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

type V1DatacentersGetallForbidden

type V1DatacentersGetallForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the v1 datacenters getall forbidden response

func (*V1DatacentersGetallForbidden) Error

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

type V1DatacentersGetallInternalServerError

type V1DatacentersGetallInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the v1 datacenters getall internal server error response

func (*V1DatacentersGetallInternalServerError) Error

func (*V1DatacentersGetallInternalServerError) GetPayload

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

IsCode returns true when this v1 datacenters getall internal server error response a status code equal to that given

func (*V1DatacentersGetallInternalServerError) IsRedirect

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

IsSuccess returns true when this v1 datacenters getall internal server error response has a 2xx status code

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

WithContext adds the context to the v1 datacenters getall params

func (*V1DatacentersGetallParams) WithDefaults

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

WithTimeout adds the timeout to the v1 datacenters getall params

func (*V1DatacentersGetallParams) WriteToRequest

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 {
	Payload *models.Error
}

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

Code gets the status code for the v1 datacenters getall unauthorized response

func (*V1DatacentersGetallUnauthorized) Error

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

type V1DatacentersPrivateGetBadRequest

type V1DatacentersPrivateGetBadRequest struct {
	Payload *models.Error
}

V1DatacentersPrivateGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewV1DatacentersPrivateGetBadRequest

func NewV1DatacentersPrivateGetBadRequest() *V1DatacentersPrivateGetBadRequest

NewV1DatacentersPrivateGetBadRequest creates a V1DatacentersPrivateGetBadRequest with default headers values

func (*V1DatacentersPrivateGetBadRequest) Code

Code gets the status code for the v1 datacenters private get bad request response

func (*V1DatacentersPrivateGetBadRequest) Error

func (*V1DatacentersPrivateGetBadRequest) GetPayload

func (*V1DatacentersPrivateGetBadRequest) IsClientError

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

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

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

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

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

type V1DatacentersPrivateGetForbidden

type V1DatacentersPrivateGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1DatacentersPrivateGetForbidden

func NewV1DatacentersPrivateGetForbidden() *V1DatacentersPrivateGetForbidden

NewV1DatacentersPrivateGetForbidden creates a V1DatacentersPrivateGetForbidden with default headers values

func (*V1DatacentersPrivateGetForbidden) Code

Code gets the status code for the v1 datacenters private get forbidden response

func (*V1DatacentersPrivateGetForbidden) Error

func (*V1DatacentersPrivateGetForbidden) GetPayload

func (*V1DatacentersPrivateGetForbidden) IsClientError

func (o *V1DatacentersPrivateGetForbidden) IsClientError() bool

IsClientError returns true when this v1 datacenters private get forbidden response has a 4xx status code

func (*V1DatacentersPrivateGetForbidden) IsCode

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

func (o *V1DatacentersPrivateGetForbidden) IsRedirect() bool

IsRedirect returns true when this v1 datacenters private get forbidden response has a 3xx status code

func (*V1DatacentersPrivateGetForbidden) IsServerError

func (o *V1DatacentersPrivateGetForbidden) IsServerError() bool

IsServerError returns true when this v1 datacenters private get forbidden response has a 5xx status code

func (*V1DatacentersPrivateGetForbidden) IsSuccess

func (o *V1DatacentersPrivateGetForbidden) IsSuccess() bool

IsSuccess returns true when this v1 datacenters private get forbidden response has a 2xx status code

func (*V1DatacentersPrivateGetForbidden) String

type V1DatacentersPrivateGetInternalServerError

type V1DatacentersPrivateGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1DatacentersPrivateGetInternalServerError

func NewV1DatacentersPrivateGetInternalServerError() *V1DatacentersPrivateGetInternalServerError

NewV1DatacentersPrivateGetInternalServerError creates a V1DatacentersPrivateGetInternalServerError with default headers values

func (*V1DatacentersPrivateGetInternalServerError) Code

Code gets the status code for the v1 datacenters private get internal server error response

func (*V1DatacentersPrivateGetInternalServerError) Error

func (*V1DatacentersPrivateGetInternalServerError) GetPayload

func (*V1DatacentersPrivateGetInternalServerError) IsClientError

IsClientError returns true when this v1 datacenters private get internal server error response has a 4xx status code

func (*V1DatacentersPrivateGetInternalServerError) IsCode

IsCode returns true when this v1 datacenters private get internal server error response a status code equal to that given

func (*V1DatacentersPrivateGetInternalServerError) IsRedirect

IsRedirect returns true when this v1 datacenters private get internal server error response has a 3xx status code

func (*V1DatacentersPrivateGetInternalServerError) IsServerError

IsServerError returns true when this v1 datacenters private get internal server error response has a 5xx status code

func (*V1DatacentersPrivateGetInternalServerError) IsSuccess

IsSuccess returns true when this v1 datacenters private get internal server error response has a 2xx status code

func (*V1DatacentersPrivateGetInternalServerError) String

type V1DatacentersPrivateGetOK

type V1DatacentersPrivateGetOK struct {
	Payload *models.Datacenter
}

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

OK

func NewV1DatacentersPrivateGetOK

func NewV1DatacentersPrivateGetOK() *V1DatacentersPrivateGetOK

NewV1DatacentersPrivateGetOK creates a V1DatacentersPrivateGetOK with default headers values

func (*V1DatacentersPrivateGetOK) Code

func (o *V1DatacentersPrivateGetOK) Code() int

Code gets the status code for the v1 datacenters private get o k response

func (*V1DatacentersPrivateGetOK) Error

func (o *V1DatacentersPrivateGetOK) Error() string

func (*V1DatacentersPrivateGetOK) GetPayload

func (o *V1DatacentersPrivateGetOK) GetPayload() *models.Datacenter

func (*V1DatacentersPrivateGetOK) IsClientError

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

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

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

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

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

func (o *V1DatacentersPrivateGetOK) String() string

type V1DatacentersPrivateGetParams

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

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

func NewV1DatacentersPrivateGetParamsWithContext(ctx context.Context) *V1DatacentersPrivateGetParams

NewV1DatacentersPrivateGetParamsWithContext creates a new V1DatacentersPrivateGetParams object with the ability to set a context for a request.

func NewV1DatacentersPrivateGetParamsWithHTTPClient

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

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

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

SetContext adds the context to the v1 datacenters private get params

func (*V1DatacentersPrivateGetParams) SetDatacenterRegion

func (o *V1DatacentersPrivateGetParams) SetDatacenterRegion(datacenterRegion string)

SetDatacenterRegion adds the datacenterRegion to the v1 datacenters private get params

func (*V1DatacentersPrivateGetParams) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the v1 datacenters private get params

func (*V1DatacentersPrivateGetParams) SetTimeout

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

SetTimeout adds the timeout to the v1 datacenters private get params

func (*V1DatacentersPrivateGetParams) WithContext

WithContext adds the context to the v1 datacenters private get params

func (*V1DatacentersPrivateGetParams) WithDatacenterRegion

func (o *V1DatacentersPrivateGetParams) WithDatacenterRegion(datacenterRegion string) *V1DatacentersPrivateGetParams

WithDatacenterRegion adds the datacenterRegion to the v1 datacenters private get params

func (*V1DatacentersPrivateGetParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the v1 datacenters private get params

func (*V1DatacentersPrivateGetParams) WithTimeout

WithTimeout adds the timeout to the v1 datacenters private get params

func (*V1DatacentersPrivateGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V1DatacentersPrivateGetReader

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

V1DatacentersPrivateGetReader is a Reader for the V1DatacentersPrivateGet structure.

func (*V1DatacentersPrivateGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type V1DatacentersPrivateGetUnauthorized

type V1DatacentersPrivateGetUnauthorized struct {
	Payload *models.Error
}

V1DatacentersPrivateGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewV1DatacentersPrivateGetUnauthorized

func NewV1DatacentersPrivateGetUnauthorized() *V1DatacentersPrivateGetUnauthorized

NewV1DatacentersPrivateGetUnauthorized creates a V1DatacentersPrivateGetUnauthorized with default headers values

func (*V1DatacentersPrivateGetUnauthorized) Code

Code gets the status code for the v1 datacenters private get unauthorized response

func (*V1DatacentersPrivateGetUnauthorized) Error

func (*V1DatacentersPrivateGetUnauthorized) GetPayload

func (*V1DatacentersPrivateGetUnauthorized) IsClientError

func (o *V1DatacentersPrivateGetUnauthorized) IsClientError() bool

IsClientError returns true when this v1 datacenters private get unauthorized response has a 4xx status code

func (*V1DatacentersPrivateGetUnauthorized) IsCode

IsCode returns true when this v1 datacenters private get unauthorized response a status code equal to that given

func (*V1DatacentersPrivateGetUnauthorized) IsRedirect

func (o *V1DatacentersPrivateGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this v1 datacenters private get unauthorized response has a 3xx status code

func (*V1DatacentersPrivateGetUnauthorized) IsServerError

func (o *V1DatacentersPrivateGetUnauthorized) IsServerError() bool

IsServerError returns true when this v1 datacenters private get unauthorized response has a 5xx status code

func (*V1DatacentersPrivateGetUnauthorized) IsSuccess

IsSuccess returns true when this v1 datacenters private get unauthorized response has a 2xx status code

func (*V1DatacentersPrivateGetUnauthorized) String

type V1DatacentersPrivateGetallBadRequest

type V1DatacentersPrivateGetallBadRequest struct {
	Payload *models.Error
}

V1DatacentersPrivateGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewV1DatacentersPrivateGetallBadRequest

func NewV1DatacentersPrivateGetallBadRequest() *V1DatacentersPrivateGetallBadRequest

NewV1DatacentersPrivateGetallBadRequest creates a V1DatacentersPrivateGetallBadRequest with default headers values

func (*V1DatacentersPrivateGetallBadRequest) Code

Code gets the status code for the v1 datacenters private getall bad request response

func (*V1DatacentersPrivateGetallBadRequest) Error

func (*V1DatacentersPrivateGetallBadRequest) GetPayload

func (*V1DatacentersPrivateGetallBadRequest) IsClientError

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

IsCode returns true when this v1 datacenters private getall bad request response a status code equal to that given

func (*V1DatacentersPrivateGetallBadRequest) IsRedirect

IsRedirect returns true when this v1 datacenters private getall bad request response has a 3xx status code

func (*V1DatacentersPrivateGetallBadRequest) IsServerError

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

IsSuccess returns true when this v1 datacenters private getall bad request response has a 2xx status code

func (*V1DatacentersPrivateGetallBadRequest) String

type V1DatacentersPrivateGetallForbidden

type V1DatacentersPrivateGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1DatacentersPrivateGetallForbidden

func NewV1DatacentersPrivateGetallForbidden() *V1DatacentersPrivateGetallForbidden

NewV1DatacentersPrivateGetallForbidden creates a V1DatacentersPrivateGetallForbidden with default headers values

func (*V1DatacentersPrivateGetallForbidden) Code

Code gets the status code for the v1 datacenters private getall forbidden response

func (*V1DatacentersPrivateGetallForbidden) Error

func (*V1DatacentersPrivateGetallForbidden) GetPayload

func (*V1DatacentersPrivateGetallForbidden) IsClientError

func (o *V1DatacentersPrivateGetallForbidden) IsClientError() bool

IsClientError returns true when this v1 datacenters private getall forbidden response has a 4xx status code

func (*V1DatacentersPrivateGetallForbidden) IsCode

IsCode returns true when this v1 datacenters private getall forbidden response a status code equal to that given

func (*V1DatacentersPrivateGetallForbidden) IsRedirect

func (o *V1DatacentersPrivateGetallForbidden) IsRedirect() bool

IsRedirect returns true when this v1 datacenters private getall forbidden response has a 3xx status code

func (*V1DatacentersPrivateGetallForbidden) IsServerError

func (o *V1DatacentersPrivateGetallForbidden) IsServerError() bool

IsServerError returns true when this v1 datacenters private getall forbidden response has a 5xx status code

func (*V1DatacentersPrivateGetallForbidden) IsSuccess

IsSuccess returns true when this v1 datacenters private getall forbidden response has a 2xx status code

func (*V1DatacentersPrivateGetallForbidden) String

type V1DatacentersPrivateGetallInternalServerError

type V1DatacentersPrivateGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1DatacentersPrivateGetallInternalServerError

func NewV1DatacentersPrivateGetallInternalServerError() *V1DatacentersPrivateGetallInternalServerError

NewV1DatacentersPrivateGetallInternalServerError creates a V1DatacentersPrivateGetallInternalServerError with default headers values

func (*V1DatacentersPrivateGetallInternalServerError) Code

Code gets the status code for the v1 datacenters private getall internal server error response

func (*V1DatacentersPrivateGetallInternalServerError) Error

func (*V1DatacentersPrivateGetallInternalServerError) GetPayload

func (*V1DatacentersPrivateGetallInternalServerError) IsClientError

IsClientError returns true when this v1 datacenters private getall internal server error response has a 4xx status code

func (*V1DatacentersPrivateGetallInternalServerError) IsCode

IsCode returns true when this v1 datacenters private getall internal server error response a status code equal to that given

func (*V1DatacentersPrivateGetallInternalServerError) IsRedirect

IsRedirect returns true when this v1 datacenters private getall internal server error response has a 3xx status code

func (*V1DatacentersPrivateGetallInternalServerError) IsServerError

IsServerError returns true when this v1 datacenters private getall internal server error response has a 5xx status code

func (*V1DatacentersPrivateGetallInternalServerError) IsSuccess

IsSuccess returns true when this v1 datacenters private getall internal server error response has a 2xx status code

func (*V1DatacentersPrivateGetallInternalServerError) String

type V1DatacentersPrivateGetallOK

type V1DatacentersPrivateGetallOK struct {
	Payload *models.Datacenters
}

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

OK

func NewV1DatacentersPrivateGetallOK

func NewV1DatacentersPrivateGetallOK() *V1DatacentersPrivateGetallOK

NewV1DatacentersPrivateGetallOK creates a V1DatacentersPrivateGetallOK with default headers values

func (*V1DatacentersPrivateGetallOK) Code

Code gets the status code for the v1 datacenters private getall o k response

func (*V1DatacentersPrivateGetallOK) Error

func (*V1DatacentersPrivateGetallOK) GetPayload

func (*V1DatacentersPrivateGetallOK) IsClientError

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

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

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

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

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

type V1DatacentersPrivateGetallParams

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

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

func NewV1DatacentersPrivateGetallParamsWithContext(ctx context.Context) *V1DatacentersPrivateGetallParams

NewV1DatacentersPrivateGetallParamsWithContext creates a new V1DatacentersPrivateGetallParams object with the ability to set a context for a request.

func NewV1DatacentersPrivateGetallParamsWithHTTPClient

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

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

SetContext adds the context to the v1 datacenters private getall params

func (*V1DatacentersPrivateGetallParams) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the v1 datacenters private getall params

func (*V1DatacentersPrivateGetallParams) SetTimeout

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

SetTimeout adds the timeout to the v1 datacenters private getall params

func (*V1DatacentersPrivateGetallParams) WithContext

WithContext adds the context to the v1 datacenters private getall params

func (*V1DatacentersPrivateGetallParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the v1 datacenters private getall params

func (*V1DatacentersPrivateGetallParams) WithTimeout

WithTimeout adds the timeout to the v1 datacenters private getall params

func (*V1DatacentersPrivateGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V1DatacentersPrivateGetallReader

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

V1DatacentersPrivateGetallReader is a Reader for the V1DatacentersPrivateGetall structure.

func (*V1DatacentersPrivateGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type V1DatacentersPrivateGetallUnauthorized

type V1DatacentersPrivateGetallUnauthorized struct {
	Payload *models.Error
}

V1DatacentersPrivateGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewV1DatacentersPrivateGetallUnauthorized

func NewV1DatacentersPrivateGetallUnauthorized() *V1DatacentersPrivateGetallUnauthorized

NewV1DatacentersPrivateGetallUnauthorized creates a V1DatacentersPrivateGetallUnauthorized with default headers values

func (*V1DatacentersPrivateGetallUnauthorized) Code

Code gets the status code for the v1 datacenters private getall unauthorized response

func (*V1DatacentersPrivateGetallUnauthorized) Error

func (*V1DatacentersPrivateGetallUnauthorized) GetPayload

func (*V1DatacentersPrivateGetallUnauthorized) IsClientError

func (o *V1DatacentersPrivateGetallUnauthorized) IsClientError() bool

IsClientError returns true when this v1 datacenters private getall unauthorized response has a 4xx status code

func (*V1DatacentersPrivateGetallUnauthorized) IsCode

IsCode returns true when this v1 datacenters private getall unauthorized response a status code equal to that given

func (*V1DatacentersPrivateGetallUnauthorized) IsRedirect

IsRedirect returns true when this v1 datacenters private getall unauthorized response has a 3xx status code

func (*V1DatacentersPrivateGetallUnauthorized) IsServerError

func (o *V1DatacentersPrivateGetallUnauthorized) IsServerError() bool

IsServerError returns true when this v1 datacenters private getall unauthorized response has a 5xx status code

func (*V1DatacentersPrivateGetallUnauthorized) IsSuccess

IsSuccess returns true when this v1 datacenters private getall unauthorized response has a 2xx status code

func (*V1DatacentersPrivateGetallUnauthorized) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL