Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePostureCheck(params *CreatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePostureCheckCreated, error)
- func (a *Client) DeletePostureCheck(params *DeletePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePostureCheckOK, error)
- func (a *Client) DetailPostureCheck(params *DetailPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailPostureCheckOK, error)
- func (a *Client) DetailPostureCheckType(params *DetailPostureCheckTypeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailPostureCheckTypeOK, error)
- func (a *Client) ListPostureCheckTypes(params *ListPostureCheckTypesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPostureCheckTypesOK, error)
- func (a *Client) ListPostureChecks(params *ListPostureChecksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPostureChecksOK, error)
- func (a *Client) PatchPostureCheck(params *PatchPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchPostureCheckOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePostureCheck(params *UpdatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdatePostureCheckOK, error)
- type ClientOption
- type ClientService
- type CreatePostureCheckBadRequest
- type CreatePostureCheckCreated
- type CreatePostureCheckParams
- func NewCreatePostureCheckParams() *CreatePostureCheckParams
- func NewCreatePostureCheckParamsWithContext(ctx context.Context) *CreatePostureCheckParams
- func NewCreatePostureCheckParamsWithHTTPClient(client *http.Client) *CreatePostureCheckParams
- func NewCreatePostureCheckParamsWithTimeout(timeout time.Duration) *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) SetContext(ctx context.Context)
- func (o *CreatePostureCheckParams) SetDefaults()
- func (o *CreatePostureCheckParams) SetHTTPClient(client *http.Client)
- func (o *CreatePostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckCreate)
- func (o *CreatePostureCheckParams) SetTimeout(timeout time.Duration)
- func (o *CreatePostureCheckParams) WithContext(ctx context.Context) *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) WithDefaults() *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) WithHTTPClient(client *http.Client) *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckCreate) *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) WithTimeout(timeout time.Duration) *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePostureCheckReader
- type CreatePostureCheckUnauthorized
- type DeletePostureCheckForbidden
- type DeletePostureCheckNotFound
- type DeletePostureCheckOK
- type DeletePostureCheckParams
- func NewDeletePostureCheckParams() *DeletePostureCheckParams
- func NewDeletePostureCheckParamsWithContext(ctx context.Context) *DeletePostureCheckParams
- func NewDeletePostureCheckParamsWithHTTPClient(client *http.Client) *DeletePostureCheckParams
- func NewDeletePostureCheckParamsWithTimeout(timeout time.Duration) *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) SetContext(ctx context.Context)
- func (o *DeletePostureCheckParams) SetDefaults()
- func (o *DeletePostureCheckParams) SetHTTPClient(client *http.Client)
- func (o *DeletePostureCheckParams) SetID(id string)
- func (o *DeletePostureCheckParams) SetTimeout(timeout time.Duration)
- func (o *DeletePostureCheckParams) WithContext(ctx context.Context) *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) WithDefaults() *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) WithHTTPClient(client *http.Client) *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) WithID(id string) *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) WithTimeout(timeout time.Duration) *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePostureCheckReader
- type DetailPostureCheckNotFound
- type DetailPostureCheckOK
- type DetailPostureCheckParams
- func NewDetailPostureCheckParams() *DetailPostureCheckParams
- func NewDetailPostureCheckParamsWithContext(ctx context.Context) *DetailPostureCheckParams
- func NewDetailPostureCheckParamsWithHTTPClient(client *http.Client) *DetailPostureCheckParams
- func NewDetailPostureCheckParamsWithTimeout(timeout time.Duration) *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) SetContext(ctx context.Context)
- func (o *DetailPostureCheckParams) SetDefaults()
- func (o *DetailPostureCheckParams) SetHTTPClient(client *http.Client)
- func (o *DetailPostureCheckParams) SetID(id string)
- func (o *DetailPostureCheckParams) SetTimeout(timeout time.Duration)
- func (o *DetailPostureCheckParams) WithContext(ctx context.Context) *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) WithDefaults() *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) WithHTTPClient(client *http.Client) *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) WithID(id string) *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) WithTimeout(timeout time.Duration) *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailPostureCheckReader
- type DetailPostureCheckTypeNotFound
- type DetailPostureCheckTypeOK
- type DetailPostureCheckTypeParams
- func NewDetailPostureCheckTypeParams() *DetailPostureCheckTypeParams
- func NewDetailPostureCheckTypeParamsWithContext(ctx context.Context) *DetailPostureCheckTypeParams
- func NewDetailPostureCheckTypeParamsWithHTTPClient(client *http.Client) *DetailPostureCheckTypeParams
- func NewDetailPostureCheckTypeParamsWithTimeout(timeout time.Duration) *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) SetContext(ctx context.Context)
- func (o *DetailPostureCheckTypeParams) SetDefaults()
- func (o *DetailPostureCheckTypeParams) SetHTTPClient(client *http.Client)
- func (o *DetailPostureCheckTypeParams) SetID(id string)
- func (o *DetailPostureCheckTypeParams) SetTimeout(timeout time.Duration)
- func (o *DetailPostureCheckTypeParams) WithContext(ctx context.Context) *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) WithDefaults() *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) WithHTTPClient(client *http.Client) *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) WithID(id string) *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) WithTimeout(timeout time.Duration) *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailPostureCheckTypeReader
- type DetailPostureCheckTypeUnauthorized
- type DetailPostureCheckUnauthorized
- type ListPostureCheckTypesOK
- type ListPostureCheckTypesParams
- func NewListPostureCheckTypesParams() *ListPostureCheckTypesParams
- func NewListPostureCheckTypesParamsWithContext(ctx context.Context) *ListPostureCheckTypesParams
- func NewListPostureCheckTypesParamsWithHTTPClient(client *http.Client) *ListPostureCheckTypesParams
- func NewListPostureCheckTypesParamsWithTimeout(timeout time.Duration) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) SetContext(ctx context.Context)
- func (o *ListPostureCheckTypesParams) SetDefaults()
- func (o *ListPostureCheckTypesParams) SetFilter(filter *string)
- func (o *ListPostureCheckTypesParams) SetHTTPClient(client *http.Client)
- func (o *ListPostureCheckTypesParams) SetLimit(limit *int64)
- func (o *ListPostureCheckTypesParams) SetOffset(offset *int64)
- func (o *ListPostureCheckTypesParams) SetTimeout(timeout time.Duration)
- func (o *ListPostureCheckTypesParams) WithContext(ctx context.Context) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithDefaults() *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithFilter(filter *string) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithHTTPClient(client *http.Client) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithLimit(limit *int64) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithOffset(offset *int64) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithTimeout(timeout time.Duration) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPostureCheckTypesReader
- type ListPostureCheckTypesUnauthorized
- type ListPostureChecksOK
- type ListPostureChecksParams
- func NewListPostureChecksParams() *ListPostureChecksParams
- func NewListPostureChecksParamsWithContext(ctx context.Context) *ListPostureChecksParams
- func NewListPostureChecksParamsWithHTTPClient(client *http.Client) *ListPostureChecksParams
- func NewListPostureChecksParamsWithTimeout(timeout time.Duration) *ListPostureChecksParams
- func (o *ListPostureChecksParams) SetContext(ctx context.Context)
- func (o *ListPostureChecksParams) SetDefaults()
- func (o *ListPostureChecksParams) SetFilter(filter *string)
- func (o *ListPostureChecksParams) SetHTTPClient(client *http.Client)
- func (o *ListPostureChecksParams) SetLimit(limit *int64)
- func (o *ListPostureChecksParams) SetOffset(offset *int64)
- func (o *ListPostureChecksParams) SetRoleFilter(roleFilter []string)
- func (o *ListPostureChecksParams) SetRoleSemantic(roleSemantic *string)
- func (o *ListPostureChecksParams) SetTimeout(timeout time.Duration)
- func (o *ListPostureChecksParams) WithContext(ctx context.Context) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithDefaults() *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithFilter(filter *string) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithHTTPClient(client *http.Client) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithLimit(limit *int64) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithOffset(offset *int64) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithRoleFilter(roleFilter []string) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithRoleSemantic(roleSemantic *string) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithTimeout(timeout time.Duration) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPostureChecksReader
- type ListPostureChecksUnauthorized
- type PatchPostureCheckBadRequest
- type PatchPostureCheckNotFound
- type PatchPostureCheckOK
- type PatchPostureCheckParams
- func NewPatchPostureCheckParams() *PatchPostureCheckParams
- func NewPatchPostureCheckParamsWithContext(ctx context.Context) *PatchPostureCheckParams
- func NewPatchPostureCheckParamsWithHTTPClient(client *http.Client) *PatchPostureCheckParams
- func NewPatchPostureCheckParamsWithTimeout(timeout time.Duration) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) SetContext(ctx context.Context)
- func (o *PatchPostureCheckParams) SetDefaults()
- func (o *PatchPostureCheckParams) SetHTTPClient(client *http.Client)
- func (o *PatchPostureCheckParams) SetID(id string)
- func (o *PatchPostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckPatch)
- func (o *PatchPostureCheckParams) SetTimeout(timeout time.Duration)
- func (o *PatchPostureCheckParams) WithContext(ctx context.Context) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WithDefaults() *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WithHTTPClient(client *http.Client) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WithID(id string) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckPatch) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WithTimeout(timeout time.Duration) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchPostureCheckReader
- type PatchPostureCheckUnauthorized
- type UpdatePostureCheckBadRequest
- type UpdatePostureCheckNotFound
- type UpdatePostureCheckOK
- type UpdatePostureCheckParams
- func NewUpdatePostureCheckParams() *UpdatePostureCheckParams
- func NewUpdatePostureCheckParamsWithContext(ctx context.Context) *UpdatePostureCheckParams
- func NewUpdatePostureCheckParamsWithHTTPClient(client *http.Client) *UpdatePostureCheckParams
- func NewUpdatePostureCheckParamsWithTimeout(timeout time.Duration) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) SetContext(ctx context.Context)
- func (o *UpdatePostureCheckParams) SetDefaults()
- func (o *UpdatePostureCheckParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePostureCheckParams) SetID(id string)
- func (o *UpdatePostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckUpdate)
- func (o *UpdatePostureCheckParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePostureCheckParams) WithContext(ctx context.Context) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WithDefaults() *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WithHTTPClient(client *http.Client) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WithID(id string) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckUpdate) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WithTimeout(timeout time.Duration) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePostureCheckReader
- type UpdatePostureCheckUnauthorized
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 posture checks API
func (*Client) CreatePostureCheck ¶
func (a *Client) CreatePostureCheck(params *CreatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostureCheckCreated, error)
CreatePostureCheck creates a posture checks
Creates a Posture Checks
func (*Client) DeletePostureCheck ¶
func (a *Client) DeletePostureCheck(params *DeletePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePostureCheckOK, error)
DeletePostureCheck deletes an posture checks
Deletes and Posture Checks by id
func (*Client) DetailPostureCheck ¶
func (a *Client) DetailPostureCheck(params *DetailPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailPostureCheckOK, error)
DetailPostureCheck retrieves a single posture checks
Retrieves a single Posture Checks by id
func (*Client) DetailPostureCheckType ¶
func (a *Client) DetailPostureCheckType(params *DetailPostureCheckTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailPostureCheckTypeOK, error)
DetailPostureCheckType retrieves a single posture check type
Retrieves a single posture check type by id
func (*Client) ListPostureCheckTypes ¶
func (a *Client) ListPostureCheckTypes(params *ListPostureCheckTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostureCheckTypesOK, error)
ListPostureCheckTypes lists a subset of posture check types
Retrieves a list of posture check types
func (*Client) ListPostureChecks ¶
func (a *Client) ListPostureChecks(params *ListPostureChecksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostureChecksOK, error)
ListPostureChecks lists a subset of posture checks
Retrieves a list of posture checks
func (*Client) PatchPostureCheck ¶
func (a *Client) PatchPostureCheck(params *PatchPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchPostureCheckOK, error)
PatchPostureCheck updates the supplied fields on a posture checks
Update only the supplied fields on a Posture Checks by id
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePostureCheck ¶
func (a *Client) UpdatePostureCheck(params *UpdatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePostureCheckOK, error)
UpdatePostureCheck updates all fields on a posture checks
Update all fields on a Posture Checks by id
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreatePostureCheck(params *CreatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostureCheckCreated, error) DeletePostureCheck(params *DeletePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePostureCheckOK, error) DetailPostureCheck(params *DetailPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailPostureCheckOK, error) DetailPostureCheckType(params *DetailPostureCheckTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailPostureCheckTypeOK, error) ListPostureCheckTypes(params *ListPostureCheckTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostureCheckTypesOK, error) ListPostureChecks(params *ListPostureChecksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostureChecksOK, error) PatchPostureCheck(params *PatchPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchPostureCheckOK, error) UpdatePostureCheck(params *UpdatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePostureCheckOK, 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 posture checks API client.
type CreatePostureCheckBadRequest ¶
type CreatePostureCheckBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreatePostureCheckBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreatePostureCheckBadRequest ¶
func NewCreatePostureCheckBadRequest() *CreatePostureCheckBadRequest
NewCreatePostureCheckBadRequest creates a CreatePostureCheckBadRequest with default headers values
func (*CreatePostureCheckBadRequest) Error ¶
func (o *CreatePostureCheckBadRequest) Error() string
func (*CreatePostureCheckBadRequest) GetPayload ¶
func (o *CreatePostureCheckBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreatePostureCheckCreated ¶
type CreatePostureCheckCreated struct {
Payload *rest_model.CreateEnvelope
}
CreatePostureCheckCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewCreatePostureCheckCreated ¶
func NewCreatePostureCheckCreated() *CreatePostureCheckCreated
NewCreatePostureCheckCreated creates a CreatePostureCheckCreated with default headers values
func (*CreatePostureCheckCreated) Error ¶
func (o *CreatePostureCheckCreated) Error() string
func (*CreatePostureCheckCreated) GetPayload ¶
func (o *CreatePostureCheckCreated) GetPayload() *rest_model.CreateEnvelope
type CreatePostureCheckParams ¶
type CreatePostureCheckParams struct { /* PostureCheck. A Posture Check to create */ PostureCheck rest_model.PostureCheckCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePostureCheckParams contains all the parameters to send to the API endpoint
for the create posture check operation. Typically these are written to a http.Request.
func NewCreatePostureCheckParams ¶
func NewCreatePostureCheckParams() *CreatePostureCheckParams
NewCreatePostureCheckParams creates a new CreatePostureCheckParams 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 NewCreatePostureCheckParamsWithContext ¶
func NewCreatePostureCheckParamsWithContext(ctx context.Context) *CreatePostureCheckParams
NewCreatePostureCheckParamsWithContext creates a new CreatePostureCheckParams object with the ability to set a context for a request.
func NewCreatePostureCheckParamsWithHTTPClient ¶
func NewCreatePostureCheckParamsWithHTTPClient(client *http.Client) *CreatePostureCheckParams
NewCreatePostureCheckParamsWithHTTPClient creates a new CreatePostureCheckParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePostureCheckParamsWithTimeout ¶
func NewCreatePostureCheckParamsWithTimeout(timeout time.Duration) *CreatePostureCheckParams
NewCreatePostureCheckParamsWithTimeout creates a new CreatePostureCheckParams object with the ability to set a timeout on a request.
func (*CreatePostureCheckParams) SetContext ¶
func (o *CreatePostureCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the create posture check params
func (*CreatePostureCheckParams) SetDefaults ¶
func (o *CreatePostureCheckParams) SetDefaults()
SetDefaults hydrates default values in the create posture check params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePostureCheckParams) SetHTTPClient ¶
func (o *CreatePostureCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create posture check params
func (*CreatePostureCheckParams) SetPostureCheck ¶
func (o *CreatePostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckCreate)
SetPostureCheck adds the postureCheck to the create posture check params
func (*CreatePostureCheckParams) SetTimeout ¶
func (o *CreatePostureCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create posture check params
func (*CreatePostureCheckParams) WithContext ¶
func (o *CreatePostureCheckParams) WithContext(ctx context.Context) *CreatePostureCheckParams
WithContext adds the context to the create posture check params
func (*CreatePostureCheckParams) WithDefaults ¶
func (o *CreatePostureCheckParams) WithDefaults() *CreatePostureCheckParams
WithDefaults hydrates default values in the create posture check params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePostureCheckParams) WithHTTPClient ¶
func (o *CreatePostureCheckParams) WithHTTPClient(client *http.Client) *CreatePostureCheckParams
WithHTTPClient adds the HTTPClient to the create posture check params
func (*CreatePostureCheckParams) WithPostureCheck ¶
func (o *CreatePostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckCreate) *CreatePostureCheckParams
WithPostureCheck adds the postureCheck to the create posture check params
func (*CreatePostureCheckParams) WithTimeout ¶
func (o *CreatePostureCheckParams) WithTimeout(timeout time.Duration) *CreatePostureCheckParams
WithTimeout adds the timeout to the create posture check params
func (*CreatePostureCheckParams) WriteToRequest ¶
func (o *CreatePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePostureCheckReader ¶
type CreatePostureCheckReader struct {
// contains filtered or unexported fields
}
CreatePostureCheckReader is a Reader for the CreatePostureCheck structure.
func (*CreatePostureCheckReader) ReadResponse ¶
func (o *CreatePostureCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePostureCheckUnauthorized ¶
type CreatePostureCheckUnauthorized struct {
}CreatePostureCheckUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreatePostureCheckUnauthorized ¶
func NewCreatePostureCheckUnauthorized() *CreatePostureCheckUnauthorized
NewCreatePostureCheckUnauthorized creates a CreatePostureCheckUnauthorized with default headers values
func (*CreatePostureCheckUnauthorized) Error ¶
func (o *CreatePostureCheckUnauthorized) Error() string
func (*CreatePostureCheckUnauthorized) GetPayload ¶
func (o *CreatePostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeletePostureCheckForbidden ¶
type DeletePostureCheckForbidden struct {
Payload *rest_model.APIErrorEnvelope
}
DeletePostureCheckForbidden describes a response with status code 403, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDeletePostureCheckForbidden ¶
func NewDeletePostureCheckForbidden() *DeletePostureCheckForbidden
NewDeletePostureCheckForbidden creates a DeletePostureCheckForbidden with default headers values
func (*DeletePostureCheckForbidden) Error ¶
func (o *DeletePostureCheckForbidden) Error() string
func (*DeletePostureCheckForbidden) GetPayload ¶
func (o *DeletePostureCheckForbidden) GetPayload() *rest_model.APIErrorEnvelope
type DeletePostureCheckNotFound ¶
type DeletePostureCheckNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DeletePostureCheckNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDeletePostureCheckNotFound ¶
func NewDeletePostureCheckNotFound() *DeletePostureCheckNotFound
NewDeletePostureCheckNotFound creates a DeletePostureCheckNotFound with default headers values
func (*DeletePostureCheckNotFound) Error ¶
func (o *DeletePostureCheckNotFound) Error() string
func (*DeletePostureCheckNotFound) GetPayload ¶
func (o *DeletePostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DeletePostureCheckOK ¶
type DeletePostureCheckOK struct {
Payload *rest_model.Empty
}
DeletePostureCheckOK describes a response with status code 200, with default header values.
The delete request was successful and the resource has been removed
func NewDeletePostureCheckOK ¶
func NewDeletePostureCheckOK() *DeletePostureCheckOK
NewDeletePostureCheckOK creates a DeletePostureCheckOK with default headers values
func (*DeletePostureCheckOK) Error ¶
func (o *DeletePostureCheckOK) Error() string
func (*DeletePostureCheckOK) GetPayload ¶
func (o *DeletePostureCheckOK) GetPayload() *rest_model.Empty
type DeletePostureCheckParams ¶
type DeletePostureCheckParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePostureCheckParams contains all the parameters to send to the API endpoint
for the delete posture check operation. Typically these are written to a http.Request.
func NewDeletePostureCheckParams ¶
func NewDeletePostureCheckParams() *DeletePostureCheckParams
NewDeletePostureCheckParams creates a new DeletePostureCheckParams 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 NewDeletePostureCheckParamsWithContext ¶
func NewDeletePostureCheckParamsWithContext(ctx context.Context) *DeletePostureCheckParams
NewDeletePostureCheckParamsWithContext creates a new DeletePostureCheckParams object with the ability to set a context for a request.
func NewDeletePostureCheckParamsWithHTTPClient ¶
func NewDeletePostureCheckParamsWithHTTPClient(client *http.Client) *DeletePostureCheckParams
NewDeletePostureCheckParamsWithHTTPClient creates a new DeletePostureCheckParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePostureCheckParamsWithTimeout ¶
func NewDeletePostureCheckParamsWithTimeout(timeout time.Duration) *DeletePostureCheckParams
NewDeletePostureCheckParamsWithTimeout creates a new DeletePostureCheckParams object with the ability to set a timeout on a request.
func (*DeletePostureCheckParams) SetContext ¶
func (o *DeletePostureCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the delete posture check params
func (*DeletePostureCheckParams) SetDefaults ¶
func (o *DeletePostureCheckParams) SetDefaults()
SetDefaults hydrates default values in the delete posture check params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePostureCheckParams) SetHTTPClient ¶
func (o *DeletePostureCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete posture check params
func (*DeletePostureCheckParams) SetID ¶
func (o *DeletePostureCheckParams) SetID(id string)
SetID adds the id to the delete posture check params
func (*DeletePostureCheckParams) SetTimeout ¶
func (o *DeletePostureCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete posture check params
func (*DeletePostureCheckParams) WithContext ¶
func (o *DeletePostureCheckParams) WithContext(ctx context.Context) *DeletePostureCheckParams
WithContext adds the context to the delete posture check params
func (*DeletePostureCheckParams) WithDefaults ¶
func (o *DeletePostureCheckParams) WithDefaults() *DeletePostureCheckParams
WithDefaults hydrates default values in the delete posture check params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePostureCheckParams) WithHTTPClient ¶
func (o *DeletePostureCheckParams) WithHTTPClient(client *http.Client) *DeletePostureCheckParams
WithHTTPClient adds the HTTPClient to the delete posture check params
func (*DeletePostureCheckParams) WithID ¶
func (o *DeletePostureCheckParams) WithID(id string) *DeletePostureCheckParams
WithID adds the id to the delete posture check params
func (*DeletePostureCheckParams) WithTimeout ¶
func (o *DeletePostureCheckParams) WithTimeout(timeout time.Duration) *DeletePostureCheckParams
WithTimeout adds the timeout to the delete posture check params
func (*DeletePostureCheckParams) WriteToRequest ¶
func (o *DeletePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePostureCheckReader ¶
type DeletePostureCheckReader struct {
// contains filtered or unexported fields
}
DeletePostureCheckReader is a Reader for the DeletePostureCheck structure.
func (*DeletePostureCheckReader) ReadResponse ¶
func (o *DeletePostureCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailPostureCheckNotFound ¶
type DetailPostureCheckNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailPostureCheckNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailPostureCheckNotFound ¶
func NewDetailPostureCheckNotFound() *DetailPostureCheckNotFound
NewDetailPostureCheckNotFound creates a DetailPostureCheckNotFound with default headers values
func (*DetailPostureCheckNotFound) Error ¶
func (o *DetailPostureCheckNotFound) Error() string
func (*DetailPostureCheckNotFound) GetPayload ¶
func (o *DetailPostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailPostureCheckOK ¶
type DetailPostureCheckOK struct {
Payload *rest_model.DetailPostureCheckEnvelope
}
DetailPostureCheckOK describes a response with status code 200, with default header values.
Retrieves a singular posture check by id
func NewDetailPostureCheckOK ¶
func NewDetailPostureCheckOK() *DetailPostureCheckOK
NewDetailPostureCheckOK creates a DetailPostureCheckOK with default headers values
func (*DetailPostureCheckOK) Error ¶
func (o *DetailPostureCheckOK) Error() string
func (*DetailPostureCheckOK) GetPayload ¶
func (o *DetailPostureCheckOK) GetPayload() *rest_model.DetailPostureCheckEnvelope
type DetailPostureCheckParams ¶
type DetailPostureCheckParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailPostureCheckParams contains all the parameters to send to the API endpoint
for the detail posture check operation. Typically these are written to a http.Request.
func NewDetailPostureCheckParams ¶
func NewDetailPostureCheckParams() *DetailPostureCheckParams
NewDetailPostureCheckParams creates a new DetailPostureCheckParams 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 NewDetailPostureCheckParamsWithContext ¶
func NewDetailPostureCheckParamsWithContext(ctx context.Context) *DetailPostureCheckParams
NewDetailPostureCheckParamsWithContext creates a new DetailPostureCheckParams object with the ability to set a context for a request.
func NewDetailPostureCheckParamsWithHTTPClient ¶
func NewDetailPostureCheckParamsWithHTTPClient(client *http.Client) *DetailPostureCheckParams
NewDetailPostureCheckParamsWithHTTPClient creates a new DetailPostureCheckParams object with the ability to set a custom HTTPClient for a request.
func NewDetailPostureCheckParamsWithTimeout ¶
func NewDetailPostureCheckParamsWithTimeout(timeout time.Duration) *DetailPostureCheckParams
NewDetailPostureCheckParamsWithTimeout creates a new DetailPostureCheckParams object with the ability to set a timeout on a request.
func (*DetailPostureCheckParams) SetContext ¶
func (o *DetailPostureCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the detail posture check params
func (*DetailPostureCheckParams) SetDefaults ¶
func (o *DetailPostureCheckParams) SetDefaults()
SetDefaults hydrates default values in the detail posture check params (not the query body).
All values with no default are reset to their zero value.
func (*DetailPostureCheckParams) SetHTTPClient ¶
func (o *DetailPostureCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail posture check params
func (*DetailPostureCheckParams) SetID ¶
func (o *DetailPostureCheckParams) SetID(id string)
SetID adds the id to the detail posture check params
func (*DetailPostureCheckParams) SetTimeout ¶
func (o *DetailPostureCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail posture check params
func (*DetailPostureCheckParams) WithContext ¶
func (o *DetailPostureCheckParams) WithContext(ctx context.Context) *DetailPostureCheckParams
WithContext adds the context to the detail posture check params
func (*DetailPostureCheckParams) WithDefaults ¶
func (o *DetailPostureCheckParams) WithDefaults() *DetailPostureCheckParams
WithDefaults hydrates default values in the detail posture check params (not the query body).
All values with no default are reset to their zero value.
func (*DetailPostureCheckParams) WithHTTPClient ¶
func (o *DetailPostureCheckParams) WithHTTPClient(client *http.Client) *DetailPostureCheckParams
WithHTTPClient adds the HTTPClient to the detail posture check params
func (*DetailPostureCheckParams) WithID ¶
func (o *DetailPostureCheckParams) WithID(id string) *DetailPostureCheckParams
WithID adds the id to the detail posture check params
func (*DetailPostureCheckParams) WithTimeout ¶
func (o *DetailPostureCheckParams) WithTimeout(timeout time.Duration) *DetailPostureCheckParams
WithTimeout adds the timeout to the detail posture check params
func (*DetailPostureCheckParams) WriteToRequest ¶
func (o *DetailPostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailPostureCheckReader ¶
type DetailPostureCheckReader struct {
// contains filtered or unexported fields
}
DetailPostureCheckReader is a Reader for the DetailPostureCheck structure.
func (*DetailPostureCheckReader) ReadResponse ¶
func (o *DetailPostureCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailPostureCheckTypeNotFound ¶
type DetailPostureCheckTypeNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailPostureCheckTypeNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailPostureCheckTypeNotFound ¶
func NewDetailPostureCheckTypeNotFound() *DetailPostureCheckTypeNotFound
NewDetailPostureCheckTypeNotFound creates a DetailPostureCheckTypeNotFound with default headers values
func (*DetailPostureCheckTypeNotFound) Error ¶
func (o *DetailPostureCheckTypeNotFound) Error() string
func (*DetailPostureCheckTypeNotFound) GetPayload ¶
func (o *DetailPostureCheckTypeNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailPostureCheckTypeOK ¶
type DetailPostureCheckTypeOK struct {
Payload *rest_model.DetailPostureCheckTypeEnvelope
}
DetailPostureCheckTypeOK describes a response with status code 200, with default header values.
Retrieves a singular posture check type by id
func NewDetailPostureCheckTypeOK ¶
func NewDetailPostureCheckTypeOK() *DetailPostureCheckTypeOK
NewDetailPostureCheckTypeOK creates a DetailPostureCheckTypeOK with default headers values
func (*DetailPostureCheckTypeOK) Error ¶
func (o *DetailPostureCheckTypeOK) Error() string
func (*DetailPostureCheckTypeOK) GetPayload ¶
func (o *DetailPostureCheckTypeOK) GetPayload() *rest_model.DetailPostureCheckTypeEnvelope
type DetailPostureCheckTypeParams ¶
type DetailPostureCheckTypeParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailPostureCheckTypeParams contains all the parameters to send to the API endpoint
for the detail posture check type operation. Typically these are written to a http.Request.
func NewDetailPostureCheckTypeParams ¶
func NewDetailPostureCheckTypeParams() *DetailPostureCheckTypeParams
NewDetailPostureCheckTypeParams creates a new DetailPostureCheckTypeParams 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 NewDetailPostureCheckTypeParamsWithContext ¶
func NewDetailPostureCheckTypeParamsWithContext(ctx context.Context) *DetailPostureCheckTypeParams
NewDetailPostureCheckTypeParamsWithContext creates a new DetailPostureCheckTypeParams object with the ability to set a context for a request.
func NewDetailPostureCheckTypeParamsWithHTTPClient ¶
func NewDetailPostureCheckTypeParamsWithHTTPClient(client *http.Client) *DetailPostureCheckTypeParams
NewDetailPostureCheckTypeParamsWithHTTPClient creates a new DetailPostureCheckTypeParams object with the ability to set a custom HTTPClient for a request.
func NewDetailPostureCheckTypeParamsWithTimeout ¶
func NewDetailPostureCheckTypeParamsWithTimeout(timeout time.Duration) *DetailPostureCheckTypeParams
NewDetailPostureCheckTypeParamsWithTimeout creates a new DetailPostureCheckTypeParams object with the ability to set a timeout on a request.
func (*DetailPostureCheckTypeParams) SetContext ¶
func (o *DetailPostureCheckTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the detail posture check type params
func (*DetailPostureCheckTypeParams) SetDefaults ¶
func (o *DetailPostureCheckTypeParams) SetDefaults()
SetDefaults hydrates default values in the detail posture check type params (not the query body).
All values with no default are reset to their zero value.
func (*DetailPostureCheckTypeParams) SetHTTPClient ¶
func (o *DetailPostureCheckTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail posture check type params
func (*DetailPostureCheckTypeParams) SetID ¶
func (o *DetailPostureCheckTypeParams) SetID(id string)
SetID adds the id to the detail posture check type params
func (*DetailPostureCheckTypeParams) SetTimeout ¶
func (o *DetailPostureCheckTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail posture check type params
func (*DetailPostureCheckTypeParams) WithContext ¶
func (o *DetailPostureCheckTypeParams) WithContext(ctx context.Context) *DetailPostureCheckTypeParams
WithContext adds the context to the detail posture check type params
func (*DetailPostureCheckTypeParams) WithDefaults ¶
func (o *DetailPostureCheckTypeParams) WithDefaults() *DetailPostureCheckTypeParams
WithDefaults hydrates default values in the detail posture check type params (not the query body).
All values with no default are reset to their zero value.
func (*DetailPostureCheckTypeParams) WithHTTPClient ¶
func (o *DetailPostureCheckTypeParams) WithHTTPClient(client *http.Client) *DetailPostureCheckTypeParams
WithHTTPClient adds the HTTPClient to the detail posture check type params
func (*DetailPostureCheckTypeParams) WithID ¶
func (o *DetailPostureCheckTypeParams) WithID(id string) *DetailPostureCheckTypeParams
WithID adds the id to the detail posture check type params
func (*DetailPostureCheckTypeParams) WithTimeout ¶
func (o *DetailPostureCheckTypeParams) WithTimeout(timeout time.Duration) *DetailPostureCheckTypeParams
WithTimeout adds the timeout to the detail posture check type params
func (*DetailPostureCheckTypeParams) WriteToRequest ¶
func (o *DetailPostureCheckTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailPostureCheckTypeReader ¶
type DetailPostureCheckTypeReader struct {
// contains filtered or unexported fields
}
DetailPostureCheckTypeReader is a Reader for the DetailPostureCheckType structure.
func (*DetailPostureCheckTypeReader) ReadResponse ¶
func (o *DetailPostureCheckTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailPostureCheckTypeUnauthorized ¶
type DetailPostureCheckTypeUnauthorized struct {
}DetailPostureCheckTypeUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailPostureCheckTypeUnauthorized ¶
func NewDetailPostureCheckTypeUnauthorized() *DetailPostureCheckTypeUnauthorized
NewDetailPostureCheckTypeUnauthorized creates a DetailPostureCheckTypeUnauthorized with default headers values
func (*DetailPostureCheckTypeUnauthorized) Error ¶
func (o *DetailPostureCheckTypeUnauthorized) Error() string
func (*DetailPostureCheckTypeUnauthorized) GetPayload ¶
func (o *DetailPostureCheckTypeUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailPostureCheckUnauthorized ¶
type DetailPostureCheckUnauthorized struct {
}DetailPostureCheckUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailPostureCheckUnauthorized ¶
func NewDetailPostureCheckUnauthorized() *DetailPostureCheckUnauthorized
NewDetailPostureCheckUnauthorized creates a DetailPostureCheckUnauthorized with default headers values
func (*DetailPostureCheckUnauthorized) Error ¶
func (o *DetailPostureCheckUnauthorized) Error() string
func (*DetailPostureCheckUnauthorized) GetPayload ¶
func (o *DetailPostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListPostureCheckTypesOK ¶
type ListPostureCheckTypesOK struct {
Payload *rest_model.ListPostureCheckTypesEnvelope
}
ListPostureCheckTypesOK describes a response with status code 200, with default header values.
A list of posture check types
func NewListPostureCheckTypesOK ¶
func NewListPostureCheckTypesOK() *ListPostureCheckTypesOK
NewListPostureCheckTypesOK creates a ListPostureCheckTypesOK with default headers values
func (*ListPostureCheckTypesOK) Error ¶
func (o *ListPostureCheckTypesOK) Error() string
func (*ListPostureCheckTypesOK) GetPayload ¶
func (o *ListPostureCheckTypesOK) GetPayload() *rest_model.ListPostureCheckTypesEnvelope
type ListPostureCheckTypesParams ¶
type ListPostureCheckTypesParams struct { // Filter. Filter *string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPostureCheckTypesParams contains all the parameters to send to the API endpoint
for the list posture check types operation. Typically these are written to a http.Request.
func NewListPostureCheckTypesParams ¶
func NewListPostureCheckTypesParams() *ListPostureCheckTypesParams
NewListPostureCheckTypesParams creates a new ListPostureCheckTypesParams 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 NewListPostureCheckTypesParamsWithContext ¶
func NewListPostureCheckTypesParamsWithContext(ctx context.Context) *ListPostureCheckTypesParams
NewListPostureCheckTypesParamsWithContext creates a new ListPostureCheckTypesParams object with the ability to set a context for a request.
func NewListPostureCheckTypesParamsWithHTTPClient ¶
func NewListPostureCheckTypesParamsWithHTTPClient(client *http.Client) *ListPostureCheckTypesParams
NewListPostureCheckTypesParamsWithHTTPClient creates a new ListPostureCheckTypesParams object with the ability to set a custom HTTPClient for a request.
func NewListPostureCheckTypesParamsWithTimeout ¶
func NewListPostureCheckTypesParamsWithTimeout(timeout time.Duration) *ListPostureCheckTypesParams
NewListPostureCheckTypesParamsWithTimeout creates a new ListPostureCheckTypesParams object with the ability to set a timeout on a request.
func (*ListPostureCheckTypesParams) SetContext ¶
func (o *ListPostureCheckTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the list posture check types params
func (*ListPostureCheckTypesParams) SetDefaults ¶
func (o *ListPostureCheckTypesParams) SetDefaults()
SetDefaults hydrates default values in the list posture check types params (not the query body).
All values with no default are reset to their zero value.
func (*ListPostureCheckTypesParams) SetFilter ¶
func (o *ListPostureCheckTypesParams) SetFilter(filter *string)
SetFilter adds the filter to the list posture check types params
func (*ListPostureCheckTypesParams) SetHTTPClient ¶
func (o *ListPostureCheckTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list posture check types params
func (*ListPostureCheckTypesParams) SetLimit ¶
func (o *ListPostureCheckTypesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list posture check types params
func (*ListPostureCheckTypesParams) SetOffset ¶
func (o *ListPostureCheckTypesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list posture check types params
func (*ListPostureCheckTypesParams) SetTimeout ¶
func (o *ListPostureCheckTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list posture check types params
func (*ListPostureCheckTypesParams) WithContext ¶
func (o *ListPostureCheckTypesParams) WithContext(ctx context.Context) *ListPostureCheckTypesParams
WithContext adds the context to the list posture check types params
func (*ListPostureCheckTypesParams) WithDefaults ¶
func (o *ListPostureCheckTypesParams) WithDefaults() *ListPostureCheckTypesParams
WithDefaults hydrates default values in the list posture check types params (not the query body).
All values with no default are reset to their zero value.
func (*ListPostureCheckTypesParams) WithFilter ¶
func (o *ListPostureCheckTypesParams) WithFilter(filter *string) *ListPostureCheckTypesParams
WithFilter adds the filter to the list posture check types params
func (*ListPostureCheckTypesParams) WithHTTPClient ¶
func (o *ListPostureCheckTypesParams) WithHTTPClient(client *http.Client) *ListPostureCheckTypesParams
WithHTTPClient adds the HTTPClient to the list posture check types params
func (*ListPostureCheckTypesParams) WithLimit ¶
func (o *ListPostureCheckTypesParams) WithLimit(limit *int64) *ListPostureCheckTypesParams
WithLimit adds the limit to the list posture check types params
func (*ListPostureCheckTypesParams) WithOffset ¶
func (o *ListPostureCheckTypesParams) WithOffset(offset *int64) *ListPostureCheckTypesParams
WithOffset adds the offset to the list posture check types params
func (*ListPostureCheckTypesParams) WithTimeout ¶
func (o *ListPostureCheckTypesParams) WithTimeout(timeout time.Duration) *ListPostureCheckTypesParams
WithTimeout adds the timeout to the list posture check types params
func (*ListPostureCheckTypesParams) WriteToRequest ¶
func (o *ListPostureCheckTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPostureCheckTypesReader ¶
type ListPostureCheckTypesReader struct {
// contains filtered or unexported fields
}
ListPostureCheckTypesReader is a Reader for the ListPostureCheckTypes structure.
func (*ListPostureCheckTypesReader) ReadResponse ¶
func (o *ListPostureCheckTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPostureCheckTypesUnauthorized ¶ added in v0.19.173
type ListPostureCheckTypesUnauthorized struct {
}ListPostureCheckTypesUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListPostureCheckTypesUnauthorized ¶ added in v0.19.173
func NewListPostureCheckTypesUnauthorized() *ListPostureCheckTypesUnauthorized
NewListPostureCheckTypesUnauthorized creates a ListPostureCheckTypesUnauthorized with default headers values
func (*ListPostureCheckTypesUnauthorized) Error ¶ added in v0.19.173
func (o *ListPostureCheckTypesUnauthorized) Error() string
func (*ListPostureCheckTypesUnauthorized) GetPayload ¶ added in v0.19.173
func (o *ListPostureCheckTypesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListPostureChecksOK ¶
type ListPostureChecksOK struct {
Payload *rest_model.ListPostureCheckEnvelope
}
ListPostureChecksOK describes a response with status code 200, with default header values.
A list of posture checks
func NewListPostureChecksOK ¶
func NewListPostureChecksOK() *ListPostureChecksOK
NewListPostureChecksOK creates a ListPostureChecksOK with default headers values
func (*ListPostureChecksOK) Error ¶
func (o *ListPostureChecksOK) Error() string
func (*ListPostureChecksOK) GetPayload ¶
func (o *ListPostureChecksOK) GetPayload() *rest_model.ListPostureCheckEnvelope
type ListPostureChecksParams ¶
type ListPostureChecksParams struct { // Filter. Filter *string // Limit. Limit *int64 // Offset. Offset *int64 // RoleFilter. RoleFilter []string // RoleSemantic. RoleSemantic *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPostureChecksParams contains all the parameters to send to the API endpoint
for the list posture checks operation. Typically these are written to a http.Request.
func NewListPostureChecksParams ¶
func NewListPostureChecksParams() *ListPostureChecksParams
NewListPostureChecksParams creates a new ListPostureChecksParams 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 NewListPostureChecksParamsWithContext ¶
func NewListPostureChecksParamsWithContext(ctx context.Context) *ListPostureChecksParams
NewListPostureChecksParamsWithContext creates a new ListPostureChecksParams object with the ability to set a context for a request.
func NewListPostureChecksParamsWithHTTPClient ¶
func NewListPostureChecksParamsWithHTTPClient(client *http.Client) *ListPostureChecksParams
NewListPostureChecksParamsWithHTTPClient creates a new ListPostureChecksParams object with the ability to set a custom HTTPClient for a request.
func NewListPostureChecksParamsWithTimeout ¶
func NewListPostureChecksParamsWithTimeout(timeout time.Duration) *ListPostureChecksParams
NewListPostureChecksParamsWithTimeout creates a new ListPostureChecksParams object with the ability to set a timeout on a request.
func (*ListPostureChecksParams) SetContext ¶
func (o *ListPostureChecksParams) SetContext(ctx context.Context)
SetContext adds the context to the list posture checks params
func (*ListPostureChecksParams) SetDefaults ¶
func (o *ListPostureChecksParams) SetDefaults()
SetDefaults hydrates default values in the list posture checks params (not the query body).
All values with no default are reset to their zero value.
func (*ListPostureChecksParams) SetFilter ¶
func (o *ListPostureChecksParams) SetFilter(filter *string)
SetFilter adds the filter to the list posture checks params
func (*ListPostureChecksParams) SetHTTPClient ¶
func (o *ListPostureChecksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list posture checks params
func (*ListPostureChecksParams) SetLimit ¶
func (o *ListPostureChecksParams) SetLimit(limit *int64)
SetLimit adds the limit to the list posture checks params
func (*ListPostureChecksParams) SetOffset ¶
func (o *ListPostureChecksParams) SetOffset(offset *int64)
SetOffset adds the offset to the list posture checks params
func (*ListPostureChecksParams) SetRoleFilter ¶
func (o *ListPostureChecksParams) SetRoleFilter(roleFilter []string)
SetRoleFilter adds the roleFilter to the list posture checks params
func (*ListPostureChecksParams) SetRoleSemantic ¶
func (o *ListPostureChecksParams) SetRoleSemantic(roleSemantic *string)
SetRoleSemantic adds the roleSemantic to the list posture checks params
func (*ListPostureChecksParams) SetTimeout ¶
func (o *ListPostureChecksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list posture checks params
func (*ListPostureChecksParams) WithContext ¶
func (o *ListPostureChecksParams) WithContext(ctx context.Context) *ListPostureChecksParams
WithContext adds the context to the list posture checks params
func (*ListPostureChecksParams) WithDefaults ¶
func (o *ListPostureChecksParams) WithDefaults() *ListPostureChecksParams
WithDefaults hydrates default values in the list posture checks params (not the query body).
All values with no default are reset to their zero value.
func (*ListPostureChecksParams) WithFilter ¶
func (o *ListPostureChecksParams) WithFilter(filter *string) *ListPostureChecksParams
WithFilter adds the filter to the list posture checks params
func (*ListPostureChecksParams) WithHTTPClient ¶
func (o *ListPostureChecksParams) WithHTTPClient(client *http.Client) *ListPostureChecksParams
WithHTTPClient adds the HTTPClient to the list posture checks params
func (*ListPostureChecksParams) WithLimit ¶
func (o *ListPostureChecksParams) WithLimit(limit *int64) *ListPostureChecksParams
WithLimit adds the limit to the list posture checks params
func (*ListPostureChecksParams) WithOffset ¶
func (o *ListPostureChecksParams) WithOffset(offset *int64) *ListPostureChecksParams
WithOffset adds the offset to the list posture checks params
func (*ListPostureChecksParams) WithRoleFilter ¶
func (o *ListPostureChecksParams) WithRoleFilter(roleFilter []string) *ListPostureChecksParams
WithRoleFilter adds the roleFilter to the list posture checks params
func (*ListPostureChecksParams) WithRoleSemantic ¶
func (o *ListPostureChecksParams) WithRoleSemantic(roleSemantic *string) *ListPostureChecksParams
WithRoleSemantic adds the roleSemantic to the list posture checks params
func (*ListPostureChecksParams) WithTimeout ¶
func (o *ListPostureChecksParams) WithTimeout(timeout time.Duration) *ListPostureChecksParams
WithTimeout adds the timeout to the list posture checks params
func (*ListPostureChecksParams) WriteToRequest ¶
func (o *ListPostureChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPostureChecksReader ¶
type ListPostureChecksReader struct {
// contains filtered or unexported fields
}
ListPostureChecksReader is a Reader for the ListPostureChecks structure.
func (*ListPostureChecksReader) ReadResponse ¶
func (o *ListPostureChecksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPostureChecksUnauthorized ¶ added in v0.19.173
type ListPostureChecksUnauthorized struct {
}ListPostureChecksUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListPostureChecksUnauthorized ¶ added in v0.19.173
func NewListPostureChecksUnauthorized() *ListPostureChecksUnauthorized
NewListPostureChecksUnauthorized creates a ListPostureChecksUnauthorized with default headers values
func (*ListPostureChecksUnauthorized) Error ¶ added in v0.19.173
func (o *ListPostureChecksUnauthorized) Error() string
func (*ListPostureChecksUnauthorized) GetPayload ¶ added in v0.19.173
func (o *ListPostureChecksUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type PatchPostureCheckBadRequest ¶
type PatchPostureCheckBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchPostureCheckBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewPatchPostureCheckBadRequest ¶
func NewPatchPostureCheckBadRequest() *PatchPostureCheckBadRequest
NewPatchPostureCheckBadRequest creates a PatchPostureCheckBadRequest with default headers values
func (*PatchPostureCheckBadRequest) Error ¶
func (o *PatchPostureCheckBadRequest) Error() string
func (*PatchPostureCheckBadRequest) GetPayload ¶
func (o *PatchPostureCheckBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchPostureCheckNotFound ¶
type PatchPostureCheckNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchPostureCheckNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchPostureCheckNotFound ¶
func NewPatchPostureCheckNotFound() *PatchPostureCheckNotFound
NewPatchPostureCheckNotFound creates a PatchPostureCheckNotFound with default headers values
func (*PatchPostureCheckNotFound) Error ¶
func (o *PatchPostureCheckNotFound) Error() string
func (*PatchPostureCheckNotFound) GetPayload ¶
func (o *PatchPostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
type PatchPostureCheckOK ¶
type PatchPostureCheckOK struct {
Payload *rest_model.Empty
}
PatchPostureCheckOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchPostureCheckOK ¶
func NewPatchPostureCheckOK() *PatchPostureCheckOK
NewPatchPostureCheckOK creates a PatchPostureCheckOK with default headers values
func (*PatchPostureCheckOK) Error ¶
func (o *PatchPostureCheckOK) Error() string
func (*PatchPostureCheckOK) GetPayload ¶
func (o *PatchPostureCheckOK) GetPayload() *rest_model.Empty
type PatchPostureCheckParams ¶
type PatchPostureCheckParams struct { /* ID. The id of the requested resource */ ID string /* PostureCheck. A Posture Check patch object */ PostureCheck rest_model.PostureCheckPatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchPostureCheckParams contains all the parameters to send to the API endpoint
for the patch posture check operation. Typically these are written to a http.Request.
func NewPatchPostureCheckParams ¶
func NewPatchPostureCheckParams() *PatchPostureCheckParams
NewPatchPostureCheckParams creates a new PatchPostureCheckParams 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 NewPatchPostureCheckParamsWithContext ¶
func NewPatchPostureCheckParamsWithContext(ctx context.Context) *PatchPostureCheckParams
NewPatchPostureCheckParamsWithContext creates a new PatchPostureCheckParams object with the ability to set a context for a request.
func NewPatchPostureCheckParamsWithHTTPClient ¶
func NewPatchPostureCheckParamsWithHTTPClient(client *http.Client) *PatchPostureCheckParams
NewPatchPostureCheckParamsWithHTTPClient creates a new PatchPostureCheckParams object with the ability to set a custom HTTPClient for a request.
func NewPatchPostureCheckParamsWithTimeout ¶
func NewPatchPostureCheckParamsWithTimeout(timeout time.Duration) *PatchPostureCheckParams
NewPatchPostureCheckParamsWithTimeout creates a new PatchPostureCheckParams object with the ability to set a timeout on a request.
func (*PatchPostureCheckParams) SetContext ¶
func (o *PatchPostureCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the patch posture check params
func (*PatchPostureCheckParams) SetDefaults ¶
func (o *PatchPostureCheckParams) SetDefaults()
SetDefaults hydrates default values in the patch posture check params (not the query body).
All values with no default are reset to their zero value.
func (*PatchPostureCheckParams) SetHTTPClient ¶
func (o *PatchPostureCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch posture check params
func (*PatchPostureCheckParams) SetID ¶
func (o *PatchPostureCheckParams) SetID(id string)
SetID adds the id to the patch posture check params
func (*PatchPostureCheckParams) SetPostureCheck ¶
func (o *PatchPostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckPatch)
SetPostureCheck adds the postureCheck to the patch posture check params
func (*PatchPostureCheckParams) SetTimeout ¶
func (o *PatchPostureCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch posture check params
func (*PatchPostureCheckParams) WithContext ¶
func (o *PatchPostureCheckParams) WithContext(ctx context.Context) *PatchPostureCheckParams
WithContext adds the context to the patch posture check params
func (*PatchPostureCheckParams) WithDefaults ¶
func (o *PatchPostureCheckParams) WithDefaults() *PatchPostureCheckParams
WithDefaults hydrates default values in the patch posture check params (not the query body).
All values with no default are reset to their zero value.
func (*PatchPostureCheckParams) WithHTTPClient ¶
func (o *PatchPostureCheckParams) WithHTTPClient(client *http.Client) *PatchPostureCheckParams
WithHTTPClient adds the HTTPClient to the patch posture check params
func (*PatchPostureCheckParams) WithID ¶
func (o *PatchPostureCheckParams) WithID(id string) *PatchPostureCheckParams
WithID adds the id to the patch posture check params
func (*PatchPostureCheckParams) WithPostureCheck ¶
func (o *PatchPostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckPatch) *PatchPostureCheckParams
WithPostureCheck adds the postureCheck to the patch posture check params
func (*PatchPostureCheckParams) WithTimeout ¶
func (o *PatchPostureCheckParams) WithTimeout(timeout time.Duration) *PatchPostureCheckParams
WithTimeout adds the timeout to the patch posture check params
func (*PatchPostureCheckParams) WriteToRequest ¶
func (o *PatchPostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchPostureCheckReader ¶
type PatchPostureCheckReader struct {
// contains filtered or unexported fields
}
PatchPostureCheckReader is a Reader for the PatchPostureCheck structure.
func (*PatchPostureCheckReader) ReadResponse ¶
func (o *PatchPostureCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchPostureCheckUnauthorized ¶
type PatchPostureCheckUnauthorized struct {
}PatchPostureCheckUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewPatchPostureCheckUnauthorized ¶
func NewPatchPostureCheckUnauthorized() *PatchPostureCheckUnauthorized
NewPatchPostureCheckUnauthorized creates a PatchPostureCheckUnauthorized with default headers values
func (*PatchPostureCheckUnauthorized) Error ¶
func (o *PatchPostureCheckUnauthorized) Error() string
func (*PatchPostureCheckUnauthorized) GetPayload ¶
func (o *PatchPostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdatePostureCheckBadRequest ¶
type UpdatePostureCheckBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdatePostureCheckBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewUpdatePostureCheckBadRequest ¶
func NewUpdatePostureCheckBadRequest() *UpdatePostureCheckBadRequest
NewUpdatePostureCheckBadRequest creates a UpdatePostureCheckBadRequest with default headers values
func (*UpdatePostureCheckBadRequest) Error ¶
func (o *UpdatePostureCheckBadRequest) Error() string
func (*UpdatePostureCheckBadRequest) GetPayload ¶
func (o *UpdatePostureCheckBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdatePostureCheckNotFound ¶
type UpdatePostureCheckNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdatePostureCheckNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdatePostureCheckNotFound ¶
func NewUpdatePostureCheckNotFound() *UpdatePostureCheckNotFound
NewUpdatePostureCheckNotFound creates a UpdatePostureCheckNotFound with default headers values
func (*UpdatePostureCheckNotFound) Error ¶
func (o *UpdatePostureCheckNotFound) Error() string
func (*UpdatePostureCheckNotFound) GetPayload ¶
func (o *UpdatePostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
type UpdatePostureCheckOK ¶
type UpdatePostureCheckOK struct {
Payload *rest_model.Empty
}
UpdatePostureCheckOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdatePostureCheckOK ¶
func NewUpdatePostureCheckOK() *UpdatePostureCheckOK
NewUpdatePostureCheckOK creates a UpdatePostureCheckOK with default headers values
func (*UpdatePostureCheckOK) Error ¶
func (o *UpdatePostureCheckOK) Error() string
func (*UpdatePostureCheckOK) GetPayload ¶
func (o *UpdatePostureCheckOK) GetPayload() *rest_model.Empty
type UpdatePostureCheckParams ¶
type UpdatePostureCheckParams struct { /* ID. The id of the requested resource */ ID string /* PostureCheck. A Posture Check update object */ PostureCheck rest_model.PostureCheckUpdate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePostureCheckParams contains all the parameters to send to the API endpoint
for the update posture check operation. Typically these are written to a http.Request.
func NewUpdatePostureCheckParams ¶
func NewUpdatePostureCheckParams() *UpdatePostureCheckParams
NewUpdatePostureCheckParams creates a new UpdatePostureCheckParams 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 NewUpdatePostureCheckParamsWithContext ¶
func NewUpdatePostureCheckParamsWithContext(ctx context.Context) *UpdatePostureCheckParams
NewUpdatePostureCheckParamsWithContext creates a new UpdatePostureCheckParams object with the ability to set a context for a request.
func NewUpdatePostureCheckParamsWithHTTPClient ¶
func NewUpdatePostureCheckParamsWithHTTPClient(client *http.Client) *UpdatePostureCheckParams
NewUpdatePostureCheckParamsWithHTTPClient creates a new UpdatePostureCheckParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePostureCheckParamsWithTimeout ¶
func NewUpdatePostureCheckParamsWithTimeout(timeout time.Duration) *UpdatePostureCheckParams
NewUpdatePostureCheckParamsWithTimeout creates a new UpdatePostureCheckParams object with the ability to set a timeout on a request.
func (*UpdatePostureCheckParams) SetContext ¶
func (o *UpdatePostureCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the update posture check params
func (*UpdatePostureCheckParams) SetDefaults ¶
func (o *UpdatePostureCheckParams) SetDefaults()
SetDefaults hydrates default values in the update posture check params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePostureCheckParams) SetHTTPClient ¶
func (o *UpdatePostureCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update posture check params
func (*UpdatePostureCheckParams) SetID ¶
func (o *UpdatePostureCheckParams) SetID(id string)
SetID adds the id to the update posture check params
func (*UpdatePostureCheckParams) SetPostureCheck ¶
func (o *UpdatePostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckUpdate)
SetPostureCheck adds the postureCheck to the update posture check params
func (*UpdatePostureCheckParams) SetTimeout ¶
func (o *UpdatePostureCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update posture check params
func (*UpdatePostureCheckParams) WithContext ¶
func (o *UpdatePostureCheckParams) WithContext(ctx context.Context) *UpdatePostureCheckParams
WithContext adds the context to the update posture check params
func (*UpdatePostureCheckParams) WithDefaults ¶
func (o *UpdatePostureCheckParams) WithDefaults() *UpdatePostureCheckParams
WithDefaults hydrates default values in the update posture check params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePostureCheckParams) WithHTTPClient ¶
func (o *UpdatePostureCheckParams) WithHTTPClient(client *http.Client) *UpdatePostureCheckParams
WithHTTPClient adds the HTTPClient to the update posture check params
func (*UpdatePostureCheckParams) WithID ¶
func (o *UpdatePostureCheckParams) WithID(id string) *UpdatePostureCheckParams
WithID adds the id to the update posture check params
func (*UpdatePostureCheckParams) WithPostureCheck ¶
func (o *UpdatePostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckUpdate) *UpdatePostureCheckParams
WithPostureCheck adds the postureCheck to the update posture check params
func (*UpdatePostureCheckParams) WithTimeout ¶
func (o *UpdatePostureCheckParams) WithTimeout(timeout time.Duration) *UpdatePostureCheckParams
WithTimeout adds the timeout to the update posture check params
func (*UpdatePostureCheckParams) WriteToRequest ¶
func (o *UpdatePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePostureCheckReader ¶
type UpdatePostureCheckReader struct {
// contains filtered or unexported fields
}
UpdatePostureCheckReader is a Reader for the UpdatePostureCheck structure.
func (*UpdatePostureCheckReader) ReadResponse ¶
func (o *UpdatePostureCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePostureCheckUnauthorized ¶
type UpdatePostureCheckUnauthorized struct {
}UpdatePostureCheckUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewUpdatePostureCheckUnauthorized ¶
func NewUpdatePostureCheckUnauthorized() *UpdatePostureCheckUnauthorized
NewUpdatePostureCheckUnauthorized creates a UpdatePostureCheckUnauthorized with default headers values
func (*UpdatePostureCheckUnauthorized) Error ¶
func (o *UpdatePostureCheckUnauthorized) Error() string
func (*UpdatePostureCheckUnauthorized) GetPayload ¶
func (o *UpdatePostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- create_posture_check_parameters.go
- create_posture_check_responses.go
- delete_posture_check_parameters.go
- delete_posture_check_responses.go
- detail_posture_check_parameters.go
- detail_posture_check_responses.go
- detail_posture_check_type_parameters.go
- detail_posture_check_type_responses.go
- list_posture_check_types_parameters.go
- list_posture_check_types_responses.go
- list_posture_checks_parameters.go
- list_posture_checks_responses.go
- patch_posture_check_parameters.go
- patch_posture_check_responses.go
- posture_checks_client.go
- update_posture_check_parameters.go
- update_posture_check_responses.go