device_control_policies

package
v0.2.24 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 11 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 device control policies API

func (*Client) CreateDeviceControlPolicies

func (a *Client) CreateDeviceControlPolicies(params *CreateDeviceControlPoliciesParams, opts ...ClientOption) (*CreateDeviceControlPoliciesCreated, error)

CreateDeviceControlPolicies creates device control policies by specifying details about the policy to create

func (*Client) DeleteDeviceControlPolicies

func (a *Client) DeleteDeviceControlPolicies(params *DeleteDeviceControlPoliciesParams, opts ...ClientOption) (*DeleteDeviceControlPoliciesOK, error)

DeleteDeviceControlPolicies deletes a set of device control policies by specifying their i ds

func (*Client) GetDeviceControlPolicies

func (a *Client) GetDeviceControlPolicies(params *GetDeviceControlPoliciesParams, opts ...ClientOption) (*GetDeviceControlPoliciesOK, error)

GetDeviceControlPolicies retrieves a set of device control policies by specifying their i ds

func (*Client) PerformDeviceControlPoliciesAction

func (a *Client) PerformDeviceControlPoliciesAction(params *PerformDeviceControlPoliciesActionParams, opts ...ClientOption) (*PerformDeviceControlPoliciesActionOK, error)

PerformDeviceControlPoliciesAction performs the specified action on the device control policies specified in the request

func (*Client) QueryCombinedDeviceControlPolicies

func (a *Client) QueryCombinedDeviceControlPolicies(params *QueryCombinedDeviceControlPoliciesParams, opts ...ClientOption) (*QueryCombinedDeviceControlPoliciesOK, error)

QueryCombinedDeviceControlPolicies searches for device control policies in your environment by providing an f q l filter and paging details returns a set of device control policies which match the filter criteria

func (*Client) QueryCombinedDeviceControlPolicyMembers

func (a *Client) QueryCombinedDeviceControlPolicyMembers(params *QueryCombinedDeviceControlPolicyMembersParams, opts ...ClientOption) (*QueryCombinedDeviceControlPolicyMembersOK, error)

QueryCombinedDeviceControlPolicyMembers searches for members of a device control policy in your environment by providing an f q l filter and paging details returns a set of host details which match the filter criteria

func (*Client) QueryDeviceControlPolicies

func (a *Client) QueryDeviceControlPolicies(params *QueryDeviceControlPoliciesParams, opts ...ClientOption) (*QueryDeviceControlPoliciesOK, error)

QueryDeviceControlPolicies searches for device control policies in your environment by providing an f q l filter and paging details returns a set of device control policy i ds which match the filter criteria

func (*Client) QueryDeviceControlPolicyMembers

func (a *Client) QueryDeviceControlPolicyMembers(params *QueryDeviceControlPolicyMembersParams, opts ...ClientOption) (*QueryDeviceControlPolicyMembersOK, error)

QueryDeviceControlPolicyMembers searches for members of a device control policy in your environment by providing an f q l filter and paging details returns a set of agent i ds which match the filter criteria

func (*Client) SetDeviceControlPoliciesPrecedence

func (a *Client) SetDeviceControlPoliciesPrecedence(params *SetDeviceControlPoliciesPrecedenceParams, opts ...ClientOption) (*SetDeviceControlPoliciesPrecedenceOK, error)

SetDeviceControlPoliciesPrecedence sets the precedence of device control policies based on the order of i ds specified in the request the first ID specified will have the highest precedence and the last ID specified will have the lowest you must specify all non default policies for a platform when updating precedence

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDeviceControlPolicies

func (a *Client) UpdateDeviceControlPolicies(params *UpdateDeviceControlPoliciesParams, opts ...ClientOption) (*UpdateDeviceControlPoliciesOK, error)

UpdateDeviceControlPolicies updates device control policies by specifying the ID of the policy and details to update

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateDeviceControlPolicies(params *CreateDeviceControlPoliciesParams, opts ...ClientOption) (*CreateDeviceControlPoliciesCreated, error)

	DeleteDeviceControlPolicies(params *DeleteDeviceControlPoliciesParams, opts ...ClientOption) (*DeleteDeviceControlPoliciesOK, error)

	GetDeviceControlPolicies(params *GetDeviceControlPoliciesParams, opts ...ClientOption) (*GetDeviceControlPoliciesOK, error)

	PerformDeviceControlPoliciesAction(params *PerformDeviceControlPoliciesActionParams, opts ...ClientOption) (*PerformDeviceControlPoliciesActionOK, error)

	QueryCombinedDeviceControlPolicies(params *QueryCombinedDeviceControlPoliciesParams, opts ...ClientOption) (*QueryCombinedDeviceControlPoliciesOK, error)

	QueryCombinedDeviceControlPolicyMembers(params *QueryCombinedDeviceControlPolicyMembersParams, opts ...ClientOption) (*QueryCombinedDeviceControlPolicyMembersOK, error)

	QueryDeviceControlPolicies(params *QueryDeviceControlPoliciesParams, opts ...ClientOption) (*QueryDeviceControlPoliciesOK, error)

	QueryDeviceControlPolicyMembers(params *QueryDeviceControlPolicyMembersParams, opts ...ClientOption) (*QueryDeviceControlPolicyMembersOK, error)

	SetDeviceControlPoliciesPrecedence(params *SetDeviceControlPoliciesPrecedenceParams, opts ...ClientOption) (*SetDeviceControlPoliciesPrecedenceOK, error)

	UpdateDeviceControlPolicies(params *UpdateDeviceControlPoliciesParams, opts ...ClientOption) (*UpdateDeviceControlPoliciesOK, 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 device control policies API client.

type CreateDeviceControlPoliciesBadRequest

type CreateDeviceControlPoliciesBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Bad Request

func NewCreateDeviceControlPoliciesBadRequest

func NewCreateDeviceControlPoliciesBadRequest() *CreateDeviceControlPoliciesBadRequest

NewCreateDeviceControlPoliciesBadRequest creates a CreateDeviceControlPoliciesBadRequest with default headers values

func (*CreateDeviceControlPoliciesBadRequest) Error

func (*CreateDeviceControlPoliciesBadRequest) GetPayload

type CreateDeviceControlPoliciesCreated

type CreateDeviceControlPoliciesCreated struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.ResponsesDeviceControlPoliciesV1
}
CreateDeviceControlPoliciesCreated describes a response with status code 201, with default header values.

Created

func NewCreateDeviceControlPoliciesCreated

func NewCreateDeviceControlPoliciesCreated() *CreateDeviceControlPoliciesCreated

NewCreateDeviceControlPoliciesCreated creates a CreateDeviceControlPoliciesCreated with default headers values

func (*CreateDeviceControlPoliciesCreated) Error

func (*CreateDeviceControlPoliciesCreated) GetPayload

type CreateDeviceControlPoliciesForbidden

type CreateDeviceControlPoliciesForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Forbidden

func NewCreateDeviceControlPoliciesForbidden

func NewCreateDeviceControlPoliciesForbidden() *CreateDeviceControlPoliciesForbidden

NewCreateDeviceControlPoliciesForbidden creates a CreateDeviceControlPoliciesForbidden with default headers values

func (*CreateDeviceControlPoliciesForbidden) Error

func (*CreateDeviceControlPoliciesForbidden) GetPayload

type CreateDeviceControlPoliciesInternalServerError

type CreateDeviceControlPoliciesInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Internal Server Error

func NewCreateDeviceControlPoliciesInternalServerError

func NewCreateDeviceControlPoliciesInternalServerError() *CreateDeviceControlPoliciesInternalServerError

NewCreateDeviceControlPoliciesInternalServerError creates a CreateDeviceControlPoliciesInternalServerError with default headers values

func (*CreateDeviceControlPoliciesInternalServerError) Error

func (*CreateDeviceControlPoliciesInternalServerError) GetPayload

type CreateDeviceControlPoliciesNotFound

type CreateDeviceControlPoliciesNotFound struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.ResponsesDeviceControlPoliciesV1
}
CreateDeviceControlPoliciesNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateDeviceControlPoliciesNotFound

func NewCreateDeviceControlPoliciesNotFound() *CreateDeviceControlPoliciesNotFound

NewCreateDeviceControlPoliciesNotFound creates a CreateDeviceControlPoliciesNotFound with default headers values

func (*CreateDeviceControlPoliciesNotFound) Error

func (*CreateDeviceControlPoliciesNotFound) GetPayload

type CreateDeviceControlPoliciesParams

type CreateDeviceControlPoliciesParams struct {

	// Body.
	Body *models.RequestsCreateDeviceControlPoliciesV1

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

CreateDeviceControlPoliciesParams contains all the parameters to send to the API endpoint

for the create device control policies operation.

Typically these are written to a http.Request.

func NewCreateDeviceControlPoliciesParams

func NewCreateDeviceControlPoliciesParams() *CreateDeviceControlPoliciesParams

NewCreateDeviceControlPoliciesParams creates a new CreateDeviceControlPoliciesParams 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 NewCreateDeviceControlPoliciesParamsWithContext

func NewCreateDeviceControlPoliciesParamsWithContext(ctx context.Context) *CreateDeviceControlPoliciesParams

NewCreateDeviceControlPoliciesParamsWithContext creates a new CreateDeviceControlPoliciesParams object with the ability to set a context for a request.

func NewCreateDeviceControlPoliciesParamsWithHTTPClient

func NewCreateDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *CreateDeviceControlPoliciesParams

NewCreateDeviceControlPoliciesParamsWithHTTPClient creates a new CreateDeviceControlPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDeviceControlPoliciesParamsWithTimeout

func NewCreateDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *CreateDeviceControlPoliciesParams

NewCreateDeviceControlPoliciesParamsWithTimeout creates a new CreateDeviceControlPoliciesParams object with the ability to set a timeout on a request.

func (*CreateDeviceControlPoliciesParams) SetBody

SetBody adds the body to the create device control policies params

func (*CreateDeviceControlPoliciesParams) SetContext

SetContext adds the context to the create device control policies params

func (*CreateDeviceControlPoliciesParams) SetDefaults

func (o *CreateDeviceControlPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the create device control policies params (not the query body).

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

func (*CreateDeviceControlPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create device control policies params

func (*CreateDeviceControlPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the create device control policies params

func (*CreateDeviceControlPoliciesParams) WithBody

WithBody adds the body to the create device control policies params

func (*CreateDeviceControlPoliciesParams) WithContext

WithContext adds the context to the create device control policies params

func (*CreateDeviceControlPoliciesParams) WithDefaults

WithDefaults hydrates default values in the create device control policies params (not the query body).

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

func (*CreateDeviceControlPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create device control policies params

func (*CreateDeviceControlPoliciesParams) WithTimeout

WithTimeout adds the timeout to the create device control policies params

func (*CreateDeviceControlPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDeviceControlPoliciesReader

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

CreateDeviceControlPoliciesReader is a Reader for the CreateDeviceControlPolicies structure.

func (*CreateDeviceControlPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDeviceControlPoliciesTooManyRequests

type CreateDeviceControlPoliciesTooManyRequests 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
}
CreateDeviceControlPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateDeviceControlPoliciesTooManyRequests

func NewCreateDeviceControlPoliciesTooManyRequests() *CreateDeviceControlPoliciesTooManyRequests

NewCreateDeviceControlPoliciesTooManyRequests creates a CreateDeviceControlPoliciesTooManyRequests with default headers values

func (*CreateDeviceControlPoliciesTooManyRequests) Error

func (*CreateDeviceControlPoliciesTooManyRequests) GetPayload

type DeleteDeviceControlPoliciesDefault

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

OK

func NewDeleteDeviceControlPoliciesDefault

func NewDeleteDeviceControlPoliciesDefault(code int) *DeleteDeviceControlPoliciesDefault

NewDeleteDeviceControlPoliciesDefault creates a DeleteDeviceControlPoliciesDefault with default headers values

func (*DeleteDeviceControlPoliciesDefault) Code

Code gets the status code for the delete device control policies default response

func (*DeleteDeviceControlPoliciesDefault) Error

func (*DeleteDeviceControlPoliciesDefault) GetPayload

type DeleteDeviceControlPoliciesForbidden

type DeleteDeviceControlPoliciesForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Forbidden

func NewDeleteDeviceControlPoliciesForbidden

func NewDeleteDeviceControlPoliciesForbidden() *DeleteDeviceControlPoliciesForbidden

NewDeleteDeviceControlPoliciesForbidden creates a DeleteDeviceControlPoliciesForbidden with default headers values

func (*DeleteDeviceControlPoliciesForbidden) Error

func (*DeleteDeviceControlPoliciesForbidden) GetPayload

type DeleteDeviceControlPoliciesInternalServerError

type DeleteDeviceControlPoliciesInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Internal Server Error

func NewDeleteDeviceControlPoliciesInternalServerError

func NewDeleteDeviceControlPoliciesInternalServerError() *DeleteDeviceControlPoliciesInternalServerError

NewDeleteDeviceControlPoliciesInternalServerError creates a DeleteDeviceControlPoliciesInternalServerError with default headers values

func (*DeleteDeviceControlPoliciesInternalServerError) Error

func (*DeleteDeviceControlPoliciesInternalServerError) GetPayload

type DeleteDeviceControlPoliciesNotFound

type DeleteDeviceControlPoliciesNotFound struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Not Found

func NewDeleteDeviceControlPoliciesNotFound

func NewDeleteDeviceControlPoliciesNotFound() *DeleteDeviceControlPoliciesNotFound

NewDeleteDeviceControlPoliciesNotFound creates a DeleteDeviceControlPoliciesNotFound with default headers values

func (*DeleteDeviceControlPoliciesNotFound) Error

func (*DeleteDeviceControlPoliciesNotFound) GetPayload

type DeleteDeviceControlPoliciesOK

type DeleteDeviceControlPoliciesOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

OK

func NewDeleteDeviceControlPoliciesOK

func NewDeleteDeviceControlPoliciesOK() *DeleteDeviceControlPoliciesOK

NewDeleteDeviceControlPoliciesOK creates a DeleteDeviceControlPoliciesOK with default headers values

func (*DeleteDeviceControlPoliciesOK) Error

func (*DeleteDeviceControlPoliciesOK) GetPayload

type DeleteDeviceControlPoliciesParams

type DeleteDeviceControlPoliciesParams struct {

	/* Ids.

	   The IDs of the Device Control Policies to delete
	*/
	Ids []string

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

DeleteDeviceControlPoliciesParams contains all the parameters to send to the API endpoint

for the delete device control policies operation.

Typically these are written to a http.Request.

func NewDeleteDeviceControlPoliciesParams

func NewDeleteDeviceControlPoliciesParams() *DeleteDeviceControlPoliciesParams

NewDeleteDeviceControlPoliciesParams creates a new DeleteDeviceControlPoliciesParams 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 NewDeleteDeviceControlPoliciesParamsWithContext

func NewDeleteDeviceControlPoliciesParamsWithContext(ctx context.Context) *DeleteDeviceControlPoliciesParams

NewDeleteDeviceControlPoliciesParamsWithContext creates a new DeleteDeviceControlPoliciesParams object with the ability to set a context for a request.

func NewDeleteDeviceControlPoliciesParamsWithHTTPClient

func NewDeleteDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *DeleteDeviceControlPoliciesParams

NewDeleteDeviceControlPoliciesParamsWithHTTPClient creates a new DeleteDeviceControlPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDeviceControlPoliciesParamsWithTimeout

func NewDeleteDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *DeleteDeviceControlPoliciesParams

NewDeleteDeviceControlPoliciesParamsWithTimeout creates a new DeleteDeviceControlPoliciesParams object with the ability to set a timeout on a request.

func (*DeleteDeviceControlPoliciesParams) SetContext

SetContext adds the context to the delete device control policies params

func (*DeleteDeviceControlPoliciesParams) SetDefaults

func (o *DeleteDeviceControlPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the delete device control policies params (not the query body).

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

func (*DeleteDeviceControlPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete device control policies params

func (*DeleteDeviceControlPoliciesParams) SetIds

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

SetIds adds the ids to the delete device control policies params

func (*DeleteDeviceControlPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the delete device control policies params

func (*DeleteDeviceControlPoliciesParams) WithContext

WithContext adds the context to the delete device control policies params

func (*DeleteDeviceControlPoliciesParams) WithDefaults

WithDefaults hydrates default values in the delete device control policies params (not the query body).

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

func (*DeleteDeviceControlPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete device control policies params

func (*DeleteDeviceControlPoliciesParams) WithIds

WithIds adds the ids to the delete device control policies params

func (*DeleteDeviceControlPoliciesParams) WithTimeout

WithTimeout adds the timeout to the delete device control policies params

func (*DeleteDeviceControlPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeviceControlPoliciesReader

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

DeleteDeviceControlPoliciesReader is a Reader for the DeleteDeviceControlPolicies structure.

func (*DeleteDeviceControlPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDeviceControlPoliciesTooManyRequests

type DeleteDeviceControlPoliciesTooManyRequests 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
}
DeleteDeviceControlPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteDeviceControlPoliciesTooManyRequests

func NewDeleteDeviceControlPoliciesTooManyRequests() *DeleteDeviceControlPoliciesTooManyRequests

NewDeleteDeviceControlPoliciesTooManyRequests creates a DeleteDeviceControlPoliciesTooManyRequests with default headers values

func (*DeleteDeviceControlPoliciesTooManyRequests) Error

func (*DeleteDeviceControlPoliciesTooManyRequests) GetPayload

type GetDeviceControlPoliciesDefault

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

OK

func NewGetDeviceControlPoliciesDefault

func NewGetDeviceControlPoliciesDefault(code int) *GetDeviceControlPoliciesDefault

NewGetDeviceControlPoliciesDefault creates a GetDeviceControlPoliciesDefault with default headers values

func (*GetDeviceControlPoliciesDefault) Code

Code gets the status code for the get device control policies default response

func (*GetDeviceControlPoliciesDefault) Error

func (*GetDeviceControlPoliciesDefault) GetPayload

type GetDeviceControlPoliciesForbidden

type GetDeviceControlPoliciesForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Forbidden

func NewGetDeviceControlPoliciesForbidden

func NewGetDeviceControlPoliciesForbidden() *GetDeviceControlPoliciesForbidden

NewGetDeviceControlPoliciesForbidden creates a GetDeviceControlPoliciesForbidden with default headers values

func (*GetDeviceControlPoliciesForbidden) Error

func (*GetDeviceControlPoliciesForbidden) GetPayload

type GetDeviceControlPoliciesInternalServerError

type GetDeviceControlPoliciesInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Internal Server Error

func NewGetDeviceControlPoliciesInternalServerError

func NewGetDeviceControlPoliciesInternalServerError() *GetDeviceControlPoliciesInternalServerError

NewGetDeviceControlPoliciesInternalServerError creates a GetDeviceControlPoliciesInternalServerError with default headers values

func (*GetDeviceControlPoliciesInternalServerError) Error

func (*GetDeviceControlPoliciesInternalServerError) GetPayload

type GetDeviceControlPoliciesNotFound

type GetDeviceControlPoliciesNotFound struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.ResponsesDeviceControlPoliciesV1
}
GetDeviceControlPoliciesNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetDeviceControlPoliciesNotFound

func NewGetDeviceControlPoliciesNotFound() *GetDeviceControlPoliciesNotFound

NewGetDeviceControlPoliciesNotFound creates a GetDeviceControlPoliciesNotFound with default headers values

func (*GetDeviceControlPoliciesNotFound) Error

func (*GetDeviceControlPoliciesNotFound) GetPayload

type GetDeviceControlPoliciesOK

type GetDeviceControlPoliciesOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

OK

func NewGetDeviceControlPoliciesOK

func NewGetDeviceControlPoliciesOK() *GetDeviceControlPoliciesOK

NewGetDeviceControlPoliciesOK creates a GetDeviceControlPoliciesOK with default headers values

func (*GetDeviceControlPoliciesOK) Error

func (*GetDeviceControlPoliciesOK) GetPayload

type GetDeviceControlPoliciesParams

type GetDeviceControlPoliciesParams struct {

	/* Ids.

	   The IDs of the Device Control Policies to return
	*/
	Ids []string

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

GetDeviceControlPoliciesParams contains all the parameters to send to the API endpoint

for the get device control policies operation.

Typically these are written to a http.Request.

func NewGetDeviceControlPoliciesParams

func NewGetDeviceControlPoliciesParams() *GetDeviceControlPoliciesParams

NewGetDeviceControlPoliciesParams creates a new GetDeviceControlPoliciesParams 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 NewGetDeviceControlPoliciesParamsWithContext

func NewGetDeviceControlPoliciesParamsWithContext(ctx context.Context) *GetDeviceControlPoliciesParams

NewGetDeviceControlPoliciesParamsWithContext creates a new GetDeviceControlPoliciesParams object with the ability to set a context for a request.

func NewGetDeviceControlPoliciesParamsWithHTTPClient

func NewGetDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *GetDeviceControlPoliciesParams

NewGetDeviceControlPoliciesParamsWithHTTPClient creates a new GetDeviceControlPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceControlPoliciesParamsWithTimeout

func NewGetDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *GetDeviceControlPoliciesParams

NewGetDeviceControlPoliciesParamsWithTimeout creates a new GetDeviceControlPoliciesParams object with the ability to set a timeout on a request.

func (*GetDeviceControlPoliciesParams) SetContext

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

SetContext adds the context to the get device control policies params

func (*GetDeviceControlPoliciesParams) SetDefaults

func (o *GetDeviceControlPoliciesParams) SetDefaults()

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

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

func (*GetDeviceControlPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get device control policies params

func (*GetDeviceControlPoliciesParams) SetIds

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

SetIds adds the ids to the get device control policies params

func (*GetDeviceControlPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the get device control policies params

func (*GetDeviceControlPoliciesParams) WithContext

WithContext adds the context to the get device control policies params

func (*GetDeviceControlPoliciesParams) WithDefaults

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

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

func (*GetDeviceControlPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device control policies params

func (*GetDeviceControlPoliciesParams) WithIds

WithIds adds the ids to the get device control policies params

func (*GetDeviceControlPoliciesParams) WithTimeout

WithTimeout adds the timeout to the get device control policies params

func (*GetDeviceControlPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceControlPoliciesReader

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

GetDeviceControlPoliciesReader is a Reader for the GetDeviceControlPolicies structure.

func (*GetDeviceControlPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeviceControlPoliciesTooManyRequests

type GetDeviceControlPoliciesTooManyRequests 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
}
GetDeviceControlPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetDeviceControlPoliciesTooManyRequests

func NewGetDeviceControlPoliciesTooManyRequests() *GetDeviceControlPoliciesTooManyRequests

NewGetDeviceControlPoliciesTooManyRequests creates a GetDeviceControlPoliciesTooManyRequests with default headers values

func (*GetDeviceControlPoliciesTooManyRequests) Error

func (*GetDeviceControlPoliciesTooManyRequests) GetPayload

type PerformDeviceControlPoliciesActionBadRequest

type PerformDeviceControlPoliciesActionBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Bad Request

func NewPerformDeviceControlPoliciesActionBadRequest

func NewPerformDeviceControlPoliciesActionBadRequest() *PerformDeviceControlPoliciesActionBadRequest

NewPerformDeviceControlPoliciesActionBadRequest creates a PerformDeviceControlPoliciesActionBadRequest with default headers values

func (*PerformDeviceControlPoliciesActionBadRequest) Error

func (*PerformDeviceControlPoliciesActionBadRequest) GetPayload

type PerformDeviceControlPoliciesActionDefault

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

OK

func NewPerformDeviceControlPoliciesActionDefault

func NewPerformDeviceControlPoliciesActionDefault(code int) *PerformDeviceControlPoliciesActionDefault

NewPerformDeviceControlPoliciesActionDefault creates a PerformDeviceControlPoliciesActionDefault with default headers values

func (*PerformDeviceControlPoliciesActionDefault) Code

Code gets the status code for the perform device control policies action default response

func (*PerformDeviceControlPoliciesActionDefault) Error

func (*PerformDeviceControlPoliciesActionDefault) GetPayload

type PerformDeviceControlPoliciesActionForbidden

type PerformDeviceControlPoliciesActionForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Forbidden

func NewPerformDeviceControlPoliciesActionForbidden

func NewPerformDeviceControlPoliciesActionForbidden() *PerformDeviceControlPoliciesActionForbidden

NewPerformDeviceControlPoliciesActionForbidden creates a PerformDeviceControlPoliciesActionForbidden with default headers values

func (*PerformDeviceControlPoliciesActionForbidden) Error

func (*PerformDeviceControlPoliciesActionForbidden) GetPayload

type PerformDeviceControlPoliciesActionInternalServerError

type PerformDeviceControlPoliciesActionInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Internal Server Error

func NewPerformDeviceControlPoliciesActionInternalServerError

func NewPerformDeviceControlPoliciesActionInternalServerError() *PerformDeviceControlPoliciesActionInternalServerError

NewPerformDeviceControlPoliciesActionInternalServerError creates a PerformDeviceControlPoliciesActionInternalServerError with default headers values

func (*PerformDeviceControlPoliciesActionInternalServerError) Error

func (*PerformDeviceControlPoliciesActionInternalServerError) GetPayload

type PerformDeviceControlPoliciesActionNotFound

type PerformDeviceControlPoliciesActionNotFound struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.ResponsesDeviceControlPoliciesV1
}
PerformDeviceControlPoliciesActionNotFound describes a response with status code 404, with default header values.

Not Found

func NewPerformDeviceControlPoliciesActionNotFound

func NewPerformDeviceControlPoliciesActionNotFound() *PerformDeviceControlPoliciesActionNotFound

NewPerformDeviceControlPoliciesActionNotFound creates a PerformDeviceControlPoliciesActionNotFound with default headers values

func (*PerformDeviceControlPoliciesActionNotFound) Error

func (*PerformDeviceControlPoliciesActionNotFound) GetPayload

type PerformDeviceControlPoliciesActionOK

type PerformDeviceControlPoliciesActionOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

OK

func NewPerformDeviceControlPoliciesActionOK

func NewPerformDeviceControlPoliciesActionOK() *PerformDeviceControlPoliciesActionOK

NewPerformDeviceControlPoliciesActionOK creates a PerformDeviceControlPoliciesActionOK with default headers values

func (*PerformDeviceControlPoliciesActionOK) Error

func (*PerformDeviceControlPoliciesActionOK) GetPayload

type PerformDeviceControlPoliciesActionParams

type PerformDeviceControlPoliciesActionParams struct {

	/* ActionName.

	   The action to perform
	*/
	ActionName string

	// Body.
	Body *models.MsaEntityActionRequestV2

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

PerformDeviceControlPoliciesActionParams contains all the parameters to send to the API endpoint

for the perform device control policies action operation.

Typically these are written to a http.Request.

func NewPerformDeviceControlPoliciesActionParams

func NewPerformDeviceControlPoliciesActionParams() *PerformDeviceControlPoliciesActionParams

NewPerformDeviceControlPoliciesActionParams creates a new PerformDeviceControlPoliciesActionParams 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 NewPerformDeviceControlPoliciesActionParamsWithContext

func NewPerformDeviceControlPoliciesActionParamsWithContext(ctx context.Context) *PerformDeviceControlPoliciesActionParams

NewPerformDeviceControlPoliciesActionParamsWithContext creates a new PerformDeviceControlPoliciesActionParams object with the ability to set a context for a request.

func NewPerformDeviceControlPoliciesActionParamsWithHTTPClient

func NewPerformDeviceControlPoliciesActionParamsWithHTTPClient(client *http.Client) *PerformDeviceControlPoliciesActionParams

NewPerformDeviceControlPoliciesActionParamsWithHTTPClient creates a new PerformDeviceControlPoliciesActionParams object with the ability to set a custom HTTPClient for a request.

func NewPerformDeviceControlPoliciesActionParamsWithTimeout

func NewPerformDeviceControlPoliciesActionParamsWithTimeout(timeout time.Duration) *PerformDeviceControlPoliciesActionParams

NewPerformDeviceControlPoliciesActionParamsWithTimeout creates a new PerformDeviceControlPoliciesActionParams object with the ability to set a timeout on a request.

func (*PerformDeviceControlPoliciesActionParams) SetActionName

func (o *PerformDeviceControlPoliciesActionParams) SetActionName(actionName string)

SetActionName adds the actionName to the perform device control policies action params

func (*PerformDeviceControlPoliciesActionParams) SetBody

SetBody adds the body to the perform device control policies action params

func (*PerformDeviceControlPoliciesActionParams) SetContext

SetContext adds the context to the perform device control policies action params

func (*PerformDeviceControlPoliciesActionParams) SetDefaults

SetDefaults hydrates default values in the perform device control policies action params (not the query body).

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

func (*PerformDeviceControlPoliciesActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the perform device control policies action params

func (*PerformDeviceControlPoliciesActionParams) SetTimeout

SetTimeout adds the timeout to the perform device control policies action params

func (*PerformDeviceControlPoliciesActionParams) WithActionName

WithActionName adds the actionName to the perform device control policies action params

func (*PerformDeviceControlPoliciesActionParams) WithBody

WithBody adds the body to the perform device control policies action params

func (*PerformDeviceControlPoliciesActionParams) WithContext

WithContext adds the context to the perform device control policies action params

func (*PerformDeviceControlPoliciesActionParams) WithDefaults

WithDefaults hydrates default values in the perform device control policies action params (not the query body).

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

func (*PerformDeviceControlPoliciesActionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the perform device control policies action params

func (*PerformDeviceControlPoliciesActionParams) WithTimeout

WithTimeout adds the timeout to the perform device control policies action params

func (*PerformDeviceControlPoliciesActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PerformDeviceControlPoliciesActionReader

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

PerformDeviceControlPoliciesActionReader is a Reader for the PerformDeviceControlPoliciesAction structure.

func (*PerformDeviceControlPoliciesActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PerformDeviceControlPoliciesActionTooManyRequests

type PerformDeviceControlPoliciesActionTooManyRequests 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
}
PerformDeviceControlPoliciesActionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewPerformDeviceControlPoliciesActionTooManyRequests

func NewPerformDeviceControlPoliciesActionTooManyRequests() *PerformDeviceControlPoliciesActionTooManyRequests

NewPerformDeviceControlPoliciesActionTooManyRequests creates a PerformDeviceControlPoliciesActionTooManyRequests with default headers values

func (*PerformDeviceControlPoliciesActionTooManyRequests) Error

func (*PerformDeviceControlPoliciesActionTooManyRequests) GetPayload

type QueryCombinedDeviceControlPoliciesBadRequest

type QueryCombinedDeviceControlPoliciesBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Bad Request

func NewQueryCombinedDeviceControlPoliciesBadRequest

func NewQueryCombinedDeviceControlPoliciesBadRequest() *QueryCombinedDeviceControlPoliciesBadRequest

NewQueryCombinedDeviceControlPoliciesBadRequest creates a QueryCombinedDeviceControlPoliciesBadRequest with default headers values

func (*QueryCombinedDeviceControlPoliciesBadRequest) Error

func (*QueryCombinedDeviceControlPoliciesBadRequest) GetPayload

type QueryCombinedDeviceControlPoliciesDefault

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

OK

func NewQueryCombinedDeviceControlPoliciesDefault

func NewQueryCombinedDeviceControlPoliciesDefault(code int) *QueryCombinedDeviceControlPoliciesDefault

NewQueryCombinedDeviceControlPoliciesDefault creates a QueryCombinedDeviceControlPoliciesDefault with default headers values

func (*QueryCombinedDeviceControlPoliciesDefault) Code

Code gets the status code for the query combined device control policies default response

func (*QueryCombinedDeviceControlPoliciesDefault) Error

func (*QueryCombinedDeviceControlPoliciesDefault) GetPayload

type QueryCombinedDeviceControlPoliciesForbidden

type QueryCombinedDeviceControlPoliciesForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Forbidden

func NewQueryCombinedDeviceControlPoliciesForbidden

func NewQueryCombinedDeviceControlPoliciesForbidden() *QueryCombinedDeviceControlPoliciesForbidden

NewQueryCombinedDeviceControlPoliciesForbidden creates a QueryCombinedDeviceControlPoliciesForbidden with default headers values

func (*QueryCombinedDeviceControlPoliciesForbidden) Error

func (*QueryCombinedDeviceControlPoliciesForbidden) GetPayload

type QueryCombinedDeviceControlPoliciesInternalServerError

type QueryCombinedDeviceControlPoliciesInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Internal Server Error

func NewQueryCombinedDeviceControlPoliciesInternalServerError

func NewQueryCombinedDeviceControlPoliciesInternalServerError() *QueryCombinedDeviceControlPoliciesInternalServerError

NewQueryCombinedDeviceControlPoliciesInternalServerError creates a QueryCombinedDeviceControlPoliciesInternalServerError with default headers values

func (*QueryCombinedDeviceControlPoliciesInternalServerError) Error

func (*QueryCombinedDeviceControlPoliciesInternalServerError) GetPayload

type QueryCombinedDeviceControlPoliciesOK

type QueryCombinedDeviceControlPoliciesOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

OK

func NewQueryCombinedDeviceControlPoliciesOK

func NewQueryCombinedDeviceControlPoliciesOK() *QueryCombinedDeviceControlPoliciesOK

NewQueryCombinedDeviceControlPoliciesOK creates a QueryCombinedDeviceControlPoliciesOK with default headers values

func (*QueryCombinedDeviceControlPoliciesOK) Error

func (*QueryCombinedDeviceControlPoliciesOK) GetPayload

type QueryCombinedDeviceControlPoliciesParams

type QueryCombinedDeviceControlPoliciesParams 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
	*/
	Sort *string

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

QueryCombinedDeviceControlPoliciesParams contains all the parameters to send to the API endpoint

for the query combined device control policies operation.

Typically these are written to a http.Request.

func NewQueryCombinedDeviceControlPoliciesParams

func NewQueryCombinedDeviceControlPoliciesParams() *QueryCombinedDeviceControlPoliciesParams

NewQueryCombinedDeviceControlPoliciesParams creates a new QueryCombinedDeviceControlPoliciesParams 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 NewQueryCombinedDeviceControlPoliciesParamsWithContext

func NewQueryCombinedDeviceControlPoliciesParamsWithContext(ctx context.Context) *QueryCombinedDeviceControlPoliciesParams

NewQueryCombinedDeviceControlPoliciesParamsWithContext creates a new QueryCombinedDeviceControlPoliciesParams object with the ability to set a context for a request.

func NewQueryCombinedDeviceControlPoliciesParamsWithHTTPClient

func NewQueryCombinedDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *QueryCombinedDeviceControlPoliciesParams

NewQueryCombinedDeviceControlPoliciesParamsWithHTTPClient creates a new QueryCombinedDeviceControlPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryCombinedDeviceControlPoliciesParamsWithTimeout

func NewQueryCombinedDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *QueryCombinedDeviceControlPoliciesParams

NewQueryCombinedDeviceControlPoliciesParamsWithTimeout creates a new QueryCombinedDeviceControlPoliciesParams object with the ability to set a timeout on a request.

func (*QueryCombinedDeviceControlPoliciesParams) SetContext

SetContext adds the context to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) SetDefaults

SetDefaults hydrates default values in the query combined device control policies params (not the query body).

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

func (*QueryCombinedDeviceControlPoliciesParams) SetFilter

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

SetFilter adds the filter to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) SetLimit

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

SetLimit adds the limit to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) SetOffset

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

SetOffset adds the offset to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) SetSort

SetSort adds the sort to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) SetTimeout

SetTimeout adds the timeout to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) WithContext

WithContext adds the context to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) WithDefaults

WithDefaults hydrates default values in the query combined device control policies params (not the query body).

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

func (*QueryCombinedDeviceControlPoliciesParams) WithFilter

WithFilter adds the filter to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) WithLimit

WithLimit adds the limit to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) WithOffset

WithOffset adds the offset to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) WithSort

WithSort adds the sort to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) WithTimeout

WithTimeout adds the timeout to the query combined device control policies params

func (*QueryCombinedDeviceControlPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryCombinedDeviceControlPoliciesReader

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

QueryCombinedDeviceControlPoliciesReader is a Reader for the QueryCombinedDeviceControlPolicies structure.

func (*QueryCombinedDeviceControlPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryCombinedDeviceControlPoliciesTooManyRequests

type QueryCombinedDeviceControlPoliciesTooManyRequests 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
}
QueryCombinedDeviceControlPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryCombinedDeviceControlPoliciesTooManyRequests

func NewQueryCombinedDeviceControlPoliciesTooManyRequests() *QueryCombinedDeviceControlPoliciesTooManyRequests

NewQueryCombinedDeviceControlPoliciesTooManyRequests creates a QueryCombinedDeviceControlPoliciesTooManyRequests with default headers values

func (*QueryCombinedDeviceControlPoliciesTooManyRequests) Error

func (*QueryCombinedDeviceControlPoliciesTooManyRequests) GetPayload

type QueryCombinedDeviceControlPolicyMembersBadRequest

type QueryCombinedDeviceControlPolicyMembersBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Bad Request

func NewQueryCombinedDeviceControlPolicyMembersBadRequest

func NewQueryCombinedDeviceControlPolicyMembersBadRequest() *QueryCombinedDeviceControlPolicyMembersBadRequest

NewQueryCombinedDeviceControlPolicyMembersBadRequest creates a QueryCombinedDeviceControlPolicyMembersBadRequest with default headers values

func (*QueryCombinedDeviceControlPolicyMembersBadRequest) Error

func (*QueryCombinedDeviceControlPolicyMembersBadRequest) GetPayload

type QueryCombinedDeviceControlPolicyMembersDefault

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

OK

func NewQueryCombinedDeviceControlPolicyMembersDefault

func NewQueryCombinedDeviceControlPolicyMembersDefault(code int) *QueryCombinedDeviceControlPolicyMembersDefault

NewQueryCombinedDeviceControlPolicyMembersDefault creates a QueryCombinedDeviceControlPolicyMembersDefault with default headers values

func (*QueryCombinedDeviceControlPolicyMembersDefault) Code

Code gets the status code for the query combined device control policy members default response

func (*QueryCombinedDeviceControlPolicyMembersDefault) Error

func (*QueryCombinedDeviceControlPolicyMembersDefault) GetPayload

type QueryCombinedDeviceControlPolicyMembersForbidden

type QueryCombinedDeviceControlPolicyMembersForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Forbidden

func NewQueryCombinedDeviceControlPolicyMembersForbidden

func NewQueryCombinedDeviceControlPolicyMembersForbidden() *QueryCombinedDeviceControlPolicyMembersForbidden

NewQueryCombinedDeviceControlPolicyMembersForbidden creates a QueryCombinedDeviceControlPolicyMembersForbidden with default headers values

func (*QueryCombinedDeviceControlPolicyMembersForbidden) Error

func (*QueryCombinedDeviceControlPolicyMembersForbidden) GetPayload

type QueryCombinedDeviceControlPolicyMembersInternalServerError

type QueryCombinedDeviceControlPolicyMembersInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Internal Server Error

func NewQueryCombinedDeviceControlPolicyMembersInternalServerError

func NewQueryCombinedDeviceControlPolicyMembersInternalServerError() *QueryCombinedDeviceControlPolicyMembersInternalServerError

NewQueryCombinedDeviceControlPolicyMembersInternalServerError creates a QueryCombinedDeviceControlPolicyMembersInternalServerError with default headers values

func (*QueryCombinedDeviceControlPolicyMembersInternalServerError) Error

func (*QueryCombinedDeviceControlPolicyMembersInternalServerError) GetPayload

type QueryCombinedDeviceControlPolicyMembersNotFound

type QueryCombinedDeviceControlPolicyMembersNotFound struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.ResponsesPolicyMembersRespV1
}
QueryCombinedDeviceControlPolicyMembersNotFound describes a response with status code 404, with default header values.

Not Found

func NewQueryCombinedDeviceControlPolicyMembersNotFound

func NewQueryCombinedDeviceControlPolicyMembersNotFound() *QueryCombinedDeviceControlPolicyMembersNotFound

NewQueryCombinedDeviceControlPolicyMembersNotFound creates a QueryCombinedDeviceControlPolicyMembersNotFound with default headers values

func (*QueryCombinedDeviceControlPolicyMembersNotFound) Error

func (*QueryCombinedDeviceControlPolicyMembersNotFound) GetPayload

type QueryCombinedDeviceControlPolicyMembersOK

type QueryCombinedDeviceControlPolicyMembersOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

OK

func NewQueryCombinedDeviceControlPolicyMembersOK

func NewQueryCombinedDeviceControlPolicyMembersOK() *QueryCombinedDeviceControlPolicyMembersOK

NewQueryCombinedDeviceControlPolicyMembersOK creates a QueryCombinedDeviceControlPolicyMembersOK with default headers values

func (*QueryCombinedDeviceControlPolicyMembersOK) Error

func (*QueryCombinedDeviceControlPolicyMembersOK) GetPayload

type QueryCombinedDeviceControlPolicyMembersParams

type QueryCombinedDeviceControlPolicyMembersParams struct {

	/* Filter.

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

	/* ID.

	   The ID of the Device Control Policy to search for members of
	*/
	ID *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
	*/
	Sort *string

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

QueryCombinedDeviceControlPolicyMembersParams contains all the parameters to send to the API endpoint

for the query combined device control policy members operation.

Typically these are written to a http.Request.

func NewQueryCombinedDeviceControlPolicyMembersParams

func NewQueryCombinedDeviceControlPolicyMembersParams() *QueryCombinedDeviceControlPolicyMembersParams

NewQueryCombinedDeviceControlPolicyMembersParams creates a new QueryCombinedDeviceControlPolicyMembersParams 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 NewQueryCombinedDeviceControlPolicyMembersParamsWithContext

func NewQueryCombinedDeviceControlPolicyMembersParamsWithContext(ctx context.Context) *QueryCombinedDeviceControlPolicyMembersParams

NewQueryCombinedDeviceControlPolicyMembersParamsWithContext creates a new QueryCombinedDeviceControlPolicyMembersParams object with the ability to set a context for a request.

func NewQueryCombinedDeviceControlPolicyMembersParamsWithHTTPClient

func NewQueryCombinedDeviceControlPolicyMembersParamsWithHTTPClient(client *http.Client) *QueryCombinedDeviceControlPolicyMembersParams

NewQueryCombinedDeviceControlPolicyMembersParamsWithHTTPClient creates a new QueryCombinedDeviceControlPolicyMembersParams object with the ability to set a custom HTTPClient for a request.

func NewQueryCombinedDeviceControlPolicyMembersParamsWithTimeout

func NewQueryCombinedDeviceControlPolicyMembersParamsWithTimeout(timeout time.Duration) *QueryCombinedDeviceControlPolicyMembersParams

NewQueryCombinedDeviceControlPolicyMembersParamsWithTimeout creates a new QueryCombinedDeviceControlPolicyMembersParams object with the ability to set a timeout on a request.

func (*QueryCombinedDeviceControlPolicyMembersParams) SetContext

SetContext adds the context to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) SetDefaults

SetDefaults hydrates default values in the query combined device control policy members params (not the query body).

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

func (*QueryCombinedDeviceControlPolicyMembersParams) SetFilter

SetFilter adds the filter to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) SetID

SetID adds the id to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) SetLimit

SetLimit adds the limit to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) SetOffset

SetOffset adds the offset to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) SetSort

SetSort adds the sort to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) SetTimeout

SetTimeout adds the timeout to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) WithContext

WithContext adds the context to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) WithDefaults

WithDefaults hydrates default values in the query combined device control policy members params (not the query body).

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

func (*QueryCombinedDeviceControlPolicyMembersParams) WithFilter

WithFilter adds the filter to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) WithID

WithID adds the id to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) WithLimit

WithLimit adds the limit to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) WithOffset

WithOffset adds the offset to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) WithSort

WithSort adds the sort to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) WithTimeout

WithTimeout adds the timeout to the query combined device control policy members params

func (*QueryCombinedDeviceControlPolicyMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryCombinedDeviceControlPolicyMembersReader

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

QueryCombinedDeviceControlPolicyMembersReader is a Reader for the QueryCombinedDeviceControlPolicyMembers structure.

func (*QueryCombinedDeviceControlPolicyMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryCombinedDeviceControlPolicyMembersTooManyRequests

type QueryCombinedDeviceControlPolicyMembersTooManyRequests 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
}
QueryCombinedDeviceControlPolicyMembersTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryCombinedDeviceControlPolicyMembersTooManyRequests

func NewQueryCombinedDeviceControlPolicyMembersTooManyRequests() *QueryCombinedDeviceControlPolicyMembersTooManyRequests

NewQueryCombinedDeviceControlPolicyMembersTooManyRequests creates a QueryCombinedDeviceControlPolicyMembersTooManyRequests with default headers values

func (*QueryCombinedDeviceControlPolicyMembersTooManyRequests) Error

func (*QueryCombinedDeviceControlPolicyMembersTooManyRequests) GetPayload

type QueryDeviceControlPoliciesBadRequest

type QueryDeviceControlPoliciesBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Bad Request

func NewQueryDeviceControlPoliciesBadRequest

func NewQueryDeviceControlPoliciesBadRequest() *QueryDeviceControlPoliciesBadRequest

NewQueryDeviceControlPoliciesBadRequest creates a QueryDeviceControlPoliciesBadRequest with default headers values

func (*QueryDeviceControlPoliciesBadRequest) Error

func (*QueryDeviceControlPoliciesBadRequest) GetPayload

type QueryDeviceControlPoliciesDefault

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

OK

func NewQueryDeviceControlPoliciesDefault

func NewQueryDeviceControlPoliciesDefault(code int) *QueryDeviceControlPoliciesDefault

NewQueryDeviceControlPoliciesDefault creates a QueryDeviceControlPoliciesDefault with default headers values

func (*QueryDeviceControlPoliciesDefault) Code

Code gets the status code for the query device control policies default response

func (*QueryDeviceControlPoliciesDefault) Error

func (*QueryDeviceControlPoliciesDefault) GetPayload

type QueryDeviceControlPoliciesForbidden

type QueryDeviceControlPoliciesForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Forbidden

func NewQueryDeviceControlPoliciesForbidden

func NewQueryDeviceControlPoliciesForbidden() *QueryDeviceControlPoliciesForbidden

NewQueryDeviceControlPoliciesForbidden creates a QueryDeviceControlPoliciesForbidden with default headers values

func (*QueryDeviceControlPoliciesForbidden) Error

func (*QueryDeviceControlPoliciesForbidden) GetPayload

type QueryDeviceControlPoliciesInternalServerError

type QueryDeviceControlPoliciesInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Internal Server Error

func NewQueryDeviceControlPoliciesInternalServerError

func NewQueryDeviceControlPoliciesInternalServerError() *QueryDeviceControlPoliciesInternalServerError

NewQueryDeviceControlPoliciesInternalServerError creates a QueryDeviceControlPoliciesInternalServerError with default headers values

func (*QueryDeviceControlPoliciesInternalServerError) Error

func (*QueryDeviceControlPoliciesInternalServerError) GetPayload

type QueryDeviceControlPoliciesOK

type QueryDeviceControlPoliciesOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

OK

func NewQueryDeviceControlPoliciesOK

func NewQueryDeviceControlPoliciesOK() *QueryDeviceControlPoliciesOK

NewQueryDeviceControlPoliciesOK creates a QueryDeviceControlPoliciesOK with default headers values

func (*QueryDeviceControlPoliciesOK) Error

func (*QueryDeviceControlPoliciesOK) GetPayload

type QueryDeviceControlPoliciesParams

type QueryDeviceControlPoliciesParams 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
	*/
	Sort *string

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

QueryDeviceControlPoliciesParams contains all the parameters to send to the API endpoint

for the query device control policies operation.

Typically these are written to a http.Request.

func NewQueryDeviceControlPoliciesParams

func NewQueryDeviceControlPoliciesParams() *QueryDeviceControlPoliciesParams

NewQueryDeviceControlPoliciesParams creates a new QueryDeviceControlPoliciesParams 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 NewQueryDeviceControlPoliciesParamsWithContext

func NewQueryDeviceControlPoliciesParamsWithContext(ctx context.Context) *QueryDeviceControlPoliciesParams

NewQueryDeviceControlPoliciesParamsWithContext creates a new QueryDeviceControlPoliciesParams object with the ability to set a context for a request.

func NewQueryDeviceControlPoliciesParamsWithHTTPClient

func NewQueryDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *QueryDeviceControlPoliciesParams

NewQueryDeviceControlPoliciesParamsWithHTTPClient creates a new QueryDeviceControlPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryDeviceControlPoliciesParamsWithTimeout

func NewQueryDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *QueryDeviceControlPoliciesParams

NewQueryDeviceControlPoliciesParamsWithTimeout creates a new QueryDeviceControlPoliciesParams object with the ability to set a timeout on a request.

func (*QueryDeviceControlPoliciesParams) SetContext

SetContext adds the context to the query device control policies params

func (*QueryDeviceControlPoliciesParams) SetDefaults

func (o *QueryDeviceControlPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the query device control policies params (not the query body).

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

func (*QueryDeviceControlPoliciesParams) SetFilter

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

SetFilter adds the filter to the query device control policies params

func (*QueryDeviceControlPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query device control policies params

func (*QueryDeviceControlPoliciesParams) SetLimit

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

SetLimit adds the limit to the query device control policies params

func (*QueryDeviceControlPoliciesParams) SetOffset

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

SetOffset adds the offset to the query device control policies params

func (*QueryDeviceControlPoliciesParams) SetSort

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

SetSort adds the sort to the query device control policies params

func (*QueryDeviceControlPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the query device control policies params

func (*QueryDeviceControlPoliciesParams) WithContext

WithContext adds the context to the query device control policies params

func (*QueryDeviceControlPoliciesParams) WithDefaults

WithDefaults hydrates default values in the query device control policies params (not the query body).

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

func (*QueryDeviceControlPoliciesParams) WithFilter

WithFilter adds the filter to the query device control policies params

func (*QueryDeviceControlPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query device control policies params

func (*QueryDeviceControlPoliciesParams) WithLimit

WithLimit adds the limit to the query device control policies params

func (*QueryDeviceControlPoliciesParams) WithOffset

WithOffset adds the offset to the query device control policies params

func (*QueryDeviceControlPoliciesParams) WithSort

WithSort adds the sort to the query device control policies params

func (*QueryDeviceControlPoliciesParams) WithTimeout

WithTimeout adds the timeout to the query device control policies params

func (*QueryDeviceControlPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryDeviceControlPoliciesReader

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

QueryDeviceControlPoliciesReader is a Reader for the QueryDeviceControlPolicies structure.

func (*QueryDeviceControlPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryDeviceControlPoliciesTooManyRequests

type QueryDeviceControlPoliciesTooManyRequests 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
}
QueryDeviceControlPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryDeviceControlPoliciesTooManyRequests

func NewQueryDeviceControlPoliciesTooManyRequests() *QueryDeviceControlPoliciesTooManyRequests

NewQueryDeviceControlPoliciesTooManyRequests creates a QueryDeviceControlPoliciesTooManyRequests with default headers values

func (*QueryDeviceControlPoliciesTooManyRequests) Error

func (*QueryDeviceControlPoliciesTooManyRequests) GetPayload

type QueryDeviceControlPolicyMembersBadRequest

type QueryDeviceControlPolicyMembersBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Bad Request

func NewQueryDeviceControlPolicyMembersBadRequest

func NewQueryDeviceControlPolicyMembersBadRequest() *QueryDeviceControlPolicyMembersBadRequest

NewQueryDeviceControlPolicyMembersBadRequest creates a QueryDeviceControlPolicyMembersBadRequest with default headers values

func (*QueryDeviceControlPolicyMembersBadRequest) Error

func (*QueryDeviceControlPolicyMembersBadRequest) GetPayload

type QueryDeviceControlPolicyMembersDefault

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

OK

func NewQueryDeviceControlPolicyMembersDefault

func NewQueryDeviceControlPolicyMembersDefault(code int) *QueryDeviceControlPolicyMembersDefault

NewQueryDeviceControlPolicyMembersDefault creates a QueryDeviceControlPolicyMembersDefault with default headers values

func (*QueryDeviceControlPolicyMembersDefault) Code

Code gets the status code for the query device control policy members default response

func (*QueryDeviceControlPolicyMembersDefault) Error

func (*QueryDeviceControlPolicyMembersDefault) GetPayload

type QueryDeviceControlPolicyMembersForbidden

type QueryDeviceControlPolicyMembersForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Forbidden

func NewQueryDeviceControlPolicyMembersForbidden

func NewQueryDeviceControlPolicyMembersForbidden() *QueryDeviceControlPolicyMembersForbidden

NewQueryDeviceControlPolicyMembersForbidden creates a QueryDeviceControlPolicyMembersForbidden with default headers values

func (*QueryDeviceControlPolicyMembersForbidden) Error

func (*QueryDeviceControlPolicyMembersForbidden) GetPayload

type QueryDeviceControlPolicyMembersInternalServerError

type QueryDeviceControlPolicyMembersInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Internal Server Error

func NewQueryDeviceControlPolicyMembersInternalServerError

func NewQueryDeviceControlPolicyMembersInternalServerError() *QueryDeviceControlPolicyMembersInternalServerError

NewQueryDeviceControlPolicyMembersInternalServerError creates a QueryDeviceControlPolicyMembersInternalServerError with default headers values

func (*QueryDeviceControlPolicyMembersInternalServerError) Error

func (*QueryDeviceControlPolicyMembersInternalServerError) GetPayload

type QueryDeviceControlPolicyMembersNotFound

type QueryDeviceControlPolicyMembersNotFound struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Not Found

func NewQueryDeviceControlPolicyMembersNotFound

func NewQueryDeviceControlPolicyMembersNotFound() *QueryDeviceControlPolicyMembersNotFound

NewQueryDeviceControlPolicyMembersNotFound creates a QueryDeviceControlPolicyMembersNotFound with default headers values

func (*QueryDeviceControlPolicyMembersNotFound) Error

func (*QueryDeviceControlPolicyMembersNotFound) GetPayload

type QueryDeviceControlPolicyMembersOK

type QueryDeviceControlPolicyMembersOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

OK

func NewQueryDeviceControlPolicyMembersOK

func NewQueryDeviceControlPolicyMembersOK() *QueryDeviceControlPolicyMembersOK

NewQueryDeviceControlPolicyMembersOK creates a QueryDeviceControlPolicyMembersOK with default headers values

func (*QueryDeviceControlPolicyMembersOK) Error

func (*QueryDeviceControlPolicyMembersOK) GetPayload

type QueryDeviceControlPolicyMembersParams

type QueryDeviceControlPolicyMembersParams struct {

	/* Filter.

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

	/* ID.

	   The ID of the Device Control Policy to search for members of
	*/
	ID *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
	*/
	Sort *string

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

QueryDeviceControlPolicyMembersParams contains all the parameters to send to the API endpoint

for the query device control policy members operation.

Typically these are written to a http.Request.

func NewQueryDeviceControlPolicyMembersParams

func NewQueryDeviceControlPolicyMembersParams() *QueryDeviceControlPolicyMembersParams

NewQueryDeviceControlPolicyMembersParams creates a new QueryDeviceControlPolicyMembersParams 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 NewQueryDeviceControlPolicyMembersParamsWithContext

func NewQueryDeviceControlPolicyMembersParamsWithContext(ctx context.Context) *QueryDeviceControlPolicyMembersParams

NewQueryDeviceControlPolicyMembersParamsWithContext creates a new QueryDeviceControlPolicyMembersParams object with the ability to set a context for a request.

func NewQueryDeviceControlPolicyMembersParamsWithHTTPClient

func NewQueryDeviceControlPolicyMembersParamsWithHTTPClient(client *http.Client) *QueryDeviceControlPolicyMembersParams

NewQueryDeviceControlPolicyMembersParamsWithHTTPClient creates a new QueryDeviceControlPolicyMembersParams object with the ability to set a custom HTTPClient for a request.

func NewQueryDeviceControlPolicyMembersParamsWithTimeout

func NewQueryDeviceControlPolicyMembersParamsWithTimeout(timeout time.Duration) *QueryDeviceControlPolicyMembersParams

NewQueryDeviceControlPolicyMembersParamsWithTimeout creates a new QueryDeviceControlPolicyMembersParams object with the ability to set a timeout on a request.

func (*QueryDeviceControlPolicyMembersParams) SetContext

SetContext adds the context to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) SetDefaults

func (o *QueryDeviceControlPolicyMembersParams) SetDefaults()

SetDefaults hydrates default values in the query device control policy members params (not the query body).

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

func (*QueryDeviceControlPolicyMembersParams) SetFilter

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

SetFilter adds the filter to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) SetID

SetID adds the id to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) SetLimit

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

SetLimit adds the limit to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) SetOffset

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

SetOffset adds the offset to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) SetSort

SetSort adds the sort to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) SetTimeout

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

SetTimeout adds the timeout to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) WithContext

WithContext adds the context to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) WithDefaults

WithDefaults hydrates default values in the query device control policy members params (not the query body).

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

func (*QueryDeviceControlPolicyMembersParams) WithFilter

WithFilter adds the filter to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) WithID

WithID adds the id to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) WithLimit

WithLimit adds the limit to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) WithOffset

WithOffset adds the offset to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) WithSort

WithSort adds the sort to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) WithTimeout

WithTimeout adds the timeout to the query device control policy members params

func (*QueryDeviceControlPolicyMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryDeviceControlPolicyMembersReader

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

QueryDeviceControlPolicyMembersReader is a Reader for the QueryDeviceControlPolicyMembers structure.

func (*QueryDeviceControlPolicyMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryDeviceControlPolicyMembersTooManyRequests

type QueryDeviceControlPolicyMembersTooManyRequests 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
}
QueryDeviceControlPolicyMembersTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryDeviceControlPolicyMembersTooManyRequests

func NewQueryDeviceControlPolicyMembersTooManyRequests() *QueryDeviceControlPolicyMembersTooManyRequests

NewQueryDeviceControlPolicyMembersTooManyRequests creates a QueryDeviceControlPolicyMembersTooManyRequests with default headers values

func (*QueryDeviceControlPolicyMembersTooManyRequests) Error

func (*QueryDeviceControlPolicyMembersTooManyRequests) GetPayload

type SetDeviceControlPoliciesPrecedenceBadRequest

type SetDeviceControlPoliciesPrecedenceBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Bad Request

func NewSetDeviceControlPoliciesPrecedenceBadRequest

func NewSetDeviceControlPoliciesPrecedenceBadRequest() *SetDeviceControlPoliciesPrecedenceBadRequest

NewSetDeviceControlPoliciesPrecedenceBadRequest creates a SetDeviceControlPoliciesPrecedenceBadRequest with default headers values

func (*SetDeviceControlPoliciesPrecedenceBadRequest) Error

func (*SetDeviceControlPoliciesPrecedenceBadRequest) GetPayload

type SetDeviceControlPoliciesPrecedenceDefault

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

OK

func NewSetDeviceControlPoliciesPrecedenceDefault

func NewSetDeviceControlPoliciesPrecedenceDefault(code int) *SetDeviceControlPoliciesPrecedenceDefault

NewSetDeviceControlPoliciesPrecedenceDefault creates a SetDeviceControlPoliciesPrecedenceDefault with default headers values

func (*SetDeviceControlPoliciesPrecedenceDefault) Code

Code gets the status code for the set device control policies precedence default response

func (*SetDeviceControlPoliciesPrecedenceDefault) Error

func (*SetDeviceControlPoliciesPrecedenceDefault) GetPayload

type SetDeviceControlPoliciesPrecedenceForbidden

type SetDeviceControlPoliciesPrecedenceForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Forbidden

func NewSetDeviceControlPoliciesPrecedenceForbidden

func NewSetDeviceControlPoliciesPrecedenceForbidden() *SetDeviceControlPoliciesPrecedenceForbidden

NewSetDeviceControlPoliciesPrecedenceForbidden creates a SetDeviceControlPoliciesPrecedenceForbidden with default headers values

func (*SetDeviceControlPoliciesPrecedenceForbidden) Error

func (*SetDeviceControlPoliciesPrecedenceForbidden) GetPayload

type SetDeviceControlPoliciesPrecedenceInternalServerError

type SetDeviceControlPoliciesPrecedenceInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Internal Server Error

func NewSetDeviceControlPoliciesPrecedenceInternalServerError

func NewSetDeviceControlPoliciesPrecedenceInternalServerError() *SetDeviceControlPoliciesPrecedenceInternalServerError

NewSetDeviceControlPoliciesPrecedenceInternalServerError creates a SetDeviceControlPoliciesPrecedenceInternalServerError with default headers values

func (*SetDeviceControlPoliciesPrecedenceInternalServerError) Error

func (*SetDeviceControlPoliciesPrecedenceInternalServerError) GetPayload

type SetDeviceControlPoliciesPrecedenceOK

type SetDeviceControlPoliciesPrecedenceOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

OK

func NewSetDeviceControlPoliciesPrecedenceOK

func NewSetDeviceControlPoliciesPrecedenceOK() *SetDeviceControlPoliciesPrecedenceOK

NewSetDeviceControlPoliciesPrecedenceOK creates a SetDeviceControlPoliciesPrecedenceOK with default headers values

func (*SetDeviceControlPoliciesPrecedenceOK) Error

func (*SetDeviceControlPoliciesPrecedenceOK) GetPayload

type SetDeviceControlPoliciesPrecedenceParams

type SetDeviceControlPoliciesPrecedenceParams struct {

	// Body.
	Body *models.RequestsSetPolicyPrecedenceReqV1

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

SetDeviceControlPoliciesPrecedenceParams contains all the parameters to send to the API endpoint

for the set device control policies precedence operation.

Typically these are written to a http.Request.

func NewSetDeviceControlPoliciesPrecedenceParams

func NewSetDeviceControlPoliciesPrecedenceParams() *SetDeviceControlPoliciesPrecedenceParams

NewSetDeviceControlPoliciesPrecedenceParams creates a new SetDeviceControlPoliciesPrecedenceParams 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 NewSetDeviceControlPoliciesPrecedenceParamsWithContext

func NewSetDeviceControlPoliciesPrecedenceParamsWithContext(ctx context.Context) *SetDeviceControlPoliciesPrecedenceParams

NewSetDeviceControlPoliciesPrecedenceParamsWithContext creates a new SetDeviceControlPoliciesPrecedenceParams object with the ability to set a context for a request.

func NewSetDeviceControlPoliciesPrecedenceParamsWithHTTPClient

func NewSetDeviceControlPoliciesPrecedenceParamsWithHTTPClient(client *http.Client) *SetDeviceControlPoliciesPrecedenceParams

NewSetDeviceControlPoliciesPrecedenceParamsWithHTTPClient creates a new SetDeviceControlPoliciesPrecedenceParams object with the ability to set a custom HTTPClient for a request.

func NewSetDeviceControlPoliciesPrecedenceParamsWithTimeout

func NewSetDeviceControlPoliciesPrecedenceParamsWithTimeout(timeout time.Duration) *SetDeviceControlPoliciesPrecedenceParams

NewSetDeviceControlPoliciesPrecedenceParamsWithTimeout creates a new SetDeviceControlPoliciesPrecedenceParams object with the ability to set a timeout on a request.

func (*SetDeviceControlPoliciesPrecedenceParams) SetBody

SetBody adds the body to the set device control policies precedence params

func (*SetDeviceControlPoliciesPrecedenceParams) SetContext

SetContext adds the context to the set device control policies precedence params

func (*SetDeviceControlPoliciesPrecedenceParams) SetDefaults

SetDefaults hydrates default values in the set device control policies precedence params (not the query body).

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

func (*SetDeviceControlPoliciesPrecedenceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set device control policies precedence params

func (*SetDeviceControlPoliciesPrecedenceParams) SetTimeout

SetTimeout adds the timeout to the set device control policies precedence params

func (*SetDeviceControlPoliciesPrecedenceParams) WithBody

WithBody adds the body to the set device control policies precedence params

func (*SetDeviceControlPoliciesPrecedenceParams) WithContext

WithContext adds the context to the set device control policies precedence params

func (*SetDeviceControlPoliciesPrecedenceParams) WithDefaults

WithDefaults hydrates default values in the set device control policies precedence params (not the query body).

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

func (*SetDeviceControlPoliciesPrecedenceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set device control policies precedence params

func (*SetDeviceControlPoliciesPrecedenceParams) WithTimeout

WithTimeout adds the timeout to the set device control policies precedence params

func (*SetDeviceControlPoliciesPrecedenceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetDeviceControlPoliciesPrecedenceReader

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

SetDeviceControlPoliciesPrecedenceReader is a Reader for the SetDeviceControlPoliciesPrecedence structure.

func (*SetDeviceControlPoliciesPrecedenceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetDeviceControlPoliciesPrecedenceTooManyRequests

type SetDeviceControlPoliciesPrecedenceTooManyRequests 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
}
SetDeviceControlPoliciesPrecedenceTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewSetDeviceControlPoliciesPrecedenceTooManyRequests

func NewSetDeviceControlPoliciesPrecedenceTooManyRequests() *SetDeviceControlPoliciesPrecedenceTooManyRequests

NewSetDeviceControlPoliciesPrecedenceTooManyRequests creates a SetDeviceControlPoliciesPrecedenceTooManyRequests with default headers values

func (*SetDeviceControlPoliciesPrecedenceTooManyRequests) Error

func (*SetDeviceControlPoliciesPrecedenceTooManyRequests) GetPayload

type UpdateDeviceControlPoliciesBadRequest

type UpdateDeviceControlPoliciesBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Bad Request

func NewUpdateDeviceControlPoliciesBadRequest

func NewUpdateDeviceControlPoliciesBadRequest() *UpdateDeviceControlPoliciesBadRequest

NewUpdateDeviceControlPoliciesBadRequest creates a UpdateDeviceControlPoliciesBadRequest with default headers values

func (*UpdateDeviceControlPoliciesBadRequest) Error

func (*UpdateDeviceControlPoliciesBadRequest) GetPayload

type UpdateDeviceControlPoliciesDefault

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

OK

func NewUpdateDeviceControlPoliciesDefault

func NewUpdateDeviceControlPoliciesDefault(code int) *UpdateDeviceControlPoliciesDefault

NewUpdateDeviceControlPoliciesDefault creates a UpdateDeviceControlPoliciesDefault with default headers values

func (*UpdateDeviceControlPoliciesDefault) Code

Code gets the status code for the update device control policies default response

func (*UpdateDeviceControlPoliciesDefault) Error

func (*UpdateDeviceControlPoliciesDefault) GetPayload

type UpdateDeviceControlPoliciesForbidden

type UpdateDeviceControlPoliciesForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Forbidden

func NewUpdateDeviceControlPoliciesForbidden

func NewUpdateDeviceControlPoliciesForbidden() *UpdateDeviceControlPoliciesForbidden

NewUpdateDeviceControlPoliciesForbidden creates a UpdateDeviceControlPoliciesForbidden with default headers values

func (*UpdateDeviceControlPoliciesForbidden) Error

func (*UpdateDeviceControlPoliciesForbidden) GetPayload

type UpdateDeviceControlPoliciesInternalServerError

type UpdateDeviceControlPoliciesInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

Internal Server Error

func NewUpdateDeviceControlPoliciesInternalServerError

func NewUpdateDeviceControlPoliciesInternalServerError() *UpdateDeviceControlPoliciesInternalServerError

NewUpdateDeviceControlPoliciesInternalServerError creates a UpdateDeviceControlPoliciesInternalServerError with default headers values

func (*UpdateDeviceControlPoliciesInternalServerError) Error

func (*UpdateDeviceControlPoliciesInternalServerError) GetPayload

type UpdateDeviceControlPoliciesNotFound

type UpdateDeviceControlPoliciesNotFound struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.ResponsesDeviceControlPoliciesV1
}
UpdateDeviceControlPoliciesNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateDeviceControlPoliciesNotFound

func NewUpdateDeviceControlPoliciesNotFound() *UpdateDeviceControlPoliciesNotFound

NewUpdateDeviceControlPoliciesNotFound creates a UpdateDeviceControlPoliciesNotFound with default headers values

func (*UpdateDeviceControlPoliciesNotFound) Error

func (*UpdateDeviceControlPoliciesNotFound) GetPayload

type UpdateDeviceControlPoliciesOK

type UpdateDeviceControlPoliciesOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

OK

func NewUpdateDeviceControlPoliciesOK

func NewUpdateDeviceControlPoliciesOK() *UpdateDeviceControlPoliciesOK

NewUpdateDeviceControlPoliciesOK creates a UpdateDeviceControlPoliciesOK with default headers values

func (*UpdateDeviceControlPoliciesOK) Error

func (*UpdateDeviceControlPoliciesOK) GetPayload

type UpdateDeviceControlPoliciesParams

type UpdateDeviceControlPoliciesParams struct {

	// Body.
	Body *models.RequestsUpdateDeviceControlPoliciesV1

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

UpdateDeviceControlPoliciesParams contains all the parameters to send to the API endpoint

for the update device control policies operation.

Typically these are written to a http.Request.

func NewUpdateDeviceControlPoliciesParams

func NewUpdateDeviceControlPoliciesParams() *UpdateDeviceControlPoliciesParams

NewUpdateDeviceControlPoliciesParams creates a new UpdateDeviceControlPoliciesParams 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 NewUpdateDeviceControlPoliciesParamsWithContext

func NewUpdateDeviceControlPoliciesParamsWithContext(ctx context.Context) *UpdateDeviceControlPoliciesParams

NewUpdateDeviceControlPoliciesParamsWithContext creates a new UpdateDeviceControlPoliciesParams object with the ability to set a context for a request.

func NewUpdateDeviceControlPoliciesParamsWithHTTPClient

func NewUpdateDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *UpdateDeviceControlPoliciesParams

NewUpdateDeviceControlPoliciesParamsWithHTTPClient creates a new UpdateDeviceControlPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDeviceControlPoliciesParamsWithTimeout

func NewUpdateDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *UpdateDeviceControlPoliciesParams

NewUpdateDeviceControlPoliciesParamsWithTimeout creates a new UpdateDeviceControlPoliciesParams object with the ability to set a timeout on a request.

func (*UpdateDeviceControlPoliciesParams) SetBody

SetBody adds the body to the update device control policies params

func (*UpdateDeviceControlPoliciesParams) SetContext

SetContext adds the context to the update device control policies params

func (*UpdateDeviceControlPoliciesParams) SetDefaults

func (o *UpdateDeviceControlPoliciesParams) SetDefaults()

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

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

func (*UpdateDeviceControlPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update device control policies params

func (*UpdateDeviceControlPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the update device control policies params

func (*UpdateDeviceControlPoliciesParams) WithBody

WithBody adds the body to the update device control policies params

func (*UpdateDeviceControlPoliciesParams) WithContext

WithContext adds the context to the update device control policies params

func (*UpdateDeviceControlPoliciesParams) WithDefaults

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

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

func (*UpdateDeviceControlPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update device control policies params

func (*UpdateDeviceControlPoliciesParams) WithTimeout

WithTimeout adds the timeout to the update device control policies params

func (*UpdateDeviceControlPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceControlPoliciesReader

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

UpdateDeviceControlPoliciesReader is a Reader for the UpdateDeviceControlPolicies structure.

func (*UpdateDeviceControlPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDeviceControlPoliciesTooManyRequests

type UpdateDeviceControlPoliciesTooManyRequests 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
}
UpdateDeviceControlPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateDeviceControlPoliciesTooManyRequests

func NewUpdateDeviceControlPoliciesTooManyRequests() *UpdateDeviceControlPoliciesTooManyRequests

NewUpdateDeviceControlPoliciesTooManyRequests creates a UpdateDeviceControlPoliciesTooManyRequests with default headers values

func (*UpdateDeviceControlPoliciesTooManyRequests) Error

func (*UpdateDeviceControlPoliciesTooManyRequests) GetPayload

Jump to

Keyboard shortcuts

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