posture_checks

package
v0.17.33 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 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) (*CreatePostureCheckOK, error)

CreatePostureCheck creates a posture checks

Creates a Posture Checks

func (*Client) CreatePostureResponse added in v0.17.5

func (a *Client) CreatePostureResponse(params *CreatePostureResponseParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePostureResponseOK, error)

CreatePostureResponse submits a posture response to a posture query

Submits posture responses

func (*Client) DeletePostureCheck

func (a *Client) DeletePostureCheck(params *DeletePostureCheckParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*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) (*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) (*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) (*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) (*UpdatePostureCheckOK, error)

UpdatePostureCheck updates all fields on a posture checks

Update all fields on a Posture Checks by id

type ClientService

type ClientService interface {
	CreatePostureCheck(params *CreatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePostureCheckOK, error)

	CreatePostureResponse(params *CreatePostureResponseParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePostureResponseOK, error)

	DeletePostureCheck(params *DeletePostureCheckParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePostureCheckOK, error)

	DetailPostureCheck(params *DetailPostureCheckParams, authInfo runtime.ClientAuthInfoWriter) (*DetailPostureCheckOK, error)

	DetailPostureCheckType(params *DetailPostureCheckTypeParams, authInfo runtime.ClientAuthInfoWriter) (*DetailPostureCheckTypeOK, error)

	ListPostureCheckTypes(params *ListPostureCheckTypesParams, authInfo runtime.ClientAuthInfoWriter) (*ListPostureCheckTypesOK, error)

	ListPostureChecks(params *ListPostureChecksParams, authInfo runtime.ClientAuthInfoWriter) (*ListPostureChecksOK, error)

	PatchPostureCheck(params *PatchPostureCheckParams, authInfo runtime.ClientAuthInfoWriter) (*PatchPostureCheckOK, error)

	UpdatePostureCheck(params *UpdatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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 CreatePostureCheckOK

type CreatePostureCheckOK struct {
	Payload *rest_model.CreateEnvelope
}

CreatePostureCheckOK handles this case with default header values.

The create request was successful and the resource has been added at the following location

func NewCreatePostureCheckOK

func NewCreatePostureCheckOK() *CreatePostureCheckOK

NewCreatePostureCheckOK creates a CreatePostureCheckOK with default headers values

func (*CreatePostureCheckOK) Error

func (o *CreatePostureCheckOK) Error() string

func (*CreatePostureCheckOK) GetPayload

type CreatePostureCheckParams

type CreatePostureCheckParams struct {

	/*Body
	  A Posture Checks to create

	*/
	Body 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 values initialized.

func NewCreatePostureCheckParamsWithContext

func NewCreatePostureCheckParamsWithContext(ctx context.Context) *CreatePostureCheckParams

NewCreatePostureCheckParamsWithContext creates a new CreatePostureCheckParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*CreatePostureCheckParams) SetBody

SetBody adds the body to the create posture check params

func (*CreatePostureCheckParams) SetContext

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

SetContext adds the context to the create posture check params

func (*CreatePostureCheckParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient 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) WithBody

WithBody adds the body to the create posture check params

func (*CreatePostureCheckParams) WithContext

WithContext adds the context to the create posture check params

func (*CreatePostureCheckParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient 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 handles this case 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 CreatePostureResponseBadRequest added in v0.17.5

type CreatePostureResponseBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

CreatePostureResponseBadRequest handles this case 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 NewCreatePostureResponseBadRequest added in v0.17.5

func NewCreatePostureResponseBadRequest() *CreatePostureResponseBadRequest

NewCreatePostureResponseBadRequest creates a CreatePostureResponseBadRequest with default headers values

func (*CreatePostureResponseBadRequest) Error added in v0.17.5

func (*CreatePostureResponseBadRequest) GetPayload added in v0.17.5

type CreatePostureResponseOK added in v0.17.5

type CreatePostureResponseOK struct {
	Payload *rest_model.Empty
}

CreatePostureResponseOK handles this case with default header values.

Base empty response

func NewCreatePostureResponseOK added in v0.17.5

func NewCreatePostureResponseOK() *CreatePostureResponseOK

NewCreatePostureResponseOK creates a CreatePostureResponseOK with default headers values

func (*CreatePostureResponseOK) Error added in v0.17.5

func (o *CreatePostureResponseOK) Error() string

func (*CreatePostureResponseOK) GetPayload added in v0.17.5

func (o *CreatePostureResponseOK) GetPayload() *rest_model.Empty

type CreatePostureResponseParams added in v0.17.5

type CreatePostureResponseParams struct {

	/*Body
	  A Posture Response

	*/
	Body rest_model.PostureResponseCreate

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

CreatePostureResponseParams contains all the parameters to send to the API endpoint for the create posture response operation typically these are written to a http.Request

func NewCreatePostureResponseParams added in v0.17.5

func NewCreatePostureResponseParams() *CreatePostureResponseParams

NewCreatePostureResponseParams creates a new CreatePostureResponseParams object with the default values initialized.

func NewCreatePostureResponseParamsWithContext added in v0.17.5

func NewCreatePostureResponseParamsWithContext(ctx context.Context) *CreatePostureResponseParams

NewCreatePostureResponseParamsWithContext creates a new CreatePostureResponseParams object with the default values initialized, and the ability to set a context for a request

func NewCreatePostureResponseParamsWithHTTPClient added in v0.17.5

func NewCreatePostureResponseParamsWithHTTPClient(client *http.Client) *CreatePostureResponseParams

NewCreatePostureResponseParamsWithHTTPClient creates a new CreatePostureResponseParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreatePostureResponseParamsWithTimeout added in v0.17.5

func NewCreatePostureResponseParamsWithTimeout(timeout time.Duration) *CreatePostureResponseParams

NewCreatePostureResponseParamsWithTimeout creates a new CreatePostureResponseParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreatePostureResponseParams) SetBody added in v0.17.5

SetBody adds the body to the create posture response params

func (*CreatePostureResponseParams) SetContext added in v0.17.5

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

SetContext adds the context to the create posture response params

func (*CreatePostureResponseParams) SetHTTPClient added in v0.17.5

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

SetHTTPClient adds the HTTPClient to the create posture response params

func (*CreatePostureResponseParams) SetTimeout added in v0.17.5

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

SetTimeout adds the timeout to the create posture response params

func (*CreatePostureResponseParams) WithBody added in v0.17.5

WithBody adds the body to the create posture response params

func (*CreatePostureResponseParams) WithContext added in v0.17.5

WithContext adds the context to the create posture response params

func (*CreatePostureResponseParams) WithHTTPClient added in v0.17.5

WithHTTPClient adds the HTTPClient to the create posture response params

func (*CreatePostureResponseParams) WithTimeout added in v0.17.5

WithTimeout adds the timeout to the create posture response params

func (*CreatePostureResponseParams) WriteToRequest added in v0.17.5

WriteToRequest writes these params to a swagger request

type CreatePostureResponseReader added in v0.17.5

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

CreatePostureResponseReader is a Reader for the CreatePostureResponse structure.

func (*CreatePostureResponseReader) ReadResponse added in v0.17.5

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

ReadResponse reads a server response into the received o.

type CreatePostureResponseUnauthorized added in v0.17.5

type CreatePostureResponseUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

CreatePostureResponseUnauthorized handles this case with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewCreatePostureResponseUnauthorized added in v0.17.5

func NewCreatePostureResponseUnauthorized() *CreatePostureResponseUnauthorized

NewCreatePostureResponseUnauthorized creates a CreatePostureResponseUnauthorized with default headers values

func (*CreatePostureResponseUnauthorized) Error added in v0.17.5

func (*CreatePostureResponseUnauthorized) GetPayload added in v0.17.5

type DeletePostureCheckForbidden

type DeletePostureCheckForbidden struct {
	Payload *rest_model.APIErrorEnvelope
}

DeletePostureCheckForbidden handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewDeletePostureCheckParamsWithContext

func NewDeletePostureCheckParamsWithContext(ctx context.Context) *DeletePostureCheckParams

NewDeletePostureCheckParamsWithContext creates a new DeletePostureCheckParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 values initialized.

func NewDetailPostureCheckParamsWithContext

func NewDetailPostureCheckParamsWithContext(ctx context.Context) *DetailPostureCheckParams

NewDetailPostureCheckParamsWithContext creates a new DetailPostureCheckParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 values initialized.

func NewDetailPostureCheckTypeParamsWithContext

func NewDetailPostureCheckTypeParamsWithContext(ctx context.Context) *DetailPostureCheckTypeParams

NewDetailPostureCheckTypeParamsWithContext creates a new DetailPostureCheckTypeParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 ListPostureCheckTypesOK

type ListPostureCheckTypesOK struct {
	Payload *rest_model.ListPostureCheckTypesEnvelope
}

ListPostureCheckTypesOK handles this case 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 values initialized.

func NewListPostureCheckTypesParamsWithContext

func NewListPostureCheckTypesParamsWithContext(ctx context.Context) *ListPostureCheckTypesParams

NewListPostureCheckTypesParamsWithContext creates a new ListPostureCheckTypesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ListPostureChecksOK

type ListPostureChecksOK struct {
	Payload *rest_model.ListPostureCheckEnvelope
}

ListPostureChecksOK handles this case 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 values initialized.

func NewListPostureChecksParamsWithContext

func NewListPostureChecksParamsWithContext(ctx context.Context) *ListPostureChecksParams

NewListPostureChecksParamsWithContext creates a new ListPostureChecksParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 added in v0.17.5

func (o *ListPostureChecksParams) SetRoleFilter(roleFilter []string)

SetRoleFilter adds the roleFilter to the list posture checks params

func (*ListPostureChecksParams) SetRoleSemantic added in v0.17.5

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) 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 added in v0.17.5

func (o *ListPostureChecksParams) WithRoleFilter(roleFilter []string) *ListPostureChecksParams

WithRoleFilter adds the roleFilter to the list posture checks params

func (*ListPostureChecksParams) WithRoleSemantic added in v0.17.5

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 PatchPostureCheckBadRequest

type PatchPostureCheckBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

PatchPostureCheckBadRequest handles this case 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 handles this case 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 handles this case 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 {

	/*Body
	  A Posture Checks patch object

	*/
	Body rest_model.PostureCheckPatch
	/*ID
	  The id of the requested resource

	*/
	ID string

	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 values initialized.

func NewPatchPostureCheckParamsWithContext

func NewPatchPostureCheckParamsWithContext(ctx context.Context) *PatchPostureCheckParams

NewPatchPostureCheckParamsWithContext creates a new PatchPostureCheckParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*PatchPostureCheckParams) SetBody

SetBody adds the body to the patch posture check params

func (*PatchPostureCheckParams) SetContext

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

SetContext adds the context to the patch posture check params

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) SetTimeout

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

SetTimeout adds the timeout to the patch posture check params

func (*PatchPostureCheckParams) WithBody

WithBody adds the body to the patch posture check params

func (*PatchPostureCheckParams) WithContext

WithContext adds the context to the patch posture check params

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) 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 {

	/*Body
	  A Posture Checks update object

	*/
	Body rest_model.PostureCheckUpdate
	/*ID
	  The id of the requested resource

	*/
	ID string

	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 values initialized.

func NewUpdatePostureCheckParamsWithContext

func NewUpdatePostureCheckParamsWithContext(ctx context.Context) *UpdatePostureCheckParams

NewUpdatePostureCheckParamsWithContext creates a new UpdatePostureCheckParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*UpdatePostureCheckParams) SetBody

SetBody adds the body to the update posture check params

func (*UpdatePostureCheckParams) SetContext

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

SetContext adds the context to the update posture check params

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) SetTimeout

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

SetTimeout adds the timeout to the update posture check params

func (*UpdatePostureCheckParams) WithBody

WithBody adds the body to the update posture check params

func (*UpdatePostureCheckParams) WithContext

WithContext adds the context to the update posture check params

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) 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 handles this case 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