Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDeviceControlPolicies(params *CreateDeviceControlPoliciesParams, opts ...ClientOption) (*CreateDeviceControlPoliciesCreated, error)
- func (a *Client) DeleteDeviceControlPolicies(params *DeleteDeviceControlPoliciesParams, opts ...ClientOption) (*DeleteDeviceControlPoliciesOK, error)
- func (a *Client) GetDeviceControlPolicies(params *GetDeviceControlPoliciesParams, opts ...ClientOption) (*GetDeviceControlPoliciesOK, error)
- func (a *Client) PerformDeviceControlPoliciesAction(params *PerformDeviceControlPoliciesActionParams, opts ...ClientOption) (*PerformDeviceControlPoliciesActionOK, error)
- func (a *Client) QueryCombinedDeviceControlPolicies(params *QueryCombinedDeviceControlPoliciesParams, opts ...ClientOption) (*QueryCombinedDeviceControlPoliciesOK, error)
- func (a *Client) QueryCombinedDeviceControlPolicyMembers(params *QueryCombinedDeviceControlPolicyMembersParams, opts ...ClientOption) (*QueryCombinedDeviceControlPolicyMembersOK, error)
- func (a *Client) QueryDeviceControlPolicies(params *QueryDeviceControlPoliciesParams, opts ...ClientOption) (*QueryDeviceControlPoliciesOK, error)
- func (a *Client) QueryDeviceControlPolicyMembers(params *QueryDeviceControlPolicyMembersParams, opts ...ClientOption) (*QueryDeviceControlPolicyMembersOK, error)
- func (a *Client) SetDeviceControlPoliciesPrecedence(params *SetDeviceControlPoliciesPrecedenceParams, opts ...ClientOption) (*SetDeviceControlPoliciesPrecedenceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDeviceControlPolicies(params *UpdateDeviceControlPoliciesParams, opts ...ClientOption) (*UpdateDeviceControlPoliciesOK, error)
- type ClientOption
- type ClientService
- type CreateDeviceControlPoliciesBadRequest
- type CreateDeviceControlPoliciesCreated
- type CreateDeviceControlPoliciesForbidden
- type CreateDeviceControlPoliciesInternalServerError
- type CreateDeviceControlPoliciesNotFound
- type CreateDeviceControlPoliciesParams
- func NewCreateDeviceControlPoliciesParams() *CreateDeviceControlPoliciesParams
- func NewCreateDeviceControlPoliciesParamsWithContext(ctx context.Context) *CreateDeviceControlPoliciesParams
- func NewCreateDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *CreateDeviceControlPoliciesParams
- func NewCreateDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *CreateDeviceControlPoliciesParams
- func (o *CreateDeviceControlPoliciesParams) SetBody(body *models.RequestsCreateDeviceControlPoliciesV1)
- func (o *CreateDeviceControlPoliciesParams) SetContext(ctx context.Context)
- func (o *CreateDeviceControlPoliciesParams) SetDefaults()
- func (o *CreateDeviceControlPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeviceControlPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeviceControlPoliciesParams) WithBody(body *models.RequestsCreateDeviceControlPoliciesV1) *CreateDeviceControlPoliciesParams
- func (o *CreateDeviceControlPoliciesParams) WithContext(ctx context.Context) *CreateDeviceControlPoliciesParams
- func (o *CreateDeviceControlPoliciesParams) WithDefaults() *CreateDeviceControlPoliciesParams
- func (o *CreateDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *CreateDeviceControlPoliciesParams
- func (o *CreateDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *CreateDeviceControlPoliciesParams
- func (o *CreateDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeviceControlPoliciesReader
- type CreateDeviceControlPoliciesTooManyRequests
- type DeleteDeviceControlPoliciesDefault
- type DeleteDeviceControlPoliciesForbidden
- type DeleteDeviceControlPoliciesInternalServerError
- type DeleteDeviceControlPoliciesNotFound
- type DeleteDeviceControlPoliciesOK
- type DeleteDeviceControlPoliciesParams
- func NewDeleteDeviceControlPoliciesParams() *DeleteDeviceControlPoliciesParams
- func NewDeleteDeviceControlPoliciesParamsWithContext(ctx context.Context) *DeleteDeviceControlPoliciesParams
- func NewDeleteDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *DeleteDeviceControlPoliciesParams
- func NewDeleteDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *DeleteDeviceControlPoliciesParams
- func (o *DeleteDeviceControlPoliciesParams) SetContext(ctx context.Context)
- func (o *DeleteDeviceControlPoliciesParams) SetDefaults()
- func (o *DeleteDeviceControlPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeviceControlPoliciesParams) SetIds(ids []string)
- func (o *DeleteDeviceControlPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeviceControlPoliciesParams) WithContext(ctx context.Context) *DeleteDeviceControlPoliciesParams
- func (o *DeleteDeviceControlPoliciesParams) WithDefaults() *DeleteDeviceControlPoliciesParams
- func (o *DeleteDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *DeleteDeviceControlPoliciesParams
- func (o *DeleteDeviceControlPoliciesParams) WithIds(ids []string) *DeleteDeviceControlPoliciesParams
- func (o *DeleteDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *DeleteDeviceControlPoliciesParams
- func (o *DeleteDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeviceControlPoliciesReader
- type DeleteDeviceControlPoliciesTooManyRequests
- type GetDeviceControlPoliciesDefault
- type GetDeviceControlPoliciesForbidden
- type GetDeviceControlPoliciesInternalServerError
- type GetDeviceControlPoliciesNotFound
- type GetDeviceControlPoliciesOK
- type GetDeviceControlPoliciesParams
- func NewGetDeviceControlPoliciesParams() *GetDeviceControlPoliciesParams
- func NewGetDeviceControlPoliciesParamsWithContext(ctx context.Context) *GetDeviceControlPoliciesParams
- func NewGetDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *GetDeviceControlPoliciesParams
- func NewGetDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *GetDeviceControlPoliciesParams
- func (o *GetDeviceControlPoliciesParams) SetContext(ctx context.Context)
- func (o *GetDeviceControlPoliciesParams) SetDefaults()
- func (o *GetDeviceControlPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceControlPoliciesParams) SetIds(ids []string)
- func (o *GetDeviceControlPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceControlPoliciesParams) WithContext(ctx context.Context) *GetDeviceControlPoliciesParams
- func (o *GetDeviceControlPoliciesParams) WithDefaults() *GetDeviceControlPoliciesParams
- func (o *GetDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *GetDeviceControlPoliciesParams
- func (o *GetDeviceControlPoliciesParams) WithIds(ids []string) *GetDeviceControlPoliciesParams
- func (o *GetDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *GetDeviceControlPoliciesParams
- func (o *GetDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceControlPoliciesReader
- type GetDeviceControlPoliciesTooManyRequests
- type PerformDeviceControlPoliciesActionBadRequest
- type PerformDeviceControlPoliciesActionDefault
- type PerformDeviceControlPoliciesActionForbidden
- type PerformDeviceControlPoliciesActionInternalServerError
- type PerformDeviceControlPoliciesActionNotFound
- type PerformDeviceControlPoliciesActionOK
- type PerformDeviceControlPoliciesActionParams
- func NewPerformDeviceControlPoliciesActionParams() *PerformDeviceControlPoliciesActionParams
- func NewPerformDeviceControlPoliciesActionParamsWithContext(ctx context.Context) *PerformDeviceControlPoliciesActionParams
- func NewPerformDeviceControlPoliciesActionParamsWithHTTPClient(client *http.Client) *PerformDeviceControlPoliciesActionParams
- func NewPerformDeviceControlPoliciesActionParamsWithTimeout(timeout time.Duration) *PerformDeviceControlPoliciesActionParams
- func (o *PerformDeviceControlPoliciesActionParams) SetActionName(actionName string)
- func (o *PerformDeviceControlPoliciesActionParams) SetBody(body *models.MsaEntityActionRequestV2)
- func (o *PerformDeviceControlPoliciesActionParams) SetContext(ctx context.Context)
- func (o *PerformDeviceControlPoliciesActionParams) SetDefaults()
- func (o *PerformDeviceControlPoliciesActionParams) SetHTTPClient(client *http.Client)
- func (o *PerformDeviceControlPoliciesActionParams) SetTimeout(timeout time.Duration)
- func (o *PerformDeviceControlPoliciesActionParams) WithActionName(actionName string) *PerformDeviceControlPoliciesActionParams
- func (o *PerformDeviceControlPoliciesActionParams) WithBody(body *models.MsaEntityActionRequestV2) *PerformDeviceControlPoliciesActionParams
- func (o *PerformDeviceControlPoliciesActionParams) WithContext(ctx context.Context) *PerformDeviceControlPoliciesActionParams
- func (o *PerformDeviceControlPoliciesActionParams) WithDefaults() *PerformDeviceControlPoliciesActionParams
- func (o *PerformDeviceControlPoliciesActionParams) WithHTTPClient(client *http.Client) *PerformDeviceControlPoliciesActionParams
- func (o *PerformDeviceControlPoliciesActionParams) WithTimeout(timeout time.Duration) *PerformDeviceControlPoliciesActionParams
- func (o *PerformDeviceControlPoliciesActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PerformDeviceControlPoliciesActionReader
- type PerformDeviceControlPoliciesActionTooManyRequests
- type QueryCombinedDeviceControlPoliciesBadRequest
- type QueryCombinedDeviceControlPoliciesDefault
- type QueryCombinedDeviceControlPoliciesForbidden
- type QueryCombinedDeviceControlPoliciesInternalServerError
- type QueryCombinedDeviceControlPoliciesOK
- type QueryCombinedDeviceControlPoliciesParams
- func NewQueryCombinedDeviceControlPoliciesParams() *QueryCombinedDeviceControlPoliciesParams
- func NewQueryCombinedDeviceControlPoliciesParamsWithContext(ctx context.Context) *QueryCombinedDeviceControlPoliciesParams
- func NewQueryCombinedDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *QueryCombinedDeviceControlPoliciesParams
- func NewQueryCombinedDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *QueryCombinedDeviceControlPoliciesParams
- func (o *QueryCombinedDeviceControlPoliciesParams) SetContext(ctx context.Context)
- func (o *QueryCombinedDeviceControlPoliciesParams) SetDefaults()
- func (o *QueryCombinedDeviceControlPoliciesParams) SetFilter(filter *string)
- func (o *QueryCombinedDeviceControlPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *QueryCombinedDeviceControlPoliciesParams) SetLimit(limit *int64)
- func (o *QueryCombinedDeviceControlPoliciesParams) SetOffset(offset *int64)
- func (o *QueryCombinedDeviceControlPoliciesParams) SetSort(sort *string)
- func (o *QueryCombinedDeviceControlPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *QueryCombinedDeviceControlPoliciesParams) WithContext(ctx context.Context) *QueryCombinedDeviceControlPoliciesParams
- func (o *QueryCombinedDeviceControlPoliciesParams) WithDefaults() *QueryCombinedDeviceControlPoliciesParams
- func (o *QueryCombinedDeviceControlPoliciesParams) WithFilter(filter *string) *QueryCombinedDeviceControlPoliciesParams
- func (o *QueryCombinedDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *QueryCombinedDeviceControlPoliciesParams
- func (o *QueryCombinedDeviceControlPoliciesParams) WithLimit(limit *int64) *QueryCombinedDeviceControlPoliciesParams
- func (o *QueryCombinedDeviceControlPoliciesParams) WithOffset(offset *int64) *QueryCombinedDeviceControlPoliciesParams
- func (o *QueryCombinedDeviceControlPoliciesParams) WithSort(sort *string) *QueryCombinedDeviceControlPoliciesParams
- func (o *QueryCombinedDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *QueryCombinedDeviceControlPoliciesParams
- func (o *QueryCombinedDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryCombinedDeviceControlPoliciesReader
- type QueryCombinedDeviceControlPoliciesTooManyRequests
- type QueryCombinedDeviceControlPolicyMembersBadRequest
- type QueryCombinedDeviceControlPolicyMembersDefault
- type QueryCombinedDeviceControlPolicyMembersForbidden
- type QueryCombinedDeviceControlPolicyMembersInternalServerError
- type QueryCombinedDeviceControlPolicyMembersNotFound
- type QueryCombinedDeviceControlPolicyMembersOK
- type QueryCombinedDeviceControlPolicyMembersParams
- func NewQueryCombinedDeviceControlPolicyMembersParams() *QueryCombinedDeviceControlPolicyMembersParams
- func NewQueryCombinedDeviceControlPolicyMembersParamsWithContext(ctx context.Context) *QueryCombinedDeviceControlPolicyMembersParams
- func NewQueryCombinedDeviceControlPolicyMembersParamsWithHTTPClient(client *http.Client) *QueryCombinedDeviceControlPolicyMembersParams
- func NewQueryCombinedDeviceControlPolicyMembersParamsWithTimeout(timeout time.Duration) *QueryCombinedDeviceControlPolicyMembersParams
- func (o *QueryCombinedDeviceControlPolicyMembersParams) SetContext(ctx context.Context)
- func (o *QueryCombinedDeviceControlPolicyMembersParams) SetDefaults()
- func (o *QueryCombinedDeviceControlPolicyMembersParams) SetFilter(filter *string)
- func (o *QueryCombinedDeviceControlPolicyMembersParams) SetHTTPClient(client *http.Client)
- func (o *QueryCombinedDeviceControlPolicyMembersParams) SetID(id *string)
- func (o *QueryCombinedDeviceControlPolicyMembersParams) SetLimit(limit *int64)
- func (o *QueryCombinedDeviceControlPolicyMembersParams) SetOffset(offset *int64)
- func (o *QueryCombinedDeviceControlPolicyMembersParams) SetSort(sort *string)
- func (o *QueryCombinedDeviceControlPolicyMembersParams) SetTimeout(timeout time.Duration)
- func (o *QueryCombinedDeviceControlPolicyMembersParams) WithContext(ctx context.Context) *QueryCombinedDeviceControlPolicyMembersParams
- func (o *QueryCombinedDeviceControlPolicyMembersParams) WithDefaults() *QueryCombinedDeviceControlPolicyMembersParams
- func (o *QueryCombinedDeviceControlPolicyMembersParams) WithFilter(filter *string) *QueryCombinedDeviceControlPolicyMembersParams
- func (o *QueryCombinedDeviceControlPolicyMembersParams) WithHTTPClient(client *http.Client) *QueryCombinedDeviceControlPolicyMembersParams
- func (o *QueryCombinedDeviceControlPolicyMembersParams) WithID(id *string) *QueryCombinedDeviceControlPolicyMembersParams
- func (o *QueryCombinedDeviceControlPolicyMembersParams) WithLimit(limit *int64) *QueryCombinedDeviceControlPolicyMembersParams
- func (o *QueryCombinedDeviceControlPolicyMembersParams) WithOffset(offset *int64) *QueryCombinedDeviceControlPolicyMembersParams
- func (o *QueryCombinedDeviceControlPolicyMembersParams) WithSort(sort *string) *QueryCombinedDeviceControlPolicyMembersParams
- func (o *QueryCombinedDeviceControlPolicyMembersParams) WithTimeout(timeout time.Duration) *QueryCombinedDeviceControlPolicyMembersParams
- func (o *QueryCombinedDeviceControlPolicyMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryCombinedDeviceControlPolicyMembersReader
- type QueryCombinedDeviceControlPolicyMembersTooManyRequests
- type QueryDeviceControlPoliciesBadRequest
- type QueryDeviceControlPoliciesDefault
- type QueryDeviceControlPoliciesForbidden
- type QueryDeviceControlPoliciesInternalServerError
- type QueryDeviceControlPoliciesOK
- type QueryDeviceControlPoliciesParams
- func NewQueryDeviceControlPoliciesParams() *QueryDeviceControlPoliciesParams
- func NewQueryDeviceControlPoliciesParamsWithContext(ctx context.Context) *QueryDeviceControlPoliciesParams
- func NewQueryDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *QueryDeviceControlPoliciesParams
- func NewQueryDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *QueryDeviceControlPoliciesParams
- func (o *QueryDeviceControlPoliciesParams) SetContext(ctx context.Context)
- func (o *QueryDeviceControlPoliciesParams) SetDefaults()
- func (o *QueryDeviceControlPoliciesParams) SetFilter(filter *string)
- func (o *QueryDeviceControlPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *QueryDeviceControlPoliciesParams) SetLimit(limit *int64)
- func (o *QueryDeviceControlPoliciesParams) SetOffset(offset *int64)
- func (o *QueryDeviceControlPoliciesParams) SetSort(sort *string)
- func (o *QueryDeviceControlPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *QueryDeviceControlPoliciesParams) WithContext(ctx context.Context) *QueryDeviceControlPoliciesParams
- func (o *QueryDeviceControlPoliciesParams) WithDefaults() *QueryDeviceControlPoliciesParams
- func (o *QueryDeviceControlPoliciesParams) WithFilter(filter *string) *QueryDeviceControlPoliciesParams
- func (o *QueryDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *QueryDeviceControlPoliciesParams
- func (o *QueryDeviceControlPoliciesParams) WithLimit(limit *int64) *QueryDeviceControlPoliciesParams
- func (o *QueryDeviceControlPoliciesParams) WithOffset(offset *int64) *QueryDeviceControlPoliciesParams
- func (o *QueryDeviceControlPoliciesParams) WithSort(sort *string) *QueryDeviceControlPoliciesParams
- func (o *QueryDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *QueryDeviceControlPoliciesParams
- func (o *QueryDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryDeviceControlPoliciesReader
- type QueryDeviceControlPoliciesTooManyRequests
- type QueryDeviceControlPolicyMembersBadRequest
- type QueryDeviceControlPolicyMembersDefault
- type QueryDeviceControlPolicyMembersForbidden
- type QueryDeviceControlPolicyMembersInternalServerError
- type QueryDeviceControlPolicyMembersNotFound
- type QueryDeviceControlPolicyMembersOK
- type QueryDeviceControlPolicyMembersParams
- func NewQueryDeviceControlPolicyMembersParams() *QueryDeviceControlPolicyMembersParams
- func NewQueryDeviceControlPolicyMembersParamsWithContext(ctx context.Context) *QueryDeviceControlPolicyMembersParams
- func NewQueryDeviceControlPolicyMembersParamsWithHTTPClient(client *http.Client) *QueryDeviceControlPolicyMembersParams
- func NewQueryDeviceControlPolicyMembersParamsWithTimeout(timeout time.Duration) *QueryDeviceControlPolicyMembersParams
- func (o *QueryDeviceControlPolicyMembersParams) SetContext(ctx context.Context)
- func (o *QueryDeviceControlPolicyMembersParams) SetDefaults()
- func (o *QueryDeviceControlPolicyMembersParams) SetFilter(filter *string)
- func (o *QueryDeviceControlPolicyMembersParams) SetHTTPClient(client *http.Client)
- func (o *QueryDeviceControlPolicyMembersParams) SetID(id *string)
- func (o *QueryDeviceControlPolicyMembersParams) SetLimit(limit *int64)
- func (o *QueryDeviceControlPolicyMembersParams) SetOffset(offset *int64)
- func (o *QueryDeviceControlPolicyMembersParams) SetSort(sort *string)
- func (o *QueryDeviceControlPolicyMembersParams) SetTimeout(timeout time.Duration)
- func (o *QueryDeviceControlPolicyMembersParams) WithContext(ctx context.Context) *QueryDeviceControlPolicyMembersParams
- func (o *QueryDeviceControlPolicyMembersParams) WithDefaults() *QueryDeviceControlPolicyMembersParams
- func (o *QueryDeviceControlPolicyMembersParams) WithFilter(filter *string) *QueryDeviceControlPolicyMembersParams
- func (o *QueryDeviceControlPolicyMembersParams) WithHTTPClient(client *http.Client) *QueryDeviceControlPolicyMembersParams
- func (o *QueryDeviceControlPolicyMembersParams) WithID(id *string) *QueryDeviceControlPolicyMembersParams
- func (o *QueryDeviceControlPolicyMembersParams) WithLimit(limit *int64) *QueryDeviceControlPolicyMembersParams
- func (o *QueryDeviceControlPolicyMembersParams) WithOffset(offset *int64) *QueryDeviceControlPolicyMembersParams
- func (o *QueryDeviceControlPolicyMembersParams) WithSort(sort *string) *QueryDeviceControlPolicyMembersParams
- func (o *QueryDeviceControlPolicyMembersParams) WithTimeout(timeout time.Duration) *QueryDeviceControlPolicyMembersParams
- func (o *QueryDeviceControlPolicyMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryDeviceControlPolicyMembersReader
- type QueryDeviceControlPolicyMembersTooManyRequests
- type SetDeviceControlPoliciesPrecedenceBadRequest
- type SetDeviceControlPoliciesPrecedenceDefault
- type SetDeviceControlPoliciesPrecedenceForbidden
- type SetDeviceControlPoliciesPrecedenceInternalServerError
- type SetDeviceControlPoliciesPrecedenceOK
- type SetDeviceControlPoliciesPrecedenceParams
- func NewSetDeviceControlPoliciesPrecedenceParams() *SetDeviceControlPoliciesPrecedenceParams
- func NewSetDeviceControlPoliciesPrecedenceParamsWithContext(ctx context.Context) *SetDeviceControlPoliciesPrecedenceParams
- func NewSetDeviceControlPoliciesPrecedenceParamsWithHTTPClient(client *http.Client) *SetDeviceControlPoliciesPrecedenceParams
- func NewSetDeviceControlPoliciesPrecedenceParamsWithTimeout(timeout time.Duration) *SetDeviceControlPoliciesPrecedenceParams
- func (o *SetDeviceControlPoliciesPrecedenceParams) SetBody(body *models.RequestsSetPolicyPrecedenceReqV1)
- func (o *SetDeviceControlPoliciesPrecedenceParams) SetContext(ctx context.Context)
- func (o *SetDeviceControlPoliciesPrecedenceParams) SetDefaults()
- func (o *SetDeviceControlPoliciesPrecedenceParams) SetHTTPClient(client *http.Client)
- func (o *SetDeviceControlPoliciesPrecedenceParams) SetTimeout(timeout time.Duration)
- func (o *SetDeviceControlPoliciesPrecedenceParams) WithBody(body *models.RequestsSetPolicyPrecedenceReqV1) *SetDeviceControlPoliciesPrecedenceParams
- func (o *SetDeviceControlPoliciesPrecedenceParams) WithContext(ctx context.Context) *SetDeviceControlPoliciesPrecedenceParams
- func (o *SetDeviceControlPoliciesPrecedenceParams) WithDefaults() *SetDeviceControlPoliciesPrecedenceParams
- func (o *SetDeviceControlPoliciesPrecedenceParams) WithHTTPClient(client *http.Client) *SetDeviceControlPoliciesPrecedenceParams
- func (o *SetDeviceControlPoliciesPrecedenceParams) WithTimeout(timeout time.Duration) *SetDeviceControlPoliciesPrecedenceParams
- func (o *SetDeviceControlPoliciesPrecedenceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetDeviceControlPoliciesPrecedenceReader
- type SetDeviceControlPoliciesPrecedenceTooManyRequests
- type UpdateDeviceControlPoliciesBadRequest
- type UpdateDeviceControlPoliciesDefault
- type UpdateDeviceControlPoliciesForbidden
- type UpdateDeviceControlPoliciesInternalServerError
- type UpdateDeviceControlPoliciesNotFound
- type UpdateDeviceControlPoliciesOK
- type UpdateDeviceControlPoliciesParams
- func NewUpdateDeviceControlPoliciesParams() *UpdateDeviceControlPoliciesParams
- func NewUpdateDeviceControlPoliciesParamsWithContext(ctx context.Context) *UpdateDeviceControlPoliciesParams
- func NewUpdateDeviceControlPoliciesParamsWithHTTPClient(client *http.Client) *UpdateDeviceControlPoliciesParams
- func NewUpdateDeviceControlPoliciesParamsWithTimeout(timeout time.Duration) *UpdateDeviceControlPoliciesParams
- func (o *UpdateDeviceControlPoliciesParams) SetBody(body *models.RequestsUpdateDeviceControlPoliciesV1)
- func (o *UpdateDeviceControlPoliciesParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceControlPoliciesParams) SetDefaults()
- func (o *UpdateDeviceControlPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceControlPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceControlPoliciesParams) WithBody(body *models.RequestsUpdateDeviceControlPoliciesV1) *UpdateDeviceControlPoliciesParams
- func (o *UpdateDeviceControlPoliciesParams) WithContext(ctx context.Context) *UpdateDeviceControlPoliciesParams
- func (o *UpdateDeviceControlPoliciesParams) WithDefaults() *UpdateDeviceControlPoliciesParams
- func (o *UpdateDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *UpdateDeviceControlPoliciesParams
- func (o *UpdateDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *UpdateDeviceControlPoliciesParams
- func (o *UpdateDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceControlPoliciesReader
- type UpdateDeviceControlPoliciesTooManyRequests
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 (o *CreateDeviceControlPoliciesBadRequest) Error() string
func (*CreateDeviceControlPoliciesBadRequest) GetPayload ¶
func (o *CreateDeviceControlPoliciesBadRequest) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *CreateDeviceControlPoliciesCreated) Error() string
func (*CreateDeviceControlPoliciesCreated) GetPayload ¶
func (o *CreateDeviceControlPoliciesCreated) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *CreateDeviceControlPoliciesForbidden) Error() string
func (*CreateDeviceControlPoliciesForbidden) GetPayload ¶
func (o *CreateDeviceControlPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
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 (o *CreateDeviceControlPoliciesInternalServerError) Error() string
func (*CreateDeviceControlPoliciesInternalServerError) GetPayload ¶
func (o *CreateDeviceControlPoliciesInternalServerError) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *CreateDeviceControlPoliciesNotFound) Error() string
func (*CreateDeviceControlPoliciesNotFound) GetPayload ¶
func (o *CreateDeviceControlPoliciesNotFound) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 ¶
func (o *CreateDeviceControlPoliciesParams) SetBody(body *models.RequestsCreateDeviceControlPoliciesV1)
SetBody adds the body to the create device control policies params
func (*CreateDeviceControlPoliciesParams) SetContext ¶
func (o *CreateDeviceControlPoliciesParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateDeviceControlPoliciesParams) WithBody(body *models.RequestsCreateDeviceControlPoliciesV1) *CreateDeviceControlPoliciesParams
WithBody adds the body to the create device control policies params
func (*CreateDeviceControlPoliciesParams) WithContext ¶
func (o *CreateDeviceControlPoliciesParams) WithContext(ctx context.Context) *CreateDeviceControlPoliciesParams
WithContext adds the context to the create device control policies params
func (*CreateDeviceControlPoliciesParams) WithDefaults ¶
func (o *CreateDeviceControlPoliciesParams) WithDefaults() *CreateDeviceControlPoliciesParams
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 ¶
func (o *CreateDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *CreateDeviceControlPoliciesParams
WithHTTPClient adds the HTTPClient to the create device control policies params
func (*CreateDeviceControlPoliciesParams) WithTimeout ¶
func (o *CreateDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *CreateDeviceControlPoliciesParams
WithTimeout adds the timeout to the create device control policies params
func (*CreateDeviceControlPoliciesParams) WriteToRequest ¶
func (o *CreateDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateDeviceControlPoliciesTooManyRequests) Error() string
func (*CreateDeviceControlPoliciesTooManyRequests) GetPayload ¶
func (o *CreateDeviceControlPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *DeleteDeviceControlPoliciesDefault) Code() int
Code gets the status code for the delete device control policies default response
func (*DeleteDeviceControlPoliciesDefault) Error ¶
func (o *DeleteDeviceControlPoliciesDefault) Error() string
func (*DeleteDeviceControlPoliciesDefault) GetPayload ¶
func (o *DeleteDeviceControlPoliciesDefault) GetPayload() *models.MsaQueryResponse
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 (o *DeleteDeviceControlPoliciesForbidden) Error() string
func (*DeleteDeviceControlPoliciesForbidden) GetPayload ¶
func (o *DeleteDeviceControlPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
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 (o *DeleteDeviceControlPoliciesInternalServerError) Error() string
func (*DeleteDeviceControlPoliciesInternalServerError) GetPayload ¶
func (o *DeleteDeviceControlPoliciesInternalServerError) GetPayload() *models.MsaQueryResponse
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 (o *DeleteDeviceControlPoliciesNotFound) Error() string
func (*DeleteDeviceControlPoliciesNotFound) GetPayload ¶
func (o *DeleteDeviceControlPoliciesNotFound) GetPayload() *models.MsaQueryResponse
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 (o *DeleteDeviceControlPoliciesOK) Error() string
func (*DeleteDeviceControlPoliciesOK) GetPayload ¶
func (o *DeleteDeviceControlPoliciesOK) GetPayload() *models.MsaQueryResponse
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 ¶
func (o *DeleteDeviceControlPoliciesParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteDeviceControlPoliciesParams) WithContext(ctx context.Context) *DeleteDeviceControlPoliciesParams
WithContext adds the context to the delete device control policies params
func (*DeleteDeviceControlPoliciesParams) WithDefaults ¶
func (o *DeleteDeviceControlPoliciesParams) WithDefaults() *DeleteDeviceControlPoliciesParams
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 ¶
func (o *DeleteDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *DeleteDeviceControlPoliciesParams
WithHTTPClient adds the HTTPClient to the delete device control policies params
func (*DeleteDeviceControlPoliciesParams) WithIds ¶
func (o *DeleteDeviceControlPoliciesParams) WithIds(ids []string) *DeleteDeviceControlPoliciesParams
WithIds adds the ids to the delete device control policies params
func (*DeleteDeviceControlPoliciesParams) WithTimeout ¶
func (o *DeleteDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *DeleteDeviceControlPoliciesParams
WithTimeout adds the timeout to the delete device control policies params
func (*DeleteDeviceControlPoliciesParams) WriteToRequest ¶
func (o *DeleteDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteDeviceControlPoliciesTooManyRequests) Error() string
func (*DeleteDeviceControlPoliciesTooManyRequests) GetPayload ¶
func (o *DeleteDeviceControlPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *GetDeviceControlPoliciesDefault) Code() int
Code gets the status code for the get device control policies default response
func (*GetDeviceControlPoliciesDefault) Error ¶
func (o *GetDeviceControlPoliciesDefault) Error() string
func (*GetDeviceControlPoliciesDefault) GetPayload ¶
func (o *GetDeviceControlPoliciesDefault) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *GetDeviceControlPoliciesForbidden) Error() string
func (*GetDeviceControlPoliciesForbidden) GetPayload ¶
func (o *GetDeviceControlPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
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 (o *GetDeviceControlPoliciesInternalServerError) Error() string
func (*GetDeviceControlPoliciesInternalServerError) GetPayload ¶
func (o *GetDeviceControlPoliciesInternalServerError) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *GetDeviceControlPoliciesNotFound) Error() string
func (*GetDeviceControlPoliciesNotFound) GetPayload ¶
func (o *GetDeviceControlPoliciesNotFound) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *GetDeviceControlPoliciesOK) Error() string
func (*GetDeviceControlPoliciesOK) GetPayload ¶
func (o *GetDeviceControlPoliciesOK) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 ¶
func (o *GetDeviceControlPoliciesParams) WithContext(ctx context.Context) *GetDeviceControlPoliciesParams
WithContext adds the context to the get device control policies params
func (*GetDeviceControlPoliciesParams) WithDefaults ¶
func (o *GetDeviceControlPoliciesParams) WithDefaults() *GetDeviceControlPoliciesParams
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 ¶
func (o *GetDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *GetDeviceControlPoliciesParams
WithHTTPClient adds the HTTPClient to the get device control policies params
func (*GetDeviceControlPoliciesParams) WithIds ¶
func (o *GetDeviceControlPoliciesParams) WithIds(ids []string) *GetDeviceControlPoliciesParams
WithIds adds the ids to the get device control policies params
func (*GetDeviceControlPoliciesParams) WithTimeout ¶
func (o *GetDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *GetDeviceControlPoliciesParams
WithTimeout adds the timeout to the get device control policies params
func (*GetDeviceControlPoliciesParams) WriteToRequest ¶
func (o *GetDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetDeviceControlPoliciesTooManyRequests) Error() string
func (*GetDeviceControlPoliciesTooManyRequests) GetPayload ¶
func (o *GetDeviceControlPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *PerformDeviceControlPoliciesActionBadRequest) Error() string
func (*PerformDeviceControlPoliciesActionBadRequest) GetPayload ¶
func (o *PerformDeviceControlPoliciesActionBadRequest) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 ¶
func (o *PerformDeviceControlPoliciesActionDefault) Code() int
Code gets the status code for the perform device control policies action default response
func (*PerformDeviceControlPoliciesActionDefault) Error ¶
func (o *PerformDeviceControlPoliciesActionDefault) Error() string
func (*PerformDeviceControlPoliciesActionDefault) GetPayload ¶
func (o *PerformDeviceControlPoliciesActionDefault) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *PerformDeviceControlPoliciesActionForbidden) Error() string
func (*PerformDeviceControlPoliciesActionForbidden) GetPayload ¶
func (o *PerformDeviceControlPoliciesActionForbidden) GetPayload() *models.MsaErrorsOnly
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 (o *PerformDeviceControlPoliciesActionInternalServerError) Error() string
func (*PerformDeviceControlPoliciesActionInternalServerError) GetPayload ¶
func (o *PerformDeviceControlPoliciesActionInternalServerError) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *PerformDeviceControlPoliciesActionNotFound) Error() string
func (*PerformDeviceControlPoliciesActionNotFound) GetPayload ¶
func (o *PerformDeviceControlPoliciesActionNotFound) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *PerformDeviceControlPoliciesActionOK) Error() string
func (*PerformDeviceControlPoliciesActionOK) GetPayload ¶
func (o *PerformDeviceControlPoliciesActionOK) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 ¶
func (o *PerformDeviceControlPoliciesActionParams) SetBody(body *models.MsaEntityActionRequestV2)
SetBody adds the body to the perform device control policies action params
func (*PerformDeviceControlPoliciesActionParams) SetContext ¶
func (o *PerformDeviceControlPoliciesActionParams) SetContext(ctx context.Context)
SetContext adds the context to the perform device control policies action params
func (*PerformDeviceControlPoliciesActionParams) SetDefaults ¶
func (o *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 ¶
func (o *PerformDeviceControlPoliciesActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the perform device control policies action params
func (*PerformDeviceControlPoliciesActionParams) WithActionName ¶
func (o *PerformDeviceControlPoliciesActionParams) WithActionName(actionName string) *PerformDeviceControlPoliciesActionParams
WithActionName adds the actionName to the perform device control policies action params
func (*PerformDeviceControlPoliciesActionParams) WithBody ¶
func (o *PerformDeviceControlPoliciesActionParams) WithBody(body *models.MsaEntityActionRequestV2) *PerformDeviceControlPoliciesActionParams
WithBody adds the body to the perform device control policies action params
func (*PerformDeviceControlPoliciesActionParams) WithContext ¶
func (o *PerformDeviceControlPoliciesActionParams) WithContext(ctx context.Context) *PerformDeviceControlPoliciesActionParams
WithContext adds the context to the perform device control policies action params
func (*PerformDeviceControlPoliciesActionParams) WithDefaults ¶
func (o *PerformDeviceControlPoliciesActionParams) WithDefaults() *PerformDeviceControlPoliciesActionParams
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 ¶
func (o *PerformDeviceControlPoliciesActionParams) WithHTTPClient(client *http.Client) *PerformDeviceControlPoliciesActionParams
WithHTTPClient adds the HTTPClient to the perform device control policies action params
func (*PerformDeviceControlPoliciesActionParams) WithTimeout ¶
func (o *PerformDeviceControlPoliciesActionParams) WithTimeout(timeout time.Duration) *PerformDeviceControlPoliciesActionParams
WithTimeout adds the timeout to the perform device control policies action params
func (*PerformDeviceControlPoliciesActionParams) WriteToRequest ¶
func (o *PerformDeviceControlPoliciesActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PerformDeviceControlPoliciesActionTooManyRequests) Error() string
func (*PerformDeviceControlPoliciesActionTooManyRequests) GetPayload ¶
func (o *PerformDeviceControlPoliciesActionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *QueryCombinedDeviceControlPoliciesBadRequest) Error() string
func (*QueryCombinedDeviceControlPoliciesBadRequest) GetPayload ¶
func (o *QueryCombinedDeviceControlPoliciesBadRequest) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 ¶
func (o *QueryCombinedDeviceControlPoliciesDefault) Code() int
Code gets the status code for the query combined device control policies default response
func (*QueryCombinedDeviceControlPoliciesDefault) Error ¶
func (o *QueryCombinedDeviceControlPoliciesDefault) Error() string
func (*QueryCombinedDeviceControlPoliciesDefault) GetPayload ¶
func (o *QueryCombinedDeviceControlPoliciesDefault) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *QueryCombinedDeviceControlPoliciesForbidden) Error() string
func (*QueryCombinedDeviceControlPoliciesForbidden) GetPayload ¶
func (o *QueryCombinedDeviceControlPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
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 (o *QueryCombinedDeviceControlPoliciesInternalServerError) Error() string
func (*QueryCombinedDeviceControlPoliciesInternalServerError) GetPayload ¶
func (o *QueryCombinedDeviceControlPoliciesInternalServerError) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *QueryCombinedDeviceControlPoliciesOK) Error() string
func (*QueryCombinedDeviceControlPoliciesOK) GetPayload ¶
func (o *QueryCombinedDeviceControlPoliciesOK) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 ¶
func (o *QueryCombinedDeviceControlPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the query combined device control policies params
func (*QueryCombinedDeviceControlPoliciesParams) SetDefaults ¶
func (o *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 ¶
func (o *QueryCombinedDeviceControlPoliciesParams) SetSort(sort *string)
SetSort adds the sort to the query combined device control policies params
func (*QueryCombinedDeviceControlPoliciesParams) SetTimeout ¶
func (o *QueryCombinedDeviceControlPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query combined device control policies params
func (*QueryCombinedDeviceControlPoliciesParams) WithContext ¶
func (o *QueryCombinedDeviceControlPoliciesParams) WithContext(ctx context.Context) *QueryCombinedDeviceControlPoliciesParams
WithContext adds the context to the query combined device control policies params
func (*QueryCombinedDeviceControlPoliciesParams) WithDefaults ¶
func (o *QueryCombinedDeviceControlPoliciesParams) WithDefaults() *QueryCombinedDeviceControlPoliciesParams
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 ¶
func (o *QueryCombinedDeviceControlPoliciesParams) WithFilter(filter *string) *QueryCombinedDeviceControlPoliciesParams
WithFilter adds the filter to the query combined device control policies params
func (*QueryCombinedDeviceControlPoliciesParams) WithHTTPClient ¶
func (o *QueryCombinedDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *QueryCombinedDeviceControlPoliciesParams
WithHTTPClient adds the HTTPClient to the query combined device control policies params
func (*QueryCombinedDeviceControlPoliciesParams) WithLimit ¶
func (o *QueryCombinedDeviceControlPoliciesParams) WithLimit(limit *int64) *QueryCombinedDeviceControlPoliciesParams
WithLimit adds the limit to the query combined device control policies params
func (*QueryCombinedDeviceControlPoliciesParams) WithOffset ¶
func (o *QueryCombinedDeviceControlPoliciesParams) WithOffset(offset *int64) *QueryCombinedDeviceControlPoliciesParams
WithOffset adds the offset to the query combined device control policies params
func (*QueryCombinedDeviceControlPoliciesParams) WithSort ¶
func (o *QueryCombinedDeviceControlPoliciesParams) WithSort(sort *string) *QueryCombinedDeviceControlPoliciesParams
WithSort adds the sort to the query combined device control policies params
func (*QueryCombinedDeviceControlPoliciesParams) WithTimeout ¶
func (o *QueryCombinedDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *QueryCombinedDeviceControlPoliciesParams
WithTimeout adds the timeout to the query combined device control policies params
func (*QueryCombinedDeviceControlPoliciesParams) WriteToRequest ¶
func (o *QueryCombinedDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *QueryCombinedDeviceControlPoliciesTooManyRequests) Error() string
func (*QueryCombinedDeviceControlPoliciesTooManyRequests) GetPayload ¶
func (o *QueryCombinedDeviceControlPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *QueryCombinedDeviceControlPolicyMembersBadRequest) Error() string
func (*QueryCombinedDeviceControlPolicyMembersBadRequest) GetPayload ¶
func (o *QueryCombinedDeviceControlPolicyMembersBadRequest) GetPayload() *models.ResponsesPolicyMembersRespV1
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 ¶
func (o *QueryCombinedDeviceControlPolicyMembersDefault) Code() int
Code gets the status code for the query combined device control policy members default response
func (*QueryCombinedDeviceControlPolicyMembersDefault) Error ¶
func (o *QueryCombinedDeviceControlPolicyMembersDefault) Error() string
func (*QueryCombinedDeviceControlPolicyMembersDefault) GetPayload ¶
func (o *QueryCombinedDeviceControlPolicyMembersDefault) GetPayload() *models.ResponsesPolicyMembersRespV1
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 (o *QueryCombinedDeviceControlPolicyMembersForbidden) Error() string
func (*QueryCombinedDeviceControlPolicyMembersForbidden) GetPayload ¶
func (o *QueryCombinedDeviceControlPolicyMembersForbidden) GetPayload() *models.MsaErrorsOnly
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 (o *QueryCombinedDeviceControlPolicyMembersInternalServerError) Error() string
func (*QueryCombinedDeviceControlPolicyMembersInternalServerError) GetPayload ¶
func (o *QueryCombinedDeviceControlPolicyMembersInternalServerError) GetPayload() *models.ResponsesPolicyMembersRespV1
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 (o *QueryCombinedDeviceControlPolicyMembersNotFound) Error() string
func (*QueryCombinedDeviceControlPolicyMembersNotFound) GetPayload ¶
func (o *QueryCombinedDeviceControlPolicyMembersNotFound) GetPayload() *models.ResponsesPolicyMembersRespV1
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 (o *QueryCombinedDeviceControlPolicyMembersOK) Error() string
func (*QueryCombinedDeviceControlPolicyMembersOK) GetPayload ¶
func (o *QueryCombinedDeviceControlPolicyMembersOK) GetPayload() *models.ResponsesPolicyMembersRespV1
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 ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) SetContext(ctx context.Context)
SetContext adds the context to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) SetDefaults ¶
func (o *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 ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) SetFilter(filter *string)
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 ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) SetID(id *string)
SetID adds the id to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) SetLimit ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) SetLimit(limit *int64)
SetLimit adds the limit to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) SetOffset ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) SetOffset(offset *int64)
SetOffset adds the offset to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) SetSort ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) SetSort(sort *string)
SetSort adds the sort to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) SetTimeout ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) WithContext ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) WithContext(ctx context.Context) *QueryCombinedDeviceControlPolicyMembersParams
WithContext adds the context to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) WithDefaults ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) WithDefaults() *QueryCombinedDeviceControlPolicyMembersParams
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 ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) WithFilter(filter *string) *QueryCombinedDeviceControlPolicyMembersParams
WithFilter adds the filter to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) WithHTTPClient ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) WithHTTPClient(client *http.Client) *QueryCombinedDeviceControlPolicyMembersParams
WithHTTPClient adds the HTTPClient to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) WithID ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) WithID(id *string) *QueryCombinedDeviceControlPolicyMembersParams
WithID adds the id to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) WithLimit ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) WithLimit(limit *int64) *QueryCombinedDeviceControlPolicyMembersParams
WithLimit adds the limit to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) WithOffset ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) WithOffset(offset *int64) *QueryCombinedDeviceControlPolicyMembersParams
WithOffset adds the offset to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) WithSort ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) WithSort(sort *string) *QueryCombinedDeviceControlPolicyMembersParams
WithSort adds the sort to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) WithTimeout ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) WithTimeout(timeout time.Duration) *QueryCombinedDeviceControlPolicyMembersParams
WithTimeout adds the timeout to the query combined device control policy members params
func (*QueryCombinedDeviceControlPolicyMembersParams) WriteToRequest ¶
func (o *QueryCombinedDeviceControlPolicyMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *QueryCombinedDeviceControlPolicyMembersTooManyRequests) Error() string
func (*QueryCombinedDeviceControlPolicyMembersTooManyRequests) GetPayload ¶
func (o *QueryCombinedDeviceControlPolicyMembersTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *QueryDeviceControlPoliciesBadRequest) Error() string
func (*QueryDeviceControlPoliciesBadRequest) GetPayload ¶
func (o *QueryDeviceControlPoliciesBadRequest) GetPayload() *models.MsaQueryResponse
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 ¶
func (o *QueryDeviceControlPoliciesDefault) Code() int
Code gets the status code for the query device control policies default response
func (*QueryDeviceControlPoliciesDefault) Error ¶
func (o *QueryDeviceControlPoliciesDefault) Error() string
func (*QueryDeviceControlPoliciesDefault) GetPayload ¶
func (o *QueryDeviceControlPoliciesDefault) GetPayload() *models.MsaQueryResponse
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 (o *QueryDeviceControlPoliciesForbidden) Error() string
func (*QueryDeviceControlPoliciesForbidden) GetPayload ¶
func (o *QueryDeviceControlPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
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 (o *QueryDeviceControlPoliciesInternalServerError) Error() string
func (*QueryDeviceControlPoliciesInternalServerError) GetPayload ¶
func (o *QueryDeviceControlPoliciesInternalServerError) GetPayload() *models.MsaQueryResponse
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 (o *QueryDeviceControlPoliciesOK) Error() string
func (*QueryDeviceControlPoliciesOK) GetPayload ¶
func (o *QueryDeviceControlPoliciesOK) GetPayload() *models.MsaQueryResponse
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 ¶
func (o *QueryDeviceControlPoliciesParams) SetContext(ctx context.Context)
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 ¶
func (o *QueryDeviceControlPoliciesParams) WithContext(ctx context.Context) *QueryDeviceControlPoliciesParams
WithContext adds the context to the query device control policies params
func (*QueryDeviceControlPoliciesParams) WithDefaults ¶
func (o *QueryDeviceControlPoliciesParams) WithDefaults() *QueryDeviceControlPoliciesParams
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 ¶
func (o *QueryDeviceControlPoliciesParams) WithFilter(filter *string) *QueryDeviceControlPoliciesParams
WithFilter adds the filter to the query device control policies params
func (*QueryDeviceControlPoliciesParams) WithHTTPClient ¶
func (o *QueryDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *QueryDeviceControlPoliciesParams
WithHTTPClient adds the HTTPClient to the query device control policies params
func (*QueryDeviceControlPoliciesParams) WithLimit ¶
func (o *QueryDeviceControlPoliciesParams) WithLimit(limit *int64) *QueryDeviceControlPoliciesParams
WithLimit adds the limit to the query device control policies params
func (*QueryDeviceControlPoliciesParams) WithOffset ¶
func (o *QueryDeviceControlPoliciesParams) WithOffset(offset *int64) *QueryDeviceControlPoliciesParams
WithOffset adds the offset to the query device control policies params
func (*QueryDeviceControlPoliciesParams) WithSort ¶
func (o *QueryDeviceControlPoliciesParams) WithSort(sort *string) *QueryDeviceControlPoliciesParams
WithSort adds the sort to the query device control policies params
func (*QueryDeviceControlPoliciesParams) WithTimeout ¶
func (o *QueryDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *QueryDeviceControlPoliciesParams
WithTimeout adds the timeout to the query device control policies params
func (*QueryDeviceControlPoliciesParams) WriteToRequest ¶
func (o *QueryDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *QueryDeviceControlPoliciesTooManyRequests) Error() string
func (*QueryDeviceControlPoliciesTooManyRequests) GetPayload ¶
func (o *QueryDeviceControlPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *QueryDeviceControlPolicyMembersBadRequest) Error() string
func (*QueryDeviceControlPolicyMembersBadRequest) GetPayload ¶
func (o *QueryDeviceControlPolicyMembersBadRequest) GetPayload() *models.MsaQueryResponse
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 ¶
func (o *QueryDeviceControlPolicyMembersDefault) Code() int
Code gets the status code for the query device control policy members default response
func (*QueryDeviceControlPolicyMembersDefault) Error ¶
func (o *QueryDeviceControlPolicyMembersDefault) Error() string
func (*QueryDeviceControlPolicyMembersDefault) GetPayload ¶
func (o *QueryDeviceControlPolicyMembersDefault) GetPayload() *models.MsaQueryResponse
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 (o *QueryDeviceControlPolicyMembersForbidden) Error() string
func (*QueryDeviceControlPolicyMembersForbidden) GetPayload ¶
func (o *QueryDeviceControlPolicyMembersForbidden) GetPayload() *models.MsaErrorsOnly
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 (o *QueryDeviceControlPolicyMembersInternalServerError) Error() string
func (*QueryDeviceControlPolicyMembersInternalServerError) GetPayload ¶
func (o *QueryDeviceControlPolicyMembersInternalServerError) GetPayload() *models.MsaQueryResponse
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 (o *QueryDeviceControlPolicyMembersNotFound) Error() string
func (*QueryDeviceControlPolicyMembersNotFound) GetPayload ¶
func (o *QueryDeviceControlPolicyMembersNotFound) GetPayload() *models.MsaQueryResponse
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 (o *QueryDeviceControlPolicyMembersOK) Error() string
func (*QueryDeviceControlPolicyMembersOK) GetPayload ¶
func (o *QueryDeviceControlPolicyMembersOK) GetPayload() *models.MsaQueryResponse
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 ¶
func (o *QueryDeviceControlPolicyMembersParams) SetContext(ctx context.Context)
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 ¶
func (o *QueryDeviceControlPolicyMembersParams) SetID(id *string)
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 ¶
func (o *QueryDeviceControlPolicyMembersParams) SetSort(sort *string)
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 ¶
func (o *QueryDeviceControlPolicyMembersParams) WithContext(ctx context.Context) *QueryDeviceControlPolicyMembersParams
WithContext adds the context to the query device control policy members params
func (*QueryDeviceControlPolicyMembersParams) WithDefaults ¶
func (o *QueryDeviceControlPolicyMembersParams) WithDefaults() *QueryDeviceControlPolicyMembersParams
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 ¶
func (o *QueryDeviceControlPolicyMembersParams) WithFilter(filter *string) *QueryDeviceControlPolicyMembersParams
WithFilter adds the filter to the query device control policy members params
func (*QueryDeviceControlPolicyMembersParams) WithHTTPClient ¶
func (o *QueryDeviceControlPolicyMembersParams) WithHTTPClient(client *http.Client) *QueryDeviceControlPolicyMembersParams
WithHTTPClient adds the HTTPClient to the query device control policy members params
func (*QueryDeviceControlPolicyMembersParams) WithID ¶
func (o *QueryDeviceControlPolicyMembersParams) WithID(id *string) *QueryDeviceControlPolicyMembersParams
WithID adds the id to the query device control policy members params
func (*QueryDeviceControlPolicyMembersParams) WithLimit ¶
func (o *QueryDeviceControlPolicyMembersParams) WithLimit(limit *int64) *QueryDeviceControlPolicyMembersParams
WithLimit adds the limit to the query device control policy members params
func (*QueryDeviceControlPolicyMembersParams) WithOffset ¶
func (o *QueryDeviceControlPolicyMembersParams) WithOffset(offset *int64) *QueryDeviceControlPolicyMembersParams
WithOffset adds the offset to the query device control policy members params
func (*QueryDeviceControlPolicyMembersParams) WithSort ¶
func (o *QueryDeviceControlPolicyMembersParams) WithSort(sort *string) *QueryDeviceControlPolicyMembersParams
WithSort adds the sort to the query device control policy members params
func (*QueryDeviceControlPolicyMembersParams) WithTimeout ¶
func (o *QueryDeviceControlPolicyMembersParams) WithTimeout(timeout time.Duration) *QueryDeviceControlPolicyMembersParams
WithTimeout adds the timeout to the query device control policy members params
func (*QueryDeviceControlPolicyMembersParams) WriteToRequest ¶
func (o *QueryDeviceControlPolicyMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *QueryDeviceControlPolicyMembersTooManyRequests) Error() string
func (*QueryDeviceControlPolicyMembersTooManyRequests) GetPayload ¶
func (o *QueryDeviceControlPolicyMembersTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *SetDeviceControlPoliciesPrecedenceBadRequest) Error() string
func (*SetDeviceControlPoliciesPrecedenceBadRequest) GetPayload ¶
func (o *SetDeviceControlPoliciesPrecedenceBadRequest) GetPayload() *models.MsaQueryResponse
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 ¶
func (o *SetDeviceControlPoliciesPrecedenceDefault) Code() int
Code gets the status code for the set device control policies precedence default response
func (*SetDeviceControlPoliciesPrecedenceDefault) Error ¶
func (o *SetDeviceControlPoliciesPrecedenceDefault) Error() string
func (*SetDeviceControlPoliciesPrecedenceDefault) GetPayload ¶
func (o *SetDeviceControlPoliciesPrecedenceDefault) GetPayload() *models.MsaQueryResponse
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 (o *SetDeviceControlPoliciesPrecedenceForbidden) Error() string
func (*SetDeviceControlPoliciesPrecedenceForbidden) GetPayload ¶
func (o *SetDeviceControlPoliciesPrecedenceForbidden) GetPayload() *models.MsaErrorsOnly
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 (o *SetDeviceControlPoliciesPrecedenceInternalServerError) Error() string
func (*SetDeviceControlPoliciesPrecedenceInternalServerError) GetPayload ¶
func (o *SetDeviceControlPoliciesPrecedenceInternalServerError) GetPayload() *models.MsaQueryResponse
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 (o *SetDeviceControlPoliciesPrecedenceOK) Error() string
func (*SetDeviceControlPoliciesPrecedenceOK) GetPayload ¶
func (o *SetDeviceControlPoliciesPrecedenceOK) GetPayload() *models.MsaQueryResponse
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 ¶
func (o *SetDeviceControlPoliciesPrecedenceParams) SetBody(body *models.RequestsSetPolicyPrecedenceReqV1)
SetBody adds the body to the set device control policies precedence params
func (*SetDeviceControlPoliciesPrecedenceParams) SetContext ¶
func (o *SetDeviceControlPoliciesPrecedenceParams) SetContext(ctx context.Context)
SetContext adds the context to the set device control policies precedence params
func (*SetDeviceControlPoliciesPrecedenceParams) SetDefaults ¶
func (o *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 ¶
func (o *SetDeviceControlPoliciesPrecedenceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set device control policies precedence params
func (*SetDeviceControlPoliciesPrecedenceParams) WithBody ¶
func (o *SetDeviceControlPoliciesPrecedenceParams) WithBody(body *models.RequestsSetPolicyPrecedenceReqV1) *SetDeviceControlPoliciesPrecedenceParams
WithBody adds the body to the set device control policies precedence params
func (*SetDeviceControlPoliciesPrecedenceParams) WithContext ¶
func (o *SetDeviceControlPoliciesPrecedenceParams) WithContext(ctx context.Context) *SetDeviceControlPoliciesPrecedenceParams
WithContext adds the context to the set device control policies precedence params
func (*SetDeviceControlPoliciesPrecedenceParams) WithDefaults ¶
func (o *SetDeviceControlPoliciesPrecedenceParams) WithDefaults() *SetDeviceControlPoliciesPrecedenceParams
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 ¶
func (o *SetDeviceControlPoliciesPrecedenceParams) WithHTTPClient(client *http.Client) *SetDeviceControlPoliciesPrecedenceParams
WithHTTPClient adds the HTTPClient to the set device control policies precedence params
func (*SetDeviceControlPoliciesPrecedenceParams) WithTimeout ¶
func (o *SetDeviceControlPoliciesPrecedenceParams) WithTimeout(timeout time.Duration) *SetDeviceControlPoliciesPrecedenceParams
WithTimeout adds the timeout to the set device control policies precedence params
func (*SetDeviceControlPoliciesPrecedenceParams) WriteToRequest ¶
func (o *SetDeviceControlPoliciesPrecedenceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SetDeviceControlPoliciesPrecedenceTooManyRequests) Error() string
func (*SetDeviceControlPoliciesPrecedenceTooManyRequests) GetPayload ¶
func (o *SetDeviceControlPoliciesPrecedenceTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *UpdateDeviceControlPoliciesBadRequest) Error() string
func (*UpdateDeviceControlPoliciesBadRequest) GetPayload ¶
func (o *UpdateDeviceControlPoliciesBadRequest) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 ¶
func (o *UpdateDeviceControlPoliciesDefault) Code() int
Code gets the status code for the update device control policies default response
func (*UpdateDeviceControlPoliciesDefault) Error ¶
func (o *UpdateDeviceControlPoliciesDefault) Error() string
func (*UpdateDeviceControlPoliciesDefault) GetPayload ¶
func (o *UpdateDeviceControlPoliciesDefault) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *UpdateDeviceControlPoliciesForbidden) Error() string
func (*UpdateDeviceControlPoliciesForbidden) GetPayload ¶
func (o *UpdateDeviceControlPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
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 (o *UpdateDeviceControlPoliciesInternalServerError) Error() string
func (*UpdateDeviceControlPoliciesInternalServerError) GetPayload ¶
func (o *UpdateDeviceControlPoliciesInternalServerError) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *UpdateDeviceControlPoliciesNotFound) Error() string
func (*UpdateDeviceControlPoliciesNotFound) GetPayload ¶
func (o *UpdateDeviceControlPoliciesNotFound) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 (o *UpdateDeviceControlPoliciesOK) Error() string
func (*UpdateDeviceControlPoliciesOK) GetPayload ¶
func (o *UpdateDeviceControlPoliciesOK) GetPayload() *models.ResponsesDeviceControlPoliciesV1
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 ¶
func (o *UpdateDeviceControlPoliciesParams) SetBody(body *models.RequestsUpdateDeviceControlPoliciesV1)
SetBody adds the body to the update device control policies params
func (*UpdateDeviceControlPoliciesParams) SetContext ¶
func (o *UpdateDeviceControlPoliciesParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateDeviceControlPoliciesParams) WithBody(body *models.RequestsUpdateDeviceControlPoliciesV1) *UpdateDeviceControlPoliciesParams
WithBody adds the body to the update device control policies params
func (*UpdateDeviceControlPoliciesParams) WithContext ¶
func (o *UpdateDeviceControlPoliciesParams) WithContext(ctx context.Context) *UpdateDeviceControlPoliciesParams
WithContext adds the context to the update device control policies params
func (*UpdateDeviceControlPoliciesParams) WithDefaults ¶
func (o *UpdateDeviceControlPoliciesParams) WithDefaults() *UpdateDeviceControlPoliciesParams
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 ¶
func (o *UpdateDeviceControlPoliciesParams) WithHTTPClient(client *http.Client) *UpdateDeviceControlPoliciesParams
WithHTTPClient adds the HTTPClient to the update device control policies params
func (*UpdateDeviceControlPoliciesParams) WithTimeout ¶
func (o *UpdateDeviceControlPoliciesParams) WithTimeout(timeout time.Duration) *UpdateDeviceControlPoliciesParams
WithTimeout adds the timeout to the update device control policies params
func (*UpdateDeviceControlPoliciesParams) WriteToRequest ¶
func (o *UpdateDeviceControlPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateDeviceControlPoliciesTooManyRequests) Error() string
func (*UpdateDeviceControlPoliciesTooManyRequests) GetPayload ¶
func (o *UpdateDeviceControlPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
Source Files ¶
- create_device_control_policies_parameters.go
- create_device_control_policies_responses.go
- delete_device_control_policies_parameters.go
- delete_device_control_policies_responses.go
- device_control_policies_client.go
- get_device_control_policies_parameters.go
- get_device_control_policies_responses.go
- perform_device_control_policies_action_parameters.go
- perform_device_control_policies_action_responses.go
- query_combined_device_control_policies_parameters.go
- query_combined_device_control_policies_responses.go
- query_combined_device_control_policy_members_parameters.go
- query_combined_device_control_policy_members_responses.go
- query_device_control_policies_parameters.go
- query_device_control_policies_responses.go
- query_device_control_policy_members_parameters.go
- query_device_control_policy_members_responses.go
- set_device_control_policies_precedence_parameters.go
- set_device_control_policies_precedence_responses.go
- update_device_control_policies_parameters.go
- update_device_control_policies_responses.go