datacenters

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

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

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	V1DatacentersGet(params *V1DatacentersGetParams, opts ...ClientOption) (*V1DatacentersGetOK, error)

	V1DatacentersGetall(params *V1DatacentersGetallParams, opts ...ClientOption) (*V1DatacentersGetallOK, 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.

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

Jump to

Keyboard shortcuts

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