rooms

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 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 AssetsItems0

type AssetsItems0 struct {

	// asset id
	AssetID interface{} `json:"asset_id,omitempty"`

	// asset no
	AssetNo interface{} `json:"asset_no,omitempty"`

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

	// serial no
	SerialNo interface{} `json:"serial_no,omitempty"`

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

AssetsItems0 assets items0 swagger:model AssetsItems0

func (*AssetsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*AssetsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AssetsItems0) Validate

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

Validate validates this assets items0

type Client

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

Client for rooms API

func (*Client) DeleteAssetsRoom

func (a *Client) DeleteAssetsRoom(params *DeleteAssetsRoomParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAssetsRoomOK, error)

DeleteAssetsRoom deletes an asset from its room

This API is used to delete the asset with the asset id supplied as the required argument from its room.

func (*Client) DeleteDeviceRoom

func (a *Client) DeleteDeviceRoom(params *DeleteDeviceRoomParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceRoomOK, error)

DeleteDeviceRoom deletes device from its room

This API is used to delete the device from its room with the device id supplied as the required argument.

func (*Client) DeleteRoomsID

func (a *Client) DeleteRoomsID(params *DeleteRoomsIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoomsIDOK, error)

DeleteRoomsID deletes room

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

func (*Client) GetRooms

func (a *Client) GetRooms(params *GetRoomsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoomsOK, error)

GetRooms retrieves information about all rooms

Get All Rooms

func (*Client) GetRoomsID

func (a *Client) GetRoomsID(params *GetRoomsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoomsIDOK, error)

GetRoomsID gets a specific room

Retrieve detailed information about a specific rooms includes racks, devices and objects directly related to that room.

func (*Client) PostAssetsRoom

func (a *Client) PostAssetsRoom(params *PostAssetsRoomParams, authInfo runtime.ClientAuthInfoWriter) (*PostAssetsRoomOK, error)

PostAssetsRoom adds an asset to a room

Add asset to room

func (*Client) PostDeviceRoom

func (a *Client) PostDeviceRoom(params *PostDeviceRoomParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceRoomOK, error)

PostDeviceRoom adds a device to a room

Add device to room

func (*Client) PostRooms

func (a *Client) PostRooms(params *PostRoomsParams, authInfo runtime.ClientAuthInfoWriter) (*PostRoomsOK, error)

PostRooms creates or update a room

Create or update a Room. Required parameters: <ul><li>name</li> <li>building_id <b>OR</b> building</li>

func (*Client) PutCustomFieldsRoom

func (a *Client) PutCustomFieldsRoom(params *PutCustomFieldsRoomParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsRoomOK, error)

PutCustomFieldsRoom creates update custom fields for rooms

Create or update custom fields for rooms. "ID" or "name" of room is needed even when value is not being changed.

func (*Client) PutRoomsID

func (a *Client) PutRoomsID(params *PutRoomsIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutRoomsIDOK, error)

PutRoomsID updates information about an existing room

Update a Room

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAssetsRoom(params *DeleteAssetsRoomParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAssetsRoomOK, error)

	DeleteDeviceRoom(params *DeleteDeviceRoomParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceRoomOK, error)

	DeleteRoomsID(params *DeleteRoomsIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoomsIDOK, error)

	GetRooms(params *GetRoomsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoomsOK, error)

	GetRoomsID(params *GetRoomsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoomsIDOK, error)

	PostAssetsRoom(params *PostAssetsRoomParams, authInfo runtime.ClientAuthInfoWriter) (*PostAssetsRoomOK, error)

	PostDeviceRoom(params *PostDeviceRoomParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceRoomOK, error)

	PostRooms(params *PostRoomsParams, authInfo runtime.ClientAuthInfoWriter) (*PostRoomsOK, error)

	PutCustomFieldsRoom(params *PutCustomFieldsRoomParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsRoomOK, error)

	PutRoomsID(params *PutRoomsIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutRoomsIDOK, 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 rooms API client.

type DeleteAssetsRoomBadRequest

type DeleteAssetsRoomBadRequest struct {
}

DeleteAssetsRoomBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteAssetsRoomBadRequest

func NewDeleteAssetsRoomBadRequest() *DeleteAssetsRoomBadRequest

NewDeleteAssetsRoomBadRequest creates a DeleteAssetsRoomBadRequest with default headers values

func (*DeleteAssetsRoomBadRequest) Error

type DeleteAssetsRoomForbidden

type DeleteAssetsRoomForbidden struct {
}

DeleteAssetsRoomForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteAssetsRoomForbidden

func NewDeleteAssetsRoomForbidden() *DeleteAssetsRoomForbidden

NewDeleteAssetsRoomForbidden creates a DeleteAssetsRoomForbidden with default headers values

func (*DeleteAssetsRoomForbidden) Error

func (o *DeleteAssetsRoomForbidden) Error() string

type DeleteAssetsRoomGone

type DeleteAssetsRoomGone struct {
}

DeleteAssetsRoomGone handles this case with default header values.

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

func NewDeleteAssetsRoomGone

func NewDeleteAssetsRoomGone() *DeleteAssetsRoomGone

NewDeleteAssetsRoomGone creates a DeleteAssetsRoomGone with default headers values

func (*DeleteAssetsRoomGone) Error

func (o *DeleteAssetsRoomGone) Error() string

type DeleteAssetsRoomInternalServerError

type DeleteAssetsRoomInternalServerError struct {
}

DeleteAssetsRoomInternalServerError 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 NewDeleteAssetsRoomInternalServerError

func NewDeleteAssetsRoomInternalServerError() *DeleteAssetsRoomInternalServerError

NewDeleteAssetsRoomInternalServerError creates a DeleteAssetsRoomInternalServerError with default headers values

func (*DeleteAssetsRoomInternalServerError) Error

type DeleteAssetsRoomMethodNotAllowed

type DeleteAssetsRoomMethodNotAllowed struct {
}

DeleteAssetsRoomMethodNotAllowed handles this case with default header values.

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

func NewDeleteAssetsRoomMethodNotAllowed

func NewDeleteAssetsRoomMethodNotAllowed() *DeleteAssetsRoomMethodNotAllowed

NewDeleteAssetsRoomMethodNotAllowed creates a DeleteAssetsRoomMethodNotAllowed with default headers values

func (*DeleteAssetsRoomMethodNotAllowed) Error

type DeleteAssetsRoomNotFound

type DeleteAssetsRoomNotFound struct {
}

DeleteAssetsRoomNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteAssetsRoomNotFound

func NewDeleteAssetsRoomNotFound() *DeleteAssetsRoomNotFound

NewDeleteAssetsRoomNotFound creates a DeleteAssetsRoomNotFound with default headers values

func (*DeleteAssetsRoomNotFound) Error

func (o *DeleteAssetsRoomNotFound) Error() string

type DeleteAssetsRoomOK

type DeleteAssetsRoomOK struct {
	Payload *DeleteAssetsRoomOKBody
}

DeleteAssetsRoomOK handles this case with default header values.

The above command returns results like this:

func NewDeleteAssetsRoomOK

func NewDeleteAssetsRoomOK() *DeleteAssetsRoomOK

NewDeleteAssetsRoomOK creates a DeleteAssetsRoomOK with default headers values

func (*DeleteAssetsRoomOK) Error

func (o *DeleteAssetsRoomOK) Error() string

func (*DeleteAssetsRoomOK) GetPayload

func (o *DeleteAssetsRoomOK) GetPayload() *DeleteAssetsRoomOKBody

type DeleteAssetsRoomOKBody

type DeleteAssetsRoomOKBody struct {

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

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

DeleteAssetsRoomOKBody delete assets room o k body swagger:model DeleteAssetsRoomOKBody

func (*DeleteAssetsRoomOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteAssetsRoomOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteAssetsRoomOKBody) Validate

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

Validate validates this delete assets room o k body

type DeleteAssetsRoomParams

type DeleteAssetsRoomParams struct {

	/*ID
	  device id

	*/
	ID int64

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

DeleteAssetsRoomParams contains all the parameters to send to the API endpoint for the delete assets room operation typically these are written to a http.Request

func NewDeleteAssetsRoomParams

func NewDeleteAssetsRoomParams() *DeleteAssetsRoomParams

NewDeleteAssetsRoomParams creates a new DeleteAssetsRoomParams object with the default values initialized.

func NewDeleteAssetsRoomParamsWithContext

func NewDeleteAssetsRoomParamsWithContext(ctx context.Context) *DeleteAssetsRoomParams

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

func NewDeleteAssetsRoomParamsWithHTTPClient

func NewDeleteAssetsRoomParamsWithHTTPClient(client *http.Client) *DeleteAssetsRoomParams

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

func NewDeleteAssetsRoomParamsWithTimeout

func NewDeleteAssetsRoomParamsWithTimeout(timeout time.Duration) *DeleteAssetsRoomParams

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

func (*DeleteAssetsRoomParams) SetContext

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

SetContext adds the context to the delete assets room params

func (*DeleteAssetsRoomParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete assets room params

func (*DeleteAssetsRoomParams) SetID

func (o *DeleteAssetsRoomParams) SetID(id int64)

SetID adds the id to the delete assets room params

func (*DeleteAssetsRoomParams) SetTimeout

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

SetTimeout adds the timeout to the delete assets room params

func (*DeleteAssetsRoomParams) WithContext

WithContext adds the context to the delete assets room params

func (*DeleteAssetsRoomParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete assets room params

func (*DeleteAssetsRoomParams) WithID

WithID adds the id to the delete assets room params

func (*DeleteAssetsRoomParams) WithTimeout

WithTimeout adds the timeout to the delete assets room params

func (*DeleteAssetsRoomParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAssetsRoomReader

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

DeleteAssetsRoomReader is a Reader for the DeleteAssetsRoom structure.

func (*DeleteAssetsRoomReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAssetsRoomServiceUnavailable

type DeleteAssetsRoomServiceUnavailable struct {
}

DeleteAssetsRoomServiceUnavailable handles this case with default header values.

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

func NewDeleteAssetsRoomServiceUnavailable

func NewDeleteAssetsRoomServiceUnavailable() *DeleteAssetsRoomServiceUnavailable

NewDeleteAssetsRoomServiceUnavailable creates a DeleteAssetsRoomServiceUnavailable with default headers values

func (*DeleteAssetsRoomServiceUnavailable) Error

type DeleteAssetsRoomUnauthorized

type DeleteAssetsRoomUnauthorized struct {
}

DeleteAssetsRoomUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteAssetsRoomUnauthorized

func NewDeleteAssetsRoomUnauthorized() *DeleteAssetsRoomUnauthorized

NewDeleteAssetsRoomUnauthorized creates a DeleteAssetsRoomUnauthorized with default headers values

func (*DeleteAssetsRoomUnauthorized) Error

type DeleteDeviceRoomBadRequest

type DeleteDeviceRoomBadRequest struct {
}

DeleteDeviceRoomBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteDeviceRoomBadRequest

func NewDeleteDeviceRoomBadRequest() *DeleteDeviceRoomBadRequest

NewDeleteDeviceRoomBadRequest creates a DeleteDeviceRoomBadRequest with default headers values

func (*DeleteDeviceRoomBadRequest) Error

type DeleteDeviceRoomForbidden

type DeleteDeviceRoomForbidden struct {
}

DeleteDeviceRoomForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteDeviceRoomForbidden

func NewDeleteDeviceRoomForbidden() *DeleteDeviceRoomForbidden

NewDeleteDeviceRoomForbidden creates a DeleteDeviceRoomForbidden with default headers values

func (*DeleteDeviceRoomForbidden) Error

func (o *DeleteDeviceRoomForbidden) Error() string

type DeleteDeviceRoomGone

type DeleteDeviceRoomGone struct {
}

DeleteDeviceRoomGone handles this case with default header values.

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

func NewDeleteDeviceRoomGone

func NewDeleteDeviceRoomGone() *DeleteDeviceRoomGone

NewDeleteDeviceRoomGone creates a DeleteDeviceRoomGone with default headers values

func (*DeleteDeviceRoomGone) Error

func (o *DeleteDeviceRoomGone) Error() string

type DeleteDeviceRoomInternalServerError

type DeleteDeviceRoomInternalServerError struct {
}

DeleteDeviceRoomInternalServerError 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 NewDeleteDeviceRoomInternalServerError

func NewDeleteDeviceRoomInternalServerError() *DeleteDeviceRoomInternalServerError

NewDeleteDeviceRoomInternalServerError creates a DeleteDeviceRoomInternalServerError with default headers values

func (*DeleteDeviceRoomInternalServerError) Error

type DeleteDeviceRoomMethodNotAllowed

type DeleteDeviceRoomMethodNotAllowed struct {
}

DeleteDeviceRoomMethodNotAllowed handles this case with default header values.

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

func NewDeleteDeviceRoomMethodNotAllowed

func NewDeleteDeviceRoomMethodNotAllowed() *DeleteDeviceRoomMethodNotAllowed

NewDeleteDeviceRoomMethodNotAllowed creates a DeleteDeviceRoomMethodNotAllowed with default headers values

func (*DeleteDeviceRoomMethodNotAllowed) Error

type DeleteDeviceRoomNotFound

type DeleteDeviceRoomNotFound struct {
}

DeleteDeviceRoomNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteDeviceRoomNotFound

func NewDeleteDeviceRoomNotFound() *DeleteDeviceRoomNotFound

NewDeleteDeviceRoomNotFound creates a DeleteDeviceRoomNotFound with default headers values

func (*DeleteDeviceRoomNotFound) Error

func (o *DeleteDeviceRoomNotFound) Error() string

type DeleteDeviceRoomOK

type DeleteDeviceRoomOK struct {
	Payload *DeleteDeviceRoomOKBody
}

DeleteDeviceRoomOK handles this case with default header values.

The above command returns results like this:

func NewDeleteDeviceRoomOK

func NewDeleteDeviceRoomOK() *DeleteDeviceRoomOK

NewDeleteDeviceRoomOK creates a DeleteDeviceRoomOK with default headers values

func (*DeleteDeviceRoomOK) Error

func (o *DeleteDeviceRoomOK) Error() string

func (*DeleteDeviceRoomOK) GetPayload

func (o *DeleteDeviceRoomOK) GetPayload() *DeleteDeviceRoomOKBody

type DeleteDeviceRoomOKBody

type DeleteDeviceRoomOKBody struct {

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

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

DeleteDeviceRoomOKBody delete device room o k body swagger:model DeleteDeviceRoomOKBody

func (*DeleteDeviceRoomOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteDeviceRoomOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteDeviceRoomOKBody) Validate

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

Validate validates this delete device room o k body

type DeleteDeviceRoomParams

type DeleteDeviceRoomParams struct {

	/*ID
	  device id

	*/
	ID int64

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

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

func NewDeleteDeviceRoomParams

func NewDeleteDeviceRoomParams() *DeleteDeviceRoomParams

NewDeleteDeviceRoomParams creates a new DeleteDeviceRoomParams object with the default values initialized.

func NewDeleteDeviceRoomParamsWithContext

func NewDeleteDeviceRoomParamsWithContext(ctx context.Context) *DeleteDeviceRoomParams

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

func NewDeleteDeviceRoomParamsWithHTTPClient

func NewDeleteDeviceRoomParamsWithHTTPClient(client *http.Client) *DeleteDeviceRoomParams

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

func NewDeleteDeviceRoomParamsWithTimeout

func NewDeleteDeviceRoomParamsWithTimeout(timeout time.Duration) *DeleteDeviceRoomParams

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

func (*DeleteDeviceRoomParams) SetContext

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

SetContext adds the context to the delete device room params

func (*DeleteDeviceRoomParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete device room params

func (*DeleteDeviceRoomParams) SetID

func (o *DeleteDeviceRoomParams) SetID(id int64)

SetID adds the id to the delete device room params

func (*DeleteDeviceRoomParams) SetTimeout

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

SetTimeout adds the timeout to the delete device room params

func (*DeleteDeviceRoomParams) WithContext

WithContext adds the context to the delete device room params

func (*DeleteDeviceRoomParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete device room params

func (*DeleteDeviceRoomParams) WithID

WithID adds the id to the delete device room params

func (*DeleteDeviceRoomParams) WithTimeout

WithTimeout adds the timeout to the delete device room params

func (*DeleteDeviceRoomParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeviceRoomReader

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

DeleteDeviceRoomReader is a Reader for the DeleteDeviceRoom structure.

func (*DeleteDeviceRoomReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDeviceRoomServiceUnavailable

type DeleteDeviceRoomServiceUnavailable struct {
}

DeleteDeviceRoomServiceUnavailable handles this case with default header values.

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

func NewDeleteDeviceRoomServiceUnavailable

func NewDeleteDeviceRoomServiceUnavailable() *DeleteDeviceRoomServiceUnavailable

NewDeleteDeviceRoomServiceUnavailable creates a DeleteDeviceRoomServiceUnavailable with default headers values

func (*DeleteDeviceRoomServiceUnavailable) Error

type DeleteDeviceRoomUnauthorized

type DeleteDeviceRoomUnauthorized struct {
}

DeleteDeviceRoomUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteDeviceRoomUnauthorized

func NewDeleteDeviceRoomUnauthorized() *DeleteDeviceRoomUnauthorized

NewDeleteDeviceRoomUnauthorized creates a DeleteDeviceRoomUnauthorized with default headers values

func (*DeleteDeviceRoomUnauthorized) Error

type DeleteRoomsIDBadRequest

type DeleteRoomsIDBadRequest struct {
}

DeleteRoomsIDBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteRoomsIDBadRequest

func NewDeleteRoomsIDBadRequest() *DeleteRoomsIDBadRequest

NewDeleteRoomsIDBadRequest creates a DeleteRoomsIDBadRequest with default headers values

func (*DeleteRoomsIDBadRequest) Error

func (o *DeleteRoomsIDBadRequest) Error() string

type DeleteRoomsIDForbidden

type DeleteRoomsIDForbidden struct {
}

DeleteRoomsIDForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteRoomsIDForbidden

func NewDeleteRoomsIDForbidden() *DeleteRoomsIDForbidden

NewDeleteRoomsIDForbidden creates a DeleteRoomsIDForbidden with default headers values

func (*DeleteRoomsIDForbidden) Error

func (o *DeleteRoomsIDForbidden) Error() string

type DeleteRoomsIDGone

type DeleteRoomsIDGone struct {
}

DeleteRoomsIDGone handles this case with default header values.

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

func NewDeleteRoomsIDGone

func NewDeleteRoomsIDGone() *DeleteRoomsIDGone

NewDeleteRoomsIDGone creates a DeleteRoomsIDGone with default headers values

func (*DeleteRoomsIDGone) Error

func (o *DeleteRoomsIDGone) Error() string

type DeleteRoomsIDInternalServerError

type DeleteRoomsIDInternalServerError struct {
}

DeleteRoomsIDInternalServerError 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 NewDeleteRoomsIDInternalServerError

func NewDeleteRoomsIDInternalServerError() *DeleteRoomsIDInternalServerError

NewDeleteRoomsIDInternalServerError creates a DeleteRoomsIDInternalServerError with default headers values

func (*DeleteRoomsIDInternalServerError) Error

type DeleteRoomsIDMethodNotAllowed

type DeleteRoomsIDMethodNotAllowed struct {
}

DeleteRoomsIDMethodNotAllowed handles this case with default header values.

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

func NewDeleteRoomsIDMethodNotAllowed

func NewDeleteRoomsIDMethodNotAllowed() *DeleteRoomsIDMethodNotAllowed

NewDeleteRoomsIDMethodNotAllowed creates a DeleteRoomsIDMethodNotAllowed with default headers values

func (*DeleteRoomsIDMethodNotAllowed) Error

type DeleteRoomsIDNotFound

type DeleteRoomsIDNotFound struct {
}

DeleteRoomsIDNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteRoomsIDNotFound

func NewDeleteRoomsIDNotFound() *DeleteRoomsIDNotFound

NewDeleteRoomsIDNotFound creates a DeleteRoomsIDNotFound with default headers values

func (*DeleteRoomsIDNotFound) Error

func (o *DeleteRoomsIDNotFound) Error() string

type DeleteRoomsIDOK

type DeleteRoomsIDOK struct {
	Payload *DeleteRoomsIDOKBody
}

DeleteRoomsIDOK handles this case with default header values.

The above command returns results like this:

func NewDeleteRoomsIDOK

func NewDeleteRoomsIDOK() *DeleteRoomsIDOK

NewDeleteRoomsIDOK creates a DeleteRoomsIDOK with default headers values

func (*DeleteRoomsIDOK) Error

func (o *DeleteRoomsIDOK) Error() string

func (*DeleteRoomsIDOK) GetPayload

func (o *DeleteRoomsIDOK) GetPayload() *DeleteRoomsIDOKBody

type DeleteRoomsIDOKBody

type DeleteRoomsIDOKBody struct {

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

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

DeleteRoomsIDOKBody delete rooms ID o k body swagger:model DeleteRoomsIDOKBody

func (*DeleteRoomsIDOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteRoomsIDOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteRoomsIDOKBody) Validate

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

Validate validates this delete rooms ID o k body

type DeleteRoomsIDParams

type DeleteRoomsIDParams struct {

	/*ID
	  room id

	*/
	ID int64

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

DeleteRoomsIDParams contains all the parameters to send to the API endpoint for the delete rooms ID operation typically these are written to a http.Request

func NewDeleteRoomsIDParams

func NewDeleteRoomsIDParams() *DeleteRoomsIDParams

NewDeleteRoomsIDParams creates a new DeleteRoomsIDParams object with the default values initialized.

func NewDeleteRoomsIDParamsWithContext

func NewDeleteRoomsIDParamsWithContext(ctx context.Context) *DeleteRoomsIDParams

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

func NewDeleteRoomsIDParamsWithHTTPClient

func NewDeleteRoomsIDParamsWithHTTPClient(client *http.Client) *DeleteRoomsIDParams

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

func NewDeleteRoomsIDParamsWithTimeout

func NewDeleteRoomsIDParamsWithTimeout(timeout time.Duration) *DeleteRoomsIDParams

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

func (*DeleteRoomsIDParams) SetContext

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

SetContext adds the context to the delete rooms ID params

func (*DeleteRoomsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete rooms ID params

func (*DeleteRoomsIDParams) SetID

func (o *DeleteRoomsIDParams) SetID(id int64)

SetID adds the id to the delete rooms ID params

func (*DeleteRoomsIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete rooms ID params

func (*DeleteRoomsIDParams) WithContext

WithContext adds the context to the delete rooms ID params

func (*DeleteRoomsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete rooms ID params

func (*DeleteRoomsIDParams) WithID

WithID adds the id to the delete rooms ID params

func (*DeleteRoomsIDParams) WithTimeout

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

WithTimeout adds the timeout to the delete rooms ID params

func (*DeleteRoomsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteRoomsIDReader

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

DeleteRoomsIDReader is a Reader for the DeleteRoomsID structure.

func (*DeleteRoomsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRoomsIDServiceUnavailable

type DeleteRoomsIDServiceUnavailable struct {
}

DeleteRoomsIDServiceUnavailable handles this case with default header values.

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

func NewDeleteRoomsIDServiceUnavailable

func NewDeleteRoomsIDServiceUnavailable() *DeleteRoomsIDServiceUnavailable

NewDeleteRoomsIDServiceUnavailable creates a DeleteRoomsIDServiceUnavailable with default headers values

func (*DeleteRoomsIDServiceUnavailable) Error

type DeleteRoomsIDUnauthorized

type DeleteRoomsIDUnauthorized struct {
}

DeleteRoomsIDUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteRoomsIDUnauthorized

func NewDeleteRoomsIDUnauthorized() *DeleteRoomsIDUnauthorized

NewDeleteRoomsIDUnauthorized creates a DeleteRoomsIDUnauthorized with default headers values

func (*DeleteRoomsIDUnauthorized) Error

func (o *DeleteRoomsIDUnauthorized) Error() string

type DevicesItems0

type DevicesItems0 struct {

	// device
	Device *DevicesItems0Device `json:"device,omitempty"`
}

DevicesItems0 devices items0 swagger:model DevicesItems0

func (*DevicesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*DevicesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DevicesItems0) Validate

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

Validate validates this devices items0

type DevicesItems0Device

type DevicesItems0Device struct {

	// asset no
	AssetNo interface{} `json:"asset_no,omitempty"`

	// device id
	DeviceID interface{} `json:"device_id,omitempty"`

	// device url
	DeviceURL interface{} `json:"device_url,omitempty"`

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

	// serial no
	SerialNo interface{} `json:"serial_no,omitempty"`

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

	// uuid
	UUID interface{} `json:"uuid,omitempty"`
}

DevicesItems0Device devices items0 device swagger:model DevicesItems0Device

func (*DevicesItems0Device) MarshalBinary

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

MarshalBinary interface implementation

func (*DevicesItems0Device) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DevicesItems0Device) Validate

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

Validate validates this devices items0 device

type GetRoomsBadRequest

type GetRoomsBadRequest struct {
}

GetRoomsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetRoomsBadRequest

func NewGetRoomsBadRequest() *GetRoomsBadRequest

NewGetRoomsBadRequest creates a GetRoomsBadRequest with default headers values

func (*GetRoomsBadRequest) Error

func (o *GetRoomsBadRequest) Error() string

type GetRoomsForbidden

type GetRoomsForbidden struct {
}

GetRoomsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetRoomsForbidden

func NewGetRoomsForbidden() *GetRoomsForbidden

NewGetRoomsForbidden creates a GetRoomsForbidden with default headers values

func (*GetRoomsForbidden) Error

func (o *GetRoomsForbidden) Error() string

type GetRoomsGone

type GetRoomsGone struct {
}

GetRoomsGone handles this case with default header values.

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

func NewGetRoomsGone

func NewGetRoomsGone() *GetRoomsGone

NewGetRoomsGone creates a GetRoomsGone with default headers values

func (*GetRoomsGone) Error

func (o *GetRoomsGone) Error() string

type GetRoomsIDBadRequest

type GetRoomsIDBadRequest struct {
}

GetRoomsIDBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetRoomsIDBadRequest

func NewGetRoomsIDBadRequest() *GetRoomsIDBadRequest

NewGetRoomsIDBadRequest creates a GetRoomsIDBadRequest with default headers values

func (*GetRoomsIDBadRequest) Error

func (o *GetRoomsIDBadRequest) Error() string

type GetRoomsIDForbidden

type GetRoomsIDForbidden struct {
}

GetRoomsIDForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetRoomsIDForbidden

func NewGetRoomsIDForbidden() *GetRoomsIDForbidden

NewGetRoomsIDForbidden creates a GetRoomsIDForbidden with default headers values

func (*GetRoomsIDForbidden) Error

func (o *GetRoomsIDForbidden) Error() string

type GetRoomsIDGone

type GetRoomsIDGone struct {
}

GetRoomsIDGone handles this case with default header values.

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

func NewGetRoomsIDGone

func NewGetRoomsIDGone() *GetRoomsIDGone

NewGetRoomsIDGone creates a GetRoomsIDGone with default headers values

func (*GetRoomsIDGone) Error

func (o *GetRoomsIDGone) Error() string

type GetRoomsIDInternalServerError

type GetRoomsIDInternalServerError struct {
}

GetRoomsIDInternalServerError 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 NewGetRoomsIDInternalServerError

func NewGetRoomsIDInternalServerError() *GetRoomsIDInternalServerError

NewGetRoomsIDInternalServerError creates a GetRoomsIDInternalServerError with default headers values

func (*GetRoomsIDInternalServerError) Error

type GetRoomsIDMethodNotAllowed

type GetRoomsIDMethodNotAllowed struct {
}

GetRoomsIDMethodNotAllowed handles this case with default header values.

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

func NewGetRoomsIDMethodNotAllowed

func NewGetRoomsIDMethodNotAllowed() *GetRoomsIDMethodNotAllowed

NewGetRoomsIDMethodNotAllowed creates a GetRoomsIDMethodNotAllowed with default headers values

func (*GetRoomsIDMethodNotAllowed) Error

type GetRoomsIDNotFound

type GetRoomsIDNotFound struct {
}

GetRoomsIDNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetRoomsIDNotFound

func NewGetRoomsIDNotFound() *GetRoomsIDNotFound

NewGetRoomsIDNotFound creates a GetRoomsIDNotFound with default headers values

func (*GetRoomsIDNotFound) Error

func (o *GetRoomsIDNotFound) Error() string

type GetRoomsIDOK

type GetRoomsIDOK struct {
	Payload *GetRoomsIDOKBody
}

GetRoomsIDOK handles this case with default header values.

The above command returns results like this:

func NewGetRoomsIDOK

func NewGetRoomsIDOK() *GetRoomsIDOK

NewGetRoomsIDOK creates a GetRoomsIDOK with default headers values

func (*GetRoomsIDOK) Error

func (o *GetRoomsIDOK) Error() string

func (*GetRoomsIDOK) GetPayload

func (o *GetRoomsIDOK) GetPayload() *GetRoomsIDOKBody

type GetRoomsIDOKBody

type GetRoomsIDOKBody struct {

	// assets
	Assets []*AssetsItems0 `json:"assets"`

	// building
	Building interface{} `json:"building,omitempty"`

	// building id
	BuildingID interface{} `json:"building_id,omitempty"`

	// devices
	Devices []*DevicesItems0 `json:"devices"`

	// grid cols
	GridCols interface{} `json:"grid_cols,omitempty"`

	// grid rows
	GridRows interface{} `json:"grid_rows,omitempty"`

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

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

	// racks
	Racks []*models.RoomsRacks `json:"racks"`

	// reverse xaxis
	ReverseXaxis interface{} `json:"reverse_xaxis,omitempty"`

	// reverse yaxis
	ReverseYaxis interface{} `json:"reverse_yaxis,omitempty"`

	// room id
	RoomID interface{} `json:"room_id,omitempty"`
}

GetRoomsIDOKBody get rooms ID o k body swagger:model GetRoomsIDOKBody

func (*GetRoomsIDOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetRoomsIDOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetRoomsIDOKBody) Validate

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

Validate validates this get rooms ID o k body

type GetRoomsIDParams

type GetRoomsIDParams struct {

	/*ID
	  The ID of the room to retrieve

	*/
	ID int64

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

GetRoomsIDParams contains all the parameters to send to the API endpoint for the get rooms ID operation typically these are written to a http.Request

func NewGetRoomsIDParams

func NewGetRoomsIDParams() *GetRoomsIDParams

NewGetRoomsIDParams creates a new GetRoomsIDParams object with the default values initialized.

func NewGetRoomsIDParamsWithContext

func NewGetRoomsIDParamsWithContext(ctx context.Context) *GetRoomsIDParams

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

func NewGetRoomsIDParamsWithHTTPClient

func NewGetRoomsIDParamsWithHTTPClient(client *http.Client) *GetRoomsIDParams

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

func NewGetRoomsIDParamsWithTimeout

func NewGetRoomsIDParamsWithTimeout(timeout time.Duration) *GetRoomsIDParams

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

func (*GetRoomsIDParams) SetContext

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

SetContext adds the context to the get rooms ID params

func (*GetRoomsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get rooms ID params

func (*GetRoomsIDParams) SetID

func (o *GetRoomsIDParams) SetID(id int64)

SetID adds the id to the get rooms ID params

func (*GetRoomsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get rooms ID params

func (*GetRoomsIDParams) WithContext

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

WithContext adds the context to the get rooms ID params

func (*GetRoomsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get rooms ID params

func (*GetRoomsIDParams) WithID

func (o *GetRoomsIDParams) WithID(id int64) *GetRoomsIDParams

WithID adds the id to the get rooms ID params

func (*GetRoomsIDParams) WithTimeout

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

WithTimeout adds the timeout to the get rooms ID params

func (*GetRoomsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRoomsIDReader

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

GetRoomsIDReader is a Reader for the GetRoomsID structure.

func (*GetRoomsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRoomsIDServiceUnavailable

type GetRoomsIDServiceUnavailable struct {
}

GetRoomsIDServiceUnavailable handles this case with default header values.

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

func NewGetRoomsIDServiceUnavailable

func NewGetRoomsIDServiceUnavailable() *GetRoomsIDServiceUnavailable

NewGetRoomsIDServiceUnavailable creates a GetRoomsIDServiceUnavailable with default headers values

func (*GetRoomsIDServiceUnavailable) Error

type GetRoomsIDUnauthorized

type GetRoomsIDUnauthorized struct {
}

GetRoomsIDUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetRoomsIDUnauthorized

func NewGetRoomsIDUnauthorized() *GetRoomsIDUnauthorized

NewGetRoomsIDUnauthorized creates a GetRoomsIDUnauthorized with default headers values

func (*GetRoomsIDUnauthorized) Error

func (o *GetRoomsIDUnauthorized) Error() string

type GetRoomsInternalServerError

type GetRoomsInternalServerError struct {
}

GetRoomsInternalServerError 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 NewGetRoomsInternalServerError

func NewGetRoomsInternalServerError() *GetRoomsInternalServerError

NewGetRoomsInternalServerError creates a GetRoomsInternalServerError with default headers values

func (*GetRoomsInternalServerError) Error

type GetRoomsMethodNotAllowed

type GetRoomsMethodNotAllowed struct {
}

GetRoomsMethodNotAllowed handles this case with default header values.

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

func NewGetRoomsMethodNotAllowed

func NewGetRoomsMethodNotAllowed() *GetRoomsMethodNotAllowed

NewGetRoomsMethodNotAllowed creates a GetRoomsMethodNotAllowed with default headers values

func (*GetRoomsMethodNotAllowed) Error

func (o *GetRoomsMethodNotAllowed) Error() string

type GetRoomsNotFound

type GetRoomsNotFound struct {
}

GetRoomsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetRoomsNotFound

func NewGetRoomsNotFound() *GetRoomsNotFound

NewGetRoomsNotFound creates a GetRoomsNotFound with default headers values

func (*GetRoomsNotFound) Error

func (o *GetRoomsNotFound) Error() string

type GetRoomsOK

type GetRoomsOK struct {
	Payload *GetRoomsOKBody
}

GetRoomsOK handles this case with default header values.

The above command returns results like this:

func NewGetRoomsOK

func NewGetRoomsOK() *GetRoomsOK

NewGetRoomsOK creates a GetRoomsOK with default headers values

func (*GetRoomsOK) Error

func (o *GetRoomsOK) Error() string

func (*GetRoomsOK) GetPayload

func (o *GetRoomsOK) GetPayload() *GetRoomsOKBody

type GetRoomsOKBody

type GetRoomsOKBody struct {

	// rooms
	Rooms models.Rooms `json:"rooms"`
}

GetRoomsOKBody get rooms o k body swagger:model GetRoomsOKBody

func (*GetRoomsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetRoomsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetRoomsOKBody) Validate

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

Validate validates this get rooms o k body

type GetRoomsParams

type GetRoomsParams struct {

	/*Building
	  filter by building name

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

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

	*/
	Name *string

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

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

func NewGetRoomsParams

func NewGetRoomsParams() *GetRoomsParams

NewGetRoomsParams creates a new GetRoomsParams object with the default values initialized.

func NewGetRoomsParamsWithContext

func NewGetRoomsParamsWithContext(ctx context.Context) *GetRoomsParams

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

func NewGetRoomsParamsWithHTTPClient

func NewGetRoomsParamsWithHTTPClient(client *http.Client) *GetRoomsParams

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

func NewGetRoomsParamsWithTimeout

func NewGetRoomsParamsWithTimeout(timeout time.Duration) *GetRoomsParams

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

func (*GetRoomsParams) SetBuilding

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

SetBuilding adds the building to the get rooms params

func (*GetRoomsParams) SetBuildingID

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

SetBuildingID adds the buildingId to the get rooms params

func (*GetRoomsParams) SetContext

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

SetContext adds the context to the get rooms params

func (*GetRoomsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get rooms params

func (*GetRoomsParams) SetName

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

SetName adds the name to the get rooms params

func (*GetRoomsParams) SetTimeout

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

SetTimeout adds the timeout to the get rooms params

func (*GetRoomsParams) WithBuilding

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

WithBuilding adds the building to the get rooms params

func (*GetRoomsParams) WithBuildingID

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

WithBuildingID adds the buildingID to the get rooms params

func (*GetRoomsParams) WithContext

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

WithContext adds the context to the get rooms params

func (*GetRoomsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get rooms params

func (*GetRoomsParams) WithName

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

WithName adds the name to the get rooms params

func (*GetRoomsParams) WithTimeout

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

WithTimeout adds the timeout to the get rooms params

func (*GetRoomsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRoomsReader

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

GetRoomsReader is a Reader for the GetRooms structure.

func (*GetRoomsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRoomsServiceUnavailable

type GetRoomsServiceUnavailable struct {
}

GetRoomsServiceUnavailable handles this case with default header values.

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

func NewGetRoomsServiceUnavailable

func NewGetRoomsServiceUnavailable() *GetRoomsServiceUnavailable

NewGetRoomsServiceUnavailable creates a GetRoomsServiceUnavailable with default headers values

func (*GetRoomsServiceUnavailable) Error

type GetRoomsUnauthorized

type GetRoomsUnauthorized struct {
}

GetRoomsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetRoomsUnauthorized

func NewGetRoomsUnauthorized() *GetRoomsUnauthorized

NewGetRoomsUnauthorized creates a GetRoomsUnauthorized with default headers values

func (*GetRoomsUnauthorized) Error

func (o *GetRoomsUnauthorized) Error() string

type PostAssetsRoomBadRequest

type PostAssetsRoomBadRequest struct {
}

PostAssetsRoomBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostAssetsRoomBadRequest

func NewPostAssetsRoomBadRequest() *PostAssetsRoomBadRequest

NewPostAssetsRoomBadRequest creates a PostAssetsRoomBadRequest with default headers values

func (*PostAssetsRoomBadRequest) Error

func (o *PostAssetsRoomBadRequest) Error() string

type PostAssetsRoomForbidden

type PostAssetsRoomForbidden struct {
}

PostAssetsRoomForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostAssetsRoomForbidden

func NewPostAssetsRoomForbidden() *PostAssetsRoomForbidden

NewPostAssetsRoomForbidden creates a PostAssetsRoomForbidden with default headers values

func (*PostAssetsRoomForbidden) Error

func (o *PostAssetsRoomForbidden) Error() string

type PostAssetsRoomGone

type PostAssetsRoomGone struct {
}

PostAssetsRoomGone handles this case with default header values.

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

func NewPostAssetsRoomGone

func NewPostAssetsRoomGone() *PostAssetsRoomGone

NewPostAssetsRoomGone creates a PostAssetsRoomGone with default headers values

func (*PostAssetsRoomGone) Error

func (o *PostAssetsRoomGone) Error() string

type PostAssetsRoomInternalServerError

type PostAssetsRoomInternalServerError struct {
}

PostAssetsRoomInternalServerError 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 NewPostAssetsRoomInternalServerError

func NewPostAssetsRoomInternalServerError() *PostAssetsRoomInternalServerError

NewPostAssetsRoomInternalServerError creates a PostAssetsRoomInternalServerError with default headers values

func (*PostAssetsRoomInternalServerError) Error

type PostAssetsRoomMethodNotAllowed

type PostAssetsRoomMethodNotAllowed struct {
}

PostAssetsRoomMethodNotAllowed handles this case with default header values.

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

func NewPostAssetsRoomMethodNotAllowed

func NewPostAssetsRoomMethodNotAllowed() *PostAssetsRoomMethodNotAllowed

NewPostAssetsRoomMethodNotAllowed creates a PostAssetsRoomMethodNotAllowed with default headers values

func (*PostAssetsRoomMethodNotAllowed) Error

type PostAssetsRoomNotFound

type PostAssetsRoomNotFound struct {
}

PostAssetsRoomNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostAssetsRoomNotFound

func NewPostAssetsRoomNotFound() *PostAssetsRoomNotFound

NewPostAssetsRoomNotFound creates a PostAssetsRoomNotFound with default headers values

func (*PostAssetsRoomNotFound) Error

func (o *PostAssetsRoomNotFound) Error() string

type PostAssetsRoomOK

type PostAssetsRoomOK struct {
	Payload *PostAssetsRoomOKBody
}

PostAssetsRoomOK handles this case with default header values.

The above command returns results like this:

func NewPostAssetsRoomOK

func NewPostAssetsRoomOK() *PostAssetsRoomOK

NewPostAssetsRoomOK creates a PostAssetsRoomOK with default headers values

func (*PostAssetsRoomOK) Error

func (o *PostAssetsRoomOK) Error() string

func (*PostAssetsRoomOK) GetPayload

func (o *PostAssetsRoomOK) GetPayload() *PostAssetsRoomOKBody

type PostAssetsRoomOKBody

type PostAssetsRoomOKBody struct {

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

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

PostAssetsRoomOKBody post assets room o k body swagger:model PostAssetsRoomOKBody

func (*PostAssetsRoomOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostAssetsRoomOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostAssetsRoomOKBody) Validate

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

Validate validates this post assets room o k body

type PostAssetsRoomParams

type PostAssetsRoomParams struct {

	/*Asset
	  The name of the asset

	*/
	Asset string
	/*RoomID
	  Room ID or UI > Tools > Export > Room

	*/
	RoomID string
	/*Type*/
	Type string
	/*Wall
	  Choose 'middle' if you do not want the object to be placed along one of the 4 walls.

	*/
	Wall *string

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

PostAssetsRoomParams contains all the parameters to send to the API endpoint for the post assets room operation typically these are written to a http.Request

func NewPostAssetsRoomParams

func NewPostAssetsRoomParams() *PostAssetsRoomParams

NewPostAssetsRoomParams creates a new PostAssetsRoomParams object with the default values initialized.

func NewPostAssetsRoomParamsWithContext

func NewPostAssetsRoomParamsWithContext(ctx context.Context) *PostAssetsRoomParams

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

func NewPostAssetsRoomParamsWithHTTPClient

func NewPostAssetsRoomParamsWithHTTPClient(client *http.Client) *PostAssetsRoomParams

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

func NewPostAssetsRoomParamsWithTimeout

func NewPostAssetsRoomParamsWithTimeout(timeout time.Duration) *PostAssetsRoomParams

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

func (*PostAssetsRoomParams) SetAsset

func (o *PostAssetsRoomParams) SetAsset(asset string)

SetAsset adds the asset to the post assets room params

func (*PostAssetsRoomParams) SetContext

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

SetContext adds the context to the post assets room params

func (*PostAssetsRoomParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post assets room params

func (*PostAssetsRoomParams) SetRoomID

func (o *PostAssetsRoomParams) SetRoomID(roomID string)

SetRoomID adds the roomId to the post assets room params

func (*PostAssetsRoomParams) SetTimeout

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

SetTimeout adds the timeout to the post assets room params

func (*PostAssetsRoomParams) SetType

func (o *PostAssetsRoomParams) SetType(typeVar string)

SetType adds the type to the post assets room params

func (*PostAssetsRoomParams) SetWall

func (o *PostAssetsRoomParams) SetWall(wall *string)

SetWall adds the wall to the post assets room params

func (*PostAssetsRoomParams) WithAsset

func (o *PostAssetsRoomParams) WithAsset(asset string) *PostAssetsRoomParams

WithAsset adds the asset to the post assets room params

func (*PostAssetsRoomParams) WithContext

WithContext adds the context to the post assets room params

func (*PostAssetsRoomParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post assets room params

func (*PostAssetsRoomParams) WithRoomID

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

WithRoomID adds the roomID to the post assets room params

func (*PostAssetsRoomParams) WithTimeout

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

WithTimeout adds the timeout to the post assets room params

func (*PostAssetsRoomParams) WithType

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

WithType adds the typeVar to the post assets room params

func (*PostAssetsRoomParams) WithWall

func (o *PostAssetsRoomParams) WithWall(wall *string) *PostAssetsRoomParams

WithWall adds the wall to the post assets room params

func (*PostAssetsRoomParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostAssetsRoomReader

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

PostAssetsRoomReader is a Reader for the PostAssetsRoom structure.

func (*PostAssetsRoomReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAssetsRoomServiceUnavailable

type PostAssetsRoomServiceUnavailable struct {
}

PostAssetsRoomServiceUnavailable handles this case with default header values.

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

func NewPostAssetsRoomServiceUnavailable

func NewPostAssetsRoomServiceUnavailable() *PostAssetsRoomServiceUnavailable

NewPostAssetsRoomServiceUnavailable creates a PostAssetsRoomServiceUnavailable with default headers values

func (*PostAssetsRoomServiceUnavailable) Error

type PostAssetsRoomUnauthorized

type PostAssetsRoomUnauthorized struct {
}

PostAssetsRoomUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostAssetsRoomUnauthorized

func NewPostAssetsRoomUnauthorized() *PostAssetsRoomUnauthorized

NewPostAssetsRoomUnauthorized creates a PostAssetsRoomUnauthorized with default headers values

func (*PostAssetsRoomUnauthorized) Error

type PostDeviceRoomBadRequest

type PostDeviceRoomBadRequest struct {
}

PostDeviceRoomBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostDeviceRoomBadRequest

func NewPostDeviceRoomBadRequest() *PostDeviceRoomBadRequest

NewPostDeviceRoomBadRequest creates a PostDeviceRoomBadRequest with default headers values

func (*PostDeviceRoomBadRequest) Error

func (o *PostDeviceRoomBadRequest) Error() string

type PostDeviceRoomForbidden

type PostDeviceRoomForbidden struct {
}

PostDeviceRoomForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostDeviceRoomForbidden

func NewPostDeviceRoomForbidden() *PostDeviceRoomForbidden

NewPostDeviceRoomForbidden creates a PostDeviceRoomForbidden with default headers values

func (*PostDeviceRoomForbidden) Error

func (o *PostDeviceRoomForbidden) Error() string

type PostDeviceRoomGone

type PostDeviceRoomGone struct {
}

PostDeviceRoomGone handles this case with default header values.

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

func NewPostDeviceRoomGone

func NewPostDeviceRoomGone() *PostDeviceRoomGone

NewPostDeviceRoomGone creates a PostDeviceRoomGone with default headers values

func (*PostDeviceRoomGone) Error

func (o *PostDeviceRoomGone) Error() string

type PostDeviceRoomInternalServerError

type PostDeviceRoomInternalServerError struct {
}

PostDeviceRoomInternalServerError 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 NewPostDeviceRoomInternalServerError

func NewPostDeviceRoomInternalServerError() *PostDeviceRoomInternalServerError

NewPostDeviceRoomInternalServerError creates a PostDeviceRoomInternalServerError with default headers values

func (*PostDeviceRoomInternalServerError) Error

type PostDeviceRoomMethodNotAllowed

type PostDeviceRoomMethodNotAllowed struct {
}

PostDeviceRoomMethodNotAllowed handles this case with default header values.

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

func NewPostDeviceRoomMethodNotAllowed

func NewPostDeviceRoomMethodNotAllowed() *PostDeviceRoomMethodNotAllowed

NewPostDeviceRoomMethodNotAllowed creates a PostDeviceRoomMethodNotAllowed with default headers values

func (*PostDeviceRoomMethodNotAllowed) Error

type PostDeviceRoomNotFound

type PostDeviceRoomNotFound struct {
}

PostDeviceRoomNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostDeviceRoomNotFound

func NewPostDeviceRoomNotFound() *PostDeviceRoomNotFound

NewPostDeviceRoomNotFound creates a PostDeviceRoomNotFound with default headers values

func (*PostDeviceRoomNotFound) Error

func (o *PostDeviceRoomNotFound) Error() string

type PostDeviceRoomOK

type PostDeviceRoomOK struct {
	Payload *PostDeviceRoomOKBody
}

PostDeviceRoomOK handles this case with default header values.

The above command returns results like this:

func NewPostDeviceRoomOK

func NewPostDeviceRoomOK() *PostDeviceRoomOK

NewPostDeviceRoomOK creates a PostDeviceRoomOK with default headers values

func (*PostDeviceRoomOK) Error

func (o *PostDeviceRoomOK) Error() string

func (*PostDeviceRoomOK) GetPayload

func (o *PostDeviceRoomOK) GetPayload() *PostDeviceRoomOKBody

type PostDeviceRoomOKBody

type PostDeviceRoomOKBody struct {

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

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

PostDeviceRoomOKBody post device room o k body swagger:model PostDeviceRoomOKBody

func (*PostDeviceRoomOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostDeviceRoomOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostDeviceRoomOKBody) Validate

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

Validate validates this post device room o k body

type PostDeviceRoomParams

type PostDeviceRoomParams struct {

	/*Name
	  The name of the device to add

	*/
	Name string
	/*RoomID
	  Room ID or UI > Tools > Export > Room

	*/
	RoomID string
	/*Type*/
	Type string
	/*Wall
	  Choose 'middle' if you do not want the object to be placed along one of the 4 walls.

	*/
	Wall *string

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

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

func NewPostDeviceRoomParams

func NewPostDeviceRoomParams() *PostDeviceRoomParams

NewPostDeviceRoomParams creates a new PostDeviceRoomParams object with the default values initialized.

func NewPostDeviceRoomParamsWithContext

func NewPostDeviceRoomParamsWithContext(ctx context.Context) *PostDeviceRoomParams

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

func NewPostDeviceRoomParamsWithHTTPClient

func NewPostDeviceRoomParamsWithHTTPClient(client *http.Client) *PostDeviceRoomParams

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

func NewPostDeviceRoomParamsWithTimeout

func NewPostDeviceRoomParamsWithTimeout(timeout time.Duration) *PostDeviceRoomParams

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

func (*PostDeviceRoomParams) SetContext

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

SetContext adds the context to the post device room params

func (*PostDeviceRoomParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post device room params

func (*PostDeviceRoomParams) SetName

func (o *PostDeviceRoomParams) SetName(name string)

SetName adds the name to the post device room params

func (*PostDeviceRoomParams) SetRoomID

func (o *PostDeviceRoomParams) SetRoomID(roomID string)

SetRoomID adds the roomId to the post device room params

func (*PostDeviceRoomParams) SetTimeout

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

SetTimeout adds the timeout to the post device room params

func (*PostDeviceRoomParams) SetType

func (o *PostDeviceRoomParams) SetType(typeVar string)

SetType adds the type to the post device room params

func (*PostDeviceRoomParams) SetWall

func (o *PostDeviceRoomParams) SetWall(wall *string)

SetWall adds the wall to the post device room params

func (*PostDeviceRoomParams) WithContext

WithContext adds the context to the post device room params

func (*PostDeviceRoomParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post device room params

func (*PostDeviceRoomParams) WithName

WithName adds the name to the post device room params

func (*PostDeviceRoomParams) WithRoomID

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

WithRoomID adds the roomID to the post device room params

func (*PostDeviceRoomParams) WithTimeout

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

WithTimeout adds the timeout to the post device room params

func (*PostDeviceRoomParams) WithType

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

WithType adds the typeVar to the post device room params

func (*PostDeviceRoomParams) WithWall

func (o *PostDeviceRoomParams) WithWall(wall *string) *PostDeviceRoomParams

WithWall adds the wall to the post device room params

func (*PostDeviceRoomParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostDeviceRoomReader

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

PostDeviceRoomReader is a Reader for the PostDeviceRoom structure.

func (*PostDeviceRoomReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDeviceRoomServiceUnavailable

type PostDeviceRoomServiceUnavailable struct {
}

PostDeviceRoomServiceUnavailable handles this case with default header values.

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

func NewPostDeviceRoomServiceUnavailable

func NewPostDeviceRoomServiceUnavailable() *PostDeviceRoomServiceUnavailable

NewPostDeviceRoomServiceUnavailable creates a PostDeviceRoomServiceUnavailable with default headers values

func (*PostDeviceRoomServiceUnavailable) Error

type PostDeviceRoomUnauthorized

type PostDeviceRoomUnauthorized struct {
}

PostDeviceRoomUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostDeviceRoomUnauthorized

func NewPostDeviceRoomUnauthorized() *PostDeviceRoomUnauthorized

NewPostDeviceRoomUnauthorized creates a PostDeviceRoomUnauthorized with default headers values

func (*PostDeviceRoomUnauthorized) Error

type PostRoomsBadRequest

type PostRoomsBadRequest struct {
}

PostRoomsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostRoomsBadRequest

func NewPostRoomsBadRequest() *PostRoomsBadRequest

NewPostRoomsBadRequest creates a PostRoomsBadRequest with default headers values

func (*PostRoomsBadRequest) Error

func (o *PostRoomsBadRequest) Error() string

type PostRoomsForbidden

type PostRoomsForbidden struct {
}

PostRoomsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostRoomsForbidden

func NewPostRoomsForbidden() *PostRoomsForbidden

NewPostRoomsForbidden creates a PostRoomsForbidden with default headers values

func (*PostRoomsForbidden) Error

func (o *PostRoomsForbidden) Error() string

type PostRoomsGone

type PostRoomsGone struct {
}

PostRoomsGone handles this case with default header values.

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

func NewPostRoomsGone

func NewPostRoomsGone() *PostRoomsGone

NewPostRoomsGone creates a PostRoomsGone with default headers values

func (*PostRoomsGone) Error

func (o *PostRoomsGone) Error() string

type PostRoomsInternalServerError

type PostRoomsInternalServerError struct {
}

PostRoomsInternalServerError 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 NewPostRoomsInternalServerError

func NewPostRoomsInternalServerError() *PostRoomsInternalServerError

NewPostRoomsInternalServerError creates a PostRoomsInternalServerError with default headers values

func (*PostRoomsInternalServerError) Error

type PostRoomsMethodNotAllowed

type PostRoomsMethodNotAllowed struct {
}

PostRoomsMethodNotAllowed handles this case with default header values.

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

func NewPostRoomsMethodNotAllowed

func NewPostRoomsMethodNotAllowed() *PostRoomsMethodNotAllowed

NewPostRoomsMethodNotAllowed creates a PostRoomsMethodNotAllowed with default headers values

func (*PostRoomsMethodNotAllowed) Error

func (o *PostRoomsMethodNotAllowed) Error() string

type PostRoomsNotFound

type PostRoomsNotFound struct {
}

PostRoomsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostRoomsNotFound

func NewPostRoomsNotFound() *PostRoomsNotFound

NewPostRoomsNotFound creates a PostRoomsNotFound with default headers values

func (*PostRoomsNotFound) Error

func (o *PostRoomsNotFound) Error() string

type PostRoomsOK

type PostRoomsOK struct {
	Payload *PostRoomsOKBody
}

PostRoomsOK handles this case with default header values.

The above command returns results like this:

func NewPostRoomsOK

func NewPostRoomsOK() *PostRoomsOK

NewPostRoomsOK creates a PostRoomsOK with default headers values

func (*PostRoomsOK) Error

func (o *PostRoomsOK) Error() string

func (*PostRoomsOK) GetPayload

func (o *PostRoomsOK) GetPayload() *PostRoomsOKBody

type PostRoomsOKBody

type PostRoomsOKBody struct {

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

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

PostRoomsOKBody post rooms o k body swagger:model PostRoomsOKBody

func (*PostRoomsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostRoomsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostRoomsOKBody) Validate

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

Validate validates this post rooms o k body

type PostRoomsParams

type PostRoomsParams struct {

	/*Building
	  Existing building name

	*/
	Building *string
	/*BuildingID
	  Existing building ID

	*/
	BuildingID *string
	/*GridCols
	  number of columns in the room grid

	*/
	GridCols *string
	/*GridRows
	  number of rows in the room grid

	*/
	GridRows *string
	/*Groups
	  If multitenancy is on, admin groups that have access to this object are specified here, e.g. Prod_East:no,Corp:yes specifies that the admin groups for this object are Prod_East with view only permission and Corp with change permission. If this parameter is present with no value, all groups are deleted.

	*/
	Groups *string
	/*Height
	  room height

	*/
	Height *string
	/*HorizontalGridNumbering
	  numeric by default

	*/
	HorizontalGridNumbering *string
	/*HorizontalGridStart*/
	HorizontalGridStart *string
	/*Name
	  Name of room

	*/
	Name string
	/*Notes
	  Any additional notes

	*/
	Notes *string
	/*RaisedFloor*/
	RaisedFloor *string
	/*RaisedFloorHeight
	  height of raised floor

	*/
	RaisedFloorHeight *string
	/*ReverseXaxis
	  'yes' reverses the numbering order on the x-axis

	*/
	ReverseXaxis *string
	/*ReverseYaxis
	  'yes' reverses the numbering order on the y-axis

	*/
	ReverseYaxis *string
	/*Uom
	  unit of measurement (meters or inches)

	*/
	Uom *string
	/*VerticalGridNumbering
	  numeric by default

	*/
	VerticalGridNumbering *string
	/*VerticalGridStart*/
	VerticalGridStart *string

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

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

func NewPostRoomsParams

func NewPostRoomsParams() *PostRoomsParams

NewPostRoomsParams creates a new PostRoomsParams object with the default values initialized.

func NewPostRoomsParamsWithContext

func NewPostRoomsParamsWithContext(ctx context.Context) *PostRoomsParams

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

func NewPostRoomsParamsWithHTTPClient

func NewPostRoomsParamsWithHTTPClient(client *http.Client) *PostRoomsParams

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

func NewPostRoomsParamsWithTimeout

func NewPostRoomsParamsWithTimeout(timeout time.Duration) *PostRoomsParams

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

func (*PostRoomsParams) SetBuilding

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

SetBuilding adds the building to the post rooms params

func (*PostRoomsParams) SetBuildingID

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

SetBuildingID adds the buildingId to the post rooms params

func (*PostRoomsParams) SetContext

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

SetContext adds the context to the post rooms params

func (*PostRoomsParams) SetGridCols

func (o *PostRoomsParams) SetGridCols(gridCols *string)

SetGridCols adds the gridCols to the post rooms params

func (*PostRoomsParams) SetGridRows

func (o *PostRoomsParams) SetGridRows(gridRows *string)

SetGridRows adds the gridRows to the post rooms params

func (*PostRoomsParams) SetGroups

func (o *PostRoomsParams) SetGroups(groups *string)

SetGroups adds the groups to the post rooms params

func (*PostRoomsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post rooms params

func (*PostRoomsParams) SetHeight

func (o *PostRoomsParams) SetHeight(height *string)

SetHeight adds the height to the post rooms params

func (*PostRoomsParams) SetHorizontalGridNumbering

func (o *PostRoomsParams) SetHorizontalGridNumbering(horizontalGridNumbering *string)

SetHorizontalGridNumbering adds the horizontalGridNumbering to the post rooms params

func (*PostRoomsParams) SetHorizontalGridStart

func (o *PostRoomsParams) SetHorizontalGridStart(horizontalGridStart *string)

SetHorizontalGridStart adds the horizontalGridStart to the post rooms params

func (*PostRoomsParams) SetName

func (o *PostRoomsParams) SetName(name string)

SetName adds the name to the post rooms params

func (*PostRoomsParams) SetNotes

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

SetNotes adds the notes to the post rooms params

func (*PostRoomsParams) SetRaisedFloor

func (o *PostRoomsParams) SetRaisedFloor(raisedFloor *string)

SetRaisedFloor adds the raisedFloor to the post rooms params

func (*PostRoomsParams) SetRaisedFloorHeight

func (o *PostRoomsParams) SetRaisedFloorHeight(raisedFloorHeight *string)

SetRaisedFloorHeight adds the raisedFloorHeight to the post rooms params

func (*PostRoomsParams) SetReverseXaxis

func (o *PostRoomsParams) SetReverseXaxis(reverseXaxis *string)

SetReverseXaxis adds the reverseXaxis to the post rooms params

func (*PostRoomsParams) SetReverseYaxis

func (o *PostRoomsParams) SetReverseYaxis(reverseYaxis *string)

SetReverseYaxis adds the reverseYaxis to the post rooms params

func (*PostRoomsParams) SetTimeout

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

SetTimeout adds the timeout to the post rooms params

func (*PostRoomsParams) SetUom

func (o *PostRoomsParams) SetUom(uom *string)

SetUom adds the uom to the post rooms params

func (*PostRoomsParams) SetVerticalGridNumbering

func (o *PostRoomsParams) SetVerticalGridNumbering(verticalGridNumbering *string)

SetVerticalGridNumbering adds the verticalGridNumbering to the post rooms params

func (*PostRoomsParams) SetVerticalGridStart

func (o *PostRoomsParams) SetVerticalGridStart(verticalGridStart *string)

SetVerticalGridStart adds the verticalGridStart to the post rooms params

func (*PostRoomsParams) WithBuilding

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

WithBuilding adds the building to the post rooms params

func (*PostRoomsParams) WithBuildingID

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

WithBuildingID adds the buildingID to the post rooms params

func (*PostRoomsParams) WithContext

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

WithContext adds the context to the post rooms params

func (*PostRoomsParams) WithGridCols

func (o *PostRoomsParams) WithGridCols(gridCols *string) *PostRoomsParams

WithGridCols adds the gridCols to the post rooms params

func (*PostRoomsParams) WithGridRows

func (o *PostRoomsParams) WithGridRows(gridRows *string) *PostRoomsParams

WithGridRows adds the gridRows to the post rooms params

func (*PostRoomsParams) WithGroups

func (o *PostRoomsParams) WithGroups(groups *string) *PostRoomsParams

WithGroups adds the groups to the post rooms params

func (*PostRoomsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post rooms params

func (*PostRoomsParams) WithHeight

func (o *PostRoomsParams) WithHeight(height *string) *PostRoomsParams

WithHeight adds the height to the post rooms params

func (*PostRoomsParams) WithHorizontalGridNumbering

func (o *PostRoomsParams) WithHorizontalGridNumbering(horizontalGridNumbering *string) *PostRoomsParams

WithHorizontalGridNumbering adds the horizontalGridNumbering to the post rooms params

func (*PostRoomsParams) WithHorizontalGridStart

func (o *PostRoomsParams) WithHorizontalGridStart(horizontalGridStart *string) *PostRoomsParams

WithHorizontalGridStart adds the horizontalGridStart to the post rooms params

func (*PostRoomsParams) WithName

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

WithName adds the name to the post rooms params

func (*PostRoomsParams) WithNotes

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

WithNotes adds the notes to the post rooms params

func (*PostRoomsParams) WithRaisedFloor

func (o *PostRoomsParams) WithRaisedFloor(raisedFloor *string) *PostRoomsParams

WithRaisedFloor adds the raisedFloor to the post rooms params

func (*PostRoomsParams) WithRaisedFloorHeight

func (o *PostRoomsParams) WithRaisedFloorHeight(raisedFloorHeight *string) *PostRoomsParams

WithRaisedFloorHeight adds the raisedFloorHeight to the post rooms params

func (*PostRoomsParams) WithReverseXaxis

func (o *PostRoomsParams) WithReverseXaxis(reverseXaxis *string) *PostRoomsParams

WithReverseXaxis adds the reverseXaxis to the post rooms params

func (*PostRoomsParams) WithReverseYaxis

func (o *PostRoomsParams) WithReverseYaxis(reverseYaxis *string) *PostRoomsParams

WithReverseYaxis adds the reverseYaxis to the post rooms params

func (*PostRoomsParams) WithTimeout

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

WithTimeout adds the timeout to the post rooms params

func (*PostRoomsParams) WithUom

func (o *PostRoomsParams) WithUom(uom *string) *PostRoomsParams

WithUom adds the uom to the post rooms params

func (*PostRoomsParams) WithVerticalGridNumbering

func (o *PostRoomsParams) WithVerticalGridNumbering(verticalGridNumbering *string) *PostRoomsParams

WithVerticalGridNumbering adds the verticalGridNumbering to the post rooms params

func (*PostRoomsParams) WithVerticalGridStart

func (o *PostRoomsParams) WithVerticalGridStart(verticalGridStart *string) *PostRoomsParams

WithVerticalGridStart adds the verticalGridStart to the post rooms params

func (*PostRoomsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostRoomsReader

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

PostRoomsReader is a Reader for the PostRooms structure.

func (*PostRoomsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostRoomsServiceUnavailable

type PostRoomsServiceUnavailable struct {
}

PostRoomsServiceUnavailable handles this case with default header values.

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

func NewPostRoomsServiceUnavailable

func NewPostRoomsServiceUnavailable() *PostRoomsServiceUnavailable

NewPostRoomsServiceUnavailable creates a PostRoomsServiceUnavailable with default headers values

func (*PostRoomsServiceUnavailable) Error

type PostRoomsUnauthorized

type PostRoomsUnauthorized struct {
}

PostRoomsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostRoomsUnauthorized

func NewPostRoomsUnauthorized() *PostRoomsUnauthorized

NewPostRoomsUnauthorized creates a PostRoomsUnauthorized with default headers values

func (*PostRoomsUnauthorized) Error

func (o *PostRoomsUnauthorized) Error() string

type PutCustomFieldsRoomBadRequest

type PutCustomFieldsRoomBadRequest struct {
}

PutCustomFieldsRoomBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPutCustomFieldsRoomBadRequest

func NewPutCustomFieldsRoomBadRequest() *PutCustomFieldsRoomBadRequest

NewPutCustomFieldsRoomBadRequest creates a PutCustomFieldsRoomBadRequest with default headers values

func (*PutCustomFieldsRoomBadRequest) Error

type PutCustomFieldsRoomForbidden

type PutCustomFieldsRoomForbidden struct {
}

PutCustomFieldsRoomForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPutCustomFieldsRoomForbidden

func NewPutCustomFieldsRoomForbidden() *PutCustomFieldsRoomForbidden

NewPutCustomFieldsRoomForbidden creates a PutCustomFieldsRoomForbidden with default headers values

func (*PutCustomFieldsRoomForbidden) Error

type PutCustomFieldsRoomGone

type PutCustomFieldsRoomGone struct {
}

PutCustomFieldsRoomGone handles this case with default header values.

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

func NewPutCustomFieldsRoomGone

func NewPutCustomFieldsRoomGone() *PutCustomFieldsRoomGone

NewPutCustomFieldsRoomGone creates a PutCustomFieldsRoomGone with default headers values

func (*PutCustomFieldsRoomGone) Error

func (o *PutCustomFieldsRoomGone) Error() string

type PutCustomFieldsRoomInternalServerError

type PutCustomFieldsRoomInternalServerError struct {
}

PutCustomFieldsRoomInternalServerError 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 NewPutCustomFieldsRoomInternalServerError

func NewPutCustomFieldsRoomInternalServerError() *PutCustomFieldsRoomInternalServerError

NewPutCustomFieldsRoomInternalServerError creates a PutCustomFieldsRoomInternalServerError with default headers values

func (*PutCustomFieldsRoomInternalServerError) Error

type PutCustomFieldsRoomMethodNotAllowed

type PutCustomFieldsRoomMethodNotAllowed struct {
}

PutCustomFieldsRoomMethodNotAllowed handles this case with default header values.

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

func NewPutCustomFieldsRoomMethodNotAllowed

func NewPutCustomFieldsRoomMethodNotAllowed() *PutCustomFieldsRoomMethodNotAllowed

NewPutCustomFieldsRoomMethodNotAllowed creates a PutCustomFieldsRoomMethodNotAllowed with default headers values

func (*PutCustomFieldsRoomMethodNotAllowed) Error

type PutCustomFieldsRoomNotFound

type PutCustomFieldsRoomNotFound struct {
}

PutCustomFieldsRoomNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPutCustomFieldsRoomNotFound

func NewPutCustomFieldsRoomNotFound() *PutCustomFieldsRoomNotFound

NewPutCustomFieldsRoomNotFound creates a PutCustomFieldsRoomNotFound with default headers values

func (*PutCustomFieldsRoomNotFound) Error

type PutCustomFieldsRoomOK

type PutCustomFieldsRoomOK struct {
	Payload *PutCustomFieldsRoomOKBody
}

PutCustomFieldsRoomOK handles this case with default header values.

The above command returns results like this:

func NewPutCustomFieldsRoomOK

func NewPutCustomFieldsRoomOK() *PutCustomFieldsRoomOK

NewPutCustomFieldsRoomOK creates a PutCustomFieldsRoomOK with default headers values

func (*PutCustomFieldsRoomOK) Error

func (o *PutCustomFieldsRoomOK) Error() string

func (*PutCustomFieldsRoomOK) GetPayload

type PutCustomFieldsRoomOKBody

type PutCustomFieldsRoomOKBody struct {

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

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

PutCustomFieldsRoomOKBody put custom fields room o k body swagger:model PutCustomFieldsRoomOKBody

func (*PutCustomFieldsRoomOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PutCustomFieldsRoomOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PutCustomFieldsRoomOKBody) Validate

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

Validate validates this put custom fields room o k body

type PutCustomFieldsRoomParams

type PutCustomFieldsRoomParams struct {

	/*AddToPicklist
	  Comma separated values to add to picklist. If type is picklist and custom field is new, this is a required field. Duplicates will be ignored.

	*/
	AddToPicklist *string
	/*BulkFields
	  comma separated key value pairs, with key and value separated by colon. e.g.key1:value1, key2:value2

	*/
	BulkFields *string
	/*ClearValue
	  yes to clear existing value for that field

	*/
	ClearValue *string
	/*ID
	  Room ID or UI > Tools > Export > Room

	*/
	ID *string
	/*Key
	  Can be new or existing. This is the custom field name.

	*/
	Key string
	/*Name
	  Name of room

	*/
	Name *string
	/*Notes
	  Any additional notes

	*/
	Notes *string
	/*RelatedFieldName
	  Required if type = related field.

	*/
	RelatedFieldName *string
	/*Type
	  this is the custom field type. If left blank, default is text. Date should be formatted as YYYY-MM-DD

	*/
	Type *string
	/*Value
	  This will set the value of the custom field for the specific object.

	*/
	Value *string

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

PutCustomFieldsRoomParams contains all the parameters to send to the API endpoint for the put custom fields room operation typically these are written to a http.Request

func NewPutCustomFieldsRoomParams

func NewPutCustomFieldsRoomParams() *PutCustomFieldsRoomParams

NewPutCustomFieldsRoomParams creates a new PutCustomFieldsRoomParams object with the default values initialized.

func NewPutCustomFieldsRoomParamsWithContext

func NewPutCustomFieldsRoomParamsWithContext(ctx context.Context) *PutCustomFieldsRoomParams

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

func NewPutCustomFieldsRoomParamsWithHTTPClient

func NewPutCustomFieldsRoomParamsWithHTTPClient(client *http.Client) *PutCustomFieldsRoomParams

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

func NewPutCustomFieldsRoomParamsWithTimeout

func NewPutCustomFieldsRoomParamsWithTimeout(timeout time.Duration) *PutCustomFieldsRoomParams

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

func (*PutCustomFieldsRoomParams) SetAddToPicklist

func (o *PutCustomFieldsRoomParams) SetAddToPicklist(addToPicklist *string)

SetAddToPicklist adds the addToPicklist to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetBulkFields

func (o *PutCustomFieldsRoomParams) SetBulkFields(bulkFields *string)

SetBulkFields adds the bulkFields to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetClearValue

func (o *PutCustomFieldsRoomParams) SetClearValue(clearValue *string)

SetClearValue adds the clearValue to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetContext

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

SetContext adds the context to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetID

func (o *PutCustomFieldsRoomParams) SetID(id *string)

SetID adds the id to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetKey

func (o *PutCustomFieldsRoomParams) SetKey(key string)

SetKey adds the key to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetName

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

SetName adds the name to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetNotes

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

SetNotes adds the notes to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetRelatedFieldName

func (o *PutCustomFieldsRoomParams) SetRelatedFieldName(relatedFieldName *string)

SetRelatedFieldName adds the relatedFieldName to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetTimeout

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

SetTimeout adds the timeout to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetType

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

SetType adds the type to the put custom fields room params

func (*PutCustomFieldsRoomParams) SetValue

func (o *PutCustomFieldsRoomParams) SetValue(value *string)

SetValue adds the value to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithAddToPicklist

func (o *PutCustomFieldsRoomParams) WithAddToPicklist(addToPicklist *string) *PutCustomFieldsRoomParams

WithAddToPicklist adds the addToPicklist to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithBulkFields

func (o *PutCustomFieldsRoomParams) WithBulkFields(bulkFields *string) *PutCustomFieldsRoomParams

WithBulkFields adds the bulkFields to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithClearValue

func (o *PutCustomFieldsRoomParams) WithClearValue(clearValue *string) *PutCustomFieldsRoomParams

WithClearValue adds the clearValue to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithContext

WithContext adds the context to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithID

WithID adds the id to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithKey

WithKey adds the key to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithName

WithName adds the name to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithNotes

WithNotes adds the notes to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithRelatedFieldName

func (o *PutCustomFieldsRoomParams) WithRelatedFieldName(relatedFieldName *string) *PutCustomFieldsRoomParams

WithRelatedFieldName adds the relatedFieldName to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithTimeout

WithTimeout adds the timeout to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithType

WithType adds the typeVar to the put custom fields room params

func (*PutCustomFieldsRoomParams) WithValue

WithValue adds the value to the put custom fields room params

func (*PutCustomFieldsRoomParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutCustomFieldsRoomReader

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

PutCustomFieldsRoomReader is a Reader for the PutCustomFieldsRoom structure.

func (*PutCustomFieldsRoomReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutCustomFieldsRoomServiceUnavailable

type PutCustomFieldsRoomServiceUnavailable struct {
}

PutCustomFieldsRoomServiceUnavailable handles this case with default header values.

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

func NewPutCustomFieldsRoomServiceUnavailable

func NewPutCustomFieldsRoomServiceUnavailable() *PutCustomFieldsRoomServiceUnavailable

NewPutCustomFieldsRoomServiceUnavailable creates a PutCustomFieldsRoomServiceUnavailable with default headers values

func (*PutCustomFieldsRoomServiceUnavailable) Error

type PutCustomFieldsRoomUnauthorized

type PutCustomFieldsRoomUnauthorized struct {
}

PutCustomFieldsRoomUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPutCustomFieldsRoomUnauthorized

func NewPutCustomFieldsRoomUnauthorized() *PutCustomFieldsRoomUnauthorized

NewPutCustomFieldsRoomUnauthorized creates a PutCustomFieldsRoomUnauthorized with default headers values

func (*PutCustomFieldsRoomUnauthorized) Error

type PutRoomsIDBadRequest

type PutRoomsIDBadRequest struct {
}

PutRoomsIDBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPutRoomsIDBadRequest

func NewPutRoomsIDBadRequest() *PutRoomsIDBadRequest

NewPutRoomsIDBadRequest creates a PutRoomsIDBadRequest with default headers values

func (*PutRoomsIDBadRequest) Error

func (o *PutRoomsIDBadRequest) Error() string

type PutRoomsIDForbidden

type PutRoomsIDForbidden struct {
}

PutRoomsIDForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPutRoomsIDForbidden

func NewPutRoomsIDForbidden() *PutRoomsIDForbidden

NewPutRoomsIDForbidden creates a PutRoomsIDForbidden with default headers values

func (*PutRoomsIDForbidden) Error

func (o *PutRoomsIDForbidden) Error() string

type PutRoomsIDGone

type PutRoomsIDGone struct {
}

PutRoomsIDGone handles this case with default header values.

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

func NewPutRoomsIDGone

func NewPutRoomsIDGone() *PutRoomsIDGone

NewPutRoomsIDGone creates a PutRoomsIDGone with default headers values

func (*PutRoomsIDGone) Error

func (o *PutRoomsIDGone) Error() string

type PutRoomsIDInternalServerError

type PutRoomsIDInternalServerError struct {
}

PutRoomsIDInternalServerError 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 NewPutRoomsIDInternalServerError

func NewPutRoomsIDInternalServerError() *PutRoomsIDInternalServerError

NewPutRoomsIDInternalServerError creates a PutRoomsIDInternalServerError with default headers values

func (*PutRoomsIDInternalServerError) Error

type PutRoomsIDMethodNotAllowed

type PutRoomsIDMethodNotAllowed struct {
}

PutRoomsIDMethodNotAllowed handles this case with default header values.

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

func NewPutRoomsIDMethodNotAllowed

func NewPutRoomsIDMethodNotAllowed() *PutRoomsIDMethodNotAllowed

NewPutRoomsIDMethodNotAllowed creates a PutRoomsIDMethodNotAllowed with default headers values

func (*PutRoomsIDMethodNotAllowed) Error

type PutRoomsIDNotFound

type PutRoomsIDNotFound struct {
}

PutRoomsIDNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPutRoomsIDNotFound

func NewPutRoomsIDNotFound() *PutRoomsIDNotFound

NewPutRoomsIDNotFound creates a PutRoomsIDNotFound with default headers values

func (*PutRoomsIDNotFound) Error

func (o *PutRoomsIDNotFound) Error() string

type PutRoomsIDOK

type PutRoomsIDOK struct {
	Payload *PutRoomsIDOKBody
}

PutRoomsIDOK handles this case with default header values.

The above command returns results like this:

func NewPutRoomsIDOK

func NewPutRoomsIDOK() *PutRoomsIDOK

NewPutRoomsIDOK creates a PutRoomsIDOK with default headers values

func (*PutRoomsIDOK) Error

func (o *PutRoomsIDOK) Error() string

func (*PutRoomsIDOK) GetPayload

func (o *PutRoomsIDOK) GetPayload() *PutRoomsIDOKBody

type PutRoomsIDOKBody

type PutRoomsIDOKBody struct {

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

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

PutRoomsIDOKBody put rooms ID o k body swagger:model PutRoomsIDOKBody

func (*PutRoomsIDOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PutRoomsIDOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PutRoomsIDOKBody) Validate

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

Validate validates this put rooms ID o k body

type PutRoomsIDParams

type PutRoomsIDParams struct {

	/*ID
	  id of the room

	*/
	ID int64
	/*BuildingID
	  Existing building ID

	*/
	BuildingID *string
	/*GridCols
	  number of columns in the room grid

	*/
	GridCols *string
	/*GridRows
	  number of rows in the room grid

	*/
	GridRows *string
	/*Groups
	  If multitenancy is on, admin groups that have access to this object are specified here, e.g. Prod_East:no,Corp:yes specifies that the admin groups for this object are Prod_East with view only permission and Corp with change permission. If this parameter is present with no value, all groups are deleted.

	*/
	Groups *string
	/*Height
	  room height

	*/
	Height *string
	/*HorizontalGridNumbering
	  numeric by default

	*/
	HorizontalGridNumbering *string
	/*HorizontalGridStart*/
	HorizontalGridStart *string
	/*Name
	  Name of room

	*/
	Name *string
	/*Notes
	  Any additional notes

	*/
	Notes *string
	/*RaisedFloor*/
	RaisedFloor *string
	/*RaisedFloorHeight
	  height of raised floor

	*/
	RaisedFloorHeight *string
	/*ReverseXaxis
	  'yes' reverses the numbering order on the x-axis

	*/
	ReverseXaxis *string
	/*ReverseYaxis
	  'yes' reverses the numbering order on the y-axis

	*/
	ReverseYaxis *string
	/*Uom
	  unit of measurement (meters or inches)

	*/
	Uom *string
	/*VerticalGridNumbering
	  numeric by default

	*/
	VerticalGridNumbering *string
	/*VerticalGridStart*/
	VerticalGridStart *string

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

PutRoomsIDParams contains all the parameters to send to the API endpoint for the put rooms ID operation typically these are written to a http.Request

func NewPutRoomsIDParams

func NewPutRoomsIDParams() *PutRoomsIDParams

NewPutRoomsIDParams creates a new PutRoomsIDParams object with the default values initialized.

func NewPutRoomsIDParamsWithContext

func NewPutRoomsIDParamsWithContext(ctx context.Context) *PutRoomsIDParams

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

func NewPutRoomsIDParamsWithHTTPClient

func NewPutRoomsIDParamsWithHTTPClient(client *http.Client) *PutRoomsIDParams

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

func NewPutRoomsIDParamsWithTimeout

func NewPutRoomsIDParamsWithTimeout(timeout time.Duration) *PutRoomsIDParams

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

func (*PutRoomsIDParams) SetBuildingID

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

SetBuildingID adds the buildingId to the put rooms ID params

func (*PutRoomsIDParams) SetContext

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

SetContext adds the context to the put rooms ID params

func (*PutRoomsIDParams) SetGridCols

func (o *PutRoomsIDParams) SetGridCols(gridCols *string)

SetGridCols adds the gridCols to the put rooms ID params

func (*PutRoomsIDParams) SetGridRows

func (o *PutRoomsIDParams) SetGridRows(gridRows *string)

SetGridRows adds the gridRows to the put rooms ID params

func (*PutRoomsIDParams) SetGroups

func (o *PutRoomsIDParams) SetGroups(groups *string)

SetGroups adds the groups to the put rooms ID params

func (*PutRoomsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put rooms ID params

func (*PutRoomsIDParams) SetHeight

func (o *PutRoomsIDParams) SetHeight(height *string)

SetHeight adds the height to the put rooms ID params

func (*PutRoomsIDParams) SetHorizontalGridNumbering

func (o *PutRoomsIDParams) SetHorizontalGridNumbering(horizontalGridNumbering *string)

SetHorizontalGridNumbering adds the horizontalGridNumbering to the put rooms ID params

func (*PutRoomsIDParams) SetHorizontalGridStart

func (o *PutRoomsIDParams) SetHorizontalGridStart(horizontalGridStart *string)

SetHorizontalGridStart adds the horizontalGridStart to the put rooms ID params

func (*PutRoomsIDParams) SetID

func (o *PutRoomsIDParams) SetID(id int64)

SetID adds the id to the put rooms ID params

func (*PutRoomsIDParams) SetName

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

SetName adds the name to the put rooms ID params

func (*PutRoomsIDParams) SetNotes

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

SetNotes adds the notes to the put rooms ID params

func (*PutRoomsIDParams) SetRaisedFloor

func (o *PutRoomsIDParams) SetRaisedFloor(raisedFloor *string)

SetRaisedFloor adds the raisedFloor to the put rooms ID params

func (*PutRoomsIDParams) SetRaisedFloorHeight

func (o *PutRoomsIDParams) SetRaisedFloorHeight(raisedFloorHeight *string)

SetRaisedFloorHeight adds the raisedFloorHeight to the put rooms ID params

func (*PutRoomsIDParams) SetReverseXaxis

func (o *PutRoomsIDParams) SetReverseXaxis(reverseXaxis *string)

SetReverseXaxis adds the reverseXaxis to the put rooms ID params

func (*PutRoomsIDParams) SetReverseYaxis

func (o *PutRoomsIDParams) SetReverseYaxis(reverseYaxis *string)

SetReverseYaxis adds the reverseYaxis to the put rooms ID params

func (*PutRoomsIDParams) SetTimeout

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

SetTimeout adds the timeout to the put rooms ID params

func (*PutRoomsIDParams) SetUom

func (o *PutRoomsIDParams) SetUom(uom *string)

SetUom adds the uom to the put rooms ID params

func (*PutRoomsIDParams) SetVerticalGridNumbering

func (o *PutRoomsIDParams) SetVerticalGridNumbering(verticalGridNumbering *string)

SetVerticalGridNumbering adds the verticalGridNumbering to the put rooms ID params

func (*PutRoomsIDParams) SetVerticalGridStart

func (o *PutRoomsIDParams) SetVerticalGridStart(verticalGridStart *string)

SetVerticalGridStart adds the verticalGridStart to the put rooms ID params

func (*PutRoomsIDParams) WithBuildingID

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

WithBuildingID adds the buildingID to the put rooms ID params

func (*PutRoomsIDParams) WithContext

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

WithContext adds the context to the put rooms ID params

func (*PutRoomsIDParams) WithGridCols

func (o *PutRoomsIDParams) WithGridCols(gridCols *string) *PutRoomsIDParams

WithGridCols adds the gridCols to the put rooms ID params

func (*PutRoomsIDParams) WithGridRows

func (o *PutRoomsIDParams) WithGridRows(gridRows *string) *PutRoomsIDParams

WithGridRows adds the gridRows to the put rooms ID params

func (*PutRoomsIDParams) WithGroups

func (o *PutRoomsIDParams) WithGroups(groups *string) *PutRoomsIDParams

WithGroups adds the groups to the put rooms ID params

func (*PutRoomsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put rooms ID params

func (*PutRoomsIDParams) WithHeight

func (o *PutRoomsIDParams) WithHeight(height *string) *PutRoomsIDParams

WithHeight adds the height to the put rooms ID params

func (*PutRoomsIDParams) WithHorizontalGridNumbering

func (o *PutRoomsIDParams) WithHorizontalGridNumbering(horizontalGridNumbering *string) *PutRoomsIDParams

WithHorizontalGridNumbering adds the horizontalGridNumbering to the put rooms ID params

func (*PutRoomsIDParams) WithHorizontalGridStart

func (o *PutRoomsIDParams) WithHorizontalGridStart(horizontalGridStart *string) *PutRoomsIDParams

WithHorizontalGridStart adds the horizontalGridStart to the put rooms ID params

func (*PutRoomsIDParams) WithID

func (o *PutRoomsIDParams) WithID(id int64) *PutRoomsIDParams

WithID adds the id to the put rooms ID params

func (*PutRoomsIDParams) WithName

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

WithName adds the name to the put rooms ID params

func (*PutRoomsIDParams) WithNotes

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

WithNotes adds the notes to the put rooms ID params

func (*PutRoomsIDParams) WithRaisedFloor

func (o *PutRoomsIDParams) WithRaisedFloor(raisedFloor *string) *PutRoomsIDParams

WithRaisedFloor adds the raisedFloor to the put rooms ID params

func (*PutRoomsIDParams) WithRaisedFloorHeight

func (o *PutRoomsIDParams) WithRaisedFloorHeight(raisedFloorHeight *string) *PutRoomsIDParams

WithRaisedFloorHeight adds the raisedFloorHeight to the put rooms ID params

func (*PutRoomsIDParams) WithReverseXaxis

func (o *PutRoomsIDParams) WithReverseXaxis(reverseXaxis *string) *PutRoomsIDParams

WithReverseXaxis adds the reverseXaxis to the put rooms ID params

func (*PutRoomsIDParams) WithReverseYaxis

func (o *PutRoomsIDParams) WithReverseYaxis(reverseYaxis *string) *PutRoomsIDParams

WithReverseYaxis adds the reverseYaxis to the put rooms ID params

func (*PutRoomsIDParams) WithTimeout

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

WithTimeout adds the timeout to the put rooms ID params

func (*PutRoomsIDParams) WithUom

func (o *PutRoomsIDParams) WithUom(uom *string) *PutRoomsIDParams

WithUom adds the uom to the put rooms ID params

func (*PutRoomsIDParams) WithVerticalGridNumbering

func (o *PutRoomsIDParams) WithVerticalGridNumbering(verticalGridNumbering *string) *PutRoomsIDParams

WithVerticalGridNumbering adds the verticalGridNumbering to the put rooms ID params

func (*PutRoomsIDParams) WithVerticalGridStart

func (o *PutRoomsIDParams) WithVerticalGridStart(verticalGridStart *string) *PutRoomsIDParams

WithVerticalGridStart adds the verticalGridStart to the put rooms ID params

func (*PutRoomsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutRoomsIDReader

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

PutRoomsIDReader is a Reader for the PutRoomsID structure.

func (*PutRoomsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutRoomsIDServiceUnavailable

type PutRoomsIDServiceUnavailable struct {
}

PutRoomsIDServiceUnavailable handles this case with default header values.

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

func NewPutRoomsIDServiceUnavailable

func NewPutRoomsIDServiceUnavailable() *PutRoomsIDServiceUnavailable

NewPutRoomsIDServiceUnavailable creates a PutRoomsIDServiceUnavailable with default headers values

func (*PutRoomsIDServiceUnavailable) Error

type PutRoomsIDUnauthorized

type PutRoomsIDUnauthorized struct {
}

PutRoomsIDUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPutRoomsIDUnauthorized

func NewPutRoomsIDUnauthorized() *PutRoomsIDUnauthorized

NewPutRoomsIDUnauthorized creates a PutRoomsIDUnauthorized with default headers values

func (*PutRoomsIDUnauthorized) Error

func (o *PutRoomsIDUnauthorized) Error() string

Jump to

Keyboard shortcuts

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