Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDatacenter(params *CreateDatacenterParams, opts ...ClientOption) (*CreateDatacenterOK, error)
- func (a *Client) DeleteDatacenter(params *DeleteDatacenterParams, opts ...ClientOption) (*DeleteDatacenterOK, error)
- func (a *Client) GetDatacenters(params *GetDatacentersParams, opts ...ClientOption) (*GetDatacentersOK, error)
- func (a *Client) GetDatacentersConnection(params *GetDatacentersConnectionParams, opts ...ClientOption) (*GetDatacentersConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDatacenter(params *UpdateDatacenterParams, opts ...ClientOption) (*UpdateDatacenterOK, error)
- type ClientOption
- type ClientService
- type CreateDatacenterBadRequest
- type CreateDatacenterOK
- type CreateDatacenterParams
- func NewCreateDatacenterParams() *CreateDatacenterParams
- func NewCreateDatacenterParamsWithContext(ctx context.Context) *CreateDatacenterParams
- func NewCreateDatacenterParamsWithHTTPClient(client *http.Client) *CreateDatacenterParams
- func NewCreateDatacenterParamsWithTimeout(timeout time.Duration) *CreateDatacenterParams
- func (o *CreateDatacenterParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateDatacenterParams) SetContext(ctx context.Context)
- func (o *CreateDatacenterParams) SetDefaults()
- func (o *CreateDatacenterParams) SetHTTPClient(client *http.Client)
- func (o *CreateDatacenterParams) SetRequestBody(requestBody []*models.DatacenterCreationParams)
- func (o *CreateDatacenterParams) SetTimeout(timeout time.Duration)
- func (o *CreateDatacenterParams) WithContentLanguage(contentLanguage *string) *CreateDatacenterParams
- func (o *CreateDatacenterParams) WithContext(ctx context.Context) *CreateDatacenterParams
- func (o *CreateDatacenterParams) WithDefaults() *CreateDatacenterParams
- func (o *CreateDatacenterParams) WithHTTPClient(client *http.Client) *CreateDatacenterParams
- func (o *CreateDatacenterParams) WithRequestBody(requestBody []*models.DatacenterCreationParams) *CreateDatacenterParams
- func (o *CreateDatacenterParams) WithTimeout(timeout time.Duration) *CreateDatacenterParams
- func (o *CreateDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDatacenterReader
- type DeleteDatacenterBadRequest
- type DeleteDatacenterOK
- type DeleteDatacenterParams
- func NewDeleteDatacenterParams() *DeleteDatacenterParams
- func NewDeleteDatacenterParamsWithContext(ctx context.Context) *DeleteDatacenterParams
- func NewDeleteDatacenterParamsWithHTTPClient(client *http.Client) *DeleteDatacenterParams
- func NewDeleteDatacenterParamsWithTimeout(timeout time.Duration) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteDatacenterParams) SetContext(ctx context.Context)
- func (o *DeleteDatacenterParams) SetDefaults()
- func (o *DeleteDatacenterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDatacenterParams) SetRequestBody(requestBody *models.DatacenterDeletionParams)
- func (o *DeleteDatacenterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDatacenterParams) WithContentLanguage(contentLanguage *string) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WithContext(ctx context.Context) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WithDefaults() *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WithHTTPClient(client *http.Client) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WithRequestBody(requestBody *models.DatacenterDeletionParams) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WithTimeout(timeout time.Duration) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDatacenterReader
- type GetDatacentersBadRequest
- type GetDatacentersConnectionBadRequest
- type GetDatacentersConnectionOK
- type GetDatacentersConnectionParams
- func NewGetDatacentersConnectionParams() *GetDatacentersConnectionParams
- func NewGetDatacentersConnectionParamsWithContext(ctx context.Context) *GetDatacentersConnectionParams
- func NewGetDatacentersConnectionParamsWithHTTPClient(client *http.Client) *GetDatacentersConnectionParams
- func NewGetDatacentersConnectionParamsWithTimeout(timeout time.Duration) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetDatacentersConnectionParams) SetContext(ctx context.Context)
- func (o *GetDatacentersConnectionParams) SetDefaults()
- func (o *GetDatacentersConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetDatacentersConnectionParams) SetRequestBody(requestBody *models.GetDatacentersConnectionRequestBody)
- func (o *GetDatacentersConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetDatacentersConnectionParams) WithContentLanguage(contentLanguage *string) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WithContext(ctx context.Context) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WithDefaults() *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WithHTTPClient(client *http.Client) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WithRequestBody(requestBody *models.GetDatacentersConnectionRequestBody) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WithTimeout(timeout time.Duration) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDatacentersConnectionReader
- type GetDatacentersOK
- type GetDatacentersParams
- func NewGetDatacentersParams() *GetDatacentersParams
- func NewGetDatacentersParamsWithContext(ctx context.Context) *GetDatacentersParams
- func NewGetDatacentersParamsWithHTTPClient(client *http.Client) *GetDatacentersParams
- func NewGetDatacentersParamsWithTimeout(timeout time.Duration) *GetDatacentersParams
- func (o *GetDatacentersParams) SetContentLanguage(contentLanguage *string)
- func (o *GetDatacentersParams) SetContext(ctx context.Context)
- func (o *GetDatacentersParams) SetDefaults()
- func (o *GetDatacentersParams) SetHTTPClient(client *http.Client)
- func (o *GetDatacentersParams) SetRequestBody(requestBody *models.GetDatacentersRequestBody)
- func (o *GetDatacentersParams) SetTimeout(timeout time.Duration)
- func (o *GetDatacentersParams) WithContentLanguage(contentLanguage *string) *GetDatacentersParams
- func (o *GetDatacentersParams) WithContext(ctx context.Context) *GetDatacentersParams
- func (o *GetDatacentersParams) WithDefaults() *GetDatacentersParams
- func (o *GetDatacentersParams) WithHTTPClient(client *http.Client) *GetDatacentersParams
- func (o *GetDatacentersParams) WithRequestBody(requestBody *models.GetDatacentersRequestBody) *GetDatacentersParams
- func (o *GetDatacentersParams) WithTimeout(timeout time.Duration) *GetDatacentersParams
- func (o *GetDatacentersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDatacentersReader
- type UpdateDatacenterBadRequest
- type UpdateDatacenterOK
- type UpdateDatacenterParams
- func NewUpdateDatacenterParams() *UpdateDatacenterParams
- func NewUpdateDatacenterParamsWithContext(ctx context.Context) *UpdateDatacenterParams
- func NewUpdateDatacenterParamsWithHTTPClient(client *http.Client) *UpdateDatacenterParams
- func NewUpdateDatacenterParamsWithTimeout(timeout time.Duration) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateDatacenterParams) SetContext(ctx context.Context)
- func (o *UpdateDatacenterParams) SetDefaults()
- func (o *UpdateDatacenterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDatacenterParams) SetRequestBody(requestBody *models.DatacenterUpdationParams)
- func (o *UpdateDatacenterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDatacenterParams) WithContentLanguage(contentLanguage *string) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WithContext(ctx context.Context) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WithDefaults() *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WithHTTPClient(client *http.Client) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WithRequestBody(requestBody *models.DatacenterUpdationParams) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WithTimeout(timeout time.Duration) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDatacenterReader
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 datacenter API
func (*Client) CreateDatacenter ¶
func (a *Client) CreateDatacenter(params *CreateDatacenterParams, opts ...ClientOption) (*CreateDatacenterOK, error)
CreateDatacenter create datacenter API
func (*Client) DeleteDatacenter ¶
func (a *Client) DeleteDatacenter(params *DeleteDatacenterParams, opts ...ClientOption) (*DeleteDatacenterOK, error)
DeleteDatacenter delete datacenter API
func (*Client) GetDatacenters ¶
func (a *Client) GetDatacenters(params *GetDatacentersParams, opts ...ClientOption) (*GetDatacentersOK, error)
GetDatacenters get datacenters API
func (*Client) GetDatacentersConnection ¶
func (a *Client) GetDatacentersConnection(params *GetDatacentersConnectionParams, opts ...ClientOption) (*GetDatacentersConnectionOK, error)
GetDatacentersConnection get datacenters connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDatacenter ¶
func (a *Client) UpdateDatacenter(params *UpdateDatacenterParams, opts ...ClientOption) (*UpdateDatacenterOK, error)
UpdateDatacenter update datacenter API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateDatacenter(params *CreateDatacenterParams, opts ...ClientOption) (*CreateDatacenterOK, error) DeleteDatacenter(params *DeleteDatacenterParams, opts ...ClientOption) (*DeleteDatacenterOK, error) GetDatacenters(params *GetDatacentersParams, opts ...ClientOption) (*GetDatacentersOK, error) GetDatacentersConnection(params *GetDatacentersConnectionParams, opts ...ClientOption) (*GetDatacentersConnectionOK, error) UpdateDatacenter(params *UpdateDatacenterParams, opts ...ClientOption) (*UpdateDatacenterOK, 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 datacenter API client.
type CreateDatacenterBadRequest ¶
type CreateDatacenterBadRequest struct {
Payload string
}
CreateDatacenterBadRequest describes a response with status code 400, with default header values.
CreateDatacenterBadRequest create datacenter bad request
func NewCreateDatacenterBadRequest ¶
func NewCreateDatacenterBadRequest() *CreateDatacenterBadRequest
NewCreateDatacenterBadRequest creates a CreateDatacenterBadRequest with default headers values
func (*CreateDatacenterBadRequest) Error ¶
func (o *CreateDatacenterBadRequest) Error() string
func (*CreateDatacenterBadRequest) GetPayload ¶
func (o *CreateDatacenterBadRequest) GetPayload() string
type CreateDatacenterOK ¶
type CreateDatacenterOK struct {
Payload []*models.WithTaskDatacenter
}
CreateDatacenterOK describes a response with status code 200, with default header values.
Ok
func NewCreateDatacenterOK ¶
func NewCreateDatacenterOK() *CreateDatacenterOK
NewCreateDatacenterOK creates a CreateDatacenterOK with default headers values
func (*CreateDatacenterOK) Error ¶
func (o *CreateDatacenterOK) Error() string
func (*CreateDatacenterOK) GetPayload ¶
func (o *CreateDatacenterOK) GetPayload() []*models.WithTaskDatacenter
type CreateDatacenterParams ¶
type CreateDatacenterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.DatacenterCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDatacenterParams contains all the parameters to send to the API endpoint
for the create datacenter operation. Typically these are written to a http.Request.
func NewCreateDatacenterParams ¶
func NewCreateDatacenterParams() *CreateDatacenterParams
NewCreateDatacenterParams creates a new CreateDatacenterParams 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 NewCreateDatacenterParamsWithContext ¶
func NewCreateDatacenterParamsWithContext(ctx context.Context) *CreateDatacenterParams
NewCreateDatacenterParamsWithContext creates a new CreateDatacenterParams object with the ability to set a context for a request.
func NewCreateDatacenterParamsWithHTTPClient ¶
func NewCreateDatacenterParamsWithHTTPClient(client *http.Client) *CreateDatacenterParams
NewCreateDatacenterParamsWithHTTPClient creates a new CreateDatacenterParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDatacenterParamsWithTimeout ¶
func NewCreateDatacenterParamsWithTimeout(timeout time.Duration) *CreateDatacenterParams
NewCreateDatacenterParamsWithTimeout creates a new CreateDatacenterParams object with the ability to set a timeout on a request.
func (*CreateDatacenterParams) SetContentLanguage ¶
func (o *CreateDatacenterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create datacenter params
func (*CreateDatacenterParams) SetContext ¶
func (o *CreateDatacenterParams) SetContext(ctx context.Context)
SetContext adds the context to the create datacenter params
func (*CreateDatacenterParams) SetDefaults ¶
func (o *CreateDatacenterParams) SetDefaults()
SetDefaults hydrates default values in the create datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDatacenterParams) SetHTTPClient ¶
func (o *CreateDatacenterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create datacenter params
func (*CreateDatacenterParams) SetRequestBody ¶
func (o *CreateDatacenterParams) SetRequestBody(requestBody []*models.DatacenterCreationParams)
SetRequestBody adds the requestBody to the create datacenter params
func (*CreateDatacenterParams) SetTimeout ¶
func (o *CreateDatacenterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create datacenter params
func (*CreateDatacenterParams) WithContentLanguage ¶
func (o *CreateDatacenterParams) WithContentLanguage(contentLanguage *string) *CreateDatacenterParams
WithContentLanguage adds the contentLanguage to the create datacenter params
func (*CreateDatacenterParams) WithContext ¶
func (o *CreateDatacenterParams) WithContext(ctx context.Context) *CreateDatacenterParams
WithContext adds the context to the create datacenter params
func (*CreateDatacenterParams) WithDefaults ¶
func (o *CreateDatacenterParams) WithDefaults() *CreateDatacenterParams
WithDefaults hydrates default values in the create datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDatacenterParams) WithHTTPClient ¶
func (o *CreateDatacenterParams) WithHTTPClient(client *http.Client) *CreateDatacenterParams
WithHTTPClient adds the HTTPClient to the create datacenter params
func (*CreateDatacenterParams) WithRequestBody ¶
func (o *CreateDatacenterParams) WithRequestBody(requestBody []*models.DatacenterCreationParams) *CreateDatacenterParams
WithRequestBody adds the requestBody to the create datacenter params
func (*CreateDatacenterParams) WithTimeout ¶
func (o *CreateDatacenterParams) WithTimeout(timeout time.Duration) *CreateDatacenterParams
WithTimeout adds the timeout to the create datacenter params
func (*CreateDatacenterParams) WriteToRequest ¶
func (o *CreateDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDatacenterReader ¶
type CreateDatacenterReader struct {
// contains filtered or unexported fields
}
CreateDatacenterReader is a Reader for the CreateDatacenter structure.
func (*CreateDatacenterReader) ReadResponse ¶
func (o *CreateDatacenterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDatacenterBadRequest ¶
type DeleteDatacenterBadRequest struct {
Payload string
}
DeleteDatacenterBadRequest describes a response with status code 400, with default header values.
DeleteDatacenterBadRequest delete datacenter bad request
func NewDeleteDatacenterBadRequest ¶
func NewDeleteDatacenterBadRequest() *DeleteDatacenterBadRequest
NewDeleteDatacenterBadRequest creates a DeleteDatacenterBadRequest with default headers values
func (*DeleteDatacenterBadRequest) Error ¶
func (o *DeleteDatacenterBadRequest) Error() string
func (*DeleteDatacenterBadRequest) GetPayload ¶
func (o *DeleteDatacenterBadRequest) GetPayload() string
type DeleteDatacenterOK ¶
type DeleteDatacenterOK struct {
Payload []*models.WithTaskDeleteDatacenter
}
DeleteDatacenterOK describes a response with status code 200, with default header values.
Ok
func NewDeleteDatacenterOK ¶
func NewDeleteDatacenterOK() *DeleteDatacenterOK
NewDeleteDatacenterOK creates a DeleteDatacenterOK with default headers values
func (*DeleteDatacenterOK) Error ¶
func (o *DeleteDatacenterOK) Error() string
func (*DeleteDatacenterOK) GetPayload ¶
func (o *DeleteDatacenterOK) GetPayload() []*models.WithTaskDeleteDatacenter
type DeleteDatacenterParams ¶
type DeleteDatacenterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.DatacenterDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDatacenterParams contains all the parameters to send to the API endpoint
for the delete datacenter operation. Typically these are written to a http.Request.
func NewDeleteDatacenterParams ¶
func NewDeleteDatacenterParams() *DeleteDatacenterParams
NewDeleteDatacenterParams creates a new DeleteDatacenterParams 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 NewDeleteDatacenterParamsWithContext ¶
func NewDeleteDatacenterParamsWithContext(ctx context.Context) *DeleteDatacenterParams
NewDeleteDatacenterParamsWithContext creates a new DeleteDatacenterParams object with the ability to set a context for a request.
func NewDeleteDatacenterParamsWithHTTPClient ¶
func NewDeleteDatacenterParamsWithHTTPClient(client *http.Client) *DeleteDatacenterParams
NewDeleteDatacenterParamsWithHTTPClient creates a new DeleteDatacenterParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDatacenterParamsWithTimeout ¶
func NewDeleteDatacenterParamsWithTimeout(timeout time.Duration) *DeleteDatacenterParams
NewDeleteDatacenterParamsWithTimeout creates a new DeleteDatacenterParams object with the ability to set a timeout on a request.
func (*DeleteDatacenterParams) SetContentLanguage ¶
func (o *DeleteDatacenterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete datacenter params
func (*DeleteDatacenterParams) SetContext ¶
func (o *DeleteDatacenterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete datacenter params
func (*DeleteDatacenterParams) SetDefaults ¶
func (o *DeleteDatacenterParams) SetDefaults()
SetDefaults hydrates default values in the delete datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDatacenterParams) SetHTTPClient ¶
func (o *DeleteDatacenterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete datacenter params
func (*DeleteDatacenterParams) SetRequestBody ¶
func (o *DeleteDatacenterParams) SetRequestBody(requestBody *models.DatacenterDeletionParams)
SetRequestBody adds the requestBody to the delete datacenter params
func (*DeleteDatacenterParams) SetTimeout ¶
func (o *DeleteDatacenterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete datacenter params
func (*DeleteDatacenterParams) WithContentLanguage ¶
func (o *DeleteDatacenterParams) WithContentLanguage(contentLanguage *string) *DeleteDatacenterParams
WithContentLanguage adds the contentLanguage to the delete datacenter params
func (*DeleteDatacenterParams) WithContext ¶
func (o *DeleteDatacenterParams) WithContext(ctx context.Context) *DeleteDatacenterParams
WithContext adds the context to the delete datacenter params
func (*DeleteDatacenterParams) WithDefaults ¶
func (o *DeleteDatacenterParams) WithDefaults() *DeleteDatacenterParams
WithDefaults hydrates default values in the delete datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDatacenterParams) WithHTTPClient ¶
func (o *DeleteDatacenterParams) WithHTTPClient(client *http.Client) *DeleteDatacenterParams
WithHTTPClient adds the HTTPClient to the delete datacenter params
func (*DeleteDatacenterParams) WithRequestBody ¶
func (o *DeleteDatacenterParams) WithRequestBody(requestBody *models.DatacenterDeletionParams) *DeleteDatacenterParams
WithRequestBody adds the requestBody to the delete datacenter params
func (*DeleteDatacenterParams) WithTimeout ¶
func (o *DeleteDatacenterParams) WithTimeout(timeout time.Duration) *DeleteDatacenterParams
WithTimeout adds the timeout to the delete datacenter params
func (*DeleteDatacenterParams) WriteToRequest ¶
func (o *DeleteDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDatacenterReader ¶
type DeleteDatacenterReader struct {
// contains filtered or unexported fields
}
DeleteDatacenterReader is a Reader for the DeleteDatacenter structure.
func (*DeleteDatacenterReader) ReadResponse ¶
func (o *DeleteDatacenterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDatacentersBadRequest ¶
type GetDatacentersBadRequest struct {
Payload string
}
GetDatacentersBadRequest describes a response with status code 400, with default header values.
GetDatacentersBadRequest get datacenters bad request
func NewGetDatacentersBadRequest ¶
func NewGetDatacentersBadRequest() *GetDatacentersBadRequest
NewGetDatacentersBadRequest creates a GetDatacentersBadRequest with default headers values
func (*GetDatacentersBadRequest) Error ¶
func (o *GetDatacentersBadRequest) Error() string
func (*GetDatacentersBadRequest) GetPayload ¶
func (o *GetDatacentersBadRequest) GetPayload() string
type GetDatacentersConnectionBadRequest ¶
type GetDatacentersConnectionBadRequest struct {
Payload string
}
GetDatacentersConnectionBadRequest describes a response with status code 400, with default header values.
GetDatacentersConnectionBadRequest get datacenters connection bad request
func NewGetDatacentersConnectionBadRequest ¶
func NewGetDatacentersConnectionBadRequest() *GetDatacentersConnectionBadRequest
NewGetDatacentersConnectionBadRequest creates a GetDatacentersConnectionBadRequest with default headers values
func (*GetDatacentersConnectionBadRequest) Error ¶
func (o *GetDatacentersConnectionBadRequest) Error() string
func (*GetDatacentersConnectionBadRequest) GetPayload ¶
func (o *GetDatacentersConnectionBadRequest) GetPayload() string
type GetDatacentersConnectionOK ¶
type GetDatacentersConnectionOK struct {
Payload *models.DatacenterConnection
}
GetDatacentersConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetDatacentersConnectionOK ¶
func NewGetDatacentersConnectionOK() *GetDatacentersConnectionOK
NewGetDatacentersConnectionOK creates a GetDatacentersConnectionOK with default headers values
func (*GetDatacentersConnectionOK) Error ¶
func (o *GetDatacentersConnectionOK) Error() string
func (*GetDatacentersConnectionOK) GetPayload ¶
func (o *GetDatacentersConnectionOK) GetPayload() *models.DatacenterConnection
type GetDatacentersConnectionParams ¶
type GetDatacentersConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetDatacentersConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDatacentersConnectionParams contains all the parameters to send to the API endpoint
for the get datacenters connection operation. Typically these are written to a http.Request.
func NewGetDatacentersConnectionParams ¶
func NewGetDatacentersConnectionParams() *GetDatacentersConnectionParams
NewGetDatacentersConnectionParams creates a new GetDatacentersConnectionParams 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 NewGetDatacentersConnectionParamsWithContext ¶
func NewGetDatacentersConnectionParamsWithContext(ctx context.Context) *GetDatacentersConnectionParams
NewGetDatacentersConnectionParamsWithContext creates a new GetDatacentersConnectionParams object with the ability to set a context for a request.
func NewGetDatacentersConnectionParamsWithHTTPClient ¶
func NewGetDatacentersConnectionParamsWithHTTPClient(client *http.Client) *GetDatacentersConnectionParams
NewGetDatacentersConnectionParamsWithHTTPClient creates a new GetDatacentersConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetDatacentersConnectionParamsWithTimeout ¶
func NewGetDatacentersConnectionParamsWithTimeout(timeout time.Duration) *GetDatacentersConnectionParams
NewGetDatacentersConnectionParamsWithTimeout creates a new GetDatacentersConnectionParams object with the ability to set a timeout on a request.
func (*GetDatacentersConnectionParams) SetContentLanguage ¶
func (o *GetDatacentersConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get datacenters connection params
func (*GetDatacentersConnectionParams) SetContext ¶
func (o *GetDatacentersConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get datacenters connection params
func (*GetDatacentersConnectionParams) SetDefaults ¶
func (o *GetDatacentersConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get datacenters connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatacentersConnectionParams) SetHTTPClient ¶
func (o *GetDatacentersConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get datacenters connection params
func (*GetDatacentersConnectionParams) SetRequestBody ¶
func (o *GetDatacentersConnectionParams) SetRequestBody(requestBody *models.GetDatacentersConnectionRequestBody)
SetRequestBody adds the requestBody to the get datacenters connection params
func (*GetDatacentersConnectionParams) SetTimeout ¶
func (o *GetDatacentersConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get datacenters connection params
func (*GetDatacentersConnectionParams) WithContentLanguage ¶
func (o *GetDatacentersConnectionParams) WithContentLanguage(contentLanguage *string) *GetDatacentersConnectionParams
WithContentLanguage adds the contentLanguage to the get datacenters connection params
func (*GetDatacentersConnectionParams) WithContext ¶
func (o *GetDatacentersConnectionParams) WithContext(ctx context.Context) *GetDatacentersConnectionParams
WithContext adds the context to the get datacenters connection params
func (*GetDatacentersConnectionParams) WithDefaults ¶
func (o *GetDatacentersConnectionParams) WithDefaults() *GetDatacentersConnectionParams
WithDefaults hydrates default values in the get datacenters connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatacentersConnectionParams) WithHTTPClient ¶
func (o *GetDatacentersConnectionParams) WithHTTPClient(client *http.Client) *GetDatacentersConnectionParams
WithHTTPClient adds the HTTPClient to the get datacenters connection params
func (*GetDatacentersConnectionParams) WithRequestBody ¶
func (o *GetDatacentersConnectionParams) WithRequestBody(requestBody *models.GetDatacentersConnectionRequestBody) *GetDatacentersConnectionParams
WithRequestBody adds the requestBody to the get datacenters connection params
func (*GetDatacentersConnectionParams) WithTimeout ¶
func (o *GetDatacentersConnectionParams) WithTimeout(timeout time.Duration) *GetDatacentersConnectionParams
WithTimeout adds the timeout to the get datacenters connection params
func (*GetDatacentersConnectionParams) WriteToRequest ¶
func (o *GetDatacentersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDatacentersConnectionReader ¶
type GetDatacentersConnectionReader struct {
// contains filtered or unexported fields
}
GetDatacentersConnectionReader is a Reader for the GetDatacentersConnection structure.
func (*GetDatacentersConnectionReader) ReadResponse ¶
func (o *GetDatacentersConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDatacentersOK ¶
type GetDatacentersOK struct {
Payload []*models.Datacenter
}
GetDatacentersOK describes a response with status code 200, with default header values.
Ok
func NewGetDatacentersOK ¶
func NewGetDatacentersOK() *GetDatacentersOK
NewGetDatacentersOK creates a GetDatacentersOK with default headers values
func (*GetDatacentersOK) Error ¶
func (o *GetDatacentersOK) Error() string
func (*GetDatacentersOK) GetPayload ¶
func (o *GetDatacentersOK) GetPayload() []*models.Datacenter
type GetDatacentersParams ¶
type GetDatacentersParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetDatacentersRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDatacentersParams contains all the parameters to send to the API endpoint
for the get datacenters operation. Typically these are written to a http.Request.
func NewGetDatacentersParams ¶
func NewGetDatacentersParams() *GetDatacentersParams
NewGetDatacentersParams creates a new GetDatacentersParams 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 NewGetDatacentersParamsWithContext ¶
func NewGetDatacentersParamsWithContext(ctx context.Context) *GetDatacentersParams
NewGetDatacentersParamsWithContext creates a new GetDatacentersParams object with the ability to set a context for a request.
func NewGetDatacentersParamsWithHTTPClient ¶
func NewGetDatacentersParamsWithHTTPClient(client *http.Client) *GetDatacentersParams
NewGetDatacentersParamsWithHTTPClient creates a new GetDatacentersParams object with the ability to set a custom HTTPClient for a request.
func NewGetDatacentersParamsWithTimeout ¶
func NewGetDatacentersParamsWithTimeout(timeout time.Duration) *GetDatacentersParams
NewGetDatacentersParamsWithTimeout creates a new GetDatacentersParams object with the ability to set a timeout on a request.
func (*GetDatacentersParams) SetContentLanguage ¶
func (o *GetDatacentersParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get datacenters params
func (*GetDatacentersParams) SetContext ¶
func (o *GetDatacentersParams) SetContext(ctx context.Context)
SetContext adds the context to the get datacenters params
func (*GetDatacentersParams) SetDefaults ¶
func (o *GetDatacentersParams) SetDefaults()
SetDefaults hydrates default values in the get datacenters params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatacentersParams) SetHTTPClient ¶
func (o *GetDatacentersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get datacenters params
func (*GetDatacentersParams) SetRequestBody ¶
func (o *GetDatacentersParams) SetRequestBody(requestBody *models.GetDatacentersRequestBody)
SetRequestBody adds the requestBody to the get datacenters params
func (*GetDatacentersParams) SetTimeout ¶
func (o *GetDatacentersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get datacenters params
func (*GetDatacentersParams) WithContentLanguage ¶
func (o *GetDatacentersParams) WithContentLanguage(contentLanguage *string) *GetDatacentersParams
WithContentLanguage adds the contentLanguage to the get datacenters params
func (*GetDatacentersParams) WithContext ¶
func (o *GetDatacentersParams) WithContext(ctx context.Context) *GetDatacentersParams
WithContext adds the context to the get datacenters params
func (*GetDatacentersParams) WithDefaults ¶
func (o *GetDatacentersParams) WithDefaults() *GetDatacentersParams
WithDefaults hydrates default values in the get datacenters params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatacentersParams) WithHTTPClient ¶
func (o *GetDatacentersParams) WithHTTPClient(client *http.Client) *GetDatacentersParams
WithHTTPClient adds the HTTPClient to the get datacenters params
func (*GetDatacentersParams) WithRequestBody ¶
func (o *GetDatacentersParams) WithRequestBody(requestBody *models.GetDatacentersRequestBody) *GetDatacentersParams
WithRequestBody adds the requestBody to the get datacenters params
func (*GetDatacentersParams) WithTimeout ¶
func (o *GetDatacentersParams) WithTimeout(timeout time.Duration) *GetDatacentersParams
WithTimeout adds the timeout to the get datacenters params
func (*GetDatacentersParams) WriteToRequest ¶
func (o *GetDatacentersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDatacentersReader ¶
type GetDatacentersReader struct {
// contains filtered or unexported fields
}
GetDatacentersReader is a Reader for the GetDatacenters structure.
func (*GetDatacentersReader) ReadResponse ¶
func (o *GetDatacentersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDatacenterBadRequest ¶
type UpdateDatacenterBadRequest struct {
Payload string
}
UpdateDatacenterBadRequest describes a response with status code 400, with default header values.
UpdateDatacenterBadRequest update datacenter bad request
func NewUpdateDatacenterBadRequest ¶
func NewUpdateDatacenterBadRequest() *UpdateDatacenterBadRequest
NewUpdateDatacenterBadRequest creates a UpdateDatacenterBadRequest with default headers values
func (*UpdateDatacenterBadRequest) Error ¶
func (o *UpdateDatacenterBadRequest) Error() string
func (*UpdateDatacenterBadRequest) GetPayload ¶
func (o *UpdateDatacenterBadRequest) GetPayload() string
type UpdateDatacenterOK ¶
type UpdateDatacenterOK struct {
Payload []*models.WithTaskDatacenter
}
UpdateDatacenterOK describes a response with status code 200, with default header values.
Ok
func NewUpdateDatacenterOK ¶
func NewUpdateDatacenterOK() *UpdateDatacenterOK
NewUpdateDatacenterOK creates a UpdateDatacenterOK with default headers values
func (*UpdateDatacenterOK) Error ¶
func (o *UpdateDatacenterOK) Error() string
func (*UpdateDatacenterOK) GetPayload ¶
func (o *UpdateDatacenterOK) GetPayload() []*models.WithTaskDatacenter
type UpdateDatacenterParams ¶
type UpdateDatacenterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.DatacenterUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDatacenterParams contains all the parameters to send to the API endpoint
for the update datacenter operation. Typically these are written to a http.Request.
func NewUpdateDatacenterParams ¶
func NewUpdateDatacenterParams() *UpdateDatacenterParams
NewUpdateDatacenterParams creates a new UpdateDatacenterParams 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 NewUpdateDatacenterParamsWithContext ¶
func NewUpdateDatacenterParamsWithContext(ctx context.Context) *UpdateDatacenterParams
NewUpdateDatacenterParamsWithContext creates a new UpdateDatacenterParams object with the ability to set a context for a request.
func NewUpdateDatacenterParamsWithHTTPClient ¶
func NewUpdateDatacenterParamsWithHTTPClient(client *http.Client) *UpdateDatacenterParams
NewUpdateDatacenterParamsWithHTTPClient creates a new UpdateDatacenterParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDatacenterParamsWithTimeout ¶
func NewUpdateDatacenterParamsWithTimeout(timeout time.Duration) *UpdateDatacenterParams
NewUpdateDatacenterParamsWithTimeout creates a new UpdateDatacenterParams object with the ability to set a timeout on a request.
func (*UpdateDatacenterParams) SetContentLanguage ¶
func (o *UpdateDatacenterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update datacenter params
func (*UpdateDatacenterParams) SetContext ¶
func (o *UpdateDatacenterParams) SetContext(ctx context.Context)
SetContext adds the context to the update datacenter params
func (*UpdateDatacenterParams) SetDefaults ¶
func (o *UpdateDatacenterParams) SetDefaults()
SetDefaults hydrates default values in the update datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDatacenterParams) SetHTTPClient ¶
func (o *UpdateDatacenterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update datacenter params
func (*UpdateDatacenterParams) SetRequestBody ¶
func (o *UpdateDatacenterParams) SetRequestBody(requestBody *models.DatacenterUpdationParams)
SetRequestBody adds the requestBody to the update datacenter params
func (*UpdateDatacenterParams) SetTimeout ¶
func (o *UpdateDatacenterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update datacenter params
func (*UpdateDatacenterParams) WithContentLanguage ¶
func (o *UpdateDatacenterParams) WithContentLanguage(contentLanguage *string) *UpdateDatacenterParams
WithContentLanguage adds the contentLanguage to the update datacenter params
func (*UpdateDatacenterParams) WithContext ¶
func (o *UpdateDatacenterParams) WithContext(ctx context.Context) *UpdateDatacenterParams
WithContext adds the context to the update datacenter params
func (*UpdateDatacenterParams) WithDefaults ¶
func (o *UpdateDatacenterParams) WithDefaults() *UpdateDatacenterParams
WithDefaults hydrates default values in the update datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDatacenterParams) WithHTTPClient ¶
func (o *UpdateDatacenterParams) WithHTTPClient(client *http.Client) *UpdateDatacenterParams
WithHTTPClient adds the HTTPClient to the update datacenter params
func (*UpdateDatacenterParams) WithRequestBody ¶
func (o *UpdateDatacenterParams) WithRequestBody(requestBody *models.DatacenterUpdationParams) *UpdateDatacenterParams
WithRequestBody adds the requestBody to the update datacenter params
func (*UpdateDatacenterParams) WithTimeout ¶
func (o *UpdateDatacenterParams) WithTimeout(timeout time.Duration) *UpdateDatacenterParams
WithTimeout adds the timeout to the update datacenter params
func (*UpdateDatacenterParams) WriteToRequest ¶
func (o *UpdateDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDatacenterReader ¶
type UpdateDatacenterReader struct {
// contains filtered or unexported fields
}
UpdateDatacenterReader is a Reader for the UpdateDatacenter structure.
func (*UpdateDatacenterReader) ReadResponse ¶
func (o *UpdateDatacenterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_datacenter_parameters.go
- create_datacenter_responses.go
- datacenter_client.go
- delete_datacenter_parameters.go
- delete_datacenter_responses.go
- get_datacenters_connection_parameters.go
- get_datacenters_connection_responses.go
- get_datacenters_parameters.go
- get_datacenters_responses.go
- update_datacenter_parameters.go
- update_datacenter_responses.go