posture_checks

package
v0.0.0-...-31bffcd Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*CreatePostureCheckBadRequest) GetPayload

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

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

WithContext adds the context to the create posture check params

func (*CreatePostureCheckParams) WithDefaults

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

WithPostureCheck adds the postureCheck to the create posture check params

func (*CreatePostureCheckParams) WithTimeout

WithTimeout adds the timeout to the create posture check params

func (*CreatePostureCheckParams) WriteToRequest

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 {
	Payload *rest_model.APIErrorEnvelope
}
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 (*CreatePostureCheckUnauthorized) GetPayload

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 (*DeletePostureCheckForbidden) GetPayload

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 (*DeletePostureCheckNotFound) GetPayload

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

WithContext adds the context to the delete posture check params

func (*DeletePostureCheckParams) WithDefaults

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

WithID adds the id to the delete posture check params

func (*DeletePostureCheckParams) WithTimeout

WithTimeout adds the timeout to the delete posture check params

func (*DeletePostureCheckParams) WriteToRequest

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 (*DetailPostureCheckNotFound) GetPayload

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

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

WithContext adds the context to the detail posture check params

func (*DetailPostureCheckParams) WithDefaults

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

WithID adds the id to the detail posture check params

func (*DetailPostureCheckParams) WithTimeout

WithTimeout adds the timeout to the detail posture check params

func (*DetailPostureCheckParams) WriteToRequest

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 (*DetailPostureCheckTypeNotFound) GetPayload

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

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

WithContext adds the context to the detail posture check type params

func (*DetailPostureCheckTypeParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the detail posture check type params

func (*DetailPostureCheckTypeParams) WithID

WithID adds the id to the detail posture check type params

func (*DetailPostureCheckTypeParams) WithTimeout

WithTimeout adds the timeout to the detail posture check type params

func (*DetailPostureCheckTypeParams) WriteToRequest

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 {
	Payload *rest_model.APIErrorEnvelope
}
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 (*DetailPostureCheckTypeUnauthorized) GetPayload

type DetailPostureCheckUnauthorized

type DetailPostureCheckUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
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 (*DetailPostureCheckUnauthorized) GetPayload

type ListPostureCheckTypesBadRequest

type ListPostureCheckTypesBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListPostureCheckTypesBadRequest 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 NewListPostureCheckTypesBadRequest

func NewListPostureCheckTypesBadRequest() *ListPostureCheckTypesBadRequest

NewListPostureCheckTypesBadRequest creates a ListPostureCheckTypesBadRequest with default headers values

func (*ListPostureCheckTypesBadRequest) Error

func (*ListPostureCheckTypesBadRequest) GetPayload

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

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

WithContext adds the context to the list posture check types params

func (*ListPostureCheckTypesParams) WithDefaults

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

WithFilter adds the filter to the list posture check types params

func (*ListPostureCheckTypesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list posture check types params

func (*ListPostureCheckTypesParams) WithLimit

WithLimit adds the limit to the list posture check types params

func (*ListPostureCheckTypesParams) WithOffset

WithOffset adds the offset to the list posture check types params

func (*ListPostureCheckTypesParams) WithTimeout

WithTimeout adds the timeout to the list posture check types params

func (*ListPostureCheckTypesParams) WriteToRequest

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

type ListPostureCheckTypesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
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

func NewListPostureCheckTypesUnauthorized() *ListPostureCheckTypesUnauthorized

NewListPostureCheckTypesUnauthorized creates a ListPostureCheckTypesUnauthorized with default headers values

func (*ListPostureCheckTypesUnauthorized) Error

func (*ListPostureCheckTypesUnauthorized) GetPayload

type ListPostureChecksBadRequest

type ListPostureChecksBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListPostureChecksBadRequest 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 NewListPostureChecksBadRequest

func NewListPostureChecksBadRequest() *ListPostureChecksBadRequest

NewListPostureChecksBadRequest creates a ListPostureChecksBadRequest with default headers values

func (*ListPostureChecksBadRequest) Error

func (*ListPostureChecksBadRequest) GetPayload

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

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

WithContext adds the context to the list posture checks params

func (*ListPostureChecksParams) WithDefaults

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

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

WithTimeout adds the timeout to the list posture checks params

func (*ListPostureChecksParams) WriteToRequest

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

type ListPostureChecksUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
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

func NewListPostureChecksUnauthorized() *ListPostureChecksUnauthorized

NewListPostureChecksUnauthorized creates a ListPostureChecksUnauthorized with default headers values

func (*ListPostureChecksUnauthorized) Error

func (*ListPostureChecksUnauthorized) GetPayload

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 (*PatchPostureCheckBadRequest) GetPayload

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

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

WithContext adds the context to the patch posture check params

func (*PatchPostureCheckParams) WithDefaults

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

WithID adds the id to the patch posture check params

func (*PatchPostureCheckParams) WithPostureCheck

WithPostureCheck adds the postureCheck to the patch posture check params

func (*PatchPostureCheckParams) WithTimeout

WithTimeout adds the timeout to the patch posture check params

func (*PatchPostureCheckParams) WriteToRequest

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 {
	Payload *rest_model.APIErrorEnvelope
}
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 (*PatchPostureCheckUnauthorized) GetPayload

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 (*UpdatePostureCheckBadRequest) GetPayload

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 (*UpdatePostureCheckNotFound) GetPayload

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

WithContext adds the context to the update posture check params

func (*UpdatePostureCheckParams) WithDefaults

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

WithID adds the id to the update posture check params

func (*UpdatePostureCheckParams) WithPostureCheck

WithPostureCheck adds the postureCheck to the update posture check params

func (*UpdatePostureCheckParams) WithTimeout

WithTimeout adds the timeout to the update posture check params

func (*UpdatePostureCheckParams) WriteToRequest

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 {
	Payload *rest_model.APIErrorEnvelope
}
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 (*UpdatePostureCheckUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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