Help us shape the future of Go! Take the 2026 Go Developer Survey

software

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for software API

func (*Client) DeleteSoftwareComponent

func (a *Client) DeleteSoftwareComponent(params *DeleteSoftwareComponentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSoftwareComponentOK, error)

DeleteSoftwareComponent deletes software component

This API is used to delete the software detail with the software detail id supplied as the required argument. Note: You will only be able to delete the software if the supplied username has the correct permissions.

func (*Client) DeleteSoftwareDetail

func (a *Client) DeleteSoftwareDetail(params *DeleteSoftwareDetailParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSoftwareDetailOK, error)

DeleteSoftwareDetail deletes software detail

This API is used to delete the software detail with the software detail id supplied as the required argument. Note: You will only be able to delete the software if the supplied username has the correct permissions.

func (*Client) DeleteSoftwareLicenseKeys

func (a *Client) DeleteSoftwareLicenseKeys(params *DeleteSoftwareLicenseKeysParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSoftwareLicenseKeysOK, error)

DeleteSoftwareLicenseKeys deletes software license keys

This API is used to delete the software license key with the software license key id supplied as the required argument. Note: You will only be able to delete the software key if the supplied username has the correct permissions.

func (*Client) GetSoftwareComponentDetails

func (a *Client) GetSoftwareComponentDetails(params *GetSoftwareComponentDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSoftwareComponentDetailsOK, error)

GetSoftwareComponentDetails gets software component details

You can filter software details by following parameters in the query string

func (*Client) GetSoftwareDetails

func (a *Client) GetSoftwareDetails(params *GetSoftwareDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSoftwareDetailsOK, error)

GetSoftwareDetails Get Software details

func (*Client) GetSoftwareLicenseKeys

func (a *Client) GetSoftwareLicenseKeys(params *GetSoftwareLicenseKeysParams, authInfo runtime.ClientAuthInfoWriter) (*GetSoftwareLicenseKeysOK, error)

GetSoftwareLicenseKeys gets software license keys

You can filter software license keys by following parameters in the query string

func (*Client) PostUpdateServicePorts

func (a *Client) PostUpdateServicePorts(params *PostUpdateServicePortsParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdateServicePortsOK, error)

PostUpdateServicePorts Create / Update software details

func (*Client) PostUpdateSoftwareComponents

func (a *Client) PostUpdateSoftwareComponents(params *PostUpdateSoftwareComponentsParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdateSoftwareComponentsOK, error)

PostUpdateSoftwareComponents Create / Update Software Components. Required parameters: <ul><li>name <b>OR</b> id</li> <li>licensing_model</li> <li>software_type</li>

func (*Client) PostUpdateSoftwareLicenses

func (a *Client) PostUpdateSoftwareLicenses(params *PostUpdateSoftwareLicensesParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdateSoftwareLicensesOK, error)

PostUpdateSoftwareLicenses Create / Update Software Licenses. Required parameters: <ul><li>id <b>OR</b> software_id <b>OR</b> software_name</li>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new software API client.

type DeleteSoftwareComponentBadRequest

type DeleteSoftwareComponentBadRequest struct {
}

DeleteSoftwareComponentBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteSoftwareComponentBadRequest

func NewDeleteSoftwareComponentBadRequest() *DeleteSoftwareComponentBadRequest

NewDeleteSoftwareComponentBadRequest creates a DeleteSoftwareComponentBadRequest with default headers values

func (*DeleteSoftwareComponentBadRequest) Error

type DeleteSoftwareComponentForbidden

type DeleteSoftwareComponentForbidden struct {
}

DeleteSoftwareComponentForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteSoftwareComponentForbidden

func NewDeleteSoftwareComponentForbidden() *DeleteSoftwareComponentForbidden

NewDeleteSoftwareComponentForbidden creates a DeleteSoftwareComponentForbidden with default headers values

func (*DeleteSoftwareComponentForbidden) Error

type DeleteSoftwareComponentGone

type DeleteSoftwareComponentGone struct {
}

DeleteSoftwareComponentGone handles this case with default header values.

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

func NewDeleteSoftwareComponentGone

func NewDeleteSoftwareComponentGone() *DeleteSoftwareComponentGone

NewDeleteSoftwareComponentGone creates a DeleteSoftwareComponentGone with default headers values

func (*DeleteSoftwareComponentGone) Error

type DeleteSoftwareComponentInternalServerError

type DeleteSoftwareComponentInternalServerError struct {
}

DeleteSoftwareComponentInternalServerError 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 NewDeleteSoftwareComponentInternalServerError

func NewDeleteSoftwareComponentInternalServerError() *DeleteSoftwareComponentInternalServerError

NewDeleteSoftwareComponentInternalServerError creates a DeleteSoftwareComponentInternalServerError with default headers values

func (*DeleteSoftwareComponentInternalServerError) Error

type DeleteSoftwareComponentMethodNotAllowed

type DeleteSoftwareComponentMethodNotAllowed struct {
}

DeleteSoftwareComponentMethodNotAllowed handles this case with default header values.

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

func NewDeleteSoftwareComponentMethodNotAllowed

func NewDeleteSoftwareComponentMethodNotAllowed() *DeleteSoftwareComponentMethodNotAllowed

NewDeleteSoftwareComponentMethodNotAllowed creates a DeleteSoftwareComponentMethodNotAllowed with default headers values

func (*DeleteSoftwareComponentMethodNotAllowed) Error

type DeleteSoftwareComponentNotFound

type DeleteSoftwareComponentNotFound struct {
}

DeleteSoftwareComponentNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteSoftwareComponentNotFound

func NewDeleteSoftwareComponentNotFound() *DeleteSoftwareComponentNotFound

NewDeleteSoftwareComponentNotFound creates a DeleteSoftwareComponentNotFound with default headers values

func (*DeleteSoftwareComponentNotFound) Error

type DeleteSoftwareComponentOK

type DeleteSoftwareComponentOK struct {
	Payload *DeleteSoftwareComponentOKBody
}

DeleteSoftwareComponentOK handles this case with default header values.

The above command returns results like this:

func NewDeleteSoftwareComponentOK

func NewDeleteSoftwareComponentOK() *DeleteSoftwareComponentOK

NewDeleteSoftwareComponentOK creates a DeleteSoftwareComponentOK with default headers values

func (*DeleteSoftwareComponentOK) Error

func (o *DeleteSoftwareComponentOK) Error() string

func (*DeleteSoftwareComponentOK) GetPayload

type DeleteSoftwareComponentOKBody

type DeleteSoftwareComponentOKBody struct {

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

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

DeleteSoftwareComponentOKBody delete software component o k body swagger:model DeleteSoftwareComponentOKBody

func (*DeleteSoftwareComponentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteSoftwareComponentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteSoftwareComponentOKBody) Validate

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

Validate validates this delete software component o k body

type DeleteSoftwareComponentParams

type DeleteSoftwareComponentParams struct {

	/*ID
	  software detail id

	*/
	ID int64

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

DeleteSoftwareComponentParams contains all the parameters to send to the API endpoint for the delete software component operation typically these are written to a http.Request

func NewDeleteSoftwareComponentParams

func NewDeleteSoftwareComponentParams() *DeleteSoftwareComponentParams

NewDeleteSoftwareComponentParams creates a new DeleteSoftwareComponentParams object with the default values initialized.

func NewDeleteSoftwareComponentParamsWithContext

func NewDeleteSoftwareComponentParamsWithContext(ctx context.Context) *DeleteSoftwareComponentParams

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

func NewDeleteSoftwareComponentParamsWithHTTPClient

func NewDeleteSoftwareComponentParamsWithHTTPClient(client *http.Client) *DeleteSoftwareComponentParams

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

func NewDeleteSoftwareComponentParamsWithTimeout

func NewDeleteSoftwareComponentParamsWithTimeout(timeout time.Duration) *DeleteSoftwareComponentParams

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

func (*DeleteSoftwareComponentParams) SetContext

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

SetContext adds the context to the delete software component params

func (*DeleteSoftwareComponentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete software component params

func (*DeleteSoftwareComponentParams) SetID

func (o *DeleteSoftwareComponentParams) SetID(id int64)

SetID adds the id to the delete software component params

func (*DeleteSoftwareComponentParams) SetTimeout

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

SetTimeout adds the timeout to the delete software component params

func (*DeleteSoftwareComponentParams) WithContext

WithContext adds the context to the delete software component params

func (*DeleteSoftwareComponentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete software component params

func (*DeleteSoftwareComponentParams) WithID

WithID adds the id to the delete software component params

func (*DeleteSoftwareComponentParams) WithTimeout

WithTimeout adds the timeout to the delete software component params

func (*DeleteSoftwareComponentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSoftwareComponentReader

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

DeleteSoftwareComponentReader is a Reader for the DeleteSoftwareComponent structure.

func (*DeleteSoftwareComponentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSoftwareComponentServiceUnavailable

type DeleteSoftwareComponentServiceUnavailable struct {
}

DeleteSoftwareComponentServiceUnavailable handles this case with default header values.

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

func NewDeleteSoftwareComponentServiceUnavailable

func NewDeleteSoftwareComponentServiceUnavailable() *DeleteSoftwareComponentServiceUnavailable

NewDeleteSoftwareComponentServiceUnavailable creates a DeleteSoftwareComponentServiceUnavailable with default headers values

func (*DeleteSoftwareComponentServiceUnavailable) Error

type DeleteSoftwareComponentUnauthorized

type DeleteSoftwareComponentUnauthorized struct {
}

DeleteSoftwareComponentUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteSoftwareComponentUnauthorized

func NewDeleteSoftwareComponentUnauthorized() *DeleteSoftwareComponentUnauthorized

NewDeleteSoftwareComponentUnauthorized creates a DeleteSoftwareComponentUnauthorized with default headers values

func (*DeleteSoftwareComponentUnauthorized) Error

type DeleteSoftwareDetailBadRequest

type DeleteSoftwareDetailBadRequest struct {
}

DeleteSoftwareDetailBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteSoftwareDetailBadRequest

func NewDeleteSoftwareDetailBadRequest() *DeleteSoftwareDetailBadRequest

NewDeleteSoftwareDetailBadRequest creates a DeleteSoftwareDetailBadRequest with default headers values

func (*DeleteSoftwareDetailBadRequest) Error

type DeleteSoftwareDetailForbidden

type DeleteSoftwareDetailForbidden struct {
}

DeleteSoftwareDetailForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteSoftwareDetailForbidden

func NewDeleteSoftwareDetailForbidden() *DeleteSoftwareDetailForbidden

NewDeleteSoftwareDetailForbidden creates a DeleteSoftwareDetailForbidden with default headers values

func (*DeleteSoftwareDetailForbidden) Error

type DeleteSoftwareDetailGone

type DeleteSoftwareDetailGone struct {
}

DeleteSoftwareDetailGone handles this case with default header values.

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

func NewDeleteSoftwareDetailGone

func NewDeleteSoftwareDetailGone() *DeleteSoftwareDetailGone

NewDeleteSoftwareDetailGone creates a DeleteSoftwareDetailGone with default headers values

func (*DeleteSoftwareDetailGone) Error

func (o *DeleteSoftwareDetailGone) Error() string

type DeleteSoftwareDetailInternalServerError

type DeleteSoftwareDetailInternalServerError struct {
}

DeleteSoftwareDetailInternalServerError 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 NewDeleteSoftwareDetailInternalServerError

func NewDeleteSoftwareDetailInternalServerError() *DeleteSoftwareDetailInternalServerError

NewDeleteSoftwareDetailInternalServerError creates a DeleteSoftwareDetailInternalServerError with default headers values

func (*DeleteSoftwareDetailInternalServerError) Error

type DeleteSoftwareDetailMethodNotAllowed

type DeleteSoftwareDetailMethodNotAllowed struct {
}

DeleteSoftwareDetailMethodNotAllowed handles this case with default header values.

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

func NewDeleteSoftwareDetailMethodNotAllowed

func NewDeleteSoftwareDetailMethodNotAllowed() *DeleteSoftwareDetailMethodNotAllowed

NewDeleteSoftwareDetailMethodNotAllowed creates a DeleteSoftwareDetailMethodNotAllowed with default headers values

func (*DeleteSoftwareDetailMethodNotAllowed) Error

type DeleteSoftwareDetailNotFound

type DeleteSoftwareDetailNotFound struct {
}

DeleteSoftwareDetailNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteSoftwareDetailNotFound

func NewDeleteSoftwareDetailNotFound() *DeleteSoftwareDetailNotFound

NewDeleteSoftwareDetailNotFound creates a DeleteSoftwareDetailNotFound with default headers values

func (*DeleteSoftwareDetailNotFound) Error

type DeleteSoftwareDetailOK

type DeleteSoftwareDetailOK struct {
	Payload *DeleteSoftwareDetailOKBody
}

DeleteSoftwareDetailOK handles this case with default header values.

The above command returns results like this:

func NewDeleteSoftwareDetailOK

func NewDeleteSoftwareDetailOK() *DeleteSoftwareDetailOK

NewDeleteSoftwareDetailOK creates a DeleteSoftwareDetailOK with default headers values

func (*DeleteSoftwareDetailOK) Error

func (o *DeleteSoftwareDetailOK) Error() string

func (*DeleteSoftwareDetailOK) GetPayload

type DeleteSoftwareDetailOKBody

type DeleteSoftwareDetailOKBody struct {

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

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

DeleteSoftwareDetailOKBody delete software detail o k body swagger:model DeleteSoftwareDetailOKBody

func (*DeleteSoftwareDetailOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteSoftwareDetailOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteSoftwareDetailOKBody) Validate

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

Validate validates this delete software detail o k body

type DeleteSoftwareDetailParams

type DeleteSoftwareDetailParams struct {

	/*ID
	  software detail id

	*/
	ID int64

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

DeleteSoftwareDetailParams contains all the parameters to send to the API endpoint for the delete software detail operation typically these are written to a http.Request

func NewDeleteSoftwareDetailParams

func NewDeleteSoftwareDetailParams() *DeleteSoftwareDetailParams

NewDeleteSoftwareDetailParams creates a new DeleteSoftwareDetailParams object with the default values initialized.

func NewDeleteSoftwareDetailParamsWithContext

func NewDeleteSoftwareDetailParamsWithContext(ctx context.Context) *DeleteSoftwareDetailParams

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

func NewDeleteSoftwareDetailParamsWithHTTPClient

func NewDeleteSoftwareDetailParamsWithHTTPClient(client *http.Client) *DeleteSoftwareDetailParams

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

func NewDeleteSoftwareDetailParamsWithTimeout

func NewDeleteSoftwareDetailParamsWithTimeout(timeout time.Duration) *DeleteSoftwareDetailParams

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

func (*DeleteSoftwareDetailParams) SetContext

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

SetContext adds the context to the delete software detail params

func (*DeleteSoftwareDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete software detail params

func (*DeleteSoftwareDetailParams) SetID

func (o *DeleteSoftwareDetailParams) SetID(id int64)

SetID adds the id to the delete software detail params

func (*DeleteSoftwareDetailParams) SetTimeout

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

SetTimeout adds the timeout to the delete software detail params

func (*DeleteSoftwareDetailParams) WithContext

WithContext adds the context to the delete software detail params

func (*DeleteSoftwareDetailParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete software detail params

func (*DeleteSoftwareDetailParams) WithID

WithID adds the id to the delete software detail params

func (*DeleteSoftwareDetailParams) WithTimeout

WithTimeout adds the timeout to the delete software detail params

func (*DeleteSoftwareDetailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSoftwareDetailReader

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

DeleteSoftwareDetailReader is a Reader for the DeleteSoftwareDetail structure.

func (*DeleteSoftwareDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSoftwareDetailServiceUnavailable

type DeleteSoftwareDetailServiceUnavailable struct {
}

DeleteSoftwareDetailServiceUnavailable handles this case with default header values.

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

func NewDeleteSoftwareDetailServiceUnavailable

func NewDeleteSoftwareDetailServiceUnavailable() *DeleteSoftwareDetailServiceUnavailable

NewDeleteSoftwareDetailServiceUnavailable creates a DeleteSoftwareDetailServiceUnavailable with default headers values

func (*DeleteSoftwareDetailServiceUnavailable) Error

type DeleteSoftwareDetailUnauthorized

type DeleteSoftwareDetailUnauthorized struct {
}

DeleteSoftwareDetailUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteSoftwareDetailUnauthorized

func NewDeleteSoftwareDetailUnauthorized() *DeleteSoftwareDetailUnauthorized

NewDeleteSoftwareDetailUnauthorized creates a DeleteSoftwareDetailUnauthorized with default headers values

func (*DeleteSoftwareDetailUnauthorized) Error

type DeleteSoftwareLicenseKeysBadRequest

type DeleteSoftwareLicenseKeysBadRequest struct {
}

DeleteSoftwareLicenseKeysBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteSoftwareLicenseKeysBadRequest

func NewDeleteSoftwareLicenseKeysBadRequest() *DeleteSoftwareLicenseKeysBadRequest

NewDeleteSoftwareLicenseKeysBadRequest creates a DeleteSoftwareLicenseKeysBadRequest with default headers values

func (*DeleteSoftwareLicenseKeysBadRequest) Error

type DeleteSoftwareLicenseKeysForbidden

type DeleteSoftwareLicenseKeysForbidden struct {
}

DeleteSoftwareLicenseKeysForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteSoftwareLicenseKeysForbidden

func NewDeleteSoftwareLicenseKeysForbidden() *DeleteSoftwareLicenseKeysForbidden

NewDeleteSoftwareLicenseKeysForbidden creates a DeleteSoftwareLicenseKeysForbidden with default headers values

func (*DeleteSoftwareLicenseKeysForbidden) Error

type DeleteSoftwareLicenseKeysGone

type DeleteSoftwareLicenseKeysGone struct {
}

DeleteSoftwareLicenseKeysGone handles this case with default header values.

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

func NewDeleteSoftwareLicenseKeysGone

func NewDeleteSoftwareLicenseKeysGone() *DeleteSoftwareLicenseKeysGone

NewDeleteSoftwareLicenseKeysGone creates a DeleteSoftwareLicenseKeysGone with default headers values

func (*DeleteSoftwareLicenseKeysGone) Error

type DeleteSoftwareLicenseKeysInternalServerError

type DeleteSoftwareLicenseKeysInternalServerError struct {
}

DeleteSoftwareLicenseKeysInternalServerError 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 NewDeleteSoftwareLicenseKeysInternalServerError

func NewDeleteSoftwareLicenseKeysInternalServerError() *DeleteSoftwareLicenseKeysInternalServerError

NewDeleteSoftwareLicenseKeysInternalServerError creates a DeleteSoftwareLicenseKeysInternalServerError with default headers values

func (*DeleteSoftwareLicenseKeysInternalServerError) Error

type DeleteSoftwareLicenseKeysMethodNotAllowed

type DeleteSoftwareLicenseKeysMethodNotAllowed struct {
}

DeleteSoftwareLicenseKeysMethodNotAllowed handles this case with default header values.

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

func NewDeleteSoftwareLicenseKeysMethodNotAllowed

func NewDeleteSoftwareLicenseKeysMethodNotAllowed() *DeleteSoftwareLicenseKeysMethodNotAllowed

NewDeleteSoftwareLicenseKeysMethodNotAllowed creates a DeleteSoftwareLicenseKeysMethodNotAllowed with default headers values

func (*DeleteSoftwareLicenseKeysMethodNotAllowed) Error

type DeleteSoftwareLicenseKeysNotFound

type DeleteSoftwareLicenseKeysNotFound struct {
}

DeleteSoftwareLicenseKeysNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteSoftwareLicenseKeysNotFound

func NewDeleteSoftwareLicenseKeysNotFound() *DeleteSoftwareLicenseKeysNotFound

NewDeleteSoftwareLicenseKeysNotFound creates a DeleteSoftwareLicenseKeysNotFound with default headers values

func (*DeleteSoftwareLicenseKeysNotFound) Error

type DeleteSoftwareLicenseKeysOK

type DeleteSoftwareLicenseKeysOK struct {
	Payload *DeleteSoftwareLicenseKeysOKBody
}

DeleteSoftwareLicenseKeysOK handles this case with default header values.

The above command returns results like this:

func NewDeleteSoftwareLicenseKeysOK

func NewDeleteSoftwareLicenseKeysOK() *DeleteSoftwareLicenseKeysOK

NewDeleteSoftwareLicenseKeysOK creates a DeleteSoftwareLicenseKeysOK with default headers values

func (*DeleteSoftwareLicenseKeysOK) Error

func (*DeleteSoftwareLicenseKeysOK) GetPayload

type DeleteSoftwareLicenseKeysOKBody

type DeleteSoftwareLicenseKeysOKBody struct {

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

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

DeleteSoftwareLicenseKeysOKBody delete software license keys o k body swagger:model DeleteSoftwareLicenseKeysOKBody

func (*DeleteSoftwareLicenseKeysOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteSoftwareLicenseKeysOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteSoftwareLicenseKeysOKBody) Validate

Validate validates this delete software license keys o k body

type DeleteSoftwareLicenseKeysParams

type DeleteSoftwareLicenseKeysParams struct {

	/*ID
	  software detail id

	*/
	ID int64

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

DeleteSoftwareLicenseKeysParams contains all the parameters to send to the API endpoint for the delete software license keys operation typically these are written to a http.Request

func NewDeleteSoftwareLicenseKeysParams

func NewDeleteSoftwareLicenseKeysParams() *DeleteSoftwareLicenseKeysParams

NewDeleteSoftwareLicenseKeysParams creates a new DeleteSoftwareLicenseKeysParams object with the default values initialized.

func NewDeleteSoftwareLicenseKeysParamsWithContext

func NewDeleteSoftwareLicenseKeysParamsWithContext(ctx context.Context) *DeleteSoftwareLicenseKeysParams

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

func NewDeleteSoftwareLicenseKeysParamsWithHTTPClient

func NewDeleteSoftwareLicenseKeysParamsWithHTTPClient(client *http.Client) *DeleteSoftwareLicenseKeysParams

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

func NewDeleteSoftwareLicenseKeysParamsWithTimeout

func NewDeleteSoftwareLicenseKeysParamsWithTimeout(timeout time.Duration) *DeleteSoftwareLicenseKeysParams

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

func (*DeleteSoftwareLicenseKeysParams) SetContext

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

SetContext adds the context to the delete software license keys params

func (*DeleteSoftwareLicenseKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete software license keys params

func (*DeleteSoftwareLicenseKeysParams) SetID

SetID adds the id to the delete software license keys params

func (*DeleteSoftwareLicenseKeysParams) SetTimeout

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

SetTimeout adds the timeout to the delete software license keys params

func (*DeleteSoftwareLicenseKeysParams) WithContext

WithContext adds the context to the delete software license keys params

func (*DeleteSoftwareLicenseKeysParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete software license keys params

func (*DeleteSoftwareLicenseKeysParams) WithID

WithID adds the id to the delete software license keys params

func (*DeleteSoftwareLicenseKeysParams) WithTimeout

WithTimeout adds the timeout to the delete software license keys params

func (*DeleteSoftwareLicenseKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSoftwareLicenseKeysReader

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

DeleteSoftwareLicenseKeysReader is a Reader for the DeleteSoftwareLicenseKeys structure.

func (*DeleteSoftwareLicenseKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSoftwareLicenseKeysServiceUnavailable

type DeleteSoftwareLicenseKeysServiceUnavailable struct {
}

DeleteSoftwareLicenseKeysServiceUnavailable handles this case with default header values.

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

func NewDeleteSoftwareLicenseKeysServiceUnavailable

func NewDeleteSoftwareLicenseKeysServiceUnavailable() *DeleteSoftwareLicenseKeysServiceUnavailable

NewDeleteSoftwareLicenseKeysServiceUnavailable creates a DeleteSoftwareLicenseKeysServiceUnavailable with default headers values

func (*DeleteSoftwareLicenseKeysServiceUnavailable) Error

type DeleteSoftwareLicenseKeysUnauthorized

type DeleteSoftwareLicenseKeysUnauthorized struct {
}

DeleteSoftwareLicenseKeysUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteSoftwareLicenseKeysUnauthorized

func NewDeleteSoftwareLicenseKeysUnauthorized() *DeleteSoftwareLicenseKeysUnauthorized

NewDeleteSoftwareLicenseKeysUnauthorized creates a DeleteSoftwareLicenseKeysUnauthorized with default headers values

func (*DeleteSoftwareLicenseKeysUnauthorized) Error

type GetSoftwareComponentDetailsBadRequest

type GetSoftwareComponentDetailsBadRequest struct {
}

GetSoftwareComponentDetailsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetSoftwareComponentDetailsBadRequest

func NewGetSoftwareComponentDetailsBadRequest() *GetSoftwareComponentDetailsBadRequest

NewGetSoftwareComponentDetailsBadRequest creates a GetSoftwareComponentDetailsBadRequest with default headers values

func (*GetSoftwareComponentDetailsBadRequest) Error

type GetSoftwareComponentDetailsForbidden

type GetSoftwareComponentDetailsForbidden struct {
}

GetSoftwareComponentDetailsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetSoftwareComponentDetailsForbidden

func NewGetSoftwareComponentDetailsForbidden() *GetSoftwareComponentDetailsForbidden

NewGetSoftwareComponentDetailsForbidden creates a GetSoftwareComponentDetailsForbidden with default headers values

func (*GetSoftwareComponentDetailsForbidden) Error

type GetSoftwareComponentDetailsGone

type GetSoftwareComponentDetailsGone struct {
}

GetSoftwareComponentDetailsGone handles this case with default header values.

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

func NewGetSoftwareComponentDetailsGone

func NewGetSoftwareComponentDetailsGone() *GetSoftwareComponentDetailsGone

NewGetSoftwareComponentDetailsGone creates a GetSoftwareComponentDetailsGone with default headers values

func (*GetSoftwareComponentDetailsGone) Error

type GetSoftwareComponentDetailsInternalServerError

type GetSoftwareComponentDetailsInternalServerError struct {
}

GetSoftwareComponentDetailsInternalServerError 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 NewGetSoftwareComponentDetailsInternalServerError

func NewGetSoftwareComponentDetailsInternalServerError() *GetSoftwareComponentDetailsInternalServerError

NewGetSoftwareComponentDetailsInternalServerError creates a GetSoftwareComponentDetailsInternalServerError with default headers values

func (*GetSoftwareComponentDetailsInternalServerError) Error

type GetSoftwareComponentDetailsMethodNotAllowed

type GetSoftwareComponentDetailsMethodNotAllowed struct {
}

GetSoftwareComponentDetailsMethodNotAllowed handles this case with default header values.

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

func NewGetSoftwareComponentDetailsMethodNotAllowed

func NewGetSoftwareComponentDetailsMethodNotAllowed() *GetSoftwareComponentDetailsMethodNotAllowed

NewGetSoftwareComponentDetailsMethodNotAllowed creates a GetSoftwareComponentDetailsMethodNotAllowed with default headers values

func (*GetSoftwareComponentDetailsMethodNotAllowed) Error

type GetSoftwareComponentDetailsNotFound

type GetSoftwareComponentDetailsNotFound struct {
}

GetSoftwareComponentDetailsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetSoftwareComponentDetailsNotFound

func NewGetSoftwareComponentDetailsNotFound() *GetSoftwareComponentDetailsNotFound

NewGetSoftwareComponentDetailsNotFound creates a GetSoftwareComponentDetailsNotFound with default headers values

func (*GetSoftwareComponentDetailsNotFound) Error

type GetSoftwareComponentDetailsOK

type GetSoftwareComponentDetailsOK struct {
	Payload *GetSoftwareComponentDetailsOKBody
}

GetSoftwareComponentDetailsOK handles this case with default header values.

The above command returns results like this:

func NewGetSoftwareComponentDetailsOK

func NewGetSoftwareComponentDetailsOK() *GetSoftwareComponentDetailsOK

NewGetSoftwareComponentDetailsOK creates a GetSoftwareComponentDetailsOK with default headers values

func (*GetSoftwareComponentDetailsOK) Error

func (*GetSoftwareComponentDetailsOK) GetPayload

type GetSoftwareComponentDetailsOKBody

type GetSoftwareComponentDetailsOKBody struct {

	// software
	Software []*models.GetSoftwareComponentDetails `json:"software"`

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

GetSoftwareComponentDetailsOKBody get software component details o k body swagger:model GetSoftwareComponentDetailsOKBody

func (*GetSoftwareComponentDetailsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSoftwareComponentDetailsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSoftwareComponentDetailsOKBody) Validate

Validate validates this get software component details o k body

type GetSoftwareComponentDetailsParams

type GetSoftwareComponentDetailsParams struct {

	/*Category
	  name of the category

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

	*/
	Name *string
	/*SoftwareType
	  Filter by software type (managed, unmanaged, prohibited or ignored)

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

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

	*/
	TagsAnd *string
	/*Vendor
	  Software vendor

	*/
	Vendor *string

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

GetSoftwareComponentDetailsParams contains all the parameters to send to the API endpoint for the get software component details operation typically these are written to a http.Request

func NewGetSoftwareComponentDetailsParams

func NewGetSoftwareComponentDetailsParams() *GetSoftwareComponentDetailsParams

NewGetSoftwareComponentDetailsParams creates a new GetSoftwareComponentDetailsParams object with the default values initialized.

func NewGetSoftwareComponentDetailsParamsWithContext

func NewGetSoftwareComponentDetailsParamsWithContext(ctx context.Context) *GetSoftwareComponentDetailsParams

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

func NewGetSoftwareComponentDetailsParamsWithHTTPClient

func NewGetSoftwareComponentDetailsParamsWithHTTPClient(client *http.Client) *GetSoftwareComponentDetailsParams

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

func NewGetSoftwareComponentDetailsParamsWithTimeout

func NewGetSoftwareComponentDetailsParamsWithTimeout(timeout time.Duration) *GetSoftwareComponentDetailsParams

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

func (*GetSoftwareComponentDetailsParams) SetCategory

func (o *GetSoftwareComponentDetailsParams) SetCategory(category *string)

SetCategory adds the category to the get software component details params

func (*GetSoftwareComponentDetailsParams) SetContext

SetContext adds the context to the get software component details params

func (*GetSoftwareComponentDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get software component details params

func (*GetSoftwareComponentDetailsParams) SetLicensingModel

func (o *GetSoftwareComponentDetailsParams) SetLicensingModel(licensingModel *string)

SetLicensingModel adds the licensingModel to the get software component details params

func (*GetSoftwareComponentDetailsParams) SetName

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

SetName adds the name to the get software component details params

func (*GetSoftwareComponentDetailsParams) SetSoftwareType

func (o *GetSoftwareComponentDetailsParams) SetSoftwareType(softwareType *string)

SetSoftwareType adds the softwareType to the get software component details params

func (*GetSoftwareComponentDetailsParams) SetTags

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

SetTags adds the tags to the get software component details params

func (*GetSoftwareComponentDetailsParams) SetTagsAnd

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

SetTagsAnd adds the tagsAnd to the get software component details params

func (*GetSoftwareComponentDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the get software component details params

func (*GetSoftwareComponentDetailsParams) SetVendor

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

SetVendor adds the vendor to the get software component details params

func (*GetSoftwareComponentDetailsParams) WithCategory

WithCategory adds the category to the get software component details params

func (*GetSoftwareComponentDetailsParams) WithContext

WithContext adds the context to the get software component details params

func (*GetSoftwareComponentDetailsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get software component details params

func (*GetSoftwareComponentDetailsParams) WithLicensingModel

func (o *GetSoftwareComponentDetailsParams) WithLicensingModel(licensingModel *string) *GetSoftwareComponentDetailsParams

WithLicensingModel adds the licensingModel to the get software component details params

func (*GetSoftwareComponentDetailsParams) WithName

WithName adds the name to the get software component details params

func (*GetSoftwareComponentDetailsParams) WithSoftwareType

WithSoftwareType adds the softwareType to the get software component details params

func (*GetSoftwareComponentDetailsParams) WithTags

WithTags adds the tags to the get software component details params

func (*GetSoftwareComponentDetailsParams) WithTagsAnd

WithTagsAnd adds the tagsAnd to the get software component details params

func (*GetSoftwareComponentDetailsParams) WithTimeout

WithTimeout adds the timeout to the get software component details params

func (*GetSoftwareComponentDetailsParams) WithVendor

WithVendor adds the vendor to the get software component details params

func (*GetSoftwareComponentDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSoftwareComponentDetailsReader

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

GetSoftwareComponentDetailsReader is a Reader for the GetSoftwareComponentDetails structure.

func (*GetSoftwareComponentDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSoftwareComponentDetailsServiceUnavailable

type GetSoftwareComponentDetailsServiceUnavailable struct {
}

GetSoftwareComponentDetailsServiceUnavailable handles this case with default header values.

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

func NewGetSoftwareComponentDetailsServiceUnavailable

func NewGetSoftwareComponentDetailsServiceUnavailable() *GetSoftwareComponentDetailsServiceUnavailable

NewGetSoftwareComponentDetailsServiceUnavailable creates a GetSoftwareComponentDetailsServiceUnavailable with default headers values

func (*GetSoftwareComponentDetailsServiceUnavailable) Error

type GetSoftwareComponentDetailsUnauthorized

type GetSoftwareComponentDetailsUnauthorized struct {
}

GetSoftwareComponentDetailsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetSoftwareComponentDetailsUnauthorized

func NewGetSoftwareComponentDetailsUnauthorized() *GetSoftwareComponentDetailsUnauthorized

NewGetSoftwareComponentDetailsUnauthorized creates a GetSoftwareComponentDetailsUnauthorized with default headers values

func (*GetSoftwareComponentDetailsUnauthorized) Error

type GetSoftwareDetailsBadRequest

type GetSoftwareDetailsBadRequest struct {
}

GetSoftwareDetailsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetSoftwareDetailsBadRequest

func NewGetSoftwareDetailsBadRequest() *GetSoftwareDetailsBadRequest

NewGetSoftwareDetailsBadRequest creates a GetSoftwareDetailsBadRequest with default headers values

func (*GetSoftwareDetailsBadRequest) Error

type GetSoftwareDetailsForbidden

type GetSoftwareDetailsForbidden struct {
}

GetSoftwareDetailsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetSoftwareDetailsForbidden

func NewGetSoftwareDetailsForbidden() *GetSoftwareDetailsForbidden

NewGetSoftwareDetailsForbidden creates a GetSoftwareDetailsForbidden with default headers values

func (*GetSoftwareDetailsForbidden) Error

type GetSoftwareDetailsGone

type GetSoftwareDetailsGone struct {
}

GetSoftwareDetailsGone handles this case with default header values.

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

func NewGetSoftwareDetailsGone

func NewGetSoftwareDetailsGone() *GetSoftwareDetailsGone

NewGetSoftwareDetailsGone creates a GetSoftwareDetailsGone with default headers values

func (*GetSoftwareDetailsGone) Error

func (o *GetSoftwareDetailsGone) Error() string

type GetSoftwareDetailsInternalServerError

type GetSoftwareDetailsInternalServerError struct {
}

GetSoftwareDetailsInternalServerError 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 NewGetSoftwareDetailsInternalServerError

func NewGetSoftwareDetailsInternalServerError() *GetSoftwareDetailsInternalServerError

NewGetSoftwareDetailsInternalServerError creates a GetSoftwareDetailsInternalServerError with default headers values

func (*GetSoftwareDetailsInternalServerError) Error

type GetSoftwareDetailsMethodNotAllowed

type GetSoftwareDetailsMethodNotAllowed struct {
}

GetSoftwareDetailsMethodNotAllowed handles this case with default header values.

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

func NewGetSoftwareDetailsMethodNotAllowed

func NewGetSoftwareDetailsMethodNotAllowed() *GetSoftwareDetailsMethodNotAllowed

NewGetSoftwareDetailsMethodNotAllowed creates a GetSoftwareDetailsMethodNotAllowed with default headers values

func (*GetSoftwareDetailsMethodNotAllowed) Error

type GetSoftwareDetailsNotFound

type GetSoftwareDetailsNotFound struct {
}

GetSoftwareDetailsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetSoftwareDetailsNotFound

func NewGetSoftwareDetailsNotFound() *GetSoftwareDetailsNotFound

NewGetSoftwareDetailsNotFound creates a GetSoftwareDetailsNotFound with default headers values

func (*GetSoftwareDetailsNotFound) Error

type GetSoftwareDetailsOK

type GetSoftwareDetailsOK struct {
	Payload *GetSoftwareDetailsOKBody
}

GetSoftwareDetailsOK handles this case with default header values.

The above command returns results like this:

func NewGetSoftwareDetailsOK

func NewGetSoftwareDetailsOK() *GetSoftwareDetailsOK

NewGetSoftwareDetailsOK creates a GetSoftwareDetailsOK with default headers values

func (*GetSoftwareDetailsOK) Error

func (o *GetSoftwareDetailsOK) Error() string

func (*GetSoftwareDetailsOK) GetPayload

type GetSoftwareDetailsOKBody

type GetSoftwareDetailsOKBody struct {

	// limit
	Limit interface{} `json:"limit,omitempty"`

	// offset
	Offset interface{} `json:"offset,omitempty"`

	// software details
	SoftwareDetails []*models.GetSoftwareDetails `json:"software_details"`
}

GetSoftwareDetailsOKBody get software details o k body swagger:model GetSoftwareDetailsOKBody

func (*GetSoftwareDetailsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSoftwareDetailsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSoftwareDetailsOKBody) Validate

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

Validate validates this get software details o k body

type GetSoftwareDetailsParams

type GetSoftwareDetailsParams struct {

	/*Device
	  Device name

	*/
	Device *string
	/*DeviceID
	  filter by id of device

	*/
	DeviceID *string
	/*SoftwareDetailID
	  filter by id of the software

	*/
	SoftwareDetailID *string
	/*SoftwareID
	  filter by id of the software

	*/
	SoftwareID *string

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

GetSoftwareDetailsParams contains all the parameters to send to the API endpoint for the get software details operation typically these are written to a http.Request

func NewGetSoftwareDetailsParams

func NewGetSoftwareDetailsParams() *GetSoftwareDetailsParams

NewGetSoftwareDetailsParams creates a new GetSoftwareDetailsParams object with the default values initialized.

func NewGetSoftwareDetailsParamsWithContext

func NewGetSoftwareDetailsParamsWithContext(ctx context.Context) *GetSoftwareDetailsParams

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

func NewGetSoftwareDetailsParamsWithHTTPClient

func NewGetSoftwareDetailsParamsWithHTTPClient(client *http.Client) *GetSoftwareDetailsParams

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

func NewGetSoftwareDetailsParamsWithTimeout

func NewGetSoftwareDetailsParamsWithTimeout(timeout time.Duration) *GetSoftwareDetailsParams

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

func (*GetSoftwareDetailsParams) SetContext

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

SetContext adds the context to the get software details params

func (*GetSoftwareDetailsParams) SetDevice

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

SetDevice adds the device to the get software details params

func (*GetSoftwareDetailsParams) SetDeviceID

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

SetDeviceID adds the deviceId to the get software details params

func (*GetSoftwareDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get software details params

func (*GetSoftwareDetailsParams) SetSoftwareDetailID

func (o *GetSoftwareDetailsParams) SetSoftwareDetailID(softwareDetailID *string)

SetSoftwareDetailID adds the softwareDetailId to the get software details params

func (*GetSoftwareDetailsParams) SetSoftwareID

func (o *GetSoftwareDetailsParams) SetSoftwareID(softwareID *string)

SetSoftwareID adds the softwareId to the get software details params

func (*GetSoftwareDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the get software details params

func (*GetSoftwareDetailsParams) WithContext

WithContext adds the context to the get software details params

func (*GetSoftwareDetailsParams) WithDevice

WithDevice adds the device to the get software details params

func (*GetSoftwareDetailsParams) WithDeviceID

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

WithDeviceID adds the deviceID to the get software details params

func (*GetSoftwareDetailsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get software details params

func (*GetSoftwareDetailsParams) WithSoftwareDetailID

func (o *GetSoftwareDetailsParams) WithSoftwareDetailID(softwareDetailID *string) *GetSoftwareDetailsParams

WithSoftwareDetailID adds the softwareDetailID to the get software details params

func (*GetSoftwareDetailsParams) WithSoftwareID

func (o *GetSoftwareDetailsParams) WithSoftwareID(softwareID *string) *GetSoftwareDetailsParams

WithSoftwareID adds the softwareID to the get software details params

func (*GetSoftwareDetailsParams) WithTimeout

WithTimeout adds the timeout to the get software details params

func (*GetSoftwareDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSoftwareDetailsReader

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

GetSoftwareDetailsReader is a Reader for the GetSoftwareDetails structure.

func (*GetSoftwareDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSoftwareDetailsServiceUnavailable

type GetSoftwareDetailsServiceUnavailable struct {
}

GetSoftwareDetailsServiceUnavailable handles this case with default header values.

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

func NewGetSoftwareDetailsServiceUnavailable

func NewGetSoftwareDetailsServiceUnavailable() *GetSoftwareDetailsServiceUnavailable

NewGetSoftwareDetailsServiceUnavailable creates a GetSoftwareDetailsServiceUnavailable with default headers values

func (*GetSoftwareDetailsServiceUnavailable) Error

type GetSoftwareDetailsUnauthorized

type GetSoftwareDetailsUnauthorized struct {
}

GetSoftwareDetailsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetSoftwareDetailsUnauthorized

func NewGetSoftwareDetailsUnauthorized() *GetSoftwareDetailsUnauthorized

NewGetSoftwareDetailsUnauthorized creates a GetSoftwareDetailsUnauthorized with default headers values

func (*GetSoftwareDetailsUnauthorized) Error

type GetSoftwareLicenseKeysBadRequest

type GetSoftwareLicenseKeysBadRequest struct {
}

GetSoftwareLicenseKeysBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetSoftwareLicenseKeysBadRequest

func NewGetSoftwareLicenseKeysBadRequest() *GetSoftwareLicenseKeysBadRequest

NewGetSoftwareLicenseKeysBadRequest creates a GetSoftwareLicenseKeysBadRequest with default headers values

func (*GetSoftwareLicenseKeysBadRequest) Error

type GetSoftwareLicenseKeysForbidden

type GetSoftwareLicenseKeysForbidden struct {
}

GetSoftwareLicenseKeysForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetSoftwareLicenseKeysForbidden

func NewGetSoftwareLicenseKeysForbidden() *GetSoftwareLicenseKeysForbidden

NewGetSoftwareLicenseKeysForbidden creates a GetSoftwareLicenseKeysForbidden with default headers values

func (*GetSoftwareLicenseKeysForbidden) Error

type GetSoftwareLicenseKeysGone

type GetSoftwareLicenseKeysGone struct {
}

GetSoftwareLicenseKeysGone handles this case with default header values.

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

func NewGetSoftwareLicenseKeysGone

func NewGetSoftwareLicenseKeysGone() *GetSoftwareLicenseKeysGone

NewGetSoftwareLicenseKeysGone creates a GetSoftwareLicenseKeysGone with default headers values

func (*GetSoftwareLicenseKeysGone) Error

type GetSoftwareLicenseKeysInternalServerError

type GetSoftwareLicenseKeysInternalServerError struct {
}

GetSoftwareLicenseKeysInternalServerError 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 NewGetSoftwareLicenseKeysInternalServerError

func NewGetSoftwareLicenseKeysInternalServerError() *GetSoftwareLicenseKeysInternalServerError

NewGetSoftwareLicenseKeysInternalServerError creates a GetSoftwareLicenseKeysInternalServerError with default headers values

func (*GetSoftwareLicenseKeysInternalServerError) Error

type GetSoftwareLicenseKeysMethodNotAllowed

type GetSoftwareLicenseKeysMethodNotAllowed struct {
}

GetSoftwareLicenseKeysMethodNotAllowed handles this case with default header values.

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

func NewGetSoftwareLicenseKeysMethodNotAllowed

func NewGetSoftwareLicenseKeysMethodNotAllowed() *GetSoftwareLicenseKeysMethodNotAllowed

NewGetSoftwareLicenseKeysMethodNotAllowed creates a GetSoftwareLicenseKeysMethodNotAllowed with default headers values

func (*GetSoftwareLicenseKeysMethodNotAllowed) Error

type GetSoftwareLicenseKeysNotFound

type GetSoftwareLicenseKeysNotFound struct {
}

GetSoftwareLicenseKeysNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetSoftwareLicenseKeysNotFound

func NewGetSoftwareLicenseKeysNotFound() *GetSoftwareLicenseKeysNotFound

NewGetSoftwareLicenseKeysNotFound creates a GetSoftwareLicenseKeysNotFound with default headers values

func (*GetSoftwareLicenseKeysNotFound) Error

type GetSoftwareLicenseKeysOK

type GetSoftwareLicenseKeysOK struct {
	Payload *GetSoftwareLicenseKeysOKBody
}

GetSoftwareLicenseKeysOK handles this case with default header values.

The above command returns results like this:

func NewGetSoftwareLicenseKeysOK

func NewGetSoftwareLicenseKeysOK() *GetSoftwareLicenseKeysOK

NewGetSoftwareLicenseKeysOK creates a GetSoftwareLicenseKeysOK with default headers values

func (*GetSoftwareLicenseKeysOK) Error

func (o *GetSoftwareLicenseKeysOK) Error() string

func (*GetSoftwareLicenseKeysOK) GetPayload

type GetSoftwareLicenseKeysOKBody

type GetSoftwareLicenseKeysOKBody struct {

	// software license keys
	SoftwareLicenseKeys []*models.GetSoftwareLicenseKeys `json:"software_license_keys"`
}

GetSoftwareLicenseKeysOKBody get software license keys o k body swagger:model GetSoftwareLicenseKeysOKBody

func (*GetSoftwareLicenseKeysOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSoftwareLicenseKeysOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSoftwareLicenseKeysOKBody) Validate

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

Validate validates this get software license keys o k body

type GetSoftwareLicenseKeysParams

type GetSoftwareLicenseKeysParams struct {

	/*SoftwareID
	  filter by id of the software

	*/
	SoftwareID *string
	/*SoftwareName
	  filter by name of the software component

	*/
	SoftwareName *string

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

GetSoftwareLicenseKeysParams contains all the parameters to send to the API endpoint for the get software license keys operation typically these are written to a http.Request

func NewGetSoftwareLicenseKeysParams

func NewGetSoftwareLicenseKeysParams() *GetSoftwareLicenseKeysParams

NewGetSoftwareLicenseKeysParams creates a new GetSoftwareLicenseKeysParams object with the default values initialized.

func NewGetSoftwareLicenseKeysParamsWithContext

func NewGetSoftwareLicenseKeysParamsWithContext(ctx context.Context) *GetSoftwareLicenseKeysParams

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

func NewGetSoftwareLicenseKeysParamsWithHTTPClient

func NewGetSoftwareLicenseKeysParamsWithHTTPClient(client *http.Client) *GetSoftwareLicenseKeysParams

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

func NewGetSoftwareLicenseKeysParamsWithTimeout

func NewGetSoftwareLicenseKeysParamsWithTimeout(timeout time.Duration) *GetSoftwareLicenseKeysParams

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

func (*GetSoftwareLicenseKeysParams) SetContext

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

SetContext adds the context to the get software license keys params

func (*GetSoftwareLicenseKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get software license keys params

func (*GetSoftwareLicenseKeysParams) SetSoftwareID

func (o *GetSoftwareLicenseKeysParams) SetSoftwareID(softwareID *string)

SetSoftwareID adds the softwareId to the get software license keys params

func (*GetSoftwareLicenseKeysParams) SetSoftwareName

func (o *GetSoftwareLicenseKeysParams) SetSoftwareName(softwareName *string)

SetSoftwareName adds the softwareName to the get software license keys params

func (*GetSoftwareLicenseKeysParams) SetTimeout

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

SetTimeout adds the timeout to the get software license keys params

func (*GetSoftwareLicenseKeysParams) WithContext

WithContext adds the context to the get software license keys params

func (*GetSoftwareLicenseKeysParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get software license keys params

func (*GetSoftwareLicenseKeysParams) WithSoftwareID

func (o *GetSoftwareLicenseKeysParams) WithSoftwareID(softwareID *string) *GetSoftwareLicenseKeysParams

WithSoftwareID adds the softwareID to the get software license keys params

func (*GetSoftwareLicenseKeysParams) WithSoftwareName

func (o *GetSoftwareLicenseKeysParams) WithSoftwareName(softwareName *string) *GetSoftwareLicenseKeysParams

WithSoftwareName adds the softwareName to the get software license keys params

func (*GetSoftwareLicenseKeysParams) WithTimeout

WithTimeout adds the timeout to the get software license keys params

func (*GetSoftwareLicenseKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSoftwareLicenseKeysReader

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

GetSoftwareLicenseKeysReader is a Reader for the GetSoftwareLicenseKeys structure.

func (*GetSoftwareLicenseKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSoftwareLicenseKeysServiceUnavailable

type GetSoftwareLicenseKeysServiceUnavailable struct {
}

GetSoftwareLicenseKeysServiceUnavailable handles this case with default header values.

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

func NewGetSoftwareLicenseKeysServiceUnavailable

func NewGetSoftwareLicenseKeysServiceUnavailable() *GetSoftwareLicenseKeysServiceUnavailable

NewGetSoftwareLicenseKeysServiceUnavailable creates a GetSoftwareLicenseKeysServiceUnavailable with default headers values

func (*GetSoftwareLicenseKeysServiceUnavailable) Error

type GetSoftwareLicenseKeysUnauthorized

type GetSoftwareLicenseKeysUnauthorized struct {
}

GetSoftwareLicenseKeysUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetSoftwareLicenseKeysUnauthorized

func NewGetSoftwareLicenseKeysUnauthorized() *GetSoftwareLicenseKeysUnauthorized

NewGetSoftwareLicenseKeysUnauthorized creates a GetSoftwareLicenseKeysUnauthorized with default headers values

func (*GetSoftwareLicenseKeysUnauthorized) Error

type PostUpdateServicePortsBadRequest

type PostUpdateServicePortsBadRequest struct {
}

PostUpdateServicePortsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostUpdateServicePortsBadRequest

func NewPostUpdateServicePortsBadRequest() *PostUpdateServicePortsBadRequest

NewPostUpdateServicePortsBadRequest creates a PostUpdateServicePortsBadRequest with default headers values

func (*PostUpdateServicePortsBadRequest) Error

type PostUpdateServicePortsForbidden

type PostUpdateServicePortsForbidden struct {
}

PostUpdateServicePortsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostUpdateServicePortsForbidden

func NewPostUpdateServicePortsForbidden() *PostUpdateServicePortsForbidden

NewPostUpdateServicePortsForbidden creates a PostUpdateServicePortsForbidden with default headers values

func (*PostUpdateServicePortsForbidden) Error

type PostUpdateServicePortsGone

type PostUpdateServicePortsGone struct {
}

PostUpdateServicePortsGone handles this case with default header values.

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

func NewPostUpdateServicePortsGone

func NewPostUpdateServicePortsGone() *PostUpdateServicePortsGone

NewPostUpdateServicePortsGone creates a PostUpdateServicePortsGone with default headers values

func (*PostUpdateServicePortsGone) Error

type PostUpdateServicePortsInternalServerError

type PostUpdateServicePortsInternalServerError struct {
}

PostUpdateServicePortsInternalServerError 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 NewPostUpdateServicePortsInternalServerError

func NewPostUpdateServicePortsInternalServerError() *PostUpdateServicePortsInternalServerError

NewPostUpdateServicePortsInternalServerError creates a PostUpdateServicePortsInternalServerError with default headers values

func (*PostUpdateServicePortsInternalServerError) Error

type PostUpdateServicePortsMethodNotAllowed

type PostUpdateServicePortsMethodNotAllowed struct {
}

PostUpdateServicePortsMethodNotAllowed handles this case with default header values.

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

func NewPostUpdateServicePortsMethodNotAllowed

func NewPostUpdateServicePortsMethodNotAllowed() *PostUpdateServicePortsMethodNotAllowed

NewPostUpdateServicePortsMethodNotAllowed creates a PostUpdateServicePortsMethodNotAllowed with default headers values

func (*PostUpdateServicePortsMethodNotAllowed) Error

type PostUpdateServicePortsNotFound

type PostUpdateServicePortsNotFound struct {
}

PostUpdateServicePortsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostUpdateServicePortsNotFound

func NewPostUpdateServicePortsNotFound() *PostUpdateServicePortsNotFound

NewPostUpdateServicePortsNotFound creates a PostUpdateServicePortsNotFound with default headers values

func (*PostUpdateServicePortsNotFound) Error

type PostUpdateServicePortsOK

type PostUpdateServicePortsOK struct {
	Payload *PostUpdateServicePortsOKBody
}

PostUpdateServicePortsOK handles this case with default header values.

The above command returns results like this:

func NewPostUpdateServicePortsOK

func NewPostUpdateServicePortsOK() *PostUpdateServicePortsOK

NewPostUpdateServicePortsOK creates a PostUpdateServicePortsOK with default headers values

func (*PostUpdateServicePortsOK) Error

func (o *PostUpdateServicePortsOK) Error() string

func (*PostUpdateServicePortsOK) GetPayload

type PostUpdateServicePortsOKBody

type PostUpdateServicePortsOKBody struct {

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

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

PostUpdateServicePortsOKBody post update service ports o k body swagger:model PostUpdateServicePortsOKBody

func (*PostUpdateServicePortsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostUpdateServicePortsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostUpdateServicePortsOKBody) Validate

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

Validate validates this post update service ports o k body

type PostUpdateServicePortsParams

type PostUpdateServicePortsParams struct {

	/*CountInLicensing
	  Whether or not to count OS in licensing

	*/
	CountInLicensing *string
	/*Device
	  The name of the device where this software is installed

	*/
	Device string
	/*InstallDate
	  The date that the software was installed

	*/
	InstallDate *string
	/*LicenseKey
	  OS license key

	*/
	LicenseKey *string
	/*LicenseKeyCount
	  The number of licenses this software key supports

	*/
	LicenseKeyCount *string
	/*LicenseUseCount
	  the number of licenses that are in use for this software instance

	*/
	LicenseUseCount *string
	/*Software
	  the name of the software

	*/
	Software string
	/*User
	  The user assigned to this software

	*/
	User *string
	/*Vendor
	  The vendor that created the server, linked to Organization

	*/
	Vendor *string
	/*Version
	  The version number of the software

	*/
	Version *string

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

PostUpdateServicePortsParams contains all the parameters to send to the API endpoint for the post update service ports operation typically these are written to a http.Request

func NewPostUpdateServicePortsParams

func NewPostUpdateServicePortsParams() *PostUpdateServicePortsParams

NewPostUpdateServicePortsParams creates a new PostUpdateServicePortsParams object with the default values initialized.

func NewPostUpdateServicePortsParamsWithContext

func NewPostUpdateServicePortsParamsWithContext(ctx context.Context) *PostUpdateServicePortsParams

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

func NewPostUpdateServicePortsParamsWithHTTPClient

func NewPostUpdateServicePortsParamsWithHTTPClient(client *http.Client) *PostUpdateServicePortsParams

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

func NewPostUpdateServicePortsParamsWithTimeout

func NewPostUpdateServicePortsParamsWithTimeout(timeout time.Duration) *PostUpdateServicePortsParams

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

func (*PostUpdateServicePortsParams) SetContext

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

SetContext adds the context to the post update service ports params

func (*PostUpdateServicePortsParams) SetCountInLicensing

func (o *PostUpdateServicePortsParams) SetCountInLicensing(countInLicensing *string)

SetCountInLicensing adds the countInLicensing to the post update service ports params

func (*PostUpdateServicePortsParams) SetDevice

func (o *PostUpdateServicePortsParams) SetDevice(device string)

SetDevice adds the device to the post update service ports params

func (*PostUpdateServicePortsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post update service ports params

func (*PostUpdateServicePortsParams) SetInstallDate

func (o *PostUpdateServicePortsParams) SetInstallDate(installDate *string)

SetInstallDate adds the installDate to the post update service ports params

func (*PostUpdateServicePortsParams) SetLicenseKey

func (o *PostUpdateServicePortsParams) SetLicenseKey(licenseKey *string)

SetLicenseKey adds the licenseKey to the post update service ports params

func (*PostUpdateServicePortsParams) SetLicenseKeyCount

func (o *PostUpdateServicePortsParams) SetLicenseKeyCount(licenseKeyCount *string)

SetLicenseKeyCount adds the licenseKeyCount to the post update service ports params

func (*PostUpdateServicePortsParams) SetLicenseUseCount

func (o *PostUpdateServicePortsParams) SetLicenseUseCount(licenseUseCount *string)

SetLicenseUseCount adds the licenseUseCount to the post update service ports params

func (*PostUpdateServicePortsParams) SetSoftware

func (o *PostUpdateServicePortsParams) SetSoftware(software string)

SetSoftware adds the software to the post update service ports params

func (*PostUpdateServicePortsParams) SetTimeout

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

SetTimeout adds the timeout to the post update service ports params

func (*PostUpdateServicePortsParams) SetUser

func (o *PostUpdateServicePortsParams) SetUser(user *string)

SetUser adds the user to the post update service ports params

func (*PostUpdateServicePortsParams) SetVendor

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

SetVendor adds the vendor to the post update service ports params

func (*PostUpdateServicePortsParams) SetVersion

func (o *PostUpdateServicePortsParams) SetVersion(version *string)

SetVersion adds the version to the post update service ports params

func (*PostUpdateServicePortsParams) WithContext

WithContext adds the context to the post update service ports params

func (*PostUpdateServicePortsParams) WithCountInLicensing

func (o *PostUpdateServicePortsParams) WithCountInLicensing(countInLicensing *string) *PostUpdateServicePortsParams

WithCountInLicensing adds the countInLicensing to the post update service ports params

func (*PostUpdateServicePortsParams) WithDevice

WithDevice adds the device to the post update service ports params

func (*PostUpdateServicePortsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post update service ports params

func (*PostUpdateServicePortsParams) WithInstallDate

func (o *PostUpdateServicePortsParams) WithInstallDate(installDate *string) *PostUpdateServicePortsParams

WithInstallDate adds the installDate to the post update service ports params

func (*PostUpdateServicePortsParams) WithLicenseKey

func (o *PostUpdateServicePortsParams) WithLicenseKey(licenseKey *string) *PostUpdateServicePortsParams

WithLicenseKey adds the licenseKey to the post update service ports params

func (*PostUpdateServicePortsParams) WithLicenseKeyCount

func (o *PostUpdateServicePortsParams) WithLicenseKeyCount(licenseKeyCount *string) *PostUpdateServicePortsParams

WithLicenseKeyCount adds the licenseKeyCount to the post update service ports params

func (*PostUpdateServicePortsParams) WithLicenseUseCount

func (o *PostUpdateServicePortsParams) WithLicenseUseCount(licenseUseCount *string) *PostUpdateServicePortsParams

WithLicenseUseCount adds the licenseUseCount to the post update service ports params

func (*PostUpdateServicePortsParams) WithSoftware

WithSoftware adds the software to the post update service ports params

func (*PostUpdateServicePortsParams) WithTimeout

WithTimeout adds the timeout to the post update service ports params

func (*PostUpdateServicePortsParams) WithUser

WithUser adds the user to the post update service ports params

func (*PostUpdateServicePortsParams) WithVendor

WithVendor adds the vendor to the post update service ports params

func (*PostUpdateServicePortsParams) WithVersion

WithVersion adds the version to the post update service ports params

func (*PostUpdateServicePortsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostUpdateServicePortsReader

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

PostUpdateServicePortsReader is a Reader for the PostUpdateServicePorts structure.

func (*PostUpdateServicePortsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUpdateServicePortsServiceUnavailable

type PostUpdateServicePortsServiceUnavailable struct {
}

PostUpdateServicePortsServiceUnavailable handles this case with default header values.

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

func NewPostUpdateServicePortsServiceUnavailable

func NewPostUpdateServicePortsServiceUnavailable() *PostUpdateServicePortsServiceUnavailable

NewPostUpdateServicePortsServiceUnavailable creates a PostUpdateServicePortsServiceUnavailable with default headers values

func (*PostUpdateServicePortsServiceUnavailable) Error

type PostUpdateServicePortsUnauthorized

type PostUpdateServicePortsUnauthorized struct {
}

PostUpdateServicePortsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostUpdateServicePortsUnauthorized

func NewPostUpdateServicePortsUnauthorized() *PostUpdateServicePortsUnauthorized

NewPostUpdateServicePortsUnauthorized creates a PostUpdateServicePortsUnauthorized with default headers values

func (*PostUpdateServicePortsUnauthorized) Error

type PostUpdateSoftwareComponentsBadRequest

type PostUpdateSoftwareComponentsBadRequest struct {
}

PostUpdateSoftwareComponentsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostUpdateSoftwareComponentsBadRequest

func NewPostUpdateSoftwareComponentsBadRequest() *PostUpdateSoftwareComponentsBadRequest

NewPostUpdateSoftwareComponentsBadRequest creates a PostUpdateSoftwareComponentsBadRequest with default headers values

func (*PostUpdateSoftwareComponentsBadRequest) Error

type PostUpdateSoftwareComponentsForbidden

type PostUpdateSoftwareComponentsForbidden struct {
}

PostUpdateSoftwareComponentsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostUpdateSoftwareComponentsForbidden

func NewPostUpdateSoftwareComponentsForbidden() *PostUpdateSoftwareComponentsForbidden

NewPostUpdateSoftwareComponentsForbidden creates a PostUpdateSoftwareComponentsForbidden with default headers values

func (*PostUpdateSoftwareComponentsForbidden) Error

type PostUpdateSoftwareComponentsGone

type PostUpdateSoftwareComponentsGone struct {
}

PostUpdateSoftwareComponentsGone handles this case with default header values.

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

func NewPostUpdateSoftwareComponentsGone

func NewPostUpdateSoftwareComponentsGone() *PostUpdateSoftwareComponentsGone

NewPostUpdateSoftwareComponentsGone creates a PostUpdateSoftwareComponentsGone with default headers values

func (*PostUpdateSoftwareComponentsGone) Error

type PostUpdateSoftwareComponentsInternalServerError

type PostUpdateSoftwareComponentsInternalServerError struct {
}

PostUpdateSoftwareComponentsInternalServerError 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 NewPostUpdateSoftwareComponentsInternalServerError

func NewPostUpdateSoftwareComponentsInternalServerError() *PostUpdateSoftwareComponentsInternalServerError

NewPostUpdateSoftwareComponentsInternalServerError creates a PostUpdateSoftwareComponentsInternalServerError with default headers values

func (*PostUpdateSoftwareComponentsInternalServerError) Error

type PostUpdateSoftwareComponentsMethodNotAllowed

type PostUpdateSoftwareComponentsMethodNotAllowed struct {
}

PostUpdateSoftwareComponentsMethodNotAllowed handles this case with default header values.

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

func NewPostUpdateSoftwareComponentsMethodNotAllowed

func NewPostUpdateSoftwareComponentsMethodNotAllowed() *PostUpdateSoftwareComponentsMethodNotAllowed

NewPostUpdateSoftwareComponentsMethodNotAllowed creates a PostUpdateSoftwareComponentsMethodNotAllowed with default headers values

func (*PostUpdateSoftwareComponentsMethodNotAllowed) Error

type PostUpdateSoftwareComponentsNotFound

type PostUpdateSoftwareComponentsNotFound struct {
}

PostUpdateSoftwareComponentsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostUpdateSoftwareComponentsNotFound

func NewPostUpdateSoftwareComponentsNotFound() *PostUpdateSoftwareComponentsNotFound

NewPostUpdateSoftwareComponentsNotFound creates a PostUpdateSoftwareComponentsNotFound with default headers values

func (*PostUpdateSoftwareComponentsNotFound) Error

type PostUpdateSoftwareComponentsOK

type PostUpdateSoftwareComponentsOK struct {
	Payload *PostUpdateSoftwareComponentsOKBody
}

PostUpdateSoftwareComponentsOK handles this case with default header values.

The above command returns results like this:

func NewPostUpdateSoftwareComponentsOK

func NewPostUpdateSoftwareComponentsOK() *PostUpdateSoftwareComponentsOK

NewPostUpdateSoftwareComponentsOK creates a PostUpdateSoftwareComponentsOK with default headers values

func (*PostUpdateSoftwareComponentsOK) Error

func (*PostUpdateSoftwareComponentsOK) GetPayload

type PostUpdateSoftwareComponentsOKBody

type PostUpdateSoftwareComponentsOKBody struct {

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

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

PostUpdateSoftwareComponentsOKBody post update software components o k body swagger:model PostUpdateSoftwareComponentsOKBody

func (*PostUpdateSoftwareComponentsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostUpdateSoftwareComponentsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostUpdateSoftwareComponentsOKBody) Validate

Validate validates this post update software components o k body

type PostUpdateSoftwareComponentsParams

type PostUpdateSoftwareComponentsParams struct {

	/*Aliases
	  any software aliases

	*/
	Aliases *string
	/*Category
	  Filter by user-defined software categories (new or existing)

	*/
	Category *string
	/*ID
	  The ID of the software, required if not using NAME

	*/
	ID *string
	/*LicensingModel
	  Custom models can be made via UI. Existing values include: Free, Trial, Individual - User/Perpetual, Individual - User/Subscription, Named User / Perpetual, Volume - User/Perpetual, Concurrent - User/Perpetual, Individual - Device/Perpetual, Individual - Device/Subscription, Node Locked / Perpetual, Volume - Device/Perpetual, OEM, CAL / Per Seat Device, CAL / Per Seat User, CAL / Per Server, CAL / Per Processor, CAL / Per Mailbox

	*/
	LicensingModel string
	/*Name
	  The name of the software (new or existing)

	*/
	Name *string
	/*Notes
	  Any additional notes

	*/
	Notes *string
	/*SoftwareType*/
	SoftwareType string
	/*Tags*/
	Tags *string
	/*TagsRemove
	  remove tags from component

	*/
	TagsRemove *string
	/*TrackLicensedCountByKeys
	  whether or not to track software by discovered count

	*/
	TrackLicensedCountByKeys *string
	/*Vendor
	  Software Vendor (new or existing)

	*/
	Vendor *string

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

PostUpdateSoftwareComponentsParams contains all the parameters to send to the API endpoint for the post update software components operation typically these are written to a http.Request

func NewPostUpdateSoftwareComponentsParams

func NewPostUpdateSoftwareComponentsParams() *PostUpdateSoftwareComponentsParams

NewPostUpdateSoftwareComponentsParams creates a new PostUpdateSoftwareComponentsParams object with the default values initialized.

func NewPostUpdateSoftwareComponentsParamsWithContext

func NewPostUpdateSoftwareComponentsParamsWithContext(ctx context.Context) *PostUpdateSoftwareComponentsParams

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

func NewPostUpdateSoftwareComponentsParamsWithHTTPClient

func NewPostUpdateSoftwareComponentsParamsWithHTTPClient(client *http.Client) *PostUpdateSoftwareComponentsParams

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

func NewPostUpdateSoftwareComponentsParamsWithTimeout

func NewPostUpdateSoftwareComponentsParamsWithTimeout(timeout time.Duration) *PostUpdateSoftwareComponentsParams

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

func (*PostUpdateSoftwareComponentsParams) SetAliases

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

SetAliases adds the aliases to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetCategory

func (o *PostUpdateSoftwareComponentsParams) SetCategory(category *string)

SetCategory adds the category to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetContext

SetContext adds the context to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetID

SetID adds the id to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetLicensingModel

func (o *PostUpdateSoftwareComponentsParams) SetLicensingModel(licensingModel string)

SetLicensingModel adds the licensingModel to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetName

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

SetName adds the name to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetNotes

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

SetNotes adds the notes to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetSoftwareType

func (o *PostUpdateSoftwareComponentsParams) SetSoftwareType(softwareType string)

SetSoftwareType adds the softwareType to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetTags

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

SetTags adds the tags to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetTagsRemove

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

SetTagsRemove adds the tagsRemove to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetTimeout

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

SetTimeout adds the timeout to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetTrackLicensedCountByKeys

func (o *PostUpdateSoftwareComponentsParams) SetTrackLicensedCountByKeys(trackLicensedCountByKeys *string)

SetTrackLicensedCountByKeys adds the trackLicensedCountByKeys to the post update software components params

func (*PostUpdateSoftwareComponentsParams) SetVendor

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

SetVendor adds the vendor to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithAliases

WithAliases adds the aliases to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithCategory

WithCategory adds the category to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithContext

WithContext adds the context to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithID

WithID adds the id to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithLicensingModel

func (o *PostUpdateSoftwareComponentsParams) WithLicensingModel(licensingModel string) *PostUpdateSoftwareComponentsParams

WithLicensingModel adds the licensingModel to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithName

WithName adds the name to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithNotes

WithNotes adds the notes to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithSoftwareType

WithSoftwareType adds the softwareType to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithTags

WithTags adds the tags to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithTagsRemove

WithTagsRemove adds the tagsRemove to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithTimeout

WithTimeout adds the timeout to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithTrackLicensedCountByKeys

func (o *PostUpdateSoftwareComponentsParams) WithTrackLicensedCountByKeys(trackLicensedCountByKeys *string) *PostUpdateSoftwareComponentsParams

WithTrackLicensedCountByKeys adds the trackLicensedCountByKeys to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WithVendor

WithVendor adds the vendor to the post update software components params

func (*PostUpdateSoftwareComponentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostUpdateSoftwareComponentsReader

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

PostUpdateSoftwareComponentsReader is a Reader for the PostUpdateSoftwareComponents structure.

func (*PostUpdateSoftwareComponentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUpdateSoftwareComponentsServiceUnavailable

type PostUpdateSoftwareComponentsServiceUnavailable struct {
}

PostUpdateSoftwareComponentsServiceUnavailable handles this case with default header values.

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

func NewPostUpdateSoftwareComponentsServiceUnavailable

func NewPostUpdateSoftwareComponentsServiceUnavailable() *PostUpdateSoftwareComponentsServiceUnavailable

NewPostUpdateSoftwareComponentsServiceUnavailable creates a PostUpdateSoftwareComponentsServiceUnavailable with default headers values

func (*PostUpdateSoftwareComponentsServiceUnavailable) Error

type PostUpdateSoftwareComponentsUnauthorized

type PostUpdateSoftwareComponentsUnauthorized struct {
}

PostUpdateSoftwareComponentsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostUpdateSoftwareComponentsUnauthorized

func NewPostUpdateSoftwareComponentsUnauthorized() *PostUpdateSoftwareComponentsUnauthorized

NewPostUpdateSoftwareComponentsUnauthorized creates a PostUpdateSoftwareComponentsUnauthorized with default headers values

func (*PostUpdateSoftwareComponentsUnauthorized) Error

type PostUpdateSoftwareLicensesBadRequest

type PostUpdateSoftwareLicensesBadRequest struct {
}

PostUpdateSoftwareLicensesBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostUpdateSoftwareLicensesBadRequest

func NewPostUpdateSoftwareLicensesBadRequest() *PostUpdateSoftwareLicensesBadRequest

NewPostUpdateSoftwareLicensesBadRequest creates a PostUpdateSoftwareLicensesBadRequest with default headers values

func (*PostUpdateSoftwareLicensesBadRequest) Error

type PostUpdateSoftwareLicensesForbidden

type PostUpdateSoftwareLicensesForbidden struct {
}

PostUpdateSoftwareLicensesForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostUpdateSoftwareLicensesForbidden

func NewPostUpdateSoftwareLicensesForbidden() *PostUpdateSoftwareLicensesForbidden

NewPostUpdateSoftwareLicensesForbidden creates a PostUpdateSoftwareLicensesForbidden with default headers values

func (*PostUpdateSoftwareLicensesForbidden) Error

type PostUpdateSoftwareLicensesGone

type PostUpdateSoftwareLicensesGone struct {
}

PostUpdateSoftwareLicensesGone handles this case with default header values.

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

func NewPostUpdateSoftwareLicensesGone

func NewPostUpdateSoftwareLicensesGone() *PostUpdateSoftwareLicensesGone

NewPostUpdateSoftwareLicensesGone creates a PostUpdateSoftwareLicensesGone with default headers values

func (*PostUpdateSoftwareLicensesGone) Error

type PostUpdateSoftwareLicensesInternalServerError

type PostUpdateSoftwareLicensesInternalServerError struct {
}

PostUpdateSoftwareLicensesInternalServerError 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 NewPostUpdateSoftwareLicensesInternalServerError

func NewPostUpdateSoftwareLicensesInternalServerError() *PostUpdateSoftwareLicensesInternalServerError

NewPostUpdateSoftwareLicensesInternalServerError creates a PostUpdateSoftwareLicensesInternalServerError with default headers values

func (*PostUpdateSoftwareLicensesInternalServerError) Error

type PostUpdateSoftwareLicensesMethodNotAllowed

type PostUpdateSoftwareLicensesMethodNotAllowed struct {
}

PostUpdateSoftwareLicensesMethodNotAllowed handles this case with default header values.

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

func NewPostUpdateSoftwareLicensesMethodNotAllowed

func NewPostUpdateSoftwareLicensesMethodNotAllowed() *PostUpdateSoftwareLicensesMethodNotAllowed

NewPostUpdateSoftwareLicensesMethodNotAllowed creates a PostUpdateSoftwareLicensesMethodNotAllowed with default headers values

func (*PostUpdateSoftwareLicensesMethodNotAllowed) Error

type PostUpdateSoftwareLicensesNotFound

type PostUpdateSoftwareLicensesNotFound struct {
}

PostUpdateSoftwareLicensesNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostUpdateSoftwareLicensesNotFound

func NewPostUpdateSoftwareLicensesNotFound() *PostUpdateSoftwareLicensesNotFound

NewPostUpdateSoftwareLicensesNotFound creates a PostUpdateSoftwareLicensesNotFound with default headers values

func (*PostUpdateSoftwareLicensesNotFound) Error

type PostUpdateSoftwareLicensesOK

type PostUpdateSoftwareLicensesOK struct {
	Payload *PostUpdateSoftwareLicensesOKBody
}

PostUpdateSoftwareLicensesOK handles this case with default header values.

The above command returns results like this:

func NewPostUpdateSoftwareLicensesOK

func NewPostUpdateSoftwareLicensesOK() *PostUpdateSoftwareLicensesOK

NewPostUpdateSoftwareLicensesOK creates a PostUpdateSoftwareLicensesOK with default headers values

func (*PostUpdateSoftwareLicensesOK) Error

func (*PostUpdateSoftwareLicensesOK) GetPayload

type PostUpdateSoftwareLicensesOKBody

type PostUpdateSoftwareLicensesOKBody struct {

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

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

PostUpdateSoftwareLicensesOKBody post update software licenses o k body swagger:model PostUpdateSoftwareLicensesOKBody

func (*PostUpdateSoftwareLicensesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostUpdateSoftwareLicensesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostUpdateSoftwareLicensesOKBody) Validate

Validate validates this post update software licenses o k body

type PostUpdateSoftwareLicensesParams

type PostUpdateSoftwareLicensesParams struct {

	/*ID
	  The ID of the software_license_key object (use if updating)

	*/
	ID *string
	/*Key
	  software license key

	*/
	Key *string
	/*SoftwareID
	  The id of the software component

	*/
	SoftwareID *string
	/*SoftwareName
	  software component name

	*/
	SoftwareName *string

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

PostUpdateSoftwareLicensesParams contains all the parameters to send to the API endpoint for the post update software licenses operation typically these are written to a http.Request

func NewPostUpdateSoftwareLicensesParams

func NewPostUpdateSoftwareLicensesParams() *PostUpdateSoftwareLicensesParams

NewPostUpdateSoftwareLicensesParams creates a new PostUpdateSoftwareLicensesParams object with the default values initialized.

func NewPostUpdateSoftwareLicensesParamsWithContext

func NewPostUpdateSoftwareLicensesParamsWithContext(ctx context.Context) *PostUpdateSoftwareLicensesParams

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

func NewPostUpdateSoftwareLicensesParamsWithHTTPClient

func NewPostUpdateSoftwareLicensesParamsWithHTTPClient(client *http.Client) *PostUpdateSoftwareLicensesParams

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

func NewPostUpdateSoftwareLicensesParamsWithTimeout

func NewPostUpdateSoftwareLicensesParamsWithTimeout(timeout time.Duration) *PostUpdateSoftwareLicensesParams

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

func (*PostUpdateSoftwareLicensesParams) SetContext

SetContext adds the context to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) SetID

SetID adds the id to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) SetKey

func (o *PostUpdateSoftwareLicensesParams) SetKey(key *string)

SetKey adds the key to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) SetSoftwareID

func (o *PostUpdateSoftwareLicensesParams) SetSoftwareID(softwareID *string)

SetSoftwareID adds the softwareId to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) SetSoftwareName

func (o *PostUpdateSoftwareLicensesParams) SetSoftwareName(softwareName *string)

SetSoftwareName adds the softwareName to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) SetTimeout

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

SetTimeout adds the timeout to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) WithContext

WithContext adds the context to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) WithID

WithID adds the id to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) WithKey

WithKey adds the key to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) WithSoftwareID

WithSoftwareID adds the softwareID to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) WithSoftwareName

func (o *PostUpdateSoftwareLicensesParams) WithSoftwareName(softwareName *string) *PostUpdateSoftwareLicensesParams

WithSoftwareName adds the softwareName to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) WithTimeout

WithTimeout adds the timeout to the post update software licenses params

func (*PostUpdateSoftwareLicensesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostUpdateSoftwareLicensesReader

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

PostUpdateSoftwareLicensesReader is a Reader for the PostUpdateSoftwareLicenses structure.

func (*PostUpdateSoftwareLicensesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUpdateSoftwareLicensesServiceUnavailable

type PostUpdateSoftwareLicensesServiceUnavailable struct {
}

PostUpdateSoftwareLicensesServiceUnavailable handles this case with default header values.

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

func NewPostUpdateSoftwareLicensesServiceUnavailable

func NewPostUpdateSoftwareLicensesServiceUnavailable() *PostUpdateSoftwareLicensesServiceUnavailable

NewPostUpdateSoftwareLicensesServiceUnavailable creates a PostUpdateSoftwareLicensesServiceUnavailable with default headers values

func (*PostUpdateSoftwareLicensesServiceUnavailable) Error

type PostUpdateSoftwareLicensesUnauthorized

type PostUpdateSoftwareLicensesUnauthorized struct {
}

PostUpdateSoftwareLicensesUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostUpdateSoftwareLicensesUnauthorized

func NewPostUpdateSoftwareLicensesUnauthorized() *PostUpdateSoftwareLicensesUnauthorized

NewPostUpdateSoftwareLicensesUnauthorized creates a PostUpdateSoftwareLicensesUnauthorized with default headers values

func (*PostUpdateSoftwareLicensesUnauthorized) Error

Jump to

Keyboard shortcuts

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