Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteDeviceOs(params *DeleteDeviceOsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceOsOK, error)
- func (a *Client) DeleteOperatingSystems(params *DeleteOperatingSystemsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOperatingSystemsOK, error)
- func (a *Client) GetDeviceOs(params *GetDeviceOsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceOsOK, error)
- func (a *Client) GetOperatingSystems(params *GetOperatingSystemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOperatingSystemsOK, error)
- func (a *Client) PostDeviceOs(params *PostDeviceOsParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceOsOK, error)
- func (a *Client) PostOperatingSystems(params *PostOperatingSystemsParams, authInfo runtime.ClientAuthInfoWriter) (*PostOperatingSystemsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteDeviceOsBadRequest
- type DeleteDeviceOsForbidden
- type DeleteDeviceOsGone
- type DeleteDeviceOsInternalServerError
- type DeleteDeviceOsMethodNotAllowed
- type DeleteDeviceOsNotFound
- type DeleteDeviceOsOK
- type DeleteDeviceOsOKBody
- type DeleteDeviceOsParams
- func NewDeleteDeviceOsParams() *DeleteDeviceOsParams
- func NewDeleteDeviceOsParamsWithContext(ctx context.Context) *DeleteDeviceOsParams
- func NewDeleteDeviceOsParamsWithHTTPClient(client *http.Client) *DeleteDeviceOsParams
- func NewDeleteDeviceOsParamsWithTimeout(timeout time.Duration) *DeleteDeviceOsParams
- func (o *DeleteDeviceOsParams) SetContext(ctx context.Context)
- func (o *DeleteDeviceOsParams) SetDeviceOsID(deviceOsID int64)
- func (o *DeleteDeviceOsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeviceOsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeviceOsParams) WithContext(ctx context.Context) *DeleteDeviceOsParams
- func (o *DeleteDeviceOsParams) WithDeviceOsID(deviceOsID int64) *DeleteDeviceOsParams
- func (o *DeleteDeviceOsParams) WithHTTPClient(client *http.Client) *DeleteDeviceOsParams
- func (o *DeleteDeviceOsParams) WithTimeout(timeout time.Duration) *DeleteDeviceOsParams
- func (o *DeleteDeviceOsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeviceOsReader
- type DeleteDeviceOsServiceUnavailable
- type DeleteDeviceOsUnauthorized
- type DeleteOperatingSystemsBadRequest
- type DeleteOperatingSystemsForbidden
- type DeleteOperatingSystemsGone
- type DeleteOperatingSystemsInternalServerError
- type DeleteOperatingSystemsMethodNotAllowed
- type DeleteOperatingSystemsNotFound
- type DeleteOperatingSystemsOK
- type DeleteOperatingSystemsOKBody
- type DeleteOperatingSystemsParams
- func NewDeleteOperatingSystemsParams() *DeleteOperatingSystemsParams
- func NewDeleteOperatingSystemsParamsWithContext(ctx context.Context) *DeleteOperatingSystemsParams
- func NewDeleteOperatingSystemsParamsWithHTTPClient(client *http.Client) *DeleteOperatingSystemsParams
- func NewDeleteOperatingSystemsParamsWithTimeout(timeout time.Duration) *DeleteOperatingSystemsParams
- func (o *DeleteOperatingSystemsParams) SetContext(ctx context.Context)
- func (o *DeleteOperatingSystemsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOperatingSystemsParams) SetID(id int64)
- func (o *DeleteOperatingSystemsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOperatingSystemsParams) WithContext(ctx context.Context) *DeleteOperatingSystemsParams
- func (o *DeleteOperatingSystemsParams) WithHTTPClient(client *http.Client) *DeleteOperatingSystemsParams
- func (o *DeleteOperatingSystemsParams) WithID(id int64) *DeleteOperatingSystemsParams
- func (o *DeleteOperatingSystemsParams) WithTimeout(timeout time.Duration) *DeleteOperatingSystemsParams
- func (o *DeleteOperatingSystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOperatingSystemsReader
- type DeleteOperatingSystemsServiceUnavailable
- type DeleteOperatingSystemsUnauthorized
- type GetDeviceOsBadRequest
- type GetDeviceOsForbidden
- type GetDeviceOsGone
- type GetDeviceOsInternalServerError
- type GetDeviceOsMethodNotAllowed
- type GetDeviceOsNotFound
- type GetDeviceOsOK
- type GetDeviceOsOKBody
- type GetDeviceOsParams
- func (o *GetDeviceOsParams) SetContext(ctx context.Context)
- func (o *GetDeviceOsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceOsParams) SetOs(os *string)
- func (o *GetDeviceOsParams) SetOsID(osID *string)
- func (o *GetDeviceOsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceOsParams) WithContext(ctx context.Context) *GetDeviceOsParams
- func (o *GetDeviceOsParams) WithHTTPClient(client *http.Client) *GetDeviceOsParams
- func (o *GetDeviceOsParams) WithOs(os *string) *GetDeviceOsParams
- func (o *GetDeviceOsParams) WithOsID(osID *string) *GetDeviceOsParams
- func (o *GetDeviceOsParams) WithTimeout(timeout time.Duration) *GetDeviceOsParams
- func (o *GetDeviceOsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceOsReader
- type GetDeviceOsServiceUnavailable
- type GetDeviceOsUnauthorized
- type GetOperatingSystemsBadRequest
- type GetOperatingSystemsForbidden
- type GetOperatingSystemsGone
- type GetOperatingSystemsInternalServerError
- type GetOperatingSystemsMethodNotAllowed
- type GetOperatingSystemsNotFound
- type GetOperatingSystemsOK
- type GetOperatingSystemsOKBody
- type GetOperatingSystemsParams
- func NewGetOperatingSystemsParams() *GetOperatingSystemsParams
- func NewGetOperatingSystemsParamsWithContext(ctx context.Context) *GetOperatingSystemsParams
- func NewGetOperatingSystemsParamsWithHTTPClient(client *http.Client) *GetOperatingSystemsParams
- func NewGetOperatingSystemsParamsWithTimeout(timeout time.Duration) *GetOperatingSystemsParams
- func (o *GetOperatingSystemsParams) SetCategory(category *string)
- func (o *GetOperatingSystemsParams) SetContext(ctx context.Context)
- func (o *GetOperatingSystemsParams) SetHTTPClient(client *http.Client)
- func (o *GetOperatingSystemsParams) SetLicensedCount(licensedCount *string)
- func (o *GetOperatingSystemsParams) SetNotLicensedCount(notLicensedCount *string)
- func (o *GetOperatingSystemsParams) SetTimeout(timeout time.Duration)
- func (o *GetOperatingSystemsParams) SetTotalCount(totalCount *string)
- func (o *GetOperatingSystemsParams) WithCategory(category *string) *GetOperatingSystemsParams
- func (o *GetOperatingSystemsParams) WithContext(ctx context.Context) *GetOperatingSystemsParams
- func (o *GetOperatingSystemsParams) WithHTTPClient(client *http.Client) *GetOperatingSystemsParams
- func (o *GetOperatingSystemsParams) WithLicensedCount(licensedCount *string) *GetOperatingSystemsParams
- func (o *GetOperatingSystemsParams) WithNotLicensedCount(notLicensedCount *string) *GetOperatingSystemsParams
- func (o *GetOperatingSystemsParams) WithTimeout(timeout time.Duration) *GetOperatingSystemsParams
- func (o *GetOperatingSystemsParams) WithTotalCount(totalCount *string) *GetOperatingSystemsParams
- func (o *GetOperatingSystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOperatingSystemsReader
- type GetOperatingSystemsServiceUnavailable
- type GetOperatingSystemsUnauthorized
- type PostDeviceOsBadRequest
- type PostDeviceOsForbidden
- type PostDeviceOsGone
- type PostDeviceOsInternalServerError
- type PostDeviceOsMethodNotAllowed
- type PostDeviceOsNotFound
- type PostDeviceOsOK
- type PostDeviceOsOKBody
- type PostDeviceOsParams
- func (o *PostDeviceOsParams) SetContext(ctx context.Context)
- func (o *PostDeviceOsParams) SetCountInLicensing(countInLicensing *string)
- func (o *PostDeviceOsParams) SetDeviceID(deviceID string)
- func (o *PostDeviceOsParams) SetDeviceOsID(deviceOsID string)
- func (o *PostDeviceOsParams) SetHTTPClient(client *http.Client)
- func (o *PostDeviceOsParams) SetLicenseKey(licenseKey *string)
- func (o *PostDeviceOsParams) SetOs(os *string)
- func (o *PostDeviceOsParams) SetOsver(osver *string)
- func (o *PostDeviceOsParams) SetOsverno(osverno *string)
- func (o *PostDeviceOsParams) SetTimeout(timeout time.Duration)
- func (o *PostDeviceOsParams) WithContext(ctx context.Context) *PostDeviceOsParams
- func (o *PostDeviceOsParams) WithCountInLicensing(countInLicensing *string) *PostDeviceOsParams
- func (o *PostDeviceOsParams) WithDeviceID(deviceID string) *PostDeviceOsParams
- func (o *PostDeviceOsParams) WithDeviceOsID(deviceOsID string) *PostDeviceOsParams
- func (o *PostDeviceOsParams) WithHTTPClient(client *http.Client) *PostDeviceOsParams
- func (o *PostDeviceOsParams) WithLicenseKey(licenseKey *string) *PostDeviceOsParams
- func (o *PostDeviceOsParams) WithOs(os *string) *PostDeviceOsParams
- func (o *PostDeviceOsParams) WithOsver(osver *string) *PostDeviceOsParams
- func (o *PostDeviceOsParams) WithOsverno(osverno *string) *PostDeviceOsParams
- func (o *PostDeviceOsParams) WithTimeout(timeout time.Duration) *PostDeviceOsParams
- func (o *PostDeviceOsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostDeviceOsReader
- type PostDeviceOsServiceUnavailable
- type PostDeviceOsUnauthorized
- type PostOperatingSystemsBadRequest
- type PostOperatingSystemsForbidden
- type PostOperatingSystemsGone
- type PostOperatingSystemsInternalServerError
- type PostOperatingSystemsMethodNotAllowed
- type PostOperatingSystemsNotFound
- type PostOperatingSystemsOK
- type PostOperatingSystemsOKBody
- type PostOperatingSystemsParams
- func NewPostOperatingSystemsParams() *PostOperatingSystemsParams
- func NewPostOperatingSystemsParamsWithContext(ctx context.Context) *PostOperatingSystemsParams
- func NewPostOperatingSystemsParamsWithHTTPClient(client *http.Client) *PostOperatingSystemsParams
- func NewPostOperatingSystemsParamsWithTimeout(timeout time.Duration) *PostOperatingSystemsParams
- func (o *PostOperatingSystemsParams) SetCategory(category *string)
- func (o *PostOperatingSystemsParams) SetContext(ctx context.Context)
- func (o *PostOperatingSystemsParams) SetHTTPClient(client *http.Client)
- func (o *PostOperatingSystemsParams) SetLicensedCount(licensedCount *string)
- func (o *PostOperatingSystemsParams) SetLicensingModel(licensingModel *string)
- func (o *PostOperatingSystemsParams) SetManufacturer(manufacturer *string)
- func (o *PostOperatingSystemsParams) SetName(name *string)
- func (o *PostOperatingSystemsParams) SetNotes(notes *string)
- func (o *PostOperatingSystemsParams) SetTimeout(timeout time.Duration)
- func (o *PostOperatingSystemsParams) WithCategory(category *string) *PostOperatingSystemsParams
- func (o *PostOperatingSystemsParams) WithContext(ctx context.Context) *PostOperatingSystemsParams
- func (o *PostOperatingSystemsParams) WithHTTPClient(client *http.Client) *PostOperatingSystemsParams
- func (o *PostOperatingSystemsParams) WithLicensedCount(licensedCount *string) *PostOperatingSystemsParams
- func (o *PostOperatingSystemsParams) WithLicensingModel(licensingModel *string) *PostOperatingSystemsParams
- func (o *PostOperatingSystemsParams) WithManufacturer(manufacturer *string) *PostOperatingSystemsParams
- func (o *PostOperatingSystemsParams) WithName(name *string) *PostOperatingSystemsParams
- func (o *PostOperatingSystemsParams) WithNotes(notes *string) *PostOperatingSystemsParams
- func (o *PostOperatingSystemsParams) WithTimeout(timeout time.Duration) *PostOperatingSystemsParams
- func (o *PostOperatingSystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostOperatingSystemsReader
- type PostOperatingSystemsServiceUnavailable
- type PostOperatingSystemsUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operating systems API
func (*Client) DeleteDeviceOs ¶
func (a *Client) DeleteDeviceOs(params *DeleteDeviceOsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceOsOK, error)
DeleteDeviceOs deletes operating system by o s ID
This API is used to delete the operating system with the operating system id supplied as the required argument.
func (*Client) DeleteOperatingSystems ¶
func (a *Client) DeleteOperatingSystems(params *DeleteOperatingSystemsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOperatingSystemsOK, error)
DeleteOperatingSystems deletes operating system
This API is used to delete the operating system with the operating system id supplied as the required argument.
func (*Client) GetDeviceOs ¶
func (a *Client) GetDeviceOs(params *GetDeviceOsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceOsOK, error)
GetDeviceOs gets operating systems by devices
This call will get information about operating systems and the devices they’re discovered on.
func (*Client) GetOperatingSystems ¶
func (a *Client) GetOperatingSystems(params *GetOperatingSystemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOperatingSystemsOK, error)
GetOperatingSystems this call will get information about operating systems
Get all operating systems
func (*Client) PostDeviceOs ¶
func (a *Client) PostDeviceOs(params *PostDeviceOsParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceOsOK, error)
PostDeviceOs this call will create or update operating systems and assign them to a device
Create/Update operating systems on devices
func (*Client) PostOperatingSystems ¶
func (a *Client) PostOperatingSystems(params *PostOperatingSystemsParams, authInfo runtime.ClientAuthInfoWriter) (*PostOperatingSystemsOK, error)
PostOperatingSystems this call will create update information about operating systems
Create/update OS
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteDeviceOs(params *DeleteDeviceOsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceOsOK, error) DeleteOperatingSystems(params *DeleteOperatingSystemsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOperatingSystemsOK, error) GetDeviceOs(params *GetDeviceOsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceOsOK, error) GetOperatingSystems(params *GetOperatingSystemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOperatingSystemsOK, error) PostDeviceOs(params *PostDeviceOsParams, authInfo runtime.ClientAuthInfoWriter) (*PostDeviceOsOK, error) PostOperatingSystems(params *PostOperatingSystemsParams, authInfo runtime.ClientAuthInfoWriter) (*PostOperatingSystemsOK, 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 operating systems API client.
type DeleteDeviceOsBadRequest ¶
type DeleteDeviceOsBadRequest struct { }
DeleteDeviceOsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewDeleteDeviceOsBadRequest ¶
func NewDeleteDeviceOsBadRequest() *DeleteDeviceOsBadRequest
NewDeleteDeviceOsBadRequest creates a DeleteDeviceOsBadRequest with default headers values
func (*DeleteDeviceOsBadRequest) Error ¶
func (o *DeleteDeviceOsBadRequest) Error() string
type DeleteDeviceOsForbidden ¶
type DeleteDeviceOsForbidden struct { }
DeleteDeviceOsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewDeleteDeviceOsForbidden ¶
func NewDeleteDeviceOsForbidden() *DeleteDeviceOsForbidden
NewDeleteDeviceOsForbidden creates a DeleteDeviceOsForbidden with default headers values
func (*DeleteDeviceOsForbidden) Error ¶
func (o *DeleteDeviceOsForbidden) Error() string
type DeleteDeviceOsGone ¶
type DeleteDeviceOsGone struct { }
DeleteDeviceOsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewDeleteDeviceOsGone ¶
func NewDeleteDeviceOsGone() *DeleteDeviceOsGone
NewDeleteDeviceOsGone creates a DeleteDeviceOsGone with default headers values
func (*DeleteDeviceOsGone) Error ¶
func (o *DeleteDeviceOsGone) Error() string
type DeleteDeviceOsInternalServerError ¶
type DeleteDeviceOsInternalServerError struct { }
DeleteDeviceOsInternalServerError 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 NewDeleteDeviceOsInternalServerError ¶
func NewDeleteDeviceOsInternalServerError() *DeleteDeviceOsInternalServerError
NewDeleteDeviceOsInternalServerError creates a DeleteDeviceOsInternalServerError with default headers values
func (*DeleteDeviceOsInternalServerError) Error ¶
func (o *DeleteDeviceOsInternalServerError) Error() string
type DeleteDeviceOsMethodNotAllowed ¶
type DeleteDeviceOsMethodNotAllowed struct { }
DeleteDeviceOsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewDeleteDeviceOsMethodNotAllowed ¶
func NewDeleteDeviceOsMethodNotAllowed() *DeleteDeviceOsMethodNotAllowed
NewDeleteDeviceOsMethodNotAllowed creates a DeleteDeviceOsMethodNotAllowed with default headers values
func (*DeleteDeviceOsMethodNotAllowed) Error ¶
func (o *DeleteDeviceOsMethodNotAllowed) Error() string
type DeleteDeviceOsNotFound ¶
type DeleteDeviceOsNotFound struct { }
DeleteDeviceOsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewDeleteDeviceOsNotFound ¶
func NewDeleteDeviceOsNotFound() *DeleteDeviceOsNotFound
NewDeleteDeviceOsNotFound creates a DeleteDeviceOsNotFound with default headers values
func (*DeleteDeviceOsNotFound) Error ¶
func (o *DeleteDeviceOsNotFound) Error() string
type DeleteDeviceOsOK ¶
type DeleteDeviceOsOK struct {
Payload *DeleteDeviceOsOKBody
}
DeleteDeviceOsOK handles this case with default header values.
The above command returns results like this:
func NewDeleteDeviceOsOK ¶
func NewDeleteDeviceOsOK() *DeleteDeviceOsOK
NewDeleteDeviceOsOK creates a DeleteDeviceOsOK with default headers values
func (*DeleteDeviceOsOK) Error ¶
func (o *DeleteDeviceOsOK) Error() string
func (*DeleteDeviceOsOK) GetPayload ¶
func (o *DeleteDeviceOsOK) GetPayload() *DeleteDeviceOsOKBody
type DeleteDeviceOsOKBody ¶
type DeleteDeviceOsOKBody struct { // deleted Deleted interface{} `json:"deleted,omitempty"` // id ID interface{} `json:"id,omitempty"` }
DeleteDeviceOsOKBody delete device os o k body swagger:model DeleteDeviceOsOKBody
func (*DeleteDeviceOsOKBody) MarshalBinary ¶
func (o *DeleteDeviceOsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteDeviceOsOKBody) UnmarshalBinary ¶
func (o *DeleteDeviceOsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteDeviceOsParams ¶
type DeleteDeviceOsParams struct { /*DeviceOsID ID of specific operating system */ DeviceOsID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDeviceOsParams contains all the parameters to send to the API endpoint for the delete device os operation typically these are written to a http.Request
func NewDeleteDeviceOsParams ¶
func NewDeleteDeviceOsParams() *DeleteDeviceOsParams
NewDeleteDeviceOsParams creates a new DeleteDeviceOsParams object with the default values initialized.
func NewDeleteDeviceOsParamsWithContext ¶
func NewDeleteDeviceOsParamsWithContext(ctx context.Context) *DeleteDeviceOsParams
NewDeleteDeviceOsParamsWithContext creates a new DeleteDeviceOsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteDeviceOsParamsWithHTTPClient ¶
func NewDeleteDeviceOsParamsWithHTTPClient(client *http.Client) *DeleteDeviceOsParams
NewDeleteDeviceOsParamsWithHTTPClient creates a new DeleteDeviceOsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteDeviceOsParamsWithTimeout ¶
func NewDeleteDeviceOsParamsWithTimeout(timeout time.Duration) *DeleteDeviceOsParams
NewDeleteDeviceOsParamsWithTimeout creates a new DeleteDeviceOsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteDeviceOsParams) SetContext ¶
func (o *DeleteDeviceOsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete device os params
func (*DeleteDeviceOsParams) SetDeviceOsID ¶
func (o *DeleteDeviceOsParams) SetDeviceOsID(deviceOsID int64)
SetDeviceOsID adds the deviceOsId to the delete device os params
func (*DeleteDeviceOsParams) SetHTTPClient ¶
func (o *DeleteDeviceOsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete device os params
func (*DeleteDeviceOsParams) SetTimeout ¶
func (o *DeleteDeviceOsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete device os params
func (*DeleteDeviceOsParams) WithContext ¶
func (o *DeleteDeviceOsParams) WithContext(ctx context.Context) *DeleteDeviceOsParams
WithContext adds the context to the delete device os params
func (*DeleteDeviceOsParams) WithDeviceOsID ¶
func (o *DeleteDeviceOsParams) WithDeviceOsID(deviceOsID int64) *DeleteDeviceOsParams
WithDeviceOsID adds the deviceOsID to the delete device os params
func (*DeleteDeviceOsParams) WithHTTPClient ¶
func (o *DeleteDeviceOsParams) WithHTTPClient(client *http.Client) *DeleteDeviceOsParams
WithHTTPClient adds the HTTPClient to the delete device os params
func (*DeleteDeviceOsParams) WithTimeout ¶
func (o *DeleteDeviceOsParams) WithTimeout(timeout time.Duration) *DeleteDeviceOsParams
WithTimeout adds the timeout to the delete device os params
func (*DeleteDeviceOsParams) WriteToRequest ¶
func (o *DeleteDeviceOsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDeviceOsReader ¶
type DeleteDeviceOsReader struct {
// contains filtered or unexported fields
}
DeleteDeviceOsReader is a Reader for the DeleteDeviceOs structure.
func (*DeleteDeviceOsReader) ReadResponse ¶
func (o *DeleteDeviceOsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDeviceOsServiceUnavailable ¶
type DeleteDeviceOsServiceUnavailable struct { }
DeleteDeviceOsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewDeleteDeviceOsServiceUnavailable ¶
func NewDeleteDeviceOsServiceUnavailable() *DeleteDeviceOsServiceUnavailable
NewDeleteDeviceOsServiceUnavailable creates a DeleteDeviceOsServiceUnavailable with default headers values
func (*DeleteDeviceOsServiceUnavailable) Error ¶
func (o *DeleteDeviceOsServiceUnavailable) Error() string
type DeleteDeviceOsUnauthorized ¶
type DeleteDeviceOsUnauthorized struct { }
DeleteDeviceOsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewDeleteDeviceOsUnauthorized ¶
func NewDeleteDeviceOsUnauthorized() *DeleteDeviceOsUnauthorized
NewDeleteDeviceOsUnauthorized creates a DeleteDeviceOsUnauthorized with default headers values
func (*DeleteDeviceOsUnauthorized) Error ¶
func (o *DeleteDeviceOsUnauthorized) Error() string
type DeleteOperatingSystemsBadRequest ¶
type DeleteOperatingSystemsBadRequest struct { }
DeleteOperatingSystemsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewDeleteOperatingSystemsBadRequest ¶
func NewDeleteOperatingSystemsBadRequest() *DeleteOperatingSystemsBadRequest
NewDeleteOperatingSystemsBadRequest creates a DeleteOperatingSystemsBadRequest with default headers values
func (*DeleteOperatingSystemsBadRequest) Error ¶
func (o *DeleteOperatingSystemsBadRequest) Error() string
type DeleteOperatingSystemsForbidden ¶
type DeleteOperatingSystemsForbidden struct { }
DeleteOperatingSystemsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewDeleteOperatingSystemsForbidden ¶
func NewDeleteOperatingSystemsForbidden() *DeleteOperatingSystemsForbidden
NewDeleteOperatingSystemsForbidden creates a DeleteOperatingSystemsForbidden with default headers values
func (*DeleteOperatingSystemsForbidden) Error ¶
func (o *DeleteOperatingSystemsForbidden) Error() string
type DeleteOperatingSystemsGone ¶
type DeleteOperatingSystemsGone struct { }
DeleteOperatingSystemsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewDeleteOperatingSystemsGone ¶
func NewDeleteOperatingSystemsGone() *DeleteOperatingSystemsGone
NewDeleteOperatingSystemsGone creates a DeleteOperatingSystemsGone with default headers values
func (*DeleteOperatingSystemsGone) Error ¶
func (o *DeleteOperatingSystemsGone) Error() string
type DeleteOperatingSystemsInternalServerError ¶
type DeleteOperatingSystemsInternalServerError struct { }
DeleteOperatingSystemsInternalServerError 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 NewDeleteOperatingSystemsInternalServerError ¶
func NewDeleteOperatingSystemsInternalServerError() *DeleteOperatingSystemsInternalServerError
NewDeleteOperatingSystemsInternalServerError creates a DeleteOperatingSystemsInternalServerError with default headers values
func (*DeleteOperatingSystemsInternalServerError) Error ¶
func (o *DeleteOperatingSystemsInternalServerError) Error() string
type DeleteOperatingSystemsMethodNotAllowed ¶
type DeleteOperatingSystemsMethodNotAllowed struct { }
DeleteOperatingSystemsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewDeleteOperatingSystemsMethodNotAllowed ¶
func NewDeleteOperatingSystemsMethodNotAllowed() *DeleteOperatingSystemsMethodNotAllowed
NewDeleteOperatingSystemsMethodNotAllowed creates a DeleteOperatingSystemsMethodNotAllowed with default headers values
func (*DeleteOperatingSystemsMethodNotAllowed) Error ¶
func (o *DeleteOperatingSystemsMethodNotAllowed) Error() string
type DeleteOperatingSystemsNotFound ¶
type DeleteOperatingSystemsNotFound struct { }
DeleteOperatingSystemsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewDeleteOperatingSystemsNotFound ¶
func NewDeleteOperatingSystemsNotFound() *DeleteOperatingSystemsNotFound
NewDeleteOperatingSystemsNotFound creates a DeleteOperatingSystemsNotFound with default headers values
func (*DeleteOperatingSystemsNotFound) Error ¶
func (o *DeleteOperatingSystemsNotFound) Error() string
type DeleteOperatingSystemsOK ¶
type DeleteOperatingSystemsOK struct {
Payload *DeleteOperatingSystemsOKBody
}
DeleteOperatingSystemsOK handles this case with default header values.
The above command returns results like this:
func NewDeleteOperatingSystemsOK ¶
func NewDeleteOperatingSystemsOK() *DeleteOperatingSystemsOK
NewDeleteOperatingSystemsOK creates a DeleteOperatingSystemsOK with default headers values
func (*DeleteOperatingSystemsOK) Error ¶
func (o *DeleteOperatingSystemsOK) Error() string
func (*DeleteOperatingSystemsOK) GetPayload ¶
func (o *DeleteOperatingSystemsOK) GetPayload() *DeleteOperatingSystemsOKBody
type DeleteOperatingSystemsOKBody ¶
type DeleteOperatingSystemsOKBody struct { // deleted Deleted interface{} `json:"deleted,omitempty"` // id ID interface{} `json:"id,omitempty"` }
DeleteOperatingSystemsOKBody delete operating systems o k body swagger:model DeleteOperatingSystemsOKBody
func (*DeleteOperatingSystemsOKBody) MarshalBinary ¶
func (o *DeleteOperatingSystemsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOperatingSystemsOKBody) UnmarshalBinary ¶
func (o *DeleteOperatingSystemsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOperatingSystemsParams ¶
type DeleteOperatingSystemsParams struct { /*ID opearting system id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteOperatingSystemsParams contains all the parameters to send to the API endpoint for the delete operating systems operation typically these are written to a http.Request
func NewDeleteOperatingSystemsParams ¶
func NewDeleteOperatingSystemsParams() *DeleteOperatingSystemsParams
NewDeleteOperatingSystemsParams creates a new DeleteOperatingSystemsParams object with the default values initialized.
func NewDeleteOperatingSystemsParamsWithContext ¶
func NewDeleteOperatingSystemsParamsWithContext(ctx context.Context) *DeleteOperatingSystemsParams
NewDeleteOperatingSystemsParamsWithContext creates a new DeleteOperatingSystemsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteOperatingSystemsParamsWithHTTPClient ¶
func NewDeleteOperatingSystemsParamsWithHTTPClient(client *http.Client) *DeleteOperatingSystemsParams
NewDeleteOperatingSystemsParamsWithHTTPClient creates a new DeleteOperatingSystemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteOperatingSystemsParamsWithTimeout ¶
func NewDeleteOperatingSystemsParamsWithTimeout(timeout time.Duration) *DeleteOperatingSystemsParams
NewDeleteOperatingSystemsParamsWithTimeout creates a new DeleteOperatingSystemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteOperatingSystemsParams) SetContext ¶
func (o *DeleteOperatingSystemsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete operating systems params
func (*DeleteOperatingSystemsParams) SetHTTPClient ¶
func (o *DeleteOperatingSystemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete operating systems params
func (*DeleteOperatingSystemsParams) SetID ¶
func (o *DeleteOperatingSystemsParams) SetID(id int64)
SetID adds the id to the delete operating systems params
func (*DeleteOperatingSystemsParams) SetTimeout ¶
func (o *DeleteOperatingSystemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete operating systems params
func (*DeleteOperatingSystemsParams) WithContext ¶
func (o *DeleteOperatingSystemsParams) WithContext(ctx context.Context) *DeleteOperatingSystemsParams
WithContext adds the context to the delete operating systems params
func (*DeleteOperatingSystemsParams) WithHTTPClient ¶
func (o *DeleteOperatingSystemsParams) WithHTTPClient(client *http.Client) *DeleteOperatingSystemsParams
WithHTTPClient adds the HTTPClient to the delete operating systems params
func (*DeleteOperatingSystemsParams) WithID ¶
func (o *DeleteOperatingSystemsParams) WithID(id int64) *DeleteOperatingSystemsParams
WithID adds the id to the delete operating systems params
func (*DeleteOperatingSystemsParams) WithTimeout ¶
func (o *DeleteOperatingSystemsParams) WithTimeout(timeout time.Duration) *DeleteOperatingSystemsParams
WithTimeout adds the timeout to the delete operating systems params
func (*DeleteOperatingSystemsParams) WriteToRequest ¶
func (o *DeleteOperatingSystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOperatingSystemsReader ¶
type DeleteOperatingSystemsReader struct {
// contains filtered or unexported fields
}
DeleteOperatingSystemsReader is a Reader for the DeleteOperatingSystems structure.
func (*DeleteOperatingSystemsReader) ReadResponse ¶
func (o *DeleteOperatingSystemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteOperatingSystemsServiceUnavailable ¶
type DeleteOperatingSystemsServiceUnavailable struct { }
DeleteOperatingSystemsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewDeleteOperatingSystemsServiceUnavailable ¶
func NewDeleteOperatingSystemsServiceUnavailable() *DeleteOperatingSystemsServiceUnavailable
NewDeleteOperatingSystemsServiceUnavailable creates a DeleteOperatingSystemsServiceUnavailable with default headers values
func (*DeleteOperatingSystemsServiceUnavailable) Error ¶
func (o *DeleteOperatingSystemsServiceUnavailable) Error() string
type DeleteOperatingSystemsUnauthorized ¶
type DeleteOperatingSystemsUnauthorized struct { }
DeleteOperatingSystemsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewDeleteOperatingSystemsUnauthorized ¶
func NewDeleteOperatingSystemsUnauthorized() *DeleteOperatingSystemsUnauthorized
NewDeleteOperatingSystemsUnauthorized creates a DeleteOperatingSystemsUnauthorized with default headers values
func (*DeleteOperatingSystemsUnauthorized) Error ¶
func (o *DeleteOperatingSystemsUnauthorized) Error() string
type GetDeviceOsBadRequest ¶
type GetDeviceOsBadRequest struct { }
GetDeviceOsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetDeviceOsBadRequest ¶
func NewGetDeviceOsBadRequest() *GetDeviceOsBadRequest
NewGetDeviceOsBadRequest creates a GetDeviceOsBadRequest with default headers values
func (*GetDeviceOsBadRequest) Error ¶
func (o *GetDeviceOsBadRequest) Error() string
type GetDeviceOsForbidden ¶
type GetDeviceOsForbidden struct { }
GetDeviceOsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetDeviceOsForbidden ¶
func NewGetDeviceOsForbidden() *GetDeviceOsForbidden
NewGetDeviceOsForbidden creates a GetDeviceOsForbidden with default headers values
func (*GetDeviceOsForbidden) Error ¶
func (o *GetDeviceOsForbidden) Error() string
type GetDeviceOsGone ¶
type GetDeviceOsGone struct { }
GetDeviceOsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetDeviceOsGone ¶
func NewGetDeviceOsGone() *GetDeviceOsGone
NewGetDeviceOsGone creates a GetDeviceOsGone with default headers values
func (*GetDeviceOsGone) Error ¶
func (o *GetDeviceOsGone) Error() string
type GetDeviceOsInternalServerError ¶
type GetDeviceOsInternalServerError struct { }
GetDeviceOsInternalServerError 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 NewGetDeviceOsInternalServerError ¶
func NewGetDeviceOsInternalServerError() *GetDeviceOsInternalServerError
NewGetDeviceOsInternalServerError creates a GetDeviceOsInternalServerError with default headers values
func (*GetDeviceOsInternalServerError) Error ¶
func (o *GetDeviceOsInternalServerError) Error() string
type GetDeviceOsMethodNotAllowed ¶
type GetDeviceOsMethodNotAllowed struct { }
GetDeviceOsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetDeviceOsMethodNotAllowed ¶
func NewGetDeviceOsMethodNotAllowed() *GetDeviceOsMethodNotAllowed
NewGetDeviceOsMethodNotAllowed creates a GetDeviceOsMethodNotAllowed with default headers values
func (*GetDeviceOsMethodNotAllowed) Error ¶
func (o *GetDeviceOsMethodNotAllowed) Error() string
type GetDeviceOsNotFound ¶
type GetDeviceOsNotFound struct { }
GetDeviceOsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetDeviceOsNotFound ¶
func NewGetDeviceOsNotFound() *GetDeviceOsNotFound
NewGetDeviceOsNotFound creates a GetDeviceOsNotFound with default headers values
func (*GetDeviceOsNotFound) Error ¶
func (o *GetDeviceOsNotFound) Error() string
type GetDeviceOsOK ¶
type GetDeviceOsOK struct {
Payload *GetDeviceOsOKBody
}
GetDeviceOsOK handles this case with default header values.
The above command returns results like this:
func NewGetDeviceOsOK ¶
func NewGetDeviceOsOK() *GetDeviceOsOK
NewGetDeviceOsOK creates a GetDeviceOsOK with default headers values
func (*GetDeviceOsOK) Error ¶
func (o *GetDeviceOsOK) Error() string
func (*GetDeviceOsOK) GetPayload ¶
func (o *GetDeviceOsOK) GetPayload() *GetDeviceOsOKBody
type GetDeviceOsOKBody ¶
GetDeviceOsOKBody get device os o k body swagger:model GetDeviceOsOKBody
func (*GetDeviceOsOKBody) MarshalBinary ¶
func (o *GetDeviceOsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceOsOKBody) UnmarshalBinary ¶
func (o *GetDeviceOsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceOsParams ¶
type GetDeviceOsParams struct { /*Os filter by OS name (added in v8.3.0) */ Os *string /*OsID Operating system ID */ OsID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceOsParams contains all the parameters to send to the API endpoint for the get device os operation typically these are written to a http.Request
func NewGetDeviceOsParams ¶
func NewGetDeviceOsParams() *GetDeviceOsParams
NewGetDeviceOsParams creates a new GetDeviceOsParams object with the default values initialized.
func NewGetDeviceOsParamsWithContext ¶
func NewGetDeviceOsParamsWithContext(ctx context.Context) *GetDeviceOsParams
NewGetDeviceOsParamsWithContext creates a new GetDeviceOsParams object with the default values initialized, and the ability to set a context for a request
func NewGetDeviceOsParamsWithHTTPClient ¶
func NewGetDeviceOsParamsWithHTTPClient(client *http.Client) *GetDeviceOsParams
NewGetDeviceOsParamsWithHTTPClient creates a new GetDeviceOsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeviceOsParamsWithTimeout ¶
func NewGetDeviceOsParamsWithTimeout(timeout time.Duration) *GetDeviceOsParams
NewGetDeviceOsParamsWithTimeout creates a new GetDeviceOsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeviceOsParams) SetContext ¶
func (o *GetDeviceOsParams) SetContext(ctx context.Context)
SetContext adds the context to the get device os params
func (*GetDeviceOsParams) SetHTTPClient ¶
func (o *GetDeviceOsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device os params
func (*GetDeviceOsParams) SetOs ¶
func (o *GetDeviceOsParams) SetOs(os *string)
SetOs adds the os to the get device os params
func (*GetDeviceOsParams) SetOsID ¶
func (o *GetDeviceOsParams) SetOsID(osID *string)
SetOsID adds the osId to the get device os params
func (*GetDeviceOsParams) SetTimeout ¶
func (o *GetDeviceOsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device os params
func (*GetDeviceOsParams) WithContext ¶
func (o *GetDeviceOsParams) WithContext(ctx context.Context) *GetDeviceOsParams
WithContext adds the context to the get device os params
func (*GetDeviceOsParams) WithHTTPClient ¶
func (o *GetDeviceOsParams) WithHTTPClient(client *http.Client) *GetDeviceOsParams
WithHTTPClient adds the HTTPClient to the get device os params
func (*GetDeviceOsParams) WithOs ¶
func (o *GetDeviceOsParams) WithOs(os *string) *GetDeviceOsParams
WithOs adds the os to the get device os params
func (*GetDeviceOsParams) WithOsID ¶
func (o *GetDeviceOsParams) WithOsID(osID *string) *GetDeviceOsParams
WithOsID adds the osID to the get device os params
func (*GetDeviceOsParams) WithTimeout ¶
func (o *GetDeviceOsParams) WithTimeout(timeout time.Duration) *GetDeviceOsParams
WithTimeout adds the timeout to the get device os params
func (*GetDeviceOsParams) WriteToRequest ¶
func (o *GetDeviceOsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceOsReader ¶
type GetDeviceOsReader struct {
// contains filtered or unexported fields
}
GetDeviceOsReader is a Reader for the GetDeviceOs structure.
func (*GetDeviceOsReader) ReadResponse ¶
func (o *GetDeviceOsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceOsServiceUnavailable ¶
type GetDeviceOsServiceUnavailable struct { }
GetDeviceOsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetDeviceOsServiceUnavailable ¶
func NewGetDeviceOsServiceUnavailable() *GetDeviceOsServiceUnavailable
NewGetDeviceOsServiceUnavailable creates a GetDeviceOsServiceUnavailable with default headers values
func (*GetDeviceOsServiceUnavailable) Error ¶
func (o *GetDeviceOsServiceUnavailable) Error() string
type GetDeviceOsUnauthorized ¶
type GetDeviceOsUnauthorized struct { }
GetDeviceOsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetDeviceOsUnauthorized ¶
func NewGetDeviceOsUnauthorized() *GetDeviceOsUnauthorized
NewGetDeviceOsUnauthorized creates a GetDeviceOsUnauthorized with default headers values
func (*GetDeviceOsUnauthorized) Error ¶
func (o *GetDeviceOsUnauthorized) Error() string
type GetOperatingSystemsBadRequest ¶
type GetOperatingSystemsBadRequest struct { }
GetOperatingSystemsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetOperatingSystemsBadRequest ¶
func NewGetOperatingSystemsBadRequest() *GetOperatingSystemsBadRequest
NewGetOperatingSystemsBadRequest creates a GetOperatingSystemsBadRequest with default headers values
func (*GetOperatingSystemsBadRequest) Error ¶
func (o *GetOperatingSystemsBadRequest) Error() string
type GetOperatingSystemsForbidden ¶
type GetOperatingSystemsForbidden struct { }
GetOperatingSystemsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetOperatingSystemsForbidden ¶
func NewGetOperatingSystemsForbidden() *GetOperatingSystemsForbidden
NewGetOperatingSystemsForbidden creates a GetOperatingSystemsForbidden with default headers values
func (*GetOperatingSystemsForbidden) Error ¶
func (o *GetOperatingSystemsForbidden) Error() string
type GetOperatingSystemsGone ¶
type GetOperatingSystemsGone struct { }
GetOperatingSystemsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetOperatingSystemsGone ¶
func NewGetOperatingSystemsGone() *GetOperatingSystemsGone
NewGetOperatingSystemsGone creates a GetOperatingSystemsGone with default headers values
func (*GetOperatingSystemsGone) Error ¶
func (o *GetOperatingSystemsGone) Error() string
type GetOperatingSystemsInternalServerError ¶
type GetOperatingSystemsInternalServerError struct { }
GetOperatingSystemsInternalServerError 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 NewGetOperatingSystemsInternalServerError ¶
func NewGetOperatingSystemsInternalServerError() *GetOperatingSystemsInternalServerError
NewGetOperatingSystemsInternalServerError creates a GetOperatingSystemsInternalServerError with default headers values
func (*GetOperatingSystemsInternalServerError) Error ¶
func (o *GetOperatingSystemsInternalServerError) Error() string
type GetOperatingSystemsMethodNotAllowed ¶
type GetOperatingSystemsMethodNotAllowed struct { }
GetOperatingSystemsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetOperatingSystemsMethodNotAllowed ¶
func NewGetOperatingSystemsMethodNotAllowed() *GetOperatingSystemsMethodNotAllowed
NewGetOperatingSystemsMethodNotAllowed creates a GetOperatingSystemsMethodNotAllowed with default headers values
func (*GetOperatingSystemsMethodNotAllowed) Error ¶
func (o *GetOperatingSystemsMethodNotAllowed) Error() string
type GetOperatingSystemsNotFound ¶
type GetOperatingSystemsNotFound struct { }
GetOperatingSystemsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetOperatingSystemsNotFound ¶
func NewGetOperatingSystemsNotFound() *GetOperatingSystemsNotFound
NewGetOperatingSystemsNotFound creates a GetOperatingSystemsNotFound with default headers values
func (*GetOperatingSystemsNotFound) Error ¶
func (o *GetOperatingSystemsNotFound) Error() string
type GetOperatingSystemsOK ¶
type GetOperatingSystemsOK struct {
Payload *GetOperatingSystemsOKBody
}
GetOperatingSystemsOK handles this case with default header values.
The above command returns results like this:
func NewGetOperatingSystemsOK ¶
func NewGetOperatingSystemsOK() *GetOperatingSystemsOK
NewGetOperatingSystemsOK creates a GetOperatingSystemsOK with default headers values
func (*GetOperatingSystemsOK) Error ¶
func (o *GetOperatingSystemsOK) Error() string
func (*GetOperatingSystemsOK) GetPayload ¶
func (o *GetOperatingSystemsOK) GetPayload() *GetOperatingSystemsOKBody
type GetOperatingSystemsOKBody ¶
type GetOperatingSystemsOKBody struct { // operatingsystems Operatingsystems []*models.OperatingSystems `json:"operatingsystems"` }
GetOperatingSystemsOKBody get operating systems o k body swagger:model GetOperatingSystemsOKBody
func (*GetOperatingSystemsOKBody) MarshalBinary ¶
func (o *GetOperatingSystemsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOperatingSystemsOKBody) UnmarshalBinary ¶
func (o *GetOperatingSystemsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOperatingSystemsParams ¶
type GetOperatingSystemsParams struct { /*Category Filter by OS category (ie: Linux, Windows) */ Category *string /*LicensedCount Number of licensed instances of operating system */ LicensedCount *string /*NotLicensedCount Number of discovered instances of operating system not set to licensed */ NotLicensedCount *string /*TotalCount Count of IPs returned (use with offset as max results are limited to 1000) */ TotalCount *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOperatingSystemsParams contains all the parameters to send to the API endpoint for the get operating systems operation typically these are written to a http.Request
func NewGetOperatingSystemsParams ¶
func NewGetOperatingSystemsParams() *GetOperatingSystemsParams
NewGetOperatingSystemsParams creates a new GetOperatingSystemsParams object with the default values initialized.
func NewGetOperatingSystemsParamsWithContext ¶
func NewGetOperatingSystemsParamsWithContext(ctx context.Context) *GetOperatingSystemsParams
NewGetOperatingSystemsParamsWithContext creates a new GetOperatingSystemsParams object with the default values initialized, and the ability to set a context for a request
func NewGetOperatingSystemsParamsWithHTTPClient ¶
func NewGetOperatingSystemsParamsWithHTTPClient(client *http.Client) *GetOperatingSystemsParams
NewGetOperatingSystemsParamsWithHTTPClient creates a new GetOperatingSystemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOperatingSystemsParamsWithTimeout ¶
func NewGetOperatingSystemsParamsWithTimeout(timeout time.Duration) *GetOperatingSystemsParams
NewGetOperatingSystemsParamsWithTimeout creates a new GetOperatingSystemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOperatingSystemsParams) SetCategory ¶
func (o *GetOperatingSystemsParams) SetCategory(category *string)
SetCategory adds the category to the get operating systems params
func (*GetOperatingSystemsParams) SetContext ¶
func (o *GetOperatingSystemsParams) SetContext(ctx context.Context)
SetContext adds the context to the get operating systems params
func (*GetOperatingSystemsParams) SetHTTPClient ¶
func (o *GetOperatingSystemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get operating systems params
func (*GetOperatingSystemsParams) SetLicensedCount ¶
func (o *GetOperatingSystemsParams) SetLicensedCount(licensedCount *string)
SetLicensedCount adds the licensedCount to the get operating systems params
func (*GetOperatingSystemsParams) SetNotLicensedCount ¶
func (o *GetOperatingSystemsParams) SetNotLicensedCount(notLicensedCount *string)
SetNotLicensedCount adds the notLicensedCount to the get operating systems params
func (*GetOperatingSystemsParams) SetTimeout ¶
func (o *GetOperatingSystemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get operating systems params
func (*GetOperatingSystemsParams) SetTotalCount ¶
func (o *GetOperatingSystemsParams) SetTotalCount(totalCount *string)
SetTotalCount adds the totalCount to the get operating systems params
func (*GetOperatingSystemsParams) WithCategory ¶
func (o *GetOperatingSystemsParams) WithCategory(category *string) *GetOperatingSystemsParams
WithCategory adds the category to the get operating systems params
func (*GetOperatingSystemsParams) WithContext ¶
func (o *GetOperatingSystemsParams) WithContext(ctx context.Context) *GetOperatingSystemsParams
WithContext adds the context to the get operating systems params
func (*GetOperatingSystemsParams) WithHTTPClient ¶
func (o *GetOperatingSystemsParams) WithHTTPClient(client *http.Client) *GetOperatingSystemsParams
WithHTTPClient adds the HTTPClient to the get operating systems params
func (*GetOperatingSystemsParams) WithLicensedCount ¶
func (o *GetOperatingSystemsParams) WithLicensedCount(licensedCount *string) *GetOperatingSystemsParams
WithLicensedCount adds the licensedCount to the get operating systems params
func (*GetOperatingSystemsParams) WithNotLicensedCount ¶
func (o *GetOperatingSystemsParams) WithNotLicensedCount(notLicensedCount *string) *GetOperatingSystemsParams
WithNotLicensedCount adds the notLicensedCount to the get operating systems params
func (*GetOperatingSystemsParams) WithTimeout ¶
func (o *GetOperatingSystemsParams) WithTimeout(timeout time.Duration) *GetOperatingSystemsParams
WithTimeout adds the timeout to the get operating systems params
func (*GetOperatingSystemsParams) WithTotalCount ¶
func (o *GetOperatingSystemsParams) WithTotalCount(totalCount *string) *GetOperatingSystemsParams
WithTotalCount adds the totalCount to the get operating systems params
func (*GetOperatingSystemsParams) WriteToRequest ¶
func (o *GetOperatingSystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOperatingSystemsReader ¶
type GetOperatingSystemsReader struct {
// contains filtered or unexported fields
}
GetOperatingSystemsReader is a Reader for the GetOperatingSystems structure.
func (*GetOperatingSystemsReader) ReadResponse ¶
func (o *GetOperatingSystemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOperatingSystemsServiceUnavailable ¶
type GetOperatingSystemsServiceUnavailable struct { }
GetOperatingSystemsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetOperatingSystemsServiceUnavailable ¶
func NewGetOperatingSystemsServiceUnavailable() *GetOperatingSystemsServiceUnavailable
NewGetOperatingSystemsServiceUnavailable creates a GetOperatingSystemsServiceUnavailable with default headers values
func (*GetOperatingSystemsServiceUnavailable) Error ¶
func (o *GetOperatingSystemsServiceUnavailable) Error() string
type GetOperatingSystemsUnauthorized ¶
type GetOperatingSystemsUnauthorized struct { }
GetOperatingSystemsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetOperatingSystemsUnauthorized ¶
func NewGetOperatingSystemsUnauthorized() *GetOperatingSystemsUnauthorized
NewGetOperatingSystemsUnauthorized creates a GetOperatingSystemsUnauthorized with default headers values
func (*GetOperatingSystemsUnauthorized) Error ¶
func (o *GetOperatingSystemsUnauthorized) Error() string
type PostDeviceOsBadRequest ¶
type PostDeviceOsBadRequest struct { }
PostDeviceOsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPostDeviceOsBadRequest ¶
func NewPostDeviceOsBadRequest() *PostDeviceOsBadRequest
NewPostDeviceOsBadRequest creates a PostDeviceOsBadRequest with default headers values
func (*PostDeviceOsBadRequest) Error ¶
func (o *PostDeviceOsBadRequest) Error() string
type PostDeviceOsForbidden ¶
type PostDeviceOsForbidden struct { }
PostDeviceOsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPostDeviceOsForbidden ¶
func NewPostDeviceOsForbidden() *PostDeviceOsForbidden
NewPostDeviceOsForbidden creates a PostDeviceOsForbidden with default headers values
func (*PostDeviceOsForbidden) Error ¶
func (o *PostDeviceOsForbidden) Error() string
type PostDeviceOsGone ¶
type PostDeviceOsGone struct { }
PostDeviceOsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPostDeviceOsGone ¶
func NewPostDeviceOsGone() *PostDeviceOsGone
NewPostDeviceOsGone creates a PostDeviceOsGone with default headers values
func (*PostDeviceOsGone) Error ¶
func (o *PostDeviceOsGone) Error() string
type PostDeviceOsInternalServerError ¶
type PostDeviceOsInternalServerError struct { }
PostDeviceOsInternalServerError 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 NewPostDeviceOsInternalServerError ¶
func NewPostDeviceOsInternalServerError() *PostDeviceOsInternalServerError
NewPostDeviceOsInternalServerError creates a PostDeviceOsInternalServerError with default headers values
func (*PostDeviceOsInternalServerError) Error ¶
func (o *PostDeviceOsInternalServerError) Error() string
type PostDeviceOsMethodNotAllowed ¶
type PostDeviceOsMethodNotAllowed struct { }
PostDeviceOsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPostDeviceOsMethodNotAllowed ¶
func NewPostDeviceOsMethodNotAllowed() *PostDeviceOsMethodNotAllowed
NewPostDeviceOsMethodNotAllowed creates a PostDeviceOsMethodNotAllowed with default headers values
func (*PostDeviceOsMethodNotAllowed) Error ¶
func (o *PostDeviceOsMethodNotAllowed) Error() string
type PostDeviceOsNotFound ¶
type PostDeviceOsNotFound struct { }
PostDeviceOsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPostDeviceOsNotFound ¶
func NewPostDeviceOsNotFound() *PostDeviceOsNotFound
NewPostDeviceOsNotFound creates a PostDeviceOsNotFound with default headers values
func (*PostDeviceOsNotFound) Error ¶
func (o *PostDeviceOsNotFound) Error() string
type PostDeviceOsOK ¶
type PostDeviceOsOK struct {
Payload *PostDeviceOsOKBody
}
PostDeviceOsOK handles this case with default header values.
The above command returns results like this:
func NewPostDeviceOsOK ¶
func NewPostDeviceOsOK() *PostDeviceOsOK
NewPostDeviceOsOK creates a PostDeviceOsOK with default headers values
func (*PostDeviceOsOK) Error ¶
func (o *PostDeviceOsOK) Error() string
func (*PostDeviceOsOK) GetPayload ¶
func (o *PostDeviceOsOK) GetPayload() *PostDeviceOsOKBody
type PostDeviceOsOKBody ¶
type PostDeviceOsOKBody struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PostDeviceOsOKBody post device os o k body swagger:model PostDeviceOsOKBody
func (*PostDeviceOsOKBody) MarshalBinary ¶
func (o *PostDeviceOsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostDeviceOsOKBody) UnmarshalBinary ¶
func (o *PostDeviceOsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostDeviceOsParams ¶
type PostDeviceOsParams struct { /*CountInLicensing Whether or not to count OS in licensing */ CountInLicensing *string /*DeviceID ID of the device OS is assigned to */ DeviceID string /*DeviceOsID ID of specific operating system */ DeviceOsID string /*LicenseKey OS license key */ LicenseKey *string /*Os Operating system name */ Os *string /*Osver Operating system version name */ Osver *string /*Osverno Operating system version number */ Osverno *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostDeviceOsParams contains all the parameters to send to the API endpoint for the post device os operation typically these are written to a http.Request
func NewPostDeviceOsParams ¶
func NewPostDeviceOsParams() *PostDeviceOsParams
NewPostDeviceOsParams creates a new PostDeviceOsParams object with the default values initialized.
func NewPostDeviceOsParamsWithContext ¶
func NewPostDeviceOsParamsWithContext(ctx context.Context) *PostDeviceOsParams
NewPostDeviceOsParamsWithContext creates a new PostDeviceOsParams object with the default values initialized, and the ability to set a context for a request
func NewPostDeviceOsParamsWithHTTPClient ¶
func NewPostDeviceOsParamsWithHTTPClient(client *http.Client) *PostDeviceOsParams
NewPostDeviceOsParamsWithHTTPClient creates a new PostDeviceOsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostDeviceOsParamsWithTimeout ¶
func NewPostDeviceOsParamsWithTimeout(timeout time.Duration) *PostDeviceOsParams
NewPostDeviceOsParamsWithTimeout creates a new PostDeviceOsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostDeviceOsParams) SetContext ¶
func (o *PostDeviceOsParams) SetContext(ctx context.Context)
SetContext adds the context to the post device os params
func (*PostDeviceOsParams) SetCountInLicensing ¶
func (o *PostDeviceOsParams) SetCountInLicensing(countInLicensing *string)
SetCountInLicensing adds the countInLicensing to the post device os params
func (*PostDeviceOsParams) SetDeviceID ¶
func (o *PostDeviceOsParams) SetDeviceID(deviceID string)
SetDeviceID adds the deviceId to the post device os params
func (*PostDeviceOsParams) SetDeviceOsID ¶
func (o *PostDeviceOsParams) SetDeviceOsID(deviceOsID string)
SetDeviceOsID adds the deviceOsId to the post device os params
func (*PostDeviceOsParams) SetHTTPClient ¶
func (o *PostDeviceOsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post device os params
func (*PostDeviceOsParams) SetLicenseKey ¶
func (o *PostDeviceOsParams) SetLicenseKey(licenseKey *string)
SetLicenseKey adds the licenseKey to the post device os params
func (*PostDeviceOsParams) SetOs ¶
func (o *PostDeviceOsParams) SetOs(os *string)
SetOs adds the os to the post device os params
func (*PostDeviceOsParams) SetOsver ¶
func (o *PostDeviceOsParams) SetOsver(osver *string)
SetOsver adds the osver to the post device os params
func (*PostDeviceOsParams) SetOsverno ¶
func (o *PostDeviceOsParams) SetOsverno(osverno *string)
SetOsverno adds the osverno to the post device os params
func (*PostDeviceOsParams) SetTimeout ¶
func (o *PostDeviceOsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post device os params
func (*PostDeviceOsParams) WithContext ¶
func (o *PostDeviceOsParams) WithContext(ctx context.Context) *PostDeviceOsParams
WithContext adds the context to the post device os params
func (*PostDeviceOsParams) WithCountInLicensing ¶
func (o *PostDeviceOsParams) WithCountInLicensing(countInLicensing *string) *PostDeviceOsParams
WithCountInLicensing adds the countInLicensing to the post device os params
func (*PostDeviceOsParams) WithDeviceID ¶
func (o *PostDeviceOsParams) WithDeviceID(deviceID string) *PostDeviceOsParams
WithDeviceID adds the deviceID to the post device os params
func (*PostDeviceOsParams) WithDeviceOsID ¶
func (o *PostDeviceOsParams) WithDeviceOsID(deviceOsID string) *PostDeviceOsParams
WithDeviceOsID adds the deviceOsID to the post device os params
func (*PostDeviceOsParams) WithHTTPClient ¶
func (o *PostDeviceOsParams) WithHTTPClient(client *http.Client) *PostDeviceOsParams
WithHTTPClient adds the HTTPClient to the post device os params
func (*PostDeviceOsParams) WithLicenseKey ¶
func (o *PostDeviceOsParams) WithLicenseKey(licenseKey *string) *PostDeviceOsParams
WithLicenseKey adds the licenseKey to the post device os params
func (*PostDeviceOsParams) WithOs ¶
func (o *PostDeviceOsParams) WithOs(os *string) *PostDeviceOsParams
WithOs adds the os to the post device os params
func (*PostDeviceOsParams) WithOsver ¶
func (o *PostDeviceOsParams) WithOsver(osver *string) *PostDeviceOsParams
WithOsver adds the osver to the post device os params
func (*PostDeviceOsParams) WithOsverno ¶
func (o *PostDeviceOsParams) WithOsverno(osverno *string) *PostDeviceOsParams
WithOsverno adds the osverno to the post device os params
func (*PostDeviceOsParams) WithTimeout ¶
func (o *PostDeviceOsParams) WithTimeout(timeout time.Duration) *PostDeviceOsParams
WithTimeout adds the timeout to the post device os params
func (*PostDeviceOsParams) WriteToRequest ¶
func (o *PostDeviceOsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostDeviceOsReader ¶
type PostDeviceOsReader struct {
// contains filtered or unexported fields
}
PostDeviceOsReader is a Reader for the PostDeviceOs structure.
func (*PostDeviceOsReader) ReadResponse ¶
func (o *PostDeviceOsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostDeviceOsServiceUnavailable ¶
type PostDeviceOsServiceUnavailable struct { }
PostDeviceOsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPostDeviceOsServiceUnavailable ¶
func NewPostDeviceOsServiceUnavailable() *PostDeviceOsServiceUnavailable
NewPostDeviceOsServiceUnavailable creates a PostDeviceOsServiceUnavailable with default headers values
func (*PostDeviceOsServiceUnavailable) Error ¶
func (o *PostDeviceOsServiceUnavailable) Error() string
type PostDeviceOsUnauthorized ¶
type PostDeviceOsUnauthorized struct { }
PostDeviceOsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPostDeviceOsUnauthorized ¶
func NewPostDeviceOsUnauthorized() *PostDeviceOsUnauthorized
NewPostDeviceOsUnauthorized creates a PostDeviceOsUnauthorized with default headers values
func (*PostDeviceOsUnauthorized) Error ¶
func (o *PostDeviceOsUnauthorized) Error() string
type PostOperatingSystemsBadRequest ¶
type PostOperatingSystemsBadRequest struct { }
PostOperatingSystemsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPostOperatingSystemsBadRequest ¶
func NewPostOperatingSystemsBadRequest() *PostOperatingSystemsBadRequest
NewPostOperatingSystemsBadRequest creates a PostOperatingSystemsBadRequest with default headers values
func (*PostOperatingSystemsBadRequest) Error ¶
func (o *PostOperatingSystemsBadRequest) Error() string
type PostOperatingSystemsForbidden ¶
type PostOperatingSystemsForbidden struct { }
PostOperatingSystemsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPostOperatingSystemsForbidden ¶
func NewPostOperatingSystemsForbidden() *PostOperatingSystemsForbidden
NewPostOperatingSystemsForbidden creates a PostOperatingSystemsForbidden with default headers values
func (*PostOperatingSystemsForbidden) Error ¶
func (o *PostOperatingSystemsForbidden) Error() string
type PostOperatingSystemsGone ¶
type PostOperatingSystemsGone struct { }
PostOperatingSystemsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPostOperatingSystemsGone ¶
func NewPostOperatingSystemsGone() *PostOperatingSystemsGone
NewPostOperatingSystemsGone creates a PostOperatingSystemsGone with default headers values
func (*PostOperatingSystemsGone) Error ¶
func (o *PostOperatingSystemsGone) Error() string
type PostOperatingSystemsInternalServerError ¶
type PostOperatingSystemsInternalServerError struct { }
PostOperatingSystemsInternalServerError 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 NewPostOperatingSystemsInternalServerError ¶
func NewPostOperatingSystemsInternalServerError() *PostOperatingSystemsInternalServerError
NewPostOperatingSystemsInternalServerError creates a PostOperatingSystemsInternalServerError with default headers values
func (*PostOperatingSystemsInternalServerError) Error ¶
func (o *PostOperatingSystemsInternalServerError) Error() string
type PostOperatingSystemsMethodNotAllowed ¶
type PostOperatingSystemsMethodNotAllowed struct { }
PostOperatingSystemsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPostOperatingSystemsMethodNotAllowed ¶
func NewPostOperatingSystemsMethodNotAllowed() *PostOperatingSystemsMethodNotAllowed
NewPostOperatingSystemsMethodNotAllowed creates a PostOperatingSystemsMethodNotAllowed with default headers values
func (*PostOperatingSystemsMethodNotAllowed) Error ¶
func (o *PostOperatingSystemsMethodNotAllowed) Error() string
type PostOperatingSystemsNotFound ¶
type PostOperatingSystemsNotFound struct { }
PostOperatingSystemsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPostOperatingSystemsNotFound ¶
func NewPostOperatingSystemsNotFound() *PostOperatingSystemsNotFound
NewPostOperatingSystemsNotFound creates a PostOperatingSystemsNotFound with default headers values
func (*PostOperatingSystemsNotFound) Error ¶
func (o *PostOperatingSystemsNotFound) Error() string
type PostOperatingSystemsOK ¶
type PostOperatingSystemsOK struct {
Payload *PostOperatingSystemsOKBody
}
PostOperatingSystemsOK handles this case with default header values.
The above command returns results like this:
func NewPostOperatingSystemsOK ¶
func NewPostOperatingSystemsOK() *PostOperatingSystemsOK
NewPostOperatingSystemsOK creates a PostOperatingSystemsOK with default headers values
func (*PostOperatingSystemsOK) Error ¶
func (o *PostOperatingSystemsOK) Error() string
func (*PostOperatingSystemsOK) GetPayload ¶
func (o *PostOperatingSystemsOK) GetPayload() *PostOperatingSystemsOKBody
type PostOperatingSystemsOKBody ¶
type PostOperatingSystemsOKBody struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PostOperatingSystemsOKBody post operating systems o k body swagger:model PostOperatingSystemsOKBody
func (*PostOperatingSystemsOKBody) MarshalBinary ¶
func (o *PostOperatingSystemsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostOperatingSystemsOKBody) UnmarshalBinary ¶
func (o *PostOperatingSystemsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostOperatingSystemsParams ¶
type PostOperatingSystemsParams struct { /*Category 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. */ Category *string /*LicensedCount Number of licensed instances of operating system */ LicensedCount *string /*LicensingModel*/ LicensingModel *string /*Manufacturer name of the hardware/software manufacturer. */ Manufacturer *string /*Name name of the OS */ Name *string /*Notes Any additional notes */ Notes *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostOperatingSystemsParams contains all the parameters to send to the API endpoint for the post operating systems operation typically these are written to a http.Request
func NewPostOperatingSystemsParams ¶
func NewPostOperatingSystemsParams() *PostOperatingSystemsParams
NewPostOperatingSystemsParams creates a new PostOperatingSystemsParams object with the default values initialized.
func NewPostOperatingSystemsParamsWithContext ¶
func NewPostOperatingSystemsParamsWithContext(ctx context.Context) *PostOperatingSystemsParams
NewPostOperatingSystemsParamsWithContext creates a new PostOperatingSystemsParams object with the default values initialized, and the ability to set a context for a request
func NewPostOperatingSystemsParamsWithHTTPClient ¶
func NewPostOperatingSystemsParamsWithHTTPClient(client *http.Client) *PostOperatingSystemsParams
NewPostOperatingSystemsParamsWithHTTPClient creates a new PostOperatingSystemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostOperatingSystemsParamsWithTimeout ¶
func NewPostOperatingSystemsParamsWithTimeout(timeout time.Duration) *PostOperatingSystemsParams
NewPostOperatingSystemsParamsWithTimeout creates a new PostOperatingSystemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostOperatingSystemsParams) SetCategory ¶
func (o *PostOperatingSystemsParams) SetCategory(category *string)
SetCategory adds the category to the post operating systems params
func (*PostOperatingSystemsParams) SetContext ¶
func (o *PostOperatingSystemsParams) SetContext(ctx context.Context)
SetContext adds the context to the post operating systems params
func (*PostOperatingSystemsParams) SetHTTPClient ¶
func (o *PostOperatingSystemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post operating systems params
func (*PostOperatingSystemsParams) SetLicensedCount ¶
func (o *PostOperatingSystemsParams) SetLicensedCount(licensedCount *string)
SetLicensedCount adds the licensedCount to the post operating systems params
func (*PostOperatingSystemsParams) SetLicensingModel ¶
func (o *PostOperatingSystemsParams) SetLicensingModel(licensingModel *string)
SetLicensingModel adds the licensingModel to the post operating systems params
func (*PostOperatingSystemsParams) SetManufacturer ¶
func (o *PostOperatingSystemsParams) SetManufacturer(manufacturer *string)
SetManufacturer adds the manufacturer to the post operating systems params
func (*PostOperatingSystemsParams) SetName ¶
func (o *PostOperatingSystemsParams) SetName(name *string)
SetName adds the name to the post operating systems params
func (*PostOperatingSystemsParams) SetNotes ¶
func (o *PostOperatingSystemsParams) SetNotes(notes *string)
SetNotes adds the notes to the post operating systems params
func (*PostOperatingSystemsParams) SetTimeout ¶
func (o *PostOperatingSystemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post operating systems params
func (*PostOperatingSystemsParams) WithCategory ¶
func (o *PostOperatingSystemsParams) WithCategory(category *string) *PostOperatingSystemsParams
WithCategory adds the category to the post operating systems params
func (*PostOperatingSystemsParams) WithContext ¶
func (o *PostOperatingSystemsParams) WithContext(ctx context.Context) *PostOperatingSystemsParams
WithContext adds the context to the post operating systems params
func (*PostOperatingSystemsParams) WithHTTPClient ¶
func (o *PostOperatingSystemsParams) WithHTTPClient(client *http.Client) *PostOperatingSystemsParams
WithHTTPClient adds the HTTPClient to the post operating systems params
func (*PostOperatingSystemsParams) WithLicensedCount ¶
func (o *PostOperatingSystemsParams) WithLicensedCount(licensedCount *string) *PostOperatingSystemsParams
WithLicensedCount adds the licensedCount to the post operating systems params
func (*PostOperatingSystemsParams) WithLicensingModel ¶
func (o *PostOperatingSystemsParams) WithLicensingModel(licensingModel *string) *PostOperatingSystemsParams
WithLicensingModel adds the licensingModel to the post operating systems params
func (*PostOperatingSystemsParams) WithManufacturer ¶
func (o *PostOperatingSystemsParams) WithManufacturer(manufacturer *string) *PostOperatingSystemsParams
WithManufacturer adds the manufacturer to the post operating systems params
func (*PostOperatingSystemsParams) WithName ¶
func (o *PostOperatingSystemsParams) WithName(name *string) *PostOperatingSystemsParams
WithName adds the name to the post operating systems params
func (*PostOperatingSystemsParams) WithNotes ¶
func (o *PostOperatingSystemsParams) WithNotes(notes *string) *PostOperatingSystemsParams
WithNotes adds the notes to the post operating systems params
func (*PostOperatingSystemsParams) WithTimeout ¶
func (o *PostOperatingSystemsParams) WithTimeout(timeout time.Duration) *PostOperatingSystemsParams
WithTimeout adds the timeout to the post operating systems params
func (*PostOperatingSystemsParams) WriteToRequest ¶
func (o *PostOperatingSystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostOperatingSystemsReader ¶
type PostOperatingSystemsReader struct {
// contains filtered or unexported fields
}
PostOperatingSystemsReader is a Reader for the PostOperatingSystems structure.
func (*PostOperatingSystemsReader) ReadResponse ¶
func (o *PostOperatingSystemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostOperatingSystemsServiceUnavailable ¶
type PostOperatingSystemsServiceUnavailable struct { }
PostOperatingSystemsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPostOperatingSystemsServiceUnavailable ¶
func NewPostOperatingSystemsServiceUnavailable() *PostOperatingSystemsServiceUnavailable
NewPostOperatingSystemsServiceUnavailable creates a PostOperatingSystemsServiceUnavailable with default headers values
func (*PostOperatingSystemsServiceUnavailable) Error ¶
func (o *PostOperatingSystemsServiceUnavailable) Error() string
type PostOperatingSystemsUnauthorized ¶
type PostOperatingSystemsUnauthorized struct { }
PostOperatingSystemsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPostOperatingSystemsUnauthorized ¶
func NewPostOperatingSystemsUnauthorized() *PostOperatingSystemsUnauthorized
NewPostOperatingSystemsUnauthorized creates a PostOperatingSystemsUnauthorized with default headers values
func (*PostOperatingSystemsUnauthorized) Error ¶
func (o *PostOperatingSystemsUnauthorized) Error() string
Source Files ¶
- delete_device_os_parameters.go
- delete_device_os_responses.go
- delete_operating_systems_parameters.go
- delete_operating_systems_responses.go
- get_device_os_parameters.go
- get_device_os_responses.go
- get_operating_systems_parameters.go
- get_operating_systems_responses.go
- operating_systems_client.go
- post_device_os_parameters.go
- post_device_os_responses.go
- post_operating_systems_parameters.go
- post_operating_systems_responses.go