rack_topo

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: ISC Imports: 10 Imported by: 0

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 rack topo API

func (*Client) CreateRackTopo

func (a *Client) CreateRackTopo(params *CreateRackTopoParams, opts ...ClientOption) (*CreateRackTopoOK, error)

CreateRackTopo create rack topo API

func (*Client) DeleteRackTopo

func (a *Client) DeleteRackTopo(params *DeleteRackTopoParams, opts ...ClientOption) (*DeleteRackTopoOK, error)

DeleteRackTopo delete rack topo API

func (*Client) GetRackTopoes

func (a *Client) GetRackTopoes(params *GetRackTopoesParams, opts ...ClientOption) (*GetRackTopoesOK, error)

GetRackTopoes get rack topoes API

func (*Client) GetRackTopoesConnection

func (a *Client) GetRackTopoesConnection(params *GetRackTopoesConnectionParams, opts ...ClientOption) (*GetRackTopoesConnectionOK, error)

GetRackTopoesConnection get rack topoes connection API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateRackTopo

func (a *Client) UpdateRackTopo(params *UpdateRackTopoParams, opts ...ClientOption) (*UpdateRackTopoOK, error)

UpdateRackTopo update rack topo API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateRackTopo(params *CreateRackTopoParams, opts ...ClientOption) (*CreateRackTopoOK, error)

	DeleteRackTopo(params *DeleteRackTopoParams, opts ...ClientOption) (*DeleteRackTopoOK, error)

	GetRackTopoes(params *GetRackTopoesParams, opts ...ClientOption) (*GetRackTopoesOK, error)

	GetRackTopoesConnection(params *GetRackTopoesConnectionParams, opts ...ClientOption) (*GetRackTopoesConnectionOK, error)

	UpdateRackTopo(params *UpdateRackTopoParams, opts ...ClientOption) (*UpdateRackTopoOK, 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 rack topo API client.

type CreateRackTopoBadRequest

type CreateRackTopoBadRequest struct {
	Payload *models.ErrorBody
}
CreateRackTopoBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateRackTopoBadRequest

func NewCreateRackTopoBadRequest() *CreateRackTopoBadRequest

NewCreateRackTopoBadRequest creates a CreateRackTopoBadRequest with default headers values

func (*CreateRackTopoBadRequest) Error

func (o *CreateRackTopoBadRequest) Error() string

func (*CreateRackTopoBadRequest) GetPayload

func (o *CreateRackTopoBadRequest) GetPayload() *models.ErrorBody

type CreateRackTopoInternalServerError added in v1.10.0

type CreateRackTopoInternalServerError struct {
	Payload *models.ErrorBody
}
CreateRackTopoInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateRackTopoInternalServerError added in v1.10.0

func NewCreateRackTopoInternalServerError() *CreateRackTopoInternalServerError

NewCreateRackTopoInternalServerError creates a CreateRackTopoInternalServerError with default headers values

func (*CreateRackTopoInternalServerError) Error added in v1.10.0

func (*CreateRackTopoInternalServerError) GetPayload added in v1.10.0

type CreateRackTopoNotFound added in v1.10.0

type CreateRackTopoNotFound struct {
	Payload *models.ErrorBody
}
CreateRackTopoNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateRackTopoNotFound added in v1.10.0

func NewCreateRackTopoNotFound() *CreateRackTopoNotFound

NewCreateRackTopoNotFound creates a CreateRackTopoNotFound with default headers values

func (*CreateRackTopoNotFound) Error added in v1.10.0

func (o *CreateRackTopoNotFound) Error() string

func (*CreateRackTopoNotFound) GetPayload added in v1.10.0

func (o *CreateRackTopoNotFound) GetPayload() *models.ErrorBody

type CreateRackTopoOK

type CreateRackTopoOK struct {
	Payload []*models.WithTaskRackTopo
}
CreateRackTopoOK describes a response with status code 200, with default header values.

Ok

func NewCreateRackTopoOK

func NewCreateRackTopoOK() *CreateRackTopoOK

NewCreateRackTopoOK creates a CreateRackTopoOK with default headers values

func (*CreateRackTopoOK) Error

func (o *CreateRackTopoOK) Error() string

func (*CreateRackTopoOK) GetPayload

func (o *CreateRackTopoOK) GetPayload() []*models.WithTaskRackTopo

type CreateRackTopoParams

type CreateRackTopoParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.RackTopoCreationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateRackTopoParams contains all the parameters to send to the API endpoint

for the create rack topo operation.

Typically these are written to a http.Request.

func NewCreateRackTopoParams

func NewCreateRackTopoParams() *CreateRackTopoParams

NewCreateRackTopoParams creates a new CreateRackTopoParams 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 NewCreateRackTopoParamsWithContext

func NewCreateRackTopoParamsWithContext(ctx context.Context) *CreateRackTopoParams

NewCreateRackTopoParamsWithContext creates a new CreateRackTopoParams object with the ability to set a context for a request.

func NewCreateRackTopoParamsWithHTTPClient

func NewCreateRackTopoParamsWithHTTPClient(client *http.Client) *CreateRackTopoParams

NewCreateRackTopoParamsWithHTTPClient creates a new CreateRackTopoParams object with the ability to set a custom HTTPClient for a request.

func NewCreateRackTopoParamsWithTimeout

func NewCreateRackTopoParamsWithTimeout(timeout time.Duration) *CreateRackTopoParams

NewCreateRackTopoParamsWithTimeout creates a new CreateRackTopoParams object with the ability to set a timeout on a request.

func (*CreateRackTopoParams) SetContentLanguage

func (o *CreateRackTopoParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create rack topo params

func (*CreateRackTopoParams) SetContext

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

SetContext adds the context to the create rack topo params

func (*CreateRackTopoParams) SetDefaults

func (o *CreateRackTopoParams) SetDefaults()

SetDefaults hydrates default values in the create rack topo params (not the query body).

All values with no default are reset to their zero value.

func (*CreateRackTopoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create rack topo params

func (*CreateRackTopoParams) SetRequestBody

func (o *CreateRackTopoParams) SetRequestBody(requestBody []*models.RackTopoCreationParams)

SetRequestBody adds the requestBody to the create rack topo params

func (*CreateRackTopoParams) SetTimeout

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

SetTimeout adds the timeout to the create rack topo params

func (*CreateRackTopoParams) WithContentLanguage

func (o *CreateRackTopoParams) WithContentLanguage(contentLanguage *string) *CreateRackTopoParams

WithContentLanguage adds the contentLanguage to the create rack topo params

func (*CreateRackTopoParams) WithContext

WithContext adds the context to the create rack topo params

func (*CreateRackTopoParams) WithDefaults

func (o *CreateRackTopoParams) WithDefaults() *CreateRackTopoParams

WithDefaults hydrates default values in the create rack topo params (not the query body).

All values with no default are reset to their zero value.

func (*CreateRackTopoParams) WithHTTPClient

func (o *CreateRackTopoParams) WithHTTPClient(client *http.Client) *CreateRackTopoParams

WithHTTPClient adds the HTTPClient to the create rack topo params

func (*CreateRackTopoParams) WithRequestBody

func (o *CreateRackTopoParams) WithRequestBody(requestBody []*models.RackTopoCreationParams) *CreateRackTopoParams

WithRequestBody adds the requestBody to the create rack topo params

func (*CreateRackTopoParams) WithTimeout

func (o *CreateRackTopoParams) WithTimeout(timeout time.Duration) *CreateRackTopoParams

WithTimeout adds the timeout to the create rack topo params

func (*CreateRackTopoParams) WriteToRequest

func (o *CreateRackTopoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateRackTopoReader

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

CreateRackTopoReader is a Reader for the CreateRackTopo structure.

func (*CreateRackTopoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRackTopoBadRequest

type DeleteRackTopoBadRequest struct {
	Payload *models.ErrorBody
}
DeleteRackTopoBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteRackTopoBadRequest

func NewDeleteRackTopoBadRequest() *DeleteRackTopoBadRequest

NewDeleteRackTopoBadRequest creates a DeleteRackTopoBadRequest with default headers values

func (*DeleteRackTopoBadRequest) Error

func (o *DeleteRackTopoBadRequest) Error() string

func (*DeleteRackTopoBadRequest) GetPayload

func (o *DeleteRackTopoBadRequest) GetPayload() *models.ErrorBody

type DeleteRackTopoInternalServerError added in v1.10.0

type DeleteRackTopoInternalServerError struct {
	Payload *models.ErrorBody
}
DeleteRackTopoInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteRackTopoInternalServerError added in v1.10.0

func NewDeleteRackTopoInternalServerError() *DeleteRackTopoInternalServerError

NewDeleteRackTopoInternalServerError creates a DeleteRackTopoInternalServerError with default headers values

func (*DeleteRackTopoInternalServerError) Error added in v1.10.0

func (*DeleteRackTopoInternalServerError) GetPayload added in v1.10.0

type DeleteRackTopoNotFound added in v1.10.0

type DeleteRackTopoNotFound struct {
	Payload *models.ErrorBody
}
DeleteRackTopoNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteRackTopoNotFound added in v1.10.0

func NewDeleteRackTopoNotFound() *DeleteRackTopoNotFound

NewDeleteRackTopoNotFound creates a DeleteRackTopoNotFound with default headers values

func (*DeleteRackTopoNotFound) Error added in v1.10.0

func (o *DeleteRackTopoNotFound) Error() string

func (*DeleteRackTopoNotFound) GetPayload added in v1.10.0

func (o *DeleteRackTopoNotFound) GetPayload() *models.ErrorBody

type DeleteRackTopoOK

type DeleteRackTopoOK struct {
	Payload []*models.WithTaskDeleteRackTopo
}
DeleteRackTopoOK describes a response with status code 200, with default header values.

Ok

func NewDeleteRackTopoOK

func NewDeleteRackTopoOK() *DeleteRackTopoOK

NewDeleteRackTopoOK creates a DeleteRackTopoOK with default headers values

func (*DeleteRackTopoOK) Error

func (o *DeleteRackTopoOK) Error() string

func (*DeleteRackTopoOK) GetPayload

func (o *DeleteRackTopoOK) GetPayload() []*models.WithTaskDeleteRackTopo

type DeleteRackTopoParams

type DeleteRackTopoParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.RackTopoDeletionParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteRackTopoParams contains all the parameters to send to the API endpoint

for the delete rack topo operation.

Typically these are written to a http.Request.

func NewDeleteRackTopoParams

func NewDeleteRackTopoParams() *DeleteRackTopoParams

NewDeleteRackTopoParams creates a new DeleteRackTopoParams 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 NewDeleteRackTopoParamsWithContext

func NewDeleteRackTopoParamsWithContext(ctx context.Context) *DeleteRackTopoParams

NewDeleteRackTopoParamsWithContext creates a new DeleteRackTopoParams object with the ability to set a context for a request.

func NewDeleteRackTopoParamsWithHTTPClient

func NewDeleteRackTopoParamsWithHTTPClient(client *http.Client) *DeleteRackTopoParams

NewDeleteRackTopoParamsWithHTTPClient creates a new DeleteRackTopoParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRackTopoParamsWithTimeout

func NewDeleteRackTopoParamsWithTimeout(timeout time.Duration) *DeleteRackTopoParams

NewDeleteRackTopoParamsWithTimeout creates a new DeleteRackTopoParams object with the ability to set a timeout on a request.

func (*DeleteRackTopoParams) SetContentLanguage

func (o *DeleteRackTopoParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete rack topo params

func (*DeleteRackTopoParams) SetContext

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

SetContext adds the context to the delete rack topo params

func (*DeleteRackTopoParams) SetDefaults

func (o *DeleteRackTopoParams) SetDefaults()

SetDefaults hydrates default values in the delete rack topo params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteRackTopoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete rack topo params

func (*DeleteRackTopoParams) SetRequestBody

func (o *DeleteRackTopoParams) SetRequestBody(requestBody *models.RackTopoDeletionParams)

SetRequestBody adds the requestBody to the delete rack topo params

func (*DeleteRackTopoParams) SetTimeout

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

SetTimeout adds the timeout to the delete rack topo params

func (*DeleteRackTopoParams) WithContentLanguage

func (o *DeleteRackTopoParams) WithContentLanguage(contentLanguage *string) *DeleteRackTopoParams

WithContentLanguage adds the contentLanguage to the delete rack topo params

func (*DeleteRackTopoParams) WithContext

WithContext adds the context to the delete rack topo params

func (*DeleteRackTopoParams) WithDefaults

func (o *DeleteRackTopoParams) WithDefaults() *DeleteRackTopoParams

WithDefaults hydrates default values in the delete rack topo params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteRackTopoParams) WithHTTPClient

func (o *DeleteRackTopoParams) WithHTTPClient(client *http.Client) *DeleteRackTopoParams

WithHTTPClient adds the HTTPClient to the delete rack topo params

func (*DeleteRackTopoParams) WithRequestBody

func (o *DeleteRackTopoParams) WithRequestBody(requestBody *models.RackTopoDeletionParams) *DeleteRackTopoParams

WithRequestBody adds the requestBody to the delete rack topo params

func (*DeleteRackTopoParams) WithTimeout

func (o *DeleteRackTopoParams) WithTimeout(timeout time.Duration) *DeleteRackTopoParams

WithTimeout adds the timeout to the delete rack topo params

func (*DeleteRackTopoParams) WriteToRequest

func (o *DeleteRackTopoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteRackTopoReader

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

DeleteRackTopoReader is a Reader for the DeleteRackTopo structure.

func (*DeleteRackTopoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRackTopoesBadRequest

type GetRackTopoesBadRequest struct {
	Payload *models.ErrorBody
}
GetRackTopoesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetRackTopoesBadRequest

func NewGetRackTopoesBadRequest() *GetRackTopoesBadRequest

NewGetRackTopoesBadRequest creates a GetRackTopoesBadRequest with default headers values

func (*GetRackTopoesBadRequest) Error

func (o *GetRackTopoesBadRequest) Error() string

func (*GetRackTopoesBadRequest) GetPayload

func (o *GetRackTopoesBadRequest) GetPayload() *models.ErrorBody

type GetRackTopoesConnectionBadRequest

type GetRackTopoesConnectionBadRequest struct {
	Payload *models.ErrorBody
}
GetRackTopoesConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetRackTopoesConnectionBadRequest

func NewGetRackTopoesConnectionBadRequest() *GetRackTopoesConnectionBadRequest

NewGetRackTopoesConnectionBadRequest creates a GetRackTopoesConnectionBadRequest with default headers values

func (*GetRackTopoesConnectionBadRequest) Error

func (*GetRackTopoesConnectionBadRequest) GetPayload

type GetRackTopoesConnectionInternalServerError added in v1.10.0

type GetRackTopoesConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetRackTopoesConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetRackTopoesConnectionInternalServerError added in v1.10.0

func NewGetRackTopoesConnectionInternalServerError() *GetRackTopoesConnectionInternalServerError

NewGetRackTopoesConnectionInternalServerError creates a GetRackTopoesConnectionInternalServerError with default headers values

func (*GetRackTopoesConnectionInternalServerError) Error added in v1.10.0

func (*GetRackTopoesConnectionInternalServerError) GetPayload added in v1.10.0

type GetRackTopoesConnectionNotFound added in v1.10.0

type GetRackTopoesConnectionNotFound struct {
	Payload *models.ErrorBody
}
GetRackTopoesConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetRackTopoesConnectionNotFound added in v1.10.0

func NewGetRackTopoesConnectionNotFound() *GetRackTopoesConnectionNotFound

NewGetRackTopoesConnectionNotFound creates a GetRackTopoesConnectionNotFound with default headers values

func (*GetRackTopoesConnectionNotFound) Error added in v1.10.0

func (*GetRackTopoesConnectionNotFound) GetPayload added in v1.10.0

type GetRackTopoesConnectionOK

type GetRackTopoesConnectionOK struct {
	Payload *models.RackTopoConnection
}
GetRackTopoesConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetRackTopoesConnectionOK

func NewGetRackTopoesConnectionOK() *GetRackTopoesConnectionOK

NewGetRackTopoesConnectionOK creates a GetRackTopoesConnectionOK with default headers values

func (*GetRackTopoesConnectionOK) Error

func (o *GetRackTopoesConnectionOK) Error() string

func (*GetRackTopoesConnectionOK) GetPayload

type GetRackTopoesConnectionParams

type GetRackTopoesConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetRackTopoesConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRackTopoesConnectionParams contains all the parameters to send to the API endpoint

for the get rack topoes connection operation.

Typically these are written to a http.Request.

func NewGetRackTopoesConnectionParams

func NewGetRackTopoesConnectionParams() *GetRackTopoesConnectionParams

NewGetRackTopoesConnectionParams creates a new GetRackTopoesConnectionParams 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 NewGetRackTopoesConnectionParamsWithContext

func NewGetRackTopoesConnectionParamsWithContext(ctx context.Context) *GetRackTopoesConnectionParams

NewGetRackTopoesConnectionParamsWithContext creates a new GetRackTopoesConnectionParams object with the ability to set a context for a request.

func NewGetRackTopoesConnectionParamsWithHTTPClient

func NewGetRackTopoesConnectionParamsWithHTTPClient(client *http.Client) *GetRackTopoesConnectionParams

NewGetRackTopoesConnectionParamsWithHTTPClient creates a new GetRackTopoesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetRackTopoesConnectionParamsWithTimeout

func NewGetRackTopoesConnectionParamsWithTimeout(timeout time.Duration) *GetRackTopoesConnectionParams

NewGetRackTopoesConnectionParamsWithTimeout creates a new GetRackTopoesConnectionParams object with the ability to set a timeout on a request.

func (*GetRackTopoesConnectionParams) SetContentLanguage

func (o *GetRackTopoesConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get rack topoes connection params

func (*GetRackTopoesConnectionParams) SetContext

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

SetContext adds the context to the get rack topoes connection params

func (*GetRackTopoesConnectionParams) SetDefaults

func (o *GetRackTopoesConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get rack topoes connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetRackTopoesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get rack topoes connection params

func (*GetRackTopoesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get rack topoes connection params

func (*GetRackTopoesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get rack topoes connection params

func (*GetRackTopoesConnectionParams) WithContentLanguage

func (o *GetRackTopoesConnectionParams) WithContentLanguage(contentLanguage *string) *GetRackTopoesConnectionParams

WithContentLanguage adds the contentLanguage to the get rack topoes connection params

func (*GetRackTopoesConnectionParams) WithContext

WithContext adds the context to the get rack topoes connection params

func (*GetRackTopoesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get rack topoes connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetRackTopoesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get rack topoes connection params

func (*GetRackTopoesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get rack topoes connection params

func (*GetRackTopoesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get rack topoes connection params

func (*GetRackTopoesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRackTopoesConnectionReader

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

GetRackTopoesConnectionReader is a Reader for the GetRackTopoesConnection structure.

func (*GetRackTopoesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRackTopoesInternalServerError added in v1.10.0

type GetRackTopoesInternalServerError struct {
	Payload *models.ErrorBody
}
GetRackTopoesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetRackTopoesInternalServerError added in v1.10.0

func NewGetRackTopoesInternalServerError() *GetRackTopoesInternalServerError

NewGetRackTopoesInternalServerError creates a GetRackTopoesInternalServerError with default headers values

func (*GetRackTopoesInternalServerError) Error added in v1.10.0

func (*GetRackTopoesInternalServerError) GetPayload added in v1.10.0

type GetRackTopoesNotFound added in v1.10.0

type GetRackTopoesNotFound struct {
	Payload *models.ErrorBody
}
GetRackTopoesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetRackTopoesNotFound added in v1.10.0

func NewGetRackTopoesNotFound() *GetRackTopoesNotFound

NewGetRackTopoesNotFound creates a GetRackTopoesNotFound with default headers values

func (*GetRackTopoesNotFound) Error added in v1.10.0

func (o *GetRackTopoesNotFound) Error() string

func (*GetRackTopoesNotFound) GetPayload added in v1.10.0

func (o *GetRackTopoesNotFound) GetPayload() *models.ErrorBody

type GetRackTopoesOK

type GetRackTopoesOK struct {
	Payload []*models.RackTopo
}
GetRackTopoesOK describes a response with status code 200, with default header values.

Ok

func NewGetRackTopoesOK

func NewGetRackTopoesOK() *GetRackTopoesOK

NewGetRackTopoesOK creates a GetRackTopoesOK with default headers values

func (*GetRackTopoesOK) Error

func (o *GetRackTopoesOK) Error() string

func (*GetRackTopoesOK) GetPayload

func (o *GetRackTopoesOK) GetPayload() []*models.RackTopo

type GetRackTopoesParams

type GetRackTopoesParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetRackTopoesRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRackTopoesParams contains all the parameters to send to the API endpoint

for the get rack topoes operation.

Typically these are written to a http.Request.

func NewGetRackTopoesParams

func NewGetRackTopoesParams() *GetRackTopoesParams

NewGetRackTopoesParams creates a new GetRackTopoesParams 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 NewGetRackTopoesParamsWithContext

func NewGetRackTopoesParamsWithContext(ctx context.Context) *GetRackTopoesParams

NewGetRackTopoesParamsWithContext creates a new GetRackTopoesParams object with the ability to set a context for a request.

func NewGetRackTopoesParamsWithHTTPClient

func NewGetRackTopoesParamsWithHTTPClient(client *http.Client) *GetRackTopoesParams

NewGetRackTopoesParamsWithHTTPClient creates a new GetRackTopoesParams object with the ability to set a custom HTTPClient for a request.

func NewGetRackTopoesParamsWithTimeout

func NewGetRackTopoesParamsWithTimeout(timeout time.Duration) *GetRackTopoesParams

NewGetRackTopoesParamsWithTimeout creates a new GetRackTopoesParams object with the ability to set a timeout on a request.

func (*GetRackTopoesParams) SetContentLanguage

func (o *GetRackTopoesParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get rack topoes params

func (*GetRackTopoesParams) SetContext

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

SetContext adds the context to the get rack topoes params

func (*GetRackTopoesParams) SetDefaults

func (o *GetRackTopoesParams) SetDefaults()

SetDefaults hydrates default values in the get rack topoes params (not the query body).

All values with no default are reset to their zero value.

func (*GetRackTopoesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get rack topoes params

func (*GetRackTopoesParams) SetRequestBody

func (o *GetRackTopoesParams) SetRequestBody(requestBody *models.GetRackTopoesRequestBody)

SetRequestBody adds the requestBody to the get rack topoes params

func (*GetRackTopoesParams) SetTimeout

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

SetTimeout adds the timeout to the get rack topoes params

func (*GetRackTopoesParams) WithContentLanguage

func (o *GetRackTopoesParams) WithContentLanguage(contentLanguage *string) *GetRackTopoesParams

WithContentLanguage adds the contentLanguage to the get rack topoes params

func (*GetRackTopoesParams) WithContext

WithContext adds the context to the get rack topoes params

func (*GetRackTopoesParams) WithDefaults

func (o *GetRackTopoesParams) WithDefaults() *GetRackTopoesParams

WithDefaults hydrates default values in the get rack topoes params (not the query body).

All values with no default are reset to their zero value.

func (*GetRackTopoesParams) WithHTTPClient

func (o *GetRackTopoesParams) WithHTTPClient(client *http.Client) *GetRackTopoesParams

WithHTTPClient adds the HTTPClient to the get rack topoes params

func (*GetRackTopoesParams) WithRequestBody

func (o *GetRackTopoesParams) WithRequestBody(requestBody *models.GetRackTopoesRequestBody) *GetRackTopoesParams

WithRequestBody adds the requestBody to the get rack topoes params

func (*GetRackTopoesParams) WithTimeout

func (o *GetRackTopoesParams) WithTimeout(timeout time.Duration) *GetRackTopoesParams

WithTimeout adds the timeout to the get rack topoes params

func (*GetRackTopoesParams) WriteToRequest

func (o *GetRackTopoesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRackTopoesReader

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

GetRackTopoesReader is a Reader for the GetRackTopoes structure.

func (*GetRackTopoesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateRackTopoBadRequest

type UpdateRackTopoBadRequest struct {
	Payload *models.ErrorBody
}
UpdateRackTopoBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateRackTopoBadRequest

func NewUpdateRackTopoBadRequest() *UpdateRackTopoBadRequest

NewUpdateRackTopoBadRequest creates a UpdateRackTopoBadRequest with default headers values

func (*UpdateRackTopoBadRequest) Error

func (o *UpdateRackTopoBadRequest) Error() string

func (*UpdateRackTopoBadRequest) GetPayload

func (o *UpdateRackTopoBadRequest) GetPayload() *models.ErrorBody

type UpdateRackTopoInternalServerError added in v1.10.0

type UpdateRackTopoInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateRackTopoInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateRackTopoInternalServerError added in v1.10.0

func NewUpdateRackTopoInternalServerError() *UpdateRackTopoInternalServerError

NewUpdateRackTopoInternalServerError creates a UpdateRackTopoInternalServerError with default headers values

func (*UpdateRackTopoInternalServerError) Error added in v1.10.0

func (*UpdateRackTopoInternalServerError) GetPayload added in v1.10.0

type UpdateRackTopoNotFound added in v1.10.0

type UpdateRackTopoNotFound struct {
	Payload *models.ErrorBody
}
UpdateRackTopoNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateRackTopoNotFound added in v1.10.0

func NewUpdateRackTopoNotFound() *UpdateRackTopoNotFound

NewUpdateRackTopoNotFound creates a UpdateRackTopoNotFound with default headers values

func (*UpdateRackTopoNotFound) Error added in v1.10.0

func (o *UpdateRackTopoNotFound) Error() string

func (*UpdateRackTopoNotFound) GetPayload added in v1.10.0

func (o *UpdateRackTopoNotFound) GetPayload() *models.ErrorBody

type UpdateRackTopoOK

type UpdateRackTopoOK struct {
	Payload []*models.WithTaskRackTopo
}
UpdateRackTopoOK describes a response with status code 200, with default header values.

Ok

func NewUpdateRackTopoOK

func NewUpdateRackTopoOK() *UpdateRackTopoOK

NewUpdateRackTopoOK creates a UpdateRackTopoOK with default headers values

func (*UpdateRackTopoOK) Error

func (o *UpdateRackTopoOK) Error() string

func (*UpdateRackTopoOK) GetPayload

func (o *UpdateRackTopoOK) GetPayload() []*models.WithTaskRackTopo

type UpdateRackTopoParams

type UpdateRackTopoParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.RackTopoUpdationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateRackTopoParams contains all the parameters to send to the API endpoint

for the update rack topo operation.

Typically these are written to a http.Request.

func NewUpdateRackTopoParams

func NewUpdateRackTopoParams() *UpdateRackTopoParams

NewUpdateRackTopoParams creates a new UpdateRackTopoParams 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 NewUpdateRackTopoParamsWithContext

func NewUpdateRackTopoParamsWithContext(ctx context.Context) *UpdateRackTopoParams

NewUpdateRackTopoParamsWithContext creates a new UpdateRackTopoParams object with the ability to set a context for a request.

func NewUpdateRackTopoParamsWithHTTPClient

func NewUpdateRackTopoParamsWithHTTPClient(client *http.Client) *UpdateRackTopoParams

NewUpdateRackTopoParamsWithHTTPClient creates a new UpdateRackTopoParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateRackTopoParamsWithTimeout

func NewUpdateRackTopoParamsWithTimeout(timeout time.Duration) *UpdateRackTopoParams

NewUpdateRackTopoParamsWithTimeout creates a new UpdateRackTopoParams object with the ability to set a timeout on a request.

func (*UpdateRackTopoParams) SetContentLanguage

func (o *UpdateRackTopoParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update rack topo params

func (*UpdateRackTopoParams) SetContext

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

SetContext adds the context to the update rack topo params

func (*UpdateRackTopoParams) SetDefaults

func (o *UpdateRackTopoParams) SetDefaults()

SetDefaults hydrates default values in the update rack topo params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateRackTopoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update rack topo params

func (*UpdateRackTopoParams) SetRequestBody

func (o *UpdateRackTopoParams) SetRequestBody(requestBody *models.RackTopoUpdationParams)

SetRequestBody adds the requestBody to the update rack topo params

func (*UpdateRackTopoParams) SetTimeout

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

SetTimeout adds the timeout to the update rack topo params

func (*UpdateRackTopoParams) WithContentLanguage

func (o *UpdateRackTopoParams) WithContentLanguage(contentLanguage *string) *UpdateRackTopoParams

WithContentLanguage adds the contentLanguage to the update rack topo params

func (*UpdateRackTopoParams) WithContext

WithContext adds the context to the update rack topo params

func (*UpdateRackTopoParams) WithDefaults

func (o *UpdateRackTopoParams) WithDefaults() *UpdateRackTopoParams

WithDefaults hydrates default values in the update rack topo params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateRackTopoParams) WithHTTPClient

func (o *UpdateRackTopoParams) WithHTTPClient(client *http.Client) *UpdateRackTopoParams

WithHTTPClient adds the HTTPClient to the update rack topo params

func (*UpdateRackTopoParams) WithRequestBody

func (o *UpdateRackTopoParams) WithRequestBody(requestBody *models.RackTopoUpdationParams) *UpdateRackTopoParams

WithRequestBody adds the requestBody to the update rack topo params

func (*UpdateRackTopoParams) WithTimeout

func (o *UpdateRackTopoParams) WithTimeout(timeout time.Duration) *UpdateRackTopoParams

WithTimeout adds the timeout to the update rack topo params

func (*UpdateRackTopoParams) WriteToRequest

func (o *UpdateRackTopoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateRackTopoReader

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

UpdateRackTopoReader is a Reader for the UpdateRackTopo structure.

func (*UpdateRackTopoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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