devices

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 12 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 devices API

func (*Client) DeleteDeviceMountpoints

func (a *Client) DeleteDeviceMountpoints(params *DeleteDeviceMountpointsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceMountpointsOK, error)

DeleteDeviceMountpoints deletes device mountpoints

Delete Device Mountpoints

func (*Client) DeleteDeviceRackDeviceID

func (a *Client) DeleteDeviceRackDeviceID(params *DeleteDeviceRackDeviceIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceRackDeviceIDOK, error)

DeleteDeviceRackDeviceID removes delete a device from a rack

This API call will remove/delete a device from a rack (Introduced in v6.3.2)

func (*Client) DeleteDeviceURL

func (a *Client) DeleteDeviceURL(params *DeleteDeviceURLParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceURLOK, error)

DeleteDeviceURL deletes a device url

This API call will delete a device url (Introduced in v7.0.0)

func (*Client) DeleteDevicesID

func (a *Client) DeleteDevicesID(params *DeleteDevicesIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDevicesIDOK, error)

DeleteDevicesID deletes device

This API is used to delete a device with the device id supplied as the required argument.

func (*Client) GetDeviceMountpoints

func (a *Client) GetDeviceMountpoints(params *GetDeviceMountpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceMountpointsOK, error)

GetDeviceMountpoints gets device mountpoints introduced in version 10 5 0

Get Device Mountpoints

func (*Client) GetDeviceURL

func (a *Client) GetDeviceURL(params *GetDeviceURLParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceURLOK, error)

GetDeviceURL gets device u r ls introduced in version 7 0 0

Get Device URLs

func (*Client) GetDevices

func (a *Client) GetDevices(params *GetDevicesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesOK, error)

GetDevices retrieves basic information about all devices

Get All Devices With Brief Output

func (*Client) GetDevicesAll

func (a *Client) GetDevicesAll(params *GetDevicesAllParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesAllOK, error)

GetDevicesAll retrieves detailed information about all devices

Get All Devices With Detailed Output (added in v6.3.4)

func (*Client) GetDevicesAsset

func (a *Client) GetDevicesAsset(params *GetDevicesAssetParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesAssetOK, error)

GetDevicesAsset gets device by device asset number

Retrieve detailed information about a specific device by device asset number.

func (*Client) GetDevicesCustomerID

func (a *Client) GetDevicesCustomerID(params *GetDevicesCustomerIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesCustomerIDOK, error)

GetDevicesCustomerID gets devices by customer Id

Retrieve all devices associated with a specific customer.

func (*Client) GetDevicesID

func (a *Client) GetDevicesID(params *GetDevicesIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesIDOK, error)

GetDevicesID gets device by device Id

Retrieve detailed information about a specific device using device id.

func (*Client) GetDevicesImpactlist

func (a *Client) GetDevicesImpactlist(params *GetDevicesImpactlistParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesImpactlistOK, error)

GetDevicesImpactlist this API endpoint retrieves the impact list of a device by ID

Get Device Impact List

func (*Client) GetDevicesName

func (a *Client) GetDevicesName(params *GetDevicesNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesNameOK, error)

GetDevicesName gets device by device name

Retrieve detailed information about a specific device by device name

func (*Client) GetDevicesSerial

func (a *Client) GetDevicesSerial(params *GetDevicesSerialParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesSerialOK, error)

GetDevicesSerial gets device by device serial number

Retrieve detailed information about a specific device by device serial number.

func (*Client) PostCloudInstanceDevice

func (a *Client) PostCloudInstanceDevice(params *PostCloudInstanceDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*PostCloudInstanceDeviceOK, error)

PostCloudInstanceDevice creates update device cloud instance information

Update cloud instance information for devices. Requires either device or device_id

func (*Client) PostDevice

func (a *Client) PostDevice(params *PostDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceOK, error)

PostDevice creates update device by name

This API is used to create a new device with the name supplied as the required argument or update an existing device that has the name, serial # or uuid of the required argument. For information purposes, this is also the API that is used by the Device42 auto-discovery tool.

func (*Client) PostDeviceMountpoints

func (a *Client) PostDeviceMountpoints(params *PostDeviceMountpointsParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceMountpointsOK, error)

PostDeviceMountpoints creates update device mountpoints introduced in version 10 5 0

Create/Update Device Mountpoints

func (*Client) PostDeviceRack

func (a *Client) PostDeviceRack(params *PostDeviceRackParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceRackOK, error)

PostDeviceRack adds update a device in a rack

This API will add a new or existing device to a rack or will update an existing device that is already in the rack. (Introduced in v321)<br> Required parameters: <ul><li>device <b>OR</b> device_id <b>OR</b> serial_no <b>OR</b> asset_no</li> <li>rack_id <b>OR</b> rack (with building, room, or row to identify unique rack) <li>start_at</li>

func (*Client) PostDeviceURL

func (a *Client) PostDeviceURL(params *PostDeviceURLParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceURLOK, error)

PostDeviceURL uses this API to associate a url e g an http https or telnet url with a device

Add Url to Device

func (*Client) PostMultiNodeDevice

func (a *Client) PostMultiNodeDevice(params *PostMultiNodeDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*PostMultiNodeDeviceOK, error)

PostMultiNodeDevice creates update multi node device by name

This API is used to create a new device with the name supplied as the required argument or update an existing device that with that name. This is similar to /api/api/1.0/devices/ POST call - but you can add duplicate serial #s and UUID for high density servers that share the same serial # and/or UUID.

func (*Client) PostMultiSerialDevice

func (a *Client) PostMultiSerialDevice(params *PostMultiSerialDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*PostMultiSerialDeviceOK, error)

PostMultiSerialDevice creates update multi serial device by name

This API is used to create a new device with the name supplied as the required argument or update an existing device that with that name. This is similar to /api/api/1.0/devices/ POST call - but you can add duplicate serial numberss and UUID for high density servers that share the same serial # and/or UUID.

func (*Client) PutCustomField

func (a *Client) PutCustomField(params *PutCustomFieldParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldOK, error)

PutCustomField creates update custom fields for a device

One of the following parameters is required: name, id, asset, or serial

func (*Client) PutDevice

func (a *Client) PutDevice(params *PutDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*PutDeviceOK, error)

PutDevice updates an existing device by name serial ID or asset number

Update Device by Name, ID, Serial or Asset. Requires one of the following parameters: name, serial, asset, device_id

func (*Client) PutDeviceURL

func (a *Client) PutDeviceURL(params *PutDeviceURLParams, authInfo runtime.ClientAuthInfoWriter) (*PutDeviceURLOK, error)

PutDeviceURL updates device URL

Use this API to update and existing url (e.g. an http, https, or telnet url) with a device. Type and device are required if no ID is provided.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteDeviceMountpoints(params *DeleteDeviceMountpointsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceMountpointsOK, error)

	DeleteDeviceRackDeviceID(params *DeleteDeviceRackDeviceIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceRackDeviceIDOK, error)

	DeleteDeviceURL(params *DeleteDeviceURLParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceURLOK, error)

	DeleteDevicesID(params *DeleteDevicesIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDevicesIDOK, error)

	GetDeviceMountpoints(params *GetDeviceMountpointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceMountpointsOK, error)

	GetDeviceURL(params *GetDeviceURLParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceURLOK, error)

	GetDevices(params *GetDevicesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesOK, error)

	GetDevicesAll(params *GetDevicesAllParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesAllOK, error)

	GetDevicesAsset(params *GetDevicesAssetParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesAssetOK, error)

	GetDevicesCustomerID(params *GetDevicesCustomerIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesCustomerIDOK, error)

	GetDevicesID(params *GetDevicesIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesIDOK, error)

	GetDevicesImpactlist(params *GetDevicesImpactlistParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesImpactlistOK, error)

	GetDevicesName(params *GetDevicesNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesNameOK, error)

	GetDevicesSerial(params *GetDevicesSerialParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicesSerialOK, error)

	PostCloudInstanceDevice(params *PostCloudInstanceDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*PostCloudInstanceDeviceOK, error)

	PostDevice(params *PostDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceOK, error)

	PostDeviceMountpoints(params *PostDeviceMountpointsParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceMountpointsOK, error)

	PostDeviceRack(params *PostDeviceRackParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceRackOK, error)

	PostDeviceURL(params *PostDeviceURLParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceURLOK, error)

	PostMultiNodeDevice(params *PostMultiNodeDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*PostMultiNodeDeviceOK, error)

	PostMultiSerialDevice(params *PostMultiSerialDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*PostMultiSerialDeviceOK, error)

	PutCustomField(params *PutCustomFieldParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldOK, error)

	PutDevice(params *PutDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*PutDeviceOK, error)

	PutDeviceURL(params *PutDeviceURLParams, authInfo runtime.ClientAuthInfoWriter) (*PutDeviceURLOK, 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 devices API client.

type DeleteDeviceMountpointsBadRequest

type DeleteDeviceMountpointsBadRequest struct {
}

DeleteDeviceMountpointsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteDeviceMountpointsBadRequest

func NewDeleteDeviceMountpointsBadRequest() *DeleteDeviceMountpointsBadRequest

NewDeleteDeviceMountpointsBadRequest creates a DeleteDeviceMountpointsBadRequest with default headers values

func (*DeleteDeviceMountpointsBadRequest) Error

type DeleteDeviceMountpointsForbidden

type DeleteDeviceMountpointsForbidden struct {
}

DeleteDeviceMountpointsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteDeviceMountpointsForbidden

func NewDeleteDeviceMountpointsForbidden() *DeleteDeviceMountpointsForbidden

NewDeleteDeviceMountpointsForbidden creates a DeleteDeviceMountpointsForbidden with default headers values

func (*DeleteDeviceMountpointsForbidden) Error

type DeleteDeviceMountpointsGone

type DeleteDeviceMountpointsGone struct {
}

DeleteDeviceMountpointsGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewDeleteDeviceMountpointsGone

func NewDeleteDeviceMountpointsGone() *DeleteDeviceMountpointsGone

NewDeleteDeviceMountpointsGone creates a DeleteDeviceMountpointsGone with default headers values

func (*DeleteDeviceMountpointsGone) Error

type DeleteDeviceMountpointsInternalServerError

type DeleteDeviceMountpointsInternalServerError struct {
}

DeleteDeviceMountpointsInternalServerError 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 NewDeleteDeviceMountpointsInternalServerError

func NewDeleteDeviceMountpointsInternalServerError() *DeleteDeviceMountpointsInternalServerError

NewDeleteDeviceMountpointsInternalServerError creates a DeleteDeviceMountpointsInternalServerError with default headers values

func (*DeleteDeviceMountpointsInternalServerError) Error

type DeleteDeviceMountpointsMethodNotAllowed

type DeleteDeviceMountpointsMethodNotAllowed struct {
}

DeleteDeviceMountpointsMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewDeleteDeviceMountpointsMethodNotAllowed

func NewDeleteDeviceMountpointsMethodNotAllowed() *DeleteDeviceMountpointsMethodNotAllowed

NewDeleteDeviceMountpointsMethodNotAllowed creates a DeleteDeviceMountpointsMethodNotAllowed with default headers values

func (*DeleteDeviceMountpointsMethodNotAllowed) Error

type DeleteDeviceMountpointsNotFound

type DeleteDeviceMountpointsNotFound struct {
}

DeleteDeviceMountpointsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteDeviceMountpointsNotFound

func NewDeleteDeviceMountpointsNotFound() *DeleteDeviceMountpointsNotFound

NewDeleteDeviceMountpointsNotFound creates a DeleteDeviceMountpointsNotFound with default headers values

func (*DeleteDeviceMountpointsNotFound) Error

type DeleteDeviceMountpointsOK

type DeleteDeviceMountpointsOK struct {
	Payload *DeleteDeviceMountpointsOKBody
}

DeleteDeviceMountpointsOK handles this case with default header values.

The above command returns results like this:

func NewDeleteDeviceMountpointsOK

func NewDeleteDeviceMountpointsOK() *DeleteDeviceMountpointsOK

NewDeleteDeviceMountpointsOK creates a DeleteDeviceMountpointsOK with default headers values

func (*DeleteDeviceMountpointsOK) Error

func (o *DeleteDeviceMountpointsOK) Error() string

func (*DeleteDeviceMountpointsOK) GetPayload

type DeleteDeviceMountpointsOKBody

type DeleteDeviceMountpointsOKBody struct {

	// deleted
	Deleted interface{} `json:"deleted,omitempty"`

	// id
	ID interface{} `json:"id,omitempty"`
}

DeleteDeviceMountpointsOKBody delete device mountpoints o k body swagger:model DeleteDeviceMountpointsOKBody

func (*DeleteDeviceMountpointsOKBody) MarshalBinary

func (o *DeleteDeviceMountpointsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteDeviceMountpointsOKBody) UnmarshalBinary

func (o *DeleteDeviceMountpointsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteDeviceMountpointsOKBody) Validate

func (o *DeleteDeviceMountpointsOKBody) Validate(formats strfmt.Registry) error

Validate validates this delete device mountpoints o k body

type DeleteDeviceMountpointsParams

type DeleteDeviceMountpointsParams struct {

	/*ID
	  id of the mountpoint to delete

	*/
	ID int64

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

DeleteDeviceMountpointsParams contains all the parameters to send to the API endpoint for the delete device mountpoints operation typically these are written to a http.Request

func NewDeleteDeviceMountpointsParams

func NewDeleteDeviceMountpointsParams() *DeleteDeviceMountpointsParams

NewDeleteDeviceMountpointsParams creates a new DeleteDeviceMountpointsParams object with the default values initialized.

func NewDeleteDeviceMountpointsParamsWithContext

func NewDeleteDeviceMountpointsParamsWithContext(ctx context.Context) *DeleteDeviceMountpointsParams

NewDeleteDeviceMountpointsParamsWithContext creates a new DeleteDeviceMountpointsParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDeviceMountpointsParamsWithHTTPClient

func NewDeleteDeviceMountpointsParamsWithHTTPClient(client *http.Client) *DeleteDeviceMountpointsParams

NewDeleteDeviceMountpointsParamsWithHTTPClient creates a new DeleteDeviceMountpointsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDeviceMountpointsParamsWithTimeout

func NewDeleteDeviceMountpointsParamsWithTimeout(timeout time.Duration) *DeleteDeviceMountpointsParams

NewDeleteDeviceMountpointsParamsWithTimeout creates a new DeleteDeviceMountpointsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDeviceMountpointsParams) SetContext

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

SetContext adds the context to the delete device mountpoints params

func (*DeleteDeviceMountpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete device mountpoints params

func (*DeleteDeviceMountpointsParams) SetID

func (o *DeleteDeviceMountpointsParams) SetID(id int64)

SetID adds the id to the delete device mountpoints params

func (*DeleteDeviceMountpointsParams) SetTimeout

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

SetTimeout adds the timeout to the delete device mountpoints params

func (*DeleteDeviceMountpointsParams) WithContext

WithContext adds the context to the delete device mountpoints params

func (*DeleteDeviceMountpointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete device mountpoints params

func (*DeleteDeviceMountpointsParams) WithID

WithID adds the id to the delete device mountpoints params

func (*DeleteDeviceMountpointsParams) WithTimeout

WithTimeout adds the timeout to the delete device mountpoints params

func (*DeleteDeviceMountpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeviceMountpointsReader

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

DeleteDeviceMountpointsReader is a Reader for the DeleteDeviceMountpoints structure.

func (*DeleteDeviceMountpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDeviceMountpointsServiceUnavailable

type DeleteDeviceMountpointsServiceUnavailable struct {
}

DeleteDeviceMountpointsServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewDeleteDeviceMountpointsServiceUnavailable

func NewDeleteDeviceMountpointsServiceUnavailable() *DeleteDeviceMountpointsServiceUnavailable

NewDeleteDeviceMountpointsServiceUnavailable creates a DeleteDeviceMountpointsServiceUnavailable with default headers values

func (*DeleteDeviceMountpointsServiceUnavailable) Error

type DeleteDeviceMountpointsUnauthorized

type DeleteDeviceMountpointsUnauthorized struct {
}

DeleteDeviceMountpointsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteDeviceMountpointsUnauthorized

func NewDeleteDeviceMountpointsUnauthorized() *DeleteDeviceMountpointsUnauthorized

NewDeleteDeviceMountpointsUnauthorized creates a DeleteDeviceMountpointsUnauthorized with default headers values

func (*DeleteDeviceMountpointsUnauthorized) Error

type DeleteDeviceRackDeviceIDBadRequest

type DeleteDeviceRackDeviceIDBadRequest struct {
}

DeleteDeviceRackDeviceIDBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteDeviceRackDeviceIDBadRequest

func NewDeleteDeviceRackDeviceIDBadRequest() *DeleteDeviceRackDeviceIDBadRequest

NewDeleteDeviceRackDeviceIDBadRequest creates a DeleteDeviceRackDeviceIDBadRequest with default headers values

func (*DeleteDeviceRackDeviceIDBadRequest) Error

type DeleteDeviceRackDeviceIDForbidden

type DeleteDeviceRackDeviceIDForbidden struct {
}

DeleteDeviceRackDeviceIDForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteDeviceRackDeviceIDForbidden

func NewDeleteDeviceRackDeviceIDForbidden() *DeleteDeviceRackDeviceIDForbidden

NewDeleteDeviceRackDeviceIDForbidden creates a DeleteDeviceRackDeviceIDForbidden with default headers values

func (*DeleteDeviceRackDeviceIDForbidden) Error

type DeleteDeviceRackDeviceIDGone

type DeleteDeviceRackDeviceIDGone struct {
}

DeleteDeviceRackDeviceIDGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewDeleteDeviceRackDeviceIDGone

func NewDeleteDeviceRackDeviceIDGone() *DeleteDeviceRackDeviceIDGone

NewDeleteDeviceRackDeviceIDGone creates a DeleteDeviceRackDeviceIDGone with default headers values

func (*DeleteDeviceRackDeviceIDGone) Error

type DeleteDeviceRackDeviceIDInternalServerError

type DeleteDeviceRackDeviceIDInternalServerError struct {
}

DeleteDeviceRackDeviceIDInternalServerError 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 NewDeleteDeviceRackDeviceIDInternalServerError

func NewDeleteDeviceRackDeviceIDInternalServerError() *DeleteDeviceRackDeviceIDInternalServerError

NewDeleteDeviceRackDeviceIDInternalServerError creates a DeleteDeviceRackDeviceIDInternalServerError with default headers values

func (*DeleteDeviceRackDeviceIDInternalServerError) Error

type DeleteDeviceRackDeviceIDMethodNotAllowed

type DeleteDeviceRackDeviceIDMethodNotAllowed struct {
}

DeleteDeviceRackDeviceIDMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewDeleteDeviceRackDeviceIDMethodNotAllowed

func NewDeleteDeviceRackDeviceIDMethodNotAllowed() *DeleteDeviceRackDeviceIDMethodNotAllowed

NewDeleteDeviceRackDeviceIDMethodNotAllowed creates a DeleteDeviceRackDeviceIDMethodNotAllowed with default headers values

func (*DeleteDeviceRackDeviceIDMethodNotAllowed) Error

type DeleteDeviceRackDeviceIDNotFound

type DeleteDeviceRackDeviceIDNotFound struct {
}

DeleteDeviceRackDeviceIDNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteDeviceRackDeviceIDNotFound

func NewDeleteDeviceRackDeviceIDNotFound() *DeleteDeviceRackDeviceIDNotFound

NewDeleteDeviceRackDeviceIDNotFound creates a DeleteDeviceRackDeviceIDNotFound with default headers values

func (*DeleteDeviceRackDeviceIDNotFound) Error

type DeleteDeviceRackDeviceIDOK

type DeleteDeviceRackDeviceIDOK struct {
	Payload *DeleteDeviceRackDeviceIDOKBody
}

DeleteDeviceRackDeviceIDOK handles this case with default header values.

The above command returns results like this:

func NewDeleteDeviceRackDeviceIDOK

func NewDeleteDeviceRackDeviceIDOK() *DeleteDeviceRackDeviceIDOK

NewDeleteDeviceRackDeviceIDOK creates a DeleteDeviceRackDeviceIDOK with default headers values

func (*DeleteDeviceRackDeviceIDOK) Error

func (*DeleteDeviceRackDeviceIDOK) GetPayload

type DeleteDeviceRackDeviceIDOKBody

type DeleteDeviceRackDeviceIDOKBody struct {

	// deleted
	Deleted interface{} `json:"deleted,omitempty"`

	// id
	ID interface{} `json:"id,omitempty"`
}

DeleteDeviceRackDeviceIDOKBody delete device rack device ID o k body swagger:model DeleteDeviceRackDeviceIDOKBody

func (*DeleteDeviceRackDeviceIDOKBody) MarshalBinary

func (o *DeleteDeviceRackDeviceIDOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteDeviceRackDeviceIDOKBody) UnmarshalBinary

func (o *DeleteDeviceRackDeviceIDOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteDeviceRackDeviceIDOKBody) Validate

func (o *DeleteDeviceRackDeviceIDOKBody) Validate(formats strfmt.Registry) error

Validate validates this delete device rack device ID o k body

type DeleteDeviceRackDeviceIDParams

type DeleteDeviceRackDeviceIDParams struct {

	/*DeviceID
	  ID of the device to be removed from the rack

	*/
	DeviceID int64

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

DeleteDeviceRackDeviceIDParams contains all the parameters to send to the API endpoint for the delete device rack device Id operation typically these are written to a http.Request

func NewDeleteDeviceRackDeviceIDParams

func NewDeleteDeviceRackDeviceIDParams() *DeleteDeviceRackDeviceIDParams

NewDeleteDeviceRackDeviceIDParams creates a new DeleteDeviceRackDeviceIDParams object with the default values initialized.

func NewDeleteDeviceRackDeviceIDParamsWithContext

func NewDeleteDeviceRackDeviceIDParamsWithContext(ctx context.Context) *DeleteDeviceRackDeviceIDParams

NewDeleteDeviceRackDeviceIDParamsWithContext creates a new DeleteDeviceRackDeviceIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDeviceRackDeviceIDParamsWithHTTPClient

func NewDeleteDeviceRackDeviceIDParamsWithHTTPClient(client *http.Client) *DeleteDeviceRackDeviceIDParams

NewDeleteDeviceRackDeviceIDParamsWithHTTPClient creates a new DeleteDeviceRackDeviceIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDeviceRackDeviceIDParamsWithTimeout

func NewDeleteDeviceRackDeviceIDParamsWithTimeout(timeout time.Duration) *DeleteDeviceRackDeviceIDParams

NewDeleteDeviceRackDeviceIDParamsWithTimeout creates a new DeleteDeviceRackDeviceIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDeviceRackDeviceIDParams) SetContext

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

SetContext adds the context to the delete device rack device Id params

func (*DeleteDeviceRackDeviceIDParams) SetDeviceID

func (o *DeleteDeviceRackDeviceIDParams) SetDeviceID(deviceID int64)

SetDeviceID adds the deviceId to the delete device rack device Id params

func (*DeleteDeviceRackDeviceIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete device rack device Id params

func (*DeleteDeviceRackDeviceIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete device rack device Id params

func (*DeleteDeviceRackDeviceIDParams) WithContext

WithContext adds the context to the delete device rack device Id params

func (*DeleteDeviceRackDeviceIDParams) WithDeviceID

WithDeviceID adds the deviceID to the delete device rack device Id params

func (*DeleteDeviceRackDeviceIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete device rack device Id params

func (*DeleteDeviceRackDeviceIDParams) WithTimeout

WithTimeout adds the timeout to the delete device rack device Id params

func (*DeleteDeviceRackDeviceIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeviceRackDeviceIDReader

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

DeleteDeviceRackDeviceIDReader is a Reader for the DeleteDeviceRackDeviceID structure.

func (*DeleteDeviceRackDeviceIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDeviceRackDeviceIDServiceUnavailable

type DeleteDeviceRackDeviceIDServiceUnavailable struct {
}

DeleteDeviceRackDeviceIDServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewDeleteDeviceRackDeviceIDServiceUnavailable

func NewDeleteDeviceRackDeviceIDServiceUnavailable() *DeleteDeviceRackDeviceIDServiceUnavailable

NewDeleteDeviceRackDeviceIDServiceUnavailable creates a DeleteDeviceRackDeviceIDServiceUnavailable with default headers values

func (*DeleteDeviceRackDeviceIDServiceUnavailable) Error

type DeleteDeviceRackDeviceIDUnauthorized

type DeleteDeviceRackDeviceIDUnauthorized struct {
}

DeleteDeviceRackDeviceIDUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteDeviceRackDeviceIDUnauthorized

func NewDeleteDeviceRackDeviceIDUnauthorized() *DeleteDeviceRackDeviceIDUnauthorized

NewDeleteDeviceRackDeviceIDUnauthorized creates a DeleteDeviceRackDeviceIDUnauthorized with default headers values

func (*DeleteDeviceRackDeviceIDUnauthorized) Error

type DeleteDeviceURLBadRequest

type DeleteDeviceURLBadRequest struct {
}

DeleteDeviceURLBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteDeviceURLBadRequest

func NewDeleteDeviceURLBadRequest() *DeleteDeviceURLBadRequest

NewDeleteDeviceURLBadRequest creates a DeleteDeviceURLBadRequest with default headers values

func (*DeleteDeviceURLBadRequest) Error

func (o *DeleteDeviceURLBadRequest) Error() string

type DeleteDeviceURLForbidden

type DeleteDeviceURLForbidden struct {
}

DeleteDeviceURLForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteDeviceURLForbidden

func NewDeleteDeviceURLForbidden() *DeleteDeviceURLForbidden

NewDeleteDeviceURLForbidden creates a DeleteDeviceURLForbidden with default headers values

func (*DeleteDeviceURLForbidden) Error

func (o *DeleteDeviceURLForbidden) Error() string

type DeleteDeviceURLGone

type DeleteDeviceURLGone struct {
}

DeleteDeviceURLGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewDeleteDeviceURLGone

func NewDeleteDeviceURLGone() *DeleteDeviceURLGone

NewDeleteDeviceURLGone creates a DeleteDeviceURLGone with default headers values

func (*DeleteDeviceURLGone) Error

func (o *DeleteDeviceURLGone) Error() string

type DeleteDeviceURLInternalServerError

type DeleteDeviceURLInternalServerError struct {
}

DeleteDeviceURLInternalServerError 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 NewDeleteDeviceURLInternalServerError

func NewDeleteDeviceURLInternalServerError() *DeleteDeviceURLInternalServerError

NewDeleteDeviceURLInternalServerError creates a DeleteDeviceURLInternalServerError with default headers values

func (*DeleteDeviceURLInternalServerError) Error

type DeleteDeviceURLMethodNotAllowed

type DeleteDeviceURLMethodNotAllowed struct {
}

DeleteDeviceURLMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewDeleteDeviceURLMethodNotAllowed

func NewDeleteDeviceURLMethodNotAllowed() *DeleteDeviceURLMethodNotAllowed

NewDeleteDeviceURLMethodNotAllowed creates a DeleteDeviceURLMethodNotAllowed with default headers values

func (*DeleteDeviceURLMethodNotAllowed) Error

type DeleteDeviceURLNotFound

type DeleteDeviceURLNotFound struct {
}

DeleteDeviceURLNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteDeviceURLNotFound

func NewDeleteDeviceURLNotFound() *DeleteDeviceURLNotFound

NewDeleteDeviceURLNotFound creates a DeleteDeviceURLNotFound with default headers values

func (*DeleteDeviceURLNotFound) Error

func (o *DeleteDeviceURLNotFound) Error() string

type DeleteDeviceURLOK

type DeleteDeviceURLOK struct {
	Payload *DeleteDeviceURLOKBody
}

DeleteDeviceURLOK handles this case with default header values.

The above command returns results like this:

func NewDeleteDeviceURLOK

func NewDeleteDeviceURLOK() *DeleteDeviceURLOK

NewDeleteDeviceURLOK creates a DeleteDeviceURLOK with default headers values

func (*DeleteDeviceURLOK) Error

func (o *DeleteDeviceURLOK) Error() string

func (*DeleteDeviceURLOK) GetPayload

func (o *DeleteDeviceURLOK) GetPayload() *DeleteDeviceURLOKBody

type DeleteDeviceURLOKBody

type DeleteDeviceURLOKBody struct {

	// deleted
	Deleted interface{} `json:"deleted,omitempty"`

	// id
	ID interface{} `json:"id,omitempty"`
}

DeleteDeviceURLOKBody delete device URL o k body swagger:model DeleteDeviceURLOKBody

func (*DeleteDeviceURLOKBody) MarshalBinary

func (o *DeleteDeviceURLOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteDeviceURLOKBody) UnmarshalBinary

func (o *DeleteDeviceURLOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteDeviceURLOKBody) Validate

func (o *DeleteDeviceURLOKBody) Validate(formats strfmt.Registry) error

Validate validates this delete device URL o k body

type DeleteDeviceURLParams

type DeleteDeviceURLParams struct {

	/*ID*/
	ID int64

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

DeleteDeviceURLParams contains all the parameters to send to the API endpoint for the delete device Url operation typically these are written to a http.Request

func NewDeleteDeviceURLParams

func NewDeleteDeviceURLParams() *DeleteDeviceURLParams

NewDeleteDeviceURLParams creates a new DeleteDeviceURLParams object with the default values initialized.

func NewDeleteDeviceURLParamsWithContext

func NewDeleteDeviceURLParamsWithContext(ctx context.Context) *DeleteDeviceURLParams

NewDeleteDeviceURLParamsWithContext creates a new DeleteDeviceURLParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDeviceURLParamsWithHTTPClient

func NewDeleteDeviceURLParamsWithHTTPClient(client *http.Client) *DeleteDeviceURLParams

NewDeleteDeviceURLParamsWithHTTPClient creates a new DeleteDeviceURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDeviceURLParamsWithTimeout

func NewDeleteDeviceURLParamsWithTimeout(timeout time.Duration) *DeleteDeviceURLParams

NewDeleteDeviceURLParamsWithTimeout creates a new DeleteDeviceURLParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDeviceURLParams) SetContext

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

SetContext adds the context to the delete device Url params

func (*DeleteDeviceURLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete device Url params

func (*DeleteDeviceURLParams) SetID

func (o *DeleteDeviceURLParams) SetID(id int64)

SetID adds the id to the delete device Url params

func (*DeleteDeviceURLParams) SetTimeout

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

SetTimeout adds the timeout to the delete device Url params

func (*DeleteDeviceURLParams) WithContext

WithContext adds the context to the delete device Url params

func (*DeleteDeviceURLParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete device Url params

func (*DeleteDeviceURLParams) WithID

WithID adds the id to the delete device Url params

func (*DeleteDeviceURLParams) WithTimeout

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

WithTimeout adds the timeout to the delete device Url params

func (*DeleteDeviceURLParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteDeviceURLReader

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

DeleteDeviceURLReader is a Reader for the DeleteDeviceURL structure.

func (*DeleteDeviceURLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDeviceURLServiceUnavailable

type DeleteDeviceURLServiceUnavailable struct {
}

DeleteDeviceURLServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewDeleteDeviceURLServiceUnavailable

func NewDeleteDeviceURLServiceUnavailable() *DeleteDeviceURLServiceUnavailable

NewDeleteDeviceURLServiceUnavailable creates a DeleteDeviceURLServiceUnavailable with default headers values

func (*DeleteDeviceURLServiceUnavailable) Error

type DeleteDeviceURLUnauthorized

type DeleteDeviceURLUnauthorized struct {
}

DeleteDeviceURLUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteDeviceURLUnauthorized

func NewDeleteDeviceURLUnauthorized() *DeleteDeviceURLUnauthorized

NewDeleteDeviceURLUnauthorized creates a DeleteDeviceURLUnauthorized with default headers values

func (*DeleteDeviceURLUnauthorized) Error

type DeleteDevicesIDBadRequest

type DeleteDevicesIDBadRequest struct {
}

DeleteDevicesIDBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteDevicesIDBadRequest

func NewDeleteDevicesIDBadRequest() *DeleteDevicesIDBadRequest

NewDeleteDevicesIDBadRequest creates a DeleteDevicesIDBadRequest with default headers values

func (*DeleteDevicesIDBadRequest) Error

func (o *DeleteDevicesIDBadRequest) Error() string

type DeleteDevicesIDForbidden

type DeleteDevicesIDForbidden struct {
}

DeleteDevicesIDForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteDevicesIDForbidden

func NewDeleteDevicesIDForbidden() *DeleteDevicesIDForbidden

NewDeleteDevicesIDForbidden creates a DeleteDevicesIDForbidden with default headers values

func (*DeleteDevicesIDForbidden) Error

func (o *DeleteDevicesIDForbidden) Error() string

type DeleteDevicesIDGone

type DeleteDevicesIDGone struct {
}

DeleteDevicesIDGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewDeleteDevicesIDGone

func NewDeleteDevicesIDGone() *DeleteDevicesIDGone

NewDeleteDevicesIDGone creates a DeleteDevicesIDGone with default headers values

func (*DeleteDevicesIDGone) Error

func (o *DeleteDevicesIDGone) Error() string

type DeleteDevicesIDInternalServerError

type DeleteDevicesIDInternalServerError struct {
}

DeleteDevicesIDInternalServerError 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 NewDeleteDevicesIDInternalServerError

func NewDeleteDevicesIDInternalServerError() *DeleteDevicesIDInternalServerError

NewDeleteDevicesIDInternalServerError creates a DeleteDevicesIDInternalServerError with default headers values

func (*DeleteDevicesIDInternalServerError) Error

type DeleteDevicesIDMethodNotAllowed

type DeleteDevicesIDMethodNotAllowed struct {
}

DeleteDevicesIDMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewDeleteDevicesIDMethodNotAllowed

func NewDeleteDevicesIDMethodNotAllowed() *DeleteDevicesIDMethodNotAllowed

NewDeleteDevicesIDMethodNotAllowed creates a DeleteDevicesIDMethodNotAllowed with default headers values

func (*DeleteDevicesIDMethodNotAllowed) Error

type DeleteDevicesIDNotFound

type DeleteDevicesIDNotFound struct {
}

DeleteDevicesIDNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteDevicesIDNotFound

func NewDeleteDevicesIDNotFound() *DeleteDevicesIDNotFound

NewDeleteDevicesIDNotFound creates a DeleteDevicesIDNotFound with default headers values

func (*DeleteDevicesIDNotFound) Error

func (o *DeleteDevicesIDNotFound) Error() string

type DeleteDevicesIDOK

type DeleteDevicesIDOK struct {
	Payload *DeleteDevicesIDOKBody
}

DeleteDevicesIDOK handles this case with default header values.

The above command returns results like this:

func NewDeleteDevicesIDOK

func NewDeleteDevicesIDOK() *DeleteDevicesIDOK

NewDeleteDevicesIDOK creates a DeleteDevicesIDOK with default headers values

func (*DeleteDevicesIDOK) Error

func (o *DeleteDevicesIDOK) Error() string

func (*DeleteDevicesIDOK) GetPayload

func (o *DeleteDevicesIDOK) GetPayload() *DeleteDevicesIDOKBody

type DeleteDevicesIDOKBody

type DeleteDevicesIDOKBody struct {

	// admin
	Admin interface{} `json:"admin,omitempty"`

	// deleted
	Deleted interface{} `json:"deleted,omitempty"`
}

DeleteDevicesIDOKBody delete devices ID o k body swagger:model DeleteDevicesIDOKBody

func (*DeleteDevicesIDOKBody) MarshalBinary

func (o *DeleteDevicesIDOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteDevicesIDOKBody) UnmarshalBinary

func (o *DeleteDevicesIDOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteDevicesIDOKBody) Validate

func (o *DeleteDevicesIDOKBody) Validate(formats strfmt.Registry) error

Validate validates this delete devices ID o k body

type DeleteDevicesIDParams

type DeleteDevicesIDParams struct {

	/*ID
	  Device id

	*/
	ID int64

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

DeleteDevicesIDParams contains all the parameters to send to the API endpoint for the delete devices Id operation typically these are written to a http.Request

func NewDeleteDevicesIDParams

func NewDeleteDevicesIDParams() *DeleteDevicesIDParams

NewDeleteDevicesIDParams creates a new DeleteDevicesIDParams object with the default values initialized.

func NewDeleteDevicesIDParamsWithContext

func NewDeleteDevicesIDParamsWithContext(ctx context.Context) *DeleteDevicesIDParams

NewDeleteDevicesIDParamsWithContext creates a new DeleteDevicesIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDevicesIDParamsWithHTTPClient

func NewDeleteDevicesIDParamsWithHTTPClient(client *http.Client) *DeleteDevicesIDParams

NewDeleteDevicesIDParamsWithHTTPClient creates a new DeleteDevicesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDevicesIDParamsWithTimeout

func NewDeleteDevicesIDParamsWithTimeout(timeout time.Duration) *DeleteDevicesIDParams

NewDeleteDevicesIDParamsWithTimeout creates a new DeleteDevicesIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDevicesIDParams) SetContext

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

SetContext adds the context to the delete devices Id params

func (*DeleteDevicesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete devices Id params

func (*DeleteDevicesIDParams) SetID

func (o *DeleteDevicesIDParams) SetID(id int64)

SetID adds the id to the delete devices Id params

func (*DeleteDevicesIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete devices Id params

func (*DeleteDevicesIDParams) WithContext

WithContext adds the context to the delete devices Id params

func (*DeleteDevicesIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete devices Id params

func (*DeleteDevicesIDParams) WithID

WithID adds the id to the delete devices Id params

func (*DeleteDevicesIDParams) WithTimeout

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

WithTimeout adds the timeout to the delete devices Id params

func (*DeleteDevicesIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteDevicesIDReader

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

DeleteDevicesIDReader is a Reader for the DeleteDevicesID structure.

func (*DeleteDevicesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDevicesIDServiceUnavailable

type DeleteDevicesIDServiceUnavailable struct {
}

DeleteDevicesIDServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewDeleteDevicesIDServiceUnavailable

func NewDeleteDevicesIDServiceUnavailable() *DeleteDevicesIDServiceUnavailable

NewDeleteDevicesIDServiceUnavailable creates a DeleteDevicesIDServiceUnavailable with default headers values

func (*DeleteDevicesIDServiceUnavailable) Error

type DeleteDevicesIDUnauthorized

type DeleteDevicesIDUnauthorized struct {
}

DeleteDevicesIDUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteDevicesIDUnauthorized

func NewDeleteDevicesIDUnauthorized() *DeleteDevicesIDUnauthorized

NewDeleteDevicesIDUnauthorized creates a DeleteDevicesIDUnauthorized with default headers values

func (*DeleteDevicesIDUnauthorized) Error

type DeviceWeblinksItems0

type DeviceWeblinksItems0 struct {

	// device
	Device interface{} `json:"device,omitempty"`

	// host
	Host interface{} `json:"host,omitempty"`

	// id
	ID interface{} `json:"id,omitempty"`

	// notes
	Notes interface{} `json:"notes,omitempty"`

	// port
	Port interface{} `json:"port,omitempty"`

	// type
	Type interface{} `json:"type,omitempty"`

	// url suffix
	URLSuffix interface{} `json:"url_suffix,omitempty"`
}

DeviceWeblinksItems0 device weblinks items0 swagger:model DeviceWeblinksItems0

func (*DeviceWeblinksItems0) MarshalBinary

func (o *DeviceWeblinksItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceWeblinksItems0) UnmarshalBinary

func (o *DeviceWeblinksItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceWeblinksItems0) Validate

func (o *DeviceWeblinksItems0) Validate(formats strfmt.Registry) error

Validate validates this device weblinks items0

type GetDeviceMountpointsBadRequest

type GetDeviceMountpointsBadRequest struct {
}

GetDeviceMountpointsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetDeviceMountpointsBadRequest

func NewGetDeviceMountpointsBadRequest() *GetDeviceMountpointsBadRequest

NewGetDeviceMountpointsBadRequest creates a GetDeviceMountpointsBadRequest with default headers values

func (*GetDeviceMountpointsBadRequest) Error

type GetDeviceMountpointsForbidden

type GetDeviceMountpointsForbidden struct {
}

GetDeviceMountpointsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetDeviceMountpointsForbidden

func NewGetDeviceMountpointsForbidden() *GetDeviceMountpointsForbidden

NewGetDeviceMountpointsForbidden creates a GetDeviceMountpointsForbidden with default headers values

func (*GetDeviceMountpointsForbidden) Error

type GetDeviceMountpointsGone

type GetDeviceMountpointsGone struct {
}

GetDeviceMountpointsGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetDeviceMountpointsGone

func NewGetDeviceMountpointsGone() *GetDeviceMountpointsGone

NewGetDeviceMountpointsGone creates a GetDeviceMountpointsGone with default headers values

func (*GetDeviceMountpointsGone) Error

func (o *GetDeviceMountpointsGone) Error() string

type GetDeviceMountpointsInternalServerError

type GetDeviceMountpointsInternalServerError struct {
}

GetDeviceMountpointsInternalServerError 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 NewGetDeviceMountpointsInternalServerError

func NewGetDeviceMountpointsInternalServerError() *GetDeviceMountpointsInternalServerError

NewGetDeviceMountpointsInternalServerError creates a GetDeviceMountpointsInternalServerError with default headers values

func (*GetDeviceMountpointsInternalServerError) Error

type GetDeviceMountpointsMethodNotAllowed

type GetDeviceMountpointsMethodNotAllowed struct {
}

GetDeviceMountpointsMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetDeviceMountpointsMethodNotAllowed

func NewGetDeviceMountpointsMethodNotAllowed() *GetDeviceMountpointsMethodNotAllowed

NewGetDeviceMountpointsMethodNotAllowed creates a GetDeviceMountpointsMethodNotAllowed with default headers values

func (*GetDeviceMountpointsMethodNotAllowed) Error

type GetDeviceMountpointsNotFound

type GetDeviceMountpointsNotFound struct {
}

GetDeviceMountpointsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetDeviceMountpointsNotFound

func NewGetDeviceMountpointsNotFound() *GetDeviceMountpointsNotFound

NewGetDeviceMountpointsNotFound creates a GetDeviceMountpointsNotFound with default headers values

func (*GetDeviceMountpointsNotFound) Error

type GetDeviceMountpointsOK

type GetDeviceMountpointsOK struct {
	Payload *GetDeviceMountpointsOKBody
}

GetDeviceMountpointsOK handles this case with default header values.

The above command returns results like this:

func NewGetDeviceMountpointsOK

func NewGetDeviceMountpointsOK() *GetDeviceMountpointsOK

NewGetDeviceMountpointsOK creates a GetDeviceMountpointsOK with default headers values

func (*GetDeviceMountpointsOK) Error

func (o *GetDeviceMountpointsOK) Error() string

func (*GetDeviceMountpointsOK) GetPayload

type GetDeviceMountpointsOKBody

type GetDeviceMountpointsOKBody struct {

	// mountpoint details
	MountpointDetails []*MountpointDetailsItems0 `json:"mountpoint_details"`

	// total count
	TotalCount interface{} `json:"total_count,omitempty"`
}

GetDeviceMountpointsOKBody get device mountpoints o k body swagger:model GetDeviceMountpointsOKBody

func (*GetDeviceMountpointsOKBody) MarshalBinary

func (o *GetDeviceMountpointsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceMountpointsOKBody) UnmarshalBinary

func (o *GetDeviceMountpointsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceMountpointsOKBody) Validate

func (o *GetDeviceMountpointsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get device mountpoints o k body

type GetDeviceMountpointsParams

type GetDeviceMountpointsParams struct {

	/*DeviceID
	  id of the device

	*/
	DeviceID *string

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

GetDeviceMountpointsParams contains all the parameters to send to the API endpoint for the get device mountpoints operation typically these are written to a http.Request

func NewGetDeviceMountpointsParams

func NewGetDeviceMountpointsParams() *GetDeviceMountpointsParams

NewGetDeviceMountpointsParams creates a new GetDeviceMountpointsParams object with the default values initialized.

func NewGetDeviceMountpointsParamsWithContext

func NewGetDeviceMountpointsParamsWithContext(ctx context.Context) *GetDeviceMountpointsParams

NewGetDeviceMountpointsParamsWithContext creates a new GetDeviceMountpointsParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeviceMountpointsParamsWithHTTPClient

func NewGetDeviceMountpointsParamsWithHTTPClient(client *http.Client) *GetDeviceMountpointsParams

NewGetDeviceMountpointsParamsWithHTTPClient creates a new GetDeviceMountpointsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeviceMountpointsParamsWithTimeout

func NewGetDeviceMountpointsParamsWithTimeout(timeout time.Duration) *GetDeviceMountpointsParams

NewGetDeviceMountpointsParamsWithTimeout creates a new GetDeviceMountpointsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeviceMountpointsParams) SetContext

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

SetContext adds the context to the get device mountpoints params

func (*GetDeviceMountpointsParams) SetDeviceID

func (o *GetDeviceMountpointsParams) SetDeviceID(deviceID *string)

SetDeviceID adds the deviceId to the get device mountpoints params

func (*GetDeviceMountpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get device mountpoints params

func (*GetDeviceMountpointsParams) SetTimeout

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

SetTimeout adds the timeout to the get device mountpoints params

func (*GetDeviceMountpointsParams) WithContext

WithContext adds the context to the get device mountpoints params

func (*GetDeviceMountpointsParams) WithDeviceID

func (o *GetDeviceMountpointsParams) WithDeviceID(deviceID *string) *GetDeviceMountpointsParams

WithDeviceID adds the deviceID to the get device mountpoints params

func (*GetDeviceMountpointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device mountpoints params

func (*GetDeviceMountpointsParams) WithTimeout

WithTimeout adds the timeout to the get device mountpoints params

func (*GetDeviceMountpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceMountpointsReader

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

GetDeviceMountpointsReader is a Reader for the GetDeviceMountpoints structure.

func (*GetDeviceMountpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeviceMountpointsServiceUnavailable

type GetDeviceMountpointsServiceUnavailable struct {
}

GetDeviceMountpointsServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetDeviceMountpointsServiceUnavailable

func NewGetDeviceMountpointsServiceUnavailable() *GetDeviceMountpointsServiceUnavailable

NewGetDeviceMountpointsServiceUnavailable creates a GetDeviceMountpointsServiceUnavailable with default headers values

func (*GetDeviceMountpointsServiceUnavailable) Error

type GetDeviceMountpointsUnauthorized

type GetDeviceMountpointsUnauthorized struct {
}

GetDeviceMountpointsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetDeviceMountpointsUnauthorized

func NewGetDeviceMountpointsUnauthorized() *GetDeviceMountpointsUnauthorized

NewGetDeviceMountpointsUnauthorized creates a GetDeviceMountpointsUnauthorized with default headers values

func (*GetDeviceMountpointsUnauthorized) Error

type GetDeviceURLBadRequest

type GetDeviceURLBadRequest struct {
}

GetDeviceURLBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetDeviceURLBadRequest

func NewGetDeviceURLBadRequest() *GetDeviceURLBadRequest

NewGetDeviceURLBadRequest creates a GetDeviceURLBadRequest with default headers values

func (*GetDeviceURLBadRequest) Error

func (o *GetDeviceURLBadRequest) Error() string

type GetDeviceURLForbidden

type GetDeviceURLForbidden struct {
}

GetDeviceURLForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetDeviceURLForbidden

func NewGetDeviceURLForbidden() *GetDeviceURLForbidden

NewGetDeviceURLForbidden creates a GetDeviceURLForbidden with default headers values

func (*GetDeviceURLForbidden) Error

func (o *GetDeviceURLForbidden) Error() string

type GetDeviceURLGone

type GetDeviceURLGone struct {
}

GetDeviceURLGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetDeviceURLGone

func NewGetDeviceURLGone() *GetDeviceURLGone

NewGetDeviceURLGone creates a GetDeviceURLGone with default headers values

func (*GetDeviceURLGone) Error

func (o *GetDeviceURLGone) Error() string

type GetDeviceURLInternalServerError

type GetDeviceURLInternalServerError struct {
}

GetDeviceURLInternalServerError 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 NewGetDeviceURLInternalServerError

func NewGetDeviceURLInternalServerError() *GetDeviceURLInternalServerError

NewGetDeviceURLInternalServerError creates a GetDeviceURLInternalServerError with default headers values

func (*GetDeviceURLInternalServerError) Error

type GetDeviceURLMethodNotAllowed

type GetDeviceURLMethodNotAllowed struct {
}

GetDeviceURLMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetDeviceURLMethodNotAllowed

func NewGetDeviceURLMethodNotAllowed() *GetDeviceURLMethodNotAllowed

NewGetDeviceURLMethodNotAllowed creates a GetDeviceURLMethodNotAllowed with default headers values

func (*GetDeviceURLMethodNotAllowed) Error

type GetDeviceURLNotFound

type GetDeviceURLNotFound struct {
}

GetDeviceURLNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetDeviceURLNotFound

func NewGetDeviceURLNotFound() *GetDeviceURLNotFound

NewGetDeviceURLNotFound creates a GetDeviceURLNotFound with default headers values

func (*GetDeviceURLNotFound) Error

func (o *GetDeviceURLNotFound) Error() string

type GetDeviceURLOK

type GetDeviceURLOK struct {
	Payload *GetDeviceURLOKBody
}

GetDeviceURLOK handles this case with default header values.

The above command returns results like this:

func NewGetDeviceURLOK

func NewGetDeviceURLOK() *GetDeviceURLOK

NewGetDeviceURLOK creates a GetDeviceURLOK with default headers values

func (*GetDeviceURLOK) Error

func (o *GetDeviceURLOK) Error() string

func (*GetDeviceURLOK) GetPayload

func (o *GetDeviceURLOK) GetPayload() *GetDeviceURLOKBody

type GetDeviceURLOKBody

type GetDeviceURLOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// device weblinks
	DeviceWeblinks []*DeviceWeblinksItems0 `json:"device_weblinks"`
}

GetDeviceURLOKBody get device URL o k body swagger:model GetDeviceURLOKBody

func (*GetDeviceURLOKBody) MarshalBinary

func (o *GetDeviceURLOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceURLOKBody) UnmarshalBinary

func (o *GetDeviceURLOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceURLOKBody) Validate

func (o *GetDeviceURLOKBody) Validate(formats strfmt.Registry) error

Validate validates this get device URL o k body

type GetDeviceURLParams

type GetDeviceURLParams struct {

	/*Device
	  name of the device

	*/
	Device *string

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

GetDeviceURLParams contains all the parameters to send to the API endpoint for the get device Url operation typically these are written to a http.Request

func NewGetDeviceURLParams

func NewGetDeviceURLParams() *GetDeviceURLParams

NewGetDeviceURLParams creates a new GetDeviceURLParams object with the default values initialized.

func NewGetDeviceURLParamsWithContext

func NewGetDeviceURLParamsWithContext(ctx context.Context) *GetDeviceURLParams

NewGetDeviceURLParamsWithContext creates a new GetDeviceURLParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeviceURLParamsWithHTTPClient

func NewGetDeviceURLParamsWithHTTPClient(client *http.Client) *GetDeviceURLParams

NewGetDeviceURLParamsWithHTTPClient creates a new GetDeviceURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeviceURLParamsWithTimeout

func NewGetDeviceURLParamsWithTimeout(timeout time.Duration) *GetDeviceURLParams

NewGetDeviceURLParamsWithTimeout creates a new GetDeviceURLParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeviceURLParams) SetContext

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

SetContext adds the context to the get device Url params

func (*GetDeviceURLParams) SetDevice

func (o *GetDeviceURLParams) SetDevice(device *string)

SetDevice adds the device to the get device Url params

func (*GetDeviceURLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get device Url params

func (*GetDeviceURLParams) SetTimeout

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

SetTimeout adds the timeout to the get device Url params

func (*GetDeviceURLParams) WithContext

WithContext adds the context to the get device Url params

func (*GetDeviceURLParams) WithDevice

func (o *GetDeviceURLParams) WithDevice(device *string) *GetDeviceURLParams

WithDevice adds the device to the get device Url params

func (*GetDeviceURLParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get device Url params

func (*GetDeviceURLParams) WithTimeout

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

WithTimeout adds the timeout to the get device Url params

func (*GetDeviceURLParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDeviceURLReader

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

GetDeviceURLReader is a Reader for the GetDeviceURL structure.

func (*GetDeviceURLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeviceURLServiceUnavailable

type GetDeviceURLServiceUnavailable struct {
}

GetDeviceURLServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetDeviceURLServiceUnavailable

func NewGetDeviceURLServiceUnavailable() *GetDeviceURLServiceUnavailable

NewGetDeviceURLServiceUnavailable creates a GetDeviceURLServiceUnavailable with default headers values

func (*GetDeviceURLServiceUnavailable) Error

type GetDeviceURLUnauthorized

type GetDeviceURLUnauthorized struct {
}

GetDeviceURLUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetDeviceURLUnauthorized

func NewGetDeviceURLUnauthorized() *GetDeviceURLUnauthorized

NewGetDeviceURLUnauthorized creates a GetDeviceURLUnauthorized with default headers values

func (*GetDeviceURLUnauthorized) Error

func (o *GetDeviceURLUnauthorized) Error() string

type GetDevicesAllBadRequest

type GetDevicesAllBadRequest struct {
}

GetDevicesAllBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetDevicesAllBadRequest

func NewGetDevicesAllBadRequest() *GetDevicesAllBadRequest

NewGetDevicesAllBadRequest creates a GetDevicesAllBadRequest with default headers values

func (*GetDevicesAllBadRequest) Error

func (o *GetDevicesAllBadRequest) Error() string

type GetDevicesAllForbidden

type GetDevicesAllForbidden struct {
}

GetDevicesAllForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetDevicesAllForbidden

func NewGetDevicesAllForbidden() *GetDevicesAllForbidden

NewGetDevicesAllForbidden creates a GetDevicesAllForbidden with default headers values

func (*GetDevicesAllForbidden) Error

func (o *GetDevicesAllForbidden) Error() string

type GetDevicesAllGone

type GetDevicesAllGone struct {
}

GetDevicesAllGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetDevicesAllGone

func NewGetDevicesAllGone() *GetDevicesAllGone

NewGetDevicesAllGone creates a GetDevicesAllGone with default headers values

func (*GetDevicesAllGone) Error

func (o *GetDevicesAllGone) Error() string

type GetDevicesAllInternalServerError

type GetDevicesAllInternalServerError struct {
}

GetDevicesAllInternalServerError 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 NewGetDevicesAllInternalServerError

func NewGetDevicesAllInternalServerError() *GetDevicesAllInternalServerError

NewGetDevicesAllInternalServerError creates a GetDevicesAllInternalServerError with default headers values

func (*GetDevicesAllInternalServerError) Error

type GetDevicesAllMethodNotAllowed

type GetDevicesAllMethodNotAllowed struct {
}

GetDevicesAllMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetDevicesAllMethodNotAllowed

func NewGetDevicesAllMethodNotAllowed() *GetDevicesAllMethodNotAllowed

NewGetDevicesAllMethodNotAllowed creates a GetDevicesAllMethodNotAllowed with default headers values

func (*GetDevicesAllMethodNotAllowed) Error

type GetDevicesAllNotFound

type GetDevicesAllNotFound struct {
}

GetDevicesAllNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetDevicesAllNotFound

func NewGetDevicesAllNotFound() *GetDevicesAllNotFound

NewGetDevicesAllNotFound creates a GetDevicesAllNotFound with default headers values

func (*GetDevicesAllNotFound) Error

func (o *GetDevicesAllNotFound) Error() string

type GetDevicesAllOK

type GetDevicesAllOK struct {
	Payload *models.DevicesAll
}

GetDevicesAllOK handles this case with default header values.

The above command returns results like this:

func NewGetDevicesAllOK

func NewGetDevicesAllOK() *GetDevicesAllOK

NewGetDevicesAllOK creates a GetDevicesAllOK with default headers values

func (*GetDevicesAllOK) Error

func (o *GetDevicesAllOK) Error() string

func (*GetDevicesAllOK) GetPayload

func (o *GetDevicesAllOK) GetPayload() *models.DevicesAll

type GetDevicesAllParams

type GetDevicesAllParams struct {

	/*Blankasnull
	  start with this device (e.g. limit=100&offset=50 means start with the 50th device and return the next 100 devices)

	*/
	Blankasnull *string
	/*IncludeCols
	  do not return all columns just the ones specified. For example, ?include_cols=name, device_id, rack will only result in name, device_id, and rack included in the output. The following column names can be part of include_cols: name, device_id, rack, name, device_id, serial_no, asset_no, uuid, notes, in_service, service_level, type, id, last_updated, tags, customer_id, customer, hw_model, hw_size, manufacturer, hw_depth, rack, start_at, rack_id, orientation, row, room, building, blade_host_name, blade_host_id, slot_number, virtual_host_name, location, device_sub_type, os, osarch, osver, osverno, custom_fields, device_purchase_line_items, device_external_links, ip_addresses, mac_addresses, cpucount, cpucore, cpuspeed, ram, hddcount, hddsize, hddraid, hddraid_type, hdd_details, pdu_mapping_url,modules, vms, devices, aliases, xpos, ucs_manager

	*/
	IncludeCols *string
	/*Limit
	  return this number of devices

	*/
	Limit *string
	/*Offset
	  start with this device (e.g. limit=100&offset=50 means start with the 50th device and return the next 100 devices)

	*/
	Offset *string

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

GetDevicesAllParams contains all the parameters to send to the API endpoint for the get devices all operation typically these are written to a http.Request

func NewGetDevicesAllParams

func NewGetDevicesAllParams() *GetDevicesAllParams

NewGetDevicesAllParams creates a new GetDevicesAllParams object with the default values initialized.

func NewGetDevicesAllParamsWithContext

func NewGetDevicesAllParamsWithContext(ctx context.Context) *GetDevicesAllParams

NewGetDevicesAllParamsWithContext creates a new GetDevicesAllParams object with the default values initialized, and the ability to set a context for a request

func NewGetDevicesAllParamsWithHTTPClient

func NewGetDevicesAllParamsWithHTTPClient(client *http.Client) *GetDevicesAllParams

NewGetDevicesAllParamsWithHTTPClient creates a new GetDevicesAllParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDevicesAllParamsWithTimeout

func NewGetDevicesAllParamsWithTimeout(timeout time.Duration) *GetDevicesAllParams

NewGetDevicesAllParamsWithTimeout creates a new GetDevicesAllParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDevicesAllParams) SetBlankasnull

func (o *GetDevicesAllParams) SetBlankasnull(blankasnull *string)

SetBlankasnull adds the blankasnull to the get devices all params

func (*GetDevicesAllParams) SetContext

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

SetContext adds the context to the get devices all params

func (*GetDevicesAllParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get devices all params

func (*GetDevicesAllParams) SetIncludeCols

func (o *GetDevicesAllParams) SetIncludeCols(includeCols *string)

SetIncludeCols adds the includeCols to the get devices all params

func (*GetDevicesAllParams) SetLimit

func (o *GetDevicesAllParams) SetLimit(limit *string)

SetLimit adds the limit to the get devices all params

func (*GetDevicesAllParams) SetOffset

func (o *GetDevicesAllParams) SetOffset(offset *string)

SetOffset adds the offset to the get devices all params

func (*GetDevicesAllParams) SetTimeout

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

SetTimeout adds the timeout to the get devices all params

func (*GetDevicesAllParams) WithBlankasnull

func (o *GetDevicesAllParams) WithBlankasnull(blankasnull *string) *GetDevicesAllParams

WithBlankasnull adds the blankasnull to the get devices all params

func (*GetDevicesAllParams) WithContext

WithContext adds the context to the get devices all params

func (*GetDevicesAllParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get devices all params

func (*GetDevicesAllParams) WithIncludeCols

func (o *GetDevicesAllParams) WithIncludeCols(includeCols *string) *GetDevicesAllParams

WithIncludeCols adds the includeCols to the get devices all params

func (*GetDevicesAllParams) WithLimit

func (o *GetDevicesAllParams) WithLimit(limit *string) *GetDevicesAllParams

WithLimit adds the limit to the get devices all params

func (*GetDevicesAllParams) WithOffset

func (o *GetDevicesAllParams) WithOffset(offset *string) *GetDevicesAllParams

WithOffset adds the offset to the get devices all params

func (*GetDevicesAllParams) WithTimeout

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

WithTimeout adds the timeout to the get devices all params

func (*GetDevicesAllParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDevicesAllReader

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

GetDevicesAllReader is a Reader for the GetDevicesAll structure.

func (*GetDevicesAllReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDevicesAllServiceUnavailable

type GetDevicesAllServiceUnavailable struct {
}

GetDevicesAllServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetDevicesAllServiceUnavailable

func NewGetDevicesAllServiceUnavailable() *GetDevicesAllServiceUnavailable

NewGetDevicesAllServiceUnavailable creates a GetDevicesAllServiceUnavailable with default headers values

func (*GetDevicesAllServiceUnavailable) Error

type GetDevicesAllUnauthorized

type GetDevicesAllUnauthorized struct {
}

GetDevicesAllUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetDevicesAllUnauthorized

func NewGetDevicesAllUnauthorized() *GetDevicesAllUnauthorized

NewGetDevicesAllUnauthorized creates a GetDevicesAllUnauthorized with default headers values

func (*GetDevicesAllUnauthorized) Error

func (o *GetDevicesAllUnauthorized) Error() string

type GetDevicesAssetBadRequest

type GetDevicesAssetBadRequest struct {
}

GetDevicesAssetBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetDevicesAssetBadRequest

func NewGetDevicesAssetBadRequest() *GetDevicesAssetBadRequest

NewGetDevicesAssetBadRequest creates a GetDevicesAssetBadRequest with default headers values

func (*GetDevicesAssetBadRequest) Error

func (o *GetDevicesAssetBadRequest) Error() string

type GetDevicesAssetForbidden

type GetDevicesAssetForbidden struct {
}

GetDevicesAssetForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetDevicesAssetForbidden

func NewGetDevicesAssetForbidden() *GetDevicesAssetForbidden

NewGetDevicesAssetForbidden creates a GetDevicesAssetForbidden with default headers values

func (*GetDevicesAssetForbidden) Error

func (o *GetDevicesAssetForbidden) Error() string

type GetDevicesAssetGone

type GetDevicesAssetGone struct {
}

GetDevicesAssetGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetDevicesAssetGone

func NewGetDevicesAssetGone() *GetDevicesAssetGone

NewGetDevicesAssetGone creates a GetDevicesAssetGone with default headers values

func (*GetDevicesAssetGone) Error

func (o *GetDevicesAssetGone) Error() string

type GetDevicesAssetInternalServerError

type GetDevicesAssetInternalServerError struct {
}

GetDevicesAssetInternalServerError 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 NewGetDevicesAssetInternalServerError

func NewGetDevicesAssetInternalServerError() *GetDevicesAssetInternalServerError

NewGetDevicesAssetInternalServerError creates a GetDevicesAssetInternalServerError with default headers values

func (*GetDevicesAssetInternalServerError) Error

type GetDevicesAssetMethodNotAllowed

type GetDevicesAssetMethodNotAllowed struct {
}

GetDevicesAssetMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetDevicesAssetMethodNotAllowed

func NewGetDevicesAssetMethodNotAllowed() *GetDevicesAssetMethodNotAllowed

NewGetDevicesAssetMethodNotAllowed creates a GetDevicesAssetMethodNotAllowed with default headers values

func (*GetDevicesAssetMethodNotAllowed) Error

type GetDevicesAssetNotFound

type GetDevicesAssetNotFound struct {
}

GetDevicesAssetNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetDevicesAssetNotFound

func NewGetDevicesAssetNotFound() *GetDevicesAssetNotFound

NewGetDevicesAssetNotFound creates a GetDevicesAssetNotFound with default headers values

func (*GetDevicesAssetNotFound) Error

func (o *GetDevicesAssetNotFound) Error() string

type GetDevicesAssetOK

type GetDevicesAssetOK struct {
	Payload *models.DevicesCustomerID
}

GetDevicesAssetOK handles this case with default header values.

The above command returns results like this:

func NewGetDevicesAssetOK

func NewGetDevicesAssetOK() *GetDevicesAssetOK

NewGetDevicesAssetOK creates a GetDevicesAssetOK with default headers values

func (*GetDevicesAssetOK) Error

func (o *GetDevicesAssetOK) Error() string

func (*GetDevicesAssetOK) GetPayload

func (o *GetDevicesAssetOK) GetPayload() *models.DevicesCustomerID

type GetDevicesAssetParams

type GetDevicesAssetParams struct {

	/*DeviceAsset*/
	DeviceAsset strfmt.UUID
	/*IncludeCols
	  do not return all columns just the ones specified. For example, ?include_cols=name, device_id, rack will only result in name, device_id, and rack included in the output. The following column names can be part of include_cols: name, device_id, rack, name, device_id, serial_no, asset_no, uuid, notes, in_service, service_level, type, id, last_updated, tags, customer_id, customer, hw_model, hw_size, manufacturer, hw_depth, rack, start_at, rack_id, orientation, row, room, building, blade_host_name, blade_host_id, slot_number, virtual_host_name, location, device_sub_type, os, osarch, osver, osverno, custom_fields, device_purchase_line_items, device_external_links, ip_addresses, mac_addresses, cpucount, cpucore, cpuspeed, ram, hddcount, hddsize, hddraid, hddraid_type, hdd_details, pdu_mapping_url,modules, vms, devices, aliases, xpos, ucs_manager

	*/
	IncludeCols *string

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

GetDevicesAssetParams contains all the parameters to send to the API endpoint for the get devices asset operation typically these are written to a http.Request

func NewGetDevicesAssetParams

func NewGetDevicesAssetParams() *GetDevicesAssetParams

NewGetDevicesAssetParams creates a new GetDevicesAssetParams object with the default values initialized.

func NewGetDevicesAssetParamsWithContext

func NewGetDevicesAssetParamsWithContext(ctx context.Context) *GetDevicesAssetParams

NewGetDevicesAssetParamsWithContext creates a new GetDevicesAssetParams object with the default values initialized, and the ability to set a context for a request

func NewGetDevicesAssetParamsWithHTTPClient

func NewGetDevicesAssetParamsWithHTTPClient(client *http.Client) *GetDevicesAssetParams

NewGetDevicesAssetParamsWithHTTPClient creates a new GetDevicesAssetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDevicesAssetParamsWithTimeout

func NewGetDevicesAssetParamsWithTimeout(timeout time.Duration) *GetDevicesAssetParams

NewGetDevicesAssetParamsWithTimeout creates a new GetDevicesAssetParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDevicesAssetParams) SetContext

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

SetContext adds the context to the get devices asset params

func (*GetDevicesAssetParams) SetDeviceAsset

func (o *GetDevicesAssetParams) SetDeviceAsset(deviceAsset strfmt.UUID)

SetDeviceAsset adds the deviceAsset to the get devices asset params

func (*GetDevicesAssetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get devices asset params

func (*GetDevicesAssetParams) SetIncludeCols

func (o *GetDevicesAssetParams) SetIncludeCols(includeCols *string)

SetIncludeCols adds the includeCols to the get devices asset params

func (*GetDevicesAssetParams) SetTimeout

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

SetTimeout adds the timeout to the get devices asset params

func (*GetDevicesAssetParams) WithContext

WithContext adds the context to the get devices asset params

func (*GetDevicesAssetParams) WithDeviceAsset

func (o *GetDevicesAssetParams) WithDeviceAsset(deviceAsset strfmt.UUID) *GetDevicesAssetParams

WithDeviceAsset adds the deviceAsset to the get devices asset params

func (*GetDevicesAssetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get devices asset params

func (*GetDevicesAssetParams) WithIncludeCols

func (o *GetDevicesAssetParams) WithIncludeCols(includeCols *string) *GetDevicesAssetParams

WithIncludeCols adds the includeCols to the get devices asset params

func (*GetDevicesAssetParams) WithTimeout

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

WithTimeout adds the timeout to the get devices asset params

func (*GetDevicesAssetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDevicesAssetReader

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

GetDevicesAssetReader is a Reader for the GetDevicesAsset structure.

func (*GetDevicesAssetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDevicesAssetServiceUnavailable

type GetDevicesAssetServiceUnavailable struct {
}

GetDevicesAssetServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetDevicesAssetServiceUnavailable

func NewGetDevicesAssetServiceUnavailable() *GetDevicesAssetServiceUnavailable

NewGetDevicesAssetServiceUnavailable creates a GetDevicesAssetServiceUnavailable with default headers values

func (*GetDevicesAssetServiceUnavailable) Error

type GetDevicesAssetUnauthorized

type GetDevicesAssetUnauthorized struct {
}

GetDevicesAssetUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetDevicesAssetUnauthorized

func NewGetDevicesAssetUnauthorized() *GetDevicesAssetUnauthorized

NewGetDevicesAssetUnauthorized creates a GetDevicesAssetUnauthorized with default headers values

func (*GetDevicesAssetUnauthorized) Error

type GetDevicesBadRequest

type GetDevicesBadRequest struct {
}

GetDevicesBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetDevicesBadRequest

func NewGetDevicesBadRequest() *GetDevicesBadRequest

NewGetDevicesBadRequest creates a GetDevicesBadRequest with default headers values

func (*GetDevicesBadRequest) Error

func (o *GetDevicesBadRequest) Error() string

type GetDevicesCustomerIDBadRequest

type GetDevicesCustomerIDBadRequest struct {
}

GetDevicesCustomerIDBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetDevicesCustomerIDBadRequest

func NewGetDevicesCustomerIDBadRequest() *GetDevicesCustomerIDBadRequest

NewGetDevicesCustomerIDBadRequest creates a GetDevicesCustomerIDBadRequest with default headers values

func (*GetDevicesCustomerIDBadRequest) Error

type GetDevicesCustomerIDForbidden

type GetDevicesCustomerIDForbidden struct {
}

GetDevicesCustomerIDForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetDevicesCustomerIDForbidden

func NewGetDevicesCustomerIDForbidden() *GetDevicesCustomerIDForbidden

NewGetDevicesCustomerIDForbidden creates a GetDevicesCustomerIDForbidden with default headers values

func (*GetDevicesCustomerIDForbidden) Error

type GetDevicesCustomerIDGone

type GetDevicesCustomerIDGone struct {
}

GetDevicesCustomerIDGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetDevicesCustomerIDGone

func NewGetDevicesCustomerIDGone() *GetDevicesCustomerIDGone

NewGetDevicesCustomerIDGone creates a GetDevicesCustomerIDGone with default headers values

func (*GetDevicesCustomerIDGone) Error

func (o *GetDevicesCustomerIDGone) Error() string

type GetDevicesCustomerIDInternalServerError

type GetDevicesCustomerIDInternalServerError struct {
}

GetDevicesCustomerIDInternalServerError 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 NewGetDevicesCustomerIDInternalServerError

func NewGetDevicesCustomerIDInternalServerError() *GetDevicesCustomerIDInternalServerError

NewGetDevicesCustomerIDInternalServerError creates a GetDevicesCustomerIDInternalServerError with default headers values

func (*GetDevicesCustomerIDInternalServerError) Error

type GetDevicesCustomerIDMethodNotAllowed

type GetDevicesCustomerIDMethodNotAllowed struct {
}

GetDevicesCustomerIDMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetDevicesCustomerIDMethodNotAllowed

func NewGetDevicesCustomerIDMethodNotAllowed() *GetDevicesCustomerIDMethodNotAllowed

NewGetDevicesCustomerIDMethodNotAllowed creates a GetDevicesCustomerIDMethodNotAllowed with default headers values

func (*GetDevicesCustomerIDMethodNotAllowed) Error

type GetDevicesCustomerIDNotFound

type GetDevicesCustomerIDNotFound struct {
}

GetDevicesCustomerIDNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetDevicesCustomerIDNotFound

func NewGetDevicesCustomerIDNotFound() *GetDevicesCustomerIDNotFound

NewGetDevicesCustomerIDNotFound creates a GetDevicesCustomerIDNotFound with default headers values

func (*GetDevicesCustomerIDNotFound) Error

type GetDevicesCustomerIDOK

type GetDevicesCustomerIDOK struct {
	Payload *models.DevicesCustomerID
}

GetDevicesCustomerIDOK handles this case with default header values.

The above command returns results like this:

func NewGetDevicesCustomerIDOK

func NewGetDevicesCustomerIDOK() *GetDevicesCustomerIDOK

NewGetDevicesCustomerIDOK creates a GetDevicesCustomerIDOK with default headers values

func (*GetDevicesCustomerIDOK) Error

func (o *GetDevicesCustomerIDOK) Error() string

func (*GetDevicesCustomerIDOK) GetPayload

type GetDevicesCustomerIDParams

type GetDevicesCustomerIDParams struct {

	/*CustomerID*/
	CustomerID int64
	/*IncludeCols
	  do not return all columns just the ones specified. For example, ?include_cols=name, device_id, rack will only result in name, device_id, and rack included in the output. The following column names can be part of include_cols: name, device_id, rack, name, device_id, serial_no, asset_no, uuid, notes, in_service, service_level, type, id, last_updated, tags, customer_id, customer, hw_model, hw_size, manufacturer, hw_depth, rack, start_at, rack_id, orientation, row, room, building, blade_host_name, blade_host_id, slot_number, virtual_host_name, location, device_sub_type, os, osarch, osver, osverno, custom_fields, device_purchase_line_items, device_external_links, ip_addresses, mac_addresses, cpucount, cpucore, cpuspeed, ram, hddcount, hddsize, hddraid, hddraid_type, hdd_details, pdu_mapping_url,modules, vms, devices, aliases, xpos, ucs_manager

	*/
	IncludeCols *string

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

GetDevicesCustomerIDParams contains all the parameters to send to the API endpoint for the get devices customer id operation typically these are written to a http.Request

func NewGetDevicesCustomerIDParams

func NewGetDevicesCustomerIDParams() *GetDevicesCustomerIDParams

NewGetDevicesCustomerIDParams creates a new GetDevicesCustomerIDParams object with the default values initialized.

func NewGetDevicesCustomerIDParamsWithContext

func NewGetDevicesCustomerIDParamsWithContext(ctx context.Context) *GetDevicesCustomerIDParams

NewGetDevicesCustomerIDParamsWithContext creates a new GetDevicesCustomerIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetDevicesCustomerIDParamsWithHTTPClient

func NewGetDevicesCustomerIDParamsWithHTTPClient(client *http.Client) *GetDevicesCustomerIDParams

NewGetDevicesCustomerIDParamsWithHTTPClient creates a new GetDevicesCustomerIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDevicesCustomerIDParamsWithTimeout

func NewGetDevicesCustomerIDParamsWithTimeout(timeout time.Duration) *GetDevicesCustomerIDParams

NewGetDevicesCustomerIDParamsWithTimeout creates a new GetDevicesCustomerIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDevicesCustomerIDParams) SetContext

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

SetContext adds the context to the get devices customer id params

func (*GetDevicesCustomerIDParams) SetCustomerID

func (o *GetDevicesCustomerIDParams) SetCustomerID(customerID int64)

SetCustomerID adds the customerId to the get devices customer id params

func (*GetDevicesCustomerIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get devices customer id params

func (*GetDevicesCustomerIDParams) SetIncludeCols

func (o *GetDevicesCustomerIDParams) SetIncludeCols(includeCols *string)

SetIncludeCols adds the includeCols to the get devices customer id params

func (*GetDevicesCustomerIDParams) SetTimeout

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

SetTimeout adds the timeout to the get devices customer id params

func (*GetDevicesCustomerIDParams) WithContext

WithContext adds the context to the get devices customer id params

func (*GetDevicesCustomerIDParams) WithCustomerID

func (o *GetDevicesCustomerIDParams) WithCustomerID(customerID int64) *GetDevicesCustomerIDParams

WithCustomerID adds the customerID to the get devices customer id params

func (*GetDevicesCustomerIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get devices customer id params

func (*GetDevicesCustomerIDParams) WithIncludeCols

func (o *GetDevicesCustomerIDParams) WithIncludeCols(includeCols *string) *GetDevicesCustomerIDParams

WithIncludeCols adds the includeCols to the get devices customer id params

func (*GetDevicesCustomerIDParams) WithTimeout

WithTimeout adds the timeout to the get devices customer id params

func (*GetDevicesCustomerIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDevicesCustomerIDReader

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

GetDevicesCustomerIDReader is a Reader for the GetDevicesCustomerID structure.

func (*GetDevicesCustomerIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDevicesCustomerIDServiceUnavailable

type GetDevicesCustomerIDServiceUnavailable struct {
}

GetDevicesCustomerIDServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetDevicesCustomerIDServiceUnavailable

func NewGetDevicesCustomerIDServiceUnavailable() *GetDevicesCustomerIDServiceUnavailable

NewGetDevicesCustomerIDServiceUnavailable creates a GetDevicesCustomerIDServiceUnavailable with default headers values

func (*GetDevicesCustomerIDServiceUnavailable) Error

type GetDevicesCustomerIDUnauthorized

type GetDevicesCustomerIDUnauthorized struct {
}

GetDevicesCustomerIDUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetDevicesCustomerIDUnauthorized

func NewGetDevicesCustomerIDUnauthorized() *GetDevicesCustomerIDUnauthorized

NewGetDevicesCustomerIDUnauthorized creates a GetDevicesCustomerIDUnauthorized with default headers values

func (*GetDevicesCustomerIDUnauthorized) Error

type GetDevicesForbidden

type GetDevicesForbidden struct {
}

GetDevicesForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetDevicesForbidden

func NewGetDevicesForbidden() *GetDevicesForbidden

NewGetDevicesForbidden creates a GetDevicesForbidden with default headers values

func (*GetDevicesForbidden) Error

func (o *GetDevicesForbidden) Error() string

type GetDevicesGone

type GetDevicesGone struct {
}

GetDevicesGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetDevicesGone

func NewGetDevicesGone() *GetDevicesGone

NewGetDevicesGone creates a GetDevicesGone with default headers values

func (*GetDevicesGone) Error

func (o *GetDevicesGone) Error() string

type GetDevicesIDBadRequest

type GetDevicesIDBadRequest struct {
}

GetDevicesIDBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetDevicesIDBadRequest

func NewGetDevicesIDBadRequest() *GetDevicesIDBadRequest

NewGetDevicesIDBadRequest creates a GetDevicesIDBadRequest with default headers values

func (*GetDevicesIDBadRequest) Error

func (o *GetDevicesIDBadRequest) Error() string

type GetDevicesIDForbidden

type GetDevicesIDForbidden struct {
}

GetDevicesIDForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetDevicesIDForbidden

func NewGetDevicesIDForbidden() *GetDevicesIDForbidden

NewGetDevicesIDForbidden creates a GetDevicesIDForbidden with default headers values

func (*GetDevicesIDForbidden) Error

func (o *GetDevicesIDForbidden) Error() string

type GetDevicesIDGone

type GetDevicesIDGone struct {
}

GetDevicesIDGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetDevicesIDGone

func NewGetDevicesIDGone() *GetDevicesIDGone

NewGetDevicesIDGone creates a GetDevicesIDGone with default headers values

func (*GetDevicesIDGone) Error

func (o *GetDevicesIDGone) Error() string

type GetDevicesIDInternalServerError

type GetDevicesIDInternalServerError struct {
}

GetDevicesIDInternalServerError 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 NewGetDevicesIDInternalServerError

func NewGetDevicesIDInternalServerError() *GetDevicesIDInternalServerError

NewGetDevicesIDInternalServerError creates a GetDevicesIDInternalServerError with default headers values

func (*GetDevicesIDInternalServerError) Error

type GetDevicesIDMethodNotAllowed

type GetDevicesIDMethodNotAllowed struct {
}

GetDevicesIDMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetDevicesIDMethodNotAllowed

func NewGetDevicesIDMethodNotAllowed() *GetDevicesIDMethodNotAllowed

NewGetDevicesIDMethodNotAllowed creates a GetDevicesIDMethodNotAllowed with default headers values

func (*GetDevicesIDMethodNotAllowed) Error

type GetDevicesIDNotFound

type GetDevicesIDNotFound struct {
}

GetDevicesIDNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetDevicesIDNotFound

func NewGetDevicesIDNotFound() *GetDevicesIDNotFound

NewGetDevicesIDNotFound creates a GetDevicesIDNotFound with default headers values

func (*GetDevicesIDNotFound) Error

func (o *GetDevicesIDNotFound) Error() string

type GetDevicesIDOK

type GetDevicesIDOK struct {
	Payload *models.DevicesAll
}

GetDevicesIDOK handles this case with default header values.

The above command returns results like this:

func NewGetDevicesIDOK

func NewGetDevicesIDOK() *GetDevicesIDOK

NewGetDevicesIDOK creates a GetDevicesIDOK with default headers values

func (*GetDevicesIDOK) Error

func (o *GetDevicesIDOK) Error() string

func (*GetDevicesIDOK) GetPayload

func (o *GetDevicesIDOK) GetPayload() *models.DevicesAll

type GetDevicesIDParams

type GetDevicesIDParams struct {

	/*DeviceID*/
	DeviceID int64
	/*Follow
	  use yes if you want to see virtuals in a virtual host, modules in a blade chassis and devices in a clustered device (Added in v5.7.4)

	*/
	Follow *string

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

GetDevicesIDParams contains all the parameters to send to the API endpoint for the get devices Id operation typically these are written to a http.Request

func NewGetDevicesIDParams

func NewGetDevicesIDParams() *GetDevicesIDParams

NewGetDevicesIDParams creates a new GetDevicesIDParams object with the default values initialized.

func NewGetDevicesIDParamsWithContext

func NewGetDevicesIDParamsWithContext(ctx context.Context) *GetDevicesIDParams

NewGetDevicesIDParamsWithContext creates a new GetDevicesIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetDevicesIDParamsWithHTTPClient

func NewGetDevicesIDParamsWithHTTPClient(client *http.Client) *GetDevicesIDParams

NewGetDevicesIDParamsWithHTTPClient creates a new GetDevicesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDevicesIDParamsWithTimeout

func NewGetDevicesIDParamsWithTimeout(timeout time.Duration) *GetDevicesIDParams

NewGetDevicesIDParamsWithTimeout creates a new GetDevicesIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDevicesIDParams) SetContext

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

SetContext adds the context to the get devices Id params

func (*GetDevicesIDParams) SetDeviceID

func (o *GetDevicesIDParams) SetDeviceID(deviceID int64)

SetDeviceID adds the deviceId to the get devices Id params

func (*GetDevicesIDParams) SetFollow

func (o *GetDevicesIDParams) SetFollow(follow *string)

SetFollow adds the follow to the get devices Id params

func (*GetDevicesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get devices Id params

func (*GetDevicesIDParams) SetTimeout

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

SetTimeout adds the timeout to the get devices Id params

func (*GetDevicesIDParams) WithContext

WithContext adds the context to the get devices Id params

func (*GetDevicesIDParams) WithDeviceID

func (o *GetDevicesIDParams) WithDeviceID(deviceID int64) *GetDevicesIDParams

WithDeviceID adds the deviceID to the get devices Id params

func (*GetDevicesIDParams) WithFollow

func (o *GetDevicesIDParams) WithFollow(follow *string) *GetDevicesIDParams

WithFollow adds the follow to the get devices Id params

func (*GetDevicesIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get devices Id params

func (*GetDevicesIDParams) WithTimeout

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

WithTimeout adds the timeout to the get devices Id params

func (*GetDevicesIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDevicesIDReader

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

GetDevicesIDReader is a Reader for the GetDevicesID structure.

func (*GetDevicesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDevicesIDServiceUnavailable

type GetDevicesIDServiceUnavailable struct {
}

GetDevicesIDServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetDevicesIDServiceUnavailable

func NewGetDevicesIDServiceUnavailable() *GetDevicesIDServiceUnavailable

NewGetDevicesIDServiceUnavailable creates a GetDevicesIDServiceUnavailable with default headers values

func (*GetDevicesIDServiceUnavailable) Error

type GetDevicesIDUnauthorized

type GetDevicesIDUnauthorized struct {
}

GetDevicesIDUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetDevicesIDUnauthorized

func NewGetDevicesIDUnauthorized() *GetDevicesIDUnauthorized

NewGetDevicesIDUnauthorized creates a GetDevicesIDUnauthorized with default headers values

func (*GetDevicesIDUnauthorized) Error

func (o *GetDevicesIDUnauthorized) Error() string

type GetDevicesImpactlistBadRequest

type GetDevicesImpactlistBadRequest struct {
}

GetDevicesImpactlistBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetDevicesImpactlistBadRequest

func NewGetDevicesImpactlistBadRequest() *GetDevicesImpactlistBadRequest

NewGetDevicesImpactlistBadRequest creates a GetDevicesImpactlistBadRequest with default headers values

func (*GetDevicesImpactlistBadRequest) Error

type GetDevicesImpactlistForbidden

type GetDevicesImpactlistForbidden struct {
}

GetDevicesImpactlistForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetDevicesImpactlistForbidden

func NewGetDevicesImpactlistForbidden() *GetDevicesImpactlistForbidden

NewGetDevicesImpactlistForbidden creates a GetDevicesImpactlistForbidden with default headers values

func (*GetDevicesImpactlistForbidden) Error

type GetDevicesImpactlistGone

type GetDevicesImpactlistGone struct {
}

GetDevicesImpactlistGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetDevicesImpactlistGone

func NewGetDevicesImpactlistGone() *GetDevicesImpactlistGone

NewGetDevicesImpactlistGone creates a GetDevicesImpactlistGone with default headers values

func (*GetDevicesImpactlistGone) Error

func (o *GetDevicesImpactlistGone) Error() string

type GetDevicesImpactlistInternalServerError

type GetDevicesImpactlistInternalServerError struct {
}

GetDevicesImpactlistInternalServerError 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 NewGetDevicesImpactlistInternalServerError

func NewGetDevicesImpactlistInternalServerError() *GetDevicesImpactlistInternalServerError

NewGetDevicesImpactlistInternalServerError creates a GetDevicesImpactlistInternalServerError with default headers values

func (*GetDevicesImpactlistInternalServerError) Error

type GetDevicesImpactlistMethodNotAllowed

type GetDevicesImpactlistMethodNotAllowed struct {
}

GetDevicesImpactlistMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetDevicesImpactlistMethodNotAllowed

func NewGetDevicesImpactlistMethodNotAllowed() *GetDevicesImpactlistMethodNotAllowed

NewGetDevicesImpactlistMethodNotAllowed creates a GetDevicesImpactlistMethodNotAllowed with default headers values

func (*GetDevicesImpactlistMethodNotAllowed) Error

type GetDevicesImpactlistNotFound

type GetDevicesImpactlistNotFound struct {
}

GetDevicesImpactlistNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetDevicesImpactlistNotFound

func NewGetDevicesImpactlistNotFound() *GetDevicesImpactlistNotFound

NewGetDevicesImpactlistNotFound creates a GetDevicesImpactlistNotFound with default headers values

func (*GetDevicesImpactlistNotFound) Error

type GetDevicesImpactlistOK

type GetDevicesImpactlistOK struct {
	Payload *GetDevicesImpactlistOKBody
}

GetDevicesImpactlistOK handles this case with default header values.

The above command returns JSON structured like this:

func NewGetDevicesImpactlistOK

func NewGetDevicesImpactlistOK() *GetDevicesImpactlistOK

NewGetDevicesImpactlistOK creates a GetDevicesImpactlistOK with default headers values

func (*GetDevicesImpactlistOK) Error

func (o *GetDevicesImpactlistOK) Error() string

func (*GetDevicesImpactlistOK) GetPayload

type GetDevicesImpactlistOKBody

type GetDevicesImpactlistOKBody struct {

	// children
	Children models.DevicesImpactList `json:"children"`

	// name
	Name interface{} `json:"name,omitempty"`
}

GetDevicesImpactlistOKBody get devices impactlist o k body swagger:model GetDevicesImpactlistOKBody

func (*GetDevicesImpactlistOKBody) MarshalBinary

func (o *GetDevicesImpactlistOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDevicesImpactlistOKBody) UnmarshalBinary

func (o *GetDevicesImpactlistOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDevicesImpactlistOKBody) Validate

func (o *GetDevicesImpactlistOKBody) Validate(formats strfmt.Registry) error

Validate validates this get devices impactlist o k body

type GetDevicesImpactlistParams

type GetDevicesImpactlistParams struct {

	/*DeviceID*/
	DeviceID int64

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

GetDevicesImpactlistParams contains all the parameters to send to the API endpoint for the get devices impactlist operation typically these are written to a http.Request

func NewGetDevicesImpactlistParams

func NewGetDevicesImpactlistParams() *GetDevicesImpactlistParams

NewGetDevicesImpactlistParams creates a new GetDevicesImpactlistParams object with the default values initialized.

func NewGetDevicesImpactlistParamsWithContext

func NewGetDevicesImpactlistParamsWithContext(ctx context.Context) *GetDevicesImpactlistParams

NewGetDevicesImpactlistParamsWithContext creates a new GetDevicesImpactlistParams object with the default values initialized, and the ability to set a context for a request

func NewGetDevicesImpactlistParamsWithHTTPClient

func NewGetDevicesImpactlistParamsWithHTTPClient(client *http.Client) *GetDevicesImpactlistParams

NewGetDevicesImpactlistParamsWithHTTPClient creates a new GetDevicesImpactlistParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDevicesImpactlistParamsWithTimeout

func NewGetDevicesImpactlistParamsWithTimeout(timeout time.Duration) *GetDevicesImpactlistParams

NewGetDevicesImpactlistParamsWithTimeout creates a new GetDevicesImpactlistParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDevicesImpactlistParams) SetContext

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

SetContext adds the context to the get devices impactlist params

func (*GetDevicesImpactlistParams) SetDeviceID

func (o *GetDevicesImpactlistParams) SetDeviceID(deviceID int64)

SetDeviceID adds the deviceId to the get devices impactlist params

func (*GetDevicesImpactlistParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get devices impactlist params

func (*GetDevicesImpactlistParams) SetTimeout

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

SetTimeout adds the timeout to the get devices impactlist params

func (*GetDevicesImpactlistParams) WithContext

WithContext adds the context to the get devices impactlist params

func (*GetDevicesImpactlistParams) WithDeviceID

func (o *GetDevicesImpactlistParams) WithDeviceID(deviceID int64) *GetDevicesImpactlistParams

WithDeviceID adds the deviceID to the get devices impactlist params

func (*GetDevicesImpactlistParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get devices impactlist params

func (*GetDevicesImpactlistParams) WithTimeout

WithTimeout adds the timeout to the get devices impactlist params

func (*GetDevicesImpactlistParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDevicesImpactlistReader

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

GetDevicesImpactlistReader is a Reader for the GetDevicesImpactlist structure.

func (*GetDevicesImpactlistReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDevicesImpactlistServiceUnavailable

type GetDevicesImpactlistServiceUnavailable struct {
}

GetDevicesImpactlistServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetDevicesImpactlistServiceUnavailable

func NewGetDevicesImpactlistServiceUnavailable() *GetDevicesImpactlistServiceUnavailable

NewGetDevicesImpactlistServiceUnavailable creates a GetDevicesImpactlistServiceUnavailable with default headers values

func (*GetDevicesImpactlistServiceUnavailable) Error

type GetDevicesImpactlistUnauthorized

type GetDevicesImpactlistUnauthorized struct {
}

GetDevicesImpactlistUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetDevicesImpactlistUnauthorized

func NewGetDevicesImpactlistUnauthorized() *GetDevicesImpactlistUnauthorized

NewGetDevicesImpactlistUnauthorized creates a GetDevicesImpactlistUnauthorized with default headers values

func (*GetDevicesImpactlistUnauthorized) Error

type GetDevicesInternalServerError

type GetDevicesInternalServerError struct {
}

GetDevicesInternalServerError 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 NewGetDevicesInternalServerError

func NewGetDevicesInternalServerError() *GetDevicesInternalServerError

NewGetDevicesInternalServerError creates a GetDevicesInternalServerError with default headers values

func (*GetDevicesInternalServerError) Error

type GetDevicesMethodNotAllowed

type GetDevicesMethodNotAllowed struct {
}

GetDevicesMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetDevicesMethodNotAllowed

func NewGetDevicesMethodNotAllowed() *GetDevicesMethodNotAllowed

NewGetDevicesMethodNotAllowed creates a GetDevicesMethodNotAllowed with default headers values

func (*GetDevicesMethodNotAllowed) Error

type GetDevicesNameBadRequest

type GetDevicesNameBadRequest struct {
}

GetDevicesNameBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetDevicesNameBadRequest

func NewGetDevicesNameBadRequest() *GetDevicesNameBadRequest

NewGetDevicesNameBadRequest creates a GetDevicesNameBadRequest with default headers values

func (*GetDevicesNameBadRequest) Error

func (o *GetDevicesNameBadRequest) Error() string

type GetDevicesNameForbidden

type GetDevicesNameForbidden struct {
}

GetDevicesNameForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetDevicesNameForbidden

func NewGetDevicesNameForbidden() *GetDevicesNameForbidden

NewGetDevicesNameForbidden creates a GetDevicesNameForbidden with default headers values

func (*GetDevicesNameForbidden) Error

func (o *GetDevicesNameForbidden) Error() string

type GetDevicesNameGone

type GetDevicesNameGone struct {
}

GetDevicesNameGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetDevicesNameGone

func NewGetDevicesNameGone() *GetDevicesNameGone

NewGetDevicesNameGone creates a GetDevicesNameGone with default headers values

func (*GetDevicesNameGone) Error

func (o *GetDevicesNameGone) Error() string

type GetDevicesNameInternalServerError

type GetDevicesNameInternalServerError struct {
}

GetDevicesNameInternalServerError 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 NewGetDevicesNameInternalServerError

func NewGetDevicesNameInternalServerError() *GetDevicesNameInternalServerError

NewGetDevicesNameInternalServerError creates a GetDevicesNameInternalServerError with default headers values

func (*GetDevicesNameInternalServerError) Error

type GetDevicesNameMethodNotAllowed

type GetDevicesNameMethodNotAllowed struct {
}

GetDevicesNameMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetDevicesNameMethodNotAllowed

func NewGetDevicesNameMethodNotAllowed() *GetDevicesNameMethodNotAllowed

NewGetDevicesNameMethodNotAllowed creates a GetDevicesNameMethodNotAllowed with default headers values

func (*GetDevicesNameMethodNotAllowed) Error

type GetDevicesNameNotFound

type GetDevicesNameNotFound struct {
}

GetDevicesNameNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetDevicesNameNotFound

func NewGetDevicesNameNotFound() *GetDevicesNameNotFound

NewGetDevicesNameNotFound creates a GetDevicesNameNotFound with default headers values

func (*GetDevicesNameNotFound) Error

func (o *GetDevicesNameNotFound) Error() string

type GetDevicesNameOK

type GetDevicesNameOK struct {
	Payload *models.DevicesCustomerID
}

GetDevicesNameOK handles this case with default header values.

The above command returns results like this:

func NewGetDevicesNameOK

func NewGetDevicesNameOK() *GetDevicesNameOK

NewGetDevicesNameOK creates a GetDevicesNameOK with default headers values

func (*GetDevicesNameOK) Error

func (o *GetDevicesNameOK) Error() string

func (*GetDevicesNameOK) GetPayload

func (o *GetDevicesNameOK) GetPayload() *models.DevicesCustomerID

type GetDevicesNameParams

type GetDevicesNameParams struct {

	/*DeviceName*/
	DeviceName strfmt.UUID
	/*Follow
	  use yes if you want to see virtuals in a virtual host, modules in a blade chassis and devices in a clusetered device

	*/
	Follow *string
	/*IncludeCols
	  do not return all columns just the ones specified. For example, ?include_cols=name, device_id, rack will only result in name, device_id, and rack included in the output. The following column names can be part of include_cols: name, device_id, rack, name, device_id, serial_no, asset_no, uuid, notes, in_service, service_level, type, id, last_updated, tags, customer_id, customer, hw_model, hw_size, manufacturer, hw_depth, rack, start_at, rack_id, orientation, row, room, building, blade_host_name, blade_host_id, slot_number, virtual_host_name, location, device_sub_type, os, osarch, osver, osverno, custom_fields, device_purchase_line_items, device_external_links, ip_addresses, mac_addresses, cpucount, cpucore, cpuspeed, ram, hddcount, hddsize, hddraid, hddraid_type, hdd_details, pdu_mapping_url,modules, vms, devices, aliases, xpos, ucs_manager

	*/
	IncludeCols *string

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

GetDevicesNameParams contains all the parameters to send to the API endpoint for the get devices name operation typically these are written to a http.Request

func NewGetDevicesNameParams

func NewGetDevicesNameParams() *GetDevicesNameParams

NewGetDevicesNameParams creates a new GetDevicesNameParams object with the default values initialized.

func NewGetDevicesNameParamsWithContext

func NewGetDevicesNameParamsWithContext(ctx context.Context) *GetDevicesNameParams

NewGetDevicesNameParamsWithContext creates a new GetDevicesNameParams object with the default values initialized, and the ability to set a context for a request

func NewGetDevicesNameParamsWithHTTPClient

func NewGetDevicesNameParamsWithHTTPClient(client *http.Client) *GetDevicesNameParams

NewGetDevicesNameParamsWithHTTPClient creates a new GetDevicesNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDevicesNameParamsWithTimeout

func NewGetDevicesNameParamsWithTimeout(timeout time.Duration) *GetDevicesNameParams

NewGetDevicesNameParamsWithTimeout creates a new GetDevicesNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDevicesNameParams) SetContext

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

SetContext adds the context to the get devices name params

func (*GetDevicesNameParams) SetDeviceName

func (o *GetDevicesNameParams) SetDeviceName(deviceName strfmt.UUID)

SetDeviceName adds the deviceName to the get devices name params

func (*GetDevicesNameParams) SetFollow

func (o *GetDevicesNameParams) SetFollow(follow *string)

SetFollow adds the follow to the get devices name params

func (*GetDevicesNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get devices name params

func (*GetDevicesNameParams) SetIncludeCols

func (o *GetDevicesNameParams) SetIncludeCols(includeCols *string)

SetIncludeCols adds the includeCols to the get devices name params

func (*GetDevicesNameParams) SetTimeout

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

SetTimeout adds the timeout to the get devices name params

func (*GetDevicesNameParams) WithContext

WithContext adds the context to the get devices name params

func (*GetDevicesNameParams) WithDeviceName

func (o *GetDevicesNameParams) WithDeviceName(deviceName strfmt.UUID) *GetDevicesNameParams

WithDeviceName adds the deviceName to the get devices name params

func (*GetDevicesNameParams) WithFollow

func (o *GetDevicesNameParams) WithFollow(follow *string) *GetDevicesNameParams

WithFollow adds the follow to the get devices name params

func (*GetDevicesNameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get devices name params

func (*GetDevicesNameParams) WithIncludeCols

func (o *GetDevicesNameParams) WithIncludeCols(includeCols *string) *GetDevicesNameParams

WithIncludeCols adds the includeCols to the get devices name params

func (*GetDevicesNameParams) WithTimeout

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

WithTimeout adds the timeout to the get devices name params

func (*GetDevicesNameParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDevicesNameReader

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

GetDevicesNameReader is a Reader for the GetDevicesName structure.

func (*GetDevicesNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDevicesNameServiceUnavailable

type GetDevicesNameServiceUnavailable struct {
}

GetDevicesNameServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetDevicesNameServiceUnavailable

func NewGetDevicesNameServiceUnavailable() *GetDevicesNameServiceUnavailable

NewGetDevicesNameServiceUnavailable creates a GetDevicesNameServiceUnavailable with default headers values

func (*GetDevicesNameServiceUnavailable) Error

type GetDevicesNameUnauthorized

type GetDevicesNameUnauthorized struct {
}

GetDevicesNameUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetDevicesNameUnauthorized

func NewGetDevicesNameUnauthorized() *GetDevicesNameUnauthorized

NewGetDevicesNameUnauthorized creates a GetDevicesNameUnauthorized with default headers values

func (*GetDevicesNameUnauthorized) Error

type GetDevicesNotFound

type GetDevicesNotFound struct {
}

GetDevicesNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetDevicesNotFound

func NewGetDevicesNotFound() *GetDevicesNotFound

NewGetDevicesNotFound creates a GetDevicesNotFound with default headers values

func (*GetDevicesNotFound) Error

func (o *GetDevicesNotFound) Error() string

type GetDevicesOK

type GetDevicesOK struct {
	Payload *GetDevicesOKBody
}

GetDevicesOK handles this case with default header values.

The above command returns results like this:

func NewGetDevicesOK

func NewGetDevicesOK() *GetDevicesOK

NewGetDevicesOK creates a GetDevicesOK with default headers values

func (*GetDevicesOK) Error

func (o *GetDevicesOK) Error() string

func (*GetDevicesOK) GetPayload

func (o *GetDevicesOK) GetPayload() *GetDevicesOKBody

type GetDevicesOKBody

type GetDevicesOKBody struct {

	// devices
	Devices models.Devices `json:"Devices"`
}

GetDevicesOKBody get devices o k body swagger:model GetDevicesOKBody

func (*GetDevicesOKBody) MarshalBinary

func (o *GetDevicesOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDevicesOKBody) UnmarshalBinary

func (o *GetDevicesOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDevicesOKBody) Validate

func (o *GetDevicesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get devices o k body

type GetDevicesParams

type GetDevicesParams struct {

	/*AssetNo
	  filter by asset # (Added in v6.0.0)

	*/
	AssetNo *string
	/*BladeHostName
	  filter by blade host name

	*/
	BladeHostName *string
	/*Building
	  filter by building name

	*/
	Building *string
	/*BuildingID
	  filter by building ID (Added in v5.9.0)

	*/
	BuildingID *string
	/*CustomFieldsAnd
	  filter by custom fields, and filter, format of key1:value1,key2:value2

	*/
	CustomFieldsAnd *string
	/*CustomFieldsOr
	  filter by custom fields, or filter, format of key1:value1,key2:value2

	*/
	CustomFieldsOr *string
	/*Customer
	  filter by customer name

	*/
	Customer *string
	/*DeviceSubType
	  filter by device sub type (Added in v14.7.2)

	*/
	DeviceSubType *string
	/*DeviceSubTypeID
	  filter by device sub type id (Added in v14.7.2)

	*/
	DeviceSubTypeID *string
	/*FirstAddedGt
	  first added greater date YYYY-MM-DD format

	*/
	FirstAddedGt *string
	/*FirstAddedLt
	  first added less than date YYYY-MM-DD format

	*/
	FirstAddedLt *string
	/*Hardware
	  filter by name of hardware model, comma separated for multiple hardware models (or filter). (Added in v6.3.2)

	*/
	Hardware *string
	/*HardwareIds
	  filter by ID of hardware models, comma separated

	*/
	HardwareIds *string
	/*InService
	  filter by whether in service or not. Use yes or no.

	*/
	InService *string
	/*IsItBladeHost
	  filter by whether blade host or not. Use yes or no. (Added in v6.3.2)

	*/
	IsItBladeHost *string
	/*IsItSwitch
	  filter by whether switch or not. Use yes or no. (Added in v6.3.2)

	*/
	IsItSwitch *string
	/*IsItVirtualHost
	  filter by whether virtual host or not. Use yes or no. (Added in v6.3.2)

	*/
	IsItVirtualHost *string
	/*LastUpdatedGt
	  last updated greater than date YYYY-MM-DD format

	*/
	LastUpdatedGt *string
	/*LastUpdatedLt
	  last updated less than date YYYY-MM-DD format

	*/
	LastUpdatedLt *string
	/*Name
	  filter by name (Added in v6.0.0)

	*/
	Name *string
	/*ObjectCategory
	  filter by object category

	*/
	ObjectCategory *string
	/*ObjectCategoryID
	  filter by object category ID

	*/
	ObjectCategoryID *string
	/*Os
	  filter by OS name (added in v8.3.0)

	*/
	Os *string
	/*Rack
	  filter by rack name. Only works if rack ID is not present (Added in v5.9.0)

	*/
	Rack *string
	/*RackID
	  filter by rack ID (Added in v5.9.0)

	*/
	RackID *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
	/*SerialNo
	  filter by serial # (Added in v6.0.0)

	*/
	SerialNo *string
	/*SerialNoContains
	  filter by partial serial match (Added in 9.7.1)

	*/
	SerialNoContains *string
	/*ServiceLevel
	  filter by service level name

	*/
	ServiceLevel *string
	/*Tags
	  filter by tags. comma separated for multiple tags (This is an OR filter, gets all the devices for all comma separated tags)

	*/
	Tags *string
	/*TagsAnd
	  filter by all the tags, separated by comma. (This is an AND filter and all tags have to match for filter, this was added in v6.3.1)

	*/
	TagsAnd *string
	/*Type
	  filter by device type (physical, virtual, blade, other, cluster, or unknown)

	*/
	Type *string
	/*UUID
	  filter by uuid (exact match) (Added in v6.3.2)

	*/
	UUID *string
	/*VirtualHostName
	  filter by virtual host name

	*/
	VirtualHostName *string
	/*VirtualSubtype
	  filter by virtual subtype (added in v8.3.2)

	*/
	VirtualSubtype *string

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

GetDevicesParams contains all the parameters to send to the API endpoint for the get devices operation typically these are written to a http.Request

func NewGetDevicesParams

func NewGetDevicesParams() *GetDevicesParams

NewGetDevicesParams creates a new GetDevicesParams object with the default values initialized.

func NewGetDevicesParamsWithContext

func NewGetDevicesParamsWithContext(ctx context.Context) *GetDevicesParams

NewGetDevicesParamsWithContext creates a new GetDevicesParams object with the default values initialized, and the ability to set a context for a request

func NewGetDevicesParamsWithHTTPClient

func NewGetDevicesParamsWithHTTPClient(client *http.Client) *GetDevicesParams

NewGetDevicesParamsWithHTTPClient creates a new GetDevicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDevicesParamsWithTimeout

func NewGetDevicesParamsWithTimeout(timeout time.Duration) *GetDevicesParams

NewGetDevicesParamsWithTimeout creates a new GetDevicesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDevicesParams) SetAssetNo

func (o *GetDevicesParams) SetAssetNo(assetNo *string)

SetAssetNo adds the assetNo to the get devices params

func (*GetDevicesParams) SetBladeHostName

func (o *GetDevicesParams) SetBladeHostName(bladeHostName *string)

SetBladeHostName adds the bladeHostName to the get devices params

func (*GetDevicesParams) SetBuilding

func (o *GetDevicesParams) SetBuilding(building *string)

SetBuilding adds the building to the get devices params

func (*GetDevicesParams) SetBuildingID

func (o *GetDevicesParams) SetBuildingID(buildingID *string)

SetBuildingID adds the buildingId to the get devices params

func (*GetDevicesParams) SetContext

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

SetContext adds the context to the get devices params

func (*GetDevicesParams) SetCustomFieldsAnd

func (o *GetDevicesParams) SetCustomFieldsAnd(customFieldsAnd *string)

SetCustomFieldsAnd adds the customFieldsAnd to the get devices params

func (*GetDevicesParams) SetCustomFieldsOr

func (o *GetDevicesParams) SetCustomFieldsOr(customFieldsOr *string)

SetCustomFieldsOr adds the customFieldsOr to the get devices params

func (*GetDevicesParams) SetCustomer

func (o *GetDevicesParams) SetCustomer(customer *string)

SetCustomer adds the customer to the get devices params

func (*GetDevicesParams) SetDeviceSubType

func (o *GetDevicesParams) SetDeviceSubType(deviceSubType *string)

SetDeviceSubType adds the deviceSubType to the get devices params

func (*GetDevicesParams) SetDeviceSubTypeID

func (o *GetDevicesParams) SetDeviceSubTypeID(deviceSubTypeID *string)

SetDeviceSubTypeID adds the deviceSubTypeId to the get devices params

func (*GetDevicesParams) SetFirstAddedGt

func (o *GetDevicesParams) SetFirstAddedGt(firstAddedGt *string)

SetFirstAddedGt adds the firstAddedGt to the get devices params

func (*GetDevicesParams) SetFirstAddedLt

func (o *GetDevicesParams) SetFirstAddedLt(firstAddedLt *string)

SetFirstAddedLt adds the firstAddedLt to the get devices params

func (*GetDevicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get devices params

func (*GetDevicesParams) SetHardware

func (o *GetDevicesParams) SetHardware(hardware *string)

SetHardware adds the hardware to the get devices params

func (*GetDevicesParams) SetHardwareIds

func (o *GetDevicesParams) SetHardwareIds(hardwareIds *string)

SetHardwareIds adds the hardwareIds to the get devices params

func (*GetDevicesParams) SetInService

func (o *GetDevicesParams) SetInService(inService *string)

SetInService adds the inService to the get devices params

func (*GetDevicesParams) SetIsItBladeHost

func (o *GetDevicesParams) SetIsItBladeHost(isItBladeHost *string)

SetIsItBladeHost adds the isItBladeHost to the get devices params

func (*GetDevicesParams) SetIsItSwitch

func (o *GetDevicesParams) SetIsItSwitch(isItSwitch *string)

SetIsItSwitch adds the isItSwitch to the get devices params

func (*GetDevicesParams) SetIsItVirtualHost

func (o *GetDevicesParams) SetIsItVirtualHost(isItVirtualHost *string)

SetIsItVirtualHost adds the isItVirtualHost to the get devices params

func (*GetDevicesParams) SetLastUpdatedGt

func (o *GetDevicesParams) SetLastUpdatedGt(lastUpdatedGt *string)

SetLastUpdatedGt adds the lastUpdatedGt to the get devices params

func (*GetDevicesParams) SetLastUpdatedLt

func (o *GetDevicesParams) SetLastUpdatedLt(lastUpdatedLt *string)

SetLastUpdatedLt adds the lastUpdatedLt to the get devices params

func (*GetDevicesParams) SetName

func (o *GetDevicesParams) SetName(name *string)

SetName adds the name to the get devices params

func (*GetDevicesParams) SetObjectCategory

func (o *GetDevicesParams) SetObjectCategory(objectCategory *string)

SetObjectCategory adds the objectCategory to the get devices params

func (*GetDevicesParams) SetObjectCategoryID

func (o *GetDevicesParams) SetObjectCategoryID(objectCategoryID *string)

SetObjectCategoryID adds the objectCategoryId to the get devices params

func (*GetDevicesParams) SetOs

func (o *GetDevicesParams) SetOs(os *string)

SetOs adds the os to the get devices params

func (*GetDevicesParams) SetRack

func (o *GetDevicesParams) SetRack(rack *string)

SetRack adds the rack to the get devices params

func (*GetDevicesParams) SetRackID

func (o *GetDevicesParams) SetRackID(rackID *string)

SetRackID adds the rackId to the get devices params

func (*GetDevicesParams) SetRoom

func (o *GetDevicesParams) SetRoom(room *string)

SetRoom adds the room to the get devices params

func (*GetDevicesParams) SetRoomID

func (o *GetDevicesParams) SetRoomID(roomID *string)

SetRoomID adds the roomId to the get devices params

func (*GetDevicesParams) SetSerialNo

func (o *GetDevicesParams) SetSerialNo(serialNo *string)

SetSerialNo adds the serialNo to the get devices params

func (*GetDevicesParams) SetSerialNoContains

func (o *GetDevicesParams) SetSerialNoContains(serialNoContains *string)

SetSerialNoContains adds the serialNoContains to the get devices params

func (*GetDevicesParams) SetServiceLevel

func (o *GetDevicesParams) SetServiceLevel(serviceLevel *string)

SetServiceLevel adds the serviceLevel to the get devices params

func (*GetDevicesParams) SetTags

func (o *GetDevicesParams) SetTags(tags *string)

SetTags adds the tags to the get devices params

func (*GetDevicesParams) SetTagsAnd

func (o *GetDevicesParams) SetTagsAnd(tagsAnd *string)

SetTagsAnd adds the tagsAnd to the get devices params

func (*GetDevicesParams) SetTimeout

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

SetTimeout adds the timeout to the get devices params

func (*GetDevicesParams) SetType

func (o *GetDevicesParams) SetType(typeVar *string)

SetType adds the type to the get devices params

func (*GetDevicesParams) SetUUID

func (o *GetDevicesParams) SetUUID(uuid *string)

SetUUID adds the uuid to the get devices params

func (*GetDevicesParams) SetVirtualHostName

func (o *GetDevicesParams) SetVirtualHostName(virtualHostName *string)

SetVirtualHostName adds the virtualHostName to the get devices params

func (*GetDevicesParams) SetVirtualSubtype

func (o *GetDevicesParams) SetVirtualSubtype(virtualSubtype *string)

SetVirtualSubtype adds the virtualSubtype to the get devices params

func (*GetDevicesParams) WithAssetNo

func (o *GetDevicesParams) WithAssetNo(assetNo *string) *GetDevicesParams

WithAssetNo adds the assetNo to the get devices params

func (*GetDevicesParams) WithBladeHostName

func (o *GetDevicesParams) WithBladeHostName(bladeHostName *string) *GetDevicesParams

WithBladeHostName adds the bladeHostName to the get devices params

func (*GetDevicesParams) WithBuilding

func (o *GetDevicesParams) WithBuilding(building *string) *GetDevicesParams

WithBuilding adds the building to the get devices params

func (*GetDevicesParams) WithBuildingID

func (o *GetDevicesParams) WithBuildingID(buildingID *string) *GetDevicesParams

WithBuildingID adds the buildingID to the get devices params

func (*GetDevicesParams) WithContext

func (o *GetDevicesParams) WithContext(ctx context.Context) *GetDevicesParams

WithContext adds the context to the get devices params

func (*GetDevicesParams) WithCustomFieldsAnd

func (o *GetDevicesParams) WithCustomFieldsAnd(customFieldsAnd *string) *GetDevicesParams

WithCustomFieldsAnd adds the customFieldsAnd to the get devices params

func (*GetDevicesParams) WithCustomFieldsOr

func (o *GetDevicesParams) WithCustomFieldsOr(customFieldsOr *string) *GetDevicesParams

WithCustomFieldsOr adds the customFieldsOr to the get devices params

func (*GetDevicesParams) WithCustomer

func (o *GetDevicesParams) WithCustomer(customer *string) *GetDevicesParams

WithCustomer adds the customer to the get devices params

func (*GetDevicesParams) WithDeviceSubType

func (o *GetDevicesParams) WithDeviceSubType(deviceSubType *string) *GetDevicesParams

WithDeviceSubType adds the deviceSubType to the get devices params

func (*GetDevicesParams) WithDeviceSubTypeID

func (o *GetDevicesParams) WithDeviceSubTypeID(deviceSubTypeID *string) *GetDevicesParams

WithDeviceSubTypeID adds the deviceSubTypeID to the get devices params

func (*GetDevicesParams) WithFirstAddedGt

func (o *GetDevicesParams) WithFirstAddedGt(firstAddedGt *string) *GetDevicesParams

WithFirstAddedGt adds the firstAddedGt to the get devices params

func (*GetDevicesParams) WithFirstAddedLt

func (o *GetDevicesParams) WithFirstAddedLt(firstAddedLt *string) *GetDevicesParams

WithFirstAddedLt adds the firstAddedLt to the get devices params

func (*GetDevicesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get devices params

func (*GetDevicesParams) WithHardware

func (o *GetDevicesParams) WithHardware(hardware *string) *GetDevicesParams

WithHardware adds the hardware to the get devices params

func (*GetDevicesParams) WithHardwareIds

func (o *GetDevicesParams) WithHardwareIds(hardwareIds *string) *GetDevicesParams

WithHardwareIds adds the hardwareIds to the get devices params

func (*GetDevicesParams) WithInService

func (o *GetDevicesParams) WithInService(inService *string) *GetDevicesParams

WithInService adds the inService to the get devices params

func (*GetDevicesParams) WithIsItBladeHost

func (o *GetDevicesParams) WithIsItBladeHost(isItBladeHost *string) *GetDevicesParams

WithIsItBladeHost adds the isItBladeHost to the get devices params

func (*GetDevicesParams) WithIsItSwitch

func (o *GetDevicesParams) WithIsItSwitch(isItSwitch *string) *GetDevicesParams

WithIsItSwitch adds the isItSwitch to the get devices params

func (*GetDevicesParams) WithIsItVirtualHost

func (o *GetDevicesParams) WithIsItVirtualHost(isItVirtualHost *string) *GetDevicesParams

WithIsItVirtualHost adds the isItVirtualHost to the get devices params

func (*GetDevicesParams) WithLastUpdatedGt

func (o *GetDevicesParams) WithLastUpdatedGt(lastUpdatedGt *string) *GetDevicesParams

WithLastUpdatedGt adds the lastUpdatedGt to the get devices params

func (*GetDevicesParams) WithLastUpdatedLt

func (o *GetDevicesParams) WithLastUpdatedLt(lastUpdatedLt *string) *GetDevicesParams

WithLastUpdatedLt adds the lastUpdatedLt to the get devices params

func (*GetDevicesParams) WithName

func (o *GetDevicesParams) WithName(name *string) *GetDevicesParams

WithName adds the name to the get devices params

func (*GetDevicesParams) WithObjectCategory

func (o *GetDevicesParams) WithObjectCategory(objectCategory *string) *GetDevicesParams

WithObjectCategory adds the objectCategory to the get devices params

func (*GetDevicesParams) WithObjectCategoryID

func (o *GetDevicesParams) WithObjectCategoryID(objectCategoryID *string) *GetDevicesParams

WithObjectCategoryID adds the objectCategoryID to the get devices params

func (*GetDevicesParams) WithOs

func (o *GetDevicesParams) WithOs(os *string) *GetDevicesParams

WithOs adds the os to the get devices params

func (*GetDevicesParams) WithRack

func (o *GetDevicesParams) WithRack(rack *string) *GetDevicesParams

WithRack adds the rack to the get devices params

func (*GetDevicesParams) WithRackID

func (o *GetDevicesParams) WithRackID(rackID *string) *GetDevicesParams

WithRackID adds the rackID to the get devices params

func (*GetDevicesParams) WithRoom

func (o *GetDevicesParams) WithRoom(room *string) *GetDevicesParams

WithRoom adds the room to the get devices params

func (*GetDevicesParams) WithRoomID

func (o *GetDevicesParams) WithRoomID(roomID *string) *GetDevicesParams

WithRoomID adds the roomID to the get devices params

func (*GetDevicesParams) WithSerialNo

func (o *GetDevicesParams) WithSerialNo(serialNo *string) *GetDevicesParams

WithSerialNo adds the serialNo to the get devices params

func (*GetDevicesParams) WithSerialNoContains

func (o *GetDevicesParams) WithSerialNoContains(serialNoContains *string) *GetDevicesParams

WithSerialNoContains adds the serialNoContains to the get devices params

func (*GetDevicesParams) WithServiceLevel

func (o *GetDevicesParams) WithServiceLevel(serviceLevel *string) *GetDevicesParams

WithServiceLevel adds the serviceLevel to the get devices params

func (*GetDevicesParams) WithTags

func (o *GetDevicesParams) WithTags(tags *string) *GetDevicesParams

WithTags adds the tags to the get devices params

func (*GetDevicesParams) WithTagsAnd

func (o *GetDevicesParams) WithTagsAnd(tagsAnd *string) *GetDevicesParams

WithTagsAnd adds the tagsAnd to the get devices params

func (*GetDevicesParams) WithTimeout

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

WithTimeout adds the timeout to the get devices params

func (*GetDevicesParams) WithType

func (o *GetDevicesParams) WithType(typeVar *string) *GetDevicesParams

WithType adds the typeVar to the get devices params

func (*GetDevicesParams) WithUUID

func (o *GetDevicesParams) WithUUID(uuid *string) *GetDevicesParams

WithUUID adds the uuid to the get devices params

func (*GetDevicesParams) WithVirtualHostName

func (o *GetDevicesParams) WithVirtualHostName(virtualHostName *string) *GetDevicesParams

WithVirtualHostName adds the virtualHostName to the get devices params

func (*GetDevicesParams) WithVirtualSubtype

func (o *GetDevicesParams) WithVirtualSubtype(virtualSubtype *string) *GetDevicesParams

WithVirtualSubtype adds the virtualSubtype to the get devices params

func (*GetDevicesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDevicesReader

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

GetDevicesReader is a Reader for the GetDevices structure.

func (*GetDevicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDevicesSerialBadRequest

type GetDevicesSerialBadRequest struct {
}

GetDevicesSerialBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetDevicesSerialBadRequest

func NewGetDevicesSerialBadRequest() *GetDevicesSerialBadRequest

NewGetDevicesSerialBadRequest creates a GetDevicesSerialBadRequest with default headers values

func (*GetDevicesSerialBadRequest) Error

type GetDevicesSerialForbidden

type GetDevicesSerialForbidden struct {
}

GetDevicesSerialForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetDevicesSerialForbidden

func NewGetDevicesSerialForbidden() *GetDevicesSerialForbidden

NewGetDevicesSerialForbidden creates a GetDevicesSerialForbidden with default headers values

func (*GetDevicesSerialForbidden) Error

func (o *GetDevicesSerialForbidden) Error() string

type GetDevicesSerialGone

type GetDevicesSerialGone struct {
}

GetDevicesSerialGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetDevicesSerialGone

func NewGetDevicesSerialGone() *GetDevicesSerialGone

NewGetDevicesSerialGone creates a GetDevicesSerialGone with default headers values

func (*GetDevicesSerialGone) Error

func (o *GetDevicesSerialGone) Error() string

type GetDevicesSerialInternalServerError

type GetDevicesSerialInternalServerError struct {
}

GetDevicesSerialInternalServerError 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 NewGetDevicesSerialInternalServerError

func NewGetDevicesSerialInternalServerError() *GetDevicesSerialInternalServerError

NewGetDevicesSerialInternalServerError creates a GetDevicesSerialInternalServerError with default headers values

func (*GetDevicesSerialInternalServerError) Error

type GetDevicesSerialMethodNotAllowed

type GetDevicesSerialMethodNotAllowed struct {
}

GetDevicesSerialMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetDevicesSerialMethodNotAllowed

func NewGetDevicesSerialMethodNotAllowed() *GetDevicesSerialMethodNotAllowed

NewGetDevicesSerialMethodNotAllowed creates a GetDevicesSerialMethodNotAllowed with default headers values

func (*GetDevicesSerialMethodNotAllowed) Error

type GetDevicesSerialNotFound

type GetDevicesSerialNotFound struct {
}

GetDevicesSerialNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetDevicesSerialNotFound

func NewGetDevicesSerialNotFound() *GetDevicesSerialNotFound

NewGetDevicesSerialNotFound creates a GetDevicesSerialNotFound with default headers values

func (*GetDevicesSerialNotFound) Error

func (o *GetDevicesSerialNotFound) Error() string

type GetDevicesSerialOK

type GetDevicesSerialOK struct {
	Payload *models.DevicesCustomerID
}

GetDevicesSerialOK handles this case with default header values.

The above command returns results like this:

func NewGetDevicesSerialOK

func NewGetDevicesSerialOK() *GetDevicesSerialOK

NewGetDevicesSerialOK creates a GetDevicesSerialOK with default headers values

func (*GetDevicesSerialOK) Error

func (o *GetDevicesSerialOK) Error() string

func (*GetDevicesSerialOK) GetPayload

func (o *GetDevicesSerialOK) GetPayload() *models.DevicesCustomerID

type GetDevicesSerialParams

type GetDevicesSerialParams struct {

	/*DeviceSerial*/
	DeviceSerial strfmt.UUID
	/*IncludeCols
	  do not return all columns just the ones specified. For example, ?include_cols=name, device_id, rack will only result in name, device_id, and rack included in the output. The following column names can be part of include_cols: name, device_id, rack, name, device_id, serial_no, asset_no, uuid, notes, in_service, service_level, type, id, last_updated, tags, customer_id, customer, hw_model, hw_size, manufacturer, hw_depth, rack, start_at, rack_id, orientation, row, room, building, blade_host_name, blade_host_id, slot_number, virtual_host_name, location, device_sub_type, os, osarch, osver, osverno, custom_fields, device_purchase_line_items, device_external_links, ip_addresses, mac_addresses, cpucount, cpucore, cpuspeed, ram, hddcount, hddsize, hddraid, hddraid_type, hdd_details, pdu_mapping_url,modules, vms, devices, aliases, xpos, ucs_manager

	*/
	IncludeCols *string

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

GetDevicesSerialParams contains all the parameters to send to the API endpoint for the get devices serial operation typically these are written to a http.Request

func NewGetDevicesSerialParams

func NewGetDevicesSerialParams() *GetDevicesSerialParams

NewGetDevicesSerialParams creates a new GetDevicesSerialParams object with the default values initialized.

func NewGetDevicesSerialParamsWithContext

func NewGetDevicesSerialParamsWithContext(ctx context.Context) *GetDevicesSerialParams

NewGetDevicesSerialParamsWithContext creates a new GetDevicesSerialParams object with the default values initialized, and the ability to set a context for a request

func NewGetDevicesSerialParamsWithHTTPClient

func NewGetDevicesSerialParamsWithHTTPClient(client *http.Client) *GetDevicesSerialParams

NewGetDevicesSerialParamsWithHTTPClient creates a new GetDevicesSerialParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDevicesSerialParamsWithTimeout

func NewGetDevicesSerialParamsWithTimeout(timeout time.Duration) *GetDevicesSerialParams

NewGetDevicesSerialParamsWithTimeout creates a new GetDevicesSerialParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDevicesSerialParams) SetContext

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

SetContext adds the context to the get devices serial params

func (*GetDevicesSerialParams) SetDeviceSerial

func (o *GetDevicesSerialParams) SetDeviceSerial(deviceSerial strfmt.UUID)

SetDeviceSerial adds the deviceSerial to the get devices serial params

func (*GetDevicesSerialParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get devices serial params

func (*GetDevicesSerialParams) SetIncludeCols

func (o *GetDevicesSerialParams) SetIncludeCols(includeCols *string)

SetIncludeCols adds the includeCols to the get devices serial params

func (*GetDevicesSerialParams) SetTimeout

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

SetTimeout adds the timeout to the get devices serial params

func (*GetDevicesSerialParams) WithContext

WithContext adds the context to the get devices serial params

func (*GetDevicesSerialParams) WithDeviceSerial

func (o *GetDevicesSerialParams) WithDeviceSerial(deviceSerial strfmt.UUID) *GetDevicesSerialParams

WithDeviceSerial adds the deviceSerial to the get devices serial params

func (*GetDevicesSerialParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get devices serial params

func (*GetDevicesSerialParams) WithIncludeCols

func (o *GetDevicesSerialParams) WithIncludeCols(includeCols *string) *GetDevicesSerialParams

WithIncludeCols adds the includeCols to the get devices serial params

func (*GetDevicesSerialParams) WithTimeout

WithTimeout adds the timeout to the get devices serial params

func (*GetDevicesSerialParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDevicesSerialReader

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

GetDevicesSerialReader is a Reader for the GetDevicesSerial structure.

func (*GetDevicesSerialReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDevicesSerialServiceUnavailable

type GetDevicesSerialServiceUnavailable struct {
}

GetDevicesSerialServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetDevicesSerialServiceUnavailable

func NewGetDevicesSerialServiceUnavailable() *GetDevicesSerialServiceUnavailable

NewGetDevicesSerialServiceUnavailable creates a GetDevicesSerialServiceUnavailable with default headers values

func (*GetDevicesSerialServiceUnavailable) Error

type GetDevicesSerialUnauthorized

type GetDevicesSerialUnauthorized struct {
}

GetDevicesSerialUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetDevicesSerialUnauthorized

func NewGetDevicesSerialUnauthorized() *GetDevicesSerialUnauthorized

NewGetDevicesSerialUnauthorized creates a GetDevicesSerialUnauthorized with default headers values

func (*GetDevicesSerialUnauthorized) Error

type GetDevicesServiceUnavailable

type GetDevicesServiceUnavailable struct {
}

GetDevicesServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetDevicesServiceUnavailable

func NewGetDevicesServiceUnavailable() *GetDevicesServiceUnavailable

NewGetDevicesServiceUnavailable creates a GetDevicesServiceUnavailable with default headers values

func (*GetDevicesServiceUnavailable) Error

type GetDevicesUnauthorized

type GetDevicesUnauthorized struct {
}

GetDevicesUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetDevicesUnauthorized

func NewGetDevicesUnauthorized() *GetDevicesUnauthorized

NewGetDevicesUnauthorized creates a GetDevicesUnauthorized with default headers values

func (*GetDevicesUnauthorized) Error

func (o *GetDevicesUnauthorized) Error() string

type MountpointDetailsItems0

type MountpointDetailsItems0 struct {

	// capacity
	Capacity interface{} `json:"capacity,omitempty"`

	// device
	Device interface{} `json:"device,omitempty"`

	// filesystem
	Filesystem interface{} `json:"filesystem,omitempty"`

	// free capacity
	FreeCapacity interface{} `json:"free_capacity,omitempty"`

	// fstype
	Fstype interface{} `json:"fstype,omitempty"`

	// id
	ID interface{} `json:"id,omitempty"`

	// label
	Label interface{} `json:"label,omitempty"`

	// last updated
	LastUpdated interface{} `json:"last_updated,omitempty"`

	// mountpoint
	Mountpoint interface{} `json:"mountpoint,omitempty"`
}

MountpointDetailsItems0 mountpoint details items0 swagger:model MountpointDetailsItems0

func (*MountpointDetailsItems0) MarshalBinary

func (o *MountpointDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MountpointDetailsItems0) UnmarshalBinary

func (o *MountpointDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MountpointDetailsItems0) Validate

func (o *MountpointDetailsItems0) Validate(formats strfmt.Registry) error

Validate validates this mountpoint details items0

type PostCloudInstanceDeviceBadRequest

type PostCloudInstanceDeviceBadRequest struct {
}

PostCloudInstanceDeviceBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostCloudInstanceDeviceBadRequest

func NewPostCloudInstanceDeviceBadRequest() *PostCloudInstanceDeviceBadRequest

NewPostCloudInstanceDeviceBadRequest creates a PostCloudInstanceDeviceBadRequest with default headers values

func (*PostCloudInstanceDeviceBadRequest) Error

type PostCloudInstanceDeviceForbidden

type PostCloudInstanceDeviceForbidden struct {
}

PostCloudInstanceDeviceForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostCloudInstanceDeviceForbidden

func NewPostCloudInstanceDeviceForbidden() *PostCloudInstanceDeviceForbidden

NewPostCloudInstanceDeviceForbidden creates a PostCloudInstanceDeviceForbidden with default headers values

func (*PostCloudInstanceDeviceForbidden) Error

type PostCloudInstanceDeviceGone

type PostCloudInstanceDeviceGone struct {
}

PostCloudInstanceDeviceGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPostCloudInstanceDeviceGone

func NewPostCloudInstanceDeviceGone() *PostCloudInstanceDeviceGone

NewPostCloudInstanceDeviceGone creates a PostCloudInstanceDeviceGone with default headers values

func (*PostCloudInstanceDeviceGone) Error

type PostCloudInstanceDeviceInternalServerError

type PostCloudInstanceDeviceInternalServerError struct {
}

PostCloudInstanceDeviceInternalServerError 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 NewPostCloudInstanceDeviceInternalServerError

func NewPostCloudInstanceDeviceInternalServerError() *PostCloudInstanceDeviceInternalServerError

NewPostCloudInstanceDeviceInternalServerError creates a PostCloudInstanceDeviceInternalServerError with default headers values

func (*PostCloudInstanceDeviceInternalServerError) Error

type PostCloudInstanceDeviceMethodNotAllowed

type PostCloudInstanceDeviceMethodNotAllowed struct {
}

PostCloudInstanceDeviceMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPostCloudInstanceDeviceMethodNotAllowed

func NewPostCloudInstanceDeviceMethodNotAllowed() *PostCloudInstanceDeviceMethodNotAllowed

NewPostCloudInstanceDeviceMethodNotAllowed creates a PostCloudInstanceDeviceMethodNotAllowed with default headers values

func (*PostCloudInstanceDeviceMethodNotAllowed) Error

type PostCloudInstanceDeviceNotFound

type PostCloudInstanceDeviceNotFound struct {
}

PostCloudInstanceDeviceNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostCloudInstanceDeviceNotFound

func NewPostCloudInstanceDeviceNotFound() *PostCloudInstanceDeviceNotFound

NewPostCloudInstanceDeviceNotFound creates a PostCloudInstanceDeviceNotFound with default headers values

func (*PostCloudInstanceDeviceNotFound) Error

type PostCloudInstanceDeviceOK

type PostCloudInstanceDeviceOK struct {
	Payload *PostCloudInstanceDeviceOKBody
}

PostCloudInstanceDeviceOK handles this case with default header values.

The above command returns results like this:

func NewPostCloudInstanceDeviceOK

func NewPostCloudInstanceDeviceOK() *PostCloudInstanceDeviceOK

NewPostCloudInstanceDeviceOK creates a PostCloudInstanceDeviceOK with default headers values

func (*PostCloudInstanceDeviceOK) Error

func (o *PostCloudInstanceDeviceOK) Error() string

func (*PostCloudInstanceDeviceOK) GetPayload

type PostCloudInstanceDeviceOKBody

type PostCloudInstanceDeviceOKBody struct {

	// devices
	Devices models.Devices `json:"devices"`
}

PostCloudInstanceDeviceOKBody The above command returns results like this: swagger:model PostCloudInstanceDeviceOKBody

func (*PostCloudInstanceDeviceOKBody) MarshalBinary

func (o *PostCloudInstanceDeviceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostCloudInstanceDeviceOKBody) UnmarshalBinary

func (o *PostCloudInstanceDeviceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostCloudInstanceDeviceOKBody) Validate

func (o *PostCloudInstanceDeviceOKBody) Validate(formats strfmt.Registry) error

Validate validates this post cloud instance device o k body

type PostCloudInstanceDeviceParams

type PostCloudInstanceDeviceParams struct {

	/*Device
	  Device name

	*/
	Device *string
	/*DeviceID
	  Device ID

	*/
	DeviceID *int64
	/*InstanceID
	  The cloud instance ID of the device

	*/
	InstanceID *int64
	/*Location
	  Location/region of instance deployment

	*/
	Location *string
	/*Notes
	  Any additional notes

	*/
	Notes *string
	/*Status
	  Instance status (ie, running, stopped)

	*/
	Status *string
	/*Vendor
	  The cloud vendor

	*/
	Vendor *string

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

PostCloudInstanceDeviceParams contains all the parameters to send to the API endpoint for the post cloud instance device operation typically these are written to a http.Request

func NewPostCloudInstanceDeviceParams

func NewPostCloudInstanceDeviceParams() *PostCloudInstanceDeviceParams

NewPostCloudInstanceDeviceParams creates a new PostCloudInstanceDeviceParams object with the default values initialized.

func NewPostCloudInstanceDeviceParamsWithContext

func NewPostCloudInstanceDeviceParamsWithContext(ctx context.Context) *PostCloudInstanceDeviceParams

NewPostCloudInstanceDeviceParamsWithContext creates a new PostCloudInstanceDeviceParams object with the default values initialized, and the ability to set a context for a request

func NewPostCloudInstanceDeviceParamsWithHTTPClient

func NewPostCloudInstanceDeviceParamsWithHTTPClient(client *http.Client) *PostCloudInstanceDeviceParams

NewPostCloudInstanceDeviceParamsWithHTTPClient creates a new PostCloudInstanceDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostCloudInstanceDeviceParamsWithTimeout

func NewPostCloudInstanceDeviceParamsWithTimeout(timeout time.Duration) *PostCloudInstanceDeviceParams

NewPostCloudInstanceDeviceParamsWithTimeout creates a new PostCloudInstanceDeviceParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostCloudInstanceDeviceParams) SetContext

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

SetContext adds the context to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) SetDevice

func (o *PostCloudInstanceDeviceParams) SetDevice(device *string)

SetDevice adds the device to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) SetDeviceID

func (o *PostCloudInstanceDeviceParams) SetDeviceID(deviceID *int64)

SetDeviceID adds the deviceId to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) SetInstanceID

func (o *PostCloudInstanceDeviceParams) SetInstanceID(instanceID *int64)

SetInstanceID adds the instanceId to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) SetLocation

func (o *PostCloudInstanceDeviceParams) SetLocation(location *string)

SetLocation adds the location to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) SetNotes

func (o *PostCloudInstanceDeviceParams) SetNotes(notes *string)

SetNotes adds the notes to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) SetStatus

func (o *PostCloudInstanceDeviceParams) SetStatus(status *string)

SetStatus adds the status to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) SetVendor

func (o *PostCloudInstanceDeviceParams) SetVendor(vendor *string)

SetVendor adds the vendor to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) WithContext

WithContext adds the context to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) WithDevice

WithDevice adds the device to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) WithDeviceID

WithDeviceID adds the deviceID to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) WithInstanceID

func (o *PostCloudInstanceDeviceParams) WithInstanceID(instanceID *int64) *PostCloudInstanceDeviceParams

WithInstanceID adds the instanceID to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) WithLocation

WithLocation adds the location to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) WithNotes

WithNotes adds the notes to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) WithStatus

WithStatus adds the status to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) WithTimeout

WithTimeout adds the timeout to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) WithVendor

WithVendor adds the vendor to the post cloud instance device params

func (*PostCloudInstanceDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostCloudInstanceDeviceReader

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

PostCloudInstanceDeviceReader is a Reader for the PostCloudInstanceDevice structure.

func (*PostCloudInstanceDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostCloudInstanceDeviceServiceUnavailable

type PostCloudInstanceDeviceServiceUnavailable struct {
}

PostCloudInstanceDeviceServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPostCloudInstanceDeviceServiceUnavailable

func NewPostCloudInstanceDeviceServiceUnavailable() *PostCloudInstanceDeviceServiceUnavailable

NewPostCloudInstanceDeviceServiceUnavailable creates a PostCloudInstanceDeviceServiceUnavailable with default headers values

func (*PostCloudInstanceDeviceServiceUnavailable) Error

type PostCloudInstanceDeviceUnauthorized

type PostCloudInstanceDeviceUnauthorized struct {
}

PostCloudInstanceDeviceUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostCloudInstanceDeviceUnauthorized

func NewPostCloudInstanceDeviceUnauthorized() *PostCloudInstanceDeviceUnauthorized

NewPostCloudInstanceDeviceUnauthorized creates a PostCloudInstanceDeviceUnauthorized with default headers values

func (*PostCloudInstanceDeviceUnauthorized) Error

type PostDeviceBadRequest

type PostDeviceBadRequest struct {
}

PostDeviceBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostDeviceBadRequest

func NewPostDeviceBadRequest() *PostDeviceBadRequest

NewPostDeviceBadRequest creates a PostDeviceBadRequest with default headers values

func (*PostDeviceBadRequest) Error

func (o *PostDeviceBadRequest) Error() string

type PostDeviceForbidden

type PostDeviceForbidden struct {
}

PostDeviceForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostDeviceForbidden

func NewPostDeviceForbidden() *PostDeviceForbidden

NewPostDeviceForbidden creates a PostDeviceForbidden with default headers values

func (*PostDeviceForbidden) Error

func (o *PostDeviceForbidden) Error() string

type PostDeviceGone

type PostDeviceGone struct {
}

PostDeviceGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPostDeviceGone

func NewPostDeviceGone() *PostDeviceGone

NewPostDeviceGone creates a PostDeviceGone with default headers values

func (*PostDeviceGone) Error

func (o *PostDeviceGone) Error() string

type PostDeviceInternalServerError

type PostDeviceInternalServerError struct {
}

PostDeviceInternalServerError 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 NewPostDeviceInternalServerError

func NewPostDeviceInternalServerError() *PostDeviceInternalServerError

NewPostDeviceInternalServerError creates a PostDeviceInternalServerError with default headers values

func (*PostDeviceInternalServerError) Error

type PostDeviceMethodNotAllowed

type PostDeviceMethodNotAllowed struct {
}

PostDeviceMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPostDeviceMethodNotAllowed

func NewPostDeviceMethodNotAllowed() *PostDeviceMethodNotAllowed

NewPostDeviceMethodNotAllowed creates a PostDeviceMethodNotAllowed with default headers values

func (*PostDeviceMethodNotAllowed) Error

type PostDeviceMountpointsBadRequest

type PostDeviceMountpointsBadRequest struct {
}

PostDeviceMountpointsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostDeviceMountpointsBadRequest

func NewPostDeviceMountpointsBadRequest() *PostDeviceMountpointsBadRequest

NewPostDeviceMountpointsBadRequest creates a PostDeviceMountpointsBadRequest with default headers values

func (*PostDeviceMountpointsBadRequest) Error

type PostDeviceMountpointsForbidden

type PostDeviceMountpointsForbidden struct {
}

PostDeviceMountpointsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostDeviceMountpointsForbidden

func NewPostDeviceMountpointsForbidden() *PostDeviceMountpointsForbidden

NewPostDeviceMountpointsForbidden creates a PostDeviceMountpointsForbidden with default headers values

func (*PostDeviceMountpointsForbidden) Error

type PostDeviceMountpointsGone

type PostDeviceMountpointsGone struct {
}

PostDeviceMountpointsGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPostDeviceMountpointsGone

func NewPostDeviceMountpointsGone() *PostDeviceMountpointsGone

NewPostDeviceMountpointsGone creates a PostDeviceMountpointsGone with default headers values

func (*PostDeviceMountpointsGone) Error

func (o *PostDeviceMountpointsGone) Error() string

type PostDeviceMountpointsInternalServerError

type PostDeviceMountpointsInternalServerError struct {
}

PostDeviceMountpointsInternalServerError 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 NewPostDeviceMountpointsInternalServerError

func NewPostDeviceMountpointsInternalServerError() *PostDeviceMountpointsInternalServerError

NewPostDeviceMountpointsInternalServerError creates a PostDeviceMountpointsInternalServerError with default headers values

func (*PostDeviceMountpointsInternalServerError) Error

type PostDeviceMountpointsMethodNotAllowed

type PostDeviceMountpointsMethodNotAllowed struct {
}

PostDeviceMountpointsMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPostDeviceMountpointsMethodNotAllowed

func NewPostDeviceMountpointsMethodNotAllowed() *PostDeviceMountpointsMethodNotAllowed

NewPostDeviceMountpointsMethodNotAllowed creates a PostDeviceMountpointsMethodNotAllowed with default headers values

func (*PostDeviceMountpointsMethodNotAllowed) Error

type PostDeviceMountpointsNotFound

type PostDeviceMountpointsNotFound struct {
}

PostDeviceMountpointsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostDeviceMountpointsNotFound

func NewPostDeviceMountpointsNotFound() *PostDeviceMountpointsNotFound

NewPostDeviceMountpointsNotFound creates a PostDeviceMountpointsNotFound with default headers values

func (*PostDeviceMountpointsNotFound) Error

type PostDeviceMountpointsOK

type PostDeviceMountpointsOK struct {
	Payload *PostDeviceMountpointsOKBody
}

PostDeviceMountpointsOK handles this case with default header values.

The above command returns results like this:

func NewPostDeviceMountpointsOK

func NewPostDeviceMountpointsOK() *PostDeviceMountpointsOK

NewPostDeviceMountpointsOK creates a PostDeviceMountpointsOK with default headers values

func (*PostDeviceMountpointsOK) Error

func (o *PostDeviceMountpointsOK) Error() string

func (*PostDeviceMountpointsOK) GetPayload

type PostDeviceMountpointsOKBody

type PostDeviceMountpointsOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg interface{} `json:"msg,omitempty"`
}

PostDeviceMountpointsOKBody post device mountpoints o k body swagger:model PostDeviceMountpointsOKBody

func (*PostDeviceMountpointsOKBody) MarshalBinary

func (o *PostDeviceMountpointsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostDeviceMountpointsOKBody) UnmarshalBinary

func (o *PostDeviceMountpointsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostDeviceMountpointsOKBody) Validate

func (o *PostDeviceMountpointsOKBody) Validate(formats strfmt.Registry) error

Validate validates this post device mountpoints o k body

type PostDeviceMountpointsParams

type PostDeviceMountpointsParams struct {

	/*Capacity
	  capacity of mountpoint in MB

	*/
	Capacity *string
	/*Device
	  device mountpoint is assigned to

	*/
	Device string
	/*Filesytem
	  mountpoint filesystem

	*/
	Filesytem *string
	/*FreeCapacity
	  free capacity of mountpoint in MB

	*/
	FreeCapacity *string
	/*Fstype
	  mountpoint filesystem type

	*/
	Fstype *string
	/*Label*/
	Label *string
	/*Mountpoint
	  path of the mountpoint

	*/
	Mountpoint string

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

PostDeviceMountpointsParams contains all the parameters to send to the API endpoint for the post device mountpoints operation typically these are written to a http.Request

func NewPostDeviceMountpointsParams

func NewPostDeviceMountpointsParams() *PostDeviceMountpointsParams

NewPostDeviceMountpointsParams creates a new PostDeviceMountpointsParams object with the default values initialized.

func NewPostDeviceMountpointsParamsWithContext

func NewPostDeviceMountpointsParamsWithContext(ctx context.Context) *PostDeviceMountpointsParams

NewPostDeviceMountpointsParamsWithContext creates a new PostDeviceMountpointsParams object with the default values initialized, and the ability to set a context for a request

func NewPostDeviceMountpointsParamsWithHTTPClient

func NewPostDeviceMountpointsParamsWithHTTPClient(client *http.Client) *PostDeviceMountpointsParams

NewPostDeviceMountpointsParamsWithHTTPClient creates a new PostDeviceMountpointsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostDeviceMountpointsParamsWithTimeout

func NewPostDeviceMountpointsParamsWithTimeout(timeout time.Duration) *PostDeviceMountpointsParams

NewPostDeviceMountpointsParamsWithTimeout creates a new PostDeviceMountpointsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostDeviceMountpointsParams) SetCapacity

func (o *PostDeviceMountpointsParams) SetCapacity(capacity *string)

SetCapacity adds the capacity to the post device mountpoints params

func (*PostDeviceMountpointsParams) SetContext

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

SetContext adds the context to the post device mountpoints params

func (*PostDeviceMountpointsParams) SetDevice

func (o *PostDeviceMountpointsParams) SetDevice(device string)

SetDevice adds the device to the post device mountpoints params

func (*PostDeviceMountpointsParams) SetFilesytem

func (o *PostDeviceMountpointsParams) SetFilesytem(filesytem *string)

SetFilesytem adds the filesytem to the post device mountpoints params

func (*PostDeviceMountpointsParams) SetFreeCapacity

func (o *PostDeviceMountpointsParams) SetFreeCapacity(freeCapacity *string)

SetFreeCapacity adds the freeCapacity to the post device mountpoints params

func (*PostDeviceMountpointsParams) SetFstype

func (o *PostDeviceMountpointsParams) SetFstype(fstype *string)

SetFstype adds the fstype to the post device mountpoints params

func (*PostDeviceMountpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post device mountpoints params

func (*PostDeviceMountpointsParams) SetLabel

func (o *PostDeviceMountpointsParams) SetLabel(label *string)

SetLabel adds the label to the post device mountpoints params

func (*PostDeviceMountpointsParams) SetMountpoint

func (o *PostDeviceMountpointsParams) SetMountpoint(mountpoint string)

SetMountpoint adds the mountpoint to the post device mountpoints params

func (*PostDeviceMountpointsParams) SetTimeout

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

SetTimeout adds the timeout to the post device mountpoints params

func (*PostDeviceMountpointsParams) WithCapacity

WithCapacity adds the capacity to the post device mountpoints params

func (*PostDeviceMountpointsParams) WithContext

WithContext adds the context to the post device mountpoints params

func (*PostDeviceMountpointsParams) WithDevice

WithDevice adds the device to the post device mountpoints params

func (*PostDeviceMountpointsParams) WithFilesytem

func (o *PostDeviceMountpointsParams) WithFilesytem(filesytem *string) *PostDeviceMountpointsParams

WithFilesytem adds the filesytem to the post device mountpoints params

func (*PostDeviceMountpointsParams) WithFreeCapacity

func (o *PostDeviceMountpointsParams) WithFreeCapacity(freeCapacity *string) *PostDeviceMountpointsParams

WithFreeCapacity adds the freeCapacity to the post device mountpoints params

func (*PostDeviceMountpointsParams) WithFstype

WithFstype adds the fstype to the post device mountpoints params

func (*PostDeviceMountpointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post device mountpoints params

func (*PostDeviceMountpointsParams) WithLabel

WithLabel adds the label to the post device mountpoints params

func (*PostDeviceMountpointsParams) WithMountpoint

func (o *PostDeviceMountpointsParams) WithMountpoint(mountpoint string) *PostDeviceMountpointsParams

WithMountpoint adds the mountpoint to the post device mountpoints params

func (*PostDeviceMountpointsParams) WithTimeout

WithTimeout adds the timeout to the post device mountpoints params

func (*PostDeviceMountpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostDeviceMountpointsReader

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

PostDeviceMountpointsReader is a Reader for the PostDeviceMountpoints structure.

func (*PostDeviceMountpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDeviceMountpointsServiceUnavailable

type PostDeviceMountpointsServiceUnavailable struct {
}

PostDeviceMountpointsServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPostDeviceMountpointsServiceUnavailable

func NewPostDeviceMountpointsServiceUnavailable() *PostDeviceMountpointsServiceUnavailable

NewPostDeviceMountpointsServiceUnavailable creates a PostDeviceMountpointsServiceUnavailable with default headers values

func (*PostDeviceMountpointsServiceUnavailable) Error

type PostDeviceMountpointsUnauthorized

type PostDeviceMountpointsUnauthorized struct {
}

PostDeviceMountpointsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostDeviceMountpointsUnauthorized

func NewPostDeviceMountpointsUnauthorized() *PostDeviceMountpointsUnauthorized

NewPostDeviceMountpointsUnauthorized creates a PostDeviceMountpointsUnauthorized with default headers values

func (*PostDeviceMountpointsUnauthorized) Error

type PostDeviceNotFound

type PostDeviceNotFound struct {
}

PostDeviceNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostDeviceNotFound

func NewPostDeviceNotFound() *PostDeviceNotFound

NewPostDeviceNotFound creates a PostDeviceNotFound with default headers values

func (*PostDeviceNotFound) Error

func (o *PostDeviceNotFound) Error() string

type PostDeviceOK

type PostDeviceOK struct {
	Payload *PostDeviceOKBody
}

PostDeviceOK handles this case with default header values.

The above command returns results like this:

func NewPostDeviceOK

func NewPostDeviceOK() *PostDeviceOK

NewPostDeviceOK creates a PostDeviceOK with default headers values

func (*PostDeviceOK) Error

func (o *PostDeviceOK) Error() string

func (*PostDeviceOK) GetPayload

func (o *PostDeviceOK) GetPayload() *PostDeviceOKBody

type PostDeviceOKBody

type PostDeviceOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg models.DeviceName `json:"msg,omitempty"`
}

PostDeviceOKBody post device o k body swagger:model PostDeviceOKBody

func (*PostDeviceOKBody) MarshalBinary

func (o *PostDeviceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostDeviceOKBody) UnmarshalBinary

func (o *PostDeviceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostDeviceOKBody) Validate

func (o *PostDeviceOKBody) Validate(formats strfmt.Registry) error

Validate validates this post device o k body

type PostDeviceParams

type PostDeviceParams struct {

	/*Aliases
	  optional. Comma separated aliases for the device. Must not exist, ignored otherwise.

	*/
	Aliases *string
	/*AliasesRemove
	  comma separated aliases to remove

	*/
	AliasesRemove *string
	/*Appcomps
	  comma separated application component names on this device.

	*/
	Appcomps *string
	/*AssetNo
	  the asset # of the device.

	*/
	AssetNo *string
	/*BladeHost
	  the name of the host for the blade machine. Two conditions must be met for this value to successfully update: 1. The device must be a blade type. 2. The blade host must already exist and must already be marked as a blade host.

	*/
	BladeHost *string
	/*BladeHostClear
	  clear blade host for device

	*/
	BladeHostClear *string
	/*Contract
	  Name of the contract. Used only if contract name is unique. – DEPRECATED in v550.

	*/
	Contract *string
	/*ContractID
	  ID for the contract. Available via GET /api/api/1.0/contracts/ – DEPRECATED in v550.

	*/
	ContractID *int64
	/*Cpucore
	  number of cores/CPU. Integer. (If updating, cpupower and cpucount required)

	*/
	Cpucore *string
	/*Cpucount
	  total # of CPUs. (If updating, cpupower and cpucore required)

	*/
	Cpucount *int64
	/*Cpupower
	  CPU speed in MHz, just numbers. (If updating, cpucount and cpucore required)

	*/
	Cpupower *string
	/*Customer
	  name of the customer. Customer record must already exist.

	*/
	Customer *string
	/*DevicesInCluster
	  comma separated device names for devices in cluster. Only valid for device type cluster.

	*/
	DevicesInCluster *string
	/*DevicesInClusterRemove
	  comma separated device names for removing devices in cluster. Only valid for device type cluster. (added in v9.2.0)

	*/
	DevicesInClusterRemove *string
	/*Hardware
	  the name of the hardware model for the device. Use in conjunction with the manufacturer argument. However, an update will only occur if no hardware model is previously assigned to the device.

	*/
	Hardware *string
	/*Hddcount
	  total # of HDD (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddcount *int64
	/*Hddraid
	  Raid. Possible values: software or hardware. none to clear. (none added in v9.1.0) (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddraid *string
	/*HddraidType
	  Raid Type. (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	HddraidType *string
	/*Hddsize
	  HDD Size in GB (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddsize *string
	/*InService
	  ‘yes’ indicates if device is in service, ‘no’ indicates not in service

	*/
	InService *string
	/*IsItBladeHost
	  ‘yes’ indicates if device is a blade host

	*/
	IsItBladeHost *string
	/*IsItSwitch
	  ‘yes’ indicates if device is a network switch

	*/
	IsItSwitch *string
	/*IsItVirtualHost
	  ‘yes’ indicates if device is a virtual host

	*/
	IsItVirtualHost *string
	/*Macaddress
	  the mac address value. Use multiple POST/PUT to add multiple mac addresses.

	*/
	Macaddress *string
	/*Manufacturer
	  the hardware manufacturer for the device.

	*/
	Manufacturer *string
	/*Memory
	  the total memory(RAM) in MB. Just numbers.

	*/
	Memory *string
	/*Name
	  Device name. If device with name already exists - the existing device is updated. If an existing device based on serial # or uuid are found - name is ignored. In that case existing name is not changed and you can use new_name if you wish to change the name.

	*/
	Name *string
	/*NewHardware
	  If you want to change the hardware model for a device. If the device is rack mounted, it will unmount the device before changing hardware model and attempt to mount it back to same rack location (Changed in v6.3.2)

	*/
	NewHardware *string
	/*NewName
	  As mentioned above, this can be used to change the name of an existing device

	*/
	NewName *string
	/*NewObjectCategory
	  Used to change category on a device if it is already set.

	*/
	NewObjectCategory *string
	/*Notes*/
	Notes *string
	/*ObjectCategory
	  If multitenancy is on, a category can be assigned to control access to this object, e.g. Prod_East specifies that the users with access to the Prod_East category will be able to access this device.

	*/
	ObjectCategory *string
	/*Os
	  the name of the operating system (os, osver, and osverno all required if updating any of the three).

	*/
	Os *string
	/*Osarch
	  The architecture of the operating system (32 or 64)

	*/
	Osarch *string
	/*Osver
	  the version of the operating system (os, osver, and osverno all required if updating any of the three)

	*/
	Osver *string
	/*Osverno
	  the version # or build # of the operating system (os, osver, and osverno all required if updating any of the three)

	*/
	Osverno *int64
	/*SerialNo
	  the serial # of the device. If a device with matching serial # is found - that device is updated. Serial # with less than 3 characters in length are ignored. Also, certain generic serial #s like 123456789 or ‘not specified’ are ignored.

	*/
	SerialNo *string
	/*ServiceLevel
	  the service level name for the device. The service level must be pre-defined in the device42 appliance before it can be referenced in an api call.

	*/
	ServiceLevel *string
	/*SlotNo
	  slot # for blade device.

	*/
	SlotNo *int64
	/*StorageRoom
	  name of the room to assign device to, only used if the room name is unique. Added in v5.5.0

	*/
	StorageRoom *string
	/*StorageRoomID
	  ID of the room to assign device to storage room. Added in v5.5.0

	*/
	StorageRoomID *int64
	/*Subtype
	  Only for device type other. Must exist internally first.

	*/
	Subtype *string
	/*Tags
	  comma separated tags (Added in v5.9.2)

	*/
	Tags *string
	/*TagsRemove
	  comma separated tags to remove (added in v9.1.0)

	*/
	TagsRemove *string
	/*Type
	  is the type for device. Valid values are ‘physical’, ‘virtual’, ‘blade’, ‘cluster’, or ‘other’.

	*/
	Type *string
	/*UUID
	  the uuid of the device. If a device with matching uuid is found - that device is updated.

	*/
	UUID *int64
	/*VirtualHost
	  Is the name for the host of the virtual machine. Two conditions must be met for this value to successfully update: 1. The device must be a virtual machine. 2. The virtual host must already exist in the device42 application and must be already marked as a virtual host.

	*/
	VirtualHost *string
	/*VirtualHostClear
	  yes to clear virtual host for a VM (added in v9.1.0)

	*/
	VirtualHostClear *string
	/*VirtualSubtype
	  Only for device type virtual. Default is internal VM.

	*/
	VirtualSubtype *string

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

PostDeviceParams contains all the parameters to send to the API endpoint for the post device operation typically these are written to a http.Request

func NewPostDeviceParams

func NewPostDeviceParams() *PostDeviceParams

NewPostDeviceParams creates a new PostDeviceParams object with the default values initialized.

func NewPostDeviceParamsWithContext

func NewPostDeviceParamsWithContext(ctx context.Context) *PostDeviceParams

NewPostDeviceParamsWithContext creates a new PostDeviceParams object with the default values initialized, and the ability to set a context for a request

func NewPostDeviceParamsWithHTTPClient

func NewPostDeviceParamsWithHTTPClient(client *http.Client) *PostDeviceParams

NewPostDeviceParamsWithHTTPClient creates a new PostDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostDeviceParamsWithTimeout

func NewPostDeviceParamsWithTimeout(timeout time.Duration) *PostDeviceParams

NewPostDeviceParamsWithTimeout creates a new PostDeviceParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostDeviceParams) SetAliases

func (o *PostDeviceParams) SetAliases(aliases *string)

SetAliases adds the aliases to the post device params

func (*PostDeviceParams) SetAliasesRemove

func (o *PostDeviceParams) SetAliasesRemove(aliasesRemove *string)

SetAliasesRemove adds the aliasesRemove to the post device params

func (*PostDeviceParams) SetAppcomps

func (o *PostDeviceParams) SetAppcomps(appcomps *string)

SetAppcomps adds the appcomps to the post device params

func (*PostDeviceParams) SetAssetNo

func (o *PostDeviceParams) SetAssetNo(assetNo *string)

SetAssetNo adds the assetNo to the post device params

func (*PostDeviceParams) SetBladeHost

func (o *PostDeviceParams) SetBladeHost(bladeHost *string)

SetBladeHost adds the bladeHost to the post device params

func (*PostDeviceParams) SetBladeHostClear

func (o *PostDeviceParams) SetBladeHostClear(bladeHostClear *string)

SetBladeHostClear adds the bladeHostClear to the post device params

func (*PostDeviceParams) SetContext

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

SetContext adds the context to the post device params

func (*PostDeviceParams) SetContract

func (o *PostDeviceParams) SetContract(contract *string)

SetContract adds the contract to the post device params

func (*PostDeviceParams) SetContractID

func (o *PostDeviceParams) SetContractID(contractID *int64)

SetContractID adds the contractId to the post device params

func (*PostDeviceParams) SetCpucore

func (o *PostDeviceParams) SetCpucore(cpucore *string)

SetCpucore adds the cpucore to the post device params

func (*PostDeviceParams) SetCpucount

func (o *PostDeviceParams) SetCpucount(cpucount *int64)

SetCpucount adds the cpucount to the post device params

func (*PostDeviceParams) SetCpupower

func (o *PostDeviceParams) SetCpupower(cpupower *string)

SetCpupower adds the cpupower to the post device params

func (*PostDeviceParams) SetCustomer

func (o *PostDeviceParams) SetCustomer(customer *string)

SetCustomer adds the customer to the post device params

func (*PostDeviceParams) SetDevicesInCluster

func (o *PostDeviceParams) SetDevicesInCluster(devicesInCluster *string)

SetDevicesInCluster adds the devicesInCluster to the post device params

func (*PostDeviceParams) SetDevicesInClusterRemove

func (o *PostDeviceParams) SetDevicesInClusterRemove(devicesInClusterRemove *string)

SetDevicesInClusterRemove adds the devicesInClusterRemove to the post device params

func (*PostDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post device params

func (*PostDeviceParams) SetHardware

func (o *PostDeviceParams) SetHardware(hardware *string)

SetHardware adds the hardware to the post device params

func (*PostDeviceParams) SetHddcount

func (o *PostDeviceParams) SetHddcount(hddcount *int64)

SetHddcount adds the hddcount to the post device params

func (*PostDeviceParams) SetHddraid

func (o *PostDeviceParams) SetHddraid(hddraid *string)

SetHddraid adds the hddraid to the post device params

func (*PostDeviceParams) SetHddraidType

func (o *PostDeviceParams) SetHddraidType(hddraidType *string)

SetHddraidType adds the hddraidType to the post device params

func (*PostDeviceParams) SetHddsize

func (o *PostDeviceParams) SetHddsize(hddsize *string)

SetHddsize adds the hddsize to the post device params

func (*PostDeviceParams) SetInService

func (o *PostDeviceParams) SetInService(inService *string)

SetInService adds the inService to the post device params

func (*PostDeviceParams) SetIsItBladeHost

func (o *PostDeviceParams) SetIsItBladeHost(isItBladeHost *string)

SetIsItBladeHost adds the isItBladeHost to the post device params

func (*PostDeviceParams) SetIsItSwitch

func (o *PostDeviceParams) SetIsItSwitch(isItSwitch *string)

SetIsItSwitch adds the isItSwitch to the post device params

func (*PostDeviceParams) SetIsItVirtualHost

func (o *PostDeviceParams) SetIsItVirtualHost(isItVirtualHost *string)

SetIsItVirtualHost adds the isItVirtualHost to the post device params

func (*PostDeviceParams) SetMacaddress

func (o *PostDeviceParams) SetMacaddress(macaddress *string)

SetMacaddress adds the macaddress to the post device params

func (*PostDeviceParams) SetManufacturer

func (o *PostDeviceParams) SetManufacturer(manufacturer *string)

SetManufacturer adds the manufacturer to the post device params

func (*PostDeviceParams) SetMemory

func (o *PostDeviceParams) SetMemory(memory *string)

SetMemory adds the memory to the post device params

func (*PostDeviceParams) SetName

func (o *PostDeviceParams) SetName(name *string)

SetName adds the name to the post device params

func (*PostDeviceParams) SetNewHardware

func (o *PostDeviceParams) SetNewHardware(newHardware *string)

SetNewHardware adds the newHardware to the post device params

func (*PostDeviceParams) SetNewName

func (o *PostDeviceParams) SetNewName(newName *string)

SetNewName adds the newName to the post device params

func (*PostDeviceParams) SetNewObjectCategory

func (o *PostDeviceParams) SetNewObjectCategory(newObjectCategory *string)

SetNewObjectCategory adds the newObjectCategory to the post device params

func (*PostDeviceParams) SetNotes

func (o *PostDeviceParams) SetNotes(notes *string)

SetNotes adds the notes to the post device params

func (*PostDeviceParams) SetObjectCategory

func (o *PostDeviceParams) SetObjectCategory(objectCategory *string)

SetObjectCategory adds the objectCategory to the post device params

func (*PostDeviceParams) SetOs

func (o *PostDeviceParams) SetOs(os *string)

SetOs adds the os to the post device params

func (*PostDeviceParams) SetOsarch

func (o *PostDeviceParams) SetOsarch(osarch *string)

SetOsarch adds the osarch to the post device params

func (*PostDeviceParams) SetOsver

func (o *PostDeviceParams) SetOsver(osver *string)

SetOsver adds the osver to the post device params

func (*PostDeviceParams) SetOsverno

func (o *PostDeviceParams) SetOsverno(osverno *int64)

SetOsverno adds the osverno to the post device params

func (*PostDeviceParams) SetSerialNo

func (o *PostDeviceParams) SetSerialNo(serialNo *string)

SetSerialNo adds the serialNo to the post device params

func (*PostDeviceParams) SetServiceLevel

func (o *PostDeviceParams) SetServiceLevel(serviceLevel *string)

SetServiceLevel adds the serviceLevel to the post device params

func (*PostDeviceParams) SetSlotNo

func (o *PostDeviceParams) SetSlotNo(slotNo *int64)

SetSlotNo adds the slotNo to the post device params

func (*PostDeviceParams) SetStorageRoom

func (o *PostDeviceParams) SetStorageRoom(storageRoom *string)

SetStorageRoom adds the storageRoom to the post device params

func (*PostDeviceParams) SetStorageRoomID

func (o *PostDeviceParams) SetStorageRoomID(storageRoomID *int64)

SetStorageRoomID adds the storageRoomId to the post device params

func (*PostDeviceParams) SetSubtype

func (o *PostDeviceParams) SetSubtype(subtype *string)

SetSubtype adds the subtype to the post device params

func (*PostDeviceParams) SetTags

func (o *PostDeviceParams) SetTags(tags *string)

SetTags adds the tags to the post device params

func (*PostDeviceParams) SetTagsRemove

func (o *PostDeviceParams) SetTagsRemove(tagsRemove *string)

SetTagsRemove adds the tagsRemove to the post device params

func (*PostDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the post device params

func (*PostDeviceParams) SetType

func (o *PostDeviceParams) SetType(typeVar *string)

SetType adds the type to the post device params

func (*PostDeviceParams) SetUUID

func (o *PostDeviceParams) SetUUID(uuid *int64)

SetUUID adds the uuid to the post device params

func (*PostDeviceParams) SetVirtualHost

func (o *PostDeviceParams) SetVirtualHost(virtualHost *string)

SetVirtualHost adds the virtualHost to the post device params

func (*PostDeviceParams) SetVirtualHostClear

func (o *PostDeviceParams) SetVirtualHostClear(virtualHostClear *string)

SetVirtualHostClear adds the virtualHostClear to the post device params

func (*PostDeviceParams) SetVirtualSubtype

func (o *PostDeviceParams) SetVirtualSubtype(virtualSubtype *string)

SetVirtualSubtype adds the virtualSubtype to the post device params

func (*PostDeviceParams) WithAliases

func (o *PostDeviceParams) WithAliases(aliases *string) *PostDeviceParams

WithAliases adds the aliases to the post device params

func (*PostDeviceParams) WithAliasesRemove

func (o *PostDeviceParams) WithAliasesRemove(aliasesRemove *string) *PostDeviceParams

WithAliasesRemove adds the aliasesRemove to the post device params

func (*PostDeviceParams) WithAppcomps

func (o *PostDeviceParams) WithAppcomps(appcomps *string) *PostDeviceParams

WithAppcomps adds the appcomps to the post device params

func (*PostDeviceParams) WithAssetNo

func (o *PostDeviceParams) WithAssetNo(assetNo *string) *PostDeviceParams

WithAssetNo adds the assetNo to the post device params

func (*PostDeviceParams) WithBladeHost

func (o *PostDeviceParams) WithBladeHost(bladeHost *string) *PostDeviceParams

WithBladeHost adds the bladeHost to the post device params

func (*PostDeviceParams) WithBladeHostClear

func (o *PostDeviceParams) WithBladeHostClear(bladeHostClear *string) *PostDeviceParams

WithBladeHostClear adds the bladeHostClear to the post device params

func (*PostDeviceParams) WithContext

func (o *PostDeviceParams) WithContext(ctx context.Context) *PostDeviceParams

WithContext adds the context to the post device params

func (*PostDeviceParams) WithContract

func (o *PostDeviceParams) WithContract(contract *string) *PostDeviceParams

WithContract adds the contract to the post device params

func (*PostDeviceParams) WithContractID

func (o *PostDeviceParams) WithContractID(contractID *int64) *PostDeviceParams

WithContractID adds the contractID to the post device params

func (*PostDeviceParams) WithCpucore

func (o *PostDeviceParams) WithCpucore(cpucore *string) *PostDeviceParams

WithCpucore adds the cpucore to the post device params

func (*PostDeviceParams) WithCpucount

func (o *PostDeviceParams) WithCpucount(cpucount *int64) *PostDeviceParams

WithCpucount adds the cpucount to the post device params

func (*PostDeviceParams) WithCpupower

func (o *PostDeviceParams) WithCpupower(cpupower *string) *PostDeviceParams

WithCpupower adds the cpupower to the post device params

func (*PostDeviceParams) WithCustomer

func (o *PostDeviceParams) WithCustomer(customer *string) *PostDeviceParams

WithCustomer adds the customer to the post device params

func (*PostDeviceParams) WithDevicesInCluster

func (o *PostDeviceParams) WithDevicesInCluster(devicesInCluster *string) *PostDeviceParams

WithDevicesInCluster adds the devicesInCluster to the post device params

func (*PostDeviceParams) WithDevicesInClusterRemove

func (o *PostDeviceParams) WithDevicesInClusterRemove(devicesInClusterRemove *string) *PostDeviceParams

WithDevicesInClusterRemove adds the devicesInClusterRemove to the post device params

func (*PostDeviceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post device params

func (*PostDeviceParams) WithHardware

func (o *PostDeviceParams) WithHardware(hardware *string) *PostDeviceParams

WithHardware adds the hardware to the post device params

func (*PostDeviceParams) WithHddcount

func (o *PostDeviceParams) WithHddcount(hddcount *int64) *PostDeviceParams

WithHddcount adds the hddcount to the post device params

func (*PostDeviceParams) WithHddraid

func (o *PostDeviceParams) WithHddraid(hddraid *string) *PostDeviceParams

WithHddraid adds the hddraid to the post device params

func (*PostDeviceParams) WithHddraidType

func (o *PostDeviceParams) WithHddraidType(hddraidType *string) *PostDeviceParams

WithHddraidType adds the hddraidType to the post device params

func (*PostDeviceParams) WithHddsize

func (o *PostDeviceParams) WithHddsize(hddsize *string) *PostDeviceParams

WithHddsize adds the hddsize to the post device params

func (*PostDeviceParams) WithInService

func (o *PostDeviceParams) WithInService(inService *string) *PostDeviceParams

WithInService adds the inService to the post device params

func (*PostDeviceParams) WithIsItBladeHost

func (o *PostDeviceParams) WithIsItBladeHost(isItBladeHost *string) *PostDeviceParams

WithIsItBladeHost adds the isItBladeHost to the post device params

func (*PostDeviceParams) WithIsItSwitch

func (o *PostDeviceParams) WithIsItSwitch(isItSwitch *string) *PostDeviceParams

WithIsItSwitch adds the isItSwitch to the post device params

func (*PostDeviceParams) WithIsItVirtualHost

func (o *PostDeviceParams) WithIsItVirtualHost(isItVirtualHost *string) *PostDeviceParams

WithIsItVirtualHost adds the isItVirtualHost to the post device params

func (*PostDeviceParams) WithMacaddress

func (o *PostDeviceParams) WithMacaddress(macaddress *string) *PostDeviceParams

WithMacaddress adds the macaddress to the post device params

func (*PostDeviceParams) WithManufacturer

func (o *PostDeviceParams) WithManufacturer(manufacturer *string) *PostDeviceParams

WithManufacturer adds the manufacturer to the post device params

func (*PostDeviceParams) WithMemory

func (o *PostDeviceParams) WithMemory(memory *string) *PostDeviceParams

WithMemory adds the memory to the post device params

func (*PostDeviceParams) WithName

func (o *PostDeviceParams) WithName(name *string) *PostDeviceParams

WithName adds the name to the post device params

func (*PostDeviceParams) WithNewHardware

func (o *PostDeviceParams) WithNewHardware(newHardware *string) *PostDeviceParams

WithNewHardware adds the newHardware to the post device params

func (*PostDeviceParams) WithNewName

func (o *PostDeviceParams) WithNewName(newName *string) *PostDeviceParams

WithNewName adds the newName to the post device params

func (*PostDeviceParams) WithNewObjectCategory

func (o *PostDeviceParams) WithNewObjectCategory(newObjectCategory *string) *PostDeviceParams

WithNewObjectCategory adds the newObjectCategory to the post device params

func (*PostDeviceParams) WithNotes

func (o *PostDeviceParams) WithNotes(notes *string) *PostDeviceParams

WithNotes adds the notes to the post device params

func (*PostDeviceParams) WithObjectCategory

func (o *PostDeviceParams) WithObjectCategory(objectCategory *string) *PostDeviceParams

WithObjectCategory adds the objectCategory to the post device params

func (*PostDeviceParams) WithOs

func (o *PostDeviceParams) WithOs(os *string) *PostDeviceParams

WithOs adds the os to the post device params

func (*PostDeviceParams) WithOsarch

func (o *PostDeviceParams) WithOsarch(osarch *string) *PostDeviceParams

WithOsarch adds the osarch to the post device params

func (*PostDeviceParams) WithOsver

func (o *PostDeviceParams) WithOsver(osver *string) *PostDeviceParams

WithOsver adds the osver to the post device params

func (*PostDeviceParams) WithOsverno

func (o *PostDeviceParams) WithOsverno(osverno *int64) *PostDeviceParams

WithOsverno adds the osverno to the post device params

func (*PostDeviceParams) WithSerialNo

func (o *PostDeviceParams) WithSerialNo(serialNo *string) *PostDeviceParams

WithSerialNo adds the serialNo to the post device params

func (*PostDeviceParams) WithServiceLevel

func (o *PostDeviceParams) WithServiceLevel(serviceLevel *string) *PostDeviceParams

WithServiceLevel adds the serviceLevel to the post device params

func (*PostDeviceParams) WithSlotNo

func (o *PostDeviceParams) WithSlotNo(slotNo *int64) *PostDeviceParams

WithSlotNo adds the slotNo to the post device params

func (*PostDeviceParams) WithStorageRoom

func (o *PostDeviceParams) WithStorageRoom(storageRoom *string) *PostDeviceParams

WithStorageRoom adds the storageRoom to the post device params

func (*PostDeviceParams) WithStorageRoomID

func (o *PostDeviceParams) WithStorageRoomID(storageRoomID *int64) *PostDeviceParams

WithStorageRoomID adds the storageRoomID to the post device params

func (*PostDeviceParams) WithSubtype

func (o *PostDeviceParams) WithSubtype(subtype *string) *PostDeviceParams

WithSubtype adds the subtype to the post device params

func (*PostDeviceParams) WithTags

func (o *PostDeviceParams) WithTags(tags *string) *PostDeviceParams

WithTags adds the tags to the post device params

func (*PostDeviceParams) WithTagsRemove

func (o *PostDeviceParams) WithTagsRemove(tagsRemove *string) *PostDeviceParams

WithTagsRemove adds the tagsRemove to the post device params

func (*PostDeviceParams) WithTimeout

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

WithTimeout adds the timeout to the post device params

func (*PostDeviceParams) WithType

func (o *PostDeviceParams) WithType(typeVar *string) *PostDeviceParams

WithType adds the typeVar to the post device params

func (*PostDeviceParams) WithUUID

func (o *PostDeviceParams) WithUUID(uuid *int64) *PostDeviceParams

WithUUID adds the uuid to the post device params

func (*PostDeviceParams) WithVirtualHost

func (o *PostDeviceParams) WithVirtualHost(virtualHost *string) *PostDeviceParams

WithVirtualHost adds the virtualHost to the post device params

func (*PostDeviceParams) WithVirtualHostClear

func (o *PostDeviceParams) WithVirtualHostClear(virtualHostClear *string) *PostDeviceParams

WithVirtualHostClear adds the virtualHostClear to the post device params

func (*PostDeviceParams) WithVirtualSubtype

func (o *PostDeviceParams) WithVirtualSubtype(virtualSubtype *string) *PostDeviceParams

WithVirtualSubtype adds the virtualSubtype to the post device params

func (*PostDeviceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostDeviceRackBadRequest

type PostDeviceRackBadRequest struct {
}

PostDeviceRackBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostDeviceRackBadRequest

func NewPostDeviceRackBadRequest() *PostDeviceRackBadRequest

NewPostDeviceRackBadRequest creates a PostDeviceRackBadRequest with default headers values

func (*PostDeviceRackBadRequest) Error

func (o *PostDeviceRackBadRequest) Error() string

type PostDeviceRackForbidden

type PostDeviceRackForbidden struct {
}

PostDeviceRackForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostDeviceRackForbidden

func NewPostDeviceRackForbidden() *PostDeviceRackForbidden

NewPostDeviceRackForbidden creates a PostDeviceRackForbidden with default headers values

func (*PostDeviceRackForbidden) Error

func (o *PostDeviceRackForbidden) Error() string

type PostDeviceRackGone

type PostDeviceRackGone struct {
}

PostDeviceRackGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPostDeviceRackGone

func NewPostDeviceRackGone() *PostDeviceRackGone

NewPostDeviceRackGone creates a PostDeviceRackGone with default headers values

func (*PostDeviceRackGone) Error

func (o *PostDeviceRackGone) Error() string

type PostDeviceRackInternalServerError

type PostDeviceRackInternalServerError struct {
}

PostDeviceRackInternalServerError 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 NewPostDeviceRackInternalServerError

func NewPostDeviceRackInternalServerError() *PostDeviceRackInternalServerError

NewPostDeviceRackInternalServerError creates a PostDeviceRackInternalServerError with default headers values

func (*PostDeviceRackInternalServerError) Error

type PostDeviceRackMethodNotAllowed

type PostDeviceRackMethodNotAllowed struct {
}

PostDeviceRackMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPostDeviceRackMethodNotAllowed

func NewPostDeviceRackMethodNotAllowed() *PostDeviceRackMethodNotAllowed

NewPostDeviceRackMethodNotAllowed creates a PostDeviceRackMethodNotAllowed with default headers values

func (*PostDeviceRackMethodNotAllowed) Error

type PostDeviceRackNotFound

type PostDeviceRackNotFound struct {
}

PostDeviceRackNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostDeviceRackNotFound

func NewPostDeviceRackNotFound() *PostDeviceRackNotFound

NewPostDeviceRackNotFound creates a PostDeviceRackNotFound with default headers values

func (*PostDeviceRackNotFound) Error

func (o *PostDeviceRackNotFound) Error() string

type PostDeviceRackOK

type PostDeviceRackOK struct {
	Payload *PostDeviceRackOKBody
}

PostDeviceRackOK handles this case with default header values.

The above command returns results like this:

func NewPostDeviceRackOK

func NewPostDeviceRackOK() *PostDeviceRackOK

NewPostDeviceRackOK creates a PostDeviceRackOK with default headers values

func (*PostDeviceRackOK) Error

func (o *PostDeviceRackOK) Error() string

func (*PostDeviceRackOK) GetPayload

func (o *PostDeviceRackOK) GetPayload() *PostDeviceRackOKBody

type PostDeviceRackOKBody

type PostDeviceRackOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg interface{} `json:"msg,omitempty"`
}

PostDeviceRackOKBody post device rack o k body swagger:model PostDeviceRackOKBody

func (*PostDeviceRackOKBody) MarshalBinary

func (o *PostDeviceRackOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostDeviceRackOKBody) UnmarshalBinary

func (o *PostDeviceRackOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostDeviceRackOKBody) Validate

func (o *PostDeviceRackOKBody) Validate(formats strfmt.Registry) error

Validate validates this post device rack o k body

type PostDeviceRackParams

type PostDeviceRackParams struct {

	/*AssetNo
	  asset # of the existing device

	*/
	AssetNo *string
	/*Building
	  building is building name, room is room name, rack is rack name and row is optional. This is used if rack_id is not provided and a unique rack is found with that combination. This could be just rack for rack name, if the rack name is unique. Otherwise add row, room or building to identify a unique rack.

	*/
	Building *string
	/*Device
	  name of the new or existing device

	*/
	Device *string
	/*DeviceID
	  Device ID of existing device

	*/
	DeviceID *int64
	/*HwModel
	  If the hw_model doesn’t exist or doesn’t have a type, we will add it as type “regular (rack mountable)” (changed in v6.6.0)

	*/
	HwModel *string
	/*Manufacturer
	  manufacturer of the hardware model. Only for new hardware model being added(added in v6.6.0)

	*/
	Manufacturer *string
	/*Rack*/
	Rack *string
	/*RackID
	  required if building name, room name or rack name are not provided. This is the id of the rack. It can be obtained from Tools > Import > Import Racked Devices.

	*/
	RackID *string
	/*Room*/
	Room *string
	/*Row*/
	Row *string
	/*SerialNo
	  serial # of the existing device

	*/
	SerialNo *string
	/*Size
	  size of the hardware model, only for new hardware model or if hardware model doesn’t have size. required for new hardware model (added in v6.6.0)

	*/
	Size *string
	/*StartAt
	  This is the starting U location for the device in the rack. Starting with v535, you can use “auto” as value to automatically mount the device in next available slot.

	*/
	StartAt string
	/*Where
	  location in rack, one of ‘above’, ‘below’, ‘left’, ‘right’, ‘mounted’. Note: If mounted a size must be provided or available from the hardware model.

	*/
	Where *string
	/*XPos
	  A number between 0 and 2520 representing the position within the u slot. 0 is flush left. 2520 is flush right.

	*/
	XPos *string

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

PostDeviceRackParams contains all the parameters to send to the API endpoint for the post device rack operation typically these are written to a http.Request

func NewPostDeviceRackParams

func NewPostDeviceRackParams() *PostDeviceRackParams

NewPostDeviceRackParams creates a new PostDeviceRackParams object with the default values initialized.

func NewPostDeviceRackParamsWithContext

func NewPostDeviceRackParamsWithContext(ctx context.Context) *PostDeviceRackParams

NewPostDeviceRackParamsWithContext creates a new PostDeviceRackParams object with the default values initialized, and the ability to set a context for a request

func NewPostDeviceRackParamsWithHTTPClient

func NewPostDeviceRackParamsWithHTTPClient(client *http.Client) *PostDeviceRackParams

NewPostDeviceRackParamsWithHTTPClient creates a new PostDeviceRackParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostDeviceRackParamsWithTimeout

func NewPostDeviceRackParamsWithTimeout(timeout time.Duration) *PostDeviceRackParams

NewPostDeviceRackParamsWithTimeout creates a new PostDeviceRackParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostDeviceRackParams) SetAssetNo

func (o *PostDeviceRackParams) SetAssetNo(assetNo *string)

SetAssetNo adds the assetNo to the post device rack params

func (*PostDeviceRackParams) SetBuilding

func (o *PostDeviceRackParams) SetBuilding(building *string)

SetBuilding adds the building to the post device rack params

func (*PostDeviceRackParams) SetContext

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

SetContext adds the context to the post device rack params

func (*PostDeviceRackParams) SetDevice

func (o *PostDeviceRackParams) SetDevice(device *string)

SetDevice adds the device to the post device rack params

func (*PostDeviceRackParams) SetDeviceID

func (o *PostDeviceRackParams) SetDeviceID(deviceID *int64)

SetDeviceID adds the deviceId to the post device rack params

func (*PostDeviceRackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post device rack params

func (*PostDeviceRackParams) SetHwModel

func (o *PostDeviceRackParams) SetHwModel(hwModel *string)

SetHwModel adds the hwModel to the post device rack params

func (*PostDeviceRackParams) SetManufacturer

func (o *PostDeviceRackParams) SetManufacturer(manufacturer *string)

SetManufacturer adds the manufacturer to the post device rack params

func (*PostDeviceRackParams) SetRack

func (o *PostDeviceRackParams) SetRack(rack *string)

SetRack adds the rack to the post device rack params

func (*PostDeviceRackParams) SetRackID

func (o *PostDeviceRackParams) SetRackID(rackID *string)

SetRackID adds the rackId to the post device rack params

func (*PostDeviceRackParams) SetRoom

func (o *PostDeviceRackParams) SetRoom(room *string)

SetRoom adds the room to the post device rack params

func (*PostDeviceRackParams) SetRow

func (o *PostDeviceRackParams) SetRow(row *string)

SetRow adds the row to the post device rack params

func (*PostDeviceRackParams) SetSerialNo

func (o *PostDeviceRackParams) SetSerialNo(serialNo *string)

SetSerialNo adds the serialNo to the post device rack params

func (*PostDeviceRackParams) SetSize

func (o *PostDeviceRackParams) SetSize(size *string)

SetSize adds the size to the post device rack params

func (*PostDeviceRackParams) SetStartAt

func (o *PostDeviceRackParams) SetStartAt(startAt string)

SetStartAt adds the startAt to the post device rack params

func (*PostDeviceRackParams) SetTimeout

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

SetTimeout adds the timeout to the post device rack params

func (*PostDeviceRackParams) SetWhere

func (o *PostDeviceRackParams) SetWhere(where *string)

SetWhere adds the where to the post device rack params

func (*PostDeviceRackParams) SetXPos

func (o *PostDeviceRackParams) SetXPos(xPos *string)

SetXPos adds the xPos to the post device rack params

func (*PostDeviceRackParams) WithAssetNo

func (o *PostDeviceRackParams) WithAssetNo(assetNo *string) *PostDeviceRackParams

WithAssetNo adds the assetNo to the post device rack params

func (*PostDeviceRackParams) WithBuilding

func (o *PostDeviceRackParams) WithBuilding(building *string) *PostDeviceRackParams

WithBuilding adds the building to the post device rack params

func (*PostDeviceRackParams) WithContext

WithContext adds the context to the post device rack params

func (*PostDeviceRackParams) WithDevice

func (o *PostDeviceRackParams) WithDevice(device *string) *PostDeviceRackParams

WithDevice adds the device to the post device rack params

func (*PostDeviceRackParams) WithDeviceID

func (o *PostDeviceRackParams) WithDeviceID(deviceID *int64) *PostDeviceRackParams

WithDeviceID adds the deviceID to the post device rack params

func (*PostDeviceRackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post device rack params

func (*PostDeviceRackParams) WithHwModel

func (o *PostDeviceRackParams) WithHwModel(hwModel *string) *PostDeviceRackParams

WithHwModel adds the hwModel to the post device rack params

func (*PostDeviceRackParams) WithManufacturer

func (o *PostDeviceRackParams) WithManufacturer(manufacturer *string) *PostDeviceRackParams

WithManufacturer adds the manufacturer to the post device rack params

func (*PostDeviceRackParams) WithRack

func (o *PostDeviceRackParams) WithRack(rack *string) *PostDeviceRackParams

WithRack adds the rack to the post device rack params

func (*PostDeviceRackParams) WithRackID

func (o *PostDeviceRackParams) WithRackID(rackID *string) *PostDeviceRackParams

WithRackID adds the rackID to the post device rack params

func (*PostDeviceRackParams) WithRoom

func (o *PostDeviceRackParams) WithRoom(room *string) *PostDeviceRackParams

WithRoom adds the room to the post device rack params

func (*PostDeviceRackParams) WithRow

WithRow adds the row to the post device rack params

func (*PostDeviceRackParams) WithSerialNo

func (o *PostDeviceRackParams) WithSerialNo(serialNo *string) *PostDeviceRackParams

WithSerialNo adds the serialNo to the post device rack params

func (*PostDeviceRackParams) WithSize

func (o *PostDeviceRackParams) WithSize(size *string) *PostDeviceRackParams

WithSize adds the size to the post device rack params

func (*PostDeviceRackParams) WithStartAt

func (o *PostDeviceRackParams) WithStartAt(startAt string) *PostDeviceRackParams

WithStartAt adds the startAt to the post device rack params

func (*PostDeviceRackParams) WithTimeout

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

WithTimeout adds the timeout to the post device rack params

func (*PostDeviceRackParams) WithWhere

func (o *PostDeviceRackParams) WithWhere(where *string) *PostDeviceRackParams

WithWhere adds the where to the post device rack params

func (*PostDeviceRackParams) WithXPos

func (o *PostDeviceRackParams) WithXPos(xPos *string) *PostDeviceRackParams

WithXPos adds the xPos to the post device rack params

func (*PostDeviceRackParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostDeviceRackReader

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

PostDeviceRackReader is a Reader for the PostDeviceRack structure.

func (*PostDeviceRackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDeviceRackServiceUnavailable

type PostDeviceRackServiceUnavailable struct {
}

PostDeviceRackServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPostDeviceRackServiceUnavailable

func NewPostDeviceRackServiceUnavailable() *PostDeviceRackServiceUnavailable

NewPostDeviceRackServiceUnavailable creates a PostDeviceRackServiceUnavailable with default headers values

func (*PostDeviceRackServiceUnavailable) Error

type PostDeviceRackUnauthorized

type PostDeviceRackUnauthorized struct {
}

PostDeviceRackUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostDeviceRackUnauthorized

func NewPostDeviceRackUnauthorized() *PostDeviceRackUnauthorized

NewPostDeviceRackUnauthorized creates a PostDeviceRackUnauthorized with default headers values

func (*PostDeviceRackUnauthorized) Error

type PostDeviceReader

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

PostDeviceReader is a Reader for the PostDevice structure.

func (*PostDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDeviceServiceUnavailable

type PostDeviceServiceUnavailable struct {
}

PostDeviceServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPostDeviceServiceUnavailable

func NewPostDeviceServiceUnavailable() *PostDeviceServiceUnavailable

NewPostDeviceServiceUnavailable creates a PostDeviceServiceUnavailable with default headers values

func (*PostDeviceServiceUnavailable) Error

type PostDeviceURLBadRequest

type PostDeviceURLBadRequest struct {
}

PostDeviceURLBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostDeviceURLBadRequest

func NewPostDeviceURLBadRequest() *PostDeviceURLBadRequest

NewPostDeviceURLBadRequest creates a PostDeviceURLBadRequest with default headers values

func (*PostDeviceURLBadRequest) Error

func (o *PostDeviceURLBadRequest) Error() string

type PostDeviceURLForbidden

type PostDeviceURLForbidden struct {
}

PostDeviceURLForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostDeviceURLForbidden

func NewPostDeviceURLForbidden() *PostDeviceURLForbidden

NewPostDeviceURLForbidden creates a PostDeviceURLForbidden with default headers values

func (*PostDeviceURLForbidden) Error

func (o *PostDeviceURLForbidden) Error() string

type PostDeviceURLGone

type PostDeviceURLGone struct {
}

PostDeviceURLGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPostDeviceURLGone

func NewPostDeviceURLGone() *PostDeviceURLGone

NewPostDeviceURLGone creates a PostDeviceURLGone with default headers values

func (*PostDeviceURLGone) Error

func (o *PostDeviceURLGone) Error() string

type PostDeviceURLInternalServerError

type PostDeviceURLInternalServerError struct {
}

PostDeviceURLInternalServerError 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 NewPostDeviceURLInternalServerError

func NewPostDeviceURLInternalServerError() *PostDeviceURLInternalServerError

NewPostDeviceURLInternalServerError creates a PostDeviceURLInternalServerError with default headers values

func (*PostDeviceURLInternalServerError) Error

type PostDeviceURLMethodNotAllowed

type PostDeviceURLMethodNotAllowed struct {
}

PostDeviceURLMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPostDeviceURLMethodNotAllowed

func NewPostDeviceURLMethodNotAllowed() *PostDeviceURLMethodNotAllowed

NewPostDeviceURLMethodNotAllowed creates a PostDeviceURLMethodNotAllowed with default headers values

func (*PostDeviceURLMethodNotAllowed) Error

type PostDeviceURLNotFound

type PostDeviceURLNotFound struct {
}

PostDeviceURLNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostDeviceURLNotFound

func NewPostDeviceURLNotFound() *PostDeviceURLNotFound

NewPostDeviceURLNotFound creates a PostDeviceURLNotFound with default headers values

func (*PostDeviceURLNotFound) Error

func (o *PostDeviceURLNotFound) Error() string

type PostDeviceURLOK

type PostDeviceURLOK struct {
	Payload *PostDeviceURLOKBody
}

PostDeviceURLOK handles this case with default header values.

The above command returns results like this:

func NewPostDeviceURLOK

func NewPostDeviceURLOK() *PostDeviceURLOK

NewPostDeviceURLOK creates a PostDeviceURLOK with default headers values

func (*PostDeviceURLOK) Error

func (o *PostDeviceURLOK) Error() string

func (*PostDeviceURLOK) GetPayload

func (o *PostDeviceURLOK) GetPayload() *PostDeviceURLOKBody

type PostDeviceURLOKBody

type PostDeviceURLOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg interface{} `json:"msg,omitempty"`
}

PostDeviceURLOKBody post device URL o k body swagger:model PostDeviceURLOKBody

func (*PostDeviceURLOKBody) MarshalBinary

func (o *PostDeviceURLOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostDeviceURLOKBody) UnmarshalBinary

func (o *PostDeviceURLOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostDeviceURLOKBody) Validate

func (o *PostDeviceURLOKBody) Validate(formats strfmt.Registry) error

Validate validates this post device URL o k body

type PostDeviceURLParams

type PostDeviceURLParams struct {

	/*Device
	  name of the device to which this url belongs (required parameter)

	*/
	Device string
	/*Host
	  fqdn portion of the url. e.g. for http://www.device42.com/awesome, host is www.device42.com

	*/
	Host *string
	/*Notes*/
	Notes *string
	/*Port
	  port number if any

	*/
	Port *string
	/*Type
	  the url type (e.g. http, https, telnet). This must be an existing url type in device42.

	*/
	Type string
	/*URLSuffix
	  url suffix if any. e.g. it is “awesome” based on example given above.

	*/
	URLSuffix *string

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

PostDeviceURLParams contains all the parameters to send to the API endpoint for the post device Url operation typically these are written to a http.Request

func NewPostDeviceURLParams

func NewPostDeviceURLParams() *PostDeviceURLParams

NewPostDeviceURLParams creates a new PostDeviceURLParams object with the default values initialized.

func NewPostDeviceURLParamsWithContext

func NewPostDeviceURLParamsWithContext(ctx context.Context) *PostDeviceURLParams

NewPostDeviceURLParamsWithContext creates a new PostDeviceURLParams object with the default values initialized, and the ability to set a context for a request

func NewPostDeviceURLParamsWithHTTPClient

func NewPostDeviceURLParamsWithHTTPClient(client *http.Client) *PostDeviceURLParams

NewPostDeviceURLParamsWithHTTPClient creates a new PostDeviceURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostDeviceURLParamsWithTimeout

func NewPostDeviceURLParamsWithTimeout(timeout time.Duration) *PostDeviceURLParams

NewPostDeviceURLParamsWithTimeout creates a new PostDeviceURLParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostDeviceURLParams) SetContext

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

SetContext adds the context to the post device Url params

func (*PostDeviceURLParams) SetDevice

func (o *PostDeviceURLParams) SetDevice(device string)

SetDevice adds the device to the post device Url params

func (*PostDeviceURLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post device Url params

func (*PostDeviceURLParams) SetHost

func (o *PostDeviceURLParams) SetHost(host *string)

SetHost adds the host to the post device Url params

func (*PostDeviceURLParams) SetNotes

func (o *PostDeviceURLParams) SetNotes(notes *string)

SetNotes adds the notes to the post device Url params

func (*PostDeviceURLParams) SetPort

func (o *PostDeviceURLParams) SetPort(port *string)

SetPort adds the port to the post device Url params

func (*PostDeviceURLParams) SetTimeout

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

SetTimeout adds the timeout to the post device Url params

func (*PostDeviceURLParams) SetType

func (o *PostDeviceURLParams) SetType(typeVar string)

SetType adds the type to the post device Url params

func (*PostDeviceURLParams) SetURLSuffix

func (o *PostDeviceURLParams) SetURLSuffix(uRLSuffix *string)

SetURLSuffix adds the urlSuffix to the post device Url params

func (*PostDeviceURLParams) WithContext

WithContext adds the context to the post device Url params

func (*PostDeviceURLParams) WithDevice

func (o *PostDeviceURLParams) WithDevice(device string) *PostDeviceURLParams

WithDevice adds the device to the post device Url params

func (*PostDeviceURLParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post device Url params

func (*PostDeviceURLParams) WithHost

func (o *PostDeviceURLParams) WithHost(host *string) *PostDeviceURLParams

WithHost adds the host to the post device Url params

func (*PostDeviceURLParams) WithNotes

func (o *PostDeviceURLParams) WithNotes(notes *string) *PostDeviceURLParams

WithNotes adds the notes to the post device Url params

func (*PostDeviceURLParams) WithPort

func (o *PostDeviceURLParams) WithPort(port *string) *PostDeviceURLParams

WithPort adds the port to the post device Url params

func (*PostDeviceURLParams) WithTimeout

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

WithTimeout adds the timeout to the post device Url params

func (*PostDeviceURLParams) WithType

func (o *PostDeviceURLParams) WithType(typeVar string) *PostDeviceURLParams

WithType adds the typeVar to the post device Url params

func (*PostDeviceURLParams) WithURLSuffix

func (o *PostDeviceURLParams) WithURLSuffix(uRLSuffix *string) *PostDeviceURLParams

WithURLSuffix adds the uRLSuffix to the post device Url params

func (*PostDeviceURLParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostDeviceURLReader

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

PostDeviceURLReader is a Reader for the PostDeviceURL structure.

func (*PostDeviceURLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDeviceURLServiceUnavailable

type PostDeviceURLServiceUnavailable struct {
}

PostDeviceURLServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPostDeviceURLServiceUnavailable

func NewPostDeviceURLServiceUnavailable() *PostDeviceURLServiceUnavailable

NewPostDeviceURLServiceUnavailable creates a PostDeviceURLServiceUnavailable with default headers values

func (*PostDeviceURLServiceUnavailable) Error

type PostDeviceURLUnauthorized

type PostDeviceURLUnauthorized struct {
}

PostDeviceURLUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostDeviceURLUnauthorized

func NewPostDeviceURLUnauthorized() *PostDeviceURLUnauthorized

NewPostDeviceURLUnauthorized creates a PostDeviceURLUnauthorized with default headers values

func (*PostDeviceURLUnauthorized) Error

func (o *PostDeviceURLUnauthorized) Error() string

type PostDeviceUnauthorized

type PostDeviceUnauthorized struct {
}

PostDeviceUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostDeviceUnauthorized

func NewPostDeviceUnauthorized() *PostDeviceUnauthorized

NewPostDeviceUnauthorized creates a PostDeviceUnauthorized with default headers values

func (*PostDeviceUnauthorized) Error

func (o *PostDeviceUnauthorized) Error() string

type PostMultiNodeDeviceBadRequest

type PostMultiNodeDeviceBadRequest struct {
}

PostMultiNodeDeviceBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostMultiNodeDeviceBadRequest

func NewPostMultiNodeDeviceBadRequest() *PostMultiNodeDeviceBadRequest

NewPostMultiNodeDeviceBadRequest creates a PostMultiNodeDeviceBadRequest with default headers values

func (*PostMultiNodeDeviceBadRequest) Error

type PostMultiNodeDeviceForbidden

type PostMultiNodeDeviceForbidden struct {
}

PostMultiNodeDeviceForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostMultiNodeDeviceForbidden

func NewPostMultiNodeDeviceForbidden() *PostMultiNodeDeviceForbidden

NewPostMultiNodeDeviceForbidden creates a PostMultiNodeDeviceForbidden with default headers values

func (*PostMultiNodeDeviceForbidden) Error

type PostMultiNodeDeviceGone

type PostMultiNodeDeviceGone struct {
}

PostMultiNodeDeviceGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPostMultiNodeDeviceGone

func NewPostMultiNodeDeviceGone() *PostMultiNodeDeviceGone

NewPostMultiNodeDeviceGone creates a PostMultiNodeDeviceGone with default headers values

func (*PostMultiNodeDeviceGone) Error

func (o *PostMultiNodeDeviceGone) Error() string

type PostMultiNodeDeviceInternalServerError

type PostMultiNodeDeviceInternalServerError struct {
}

PostMultiNodeDeviceInternalServerError 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 NewPostMultiNodeDeviceInternalServerError

func NewPostMultiNodeDeviceInternalServerError() *PostMultiNodeDeviceInternalServerError

NewPostMultiNodeDeviceInternalServerError creates a PostMultiNodeDeviceInternalServerError with default headers values

func (*PostMultiNodeDeviceInternalServerError) Error

type PostMultiNodeDeviceMethodNotAllowed

type PostMultiNodeDeviceMethodNotAllowed struct {
}

PostMultiNodeDeviceMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPostMultiNodeDeviceMethodNotAllowed

func NewPostMultiNodeDeviceMethodNotAllowed() *PostMultiNodeDeviceMethodNotAllowed

NewPostMultiNodeDeviceMethodNotAllowed creates a PostMultiNodeDeviceMethodNotAllowed with default headers values

func (*PostMultiNodeDeviceMethodNotAllowed) Error

type PostMultiNodeDeviceNotFound

type PostMultiNodeDeviceNotFound struct {
}

PostMultiNodeDeviceNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostMultiNodeDeviceNotFound

func NewPostMultiNodeDeviceNotFound() *PostMultiNodeDeviceNotFound

NewPostMultiNodeDeviceNotFound creates a PostMultiNodeDeviceNotFound with default headers values

func (*PostMultiNodeDeviceNotFound) Error

type PostMultiNodeDeviceOK

type PostMultiNodeDeviceOK struct {
	Payload *PostMultiNodeDeviceOKBody
}

PostMultiNodeDeviceOK handles this case with default header values.

The above command returns results like this:

func NewPostMultiNodeDeviceOK

func NewPostMultiNodeDeviceOK() *PostMultiNodeDeviceOK

NewPostMultiNodeDeviceOK creates a PostMultiNodeDeviceOK with default headers values

func (*PostMultiNodeDeviceOK) Error

func (o *PostMultiNodeDeviceOK) Error() string

func (*PostMultiNodeDeviceOK) GetPayload

type PostMultiNodeDeviceOKBody

type PostMultiNodeDeviceOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg models.DeviceName `json:"msg,omitempty"`
}

PostMultiNodeDeviceOKBody post multi node device o k body swagger:model PostMultiNodeDeviceOKBody

func (*PostMultiNodeDeviceOKBody) MarshalBinary

func (o *PostMultiNodeDeviceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostMultiNodeDeviceOKBody) UnmarshalBinary

func (o *PostMultiNodeDeviceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostMultiNodeDeviceOKBody) Validate

func (o *PostMultiNodeDeviceOKBody) Validate(formats strfmt.Registry) error

Validate validates this post multi node device o k body

type PostMultiNodeDeviceParams

type PostMultiNodeDeviceParams struct {

	/*Aliases
	  optional. Comma separated aliases for the device. Must not exist, ignored otherwise.

	*/
	Aliases *string
	/*AliasesRemove
	  comma separated aliases to remove

	*/
	AliasesRemove *string
	/*Appcomps
	  comma separated application component names on this device.

	*/
	Appcomps *string
	/*AssetNo
	  the asset # of the device.

	*/
	AssetNo *string
	/*BladeHost
	  the name of the host for the blade machine. Two conditions must be met for this value to successfully update: 1. The device must be a blade type. 2. The blade host must already exist and must already be marked as a blade host.

	*/
	BladeHost *string
	/*BladeHostClear
	  clear blade host for device

	*/
	BladeHostClear *string
	/*Contract
	  Name of the contract. Used only if contract name is unique. – DEPRECATED in v550.

	*/
	Contract *string
	/*ContractID
	  ID for the contract. Available via GET /api/api/1.0/contracts/ – DEPRECATED in v550.

	*/
	ContractID *int64
	/*Cpucore
	  number of cores/CPU. Integer. (If updating, cpupower and cpucount required)

	*/
	Cpucore *string
	/*Cpucount
	  total # of CPUs. (If updating, cpupower and cpucore required)

	*/
	Cpucount *int64
	/*Cpupower
	  CPU speed in MHz, just numbers. (If updating, cpucount and cpucore required)

	*/
	Cpupower *string
	/*Customer
	  name of the customer. Customer record must already exist.

	*/
	Customer *string
	/*DevicesInCluster
	  comma separated device names for devices in cluster. Only valid for device type cluster.

	*/
	DevicesInCluster *string
	/*DevicesInClusterRemove
	  comma separated device names for removing devices in cluster. Only valid for device type cluster. (added in v9.2.0)

	*/
	DevicesInClusterRemove *string
	/*Hardware
	  the name of the hardware model for the device. Use in conjunction with the manufacturer argument. However, an update will only occur if no hardware model is previously assigned to the device.

	*/
	Hardware *string
	/*Hddcount
	  total # of HDD (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddcount *int64
	/*Hddraid
	  Raid. Possible values: software or hardware. none to clear. (none added in v9.1.0) (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddraid *string
	/*HddraidType
	  Raid Type. (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	HddraidType *string
	/*Hddsize
	  HDD Size in GB (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddsize *string
	/*InService
	  ‘yes’ indicates if device is in service, ‘no’ indicates not in service

	*/
	InService *string
	/*IsItBladeHost
	  ‘yes’ indicates if device is a blade host

	*/
	IsItBladeHost *string
	/*IsItSwitch
	  ‘yes’ indicates if device is a network switch

	*/
	IsItSwitch *string
	/*IsItVirtualHost
	  ‘yes’ indicates if device is a virtual host

	*/
	IsItVirtualHost *string
	/*Macaddress
	  the mac address value. Use multiple POST/PUT to add multiple mac addresses.

	*/
	Macaddress *string
	/*Manufacturer
	  the hardware manufacturer for the device.

	*/
	Manufacturer *string
	/*Memory
	  the total memory(RAM) in MB. Just numbers.

	*/
	Memory *string
	/*Name
	  Device name. If device with name already exists - the existing device is updated. If an existing device based on serial # or uuid are found - name is ignored. In that case existing name is not changed and you can use new_name if you wish to change the name.

	*/
	Name *string
	/*NewHardware
	  If you want to change the hardware model for a device. If the device is rack mounted, it will unmount the device before changing hardware model and attempt to mount it back to same rack location (Changed in v6.3.2)

	*/
	NewHardware *string
	/*NewName
	  As mentioned above, this can be used to change the name of an existing device

	*/
	NewName *string
	/*NewObjectCategory
	  Used to change category on a device if it is already set.

	*/
	NewObjectCategory *string
	/*Notes*/
	Notes *string
	/*ObjectCategory
	  If multitenancy is on, a category can be assigned to control access to this object, e.g. Prod_East specifies that the users with access to the Prod_East category will be able to access this device.

	*/
	ObjectCategory *string
	/*Os
	  the name of the operating system (os, osver, and osverno all required if updating any of the three).

	*/
	Os *string
	/*Osarch
	  The architecture of the operating system (32 or 64)

	*/
	Osarch *string
	/*Osver
	  the version of the operating system (os, osver, and osverno all required if updating any of the three)

	*/
	Osver *string
	/*Osverno
	  the version # or build # of the operating system (os, osver, and osverno all required if updating any of the three)

	*/
	Osverno *int64
	/*SerialNo
	  the serial # of the device. If a device with matching serial # is found - that device is updated. Serial # with less than 3 characters in length are ignored. Also, certain generic serial #s like 123456789 or ‘not specified’ are ignored.

	*/
	SerialNo *string
	/*ServiceLevel
	  the service level name for the device. The service level must be pre-defined in the device42 appliance before it can be referenced in an api call.

	*/
	ServiceLevel *string
	/*SlotNo
	  slot # for blade device.

	*/
	SlotNo *int64
	/*StorageRoom
	  name of the room to assign device to, only used if the room name is unique. Added in v5.5.0

	*/
	StorageRoom *string
	/*StorageRoomID
	  ID of the room to assign device to storage room. Added in v5.5.0

	*/
	StorageRoomID *int64
	/*Subtype
	  Only for device type other. Must exist internally first.

	*/
	Subtype *string
	/*Tags
	  comma separated tags (Added in v5.9.2)

	*/
	Tags *string
	/*TagsRemove
	  comma separated tags to remove (added in v9.1.0)

	*/
	TagsRemove *string
	/*Type
	  the type of the device

	*/
	Type *string
	/*UUID
	  the uuid of the device. If a device with matching uuid is found - that device is updated.

	*/
	UUID *int64
	/*VirtualHost
	  Is the name for the host of the virtual machine. Two conditions must be met for this value to successfully update: 1. The device must be a virtual machine. 2. The virtual host must already exist in the device42 application and must be already marked as a virtual host.

	*/
	VirtualHost *string
	/*VirtualHostClear
	  yes to clear virtual host for a VM (added in v9.1.0)

	*/
	VirtualHostClear *string
	/*VirtualSubtype
	  Only for device type virtual. Default is internal VM.

	*/
	VirtualSubtype *string

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

PostMultiNodeDeviceParams contains all the parameters to send to the API endpoint for the post multi node device operation typically these are written to a http.Request

func NewPostMultiNodeDeviceParams

func NewPostMultiNodeDeviceParams() *PostMultiNodeDeviceParams

NewPostMultiNodeDeviceParams creates a new PostMultiNodeDeviceParams object with the default values initialized.

func NewPostMultiNodeDeviceParamsWithContext

func NewPostMultiNodeDeviceParamsWithContext(ctx context.Context) *PostMultiNodeDeviceParams

NewPostMultiNodeDeviceParamsWithContext creates a new PostMultiNodeDeviceParams object with the default values initialized, and the ability to set a context for a request

func NewPostMultiNodeDeviceParamsWithHTTPClient

func NewPostMultiNodeDeviceParamsWithHTTPClient(client *http.Client) *PostMultiNodeDeviceParams

NewPostMultiNodeDeviceParamsWithHTTPClient creates a new PostMultiNodeDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostMultiNodeDeviceParamsWithTimeout

func NewPostMultiNodeDeviceParamsWithTimeout(timeout time.Duration) *PostMultiNodeDeviceParams

NewPostMultiNodeDeviceParamsWithTimeout creates a new PostMultiNodeDeviceParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostMultiNodeDeviceParams) SetAliases

func (o *PostMultiNodeDeviceParams) SetAliases(aliases *string)

SetAliases adds the aliases to the post multi node device params

func (*PostMultiNodeDeviceParams) SetAliasesRemove

func (o *PostMultiNodeDeviceParams) SetAliasesRemove(aliasesRemove *string)

SetAliasesRemove adds the aliasesRemove to the post multi node device params

func (*PostMultiNodeDeviceParams) SetAppcomps

func (o *PostMultiNodeDeviceParams) SetAppcomps(appcomps *string)

SetAppcomps adds the appcomps to the post multi node device params

func (*PostMultiNodeDeviceParams) SetAssetNo

func (o *PostMultiNodeDeviceParams) SetAssetNo(assetNo *string)

SetAssetNo adds the assetNo to the post multi node device params

func (*PostMultiNodeDeviceParams) SetBladeHost

func (o *PostMultiNodeDeviceParams) SetBladeHost(bladeHost *string)

SetBladeHost adds the bladeHost to the post multi node device params

func (*PostMultiNodeDeviceParams) SetBladeHostClear

func (o *PostMultiNodeDeviceParams) SetBladeHostClear(bladeHostClear *string)

SetBladeHostClear adds the bladeHostClear to the post multi node device params

func (*PostMultiNodeDeviceParams) SetContext

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

SetContext adds the context to the post multi node device params

func (*PostMultiNodeDeviceParams) SetContract

func (o *PostMultiNodeDeviceParams) SetContract(contract *string)

SetContract adds the contract to the post multi node device params

func (*PostMultiNodeDeviceParams) SetContractID

func (o *PostMultiNodeDeviceParams) SetContractID(contractID *int64)

SetContractID adds the contractId to the post multi node device params

func (*PostMultiNodeDeviceParams) SetCpucore

func (o *PostMultiNodeDeviceParams) SetCpucore(cpucore *string)

SetCpucore adds the cpucore to the post multi node device params

func (*PostMultiNodeDeviceParams) SetCpucount

func (o *PostMultiNodeDeviceParams) SetCpucount(cpucount *int64)

SetCpucount adds the cpucount to the post multi node device params

func (*PostMultiNodeDeviceParams) SetCpupower

func (o *PostMultiNodeDeviceParams) SetCpupower(cpupower *string)

SetCpupower adds the cpupower to the post multi node device params

func (*PostMultiNodeDeviceParams) SetCustomer

func (o *PostMultiNodeDeviceParams) SetCustomer(customer *string)

SetCustomer adds the customer to the post multi node device params

func (*PostMultiNodeDeviceParams) SetDevicesInCluster

func (o *PostMultiNodeDeviceParams) SetDevicesInCluster(devicesInCluster *string)

SetDevicesInCluster adds the devicesInCluster to the post multi node device params

func (*PostMultiNodeDeviceParams) SetDevicesInClusterRemove

func (o *PostMultiNodeDeviceParams) SetDevicesInClusterRemove(devicesInClusterRemove *string)

SetDevicesInClusterRemove adds the devicesInClusterRemove to the post multi node device params

func (*PostMultiNodeDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post multi node device params

func (*PostMultiNodeDeviceParams) SetHardware

func (o *PostMultiNodeDeviceParams) SetHardware(hardware *string)

SetHardware adds the hardware to the post multi node device params

func (*PostMultiNodeDeviceParams) SetHddcount

func (o *PostMultiNodeDeviceParams) SetHddcount(hddcount *int64)

SetHddcount adds the hddcount to the post multi node device params

func (*PostMultiNodeDeviceParams) SetHddraid

func (o *PostMultiNodeDeviceParams) SetHddraid(hddraid *string)

SetHddraid adds the hddraid to the post multi node device params

func (*PostMultiNodeDeviceParams) SetHddraidType

func (o *PostMultiNodeDeviceParams) SetHddraidType(hddraidType *string)

SetHddraidType adds the hddraidType to the post multi node device params

func (*PostMultiNodeDeviceParams) SetHddsize

func (o *PostMultiNodeDeviceParams) SetHddsize(hddsize *string)

SetHddsize adds the hddsize to the post multi node device params

func (*PostMultiNodeDeviceParams) SetInService

func (o *PostMultiNodeDeviceParams) SetInService(inService *string)

SetInService adds the inService to the post multi node device params

func (*PostMultiNodeDeviceParams) SetIsItBladeHost

func (o *PostMultiNodeDeviceParams) SetIsItBladeHost(isItBladeHost *string)

SetIsItBladeHost adds the isItBladeHost to the post multi node device params

func (*PostMultiNodeDeviceParams) SetIsItSwitch

func (o *PostMultiNodeDeviceParams) SetIsItSwitch(isItSwitch *string)

SetIsItSwitch adds the isItSwitch to the post multi node device params

func (*PostMultiNodeDeviceParams) SetIsItVirtualHost

func (o *PostMultiNodeDeviceParams) SetIsItVirtualHost(isItVirtualHost *string)

SetIsItVirtualHost adds the isItVirtualHost to the post multi node device params

func (*PostMultiNodeDeviceParams) SetMacaddress

func (o *PostMultiNodeDeviceParams) SetMacaddress(macaddress *string)

SetMacaddress adds the macaddress to the post multi node device params

func (*PostMultiNodeDeviceParams) SetManufacturer

func (o *PostMultiNodeDeviceParams) SetManufacturer(manufacturer *string)

SetManufacturer adds the manufacturer to the post multi node device params

func (*PostMultiNodeDeviceParams) SetMemory

func (o *PostMultiNodeDeviceParams) SetMemory(memory *string)

SetMemory adds the memory to the post multi node device params

func (*PostMultiNodeDeviceParams) SetName

func (o *PostMultiNodeDeviceParams) SetName(name *string)

SetName adds the name to the post multi node device params

func (*PostMultiNodeDeviceParams) SetNewHardware

func (o *PostMultiNodeDeviceParams) SetNewHardware(newHardware *string)

SetNewHardware adds the newHardware to the post multi node device params

func (*PostMultiNodeDeviceParams) SetNewName

func (o *PostMultiNodeDeviceParams) SetNewName(newName *string)

SetNewName adds the newName to the post multi node device params

func (*PostMultiNodeDeviceParams) SetNewObjectCategory

func (o *PostMultiNodeDeviceParams) SetNewObjectCategory(newObjectCategory *string)

SetNewObjectCategory adds the newObjectCategory to the post multi node device params

func (*PostMultiNodeDeviceParams) SetNotes

func (o *PostMultiNodeDeviceParams) SetNotes(notes *string)

SetNotes adds the notes to the post multi node device params

func (*PostMultiNodeDeviceParams) SetObjectCategory

func (o *PostMultiNodeDeviceParams) SetObjectCategory(objectCategory *string)

SetObjectCategory adds the objectCategory to the post multi node device params

func (*PostMultiNodeDeviceParams) SetOs

func (o *PostMultiNodeDeviceParams) SetOs(os *string)

SetOs adds the os to the post multi node device params

func (*PostMultiNodeDeviceParams) SetOsarch

func (o *PostMultiNodeDeviceParams) SetOsarch(osarch *string)

SetOsarch adds the osarch to the post multi node device params

func (*PostMultiNodeDeviceParams) SetOsver

func (o *PostMultiNodeDeviceParams) SetOsver(osver *string)

SetOsver adds the osver to the post multi node device params

func (*PostMultiNodeDeviceParams) SetOsverno

func (o *PostMultiNodeDeviceParams) SetOsverno(osverno *int64)

SetOsverno adds the osverno to the post multi node device params

func (*PostMultiNodeDeviceParams) SetSerialNo

func (o *PostMultiNodeDeviceParams) SetSerialNo(serialNo *string)

SetSerialNo adds the serialNo to the post multi node device params

func (*PostMultiNodeDeviceParams) SetServiceLevel

func (o *PostMultiNodeDeviceParams) SetServiceLevel(serviceLevel *string)

SetServiceLevel adds the serviceLevel to the post multi node device params

func (*PostMultiNodeDeviceParams) SetSlotNo

func (o *PostMultiNodeDeviceParams) SetSlotNo(slotNo *int64)

SetSlotNo adds the slotNo to the post multi node device params

func (*PostMultiNodeDeviceParams) SetStorageRoom

func (o *PostMultiNodeDeviceParams) SetStorageRoom(storageRoom *string)

SetStorageRoom adds the storageRoom to the post multi node device params

func (*PostMultiNodeDeviceParams) SetStorageRoomID

func (o *PostMultiNodeDeviceParams) SetStorageRoomID(storageRoomID *int64)

SetStorageRoomID adds the storageRoomId to the post multi node device params

func (*PostMultiNodeDeviceParams) SetSubtype

func (o *PostMultiNodeDeviceParams) SetSubtype(subtype *string)

SetSubtype adds the subtype to the post multi node device params

func (*PostMultiNodeDeviceParams) SetTags

func (o *PostMultiNodeDeviceParams) SetTags(tags *string)

SetTags adds the tags to the post multi node device params

func (*PostMultiNodeDeviceParams) SetTagsRemove

func (o *PostMultiNodeDeviceParams) SetTagsRemove(tagsRemove *string)

SetTagsRemove adds the tagsRemove to the post multi node device params

func (*PostMultiNodeDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the post multi node device params

func (*PostMultiNodeDeviceParams) SetType

func (o *PostMultiNodeDeviceParams) SetType(typeVar *string)

SetType adds the type to the post multi node device params

func (*PostMultiNodeDeviceParams) SetUUID

func (o *PostMultiNodeDeviceParams) SetUUID(uuid *int64)

SetUUID adds the uuid to the post multi node device params

func (*PostMultiNodeDeviceParams) SetVirtualHost

func (o *PostMultiNodeDeviceParams) SetVirtualHost(virtualHost *string)

SetVirtualHost adds the virtualHost to the post multi node device params

func (*PostMultiNodeDeviceParams) SetVirtualHostClear

func (o *PostMultiNodeDeviceParams) SetVirtualHostClear(virtualHostClear *string)

SetVirtualHostClear adds the virtualHostClear to the post multi node device params

func (*PostMultiNodeDeviceParams) SetVirtualSubtype

func (o *PostMultiNodeDeviceParams) SetVirtualSubtype(virtualSubtype *string)

SetVirtualSubtype adds the virtualSubtype to the post multi node device params

func (*PostMultiNodeDeviceParams) WithAliases

WithAliases adds the aliases to the post multi node device params

func (*PostMultiNodeDeviceParams) WithAliasesRemove

func (o *PostMultiNodeDeviceParams) WithAliasesRemove(aliasesRemove *string) *PostMultiNodeDeviceParams

WithAliasesRemove adds the aliasesRemove to the post multi node device params

func (*PostMultiNodeDeviceParams) WithAppcomps

func (o *PostMultiNodeDeviceParams) WithAppcomps(appcomps *string) *PostMultiNodeDeviceParams

WithAppcomps adds the appcomps to the post multi node device params

func (*PostMultiNodeDeviceParams) WithAssetNo

WithAssetNo adds the assetNo to the post multi node device params

func (*PostMultiNodeDeviceParams) WithBladeHost

func (o *PostMultiNodeDeviceParams) WithBladeHost(bladeHost *string) *PostMultiNodeDeviceParams

WithBladeHost adds the bladeHost to the post multi node device params

func (*PostMultiNodeDeviceParams) WithBladeHostClear

func (o *PostMultiNodeDeviceParams) WithBladeHostClear(bladeHostClear *string) *PostMultiNodeDeviceParams

WithBladeHostClear adds the bladeHostClear to the post multi node device params

func (*PostMultiNodeDeviceParams) WithContext

WithContext adds the context to the post multi node device params

func (*PostMultiNodeDeviceParams) WithContract

func (o *PostMultiNodeDeviceParams) WithContract(contract *string) *PostMultiNodeDeviceParams

WithContract adds the contract to the post multi node device params

func (*PostMultiNodeDeviceParams) WithContractID

func (o *PostMultiNodeDeviceParams) WithContractID(contractID *int64) *PostMultiNodeDeviceParams

WithContractID adds the contractID to the post multi node device params

func (*PostMultiNodeDeviceParams) WithCpucore

WithCpucore adds the cpucore to the post multi node device params

func (*PostMultiNodeDeviceParams) WithCpucount

func (o *PostMultiNodeDeviceParams) WithCpucount(cpucount *int64) *PostMultiNodeDeviceParams

WithCpucount adds the cpucount to the post multi node device params

func (*PostMultiNodeDeviceParams) WithCpupower

func (o *PostMultiNodeDeviceParams) WithCpupower(cpupower *string) *PostMultiNodeDeviceParams

WithCpupower adds the cpupower to the post multi node device params

func (*PostMultiNodeDeviceParams) WithCustomer

func (o *PostMultiNodeDeviceParams) WithCustomer(customer *string) *PostMultiNodeDeviceParams

WithCustomer adds the customer to the post multi node device params

func (*PostMultiNodeDeviceParams) WithDevicesInCluster

func (o *PostMultiNodeDeviceParams) WithDevicesInCluster(devicesInCluster *string) *PostMultiNodeDeviceParams

WithDevicesInCluster adds the devicesInCluster to the post multi node device params

func (*PostMultiNodeDeviceParams) WithDevicesInClusterRemove

func (o *PostMultiNodeDeviceParams) WithDevicesInClusterRemove(devicesInClusterRemove *string) *PostMultiNodeDeviceParams

WithDevicesInClusterRemove adds the devicesInClusterRemove to the post multi node device params

func (*PostMultiNodeDeviceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post multi node device params

func (*PostMultiNodeDeviceParams) WithHardware

func (o *PostMultiNodeDeviceParams) WithHardware(hardware *string) *PostMultiNodeDeviceParams

WithHardware adds the hardware to the post multi node device params

func (*PostMultiNodeDeviceParams) WithHddcount

func (o *PostMultiNodeDeviceParams) WithHddcount(hddcount *int64) *PostMultiNodeDeviceParams

WithHddcount adds the hddcount to the post multi node device params

func (*PostMultiNodeDeviceParams) WithHddraid

WithHddraid adds the hddraid to the post multi node device params

func (*PostMultiNodeDeviceParams) WithHddraidType

func (o *PostMultiNodeDeviceParams) WithHddraidType(hddraidType *string) *PostMultiNodeDeviceParams

WithHddraidType adds the hddraidType to the post multi node device params

func (*PostMultiNodeDeviceParams) WithHddsize

WithHddsize adds the hddsize to the post multi node device params

func (*PostMultiNodeDeviceParams) WithInService

func (o *PostMultiNodeDeviceParams) WithInService(inService *string) *PostMultiNodeDeviceParams

WithInService adds the inService to the post multi node device params

func (*PostMultiNodeDeviceParams) WithIsItBladeHost

func (o *PostMultiNodeDeviceParams) WithIsItBladeHost(isItBladeHost *string) *PostMultiNodeDeviceParams

WithIsItBladeHost adds the isItBladeHost to the post multi node device params

func (*PostMultiNodeDeviceParams) WithIsItSwitch

func (o *PostMultiNodeDeviceParams) WithIsItSwitch(isItSwitch *string) *PostMultiNodeDeviceParams

WithIsItSwitch adds the isItSwitch to the post multi node device params

func (*PostMultiNodeDeviceParams) WithIsItVirtualHost

func (o *PostMultiNodeDeviceParams) WithIsItVirtualHost(isItVirtualHost *string) *PostMultiNodeDeviceParams

WithIsItVirtualHost adds the isItVirtualHost to the post multi node device params

func (*PostMultiNodeDeviceParams) WithMacaddress

func (o *PostMultiNodeDeviceParams) WithMacaddress(macaddress *string) *PostMultiNodeDeviceParams

WithMacaddress adds the macaddress to the post multi node device params

func (*PostMultiNodeDeviceParams) WithManufacturer

func (o *PostMultiNodeDeviceParams) WithManufacturer(manufacturer *string) *PostMultiNodeDeviceParams

WithManufacturer adds the manufacturer to the post multi node device params

func (*PostMultiNodeDeviceParams) WithMemory

WithMemory adds the memory to the post multi node device params

func (*PostMultiNodeDeviceParams) WithName

WithName adds the name to the post multi node device params

func (*PostMultiNodeDeviceParams) WithNewHardware

func (o *PostMultiNodeDeviceParams) WithNewHardware(newHardware *string) *PostMultiNodeDeviceParams

WithNewHardware adds the newHardware to the post multi node device params

func (*PostMultiNodeDeviceParams) WithNewName

WithNewName adds the newName to the post multi node device params

func (*PostMultiNodeDeviceParams) WithNewObjectCategory

func (o *PostMultiNodeDeviceParams) WithNewObjectCategory(newObjectCategory *string) *PostMultiNodeDeviceParams

WithNewObjectCategory adds the newObjectCategory to the post multi node device params

func (*PostMultiNodeDeviceParams) WithNotes

WithNotes adds the notes to the post multi node device params

func (*PostMultiNodeDeviceParams) WithObjectCategory

func (o *PostMultiNodeDeviceParams) WithObjectCategory(objectCategory *string) *PostMultiNodeDeviceParams

WithObjectCategory adds the objectCategory to the post multi node device params

func (*PostMultiNodeDeviceParams) WithOs

WithOs adds the os to the post multi node device params

func (*PostMultiNodeDeviceParams) WithOsarch

WithOsarch adds the osarch to the post multi node device params

func (*PostMultiNodeDeviceParams) WithOsver

WithOsver adds the osver to the post multi node device params

func (*PostMultiNodeDeviceParams) WithOsverno

func (o *PostMultiNodeDeviceParams) WithOsverno(osverno *int64) *PostMultiNodeDeviceParams

WithOsverno adds the osverno to the post multi node device params

func (*PostMultiNodeDeviceParams) WithSerialNo

func (o *PostMultiNodeDeviceParams) WithSerialNo(serialNo *string) *PostMultiNodeDeviceParams

WithSerialNo adds the serialNo to the post multi node device params

func (*PostMultiNodeDeviceParams) WithServiceLevel

func (o *PostMultiNodeDeviceParams) WithServiceLevel(serviceLevel *string) *PostMultiNodeDeviceParams

WithServiceLevel adds the serviceLevel to the post multi node device params

func (*PostMultiNodeDeviceParams) WithSlotNo

WithSlotNo adds the slotNo to the post multi node device params

func (*PostMultiNodeDeviceParams) WithStorageRoom

func (o *PostMultiNodeDeviceParams) WithStorageRoom(storageRoom *string) *PostMultiNodeDeviceParams

WithStorageRoom adds the storageRoom to the post multi node device params

func (*PostMultiNodeDeviceParams) WithStorageRoomID

func (o *PostMultiNodeDeviceParams) WithStorageRoomID(storageRoomID *int64) *PostMultiNodeDeviceParams

WithStorageRoomID adds the storageRoomID to the post multi node device params

func (*PostMultiNodeDeviceParams) WithSubtype

WithSubtype adds the subtype to the post multi node device params

func (*PostMultiNodeDeviceParams) WithTags

WithTags adds the tags to the post multi node device params

func (*PostMultiNodeDeviceParams) WithTagsRemove

func (o *PostMultiNodeDeviceParams) WithTagsRemove(tagsRemove *string) *PostMultiNodeDeviceParams

WithTagsRemove adds the tagsRemove to the post multi node device params

func (*PostMultiNodeDeviceParams) WithTimeout

WithTimeout adds the timeout to the post multi node device params

func (*PostMultiNodeDeviceParams) WithType

WithType adds the typeVar to the post multi node device params

func (*PostMultiNodeDeviceParams) WithUUID

WithUUID adds the uuid to the post multi node device params

func (*PostMultiNodeDeviceParams) WithVirtualHost

func (o *PostMultiNodeDeviceParams) WithVirtualHost(virtualHost *string) *PostMultiNodeDeviceParams

WithVirtualHost adds the virtualHost to the post multi node device params

func (*PostMultiNodeDeviceParams) WithVirtualHostClear

func (o *PostMultiNodeDeviceParams) WithVirtualHostClear(virtualHostClear *string) *PostMultiNodeDeviceParams

WithVirtualHostClear adds the virtualHostClear to the post multi node device params

func (*PostMultiNodeDeviceParams) WithVirtualSubtype

func (o *PostMultiNodeDeviceParams) WithVirtualSubtype(virtualSubtype *string) *PostMultiNodeDeviceParams

WithVirtualSubtype adds the virtualSubtype to the post multi node device params

func (*PostMultiNodeDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostMultiNodeDeviceReader

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

PostMultiNodeDeviceReader is a Reader for the PostMultiNodeDevice structure.

func (*PostMultiNodeDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostMultiNodeDeviceServiceUnavailable

type PostMultiNodeDeviceServiceUnavailable struct {
}

PostMultiNodeDeviceServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPostMultiNodeDeviceServiceUnavailable

func NewPostMultiNodeDeviceServiceUnavailable() *PostMultiNodeDeviceServiceUnavailable

NewPostMultiNodeDeviceServiceUnavailable creates a PostMultiNodeDeviceServiceUnavailable with default headers values

func (*PostMultiNodeDeviceServiceUnavailable) Error

type PostMultiNodeDeviceUnauthorized

type PostMultiNodeDeviceUnauthorized struct {
}

PostMultiNodeDeviceUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostMultiNodeDeviceUnauthorized

func NewPostMultiNodeDeviceUnauthorized() *PostMultiNodeDeviceUnauthorized

NewPostMultiNodeDeviceUnauthorized creates a PostMultiNodeDeviceUnauthorized with default headers values

func (*PostMultiNodeDeviceUnauthorized) Error

type PostMultiSerialDeviceBadRequest

type PostMultiSerialDeviceBadRequest struct {
}

PostMultiSerialDeviceBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostMultiSerialDeviceBadRequest

func NewPostMultiSerialDeviceBadRequest() *PostMultiSerialDeviceBadRequest

NewPostMultiSerialDeviceBadRequest creates a PostMultiSerialDeviceBadRequest with default headers values

func (*PostMultiSerialDeviceBadRequest) Error

type PostMultiSerialDeviceForbidden

type PostMultiSerialDeviceForbidden struct {
}

PostMultiSerialDeviceForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostMultiSerialDeviceForbidden

func NewPostMultiSerialDeviceForbidden() *PostMultiSerialDeviceForbidden

NewPostMultiSerialDeviceForbidden creates a PostMultiSerialDeviceForbidden with default headers values

func (*PostMultiSerialDeviceForbidden) Error

type PostMultiSerialDeviceGone

type PostMultiSerialDeviceGone struct {
}

PostMultiSerialDeviceGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPostMultiSerialDeviceGone

func NewPostMultiSerialDeviceGone() *PostMultiSerialDeviceGone

NewPostMultiSerialDeviceGone creates a PostMultiSerialDeviceGone with default headers values

func (*PostMultiSerialDeviceGone) Error

func (o *PostMultiSerialDeviceGone) Error() string

type PostMultiSerialDeviceInternalServerError

type PostMultiSerialDeviceInternalServerError struct {
}

PostMultiSerialDeviceInternalServerError 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 NewPostMultiSerialDeviceInternalServerError

func NewPostMultiSerialDeviceInternalServerError() *PostMultiSerialDeviceInternalServerError

NewPostMultiSerialDeviceInternalServerError creates a PostMultiSerialDeviceInternalServerError with default headers values

func (*PostMultiSerialDeviceInternalServerError) Error

type PostMultiSerialDeviceMethodNotAllowed

type PostMultiSerialDeviceMethodNotAllowed struct {
}

PostMultiSerialDeviceMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPostMultiSerialDeviceMethodNotAllowed

func NewPostMultiSerialDeviceMethodNotAllowed() *PostMultiSerialDeviceMethodNotAllowed

NewPostMultiSerialDeviceMethodNotAllowed creates a PostMultiSerialDeviceMethodNotAllowed with default headers values

func (*PostMultiSerialDeviceMethodNotAllowed) Error

type PostMultiSerialDeviceNotFound

type PostMultiSerialDeviceNotFound struct {
}

PostMultiSerialDeviceNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostMultiSerialDeviceNotFound

func NewPostMultiSerialDeviceNotFound() *PostMultiSerialDeviceNotFound

NewPostMultiSerialDeviceNotFound creates a PostMultiSerialDeviceNotFound with default headers values

func (*PostMultiSerialDeviceNotFound) Error

type PostMultiSerialDeviceOK

type PostMultiSerialDeviceOK struct {
	Payload *PostMultiSerialDeviceOKBody
}

PostMultiSerialDeviceOK handles this case with default header values.

The above command returns results like this:

func NewPostMultiSerialDeviceOK

func NewPostMultiSerialDeviceOK() *PostMultiSerialDeviceOK

NewPostMultiSerialDeviceOK creates a PostMultiSerialDeviceOK with default headers values

func (*PostMultiSerialDeviceOK) Error

func (o *PostMultiSerialDeviceOK) Error() string

func (*PostMultiSerialDeviceOK) GetPayload

type PostMultiSerialDeviceOKBody

type PostMultiSerialDeviceOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg models.DeviceName `json:"msg,omitempty"`
}

PostMultiSerialDeviceOKBody post multi serial device o k body swagger:model PostMultiSerialDeviceOKBody

func (*PostMultiSerialDeviceOKBody) MarshalBinary

func (o *PostMultiSerialDeviceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostMultiSerialDeviceOKBody) UnmarshalBinary

func (o *PostMultiSerialDeviceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostMultiSerialDeviceOKBody) Validate

func (o *PostMultiSerialDeviceOKBody) Validate(formats strfmt.Registry) error

Validate validates this post multi serial device o k body

type PostMultiSerialDeviceParams

type PostMultiSerialDeviceParams struct {

	/*Aliases
	  optional. Comma separated aliases for the device. Must not exist, ignored otherwise.

	*/
	Aliases *string
	/*AliasesRemove
	  comma separated aliases to remove

	*/
	AliasesRemove *string
	/*Appcomps
	  comma separated application component names on this device.

	*/
	Appcomps *string
	/*AssetNo
	  the asset # of the device.

	*/
	AssetNo *string
	/*BladeHost
	  the name of the host for the blade machine. Two conditions must be met for this value to successfully update: 1. The device must be a blade type. 2. The blade host must already exist and must already be marked as a blade host.

	*/
	BladeHost *string
	/*BladeHostClear
	  clear blade host for device

	*/
	BladeHostClear *string
	/*Contract
	  Name of the contract. Used only if contract name is unique. – DEPRECATED in v550.

	*/
	Contract *string
	/*ContractID
	  ID for the contract. Available via GET /api/api/1.0/contracts/ – DEPRECATED in v550.

	*/
	ContractID *int64
	/*Cpucore
	  number of cores/CPU. Integer. (If updating, cpupower and cpucount required)

	*/
	Cpucore *string
	/*Cpucount
	  total # of CPUs. (If updating, cpupower and cpucore required)

	*/
	Cpucount *int64
	/*Cpupower
	  CPU speed in MHz, just numbers. (If updating, cpucount and cpucore required)

	*/
	Cpupower *string
	/*Customer
	  name of the customer. Customer record must already exist.

	*/
	Customer *string
	/*DevicesInCluster
	  comma separated device names for devices in cluster. Only valid for device type cluster.

	*/
	DevicesInCluster *string
	/*DevicesInClusterRemove
	  comma separated device names for removing devices in cluster. Only valid for device type cluster. (added in v9.2.0)

	*/
	DevicesInClusterRemove *string
	/*Hardware
	  the name of the hardware model for the device. Use in conjunction with the manufacturer argument. However, an update will only occur if no hardware model is previously assigned to the device.

	*/
	Hardware *string
	/*Hddcount
	  total # of HDD (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddcount *int64
	/*Hddraid
	  Raid. Possible values: software or hardware. none to clear. (none added in v9.1.0) (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddraid *string
	/*HddraidType
	  Raid Type. (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	HddraidType *string
	/*Hddsize
	  HDD Size in GB (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddsize *string
	/*InService
	  ‘yes’ indicates if device is in service, ‘no’ indicates not in service

	*/
	InService *string
	/*IsItBladeHost
	  ‘yes’ indicates if device is a blade host

	*/
	IsItBladeHost *string
	/*IsItSwitch
	  ‘yes’ indicates if device is a network switch

	*/
	IsItSwitch *string
	/*IsItVirtualHost
	  ‘yes’ indicates if device is a virtual host

	*/
	IsItVirtualHost *string
	/*Macaddress
	  the mac address value. Use multiple POST/PUT to add multiple mac addresses.

	*/
	Macaddress *string
	/*Manufacturer
	  the hardware manufacturer for the device.

	*/
	Manufacturer *string
	/*Memory
	  the total memory(RAM) in MB. Just numbers.

	*/
	Memory *string
	/*Name
	  Device name. If device with name already exists - the existing device is updated. If an existing device based on serial # or uuid are found - name is ignored. In that case existing name is not changed and you can use new_name if you wish to change the name.

	*/
	Name *string
	/*NewHardware
	  If you want to change the hardware model for a device. If the device is rack mounted, it will unmount the device before changing hardware model and attempt to mount it back to same rack location (Changed in v6.3.2)

	*/
	NewHardware *string
	/*NewName
	  As mentioned above, this can be used to change the name of an existing device

	*/
	NewName *string
	/*NewObjectCategory
	  Used to change category on a device if it is already set.

	*/
	NewObjectCategory *string
	/*Notes*/
	Notes *string
	/*ObjectCategory
	  If multitenancy is on, a category can be assigned to control access to this object, e.g. Prod_East specifies that the users with access to the Prod_East category will be able to access this device.

	*/
	ObjectCategory *string
	/*Os
	  the name of the operating system (os, osver, and osverno all required if updating any of the three).

	*/
	Os *string
	/*Osarch
	  The architecture of the operating system (32 or 64)

	*/
	Osarch *string
	/*Osver
	  the version of the operating system (os, osver, and osverno all required if updating any of the three)

	*/
	Osver *string
	/*Osverno
	  the version # or build # of the operating system (os, osver, and osverno all required if updating any of the three)

	*/
	Osverno *int64
	/*SerialNo
	  the serial # of the device. If a device with matching serial # is found - that device is updated. Serial # with less than 3 characters in length are ignored. Also, certain generic serial #s like 123456789 or ‘not specified’ are ignored.

	*/
	SerialNo *string
	/*ServiceLevel
	  the service level name for the device. The service level must be pre-defined in the device42 appliance before it can be referenced in an api call.

	*/
	ServiceLevel *string
	/*SlotNo
	  slot # for blade device.

	*/
	SlotNo *int64
	/*StorageRoom
	  name of the room to assign device to, only used if the room name is unique. Added in v5.5.0

	*/
	StorageRoom *string
	/*StorageRoomID
	  ID of the room to assign device to storage room. Added in v5.5.0

	*/
	StorageRoomID *int64
	/*Subtype
	  Only for device type other. Must exist internally first.

	*/
	Subtype *string
	/*Tags
	  comma separated tags (Added in v5.9.2)

	*/
	Tags *string
	/*TagsRemove
	  comma separated tags to remove (added in v9.1.0)

	*/
	TagsRemove *string
	/*Type
	  is the type for device. Valid values are ‘physical’, ‘virtual’, ‘blade’, ‘cluster’, or ‘other’.

	*/
	Type *string
	/*UUID
	  the uuid of the device. If a device with matching uuid is found - that device is updated.

	*/
	UUID *string
	/*VirtualHost
	  Is the name for the host of the virtual machine. Two conditions must be met for this value to successfully update: 1. The device must be a virtual machine. 2. The virtual host must already exist in the device42 application and must be already marked as a virtual host.

	*/
	VirtualHost *string
	/*VirtualHostClear
	  yes to clear virtual host for a VM (added in v9.1.0)

	*/
	VirtualHostClear *string
	/*VirtualSubtype
	  Only for device type virtual. Default is internal VM.

	*/
	VirtualSubtype *string

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

PostMultiSerialDeviceParams contains all the parameters to send to the API endpoint for the post multi serial device operation typically these are written to a http.Request

func NewPostMultiSerialDeviceParams

func NewPostMultiSerialDeviceParams() *PostMultiSerialDeviceParams

NewPostMultiSerialDeviceParams creates a new PostMultiSerialDeviceParams object with the default values initialized.

func NewPostMultiSerialDeviceParamsWithContext

func NewPostMultiSerialDeviceParamsWithContext(ctx context.Context) *PostMultiSerialDeviceParams

NewPostMultiSerialDeviceParamsWithContext creates a new PostMultiSerialDeviceParams object with the default values initialized, and the ability to set a context for a request

func NewPostMultiSerialDeviceParamsWithHTTPClient

func NewPostMultiSerialDeviceParamsWithHTTPClient(client *http.Client) *PostMultiSerialDeviceParams

NewPostMultiSerialDeviceParamsWithHTTPClient creates a new PostMultiSerialDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostMultiSerialDeviceParamsWithTimeout

func NewPostMultiSerialDeviceParamsWithTimeout(timeout time.Duration) *PostMultiSerialDeviceParams

NewPostMultiSerialDeviceParamsWithTimeout creates a new PostMultiSerialDeviceParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostMultiSerialDeviceParams) SetAliases

func (o *PostMultiSerialDeviceParams) SetAliases(aliases *string)

SetAliases adds the aliases to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetAliasesRemove

func (o *PostMultiSerialDeviceParams) SetAliasesRemove(aliasesRemove *string)

SetAliasesRemove adds the aliasesRemove to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetAppcomps

func (o *PostMultiSerialDeviceParams) SetAppcomps(appcomps *string)

SetAppcomps adds the appcomps to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetAssetNo

func (o *PostMultiSerialDeviceParams) SetAssetNo(assetNo *string)

SetAssetNo adds the assetNo to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetBladeHost

func (o *PostMultiSerialDeviceParams) SetBladeHost(bladeHost *string)

SetBladeHost adds the bladeHost to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetBladeHostClear

func (o *PostMultiSerialDeviceParams) SetBladeHostClear(bladeHostClear *string)

SetBladeHostClear adds the bladeHostClear to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetContext

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

SetContext adds the context to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetContract

func (o *PostMultiSerialDeviceParams) SetContract(contract *string)

SetContract adds the contract to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetContractID

func (o *PostMultiSerialDeviceParams) SetContractID(contractID *int64)

SetContractID adds the contractId to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetCpucore

func (o *PostMultiSerialDeviceParams) SetCpucore(cpucore *string)

SetCpucore adds the cpucore to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetCpucount

func (o *PostMultiSerialDeviceParams) SetCpucount(cpucount *int64)

SetCpucount adds the cpucount to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetCpupower

func (o *PostMultiSerialDeviceParams) SetCpupower(cpupower *string)

SetCpupower adds the cpupower to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetCustomer

func (o *PostMultiSerialDeviceParams) SetCustomer(customer *string)

SetCustomer adds the customer to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetDevicesInCluster

func (o *PostMultiSerialDeviceParams) SetDevicesInCluster(devicesInCluster *string)

SetDevicesInCluster adds the devicesInCluster to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetDevicesInClusterRemove

func (o *PostMultiSerialDeviceParams) SetDevicesInClusterRemove(devicesInClusterRemove *string)

SetDevicesInClusterRemove adds the devicesInClusterRemove to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetHardware

func (o *PostMultiSerialDeviceParams) SetHardware(hardware *string)

SetHardware adds the hardware to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetHddcount

func (o *PostMultiSerialDeviceParams) SetHddcount(hddcount *int64)

SetHddcount adds the hddcount to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetHddraid

func (o *PostMultiSerialDeviceParams) SetHddraid(hddraid *string)

SetHddraid adds the hddraid to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetHddraidType

func (o *PostMultiSerialDeviceParams) SetHddraidType(hddraidType *string)

SetHddraidType adds the hddraidType to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetHddsize

func (o *PostMultiSerialDeviceParams) SetHddsize(hddsize *string)

SetHddsize adds the hddsize to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetInService

func (o *PostMultiSerialDeviceParams) SetInService(inService *string)

SetInService adds the inService to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetIsItBladeHost

func (o *PostMultiSerialDeviceParams) SetIsItBladeHost(isItBladeHost *string)

SetIsItBladeHost adds the isItBladeHost to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetIsItSwitch

func (o *PostMultiSerialDeviceParams) SetIsItSwitch(isItSwitch *string)

SetIsItSwitch adds the isItSwitch to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetIsItVirtualHost

func (o *PostMultiSerialDeviceParams) SetIsItVirtualHost(isItVirtualHost *string)

SetIsItVirtualHost adds the isItVirtualHost to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetMacaddress

func (o *PostMultiSerialDeviceParams) SetMacaddress(macaddress *string)

SetMacaddress adds the macaddress to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetManufacturer

func (o *PostMultiSerialDeviceParams) SetManufacturer(manufacturer *string)

SetManufacturer adds the manufacturer to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetMemory

func (o *PostMultiSerialDeviceParams) SetMemory(memory *string)

SetMemory adds the memory to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetName

func (o *PostMultiSerialDeviceParams) SetName(name *string)

SetName adds the name to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetNewHardware

func (o *PostMultiSerialDeviceParams) SetNewHardware(newHardware *string)

SetNewHardware adds the newHardware to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetNewName

func (o *PostMultiSerialDeviceParams) SetNewName(newName *string)

SetNewName adds the newName to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetNewObjectCategory

func (o *PostMultiSerialDeviceParams) SetNewObjectCategory(newObjectCategory *string)

SetNewObjectCategory adds the newObjectCategory to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetNotes

func (o *PostMultiSerialDeviceParams) SetNotes(notes *string)

SetNotes adds the notes to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetObjectCategory

func (o *PostMultiSerialDeviceParams) SetObjectCategory(objectCategory *string)

SetObjectCategory adds the objectCategory to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetOs

func (o *PostMultiSerialDeviceParams) SetOs(os *string)

SetOs adds the os to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetOsarch

func (o *PostMultiSerialDeviceParams) SetOsarch(osarch *string)

SetOsarch adds the osarch to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetOsver

func (o *PostMultiSerialDeviceParams) SetOsver(osver *string)

SetOsver adds the osver to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetOsverno

func (o *PostMultiSerialDeviceParams) SetOsverno(osverno *int64)

SetOsverno adds the osverno to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetSerialNo

func (o *PostMultiSerialDeviceParams) SetSerialNo(serialNo *string)

SetSerialNo adds the serialNo to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetServiceLevel

func (o *PostMultiSerialDeviceParams) SetServiceLevel(serviceLevel *string)

SetServiceLevel adds the serviceLevel to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetSlotNo

func (o *PostMultiSerialDeviceParams) SetSlotNo(slotNo *int64)

SetSlotNo adds the slotNo to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetStorageRoom

func (o *PostMultiSerialDeviceParams) SetStorageRoom(storageRoom *string)

SetStorageRoom adds the storageRoom to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetStorageRoomID

func (o *PostMultiSerialDeviceParams) SetStorageRoomID(storageRoomID *int64)

SetStorageRoomID adds the storageRoomId to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetSubtype

func (o *PostMultiSerialDeviceParams) SetSubtype(subtype *string)

SetSubtype adds the subtype to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetTags

func (o *PostMultiSerialDeviceParams) SetTags(tags *string)

SetTags adds the tags to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetTagsRemove

func (o *PostMultiSerialDeviceParams) SetTagsRemove(tagsRemove *string)

SetTagsRemove adds the tagsRemove to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetType

func (o *PostMultiSerialDeviceParams) SetType(typeVar *string)

SetType adds the type to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetUUID

func (o *PostMultiSerialDeviceParams) SetUUID(uuid *string)

SetUUID adds the uuid to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetVirtualHost

func (o *PostMultiSerialDeviceParams) SetVirtualHost(virtualHost *string)

SetVirtualHost adds the virtualHost to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetVirtualHostClear

func (o *PostMultiSerialDeviceParams) SetVirtualHostClear(virtualHostClear *string)

SetVirtualHostClear adds the virtualHostClear to the post multi serial device params

func (*PostMultiSerialDeviceParams) SetVirtualSubtype

func (o *PostMultiSerialDeviceParams) SetVirtualSubtype(virtualSubtype *string)

SetVirtualSubtype adds the virtualSubtype to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithAliases

WithAliases adds the aliases to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithAliasesRemove

func (o *PostMultiSerialDeviceParams) WithAliasesRemove(aliasesRemove *string) *PostMultiSerialDeviceParams

WithAliasesRemove adds the aliasesRemove to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithAppcomps

WithAppcomps adds the appcomps to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithAssetNo

WithAssetNo adds the assetNo to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithBladeHost

func (o *PostMultiSerialDeviceParams) WithBladeHost(bladeHost *string) *PostMultiSerialDeviceParams

WithBladeHost adds the bladeHost to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithBladeHostClear

func (o *PostMultiSerialDeviceParams) WithBladeHostClear(bladeHostClear *string) *PostMultiSerialDeviceParams

WithBladeHostClear adds the bladeHostClear to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithContext

WithContext adds the context to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithContract

WithContract adds the contract to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithContractID

func (o *PostMultiSerialDeviceParams) WithContractID(contractID *int64) *PostMultiSerialDeviceParams

WithContractID adds the contractID to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithCpucore

WithCpucore adds the cpucore to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithCpucount

WithCpucount adds the cpucount to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithCpupower

WithCpupower adds the cpupower to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithCustomer

WithCustomer adds the customer to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithDevicesInCluster

func (o *PostMultiSerialDeviceParams) WithDevicesInCluster(devicesInCluster *string) *PostMultiSerialDeviceParams

WithDevicesInCluster adds the devicesInCluster to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithDevicesInClusterRemove

func (o *PostMultiSerialDeviceParams) WithDevicesInClusterRemove(devicesInClusterRemove *string) *PostMultiSerialDeviceParams

WithDevicesInClusterRemove adds the devicesInClusterRemove to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithHardware

WithHardware adds the hardware to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithHddcount

WithHddcount adds the hddcount to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithHddraid

WithHddraid adds the hddraid to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithHddraidType

func (o *PostMultiSerialDeviceParams) WithHddraidType(hddraidType *string) *PostMultiSerialDeviceParams

WithHddraidType adds the hddraidType to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithHddsize

WithHddsize adds the hddsize to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithInService

func (o *PostMultiSerialDeviceParams) WithInService(inService *string) *PostMultiSerialDeviceParams

WithInService adds the inService to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithIsItBladeHost

func (o *PostMultiSerialDeviceParams) WithIsItBladeHost(isItBladeHost *string) *PostMultiSerialDeviceParams

WithIsItBladeHost adds the isItBladeHost to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithIsItSwitch

func (o *PostMultiSerialDeviceParams) WithIsItSwitch(isItSwitch *string) *PostMultiSerialDeviceParams

WithIsItSwitch adds the isItSwitch to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithIsItVirtualHost

func (o *PostMultiSerialDeviceParams) WithIsItVirtualHost(isItVirtualHost *string) *PostMultiSerialDeviceParams

WithIsItVirtualHost adds the isItVirtualHost to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithMacaddress

func (o *PostMultiSerialDeviceParams) WithMacaddress(macaddress *string) *PostMultiSerialDeviceParams

WithMacaddress adds the macaddress to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithManufacturer

func (o *PostMultiSerialDeviceParams) WithManufacturer(manufacturer *string) *PostMultiSerialDeviceParams

WithManufacturer adds the manufacturer to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithMemory

WithMemory adds the memory to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithName

WithName adds the name to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithNewHardware

func (o *PostMultiSerialDeviceParams) WithNewHardware(newHardware *string) *PostMultiSerialDeviceParams

WithNewHardware adds the newHardware to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithNewName

WithNewName adds the newName to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithNewObjectCategory

func (o *PostMultiSerialDeviceParams) WithNewObjectCategory(newObjectCategory *string) *PostMultiSerialDeviceParams

WithNewObjectCategory adds the newObjectCategory to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithNotes

WithNotes adds the notes to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithObjectCategory

func (o *PostMultiSerialDeviceParams) WithObjectCategory(objectCategory *string) *PostMultiSerialDeviceParams

WithObjectCategory adds the objectCategory to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithOs

WithOs adds the os to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithOsarch

WithOsarch adds the osarch to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithOsver

WithOsver adds the osver to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithOsverno

WithOsverno adds the osverno to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithSerialNo

WithSerialNo adds the serialNo to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithServiceLevel

func (o *PostMultiSerialDeviceParams) WithServiceLevel(serviceLevel *string) *PostMultiSerialDeviceParams

WithServiceLevel adds the serviceLevel to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithSlotNo

WithSlotNo adds the slotNo to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithStorageRoom

func (o *PostMultiSerialDeviceParams) WithStorageRoom(storageRoom *string) *PostMultiSerialDeviceParams

WithStorageRoom adds the storageRoom to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithStorageRoomID

func (o *PostMultiSerialDeviceParams) WithStorageRoomID(storageRoomID *int64) *PostMultiSerialDeviceParams

WithStorageRoomID adds the storageRoomID to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithSubtype

WithSubtype adds the subtype to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithTags

WithTags adds the tags to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithTagsRemove

func (o *PostMultiSerialDeviceParams) WithTagsRemove(tagsRemove *string) *PostMultiSerialDeviceParams

WithTagsRemove adds the tagsRemove to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithTimeout

WithTimeout adds the timeout to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithType

WithType adds the typeVar to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithUUID

WithUUID adds the uuid to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithVirtualHost

func (o *PostMultiSerialDeviceParams) WithVirtualHost(virtualHost *string) *PostMultiSerialDeviceParams

WithVirtualHost adds the virtualHost to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithVirtualHostClear

func (o *PostMultiSerialDeviceParams) WithVirtualHostClear(virtualHostClear *string) *PostMultiSerialDeviceParams

WithVirtualHostClear adds the virtualHostClear to the post multi serial device params

func (*PostMultiSerialDeviceParams) WithVirtualSubtype

func (o *PostMultiSerialDeviceParams) WithVirtualSubtype(virtualSubtype *string) *PostMultiSerialDeviceParams

WithVirtualSubtype adds the virtualSubtype to the post multi serial device params

func (*PostMultiSerialDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostMultiSerialDeviceReader

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

PostMultiSerialDeviceReader is a Reader for the PostMultiSerialDevice structure.

func (*PostMultiSerialDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostMultiSerialDeviceServiceUnavailable

type PostMultiSerialDeviceServiceUnavailable struct {
}

PostMultiSerialDeviceServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPostMultiSerialDeviceServiceUnavailable

func NewPostMultiSerialDeviceServiceUnavailable() *PostMultiSerialDeviceServiceUnavailable

NewPostMultiSerialDeviceServiceUnavailable creates a PostMultiSerialDeviceServiceUnavailable with default headers values

func (*PostMultiSerialDeviceServiceUnavailable) Error

type PostMultiSerialDeviceUnauthorized

type PostMultiSerialDeviceUnauthorized struct {
}

PostMultiSerialDeviceUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostMultiSerialDeviceUnauthorized

func NewPostMultiSerialDeviceUnauthorized() *PostMultiSerialDeviceUnauthorized

NewPostMultiSerialDeviceUnauthorized creates a PostMultiSerialDeviceUnauthorized with default headers values

func (*PostMultiSerialDeviceUnauthorized) Error

type PutCustomFieldBadRequest

type PutCustomFieldBadRequest struct {
}

PutCustomFieldBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPutCustomFieldBadRequest

func NewPutCustomFieldBadRequest() *PutCustomFieldBadRequest

NewPutCustomFieldBadRequest creates a PutCustomFieldBadRequest with default headers values

func (*PutCustomFieldBadRequest) Error

func (o *PutCustomFieldBadRequest) Error() string

type PutCustomFieldForbidden

type PutCustomFieldForbidden struct {
}

PutCustomFieldForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPutCustomFieldForbidden

func NewPutCustomFieldForbidden() *PutCustomFieldForbidden

NewPutCustomFieldForbidden creates a PutCustomFieldForbidden with default headers values

func (*PutCustomFieldForbidden) Error

func (o *PutCustomFieldForbidden) Error() string

type PutCustomFieldGone

type PutCustomFieldGone struct {
}

PutCustomFieldGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPutCustomFieldGone

func NewPutCustomFieldGone() *PutCustomFieldGone

NewPutCustomFieldGone creates a PutCustomFieldGone with default headers values

func (*PutCustomFieldGone) Error

func (o *PutCustomFieldGone) Error() string

type PutCustomFieldInternalServerError

type PutCustomFieldInternalServerError struct {
}

PutCustomFieldInternalServerError 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 NewPutCustomFieldInternalServerError

func NewPutCustomFieldInternalServerError() *PutCustomFieldInternalServerError

NewPutCustomFieldInternalServerError creates a PutCustomFieldInternalServerError with default headers values

func (*PutCustomFieldInternalServerError) Error

type PutCustomFieldMethodNotAllowed

type PutCustomFieldMethodNotAllowed struct {
}

PutCustomFieldMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPutCustomFieldMethodNotAllowed

func NewPutCustomFieldMethodNotAllowed() *PutCustomFieldMethodNotAllowed

NewPutCustomFieldMethodNotAllowed creates a PutCustomFieldMethodNotAllowed with default headers values

func (*PutCustomFieldMethodNotAllowed) Error

type PutCustomFieldNotFound

type PutCustomFieldNotFound struct {
}

PutCustomFieldNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPutCustomFieldNotFound

func NewPutCustomFieldNotFound() *PutCustomFieldNotFound

NewPutCustomFieldNotFound creates a PutCustomFieldNotFound with default headers values

func (*PutCustomFieldNotFound) Error

func (o *PutCustomFieldNotFound) Error() string

type PutCustomFieldOK

type PutCustomFieldOK struct {
	Payload *PutCustomFieldOKBody
}

PutCustomFieldOK handles this case with default header values.

The above command returns results like this:

func NewPutCustomFieldOK

func NewPutCustomFieldOK() *PutCustomFieldOK

NewPutCustomFieldOK creates a PutCustomFieldOK with default headers values

func (*PutCustomFieldOK) Error

func (o *PutCustomFieldOK) Error() string

func (*PutCustomFieldOK) GetPayload

func (o *PutCustomFieldOK) GetPayload() *PutCustomFieldOKBody

type PutCustomFieldOKBody

type PutCustomFieldOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg interface{} `json:"msg,omitempty"`
}

PutCustomFieldOKBody put custom field o k body swagger:model PutCustomFieldOKBody

func (*PutCustomFieldOKBody) MarshalBinary

func (o *PutCustomFieldOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutCustomFieldOKBody) UnmarshalBinary

func (o *PutCustomFieldOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutCustomFieldOKBody) Validate

func (o *PutCustomFieldOKBody) Validate(formats strfmt.Registry) error

Validate validates this put custom field o k body

type PutCustomFieldParams

type PutCustomFieldParams 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
	/*Asset
	  if there is more than 1 device with the same asset #, this will return “device not found”, or

	*/
	Asset *string
	/*BulkFields
	  comma separated key value pairs, with key and value separated by colon. e.g.key1:value1, key2:value2 (added in v6.4.1)

	*/
	BulkFields *string
	/*ClearValue
	  yes to clear existing value for that field (added in v6.1.0)

	*/
	ClearValue *string
	/*ID
	  ID of the device

	*/
	ID *int64
	/*Key
	  Can be new or existing. This is the custom field name.

	*/
	Key string
	/*Name
	  name of the device, or

	*/
	Name *string
	/*Notes*/
	Notes *string
	/*RelatedFieldName
	  Required if type = related_field. The existing field to relate this custom field to. Can be: appcomp (for application components), asset, building, certificate, circuit, cusotmer, device, endusers, hardware (for device hardware models), ip_address, natip, netport (for ports), os, part, partmodel, password, pdu (for power units), pdu_model (for power unit models), ports, purchase, purchaselineitem (for a line item on a purchase order), rack, room, software, vlan (for subnets), switch_vlan (for vlans), vrfgroup

	*/
	RelatedFieldName *string
	/*Serial
	  if there is more than 1 device with the same serial #, this will return “device not found”

	*/
	Serial *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*/
	Value *string

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

PutCustomFieldParams contains all the parameters to send to the API endpoint for the put custom field operation typically these are written to a http.Request

func NewPutCustomFieldParams

func NewPutCustomFieldParams() *PutCustomFieldParams

NewPutCustomFieldParams creates a new PutCustomFieldParams object with the default values initialized.

func NewPutCustomFieldParamsWithContext

func NewPutCustomFieldParamsWithContext(ctx context.Context) *PutCustomFieldParams

NewPutCustomFieldParamsWithContext creates a new PutCustomFieldParams object with the default values initialized, and the ability to set a context for a request

func NewPutCustomFieldParamsWithHTTPClient

func NewPutCustomFieldParamsWithHTTPClient(client *http.Client) *PutCustomFieldParams

NewPutCustomFieldParamsWithHTTPClient creates a new PutCustomFieldParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutCustomFieldParamsWithTimeout

func NewPutCustomFieldParamsWithTimeout(timeout time.Duration) *PutCustomFieldParams

NewPutCustomFieldParamsWithTimeout creates a new PutCustomFieldParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutCustomFieldParams) SetAddToPicklist

func (o *PutCustomFieldParams) SetAddToPicklist(addToPicklist *string)

SetAddToPicklist adds the addToPicklist to the put custom field params

func (*PutCustomFieldParams) SetAsset

func (o *PutCustomFieldParams) SetAsset(asset *string)

SetAsset adds the asset to the put custom field params

func (*PutCustomFieldParams) SetBulkFields

func (o *PutCustomFieldParams) SetBulkFields(bulkFields *string)

SetBulkFields adds the bulkFields to the put custom field params

func (*PutCustomFieldParams) SetClearValue

func (o *PutCustomFieldParams) SetClearValue(clearValue *string)

SetClearValue adds the clearValue to the put custom field params

func (*PutCustomFieldParams) SetContext

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

SetContext adds the context to the put custom field params

func (*PutCustomFieldParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put custom field params

func (*PutCustomFieldParams) SetID

func (o *PutCustomFieldParams) SetID(id *int64)

SetID adds the id to the put custom field params

func (*PutCustomFieldParams) SetKey

func (o *PutCustomFieldParams) SetKey(key string)

SetKey adds the key to the put custom field params

func (*PutCustomFieldParams) SetName

func (o *PutCustomFieldParams) SetName(name *string)

SetName adds the name to the put custom field params

func (*PutCustomFieldParams) SetNotes

func (o *PutCustomFieldParams) SetNotes(notes *string)

SetNotes adds the notes to the put custom field params

func (*PutCustomFieldParams) SetRelatedFieldName

func (o *PutCustomFieldParams) SetRelatedFieldName(relatedFieldName *string)

SetRelatedFieldName adds the relatedFieldName to the put custom field params

func (*PutCustomFieldParams) SetSerial

func (o *PutCustomFieldParams) SetSerial(serial *string)

SetSerial adds the serial to the put custom field params

func (*PutCustomFieldParams) SetTimeout

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

SetTimeout adds the timeout to the put custom field params

func (*PutCustomFieldParams) SetType

func (o *PutCustomFieldParams) SetType(typeVar *string)

SetType adds the type to the put custom field params

func (*PutCustomFieldParams) SetValue

func (o *PutCustomFieldParams) SetValue(value *string)

SetValue adds the value to the put custom field params

func (*PutCustomFieldParams) WithAddToPicklist

func (o *PutCustomFieldParams) WithAddToPicklist(addToPicklist *string) *PutCustomFieldParams

WithAddToPicklist adds the addToPicklist to the put custom field params

func (*PutCustomFieldParams) WithAsset

func (o *PutCustomFieldParams) WithAsset(asset *string) *PutCustomFieldParams

WithAsset adds the asset to the put custom field params

func (*PutCustomFieldParams) WithBulkFields

func (o *PutCustomFieldParams) WithBulkFields(bulkFields *string) *PutCustomFieldParams

WithBulkFields adds the bulkFields to the put custom field params

func (*PutCustomFieldParams) WithClearValue

func (o *PutCustomFieldParams) WithClearValue(clearValue *string) *PutCustomFieldParams

WithClearValue adds the clearValue to the put custom field params

func (*PutCustomFieldParams) WithContext

WithContext adds the context to the put custom field params

func (*PutCustomFieldParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put custom field params

func (*PutCustomFieldParams) WithID

WithID adds the id to the put custom field params

func (*PutCustomFieldParams) WithKey

WithKey adds the key to the put custom field params

func (*PutCustomFieldParams) WithName

func (o *PutCustomFieldParams) WithName(name *string) *PutCustomFieldParams

WithName adds the name to the put custom field params

func (*PutCustomFieldParams) WithNotes

func (o *PutCustomFieldParams) WithNotes(notes *string) *PutCustomFieldParams

WithNotes adds the notes to the put custom field params

func (*PutCustomFieldParams) WithRelatedFieldName

func (o *PutCustomFieldParams) WithRelatedFieldName(relatedFieldName *string) *PutCustomFieldParams

WithRelatedFieldName adds the relatedFieldName to the put custom field params

func (*PutCustomFieldParams) WithSerial

func (o *PutCustomFieldParams) WithSerial(serial *string) *PutCustomFieldParams

WithSerial adds the serial to the put custom field params

func (*PutCustomFieldParams) WithTimeout

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

WithTimeout adds the timeout to the put custom field params

func (*PutCustomFieldParams) WithType

func (o *PutCustomFieldParams) WithType(typeVar *string) *PutCustomFieldParams

WithType adds the typeVar to the put custom field params

func (*PutCustomFieldParams) WithValue

func (o *PutCustomFieldParams) WithValue(value *string) *PutCustomFieldParams

WithValue adds the value to the put custom field params

func (*PutCustomFieldParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutCustomFieldReader

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

PutCustomFieldReader is a Reader for the PutCustomField structure.

func (*PutCustomFieldReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutCustomFieldServiceUnavailable

type PutCustomFieldServiceUnavailable struct {
}

PutCustomFieldServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPutCustomFieldServiceUnavailable

func NewPutCustomFieldServiceUnavailable() *PutCustomFieldServiceUnavailable

NewPutCustomFieldServiceUnavailable creates a PutCustomFieldServiceUnavailable with default headers values

func (*PutCustomFieldServiceUnavailable) Error

type PutCustomFieldUnauthorized

type PutCustomFieldUnauthorized struct {
}

PutCustomFieldUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPutCustomFieldUnauthorized

func NewPutCustomFieldUnauthorized() *PutCustomFieldUnauthorized

NewPutCustomFieldUnauthorized creates a PutCustomFieldUnauthorized with default headers values

func (*PutCustomFieldUnauthorized) Error

type PutDeviceBadRequest

type PutDeviceBadRequest struct {
}

PutDeviceBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPutDeviceBadRequest

func NewPutDeviceBadRequest() *PutDeviceBadRequest

NewPutDeviceBadRequest creates a PutDeviceBadRequest with default headers values

func (*PutDeviceBadRequest) Error

func (o *PutDeviceBadRequest) Error() string

type PutDeviceOK

type PutDeviceOK struct {
	Payload *PutDeviceOKBody
}

PutDeviceOK handles this case with default header values.

The above command returns results like this:

func NewPutDeviceOK

func NewPutDeviceOK() *PutDeviceOK

NewPutDeviceOK creates a PutDeviceOK with default headers values

func (*PutDeviceOK) Error

func (o *PutDeviceOK) Error() string

func (*PutDeviceOK) GetPayload

func (o *PutDeviceOK) GetPayload() *PutDeviceOKBody

type PutDeviceOKBody

type PutDeviceOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg models.DeviceName `json:"msg,omitempty"`
}

PutDeviceOKBody put device o k body swagger:model PutDeviceOKBody

func (*PutDeviceOKBody) MarshalBinary

func (o *PutDeviceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutDeviceOKBody) UnmarshalBinary

func (o *PutDeviceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutDeviceOKBody) Validate

func (o *PutDeviceOKBody) Validate(formats strfmt.Registry) error

Validate validates this put device o k body

type PutDeviceParams

type PutDeviceParams struct {

	/*Aliases
	  optional. Comma separated aliases for the device. Must not exist, ignored otherwise.

	*/
	Aliases *string
	/*AliasesRemove
	  comma separated aliases to remove

	*/
	AliasesRemove *string
	/*Appcomps
	  comma separated application component names on this device.

	*/
	Appcomps *string
	/*Asset
	  If the asset number is provided, it must be a unique asset number or a “device not found” error will result. If it is a unique asset number, then the device that has that asset number will be updated.

	*/
	Asset *string
	/*AssetNo
	  the asset # of the device.

	*/
	AssetNo *string
	/*BladeHost
	  the name of the host for the blade machine. Two conditions must be met for this value to successfully update: 1. The device must be a blade type. 2. The blade host must already exist and must already be marked as a blade host.

	*/
	BladeHost *string
	/*BladeHostClear
	  clear blade host for device

	*/
	BladeHostClear *string
	/*Contract
	  Name of the contract. Used only if contract name is unique. – DEPRECATED in v550.

	*/
	Contract *string
	/*ContractID
	  ID for the contract. Available via GET /api/api/1.0/contracts/ – DEPRECATED in v550.

	*/
	ContractID *int64
	/*Cpucore
	  number of cores/CPU. Integer. (If updating, cpupower and cpucount required)

	*/
	Cpucore *string
	/*Cpucount
	  total # of CPUs. (If updating, cpupower and cpucore required)

	*/
	Cpucount *int64
	/*Cpupower
	  CPU speed in MHz, just numbers. (If updating, cpucount and cpucore required)

	*/
	Cpupower *string
	/*Customer
	  name of the customer. Customer record must already exist.

	*/
	Customer *string
	/*DeviceID
	  update the device by Device42 ID

	*/
	DeviceID *string
	/*DevicesInCluster
	  comma separated device names for devices in cluster. Only valid for device type cluster.

	*/
	DevicesInCluster *string
	/*DevicesInClusterRemove
	  comma separated device names for removing devices in cluster. Only valid for device type cluster. (added in v9.2.0)

	*/
	DevicesInClusterRemove *string
	/*Hardware
	  the name of the hardware model for the device. Use in conjunction with the manufacturer argument. However, an update will only occur if no hardware model is previously assigned to the device.

	*/
	Hardware *string
	/*Hddcount
	  total # of HDD (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddcount *int64
	/*Hddraid
	  Raid. Possible values: software or hardware. none to clear. (none added in v9.1.0) (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddraid *string
	/*HddraidType
	  Raid Type. (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	HddraidType *string
	/*Hddsize
	  HDD Size in GB (hddcount, hddsize, hddraid, and hddraid_type all required when updating any of the 4)

	*/
	Hddsize *string
	/*InService
	  ‘yes’ indicates if device is in service, ‘no’ indicates not in service

	*/
	InService *string
	/*IsItBladeHost
	  ‘yes’ indicates if device is a blade host

	*/
	IsItBladeHost *string
	/*IsItSwitch
	  ‘yes’ indicates if device is a network switch

	*/
	IsItSwitch *string
	/*IsItVirtualHost
	  ‘yes’ indicates if device is a virtual host

	*/
	IsItVirtualHost *string
	/*Macaddress
	  the mac address value. Use multiple POST/PUT to add multiple mac addresses.

	*/
	Macaddress *string
	/*Manufacturer
	  the hardware manufacturer for the device.

	*/
	Manufacturer *string
	/*Memory
	  the total memory(RAM) in MB. Just numbers.

	*/
	Memory *string
	/*Name
	  Updates the device found with that name. Otherwise returns “device not found"

	*/
	Name *string
	/*NewHardware
	  If you want to change the hardware model for a device. If the device is rack mounted, it will unmount the device before changing hardware model and attempt to mount it back to same rack location (Changed in v6.3.2)

	*/
	NewHardware *string
	/*NewName
	  As mentioned above, this can be used to change the name of an existing device

	*/
	NewName *string
	/*NewObjectCategory
	  Used to change category on a device if it is already set.

	*/
	NewObjectCategory *string
	/*Notes*/
	Notes *string
	/*ObjectCategory
	  If multitenancy is on, a category can be assigned to control access to this object, e.g. Prod_East specifies that the users with access to the Prod_East category will be able to access this device.

	*/
	ObjectCategory *string
	/*Os
	  the name of the operating system (os, osver, and osverno all required if updating any of the three).

	*/
	Os *string
	/*Osarch
	  The architecture of the operating system (32 or 64)

	*/
	Osarch *string
	/*Osver
	  the version of the operating system (os, osver, and osverno all required if updating any of the three)

	*/
	Osver *string
	/*Osverno
	  the version # or build # of the operating system (os, osver, and osverno all required if updating any of the three)

	*/
	Osverno *int64
	/*Serial
	  If the serial number is provided, it must be a unique serial number or a “device not found” error will result. If it is a unique serial number, then the device that has that serial number will be updated.

	*/
	Serial *string
	/*SerialNo
	  the serial # of the device. If a device with matching serial # is found - that device is updated. Serial # with less than 3 characters in length are ignored. Also, certain generic serial #s like 123456789 or ‘not specified’ are ignored.

	*/
	SerialNo *string
	/*ServiceLevel
	  the service level name for the device. The service level must be pre-defined in the device42 appliance before it can be referenced in an api call.

	*/
	ServiceLevel *string
	/*SlotNo
	  slot # for blade device.

	*/
	SlotNo *int64
	/*StorageRoom
	  name of the room to assign device to, only used if the room name is unique. Added in v5.5.0

	*/
	StorageRoom *string
	/*StorageRoomID
	  ID of the room to assign device to storage room. Added in v5.5.0

	*/
	StorageRoomID *int64
	/*Subtype
	  Only for device type other. Must exist internally first.

	*/
	Subtype *string
	/*Tags
	  comma separated tags (Added in v5.9.2)

	*/
	Tags *string
	/*TagsRemove
	  comma separated tags to remove (added in v9.1.0)

	*/
	TagsRemove *string
	/*Type
	  type of the device

	*/
	Type *string
	/*UUID
	  the uuid of the device. If a device with matching uuid is found - that device is updated.

	*/
	UUID *string
	/*VirtualHost
	  Is the name for the host of the virtual machine. Two conditions must be met for this value to successfully update: 1. The device must be a virtual machine. 2. The virtual host must already exist in the device42 application and must be already marked as a virtual host.

	*/
	VirtualHost *string
	/*VirtualHostClear
	  yes to clear virtual host for a VM (added in v9.1.0)

	*/
	VirtualHostClear *string
	/*VirtualSubtype
	  Only for device type virtual. Default is internal VM.

	*/
	VirtualSubtype *string

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

PutDeviceParams contains all the parameters to send to the API endpoint for the put device operation typically these are written to a http.Request

func NewPutDeviceParams

func NewPutDeviceParams() *PutDeviceParams

NewPutDeviceParams creates a new PutDeviceParams object with the default values initialized.

func NewPutDeviceParamsWithContext

func NewPutDeviceParamsWithContext(ctx context.Context) *PutDeviceParams

NewPutDeviceParamsWithContext creates a new PutDeviceParams object with the default values initialized, and the ability to set a context for a request

func NewPutDeviceParamsWithHTTPClient

func NewPutDeviceParamsWithHTTPClient(client *http.Client) *PutDeviceParams

NewPutDeviceParamsWithHTTPClient creates a new PutDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutDeviceParamsWithTimeout

func NewPutDeviceParamsWithTimeout(timeout time.Duration) *PutDeviceParams

NewPutDeviceParamsWithTimeout creates a new PutDeviceParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutDeviceParams) SetAliases

func (o *PutDeviceParams) SetAliases(aliases *string)

SetAliases adds the aliases to the put device params

func (*PutDeviceParams) SetAliasesRemove

func (o *PutDeviceParams) SetAliasesRemove(aliasesRemove *string)

SetAliasesRemove adds the aliasesRemove to the put device params

func (*PutDeviceParams) SetAppcomps

func (o *PutDeviceParams) SetAppcomps(appcomps *string)

SetAppcomps adds the appcomps to the put device params

func (*PutDeviceParams) SetAsset

func (o *PutDeviceParams) SetAsset(asset *string)

SetAsset adds the asset to the put device params

func (*PutDeviceParams) SetAssetNo

func (o *PutDeviceParams) SetAssetNo(assetNo *string)

SetAssetNo adds the assetNo to the put device params

func (*PutDeviceParams) SetBladeHost

func (o *PutDeviceParams) SetBladeHost(bladeHost *string)

SetBladeHost adds the bladeHost to the put device params

func (*PutDeviceParams) SetBladeHostClear

func (o *PutDeviceParams) SetBladeHostClear(bladeHostClear *string)

SetBladeHostClear adds the bladeHostClear to the put device params

func (*PutDeviceParams) SetContext

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

SetContext adds the context to the put device params

func (*PutDeviceParams) SetContract

func (o *PutDeviceParams) SetContract(contract *string)

SetContract adds the contract to the put device params

func (*PutDeviceParams) SetContractID

func (o *PutDeviceParams) SetContractID(contractID *int64)

SetContractID adds the contractId to the put device params

func (*PutDeviceParams) SetCpucore

func (o *PutDeviceParams) SetCpucore(cpucore *string)

SetCpucore adds the cpucore to the put device params

func (*PutDeviceParams) SetCpucount

func (o *PutDeviceParams) SetCpucount(cpucount *int64)

SetCpucount adds the cpucount to the put device params

func (*PutDeviceParams) SetCpupower

func (o *PutDeviceParams) SetCpupower(cpupower *string)

SetCpupower adds the cpupower to the put device params

func (*PutDeviceParams) SetCustomer

func (o *PutDeviceParams) SetCustomer(customer *string)

SetCustomer adds the customer to the put device params

func (*PutDeviceParams) SetDeviceID

func (o *PutDeviceParams) SetDeviceID(deviceID *string)

SetDeviceID adds the deviceId to the put device params

func (*PutDeviceParams) SetDevicesInCluster

func (o *PutDeviceParams) SetDevicesInCluster(devicesInCluster *string)

SetDevicesInCluster adds the devicesInCluster to the put device params

func (*PutDeviceParams) SetDevicesInClusterRemove

func (o *PutDeviceParams) SetDevicesInClusterRemove(devicesInClusterRemove *string)

SetDevicesInClusterRemove adds the devicesInClusterRemove to the put device params

func (*PutDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put device params

func (*PutDeviceParams) SetHardware

func (o *PutDeviceParams) SetHardware(hardware *string)

SetHardware adds the hardware to the put device params

func (*PutDeviceParams) SetHddcount

func (o *PutDeviceParams) SetHddcount(hddcount *int64)

SetHddcount adds the hddcount to the put device params

func (*PutDeviceParams) SetHddraid

func (o *PutDeviceParams) SetHddraid(hddraid *string)

SetHddraid adds the hddraid to the put device params

func (*PutDeviceParams) SetHddraidType

func (o *PutDeviceParams) SetHddraidType(hddraidType *string)

SetHddraidType adds the hddraidType to the put device params

func (*PutDeviceParams) SetHddsize

func (o *PutDeviceParams) SetHddsize(hddsize *string)

SetHddsize adds the hddsize to the put device params

func (*PutDeviceParams) SetInService

func (o *PutDeviceParams) SetInService(inService *string)

SetInService adds the inService to the put device params

func (*PutDeviceParams) SetIsItBladeHost

func (o *PutDeviceParams) SetIsItBladeHost(isItBladeHost *string)

SetIsItBladeHost adds the isItBladeHost to the put device params

func (*PutDeviceParams) SetIsItSwitch

func (o *PutDeviceParams) SetIsItSwitch(isItSwitch *string)

SetIsItSwitch adds the isItSwitch to the put device params

func (*PutDeviceParams) SetIsItVirtualHost

func (o *PutDeviceParams) SetIsItVirtualHost(isItVirtualHost *string)

SetIsItVirtualHost adds the isItVirtualHost to the put device params

func (*PutDeviceParams) SetMacaddress

func (o *PutDeviceParams) SetMacaddress(macaddress *string)

SetMacaddress adds the macaddress to the put device params

func (*PutDeviceParams) SetManufacturer

func (o *PutDeviceParams) SetManufacturer(manufacturer *string)

SetManufacturer adds the manufacturer to the put device params

func (*PutDeviceParams) SetMemory

func (o *PutDeviceParams) SetMemory(memory *string)

SetMemory adds the memory to the put device params

func (*PutDeviceParams) SetName

func (o *PutDeviceParams) SetName(name *string)

SetName adds the name to the put device params

func (*PutDeviceParams) SetNewHardware

func (o *PutDeviceParams) SetNewHardware(newHardware *string)

SetNewHardware adds the newHardware to the put device params

func (*PutDeviceParams) SetNewName

func (o *PutDeviceParams) SetNewName(newName *string)

SetNewName adds the newName to the put device params

func (*PutDeviceParams) SetNewObjectCategory

func (o *PutDeviceParams) SetNewObjectCategory(newObjectCategory *string)

SetNewObjectCategory adds the newObjectCategory to the put device params

func (*PutDeviceParams) SetNotes

func (o *PutDeviceParams) SetNotes(notes *string)

SetNotes adds the notes to the put device params

func (*PutDeviceParams) SetObjectCategory

func (o *PutDeviceParams) SetObjectCategory(objectCategory *string)

SetObjectCategory adds the objectCategory to the put device params

func (*PutDeviceParams) SetOs

func (o *PutDeviceParams) SetOs(os *string)

SetOs adds the os to the put device params

func (*PutDeviceParams) SetOsarch

func (o *PutDeviceParams) SetOsarch(osarch *string)

SetOsarch adds the osarch to the put device params

func (*PutDeviceParams) SetOsver

func (o *PutDeviceParams) SetOsver(osver *string)

SetOsver adds the osver to the put device params

func (*PutDeviceParams) SetOsverno

func (o *PutDeviceParams) SetOsverno(osverno *int64)

SetOsverno adds the osverno to the put device params

func (*PutDeviceParams) SetSerial

func (o *PutDeviceParams) SetSerial(serial *string)

SetSerial adds the serial to the put device params

func (*PutDeviceParams) SetSerialNo

func (o *PutDeviceParams) SetSerialNo(serialNo *string)

SetSerialNo adds the serialNo to the put device params

func (*PutDeviceParams) SetServiceLevel

func (o *PutDeviceParams) SetServiceLevel(serviceLevel *string)

SetServiceLevel adds the serviceLevel to the put device params

func (*PutDeviceParams) SetSlotNo

func (o *PutDeviceParams) SetSlotNo(slotNo *int64)

SetSlotNo adds the slotNo to the put device params

func (*PutDeviceParams) SetStorageRoom

func (o *PutDeviceParams) SetStorageRoom(storageRoom *string)

SetStorageRoom adds the storageRoom to the put device params

func (*PutDeviceParams) SetStorageRoomID

func (o *PutDeviceParams) SetStorageRoomID(storageRoomID *int64)

SetStorageRoomID adds the storageRoomId to the put device params

func (*PutDeviceParams) SetSubtype

func (o *PutDeviceParams) SetSubtype(subtype *string)

SetSubtype adds the subtype to the put device params

func (*PutDeviceParams) SetTags

func (o *PutDeviceParams) SetTags(tags *string)

SetTags adds the tags to the put device params

func (*PutDeviceParams) SetTagsRemove

func (o *PutDeviceParams) SetTagsRemove(tagsRemove *string)

SetTagsRemove adds the tagsRemove to the put device params

func (*PutDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the put device params

func (*PutDeviceParams) SetType

func (o *PutDeviceParams) SetType(typeVar *string)

SetType adds the type to the put device params

func (*PutDeviceParams) SetUUID

func (o *PutDeviceParams) SetUUID(uuid *string)

SetUUID adds the uuid to the put device params

func (*PutDeviceParams) SetVirtualHost

func (o *PutDeviceParams) SetVirtualHost(virtualHost *string)

SetVirtualHost adds the virtualHost to the put device params

func (*PutDeviceParams) SetVirtualHostClear

func (o *PutDeviceParams) SetVirtualHostClear(virtualHostClear *string)

SetVirtualHostClear adds the virtualHostClear to the put device params

func (*PutDeviceParams) SetVirtualSubtype

func (o *PutDeviceParams) SetVirtualSubtype(virtualSubtype *string)

SetVirtualSubtype adds the virtualSubtype to the put device params

func (*PutDeviceParams) WithAliases

func (o *PutDeviceParams) WithAliases(aliases *string) *PutDeviceParams

WithAliases adds the aliases to the put device params

func (*PutDeviceParams) WithAliasesRemove

func (o *PutDeviceParams) WithAliasesRemove(aliasesRemove *string) *PutDeviceParams

WithAliasesRemove adds the aliasesRemove to the put device params

func (*PutDeviceParams) WithAppcomps

func (o *PutDeviceParams) WithAppcomps(appcomps *string) *PutDeviceParams

WithAppcomps adds the appcomps to the put device params

func (*PutDeviceParams) WithAsset

func (o *PutDeviceParams) WithAsset(asset *string) *PutDeviceParams

WithAsset adds the asset to the put device params

func (*PutDeviceParams) WithAssetNo

func (o *PutDeviceParams) WithAssetNo(assetNo *string) *PutDeviceParams

WithAssetNo adds the assetNo to the put device params

func (*PutDeviceParams) WithBladeHost

func (o *PutDeviceParams) WithBladeHost(bladeHost *string) *PutDeviceParams

WithBladeHost adds the bladeHost to the put device params

func (*PutDeviceParams) WithBladeHostClear

func (o *PutDeviceParams) WithBladeHostClear(bladeHostClear *string) *PutDeviceParams

WithBladeHostClear adds the bladeHostClear to the put device params

func (*PutDeviceParams) WithContext

func (o *PutDeviceParams) WithContext(ctx context.Context) *PutDeviceParams

WithContext adds the context to the put device params

func (*PutDeviceParams) WithContract

func (o *PutDeviceParams) WithContract(contract *string) *PutDeviceParams

WithContract adds the contract to the put device params

func (*PutDeviceParams) WithContractID

func (o *PutDeviceParams) WithContractID(contractID *int64) *PutDeviceParams

WithContractID adds the contractID to the put device params

func (*PutDeviceParams) WithCpucore

func (o *PutDeviceParams) WithCpucore(cpucore *string) *PutDeviceParams

WithCpucore adds the cpucore to the put device params

func (*PutDeviceParams) WithCpucount

func (o *PutDeviceParams) WithCpucount(cpucount *int64) *PutDeviceParams

WithCpucount adds the cpucount to the put device params

func (*PutDeviceParams) WithCpupower

func (o *PutDeviceParams) WithCpupower(cpupower *string) *PutDeviceParams

WithCpupower adds the cpupower to the put device params

func (*PutDeviceParams) WithCustomer

func (o *PutDeviceParams) WithCustomer(customer *string) *PutDeviceParams

WithCustomer adds the customer to the put device params

func (*PutDeviceParams) WithDeviceID

func (o *PutDeviceParams) WithDeviceID(deviceID *string) *PutDeviceParams

WithDeviceID adds the deviceID to the put device params

func (*PutDeviceParams) WithDevicesInCluster

func (o *PutDeviceParams) WithDevicesInCluster(devicesInCluster *string) *PutDeviceParams

WithDevicesInCluster adds the devicesInCluster to the put device params

func (*PutDeviceParams) WithDevicesInClusterRemove

func (o *PutDeviceParams) WithDevicesInClusterRemove(devicesInClusterRemove *string) *PutDeviceParams

WithDevicesInClusterRemove adds the devicesInClusterRemove to the put device params

func (*PutDeviceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put device params

func (*PutDeviceParams) WithHardware

func (o *PutDeviceParams) WithHardware(hardware *string) *PutDeviceParams

WithHardware adds the hardware to the put device params

func (*PutDeviceParams) WithHddcount

func (o *PutDeviceParams) WithHddcount(hddcount *int64) *PutDeviceParams

WithHddcount adds the hddcount to the put device params

func (*PutDeviceParams) WithHddraid

func (o *PutDeviceParams) WithHddraid(hddraid *string) *PutDeviceParams

WithHddraid adds the hddraid to the put device params

func (*PutDeviceParams) WithHddraidType

func (o *PutDeviceParams) WithHddraidType(hddraidType *string) *PutDeviceParams

WithHddraidType adds the hddraidType to the put device params

func (*PutDeviceParams) WithHddsize

func (o *PutDeviceParams) WithHddsize(hddsize *string) *PutDeviceParams

WithHddsize adds the hddsize to the put device params

func (*PutDeviceParams) WithInService

func (o *PutDeviceParams) WithInService(inService *string) *PutDeviceParams

WithInService adds the inService to the put device params

func (*PutDeviceParams) WithIsItBladeHost

func (o *PutDeviceParams) WithIsItBladeHost(isItBladeHost *string) *PutDeviceParams

WithIsItBladeHost adds the isItBladeHost to the put device params

func (*PutDeviceParams) WithIsItSwitch

func (o *PutDeviceParams) WithIsItSwitch(isItSwitch *string) *PutDeviceParams

WithIsItSwitch adds the isItSwitch to the put device params

func (*PutDeviceParams) WithIsItVirtualHost

func (o *PutDeviceParams) WithIsItVirtualHost(isItVirtualHost *string) *PutDeviceParams

WithIsItVirtualHost adds the isItVirtualHost to the put device params

func (*PutDeviceParams) WithMacaddress

func (o *PutDeviceParams) WithMacaddress(macaddress *string) *PutDeviceParams

WithMacaddress adds the macaddress to the put device params

func (*PutDeviceParams) WithManufacturer

func (o *PutDeviceParams) WithManufacturer(manufacturer *string) *PutDeviceParams

WithManufacturer adds the manufacturer to the put device params

func (*PutDeviceParams) WithMemory

func (o *PutDeviceParams) WithMemory(memory *string) *PutDeviceParams

WithMemory adds the memory to the put device params

func (*PutDeviceParams) WithName

func (o *PutDeviceParams) WithName(name *string) *PutDeviceParams

WithName adds the name to the put device params

func (*PutDeviceParams) WithNewHardware

func (o *PutDeviceParams) WithNewHardware(newHardware *string) *PutDeviceParams

WithNewHardware adds the newHardware to the put device params

func (*PutDeviceParams) WithNewName

func (o *PutDeviceParams) WithNewName(newName *string) *PutDeviceParams

WithNewName adds the newName to the put device params

func (*PutDeviceParams) WithNewObjectCategory

func (o *PutDeviceParams) WithNewObjectCategory(newObjectCategory *string) *PutDeviceParams

WithNewObjectCategory adds the newObjectCategory to the put device params

func (*PutDeviceParams) WithNotes

func (o *PutDeviceParams) WithNotes(notes *string) *PutDeviceParams

WithNotes adds the notes to the put device params

func (*PutDeviceParams) WithObjectCategory

func (o *PutDeviceParams) WithObjectCategory(objectCategory *string) *PutDeviceParams

WithObjectCategory adds the objectCategory to the put device params

func (*PutDeviceParams) WithOs

func (o *PutDeviceParams) WithOs(os *string) *PutDeviceParams

WithOs adds the os to the put device params

func (*PutDeviceParams) WithOsarch

func (o *PutDeviceParams) WithOsarch(osarch *string) *PutDeviceParams

WithOsarch adds the osarch to the put device params

func (*PutDeviceParams) WithOsver

func (o *PutDeviceParams) WithOsver(osver *string) *PutDeviceParams

WithOsver adds the osver to the put device params

func (*PutDeviceParams) WithOsverno

func (o *PutDeviceParams) WithOsverno(osverno *int64) *PutDeviceParams

WithOsverno adds the osverno to the put device params

func (*PutDeviceParams) WithSerial

func (o *PutDeviceParams) WithSerial(serial *string) *PutDeviceParams

WithSerial adds the serial to the put device params

func (*PutDeviceParams) WithSerialNo

func (o *PutDeviceParams) WithSerialNo(serialNo *string) *PutDeviceParams

WithSerialNo adds the serialNo to the put device params

func (*PutDeviceParams) WithServiceLevel

func (o *PutDeviceParams) WithServiceLevel(serviceLevel *string) *PutDeviceParams

WithServiceLevel adds the serviceLevel to the put device params

func (*PutDeviceParams) WithSlotNo

func (o *PutDeviceParams) WithSlotNo(slotNo *int64) *PutDeviceParams

WithSlotNo adds the slotNo to the put device params

func (*PutDeviceParams) WithStorageRoom

func (o *PutDeviceParams) WithStorageRoom(storageRoom *string) *PutDeviceParams

WithStorageRoom adds the storageRoom to the put device params

func (*PutDeviceParams) WithStorageRoomID

func (o *PutDeviceParams) WithStorageRoomID(storageRoomID *int64) *PutDeviceParams

WithStorageRoomID adds the storageRoomID to the put device params

func (*PutDeviceParams) WithSubtype

func (o *PutDeviceParams) WithSubtype(subtype *string) *PutDeviceParams

WithSubtype adds the subtype to the put device params

func (*PutDeviceParams) WithTags

func (o *PutDeviceParams) WithTags(tags *string) *PutDeviceParams

WithTags adds the tags to the put device params

func (*PutDeviceParams) WithTagsRemove

func (o *PutDeviceParams) WithTagsRemove(tagsRemove *string) *PutDeviceParams

WithTagsRemove adds the tagsRemove to the put device params

func (*PutDeviceParams) WithTimeout

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

WithTimeout adds the timeout to the put device params

func (*PutDeviceParams) WithType

func (o *PutDeviceParams) WithType(typeVar *string) *PutDeviceParams

WithType adds the typeVar to the put device params

func (*PutDeviceParams) WithUUID

func (o *PutDeviceParams) WithUUID(uuid *string) *PutDeviceParams

WithUUID adds the uuid to the put device params

func (*PutDeviceParams) WithVirtualHost

func (o *PutDeviceParams) WithVirtualHost(virtualHost *string) *PutDeviceParams

WithVirtualHost adds the virtualHost to the put device params

func (*PutDeviceParams) WithVirtualHostClear

func (o *PutDeviceParams) WithVirtualHostClear(virtualHostClear *string) *PutDeviceParams

WithVirtualHostClear adds the virtualHostClear to the put device params

func (*PutDeviceParams) WithVirtualSubtype

func (o *PutDeviceParams) WithVirtualSubtype(virtualSubtype *string) *PutDeviceParams

WithVirtualSubtype adds the virtualSubtype to the put device params

func (*PutDeviceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutDeviceReader

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

PutDeviceReader is a Reader for the PutDevice structure.

func (*PutDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutDeviceURLBadRequest

type PutDeviceURLBadRequest struct {
}

PutDeviceURLBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPutDeviceURLBadRequest

func NewPutDeviceURLBadRequest() *PutDeviceURLBadRequest

NewPutDeviceURLBadRequest creates a PutDeviceURLBadRequest with default headers values

func (*PutDeviceURLBadRequest) Error

func (o *PutDeviceURLBadRequest) Error() string

type PutDeviceURLForbidden

type PutDeviceURLForbidden struct {
}

PutDeviceURLForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPutDeviceURLForbidden

func NewPutDeviceURLForbidden() *PutDeviceURLForbidden

NewPutDeviceURLForbidden creates a PutDeviceURLForbidden with default headers values

func (*PutDeviceURLForbidden) Error

func (o *PutDeviceURLForbidden) Error() string

type PutDeviceURLGone

type PutDeviceURLGone struct {
}

PutDeviceURLGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPutDeviceURLGone

func NewPutDeviceURLGone() *PutDeviceURLGone

NewPutDeviceURLGone creates a PutDeviceURLGone with default headers values

func (*PutDeviceURLGone) Error

func (o *PutDeviceURLGone) Error() string

type PutDeviceURLInternalServerError

type PutDeviceURLInternalServerError struct {
}

PutDeviceURLInternalServerError 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 NewPutDeviceURLInternalServerError

func NewPutDeviceURLInternalServerError() *PutDeviceURLInternalServerError

NewPutDeviceURLInternalServerError creates a PutDeviceURLInternalServerError with default headers values

func (*PutDeviceURLInternalServerError) Error

type PutDeviceURLMethodNotAllowed

type PutDeviceURLMethodNotAllowed struct {
}

PutDeviceURLMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPutDeviceURLMethodNotAllowed

func NewPutDeviceURLMethodNotAllowed() *PutDeviceURLMethodNotAllowed

NewPutDeviceURLMethodNotAllowed creates a PutDeviceURLMethodNotAllowed with default headers values

func (*PutDeviceURLMethodNotAllowed) Error

type PutDeviceURLNotFound

type PutDeviceURLNotFound struct {
}

PutDeviceURLNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPutDeviceURLNotFound

func NewPutDeviceURLNotFound() *PutDeviceURLNotFound

NewPutDeviceURLNotFound creates a PutDeviceURLNotFound with default headers values

func (*PutDeviceURLNotFound) Error

func (o *PutDeviceURLNotFound) Error() string

type PutDeviceURLOK

type PutDeviceURLOK struct {
	Payload *PutDeviceURLOKBody
}

PutDeviceURLOK handles this case with default header values.

The above command returns results like this:

func NewPutDeviceURLOK

func NewPutDeviceURLOK() *PutDeviceURLOK

NewPutDeviceURLOK creates a PutDeviceURLOK with default headers values

func (*PutDeviceURLOK) Error

func (o *PutDeviceURLOK) Error() string

func (*PutDeviceURLOK) GetPayload

func (o *PutDeviceURLOK) GetPayload() *PutDeviceURLOKBody

type PutDeviceURLOKBody

type PutDeviceURLOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg interface{} `json:"msg,omitempty"`
}

PutDeviceURLOKBody put device URL o k body swagger:model PutDeviceURLOKBody

func (*PutDeviceURLOKBody) MarshalBinary

func (o *PutDeviceURLOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutDeviceURLOKBody) UnmarshalBinary

func (o *PutDeviceURLOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutDeviceURLOKBody) Validate

func (o *PutDeviceURLOKBody) Validate(formats strfmt.Registry) error

Validate validates this put device URL o k body

type PutDeviceURLParams

type PutDeviceURLParams struct {

	/*Device
	  name of the device to which this url belongs (required if no ID)

	*/
	Device *string
	/*Host
	  fqdn portion of the url. e.g. for https://example.com/awesome, host is example.com

	*/
	Host *string
	/*ID
	  ID of the URL

	*/
	ID *string
	/*Notes*/
	Notes *string
	/*Port
	  port number if any

	*/
	Port *string
	/*Type
	  the url type (e.g. http, https, telnet). This must be an existing url type in device42. (required if no ID)

	*/
	Type *string
	/*URLSuffix
	  url suffix if any. e.g. it is “awesome” based on example given above.

	*/
	URLSuffix *string

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

PutDeviceURLParams contains all the parameters to send to the API endpoint for the put device Url operation typically these are written to a http.Request

func NewPutDeviceURLParams

func NewPutDeviceURLParams() *PutDeviceURLParams

NewPutDeviceURLParams creates a new PutDeviceURLParams object with the default values initialized.

func NewPutDeviceURLParamsWithContext

func NewPutDeviceURLParamsWithContext(ctx context.Context) *PutDeviceURLParams

NewPutDeviceURLParamsWithContext creates a new PutDeviceURLParams object with the default values initialized, and the ability to set a context for a request

func NewPutDeviceURLParamsWithHTTPClient

func NewPutDeviceURLParamsWithHTTPClient(client *http.Client) *PutDeviceURLParams

NewPutDeviceURLParamsWithHTTPClient creates a new PutDeviceURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutDeviceURLParamsWithTimeout

func NewPutDeviceURLParamsWithTimeout(timeout time.Duration) *PutDeviceURLParams

NewPutDeviceURLParamsWithTimeout creates a new PutDeviceURLParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutDeviceURLParams) SetContext

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

SetContext adds the context to the put device Url params

func (*PutDeviceURLParams) SetDevice

func (o *PutDeviceURLParams) SetDevice(device *string)

SetDevice adds the device to the put device Url params

func (*PutDeviceURLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put device Url params

func (*PutDeviceURLParams) SetHost

func (o *PutDeviceURLParams) SetHost(host *string)

SetHost adds the host to the put device Url params

func (*PutDeviceURLParams) SetID

func (o *PutDeviceURLParams) SetID(id *string)

SetID adds the id to the put device Url params

func (*PutDeviceURLParams) SetNotes

func (o *PutDeviceURLParams) SetNotes(notes *string)

SetNotes adds the notes to the put device Url params

func (*PutDeviceURLParams) SetPort

func (o *PutDeviceURLParams) SetPort(port *string)

SetPort adds the port to the put device Url params

func (*PutDeviceURLParams) SetTimeout

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

SetTimeout adds the timeout to the put device Url params

func (*PutDeviceURLParams) SetType

func (o *PutDeviceURLParams) SetType(typeVar *string)

SetType adds the type to the put device Url params

func (*PutDeviceURLParams) SetURLSuffix

func (o *PutDeviceURLParams) SetURLSuffix(uRLSuffix *string)

SetURLSuffix adds the urlSuffix to the put device Url params

func (*PutDeviceURLParams) WithContext

WithContext adds the context to the put device Url params

func (*PutDeviceURLParams) WithDevice

func (o *PutDeviceURLParams) WithDevice(device *string) *PutDeviceURLParams

WithDevice adds the device to the put device Url params

func (*PutDeviceURLParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put device Url params

func (*PutDeviceURLParams) WithHost

func (o *PutDeviceURLParams) WithHost(host *string) *PutDeviceURLParams

WithHost adds the host to the put device Url params

func (*PutDeviceURLParams) WithID

WithID adds the id to the put device Url params

func (*PutDeviceURLParams) WithNotes

func (o *PutDeviceURLParams) WithNotes(notes *string) *PutDeviceURLParams

WithNotes adds the notes to the put device Url params

func (*PutDeviceURLParams) WithPort

func (o *PutDeviceURLParams) WithPort(port *string) *PutDeviceURLParams

WithPort adds the port to the put device Url params

func (*PutDeviceURLParams) WithTimeout

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

WithTimeout adds the timeout to the put device Url params

func (*PutDeviceURLParams) WithType

func (o *PutDeviceURLParams) WithType(typeVar *string) *PutDeviceURLParams

WithType adds the typeVar to the put device Url params

func (*PutDeviceURLParams) WithURLSuffix

func (o *PutDeviceURLParams) WithURLSuffix(uRLSuffix *string) *PutDeviceURLParams

WithURLSuffix adds the uRLSuffix to the put device Url params

func (*PutDeviceURLParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutDeviceURLReader

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

PutDeviceURLReader is a Reader for the PutDeviceURL structure.

func (*PutDeviceURLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutDeviceURLServiceUnavailable

type PutDeviceURLServiceUnavailable struct {
}

PutDeviceURLServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPutDeviceURLServiceUnavailable

func NewPutDeviceURLServiceUnavailable() *PutDeviceURLServiceUnavailable

NewPutDeviceURLServiceUnavailable creates a PutDeviceURLServiceUnavailable with default headers values

func (*PutDeviceURLServiceUnavailable) Error

type PutDeviceURLUnauthorized

type PutDeviceURLUnauthorized struct {
}

PutDeviceURLUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPutDeviceURLUnauthorized

func NewPutDeviceURLUnauthorized() *PutDeviceURLUnauthorized

NewPutDeviceURLUnauthorized creates a PutDeviceURLUnauthorized with default headers values

func (*PutDeviceURLUnauthorized) Error

func (o *PutDeviceURLUnauthorized) Error() string

Source Files

Jump to

Keyboard shortcuts

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