Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteRacksID(params *DeleteRacksIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRacksIDOK, error)
- func (a *Client) GetRacks(params *GetRacksParams, authInfo runtime.ClientAuthInfoWriter) (*GetRacksOK, error)
- func (a *Client) GetRacksID(params *GetRacksIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRacksIDOK, error)
- func (a *Client) PostRacks(params *PostRacksParams, authInfo runtime.ClientAuthInfoWriter) (*PostRacksOK, error)
- func (a *Client) PutCustomFieldsRack(params *PutCustomFieldsRackParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsRackOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CustomFieldsItems0
- type DeleteRacksIDBadRequest
- type DeleteRacksIDForbidden
- type DeleteRacksIDGone
- type DeleteRacksIDInternalServerError
- type DeleteRacksIDMethodNotAllowed
- type DeleteRacksIDNotFound
- type DeleteRacksIDOK
- type DeleteRacksIDOKBody
- type DeleteRacksIDParams
- func (o *DeleteRacksIDParams) SetContext(ctx context.Context)
- func (o *DeleteRacksIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRacksIDParams) SetID(id int64)
- func (o *DeleteRacksIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRacksIDParams) WithContext(ctx context.Context) *DeleteRacksIDParams
- func (o *DeleteRacksIDParams) WithHTTPClient(client *http.Client) *DeleteRacksIDParams
- func (o *DeleteRacksIDParams) WithID(id int64) *DeleteRacksIDParams
- func (o *DeleteRacksIDParams) WithTimeout(timeout time.Duration) *DeleteRacksIDParams
- func (o *DeleteRacksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRacksIDReader
- type DeleteRacksIDServiceUnavailable
- type DeleteRacksIDUnauthorized
- type GetRacksBadRequest
- type GetRacksForbidden
- type GetRacksGone
- type GetRacksIDBadRequest
- type GetRacksIDForbidden
- type GetRacksIDGone
- type GetRacksIDInternalServerError
- type GetRacksIDMethodNotAllowed
- type GetRacksIDNotFound
- type GetRacksIDOK
- type GetRacksIDOKBody
- type GetRacksIDParams
- func (o *GetRacksIDParams) SetContext(ctx context.Context)
- func (o *GetRacksIDParams) SetHTTPClient(client *http.Client)
- func (o *GetRacksIDParams) SetID(id int64)
- func (o *GetRacksIDParams) SetTimeout(timeout time.Duration)
- func (o *GetRacksIDParams) WithContext(ctx context.Context) *GetRacksIDParams
- func (o *GetRacksIDParams) WithHTTPClient(client *http.Client) *GetRacksIDParams
- func (o *GetRacksIDParams) WithID(id int64) *GetRacksIDParams
- func (o *GetRacksIDParams) WithTimeout(timeout time.Duration) *GetRacksIDParams
- func (o *GetRacksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRacksIDReader
- type GetRacksIDServiceUnavailable
- type GetRacksIDUnauthorized
- type GetRacksInternalServerError
- type GetRacksMethodNotAllowed
- type GetRacksNotFound
- type GetRacksOK
- type GetRacksOKBody
- type GetRacksParams
- func (o *GetRacksParams) SetAssetNo(assetNo *string)
- func (o *GetRacksParams) SetBuilding(building *string)
- func (o *GetRacksParams) SetBuildingID(buildingID *string)
- func (o *GetRacksParams) SetContext(ctx context.Context)
- func (o *GetRacksParams) SetHTTPClient(client *http.Client)
- func (o *GetRacksParams) SetManufacturer(manufacturer *string)
- func (o *GetRacksParams) SetName(name *string)
- func (o *GetRacksParams) SetRoom(room *string)
- func (o *GetRacksParams) SetRoomID(roomID *string)
- func (o *GetRacksParams) SetRow(row *string)
- func (o *GetRacksParams) SetSize(size *int64)
- func (o *GetRacksParams) SetTimeout(timeout time.Duration)
- func (o *GetRacksParams) WithAssetNo(assetNo *string) *GetRacksParams
- func (o *GetRacksParams) WithBuilding(building *string) *GetRacksParams
- func (o *GetRacksParams) WithBuildingID(buildingID *string) *GetRacksParams
- func (o *GetRacksParams) WithContext(ctx context.Context) *GetRacksParams
- func (o *GetRacksParams) WithHTTPClient(client *http.Client) *GetRacksParams
- func (o *GetRacksParams) WithManufacturer(manufacturer *string) *GetRacksParams
- func (o *GetRacksParams) WithName(name *string) *GetRacksParams
- func (o *GetRacksParams) WithRoom(room *string) *GetRacksParams
- func (o *GetRacksParams) WithRoomID(roomID *string) *GetRacksParams
- func (o *GetRacksParams) WithRow(row *string) *GetRacksParams
- func (o *GetRacksParams) WithSize(size *int64) *GetRacksParams
- func (o *GetRacksParams) WithTimeout(timeout time.Duration) *GetRacksParams
- func (o *GetRacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRacksReader
- type GetRacksServiceUnavailable
- type GetRacksUnauthorized
- type PdusItems0
- type PostRacksBadRequest
- type PostRacksForbidden
- type PostRacksGone
- type PostRacksInternalServerError
- type PostRacksMethodNotAllowed
- type PostRacksNotFound
- type PostRacksOK
- type PostRacksOKBody
- type PostRacksParams
- func (o *PostRacksParams) SetBuilding(building *string)
- func (o *PostRacksParams) SetColSize(colSize *string)
- func (o *PostRacksParams) SetContext(ctx context.Context)
- func (o *PostRacksParams) SetFirstNumber(firstNumber *string)
- func (o *PostRacksParams) SetGroups(groups *string)
- func (o *PostRacksParams) SetHTTPClient(client *http.Client)
- func (o *PostRacksParams) SetManufacturer(manufacturer *string)
- func (o *PostRacksParams) SetName(name *string)
- func (o *PostRacksParams) SetNewName(newName *string)
- func (o *PostRacksParams) SetNotes(notes *string)
- func (o *PostRacksParams) SetNumberingStartFromBottom(numberingStartFromBottom *string)
- func (o *PostRacksParams) SetOrientation(orientation *string)
- func (o *PostRacksParams) SetRackID(rackID *int64)
- func (o *PostRacksParams) SetRoom(room *string)
- func (o *PostRacksParams) SetRoomID(roomID *string)
- func (o *PostRacksParams) SetRow(row *string)
- func (o *PostRacksParams) SetRowSize(rowSize *string)
- func (o *PostRacksParams) SetSize(size *int64)
- func (o *PostRacksParams) SetStartCol(startCol *string)
- func (o *PostRacksParams) SetStartRow(startRow *string)
- func (o *PostRacksParams) SetTimeout(timeout time.Duration)
- func (o *PostRacksParams) WithBuilding(building *string) *PostRacksParams
- func (o *PostRacksParams) WithColSize(colSize *string) *PostRacksParams
- func (o *PostRacksParams) WithContext(ctx context.Context) *PostRacksParams
- func (o *PostRacksParams) WithFirstNumber(firstNumber *string) *PostRacksParams
- func (o *PostRacksParams) WithGroups(groups *string) *PostRacksParams
- func (o *PostRacksParams) WithHTTPClient(client *http.Client) *PostRacksParams
- func (o *PostRacksParams) WithManufacturer(manufacturer *string) *PostRacksParams
- func (o *PostRacksParams) WithName(name *string) *PostRacksParams
- func (o *PostRacksParams) WithNewName(newName *string) *PostRacksParams
- func (o *PostRacksParams) WithNotes(notes *string) *PostRacksParams
- func (o *PostRacksParams) WithNumberingStartFromBottom(numberingStartFromBottom *string) *PostRacksParams
- func (o *PostRacksParams) WithOrientation(orientation *string) *PostRacksParams
- func (o *PostRacksParams) WithRackID(rackID *int64) *PostRacksParams
- func (o *PostRacksParams) WithRoom(room *string) *PostRacksParams
- func (o *PostRacksParams) WithRoomID(roomID *string) *PostRacksParams
- func (o *PostRacksParams) WithRow(row *string) *PostRacksParams
- func (o *PostRacksParams) WithRowSize(rowSize *string) *PostRacksParams
- func (o *PostRacksParams) WithSize(size *int64) *PostRacksParams
- func (o *PostRacksParams) WithStartCol(startCol *string) *PostRacksParams
- func (o *PostRacksParams) WithStartRow(startRow *string) *PostRacksParams
- func (o *PostRacksParams) WithTimeout(timeout time.Duration) *PostRacksParams
- func (o *PostRacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRacksReader
- type PostRacksServiceUnavailable
- type PostRacksUnauthorized
- type PutCustomFieldsRackBadRequest
- type PutCustomFieldsRackForbidden
- type PutCustomFieldsRackGone
- type PutCustomFieldsRackInternalServerError
- type PutCustomFieldsRackMethodNotAllowed
- type PutCustomFieldsRackNotFound
- type PutCustomFieldsRackOK
- type PutCustomFieldsRackOKBody
- type PutCustomFieldsRackParams
- func NewPutCustomFieldsRackParams() *PutCustomFieldsRackParams
- func NewPutCustomFieldsRackParamsWithContext(ctx context.Context) *PutCustomFieldsRackParams
- func NewPutCustomFieldsRackParamsWithHTTPClient(client *http.Client) *PutCustomFieldsRackParams
- func NewPutCustomFieldsRackParamsWithTimeout(timeout time.Duration) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) SetAddToPicklist(addToPicklist *string)
- func (o *PutCustomFieldsRackParams) SetBulkFields(bulkFields *string)
- func (o *PutCustomFieldsRackParams) SetClearValue(clearValue *string)
- func (o *PutCustomFieldsRackParams) SetContext(ctx context.Context)
- func (o *PutCustomFieldsRackParams) SetHTTPClient(client *http.Client)
- func (o *PutCustomFieldsRackParams) SetID(id *string)
- func (o *PutCustomFieldsRackParams) SetKey(key string)
- func (o *PutCustomFieldsRackParams) SetName(name *string)
- func (o *PutCustomFieldsRackParams) SetNotes(notes *string)
- func (o *PutCustomFieldsRackParams) SetRelatedFieldName(relatedFieldName *string)
- func (o *PutCustomFieldsRackParams) SetTimeout(timeout time.Duration)
- func (o *PutCustomFieldsRackParams) SetType(typeVar *string)
- func (o *PutCustomFieldsRackParams) SetValue(value *string)
- func (o *PutCustomFieldsRackParams) WithAddToPicklist(addToPicklist *string) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithBulkFields(bulkFields *string) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithClearValue(clearValue *string) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithContext(ctx context.Context) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithHTTPClient(client *http.Client) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithID(id *string) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithKey(key string) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithName(name *string) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithNotes(notes *string) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithRelatedFieldName(relatedFieldName *string) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithTimeout(timeout time.Duration) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithType(typeVar *string) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WithValue(value *string) *PutCustomFieldsRackParams
- func (o *PutCustomFieldsRackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutCustomFieldsRackReader
- type PutCustomFieldsRackServiceUnavailable
- type PutCustomFieldsRackUnauthorized
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 racks API
func (*Client) DeleteRacksID ¶
func (a *Client) DeleteRacksID(params *DeleteRacksIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRacksIDOK, error)
DeleteRacksID this API is used to delete the rack with the rack id supplied as the required argument
Delete Rack
func (*Client) GetRacks ¶
func (a *Client) GetRacks(params *GetRacksParams, authInfo runtime.ClientAuthInfoWriter) (*GetRacksOK, error)
GetRacks gets all racks
This API will retrieve basic information about all racks.
func (*Client) GetRacksID ¶
func (a *Client) GetRacksID(params *GetRacksIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRacksIDOK, error)
GetRacksID retrieves detailed information about a specific rack including all racked devices assets and p d us
Get a Specific Rack
func (*Client) PostRacks ¶
func (a *Client) PostRacks(params *PostRacksParams, authInfo runtime.ClientAuthInfoWriter) (*PostRacksOK, error)
PostRacks creates a rack
Create / Update Racks. Creating a new rack requires both <ul><li>name</li><li>size</li></ul><p> However, if updating a rack, you can use either</p> <ul><li>rack_id</li></ul> <p>or all of</p> <ul><li>name</li><li>room</li> <li>building</li></ul><p> If using room/building name, first combination of room name or room and building name will be used.</p>
func (*Client) PutCustomFieldsRack ¶
func (a *Client) PutCustomFieldsRack(params *PutCustomFieldsRackParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsRackOK, error)
PutCustomFieldsRack creates update custom fields for racks
Create or update custom fields for racks. "ID" or "name" of rack is needed even when value is not being changed.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteRacksID(params *DeleteRacksIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRacksIDOK, error) GetRacks(params *GetRacksParams, authInfo runtime.ClientAuthInfoWriter) (*GetRacksOK, error) GetRacksID(params *GetRacksIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRacksIDOK, error) PostRacks(params *PostRacksParams, authInfo runtime.ClientAuthInfoWriter) (*PostRacksOK, error) PutCustomFieldsRack(params *PutCustomFieldsRackParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsRackOK, 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 racks API client.
type CustomFieldsItems0 ¶
type CustomFieldsItems0 struct { // key Key interface{} `json:"key,omitempty"` // notes Notes interface{} `json:"notes,omitempty"` // value Value interface{} `json:"value,omitempty"` }
CustomFieldsItems0 custom fields items0 swagger:model CustomFieldsItems0
func (*CustomFieldsItems0) MarshalBinary ¶
func (o *CustomFieldsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomFieldsItems0) UnmarshalBinary ¶
func (o *CustomFieldsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteRacksIDBadRequest ¶
type DeleteRacksIDBadRequest struct { }
DeleteRacksIDBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewDeleteRacksIDBadRequest ¶
func NewDeleteRacksIDBadRequest() *DeleteRacksIDBadRequest
NewDeleteRacksIDBadRequest creates a DeleteRacksIDBadRequest with default headers values
func (*DeleteRacksIDBadRequest) Error ¶
func (o *DeleteRacksIDBadRequest) Error() string
type DeleteRacksIDForbidden ¶
type DeleteRacksIDForbidden struct { }
DeleteRacksIDForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewDeleteRacksIDForbidden ¶
func NewDeleteRacksIDForbidden() *DeleteRacksIDForbidden
NewDeleteRacksIDForbidden creates a DeleteRacksIDForbidden with default headers values
func (*DeleteRacksIDForbidden) Error ¶
func (o *DeleteRacksIDForbidden) Error() string
type DeleteRacksIDGone ¶
type DeleteRacksIDGone struct { }
DeleteRacksIDGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewDeleteRacksIDGone ¶
func NewDeleteRacksIDGone() *DeleteRacksIDGone
NewDeleteRacksIDGone creates a DeleteRacksIDGone with default headers values
func (*DeleteRacksIDGone) Error ¶
func (o *DeleteRacksIDGone) Error() string
type DeleteRacksIDInternalServerError ¶
type DeleteRacksIDInternalServerError struct { }
DeleteRacksIDInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewDeleteRacksIDInternalServerError ¶
func NewDeleteRacksIDInternalServerError() *DeleteRacksIDInternalServerError
NewDeleteRacksIDInternalServerError creates a DeleteRacksIDInternalServerError with default headers values
func (*DeleteRacksIDInternalServerError) Error ¶
func (o *DeleteRacksIDInternalServerError) Error() string
type DeleteRacksIDMethodNotAllowed ¶
type DeleteRacksIDMethodNotAllowed struct { }
DeleteRacksIDMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewDeleteRacksIDMethodNotAllowed ¶
func NewDeleteRacksIDMethodNotAllowed() *DeleteRacksIDMethodNotAllowed
NewDeleteRacksIDMethodNotAllowed creates a DeleteRacksIDMethodNotAllowed with default headers values
func (*DeleteRacksIDMethodNotAllowed) Error ¶
func (o *DeleteRacksIDMethodNotAllowed) Error() string
type DeleteRacksIDNotFound ¶
type DeleteRacksIDNotFound struct { }
DeleteRacksIDNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewDeleteRacksIDNotFound ¶
func NewDeleteRacksIDNotFound() *DeleteRacksIDNotFound
NewDeleteRacksIDNotFound creates a DeleteRacksIDNotFound with default headers values
func (*DeleteRacksIDNotFound) Error ¶
func (o *DeleteRacksIDNotFound) Error() string
type DeleteRacksIDOK ¶
type DeleteRacksIDOK struct {
Payload *DeleteRacksIDOKBody
}
DeleteRacksIDOK handles this case with default header values.
The above command returns results like this:
func NewDeleteRacksIDOK ¶
func NewDeleteRacksIDOK() *DeleteRacksIDOK
NewDeleteRacksIDOK creates a DeleteRacksIDOK with default headers values
func (*DeleteRacksIDOK) Error ¶
func (o *DeleteRacksIDOK) Error() string
func (*DeleteRacksIDOK) GetPayload ¶
func (o *DeleteRacksIDOK) GetPayload() *DeleteRacksIDOKBody
type DeleteRacksIDOKBody ¶
type DeleteRacksIDOKBody struct { // deleted Deleted interface{} `json:"deleted,omitempty"` // id ID interface{} `json:"id,omitempty"` }
DeleteRacksIDOKBody delete racks ID o k body swagger:model DeleteRacksIDOKBody
func (*DeleteRacksIDOKBody) MarshalBinary ¶
func (o *DeleteRacksIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteRacksIDOKBody) UnmarshalBinary ¶
func (o *DeleteRacksIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteRacksIDParams ¶
type DeleteRacksIDParams struct { /*ID rack id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRacksIDParams contains all the parameters to send to the API endpoint for the delete racks ID operation typically these are written to a http.Request
func NewDeleteRacksIDParams ¶
func NewDeleteRacksIDParams() *DeleteRacksIDParams
NewDeleteRacksIDParams creates a new DeleteRacksIDParams object with the default values initialized.
func NewDeleteRacksIDParamsWithContext ¶
func NewDeleteRacksIDParamsWithContext(ctx context.Context) *DeleteRacksIDParams
NewDeleteRacksIDParamsWithContext creates a new DeleteRacksIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRacksIDParamsWithHTTPClient ¶
func NewDeleteRacksIDParamsWithHTTPClient(client *http.Client) *DeleteRacksIDParams
NewDeleteRacksIDParamsWithHTTPClient creates a new DeleteRacksIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRacksIDParamsWithTimeout ¶
func NewDeleteRacksIDParamsWithTimeout(timeout time.Duration) *DeleteRacksIDParams
NewDeleteRacksIDParamsWithTimeout creates a new DeleteRacksIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRacksIDParams) SetContext ¶
func (o *DeleteRacksIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete racks ID params
func (*DeleteRacksIDParams) SetHTTPClient ¶
func (o *DeleteRacksIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete racks ID params
func (*DeleteRacksIDParams) SetID ¶
func (o *DeleteRacksIDParams) SetID(id int64)
SetID adds the id to the delete racks ID params
func (*DeleteRacksIDParams) SetTimeout ¶
func (o *DeleteRacksIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete racks ID params
func (*DeleteRacksIDParams) WithContext ¶
func (o *DeleteRacksIDParams) WithContext(ctx context.Context) *DeleteRacksIDParams
WithContext adds the context to the delete racks ID params
func (*DeleteRacksIDParams) WithHTTPClient ¶
func (o *DeleteRacksIDParams) WithHTTPClient(client *http.Client) *DeleteRacksIDParams
WithHTTPClient adds the HTTPClient to the delete racks ID params
func (*DeleteRacksIDParams) WithID ¶
func (o *DeleteRacksIDParams) WithID(id int64) *DeleteRacksIDParams
WithID adds the id to the delete racks ID params
func (*DeleteRacksIDParams) WithTimeout ¶
func (o *DeleteRacksIDParams) WithTimeout(timeout time.Duration) *DeleteRacksIDParams
WithTimeout adds the timeout to the delete racks ID params
func (*DeleteRacksIDParams) WriteToRequest ¶
func (o *DeleteRacksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRacksIDReader ¶
type DeleteRacksIDReader struct {
// contains filtered or unexported fields
}
DeleteRacksIDReader is a Reader for the DeleteRacksID structure.
func (*DeleteRacksIDReader) ReadResponse ¶
func (o *DeleteRacksIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRacksIDServiceUnavailable ¶
type DeleteRacksIDServiceUnavailable struct { }
DeleteRacksIDServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewDeleteRacksIDServiceUnavailable ¶
func NewDeleteRacksIDServiceUnavailable() *DeleteRacksIDServiceUnavailable
NewDeleteRacksIDServiceUnavailable creates a DeleteRacksIDServiceUnavailable with default headers values
func (*DeleteRacksIDServiceUnavailable) Error ¶
func (o *DeleteRacksIDServiceUnavailable) Error() string
type DeleteRacksIDUnauthorized ¶
type DeleteRacksIDUnauthorized struct { }
DeleteRacksIDUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewDeleteRacksIDUnauthorized ¶
func NewDeleteRacksIDUnauthorized() *DeleteRacksIDUnauthorized
NewDeleteRacksIDUnauthorized creates a DeleteRacksIDUnauthorized with default headers values
func (*DeleteRacksIDUnauthorized) Error ¶
func (o *DeleteRacksIDUnauthorized) Error() string
type GetRacksBadRequest ¶
type GetRacksBadRequest struct { }
GetRacksBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetRacksBadRequest ¶
func NewGetRacksBadRequest() *GetRacksBadRequest
NewGetRacksBadRequest creates a GetRacksBadRequest with default headers values
func (*GetRacksBadRequest) Error ¶
func (o *GetRacksBadRequest) Error() string
type GetRacksForbidden ¶
type GetRacksForbidden struct { }
GetRacksForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetRacksForbidden ¶
func NewGetRacksForbidden() *GetRacksForbidden
NewGetRacksForbidden creates a GetRacksForbidden with default headers values
func (*GetRacksForbidden) Error ¶
func (o *GetRacksForbidden) Error() string
type GetRacksGone ¶
type GetRacksGone struct { }
GetRacksGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetRacksGone ¶
func NewGetRacksGone() *GetRacksGone
NewGetRacksGone creates a GetRacksGone with default headers values
func (*GetRacksGone) Error ¶
func (o *GetRacksGone) Error() string
type GetRacksIDBadRequest ¶
type GetRacksIDBadRequest struct { }
GetRacksIDBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetRacksIDBadRequest ¶
func NewGetRacksIDBadRequest() *GetRacksIDBadRequest
NewGetRacksIDBadRequest creates a GetRacksIDBadRequest with default headers values
func (*GetRacksIDBadRequest) Error ¶
func (o *GetRacksIDBadRequest) Error() string
type GetRacksIDForbidden ¶
type GetRacksIDForbidden struct { }
GetRacksIDForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetRacksIDForbidden ¶
func NewGetRacksIDForbidden() *GetRacksIDForbidden
NewGetRacksIDForbidden creates a GetRacksIDForbidden with default headers values
func (*GetRacksIDForbidden) Error ¶
func (o *GetRacksIDForbidden) Error() string
type GetRacksIDGone ¶
type GetRacksIDGone struct { }
GetRacksIDGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetRacksIDGone ¶
func NewGetRacksIDGone() *GetRacksIDGone
NewGetRacksIDGone creates a GetRacksIDGone with default headers values
func (*GetRacksIDGone) Error ¶
func (o *GetRacksIDGone) Error() string
type GetRacksIDInternalServerError ¶
type GetRacksIDInternalServerError struct { }
GetRacksIDInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewGetRacksIDInternalServerError ¶
func NewGetRacksIDInternalServerError() *GetRacksIDInternalServerError
NewGetRacksIDInternalServerError creates a GetRacksIDInternalServerError with default headers values
func (*GetRacksIDInternalServerError) Error ¶
func (o *GetRacksIDInternalServerError) Error() string
type GetRacksIDMethodNotAllowed ¶
type GetRacksIDMethodNotAllowed struct { }
GetRacksIDMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetRacksIDMethodNotAllowed ¶
func NewGetRacksIDMethodNotAllowed() *GetRacksIDMethodNotAllowed
NewGetRacksIDMethodNotAllowed creates a GetRacksIDMethodNotAllowed with default headers values
func (*GetRacksIDMethodNotAllowed) Error ¶
func (o *GetRacksIDMethodNotAllowed) Error() string
type GetRacksIDNotFound ¶
type GetRacksIDNotFound struct { }
GetRacksIDNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetRacksIDNotFound ¶
func NewGetRacksIDNotFound() *GetRacksIDNotFound
NewGetRacksIDNotFound creates a GetRacksIDNotFound with default headers values
func (*GetRacksIDNotFound) Error ¶
func (o *GetRacksIDNotFound) Error() string
type GetRacksIDOK ¶
type GetRacksIDOK struct {
Payload *GetRacksIDOKBody
}
GetRacksIDOK handles this case with default header values.
The above command returns results like this:
func NewGetRacksIDOK ¶
func NewGetRacksIDOK() *GetRacksIDOK
NewGetRacksIDOK creates a GetRacksIDOK with default headers values
func (*GetRacksIDOK) Error ¶
func (o *GetRacksIDOK) Error() string
func (*GetRacksIDOK) GetPayload ¶
func (o *GetRacksIDOK) GetPayload() *GetRacksIDOKBody
type GetRacksIDOKBody ¶
type GetRacksIDOKBody struct { // asset no AssetNo interface{} `json:"asset_no,omitempty"` // assets Assets interface{} `json:"assets,omitempty"` // available u Availableu interface{} `json:"available_u,omitempty"` // building Building interface{} `json:"building,omitempty"` // custom fields CustomFields []*CustomFieldsItems0 `json:"custom_fields"` // devices Devices []*models.RackDevices `json:"devices"` // first number FirstNumber interface{} `json:"first_number,omitempty"` // manufacturer Manufacturer interface{} `json:"manufacturer,omitempty"` // name Name interface{} `json:"name,omitempty"` // notes Notes interface{} `json:"notes,omitempty"` // number between us NumberBetweenUs interface{} `json:"number_between_us,omitempty"` // numbering start from bottom NumberingStartFromBottom interface{} `json:"numbering_start_from_bottom,omitempty"` // pdus Pdus []*PdusItems0 `json:"pdus"` // rack id RackID interface{} `json:"rack_id,omitempty"` // rack middle option RackMiddleOption interface{} `json:"rack_middle_option,omitempty"` // rack url RackURL interface{} `json:"rack_url,omitempty"` // room Room interface{} `json:"room,omitempty"` // row Row interface{} `json:"row,omitempty"` // row size RowSize interface{} `json:"row_size,omitempty"` // size Size interface{} `json:"size,omitempty"` // start col StartCol interface{} `json:"start_col,omitempty"` // start row StartRow interface{} `json:"start_row,omitempty"` // tags Tags interface{} `json:"tags,omitempty"` }
GetRacksIDOKBody get racks ID o k body swagger:model GetRacksIDOKBody
func (*GetRacksIDOKBody) MarshalBinary ¶
func (o *GetRacksIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRacksIDOKBody) UnmarshalBinary ¶
func (o *GetRacksIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRacksIDParams ¶
type GetRacksIDParams struct { /*ID The ID of the rack to retrieve */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRacksIDParams contains all the parameters to send to the API endpoint for the get racks ID operation typically these are written to a http.Request
func NewGetRacksIDParams ¶
func NewGetRacksIDParams() *GetRacksIDParams
NewGetRacksIDParams creates a new GetRacksIDParams object with the default values initialized.
func NewGetRacksIDParamsWithContext ¶
func NewGetRacksIDParamsWithContext(ctx context.Context) *GetRacksIDParams
NewGetRacksIDParamsWithContext creates a new GetRacksIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetRacksIDParamsWithHTTPClient ¶
func NewGetRacksIDParamsWithHTTPClient(client *http.Client) *GetRacksIDParams
NewGetRacksIDParamsWithHTTPClient creates a new GetRacksIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRacksIDParamsWithTimeout ¶
func NewGetRacksIDParamsWithTimeout(timeout time.Duration) *GetRacksIDParams
NewGetRacksIDParamsWithTimeout creates a new GetRacksIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRacksIDParams) SetContext ¶
func (o *GetRacksIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get racks ID params
func (*GetRacksIDParams) SetHTTPClient ¶
func (o *GetRacksIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get racks ID params
func (*GetRacksIDParams) SetID ¶
func (o *GetRacksIDParams) SetID(id int64)
SetID adds the id to the get racks ID params
func (*GetRacksIDParams) SetTimeout ¶
func (o *GetRacksIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get racks ID params
func (*GetRacksIDParams) WithContext ¶
func (o *GetRacksIDParams) WithContext(ctx context.Context) *GetRacksIDParams
WithContext adds the context to the get racks ID params
func (*GetRacksIDParams) WithHTTPClient ¶
func (o *GetRacksIDParams) WithHTTPClient(client *http.Client) *GetRacksIDParams
WithHTTPClient adds the HTTPClient to the get racks ID params
func (*GetRacksIDParams) WithID ¶
func (o *GetRacksIDParams) WithID(id int64) *GetRacksIDParams
WithID adds the id to the get racks ID params
func (*GetRacksIDParams) WithTimeout ¶
func (o *GetRacksIDParams) WithTimeout(timeout time.Duration) *GetRacksIDParams
WithTimeout adds the timeout to the get racks ID params
func (*GetRacksIDParams) WriteToRequest ¶
func (o *GetRacksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRacksIDReader ¶
type GetRacksIDReader struct {
// contains filtered or unexported fields
}
GetRacksIDReader is a Reader for the GetRacksID structure.
func (*GetRacksIDReader) ReadResponse ¶
func (o *GetRacksIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRacksIDServiceUnavailable ¶
type GetRacksIDServiceUnavailable struct { }
GetRacksIDServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetRacksIDServiceUnavailable ¶
func NewGetRacksIDServiceUnavailable() *GetRacksIDServiceUnavailable
NewGetRacksIDServiceUnavailable creates a GetRacksIDServiceUnavailable with default headers values
func (*GetRacksIDServiceUnavailable) Error ¶
func (o *GetRacksIDServiceUnavailable) Error() string
type GetRacksIDUnauthorized ¶
type GetRacksIDUnauthorized struct { }
GetRacksIDUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetRacksIDUnauthorized ¶
func NewGetRacksIDUnauthorized() *GetRacksIDUnauthorized
NewGetRacksIDUnauthorized creates a GetRacksIDUnauthorized with default headers values
func (*GetRacksIDUnauthorized) Error ¶
func (o *GetRacksIDUnauthorized) Error() string
type GetRacksInternalServerError ¶
type GetRacksInternalServerError struct { }
GetRacksInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewGetRacksInternalServerError ¶
func NewGetRacksInternalServerError() *GetRacksInternalServerError
NewGetRacksInternalServerError creates a GetRacksInternalServerError with default headers values
func (*GetRacksInternalServerError) Error ¶
func (o *GetRacksInternalServerError) Error() string
type GetRacksMethodNotAllowed ¶
type GetRacksMethodNotAllowed struct { }
GetRacksMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetRacksMethodNotAllowed ¶
func NewGetRacksMethodNotAllowed() *GetRacksMethodNotAllowed
NewGetRacksMethodNotAllowed creates a GetRacksMethodNotAllowed with default headers values
func (*GetRacksMethodNotAllowed) Error ¶
func (o *GetRacksMethodNotAllowed) Error() string
type GetRacksNotFound ¶
type GetRacksNotFound struct { }
GetRacksNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetRacksNotFound ¶
func NewGetRacksNotFound() *GetRacksNotFound
NewGetRacksNotFound creates a GetRacksNotFound with default headers values
func (*GetRacksNotFound) Error ¶
func (o *GetRacksNotFound) Error() string
type GetRacksOK ¶
type GetRacksOK struct {
Payload *GetRacksOKBody
}
GetRacksOK handles this case with default header values.
The above command returns results like this:
func NewGetRacksOK ¶
func NewGetRacksOK() *GetRacksOK
NewGetRacksOK creates a GetRacksOK with default headers values
func (*GetRacksOK) Error ¶
func (o *GetRacksOK) Error() string
func (*GetRacksOK) GetPayload ¶
func (o *GetRacksOK) GetPayload() *GetRacksOKBody
type GetRacksOKBody ¶
type GetRacksOKBody struct { // limit Limit interface{} `json:"limit,omitempty"` // offset Offset interface{} `json:"offset,omitempty"` // racks Racks []*models.Racks `json:"racks"` // total count TotalCount interface{} `json:"total_count,omitempty"` }
GetRacksOKBody get racks o k body swagger:model GetRacksOKBody
func (*GetRacksOKBody) MarshalBinary ¶
func (o *GetRacksOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRacksOKBody) UnmarshalBinary ¶
func (o *GetRacksOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRacksParams ¶
type GetRacksParams struct { /*AssetNo filter by asset number */ AssetNo *string /*Building filter by building name */ Building *string /*BuildingID filter by building ID (Added in v5.9.0) */ BuildingID *string /*Manufacturer filter by manufacturer */ Manufacturer *string /*Name filter by name (Added in v6.0.0) */ Name *string /*Room filter by room name. Only works if room ID is not present (Added in v5.9.0) */ Room *string /*RoomID filter by room ID (Added in v5.9.0) */ RoomID *string /*Row filter by row name */ Row *string /*Size filter by rack size in U */ Size *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRacksParams contains all the parameters to send to the API endpoint for the get racks operation typically these are written to a http.Request
func NewGetRacksParams ¶
func NewGetRacksParams() *GetRacksParams
NewGetRacksParams creates a new GetRacksParams object with the default values initialized.
func NewGetRacksParamsWithContext ¶
func NewGetRacksParamsWithContext(ctx context.Context) *GetRacksParams
NewGetRacksParamsWithContext creates a new GetRacksParams object with the default values initialized, and the ability to set a context for a request
func NewGetRacksParamsWithHTTPClient ¶
func NewGetRacksParamsWithHTTPClient(client *http.Client) *GetRacksParams
NewGetRacksParamsWithHTTPClient creates a new GetRacksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRacksParamsWithTimeout ¶
func NewGetRacksParamsWithTimeout(timeout time.Duration) *GetRacksParams
NewGetRacksParamsWithTimeout creates a new GetRacksParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRacksParams) SetAssetNo ¶
func (o *GetRacksParams) SetAssetNo(assetNo *string)
SetAssetNo adds the assetNo to the get racks params
func (*GetRacksParams) SetBuilding ¶
func (o *GetRacksParams) SetBuilding(building *string)
SetBuilding adds the building to the get racks params
func (*GetRacksParams) SetBuildingID ¶
func (o *GetRacksParams) SetBuildingID(buildingID *string)
SetBuildingID adds the buildingId to the get racks params
func (*GetRacksParams) SetContext ¶
func (o *GetRacksParams) SetContext(ctx context.Context)
SetContext adds the context to the get racks params
func (*GetRacksParams) SetHTTPClient ¶
func (o *GetRacksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get racks params
func (*GetRacksParams) SetManufacturer ¶
func (o *GetRacksParams) SetManufacturer(manufacturer *string)
SetManufacturer adds the manufacturer to the get racks params
func (*GetRacksParams) SetName ¶
func (o *GetRacksParams) SetName(name *string)
SetName adds the name to the get racks params
func (*GetRacksParams) SetRoom ¶
func (o *GetRacksParams) SetRoom(room *string)
SetRoom adds the room to the get racks params
func (*GetRacksParams) SetRoomID ¶
func (o *GetRacksParams) SetRoomID(roomID *string)
SetRoomID adds the roomId to the get racks params
func (*GetRacksParams) SetRow ¶
func (o *GetRacksParams) SetRow(row *string)
SetRow adds the row to the get racks params
func (*GetRacksParams) SetSize ¶
func (o *GetRacksParams) SetSize(size *int64)
SetSize adds the size to the get racks params
func (*GetRacksParams) SetTimeout ¶
func (o *GetRacksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get racks params
func (*GetRacksParams) WithAssetNo ¶
func (o *GetRacksParams) WithAssetNo(assetNo *string) *GetRacksParams
WithAssetNo adds the assetNo to the get racks params
func (*GetRacksParams) WithBuilding ¶
func (o *GetRacksParams) WithBuilding(building *string) *GetRacksParams
WithBuilding adds the building to the get racks params
func (*GetRacksParams) WithBuildingID ¶
func (o *GetRacksParams) WithBuildingID(buildingID *string) *GetRacksParams
WithBuildingID adds the buildingID to the get racks params
func (*GetRacksParams) WithContext ¶
func (o *GetRacksParams) WithContext(ctx context.Context) *GetRacksParams
WithContext adds the context to the get racks params
func (*GetRacksParams) WithHTTPClient ¶
func (o *GetRacksParams) WithHTTPClient(client *http.Client) *GetRacksParams
WithHTTPClient adds the HTTPClient to the get racks params
func (*GetRacksParams) WithManufacturer ¶
func (o *GetRacksParams) WithManufacturer(manufacturer *string) *GetRacksParams
WithManufacturer adds the manufacturer to the get racks params
func (*GetRacksParams) WithName ¶
func (o *GetRacksParams) WithName(name *string) *GetRacksParams
WithName adds the name to the get racks params
func (*GetRacksParams) WithRoom ¶
func (o *GetRacksParams) WithRoom(room *string) *GetRacksParams
WithRoom adds the room to the get racks params
func (*GetRacksParams) WithRoomID ¶
func (o *GetRacksParams) WithRoomID(roomID *string) *GetRacksParams
WithRoomID adds the roomID to the get racks params
func (*GetRacksParams) WithRow ¶
func (o *GetRacksParams) WithRow(row *string) *GetRacksParams
WithRow adds the row to the get racks params
func (*GetRacksParams) WithSize ¶
func (o *GetRacksParams) WithSize(size *int64) *GetRacksParams
WithSize adds the size to the get racks params
func (*GetRacksParams) WithTimeout ¶
func (o *GetRacksParams) WithTimeout(timeout time.Duration) *GetRacksParams
WithTimeout adds the timeout to the get racks params
func (*GetRacksParams) WriteToRequest ¶
func (o *GetRacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRacksReader ¶
type GetRacksReader struct {
// contains filtered or unexported fields
}
GetRacksReader is a Reader for the GetRacks structure.
func (*GetRacksReader) ReadResponse ¶
func (o *GetRacksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRacksServiceUnavailable ¶
type GetRacksServiceUnavailable struct { }
GetRacksServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetRacksServiceUnavailable ¶
func NewGetRacksServiceUnavailable() *GetRacksServiceUnavailable
NewGetRacksServiceUnavailable creates a GetRacksServiceUnavailable with default headers values
func (*GetRacksServiceUnavailable) Error ¶
func (o *GetRacksServiceUnavailable) Error() string
type GetRacksUnauthorized ¶
type GetRacksUnauthorized struct { }
GetRacksUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetRacksUnauthorized ¶
func NewGetRacksUnauthorized() *GetRacksUnauthorized
NewGetRacksUnauthorized creates a GetRacksUnauthorized with default headers values
func (*GetRacksUnauthorized) Error ¶
func (o *GetRacksUnauthorized) Error() string
type PdusItems0 ¶
type PdusItems0 struct { // bootstrap power BootstrapPower interface{} `json:"bootstrap_power,omitempty"` // depth Depth interface{} `json:"depth,omitempty"` // file names FileNames interface{} `json:"file_names,omitempty"` // name Name interface{} `json:"name,omitempty"` // num ports NumPorts interface{} `json:"num_ports,omitempty"` // orientation Orientation interface{} `json:"orientation,omitempty"` // pdu id PduID interface{} `json:"pdu_id,omitempty"` // power draw PowerDraw interface{} `json:"power_draw,omitempty"` // reversed Reversed interface{} `json:"reversed,omitempty"` // size Size interface{} `json:"size,omitempty"` // start at StartAt interface{} `json:"start_at,omitempty"` // total ports TotalPorts interface{} `json:"total_ports,omitempty"` // where Where interface{} `json:"where,omitempty"` // width Width interface{} `json:"width,omitempty"` // xpos Xpos interface{} `json:"xpos,omitempty"` }
PdusItems0 pdus items0 swagger:model PdusItems0
func (*PdusItems0) MarshalBinary ¶
func (o *PdusItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PdusItems0) UnmarshalBinary ¶
func (o *PdusItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostRacksBadRequest ¶
type PostRacksBadRequest struct { }
PostRacksBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPostRacksBadRequest ¶
func NewPostRacksBadRequest() *PostRacksBadRequest
NewPostRacksBadRequest creates a PostRacksBadRequest with default headers values
func (*PostRacksBadRequest) Error ¶
func (o *PostRacksBadRequest) Error() string
type PostRacksForbidden ¶
type PostRacksForbidden struct { }
PostRacksForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPostRacksForbidden ¶
func NewPostRacksForbidden() *PostRacksForbidden
NewPostRacksForbidden creates a PostRacksForbidden with default headers values
func (*PostRacksForbidden) Error ¶
func (o *PostRacksForbidden) Error() string
type PostRacksGone ¶
type PostRacksGone struct { }
PostRacksGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPostRacksGone ¶
func NewPostRacksGone() *PostRacksGone
NewPostRacksGone creates a PostRacksGone with default headers values
func (*PostRacksGone) Error ¶
func (o *PostRacksGone) Error() string
type PostRacksInternalServerError ¶
type PostRacksInternalServerError struct { }
PostRacksInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewPostRacksInternalServerError ¶
func NewPostRacksInternalServerError() *PostRacksInternalServerError
NewPostRacksInternalServerError creates a PostRacksInternalServerError with default headers values
func (*PostRacksInternalServerError) Error ¶
func (o *PostRacksInternalServerError) Error() string
type PostRacksMethodNotAllowed ¶
type PostRacksMethodNotAllowed struct { }
PostRacksMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPostRacksMethodNotAllowed ¶
func NewPostRacksMethodNotAllowed() *PostRacksMethodNotAllowed
NewPostRacksMethodNotAllowed creates a PostRacksMethodNotAllowed with default headers values
func (*PostRacksMethodNotAllowed) Error ¶
func (o *PostRacksMethodNotAllowed) Error() string
type PostRacksNotFound ¶
type PostRacksNotFound struct { }
PostRacksNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPostRacksNotFound ¶
func NewPostRacksNotFound() *PostRacksNotFound
NewPostRacksNotFound creates a PostRacksNotFound with default headers values
func (*PostRacksNotFound) Error ¶
func (o *PostRacksNotFound) Error() string
type PostRacksOK ¶
type PostRacksOK struct {
Payload *PostRacksOKBody
}
PostRacksOK handles this case with default header values.
The above command returns results like this:
func NewPostRacksOK ¶
func NewPostRacksOK() *PostRacksOK
NewPostRacksOK creates a PostRacksOK with default headers values
func (*PostRacksOK) Error ¶
func (o *PostRacksOK) Error() string
func (*PostRacksOK) GetPayload ¶
func (o *PostRacksOK) GetPayload() *PostRacksOKBody
type PostRacksOKBody ¶
type PostRacksOKBody struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PostRacksOKBody post racks o k body swagger:model PostRacksOKBody
func (*PostRacksOKBody) MarshalBinary ¶
func (o *PostRacksOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostRacksOKBody) UnmarshalBinary ¶
func (o *PostRacksOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostRacksParams ¶
type PostRacksParams struct { /*Building Name of building - Used when there are non-unique room names. */ Building *string /*ColSize how many racks wide the rack is */ ColSize *string /*FirstNumber default 0, add to change. */ FirstNumber *string /*Groups If multitenancy is on, admin groups that have access to this object are specified here, e.g. Prod_East:no,Corp:yes specifies that the admin groups for this object are Prod_East with view only permission and Corp with change permission. If this parameter is present with no value, all groups are deleted. */ Groups *string /*Manufacturer name of the hardware/software manufacturer. */ Manufacturer *string /*Name Rack name - must be unique within a room */ Name *string /*NewName Use to change name of object. */ NewName *string /*Notes Any additional notes */ Notes *string /*NumberingStartFromBottom default is yes, no to change, otherwise ignored. */ NumberingStartFromBottom *string /*Orientation orientation of the rack in room layout view. Possible values: right, left, up or down. */ Orientation *string /*RackID To change a rack using ID. This has highest priority to change a rack. */ RackID *int64 /*Room Name of room - Required if changing a rack without rack_id. */ Room *string /*RoomID Room ID if Room name is not unique */ RoomID *string /*Row this row field is for the name of the rows, and not related to the grid positioning of the rack */ Row *string /*RowSize How many rows long the rack is */ RowSize *string /*Size In U */ Size *int64 /*StartCol Starting column for the rack, for grid positioning */ StartCol *string /*StartRow Starting row for rack, for grid positioning */ StartRow *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostRacksParams contains all the parameters to send to the API endpoint for the post racks operation typically these are written to a http.Request
func NewPostRacksParams ¶
func NewPostRacksParams() *PostRacksParams
NewPostRacksParams creates a new PostRacksParams object with the default values initialized.
func NewPostRacksParamsWithContext ¶
func NewPostRacksParamsWithContext(ctx context.Context) *PostRacksParams
NewPostRacksParamsWithContext creates a new PostRacksParams object with the default values initialized, and the ability to set a context for a request
func NewPostRacksParamsWithHTTPClient ¶
func NewPostRacksParamsWithHTTPClient(client *http.Client) *PostRacksParams
NewPostRacksParamsWithHTTPClient creates a new PostRacksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostRacksParamsWithTimeout ¶
func NewPostRacksParamsWithTimeout(timeout time.Duration) *PostRacksParams
NewPostRacksParamsWithTimeout creates a new PostRacksParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostRacksParams) SetBuilding ¶
func (o *PostRacksParams) SetBuilding(building *string)
SetBuilding adds the building to the post racks params
func (*PostRacksParams) SetColSize ¶
func (o *PostRacksParams) SetColSize(colSize *string)
SetColSize adds the colSize to the post racks params
func (*PostRacksParams) SetContext ¶
func (o *PostRacksParams) SetContext(ctx context.Context)
SetContext adds the context to the post racks params
func (*PostRacksParams) SetFirstNumber ¶
func (o *PostRacksParams) SetFirstNumber(firstNumber *string)
SetFirstNumber adds the firstNumber to the post racks params
func (*PostRacksParams) SetGroups ¶
func (o *PostRacksParams) SetGroups(groups *string)
SetGroups adds the groups to the post racks params
func (*PostRacksParams) SetHTTPClient ¶
func (o *PostRacksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post racks params
func (*PostRacksParams) SetManufacturer ¶
func (o *PostRacksParams) SetManufacturer(manufacturer *string)
SetManufacturer adds the manufacturer to the post racks params
func (*PostRacksParams) SetName ¶
func (o *PostRacksParams) SetName(name *string)
SetName adds the name to the post racks params
func (*PostRacksParams) SetNewName ¶
func (o *PostRacksParams) SetNewName(newName *string)
SetNewName adds the newName to the post racks params
func (*PostRacksParams) SetNotes ¶
func (o *PostRacksParams) SetNotes(notes *string)
SetNotes adds the notes to the post racks params
func (*PostRacksParams) SetNumberingStartFromBottom ¶
func (o *PostRacksParams) SetNumberingStartFromBottom(numberingStartFromBottom *string)
SetNumberingStartFromBottom adds the numberingStartFromBottom to the post racks params
func (*PostRacksParams) SetOrientation ¶
func (o *PostRacksParams) SetOrientation(orientation *string)
SetOrientation adds the orientation to the post racks params
func (*PostRacksParams) SetRackID ¶
func (o *PostRacksParams) SetRackID(rackID *int64)
SetRackID adds the rackId to the post racks params
func (*PostRacksParams) SetRoom ¶
func (o *PostRacksParams) SetRoom(room *string)
SetRoom adds the room to the post racks params
func (*PostRacksParams) SetRoomID ¶
func (o *PostRacksParams) SetRoomID(roomID *string)
SetRoomID adds the roomId to the post racks params
func (*PostRacksParams) SetRow ¶
func (o *PostRacksParams) SetRow(row *string)
SetRow adds the row to the post racks params
func (*PostRacksParams) SetRowSize ¶
func (o *PostRacksParams) SetRowSize(rowSize *string)
SetRowSize adds the rowSize to the post racks params
func (*PostRacksParams) SetSize ¶
func (o *PostRacksParams) SetSize(size *int64)
SetSize adds the size to the post racks params
func (*PostRacksParams) SetStartCol ¶
func (o *PostRacksParams) SetStartCol(startCol *string)
SetStartCol adds the startCol to the post racks params
func (*PostRacksParams) SetStartRow ¶
func (o *PostRacksParams) SetStartRow(startRow *string)
SetStartRow adds the startRow to the post racks params
func (*PostRacksParams) SetTimeout ¶
func (o *PostRacksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post racks params
func (*PostRacksParams) WithBuilding ¶
func (o *PostRacksParams) WithBuilding(building *string) *PostRacksParams
WithBuilding adds the building to the post racks params
func (*PostRacksParams) WithColSize ¶
func (o *PostRacksParams) WithColSize(colSize *string) *PostRacksParams
WithColSize adds the colSize to the post racks params
func (*PostRacksParams) WithContext ¶
func (o *PostRacksParams) WithContext(ctx context.Context) *PostRacksParams
WithContext adds the context to the post racks params
func (*PostRacksParams) WithFirstNumber ¶
func (o *PostRacksParams) WithFirstNumber(firstNumber *string) *PostRacksParams
WithFirstNumber adds the firstNumber to the post racks params
func (*PostRacksParams) WithGroups ¶
func (o *PostRacksParams) WithGroups(groups *string) *PostRacksParams
WithGroups adds the groups to the post racks params
func (*PostRacksParams) WithHTTPClient ¶
func (o *PostRacksParams) WithHTTPClient(client *http.Client) *PostRacksParams
WithHTTPClient adds the HTTPClient to the post racks params
func (*PostRacksParams) WithManufacturer ¶
func (o *PostRacksParams) WithManufacturer(manufacturer *string) *PostRacksParams
WithManufacturer adds the manufacturer to the post racks params
func (*PostRacksParams) WithName ¶
func (o *PostRacksParams) WithName(name *string) *PostRacksParams
WithName adds the name to the post racks params
func (*PostRacksParams) WithNewName ¶
func (o *PostRacksParams) WithNewName(newName *string) *PostRacksParams
WithNewName adds the newName to the post racks params
func (*PostRacksParams) WithNotes ¶
func (o *PostRacksParams) WithNotes(notes *string) *PostRacksParams
WithNotes adds the notes to the post racks params
func (*PostRacksParams) WithNumberingStartFromBottom ¶
func (o *PostRacksParams) WithNumberingStartFromBottom(numberingStartFromBottom *string) *PostRacksParams
WithNumberingStartFromBottom adds the numberingStartFromBottom to the post racks params
func (*PostRacksParams) WithOrientation ¶
func (o *PostRacksParams) WithOrientation(orientation *string) *PostRacksParams
WithOrientation adds the orientation to the post racks params
func (*PostRacksParams) WithRackID ¶
func (o *PostRacksParams) WithRackID(rackID *int64) *PostRacksParams
WithRackID adds the rackID to the post racks params
func (*PostRacksParams) WithRoom ¶
func (o *PostRacksParams) WithRoom(room *string) *PostRacksParams
WithRoom adds the room to the post racks params
func (*PostRacksParams) WithRoomID ¶
func (o *PostRacksParams) WithRoomID(roomID *string) *PostRacksParams
WithRoomID adds the roomID to the post racks params
func (*PostRacksParams) WithRow ¶
func (o *PostRacksParams) WithRow(row *string) *PostRacksParams
WithRow adds the row to the post racks params
func (*PostRacksParams) WithRowSize ¶
func (o *PostRacksParams) WithRowSize(rowSize *string) *PostRacksParams
WithRowSize adds the rowSize to the post racks params
func (*PostRacksParams) WithSize ¶
func (o *PostRacksParams) WithSize(size *int64) *PostRacksParams
WithSize adds the size to the post racks params
func (*PostRacksParams) WithStartCol ¶
func (o *PostRacksParams) WithStartCol(startCol *string) *PostRacksParams
WithStartCol adds the startCol to the post racks params
func (*PostRacksParams) WithStartRow ¶
func (o *PostRacksParams) WithStartRow(startRow *string) *PostRacksParams
WithStartRow adds the startRow to the post racks params
func (*PostRacksParams) WithTimeout ¶
func (o *PostRacksParams) WithTimeout(timeout time.Duration) *PostRacksParams
WithTimeout adds the timeout to the post racks params
func (*PostRacksParams) WriteToRequest ¶
func (o *PostRacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRacksReader ¶
type PostRacksReader struct {
// contains filtered or unexported fields
}
PostRacksReader is a Reader for the PostRacks structure.
func (*PostRacksReader) ReadResponse ¶
func (o *PostRacksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRacksServiceUnavailable ¶
type PostRacksServiceUnavailable struct { }
PostRacksServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPostRacksServiceUnavailable ¶
func NewPostRacksServiceUnavailable() *PostRacksServiceUnavailable
NewPostRacksServiceUnavailable creates a PostRacksServiceUnavailable with default headers values
func (*PostRacksServiceUnavailable) Error ¶
func (o *PostRacksServiceUnavailable) Error() string
type PostRacksUnauthorized ¶
type PostRacksUnauthorized struct { }
PostRacksUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPostRacksUnauthorized ¶
func NewPostRacksUnauthorized() *PostRacksUnauthorized
NewPostRacksUnauthorized creates a PostRacksUnauthorized with default headers values
func (*PostRacksUnauthorized) Error ¶
func (o *PostRacksUnauthorized) Error() string
type PutCustomFieldsRackBadRequest ¶
type PutCustomFieldsRackBadRequest struct { }
PutCustomFieldsRackBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPutCustomFieldsRackBadRequest ¶
func NewPutCustomFieldsRackBadRequest() *PutCustomFieldsRackBadRequest
NewPutCustomFieldsRackBadRequest creates a PutCustomFieldsRackBadRequest with default headers values
func (*PutCustomFieldsRackBadRequest) Error ¶
func (o *PutCustomFieldsRackBadRequest) Error() string
type PutCustomFieldsRackForbidden ¶
type PutCustomFieldsRackForbidden struct { }
PutCustomFieldsRackForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPutCustomFieldsRackForbidden ¶
func NewPutCustomFieldsRackForbidden() *PutCustomFieldsRackForbidden
NewPutCustomFieldsRackForbidden creates a PutCustomFieldsRackForbidden with default headers values
func (*PutCustomFieldsRackForbidden) Error ¶
func (o *PutCustomFieldsRackForbidden) Error() string
type PutCustomFieldsRackGone ¶
type PutCustomFieldsRackGone struct { }
PutCustomFieldsRackGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPutCustomFieldsRackGone ¶
func NewPutCustomFieldsRackGone() *PutCustomFieldsRackGone
NewPutCustomFieldsRackGone creates a PutCustomFieldsRackGone with default headers values
func (*PutCustomFieldsRackGone) Error ¶
func (o *PutCustomFieldsRackGone) Error() string
type PutCustomFieldsRackInternalServerError ¶
type PutCustomFieldsRackInternalServerError struct { }
PutCustomFieldsRackInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewPutCustomFieldsRackInternalServerError ¶
func NewPutCustomFieldsRackInternalServerError() *PutCustomFieldsRackInternalServerError
NewPutCustomFieldsRackInternalServerError creates a PutCustomFieldsRackInternalServerError with default headers values
func (*PutCustomFieldsRackInternalServerError) Error ¶
func (o *PutCustomFieldsRackInternalServerError) Error() string
type PutCustomFieldsRackMethodNotAllowed ¶
type PutCustomFieldsRackMethodNotAllowed struct { }
PutCustomFieldsRackMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPutCustomFieldsRackMethodNotAllowed ¶
func NewPutCustomFieldsRackMethodNotAllowed() *PutCustomFieldsRackMethodNotAllowed
NewPutCustomFieldsRackMethodNotAllowed creates a PutCustomFieldsRackMethodNotAllowed with default headers values
func (*PutCustomFieldsRackMethodNotAllowed) Error ¶
func (o *PutCustomFieldsRackMethodNotAllowed) Error() string
type PutCustomFieldsRackNotFound ¶
type PutCustomFieldsRackNotFound struct { }
PutCustomFieldsRackNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPutCustomFieldsRackNotFound ¶
func NewPutCustomFieldsRackNotFound() *PutCustomFieldsRackNotFound
NewPutCustomFieldsRackNotFound creates a PutCustomFieldsRackNotFound with default headers values
func (*PutCustomFieldsRackNotFound) Error ¶
func (o *PutCustomFieldsRackNotFound) Error() string
type PutCustomFieldsRackOK ¶
type PutCustomFieldsRackOK struct {
Payload *PutCustomFieldsRackOKBody
}
PutCustomFieldsRackOK handles this case with default header values.
The above command returns results like this:
func NewPutCustomFieldsRackOK ¶
func NewPutCustomFieldsRackOK() *PutCustomFieldsRackOK
NewPutCustomFieldsRackOK creates a PutCustomFieldsRackOK with default headers values
func (*PutCustomFieldsRackOK) Error ¶
func (o *PutCustomFieldsRackOK) Error() string
func (*PutCustomFieldsRackOK) GetPayload ¶
func (o *PutCustomFieldsRackOK) GetPayload() *PutCustomFieldsRackOKBody
type PutCustomFieldsRackOKBody ¶
type PutCustomFieldsRackOKBody struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PutCustomFieldsRackOKBody put custom fields rack o k body swagger:model PutCustomFieldsRackOKBody
func (*PutCustomFieldsRackOKBody) MarshalBinary ¶
func (o *PutCustomFieldsRackOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutCustomFieldsRackOKBody) UnmarshalBinary ¶
func (o *PutCustomFieldsRackOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutCustomFieldsRackParams ¶
type PutCustomFieldsRackParams struct { /*AddToPicklist Comma separated values to add to picklist. If type is picklist and custom field is new, this is a required field. Duplicates will be ignored. */ AddToPicklist *string /*BulkFields comma separated key value pairs, with key and value separated by colon. e.g.key1:value1, key2:value2 */ BulkFields *string /*ClearValue yes to clear existing value for that field */ ClearValue *string /*ID Rack ID or UI > Tools > Export > Rack */ ID *string /*Key Can be new or existing. This is the custom field name. */ Key string /*Name name of room */ Name *string /*Notes Any additional notes */ Notes *string /*RelatedFieldName Required if type = related field. */ RelatedFieldName *string /*Type this is the custom field type. If left blank, default is text. Date should be formatted as YYYY-MM-DD */ Type *string /*Value This will set the value of the custom field for the specific object. */ Value *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutCustomFieldsRackParams contains all the parameters to send to the API endpoint for the put custom fields rack operation typically these are written to a http.Request
func NewPutCustomFieldsRackParams ¶
func NewPutCustomFieldsRackParams() *PutCustomFieldsRackParams
NewPutCustomFieldsRackParams creates a new PutCustomFieldsRackParams object with the default values initialized.
func NewPutCustomFieldsRackParamsWithContext ¶
func NewPutCustomFieldsRackParamsWithContext(ctx context.Context) *PutCustomFieldsRackParams
NewPutCustomFieldsRackParamsWithContext creates a new PutCustomFieldsRackParams object with the default values initialized, and the ability to set a context for a request
func NewPutCustomFieldsRackParamsWithHTTPClient ¶
func NewPutCustomFieldsRackParamsWithHTTPClient(client *http.Client) *PutCustomFieldsRackParams
NewPutCustomFieldsRackParamsWithHTTPClient creates a new PutCustomFieldsRackParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutCustomFieldsRackParamsWithTimeout ¶
func NewPutCustomFieldsRackParamsWithTimeout(timeout time.Duration) *PutCustomFieldsRackParams
NewPutCustomFieldsRackParamsWithTimeout creates a new PutCustomFieldsRackParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutCustomFieldsRackParams) SetAddToPicklist ¶
func (o *PutCustomFieldsRackParams) SetAddToPicklist(addToPicklist *string)
SetAddToPicklist adds the addToPicklist to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetBulkFields ¶
func (o *PutCustomFieldsRackParams) SetBulkFields(bulkFields *string)
SetBulkFields adds the bulkFields to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetClearValue ¶
func (o *PutCustomFieldsRackParams) SetClearValue(clearValue *string)
SetClearValue adds the clearValue to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetContext ¶
func (o *PutCustomFieldsRackParams) SetContext(ctx context.Context)
SetContext adds the context to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetHTTPClient ¶
func (o *PutCustomFieldsRackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetID ¶
func (o *PutCustomFieldsRackParams) SetID(id *string)
SetID adds the id to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetKey ¶
func (o *PutCustomFieldsRackParams) SetKey(key string)
SetKey adds the key to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetName ¶
func (o *PutCustomFieldsRackParams) SetName(name *string)
SetName adds the name to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetNotes ¶
func (o *PutCustomFieldsRackParams) SetNotes(notes *string)
SetNotes adds the notes to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetRelatedFieldName ¶
func (o *PutCustomFieldsRackParams) SetRelatedFieldName(relatedFieldName *string)
SetRelatedFieldName adds the relatedFieldName to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetTimeout ¶
func (o *PutCustomFieldsRackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetType ¶
func (o *PutCustomFieldsRackParams) SetType(typeVar *string)
SetType adds the type to the put custom fields rack params
func (*PutCustomFieldsRackParams) SetValue ¶
func (o *PutCustomFieldsRackParams) SetValue(value *string)
SetValue adds the value to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithAddToPicklist ¶
func (o *PutCustomFieldsRackParams) WithAddToPicklist(addToPicklist *string) *PutCustomFieldsRackParams
WithAddToPicklist adds the addToPicklist to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithBulkFields ¶
func (o *PutCustomFieldsRackParams) WithBulkFields(bulkFields *string) *PutCustomFieldsRackParams
WithBulkFields adds the bulkFields to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithClearValue ¶
func (o *PutCustomFieldsRackParams) WithClearValue(clearValue *string) *PutCustomFieldsRackParams
WithClearValue adds the clearValue to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithContext ¶
func (o *PutCustomFieldsRackParams) WithContext(ctx context.Context) *PutCustomFieldsRackParams
WithContext adds the context to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithHTTPClient ¶
func (o *PutCustomFieldsRackParams) WithHTTPClient(client *http.Client) *PutCustomFieldsRackParams
WithHTTPClient adds the HTTPClient to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithID ¶
func (o *PutCustomFieldsRackParams) WithID(id *string) *PutCustomFieldsRackParams
WithID adds the id to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithKey ¶
func (o *PutCustomFieldsRackParams) WithKey(key string) *PutCustomFieldsRackParams
WithKey adds the key to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithName ¶
func (o *PutCustomFieldsRackParams) WithName(name *string) *PutCustomFieldsRackParams
WithName adds the name to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithNotes ¶
func (o *PutCustomFieldsRackParams) WithNotes(notes *string) *PutCustomFieldsRackParams
WithNotes adds the notes to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithRelatedFieldName ¶
func (o *PutCustomFieldsRackParams) WithRelatedFieldName(relatedFieldName *string) *PutCustomFieldsRackParams
WithRelatedFieldName adds the relatedFieldName to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithTimeout ¶
func (o *PutCustomFieldsRackParams) WithTimeout(timeout time.Duration) *PutCustomFieldsRackParams
WithTimeout adds the timeout to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithType ¶
func (o *PutCustomFieldsRackParams) WithType(typeVar *string) *PutCustomFieldsRackParams
WithType adds the typeVar to the put custom fields rack params
func (*PutCustomFieldsRackParams) WithValue ¶
func (o *PutCustomFieldsRackParams) WithValue(value *string) *PutCustomFieldsRackParams
WithValue adds the value to the put custom fields rack params
func (*PutCustomFieldsRackParams) WriteToRequest ¶
func (o *PutCustomFieldsRackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutCustomFieldsRackReader ¶
type PutCustomFieldsRackReader struct {
// contains filtered or unexported fields
}
PutCustomFieldsRackReader is a Reader for the PutCustomFieldsRack structure.
func (*PutCustomFieldsRackReader) ReadResponse ¶
func (o *PutCustomFieldsRackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutCustomFieldsRackServiceUnavailable ¶
type PutCustomFieldsRackServiceUnavailable struct { }
PutCustomFieldsRackServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPutCustomFieldsRackServiceUnavailable ¶
func NewPutCustomFieldsRackServiceUnavailable() *PutCustomFieldsRackServiceUnavailable
NewPutCustomFieldsRackServiceUnavailable creates a PutCustomFieldsRackServiceUnavailable with default headers values
func (*PutCustomFieldsRackServiceUnavailable) Error ¶
func (o *PutCustomFieldsRackServiceUnavailable) Error() string
type PutCustomFieldsRackUnauthorized ¶
type PutCustomFieldsRackUnauthorized struct { }
PutCustomFieldsRackUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPutCustomFieldsRackUnauthorized ¶
func NewPutCustomFieldsRackUnauthorized() *PutCustomFieldsRackUnauthorized
NewPutCustomFieldsRackUnauthorized creates a PutCustomFieldsRackUnauthorized with default headers values
func (*PutCustomFieldsRackUnauthorized) Error ¶
func (o *PutCustomFieldsRackUnauthorized) Error() string