hosts

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 11 Imported by: 4

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 hosts API

func (*Client) GetDeviceDetails

func (a *Client) GetDeviceDetails(params *GetDeviceDetailsParams, opts ...ClientOption) (*GetDeviceDetailsOK, error)

GetDeviceDetails gets details on one or more hosts by providing agent i ds a ID you can get a host s agent i ds a i ds from the devices queries devices v1 endpoint the falcon console or the streaming API

func (*Client) PerformActionV2

func (a *Client) PerformActionV2(params *PerformActionV2Params, opts ...ClientOption) (*PerformActionV2Accepted, error)

PerformActionV2 takes various actions on the hosts in your environment contain or lift containment on a host delete or restore a host

func (*Client) QueryDevicesByFilter

func (a *Client) QueryDevicesByFilter(params *QueryDevicesByFilterParams, opts ...ClientOption) (*QueryDevicesByFilterOK, error)

QueryDevicesByFilter searches for hosts in your environment by platform hostname IP and other criteria

func (*Client) QueryDevicesByFilterScroll

func (a *Client) QueryDevicesByFilterScroll(params *QueryDevicesByFilterScrollParams, opts ...ClientOption) (*QueryDevicesByFilterScrollOK, error)

QueryDevicesByFilterScroll searches for hosts in your environment by platform hostname IP and other criteria with continuous pagination capability based on offset pointer which expires after 2 minutes with no maximum limit

func (*Client) QueryHiddenDevices

func (a *Client) QueryHiddenDevices(params *QueryHiddenDevicesParams, opts ...ClientOption) (*QueryHiddenDevicesOK, error)

QueryHiddenDevices retrieves hidden hosts that match the provided filter criteria

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDeviceTags

func (a *Client) UpdateDeviceTags(params *UpdateDeviceTagsParams, opts ...ClientOption) (*UpdateDeviceTagsOK, error)

UpdateDeviceTags appends or remove one or more falcon grouping tags on one or more hosts

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetDeviceDetails(params *GetDeviceDetailsParams, opts ...ClientOption) (*GetDeviceDetailsOK, error)

	PerformActionV2(params *PerformActionV2Params, opts ...ClientOption) (*PerformActionV2Accepted, error)

	QueryDevicesByFilter(params *QueryDevicesByFilterParams, opts ...ClientOption) (*QueryDevicesByFilterOK, error)

	QueryDevicesByFilterScroll(params *QueryDevicesByFilterScrollParams, opts ...ClientOption) (*QueryDevicesByFilterScrollOK, error)

	QueryHiddenDevices(params *QueryHiddenDevicesParams, opts ...ClientOption) (*QueryHiddenDevicesOK, error)

	UpdateDeviceTags(params *UpdateDeviceTagsParams, opts ...ClientOption) (*UpdateDeviceTagsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new hosts API client.

type GetDeviceDetailsDefault

type GetDeviceDetailsDefault struct {
	Payload *models.DomainDeviceDetailsResponseSwagger
	// contains filtered or unexported fields
}
GetDeviceDetailsDefault describes a response with status code -1, with default header values.

OK

func NewGetDeviceDetailsDefault

func NewGetDeviceDetailsDefault(code int) *GetDeviceDetailsDefault

NewGetDeviceDetailsDefault creates a GetDeviceDetailsDefault with default headers values

func (*GetDeviceDetailsDefault) Code

func (o *GetDeviceDetailsDefault) Code() int

Code gets the status code for the get device details default response

func (*GetDeviceDetailsDefault) Error

func (o *GetDeviceDetailsDefault) Error() string

func (*GetDeviceDetailsDefault) GetPayload

type GetDeviceDetailsForbidden

type GetDeviceDetailsForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}
GetDeviceDetailsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDeviceDetailsForbidden

func NewGetDeviceDetailsForbidden() *GetDeviceDetailsForbidden

NewGetDeviceDetailsForbidden creates a GetDeviceDetailsForbidden with default headers values

func (*GetDeviceDetailsForbidden) Error

func (o *GetDeviceDetailsForbidden) Error() string

func (*GetDeviceDetailsForbidden) GetPayload

type GetDeviceDetailsOK

type GetDeviceDetailsOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.DomainDeviceDetailsResponseSwagger
}
GetDeviceDetailsOK describes a response with status code 200, with default header values.

OK

func NewGetDeviceDetailsOK

func NewGetDeviceDetailsOK() *GetDeviceDetailsOK

NewGetDeviceDetailsOK creates a GetDeviceDetailsOK with default headers values

func (*GetDeviceDetailsOK) Error

func (o *GetDeviceDetailsOK) Error() string

func (*GetDeviceDetailsOK) GetPayload

type GetDeviceDetailsParams

type GetDeviceDetailsParams struct {

	/* Ids.

	   The host agentIDs used to get details on
	*/
	Ids []string

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

GetDeviceDetailsParams contains all the parameters to send to the API endpoint

for the get device details operation.

Typically these are written to a http.Request.

func NewGetDeviceDetailsParams

func NewGetDeviceDetailsParams() *GetDeviceDetailsParams

NewGetDeviceDetailsParams creates a new GetDeviceDetailsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceDetailsParamsWithContext

func NewGetDeviceDetailsParamsWithContext(ctx context.Context) *GetDeviceDetailsParams

NewGetDeviceDetailsParamsWithContext creates a new GetDeviceDetailsParams object with the ability to set a context for a request.

func NewGetDeviceDetailsParamsWithHTTPClient

func NewGetDeviceDetailsParamsWithHTTPClient(client *http.Client) *GetDeviceDetailsParams

NewGetDeviceDetailsParamsWithHTTPClient creates a new GetDeviceDetailsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceDetailsParamsWithTimeout

func NewGetDeviceDetailsParamsWithTimeout(timeout time.Duration) *GetDeviceDetailsParams

NewGetDeviceDetailsParamsWithTimeout creates a new GetDeviceDetailsParams object with the ability to set a timeout on a request.

func (*GetDeviceDetailsParams) SetContext

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

SetContext adds the context to the get device details params

func (*GetDeviceDetailsParams) SetDefaults

func (o *GetDeviceDetailsParams) SetDefaults()

SetDefaults hydrates default values in the get device details params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get device details params

func (*GetDeviceDetailsParams) SetIds

func (o *GetDeviceDetailsParams) SetIds(ids []string)

SetIds adds the ids to the get device details params

func (*GetDeviceDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the get device details params

func (*GetDeviceDetailsParams) WithContext

WithContext adds the context to the get device details params

func (*GetDeviceDetailsParams) WithDefaults

WithDefaults hydrates default values in the get device details params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceDetailsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get device details params

func (*GetDeviceDetailsParams) WithIds

WithIds adds the ids to the get device details params

func (*GetDeviceDetailsParams) WithTimeout

WithTimeout adds the timeout to the get device details params

func (*GetDeviceDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceDetailsReader

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

GetDeviceDetailsReader is a Reader for the GetDeviceDetails structure.

func (*GetDeviceDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeviceDetailsTooManyRequests

type GetDeviceDetailsTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}
GetDeviceDetailsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetDeviceDetailsTooManyRequests

func NewGetDeviceDetailsTooManyRequests() *GetDeviceDetailsTooManyRequests

NewGetDeviceDetailsTooManyRequests creates a GetDeviceDetailsTooManyRequests with default headers values

func (*GetDeviceDetailsTooManyRequests) Error

func (*GetDeviceDetailsTooManyRequests) GetPayload

type PerformActionV2Accepted

type PerformActionV2Accepted struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyAffectedEntities
}
PerformActionV2Accepted describes a response with status code 202, with default header values.

Accepted

func NewPerformActionV2Accepted

func NewPerformActionV2Accepted() *PerformActionV2Accepted

NewPerformActionV2Accepted creates a PerformActionV2Accepted with default headers values

func (*PerformActionV2Accepted) Error

func (o *PerformActionV2Accepted) Error() string

func (*PerformActionV2Accepted) GetPayload

type PerformActionV2BadRequest

type PerformActionV2BadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyAffectedEntities
}
PerformActionV2BadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPerformActionV2BadRequest

func NewPerformActionV2BadRequest() *PerformActionV2BadRequest

NewPerformActionV2BadRequest creates a PerformActionV2BadRequest with default headers values

func (*PerformActionV2BadRequest) Error

func (o *PerformActionV2BadRequest) Error() string

func (*PerformActionV2BadRequest) GetPayload

type PerformActionV2Conflict

type PerformActionV2Conflict struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyAffectedEntities
}
PerformActionV2Conflict describes a response with status code 409, with default header values.

Conflict

func NewPerformActionV2Conflict

func NewPerformActionV2Conflict() *PerformActionV2Conflict

NewPerformActionV2Conflict creates a PerformActionV2Conflict with default headers values

func (*PerformActionV2Conflict) Error

func (o *PerformActionV2Conflict) Error() string

func (*PerformActionV2Conflict) GetPayload

type PerformActionV2Forbidden

type PerformActionV2Forbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}
PerformActionV2Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewPerformActionV2Forbidden

func NewPerformActionV2Forbidden() *PerformActionV2Forbidden

NewPerformActionV2Forbidden creates a PerformActionV2Forbidden with default headers values

func (*PerformActionV2Forbidden) Error

func (o *PerformActionV2Forbidden) Error() string

func (*PerformActionV2Forbidden) GetPayload

type PerformActionV2InternalServerError

type PerformActionV2InternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyAffectedEntities
}
PerformActionV2InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPerformActionV2InternalServerError

func NewPerformActionV2InternalServerError() *PerformActionV2InternalServerError

NewPerformActionV2InternalServerError creates a PerformActionV2InternalServerError with default headers values

func (*PerformActionV2InternalServerError) Error

func (*PerformActionV2InternalServerError) GetPayload

type PerformActionV2Params

type PerformActionV2Params struct {

	/* ActionName.

	     Specify one of these actions:

	- `contain` - This action contains the host, which stops any network communications to locations other than the CrowdStrike cloud and IPs specified in your [containment policy](https://falcon.crowdstrike.com/support/documentation/11/getting-started-guide#containmentpolicy)
	- `lift_containment`: This action lifts containment on the host, which returns its network communications to normal
	- `hide_host`: This action will delete a host. After the host is deleted, no new detections for that host will be reported via UI or APIs
	- `unhide_host`: This action will restore a host. Detection reporting will resume after the host is restored
	*/
	ActionName string

	/* Body.

	     The host agent ID (AID) of the host you want to contain. Get an agent ID from a detection, the Falcon console, or the Streaming API.

	Provide the ID in JSON format with the key `ids` and the value in square brackets, such as:

	`"ids": ["123456789"]`
	*/
	Body *models.MsaEntityActionRequestV2

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

PerformActionV2Params contains all the parameters to send to the API endpoint

for the perform action v2 operation.

Typically these are written to a http.Request.

func NewPerformActionV2Params

func NewPerformActionV2Params() *PerformActionV2Params

NewPerformActionV2Params creates a new PerformActionV2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPerformActionV2ParamsWithContext

func NewPerformActionV2ParamsWithContext(ctx context.Context) *PerformActionV2Params

NewPerformActionV2ParamsWithContext creates a new PerformActionV2Params object with the ability to set a context for a request.

func NewPerformActionV2ParamsWithHTTPClient

func NewPerformActionV2ParamsWithHTTPClient(client *http.Client) *PerformActionV2Params

NewPerformActionV2ParamsWithHTTPClient creates a new PerformActionV2Params object with the ability to set a custom HTTPClient for a request.

func NewPerformActionV2ParamsWithTimeout

func NewPerformActionV2ParamsWithTimeout(timeout time.Duration) *PerformActionV2Params

NewPerformActionV2ParamsWithTimeout creates a new PerformActionV2Params object with the ability to set a timeout on a request.

func (*PerformActionV2Params) SetActionName

func (o *PerformActionV2Params) SetActionName(actionName string)

SetActionName adds the actionName to the perform action v2 params

func (*PerformActionV2Params) SetBody

SetBody adds the body to the perform action v2 params

func (*PerformActionV2Params) SetContext

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

SetContext adds the context to the perform action v2 params

func (*PerformActionV2Params) SetDefaults

func (o *PerformActionV2Params) SetDefaults()

SetDefaults hydrates default values in the perform action v2 params (not the query body).

All values with no default are reset to their zero value.

func (*PerformActionV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the perform action v2 params

func (*PerformActionV2Params) SetTimeout

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

SetTimeout adds the timeout to the perform action v2 params

func (*PerformActionV2Params) WithActionName

func (o *PerformActionV2Params) WithActionName(actionName string) *PerformActionV2Params

WithActionName adds the actionName to the perform action v2 params

func (*PerformActionV2Params) WithBody

WithBody adds the body to the perform action v2 params

func (*PerformActionV2Params) WithContext

WithContext adds the context to the perform action v2 params

func (*PerformActionV2Params) WithDefaults

func (o *PerformActionV2Params) WithDefaults() *PerformActionV2Params

WithDefaults hydrates default values in the perform action v2 params (not the query body).

All values with no default are reset to their zero value.

func (*PerformActionV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the perform action v2 params

func (*PerformActionV2Params) WithTimeout

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

WithTimeout adds the timeout to the perform action v2 params

func (*PerformActionV2Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PerformActionV2Reader

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

PerformActionV2Reader is a Reader for the PerformActionV2 structure.

func (*PerformActionV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PerformActionV2TooManyRequests

type PerformActionV2TooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}
PerformActionV2TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewPerformActionV2TooManyRequests

func NewPerformActionV2TooManyRequests() *PerformActionV2TooManyRequests

NewPerformActionV2TooManyRequests creates a PerformActionV2TooManyRequests with default headers values

func (*PerformActionV2TooManyRequests) Error

func (*PerformActionV2TooManyRequests) GetPayload

type QueryDevicesByFilterDefault

type QueryDevicesByFilterDefault struct {
	Payload *models.MsaQueryResponse
	// contains filtered or unexported fields
}
QueryDevicesByFilterDefault describes a response with status code -1, with default header values.

OK

func NewQueryDevicesByFilterDefault

func NewQueryDevicesByFilterDefault(code int) *QueryDevicesByFilterDefault

NewQueryDevicesByFilterDefault creates a QueryDevicesByFilterDefault with default headers values

func (*QueryDevicesByFilterDefault) Code

func (o *QueryDevicesByFilterDefault) Code() int

Code gets the status code for the query devices by filter default response

func (*QueryDevicesByFilterDefault) Error

func (*QueryDevicesByFilterDefault) GetPayload

type QueryDevicesByFilterForbidden

type QueryDevicesByFilterForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}
QueryDevicesByFilterForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryDevicesByFilterForbidden

func NewQueryDevicesByFilterForbidden() *QueryDevicesByFilterForbidden

NewQueryDevicesByFilterForbidden creates a QueryDevicesByFilterForbidden with default headers values

func (*QueryDevicesByFilterForbidden) Error

func (*QueryDevicesByFilterForbidden) GetPayload

type QueryDevicesByFilterOK

type QueryDevicesByFilterOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}
QueryDevicesByFilterOK describes a response with status code 200, with default header values.

OK

func NewQueryDevicesByFilterOK

func NewQueryDevicesByFilterOK() *QueryDevicesByFilterOK

NewQueryDevicesByFilterOK creates a QueryDevicesByFilterOK with default headers values

func (*QueryDevicesByFilterOK) Error

func (o *QueryDevicesByFilterOK) Error() string

func (*QueryDevicesByFilterOK) GetPayload

type QueryDevicesByFilterParams

type QueryDevicesByFilterParams struct {

	/* Filter.

	   The filter expression that should be used to limit the results
	*/
	Filter *string

	/* Limit.

	   The maximum records to return. [1-5000]
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving records from
	*/
	Offset *int64

	/* Sort.

	   The property to sort by (e.g. status.desc or hostname.asc)
	*/
	Sort *string

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

QueryDevicesByFilterParams contains all the parameters to send to the API endpoint

for the query devices by filter operation.

Typically these are written to a http.Request.

func NewQueryDevicesByFilterParams

func NewQueryDevicesByFilterParams() *QueryDevicesByFilterParams

NewQueryDevicesByFilterParams creates a new QueryDevicesByFilterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewQueryDevicesByFilterParamsWithContext

func NewQueryDevicesByFilterParamsWithContext(ctx context.Context) *QueryDevicesByFilterParams

NewQueryDevicesByFilterParamsWithContext creates a new QueryDevicesByFilterParams object with the ability to set a context for a request.

func NewQueryDevicesByFilterParamsWithHTTPClient

func NewQueryDevicesByFilterParamsWithHTTPClient(client *http.Client) *QueryDevicesByFilterParams

NewQueryDevicesByFilterParamsWithHTTPClient creates a new QueryDevicesByFilterParams object with the ability to set a custom HTTPClient for a request.

func NewQueryDevicesByFilterParamsWithTimeout

func NewQueryDevicesByFilterParamsWithTimeout(timeout time.Duration) *QueryDevicesByFilterParams

NewQueryDevicesByFilterParamsWithTimeout creates a new QueryDevicesByFilterParams object with the ability to set a timeout on a request.

func (*QueryDevicesByFilterParams) SetContext

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

SetContext adds the context to the query devices by filter params

func (*QueryDevicesByFilterParams) SetDefaults

func (o *QueryDevicesByFilterParams) SetDefaults()

SetDefaults hydrates default values in the query devices by filter params (not the query body).

All values with no default are reset to their zero value.

func (*QueryDevicesByFilterParams) SetFilter

func (o *QueryDevicesByFilterParams) SetFilter(filter *string)

SetFilter adds the filter to the query devices by filter params

func (*QueryDevicesByFilterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query devices by filter params

func (*QueryDevicesByFilterParams) SetLimit

func (o *QueryDevicesByFilterParams) SetLimit(limit *int64)

SetLimit adds the limit to the query devices by filter params

func (*QueryDevicesByFilterParams) SetOffset

func (o *QueryDevicesByFilterParams) SetOffset(offset *int64)

SetOffset adds the offset to the query devices by filter params

func (*QueryDevicesByFilterParams) SetSort

func (o *QueryDevicesByFilterParams) SetSort(sort *string)

SetSort adds the sort to the query devices by filter params

func (*QueryDevicesByFilterParams) SetTimeout

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

SetTimeout adds the timeout to the query devices by filter params

func (*QueryDevicesByFilterParams) WithContext

WithContext adds the context to the query devices by filter params

func (*QueryDevicesByFilterParams) WithDefaults

WithDefaults hydrates default values in the query devices by filter params (not the query body).

All values with no default are reset to their zero value.

func (*QueryDevicesByFilterParams) WithFilter

WithFilter adds the filter to the query devices by filter params

func (*QueryDevicesByFilterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query devices by filter params

func (*QueryDevicesByFilterParams) WithLimit

WithLimit adds the limit to the query devices by filter params

func (*QueryDevicesByFilterParams) WithOffset

WithOffset adds the offset to the query devices by filter params

func (*QueryDevicesByFilterParams) WithSort

WithSort adds the sort to the query devices by filter params

func (*QueryDevicesByFilterParams) WithTimeout

WithTimeout adds the timeout to the query devices by filter params

func (*QueryDevicesByFilterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryDevicesByFilterReader

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

QueryDevicesByFilterReader is a Reader for the QueryDevicesByFilter structure.

func (*QueryDevicesByFilterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryDevicesByFilterScrollDefault

type QueryDevicesByFilterScrollDefault struct {
	Payload *models.DomainDeviceResponse
	// contains filtered or unexported fields
}
QueryDevicesByFilterScrollDefault describes a response with status code -1, with default header values.

OK

func NewQueryDevicesByFilterScrollDefault

func NewQueryDevicesByFilterScrollDefault(code int) *QueryDevicesByFilterScrollDefault

NewQueryDevicesByFilterScrollDefault creates a QueryDevicesByFilterScrollDefault with default headers values

func (*QueryDevicesByFilterScrollDefault) Code

Code gets the status code for the query devices by filter scroll default response

func (*QueryDevicesByFilterScrollDefault) Error

func (*QueryDevicesByFilterScrollDefault) GetPayload

type QueryDevicesByFilterScrollForbidden

type QueryDevicesByFilterScrollForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}
QueryDevicesByFilterScrollForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryDevicesByFilterScrollForbidden

func NewQueryDevicesByFilterScrollForbidden() *QueryDevicesByFilterScrollForbidden

NewQueryDevicesByFilterScrollForbidden creates a QueryDevicesByFilterScrollForbidden with default headers values

func (*QueryDevicesByFilterScrollForbidden) Error

func (*QueryDevicesByFilterScrollForbidden) GetPayload

type QueryDevicesByFilterScrollOK

type QueryDevicesByFilterScrollOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.DomainDeviceResponse
}
QueryDevicesByFilterScrollOK describes a response with status code 200, with default header values.

OK

func NewQueryDevicesByFilterScrollOK

func NewQueryDevicesByFilterScrollOK() *QueryDevicesByFilterScrollOK

NewQueryDevicesByFilterScrollOK creates a QueryDevicesByFilterScrollOK with default headers values

func (*QueryDevicesByFilterScrollOK) Error

func (*QueryDevicesByFilterScrollOK) GetPayload

type QueryDevicesByFilterScrollParams

type QueryDevicesByFilterScrollParams struct {

	/* Filter.

	   The filter expression that should be used to limit the results
	*/
	Filter *string

	/* Limit.

	   The maximum records to return. [1-5000]
	*/
	Limit *int64

	/* Offset.

	   The offset to page from, for the next result set
	*/
	Offset *string

	/* Sort.

	   The property to sort by (e.g. status.desc or hostname.asc)
	*/
	Sort *string

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

QueryDevicesByFilterScrollParams contains all the parameters to send to the API endpoint

for the query devices by filter scroll operation.

Typically these are written to a http.Request.

func NewQueryDevicesByFilterScrollParams

func NewQueryDevicesByFilterScrollParams() *QueryDevicesByFilterScrollParams

NewQueryDevicesByFilterScrollParams creates a new QueryDevicesByFilterScrollParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewQueryDevicesByFilterScrollParamsWithContext

func NewQueryDevicesByFilterScrollParamsWithContext(ctx context.Context) *QueryDevicesByFilterScrollParams

NewQueryDevicesByFilterScrollParamsWithContext creates a new QueryDevicesByFilterScrollParams object with the ability to set a context for a request.

func NewQueryDevicesByFilterScrollParamsWithHTTPClient

func NewQueryDevicesByFilterScrollParamsWithHTTPClient(client *http.Client) *QueryDevicesByFilterScrollParams

NewQueryDevicesByFilterScrollParamsWithHTTPClient creates a new QueryDevicesByFilterScrollParams object with the ability to set a custom HTTPClient for a request.

func NewQueryDevicesByFilterScrollParamsWithTimeout

func NewQueryDevicesByFilterScrollParamsWithTimeout(timeout time.Duration) *QueryDevicesByFilterScrollParams

NewQueryDevicesByFilterScrollParamsWithTimeout creates a new QueryDevicesByFilterScrollParams object with the ability to set a timeout on a request.

func (*QueryDevicesByFilterScrollParams) SetContext

SetContext adds the context to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) SetDefaults

func (o *QueryDevicesByFilterScrollParams) SetDefaults()

SetDefaults hydrates default values in the query devices by filter scroll params (not the query body).

All values with no default are reset to their zero value.

func (*QueryDevicesByFilterScrollParams) SetFilter

func (o *QueryDevicesByFilterScrollParams) SetFilter(filter *string)

SetFilter adds the filter to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) SetLimit

func (o *QueryDevicesByFilterScrollParams) SetLimit(limit *int64)

SetLimit adds the limit to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) SetOffset

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

SetOffset adds the offset to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) SetSort

func (o *QueryDevicesByFilterScrollParams) SetSort(sort *string)

SetSort adds the sort to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) SetTimeout

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

SetTimeout adds the timeout to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) WithContext

WithContext adds the context to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) WithDefaults

WithDefaults hydrates default values in the query devices by filter scroll params (not the query body).

All values with no default are reset to their zero value.

func (*QueryDevicesByFilterScrollParams) WithFilter

WithFilter adds the filter to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) WithLimit

WithLimit adds the limit to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) WithOffset

WithOffset adds the offset to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) WithSort

WithSort adds the sort to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) WithTimeout

WithTimeout adds the timeout to the query devices by filter scroll params

func (*QueryDevicesByFilterScrollParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryDevicesByFilterScrollReader

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

QueryDevicesByFilterScrollReader is a Reader for the QueryDevicesByFilterScroll structure.

func (*QueryDevicesByFilterScrollReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryDevicesByFilterScrollTooManyRequests

type QueryDevicesByFilterScrollTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}
QueryDevicesByFilterScrollTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryDevicesByFilterScrollTooManyRequests

func NewQueryDevicesByFilterScrollTooManyRequests() *QueryDevicesByFilterScrollTooManyRequests

NewQueryDevicesByFilterScrollTooManyRequests creates a QueryDevicesByFilterScrollTooManyRequests with default headers values

func (*QueryDevicesByFilterScrollTooManyRequests) Error

func (*QueryDevicesByFilterScrollTooManyRequests) GetPayload

type QueryDevicesByFilterTooManyRequests

type QueryDevicesByFilterTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}
QueryDevicesByFilterTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryDevicesByFilterTooManyRequests

func NewQueryDevicesByFilterTooManyRequests() *QueryDevicesByFilterTooManyRequests

NewQueryDevicesByFilterTooManyRequests creates a QueryDevicesByFilterTooManyRequests with default headers values

func (*QueryDevicesByFilterTooManyRequests) Error

func (*QueryDevicesByFilterTooManyRequests) GetPayload

type QueryHiddenDevicesDefault

type QueryHiddenDevicesDefault struct {
	Payload *models.MsaQueryResponse
	// contains filtered or unexported fields
}
QueryHiddenDevicesDefault describes a response with status code -1, with default header values.

OK

func NewQueryHiddenDevicesDefault

func NewQueryHiddenDevicesDefault(code int) *QueryHiddenDevicesDefault

NewQueryHiddenDevicesDefault creates a QueryHiddenDevicesDefault with default headers values

func (*QueryHiddenDevicesDefault) Code

func (o *QueryHiddenDevicesDefault) Code() int

Code gets the status code for the query hidden devices default response

func (*QueryHiddenDevicesDefault) Error

func (o *QueryHiddenDevicesDefault) Error() string

func (*QueryHiddenDevicesDefault) GetPayload

type QueryHiddenDevicesForbidden

type QueryHiddenDevicesForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}
QueryHiddenDevicesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryHiddenDevicesForbidden

func NewQueryHiddenDevicesForbidden() *QueryHiddenDevicesForbidden

NewQueryHiddenDevicesForbidden creates a QueryHiddenDevicesForbidden with default headers values

func (*QueryHiddenDevicesForbidden) Error

func (*QueryHiddenDevicesForbidden) GetPayload

type QueryHiddenDevicesOK

type QueryHiddenDevicesOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}
QueryHiddenDevicesOK describes a response with status code 200, with default header values.

OK

func NewQueryHiddenDevicesOK

func NewQueryHiddenDevicesOK() *QueryHiddenDevicesOK

NewQueryHiddenDevicesOK creates a QueryHiddenDevicesOK with default headers values

func (*QueryHiddenDevicesOK) Error

func (o *QueryHiddenDevicesOK) Error() string

func (*QueryHiddenDevicesOK) GetPayload

func (o *QueryHiddenDevicesOK) GetPayload() *models.MsaQueryResponse

type QueryHiddenDevicesParams

type QueryHiddenDevicesParams struct {

	/* Filter.

	   The filter expression that should be used to limit the results
	*/
	Filter *string

	/* Limit.

	   The maximum records to return. [1-5000]
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving records from
	*/
	Offset *int64

	/* Sort.

	   The property to sort by (e.g. status.desc or hostname.asc)
	*/
	Sort *string

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

QueryHiddenDevicesParams contains all the parameters to send to the API endpoint

for the query hidden devices operation.

Typically these are written to a http.Request.

func NewQueryHiddenDevicesParams

func NewQueryHiddenDevicesParams() *QueryHiddenDevicesParams

NewQueryHiddenDevicesParams creates a new QueryHiddenDevicesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewQueryHiddenDevicesParamsWithContext

func NewQueryHiddenDevicesParamsWithContext(ctx context.Context) *QueryHiddenDevicesParams

NewQueryHiddenDevicesParamsWithContext creates a new QueryHiddenDevicesParams object with the ability to set a context for a request.

func NewQueryHiddenDevicesParamsWithHTTPClient

func NewQueryHiddenDevicesParamsWithHTTPClient(client *http.Client) *QueryHiddenDevicesParams

NewQueryHiddenDevicesParamsWithHTTPClient creates a new QueryHiddenDevicesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryHiddenDevicesParamsWithTimeout

func NewQueryHiddenDevicesParamsWithTimeout(timeout time.Duration) *QueryHiddenDevicesParams

NewQueryHiddenDevicesParamsWithTimeout creates a new QueryHiddenDevicesParams object with the ability to set a timeout on a request.

func (*QueryHiddenDevicesParams) SetContext

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

SetContext adds the context to the query hidden devices params

func (*QueryHiddenDevicesParams) SetDefaults

func (o *QueryHiddenDevicesParams) SetDefaults()

SetDefaults hydrates default values in the query hidden devices params (not the query body).

All values with no default are reset to their zero value.

func (*QueryHiddenDevicesParams) SetFilter

func (o *QueryHiddenDevicesParams) SetFilter(filter *string)

SetFilter adds the filter to the query hidden devices params

func (*QueryHiddenDevicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query hidden devices params

func (*QueryHiddenDevicesParams) SetLimit

func (o *QueryHiddenDevicesParams) SetLimit(limit *int64)

SetLimit adds the limit to the query hidden devices params

func (*QueryHiddenDevicesParams) SetOffset

func (o *QueryHiddenDevicesParams) SetOffset(offset *int64)

SetOffset adds the offset to the query hidden devices params

func (*QueryHiddenDevicesParams) SetSort

func (o *QueryHiddenDevicesParams) SetSort(sort *string)

SetSort adds the sort to the query hidden devices params

func (*QueryHiddenDevicesParams) SetTimeout

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

SetTimeout adds the timeout to the query hidden devices params

func (*QueryHiddenDevicesParams) WithContext

WithContext adds the context to the query hidden devices params

func (*QueryHiddenDevicesParams) WithDefaults

WithDefaults hydrates default values in the query hidden devices params (not the query body).

All values with no default are reset to their zero value.

func (*QueryHiddenDevicesParams) WithFilter

WithFilter adds the filter to the query hidden devices params

func (*QueryHiddenDevicesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query hidden devices params

func (*QueryHiddenDevicesParams) WithLimit

WithLimit adds the limit to the query hidden devices params

func (*QueryHiddenDevicesParams) WithOffset

WithOffset adds the offset to the query hidden devices params

func (*QueryHiddenDevicesParams) WithSort

WithSort adds the sort to the query hidden devices params

func (*QueryHiddenDevicesParams) WithTimeout

WithTimeout adds the timeout to the query hidden devices params

func (*QueryHiddenDevicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryHiddenDevicesReader

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

QueryHiddenDevicesReader is a Reader for the QueryHiddenDevices structure.

func (*QueryHiddenDevicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryHiddenDevicesTooManyRequests

type QueryHiddenDevicesTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}
QueryHiddenDevicesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryHiddenDevicesTooManyRequests

func NewQueryHiddenDevicesTooManyRequests() *QueryHiddenDevicesTooManyRequests

NewQueryHiddenDevicesTooManyRequests creates a QueryHiddenDevicesTooManyRequests with default headers values

func (*QueryHiddenDevicesTooManyRequests) Error

func (*QueryHiddenDevicesTooManyRequests) GetPayload

type UpdateDeviceTagsBadRequest

type UpdateDeviceTagsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyAffectedEntities
}
UpdateDeviceTagsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateDeviceTagsBadRequest

func NewUpdateDeviceTagsBadRequest() *UpdateDeviceTagsBadRequest

NewUpdateDeviceTagsBadRequest creates a UpdateDeviceTagsBadRequest with default headers values

func (*UpdateDeviceTagsBadRequest) Error

func (*UpdateDeviceTagsBadRequest) GetPayload

type UpdateDeviceTagsDefault

type UpdateDeviceTagsDefault struct {
	Payload *models.MsaEntitiesResponse
	// contains filtered or unexported fields
}
UpdateDeviceTagsDefault describes a response with status code -1, with default header values.

OK

func NewUpdateDeviceTagsDefault

func NewUpdateDeviceTagsDefault(code int) *UpdateDeviceTagsDefault

NewUpdateDeviceTagsDefault creates a UpdateDeviceTagsDefault with default headers values

func (*UpdateDeviceTagsDefault) Code

func (o *UpdateDeviceTagsDefault) Code() int

Code gets the status code for the update device tags default response

func (*UpdateDeviceTagsDefault) Error

func (o *UpdateDeviceTagsDefault) Error() string

func (*UpdateDeviceTagsDefault) GetPayload

type UpdateDeviceTagsForbidden

type UpdateDeviceTagsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}
UpdateDeviceTagsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateDeviceTagsForbidden

func NewUpdateDeviceTagsForbidden() *UpdateDeviceTagsForbidden

NewUpdateDeviceTagsForbidden creates a UpdateDeviceTagsForbidden with default headers values

func (*UpdateDeviceTagsForbidden) Error

func (o *UpdateDeviceTagsForbidden) Error() string

func (*UpdateDeviceTagsForbidden) GetPayload

type UpdateDeviceTagsOK

type UpdateDeviceTagsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaEntitiesResponse
}
UpdateDeviceTagsOK describes a response with status code 200, with default header values.

OK

func NewUpdateDeviceTagsOK

func NewUpdateDeviceTagsOK() *UpdateDeviceTagsOK

NewUpdateDeviceTagsOK creates a UpdateDeviceTagsOK with default headers values

func (*UpdateDeviceTagsOK) Error

func (o *UpdateDeviceTagsOK) Error() string

func (*UpdateDeviceTagsOK) GetPayload

type UpdateDeviceTagsParams

type UpdateDeviceTagsParams struct {

	// Body.
	Body *models.DomainUpdateDeviceTagsRequestV1

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

UpdateDeviceTagsParams contains all the parameters to send to the API endpoint

for the update device tags operation.

Typically these are written to a http.Request.

func NewUpdateDeviceTagsParams

func NewUpdateDeviceTagsParams() *UpdateDeviceTagsParams

NewUpdateDeviceTagsParams creates a new UpdateDeviceTagsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDeviceTagsParamsWithContext

func NewUpdateDeviceTagsParamsWithContext(ctx context.Context) *UpdateDeviceTagsParams

NewUpdateDeviceTagsParamsWithContext creates a new UpdateDeviceTagsParams object with the ability to set a context for a request.

func NewUpdateDeviceTagsParamsWithHTTPClient

func NewUpdateDeviceTagsParamsWithHTTPClient(client *http.Client) *UpdateDeviceTagsParams

NewUpdateDeviceTagsParamsWithHTTPClient creates a new UpdateDeviceTagsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDeviceTagsParamsWithTimeout

func NewUpdateDeviceTagsParamsWithTimeout(timeout time.Duration) *UpdateDeviceTagsParams

NewUpdateDeviceTagsParamsWithTimeout creates a new UpdateDeviceTagsParams object with the ability to set a timeout on a request.

func (*UpdateDeviceTagsParams) SetBody

SetBody adds the body to the update device tags params

func (*UpdateDeviceTagsParams) SetContext

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

SetContext adds the context to the update device tags params

func (*UpdateDeviceTagsParams) SetDefaults

func (o *UpdateDeviceTagsParams) SetDefaults()

SetDefaults hydrates default values in the update device tags params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update device tags params

func (*UpdateDeviceTagsParams) SetTimeout

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

SetTimeout adds the timeout to the update device tags params

func (*UpdateDeviceTagsParams) WithBody

WithBody adds the body to the update device tags params

func (*UpdateDeviceTagsParams) WithContext

WithContext adds the context to the update device tags params

func (*UpdateDeviceTagsParams) WithDefaults

WithDefaults hydrates default values in the update device tags params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update device tags params

func (*UpdateDeviceTagsParams) WithTimeout

WithTimeout adds the timeout to the update device tags params

func (*UpdateDeviceTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceTagsReader

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

UpdateDeviceTagsReader is a Reader for the UpdateDeviceTags structure.

func (*UpdateDeviceTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDeviceTagsTooManyRequests

type UpdateDeviceTagsTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}
UpdateDeviceTagsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateDeviceTagsTooManyRequests

func NewUpdateDeviceTagsTooManyRequests() *UpdateDeviceTagsTooManyRequests

NewUpdateDeviceTagsTooManyRequests creates a UpdateDeviceTagsTooManyRequests with default headers values

func (*UpdateDeviceTagsTooManyRequests) Error

func (*UpdateDeviceTagsTooManyRequests) GetPayload

Jump to

Keyboard shortcuts

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