posture_checks

package
v0.25.12 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CreatePostureCheckBadRequestCode int = 400

CreatePostureCheckBadRequestCode is the HTTP code returned for type CreatePostureCheckBadRequest

View Source
const CreatePostureCheckCreatedCode int = 201

CreatePostureCheckCreatedCode is the HTTP code returned for type CreatePostureCheckCreated

View Source
const CreatePostureCheckUnauthorizedCode int = 401

CreatePostureCheckUnauthorizedCode is the HTTP code returned for type CreatePostureCheckUnauthorized

View Source
const DeletePostureCheckForbiddenCode int = 403

DeletePostureCheckForbiddenCode is the HTTP code returned for type DeletePostureCheckForbidden

View Source
const DeletePostureCheckNotFoundCode int = 404

DeletePostureCheckNotFoundCode is the HTTP code returned for type DeletePostureCheckNotFound

View Source
const DeletePostureCheckOKCode int = 200

DeletePostureCheckOKCode is the HTTP code returned for type DeletePostureCheckOK

View Source
const DetailPostureCheckNotFoundCode int = 404

DetailPostureCheckNotFoundCode is the HTTP code returned for type DetailPostureCheckNotFound

View Source
const DetailPostureCheckOKCode int = 200

DetailPostureCheckOKCode is the HTTP code returned for type DetailPostureCheckOK

View Source
const DetailPostureCheckTypeNotFoundCode int = 404

DetailPostureCheckTypeNotFoundCode is the HTTP code returned for type DetailPostureCheckTypeNotFound

View Source
const DetailPostureCheckTypeOKCode int = 200

DetailPostureCheckTypeOKCode is the HTTP code returned for type DetailPostureCheckTypeOK

View Source
const DetailPostureCheckTypeUnauthorizedCode int = 401

DetailPostureCheckTypeUnauthorizedCode is the HTTP code returned for type DetailPostureCheckTypeUnauthorized

View Source
const DetailPostureCheckUnauthorizedCode int = 401

DetailPostureCheckUnauthorizedCode is the HTTP code returned for type DetailPostureCheckUnauthorized

View Source
const ListPostureCheckTypesBadRequestCode int = 400

ListPostureCheckTypesBadRequestCode is the HTTP code returned for type ListPostureCheckTypesBadRequest

View Source
const ListPostureCheckTypesOKCode int = 200

ListPostureCheckTypesOKCode is the HTTP code returned for type ListPostureCheckTypesOK

View Source
const ListPostureCheckTypesUnauthorizedCode int = 401

ListPostureCheckTypesUnauthorizedCode is the HTTP code returned for type ListPostureCheckTypesUnauthorized

View Source
const ListPostureChecksBadRequestCode int = 400

ListPostureChecksBadRequestCode is the HTTP code returned for type ListPostureChecksBadRequest

View Source
const ListPostureChecksOKCode int = 200

ListPostureChecksOKCode is the HTTP code returned for type ListPostureChecksOK

View Source
const ListPostureChecksUnauthorizedCode int = 401

ListPostureChecksUnauthorizedCode is the HTTP code returned for type ListPostureChecksUnauthorized

View Source
const PatchPostureCheckBadRequestCode int = 400

PatchPostureCheckBadRequestCode is the HTTP code returned for type PatchPostureCheckBadRequest

View Source
const PatchPostureCheckNotFoundCode int = 404

PatchPostureCheckNotFoundCode is the HTTP code returned for type PatchPostureCheckNotFound

View Source
const PatchPostureCheckOKCode int = 200

PatchPostureCheckOKCode is the HTTP code returned for type PatchPostureCheckOK

View Source
const PatchPostureCheckUnauthorizedCode int = 401

PatchPostureCheckUnauthorizedCode is the HTTP code returned for type PatchPostureCheckUnauthorized

View Source
const UpdatePostureCheckBadRequestCode int = 400

UpdatePostureCheckBadRequestCode is the HTTP code returned for type UpdatePostureCheckBadRequest

View Source
const UpdatePostureCheckNotFoundCode int = 404

UpdatePostureCheckNotFoundCode is the HTTP code returned for type UpdatePostureCheckNotFound

View Source
const UpdatePostureCheckOKCode int = 200

UpdatePostureCheckOKCode is the HTTP code returned for type UpdatePostureCheckOK

View Source
const UpdatePostureCheckUnauthorizedCode int = 401

UpdatePostureCheckUnauthorizedCode is the HTTP code returned for type UpdatePostureCheckUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePostureCheck

type CreatePostureCheck struct {
	Context *middleware.Context
	Handler CreatePostureCheckHandler
}
CreatePostureCheck swagger:route POST /posture-checks Posture Checks createPostureCheck

Creates a Posture Checks

Creates a Posture Checks

func NewCreatePostureCheck

func NewCreatePostureCheck(ctx *middleware.Context, handler CreatePostureCheckHandler) *CreatePostureCheck

NewCreatePostureCheck creates a new http.Handler for the create posture check operation

func (*CreatePostureCheck) ServeHTTP

func (o *CreatePostureCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreatePostureCheckBadRequest

type CreatePostureCheckBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreatePostureCheckBadRequest 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

swagger:response createPostureCheckBadRequest

func NewCreatePostureCheckBadRequest

func NewCreatePostureCheckBadRequest() *CreatePostureCheckBadRequest

NewCreatePostureCheckBadRequest creates CreatePostureCheckBadRequest with default headers values

func (*CreatePostureCheckBadRequest) SetPayload

SetPayload sets the payload to the create posture check bad request response

func (*CreatePostureCheckBadRequest) WithPayload

WithPayload adds the payload to the create posture check bad request response

func (*CreatePostureCheckBadRequest) WriteResponse

func (o *CreatePostureCheckBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreatePostureCheckCreated

type CreatePostureCheckCreated struct {

	/*
	  In: Body
	*/
	Payload *rest_model.CreateEnvelope `json:"body,omitempty"`
}

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

swagger:response createPostureCheckCreated

func NewCreatePostureCheckCreated

func NewCreatePostureCheckCreated() *CreatePostureCheckCreated

NewCreatePostureCheckCreated creates CreatePostureCheckCreated with default headers values

func (*CreatePostureCheckCreated) SetPayload

func (o *CreatePostureCheckCreated) SetPayload(payload *rest_model.CreateEnvelope)

SetPayload sets the payload to the create posture check created response

func (*CreatePostureCheckCreated) WithPayload

WithPayload adds the payload to the create posture check created response

func (*CreatePostureCheckCreated) WriteResponse

func (o *CreatePostureCheckCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreatePostureCheckHandler

type CreatePostureCheckHandler interface {
	Handle(CreatePostureCheckParams, interface{}) middleware.Responder
}

CreatePostureCheckHandler interface for that can handle valid create posture check params

type CreatePostureCheckHandlerFunc

type CreatePostureCheckHandlerFunc func(CreatePostureCheckParams, interface{}) middleware.Responder

CreatePostureCheckHandlerFunc turns a function with the right signature into a create posture check handler

func (CreatePostureCheckHandlerFunc) Handle

func (fn CreatePostureCheckHandlerFunc) Handle(params CreatePostureCheckParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type CreatePostureCheckParams

type CreatePostureCheckParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*A Posture Check to create
	  Required: true
	  In: body
	*/
	PostureCheck rest_model.PostureCheckCreate
}

CreatePostureCheckParams contains all the bound params for the create posture check operation typically these are obtained from a http.Request

swagger:parameters createPostureCheck

func NewCreatePostureCheckParams

func NewCreatePostureCheckParams() CreatePostureCheckParams

NewCreatePostureCheckParams creates a new CreatePostureCheckParams object

There are no default values defined in the spec.

func (*CreatePostureCheckParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreatePostureCheckParams() beforehand.

type CreatePostureCheckURL

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

CreatePostureCheckURL generates an URL for the create posture check operation

func (*CreatePostureCheckURL) Build

func (o *CreatePostureCheckURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreatePostureCheckURL) BuildFull

func (o *CreatePostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreatePostureCheckURL) Must

func (o *CreatePostureCheckURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreatePostureCheckURL) SetBasePath

func (o *CreatePostureCheckURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreatePostureCheckURL) String

func (o *CreatePostureCheckURL) String() string

String returns the string representation of the path with query string

func (*CreatePostureCheckURL) StringFull

func (o *CreatePostureCheckURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreatePostureCheckURL) WithBasePath

func (o *CreatePostureCheckURL) WithBasePath(bp string) *CreatePostureCheckURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreatePostureCheckUnauthorized

type CreatePostureCheckUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response createPostureCheckUnauthorized

func NewCreatePostureCheckUnauthorized

func NewCreatePostureCheckUnauthorized() *CreatePostureCheckUnauthorized

NewCreatePostureCheckUnauthorized creates CreatePostureCheckUnauthorized with default headers values

func (*CreatePostureCheckUnauthorized) SetPayload

SetPayload sets the payload to the create posture check unauthorized response

func (*CreatePostureCheckUnauthorized) WithPayload

WithPayload adds the payload to the create posture check unauthorized response

func (*CreatePostureCheckUnauthorized) WriteResponse

func (o *CreatePostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeletePostureCheck

type DeletePostureCheck struct {
	Context *middleware.Context
	Handler DeletePostureCheckHandler
}
DeletePostureCheck swagger:route DELETE /posture-checks/{id} Posture Checks deletePostureCheck

Deletes an Posture Checks

Deletes and Posture Checks by id

func NewDeletePostureCheck

func NewDeletePostureCheck(ctx *middleware.Context, handler DeletePostureCheckHandler) *DeletePostureCheck

NewDeletePostureCheck creates a new http.Handler for the delete posture check operation

func (*DeletePostureCheck) ServeHTTP

func (o *DeletePostureCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeletePostureCheckForbidden

type DeletePostureCheckForbidden struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response deletePostureCheckForbidden

func NewDeletePostureCheckForbidden

func NewDeletePostureCheckForbidden() *DeletePostureCheckForbidden

NewDeletePostureCheckForbidden creates DeletePostureCheckForbidden with default headers values

func (*DeletePostureCheckForbidden) SetPayload

SetPayload sets the payload to the delete posture check forbidden response

func (*DeletePostureCheckForbidden) WithPayload

WithPayload adds the payload to the delete posture check forbidden response

func (*DeletePostureCheckForbidden) WriteResponse

func (o *DeletePostureCheckForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeletePostureCheckHandler

type DeletePostureCheckHandler interface {
	Handle(DeletePostureCheckParams, interface{}) middleware.Responder
}

DeletePostureCheckHandler interface for that can handle valid delete posture check params

type DeletePostureCheckHandlerFunc

type DeletePostureCheckHandlerFunc func(DeletePostureCheckParams, interface{}) middleware.Responder

DeletePostureCheckHandlerFunc turns a function with the right signature into a delete posture check handler

func (DeletePostureCheckHandlerFunc) Handle

func (fn DeletePostureCheckHandlerFunc) Handle(params DeletePostureCheckParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeletePostureCheckNotFound

type DeletePostureCheckNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeletePostureCheckNotFound The requested resource does not exist

swagger:response deletePostureCheckNotFound

func NewDeletePostureCheckNotFound

func NewDeletePostureCheckNotFound() *DeletePostureCheckNotFound

NewDeletePostureCheckNotFound creates DeletePostureCheckNotFound with default headers values

func (*DeletePostureCheckNotFound) SetPayload

func (o *DeletePostureCheckNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the delete posture check not found response

func (*DeletePostureCheckNotFound) WithPayload

WithPayload adds the payload to the delete posture check not found response

func (*DeletePostureCheckNotFound) WriteResponse

func (o *DeletePostureCheckNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeletePostureCheckOK

type DeletePostureCheckOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

DeletePostureCheckOK The delete request was successful and the resource has been removed

swagger:response deletePostureCheckOK

func NewDeletePostureCheckOK

func NewDeletePostureCheckOK() *DeletePostureCheckOK

NewDeletePostureCheckOK creates DeletePostureCheckOK with default headers values

func (*DeletePostureCheckOK) SetPayload

func (o *DeletePostureCheckOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the delete posture check o k response

func (*DeletePostureCheckOK) WithPayload

func (o *DeletePostureCheckOK) WithPayload(payload *rest_model.Empty) *DeletePostureCheckOK

WithPayload adds the payload to the delete posture check o k response

func (*DeletePostureCheckOK) WriteResponse

func (o *DeletePostureCheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeletePostureCheckParams

type DeletePostureCheckParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DeletePostureCheckParams contains all the bound params for the delete posture check operation typically these are obtained from a http.Request

swagger:parameters deletePostureCheck

func NewDeletePostureCheckParams

func NewDeletePostureCheckParams() DeletePostureCheckParams

NewDeletePostureCheckParams creates a new DeletePostureCheckParams object

There are no default values defined in the spec.

func (*DeletePostureCheckParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeletePostureCheckParams() beforehand.

type DeletePostureCheckURL

type DeletePostureCheckURL struct {
	ID string
	// contains filtered or unexported fields
}

DeletePostureCheckURL generates an URL for the delete posture check operation

func (*DeletePostureCheckURL) Build

func (o *DeletePostureCheckURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeletePostureCheckURL) BuildFull

func (o *DeletePostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeletePostureCheckURL) Must

func (o *DeletePostureCheckURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeletePostureCheckURL) SetBasePath

func (o *DeletePostureCheckURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeletePostureCheckURL) String

func (o *DeletePostureCheckURL) String() string

String returns the string representation of the path with query string

func (*DeletePostureCheckURL) StringFull

func (o *DeletePostureCheckURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeletePostureCheckURL) WithBasePath

func (o *DeletePostureCheckURL) WithBasePath(bp string) *DeletePostureCheckURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DetailPostureCheck

type DetailPostureCheck struct {
	Context *middleware.Context
	Handler DetailPostureCheckHandler
}
DetailPostureCheck swagger:route GET /posture-checks/{id} Posture Checks detailPostureCheck

Retrieves a single Posture Checks

Retrieves a single Posture Checks by id

func NewDetailPostureCheck

func NewDetailPostureCheck(ctx *middleware.Context, handler DetailPostureCheckHandler) *DetailPostureCheck

NewDetailPostureCheck creates a new http.Handler for the detail posture check operation

func (*DetailPostureCheck) ServeHTTP

func (o *DetailPostureCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DetailPostureCheckHandler

type DetailPostureCheckHandler interface {
	Handle(DetailPostureCheckParams, interface{}) middleware.Responder
}

DetailPostureCheckHandler interface for that can handle valid detail posture check params

type DetailPostureCheckHandlerFunc

type DetailPostureCheckHandlerFunc func(DetailPostureCheckParams, interface{}) middleware.Responder

DetailPostureCheckHandlerFunc turns a function with the right signature into a detail posture check handler

func (DetailPostureCheckHandlerFunc) Handle

func (fn DetailPostureCheckHandlerFunc) Handle(params DetailPostureCheckParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DetailPostureCheckNotFound

type DetailPostureCheckNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailPostureCheckNotFound The requested resource does not exist

swagger:response detailPostureCheckNotFound

func NewDetailPostureCheckNotFound

func NewDetailPostureCheckNotFound() *DetailPostureCheckNotFound

NewDetailPostureCheckNotFound creates DetailPostureCheckNotFound with default headers values

func (*DetailPostureCheckNotFound) SetPayload

func (o *DetailPostureCheckNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the detail posture check not found response

func (*DetailPostureCheckNotFound) WithPayload

WithPayload adds the payload to the detail posture check not found response

func (*DetailPostureCheckNotFound) WriteResponse

func (o *DetailPostureCheckNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailPostureCheckOK

type DetailPostureCheckOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.DetailPostureCheckEnvelope `json:"body,omitempty"`
}

DetailPostureCheckOK Retrieves a singular posture check by id

swagger:response detailPostureCheckOK

func NewDetailPostureCheckOK

func NewDetailPostureCheckOK() *DetailPostureCheckOK

NewDetailPostureCheckOK creates DetailPostureCheckOK with default headers values

func (*DetailPostureCheckOK) SetPayload

SetPayload sets the payload to the detail posture check o k response

func (*DetailPostureCheckOK) WithPayload

WithPayload adds the payload to the detail posture check o k response

func (*DetailPostureCheckOK) WriteResponse

func (o *DetailPostureCheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailPostureCheckParams

type DetailPostureCheckParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DetailPostureCheckParams contains all the bound params for the detail posture check operation typically these are obtained from a http.Request

swagger:parameters detailPostureCheck

func NewDetailPostureCheckParams

func NewDetailPostureCheckParams() DetailPostureCheckParams

NewDetailPostureCheckParams creates a new DetailPostureCheckParams object

There are no default values defined in the spec.

func (*DetailPostureCheckParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDetailPostureCheckParams() beforehand.

type DetailPostureCheckType

type DetailPostureCheckType struct {
	Context *middleware.Context
	Handler DetailPostureCheckTypeHandler
}
DetailPostureCheckType swagger:route GET /posture-check-types/{id} Posture Checks detailPostureCheckType

Retrieves a single posture check type

Retrieves a single posture check type by id

func NewDetailPostureCheckType

func NewDetailPostureCheckType(ctx *middleware.Context, handler DetailPostureCheckTypeHandler) *DetailPostureCheckType

NewDetailPostureCheckType creates a new http.Handler for the detail posture check type operation

func (*DetailPostureCheckType) ServeHTTP

func (o *DetailPostureCheckType) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DetailPostureCheckTypeHandler

type DetailPostureCheckTypeHandler interface {
	Handle(DetailPostureCheckTypeParams, interface{}) middleware.Responder
}

DetailPostureCheckTypeHandler interface for that can handle valid detail posture check type params

type DetailPostureCheckTypeHandlerFunc

type DetailPostureCheckTypeHandlerFunc func(DetailPostureCheckTypeParams, interface{}) middleware.Responder

DetailPostureCheckTypeHandlerFunc turns a function with the right signature into a detail posture check type handler

func (DetailPostureCheckTypeHandlerFunc) Handle

Handle executing the request and returning a response

type DetailPostureCheckTypeNotFound

type DetailPostureCheckTypeNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailPostureCheckTypeNotFound The requested resource does not exist

swagger:response detailPostureCheckTypeNotFound

func NewDetailPostureCheckTypeNotFound

func NewDetailPostureCheckTypeNotFound() *DetailPostureCheckTypeNotFound

NewDetailPostureCheckTypeNotFound creates DetailPostureCheckTypeNotFound with default headers values

func (*DetailPostureCheckTypeNotFound) SetPayload

SetPayload sets the payload to the detail posture check type not found response

func (*DetailPostureCheckTypeNotFound) WithPayload

WithPayload adds the payload to the detail posture check type not found response

func (*DetailPostureCheckTypeNotFound) WriteResponse

func (o *DetailPostureCheckTypeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailPostureCheckTypeOK

type DetailPostureCheckTypeOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.DetailPostureCheckTypeEnvelope `json:"body,omitempty"`
}

DetailPostureCheckTypeOK Retrieves a singular posture check type by id

swagger:response detailPostureCheckTypeOK

func NewDetailPostureCheckTypeOK

func NewDetailPostureCheckTypeOK() *DetailPostureCheckTypeOK

NewDetailPostureCheckTypeOK creates DetailPostureCheckTypeOK with default headers values

func (*DetailPostureCheckTypeOK) SetPayload

SetPayload sets the payload to the detail posture check type o k response

func (*DetailPostureCheckTypeOK) WithPayload

WithPayload adds the payload to the detail posture check type o k response

func (*DetailPostureCheckTypeOK) WriteResponse

func (o *DetailPostureCheckTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailPostureCheckTypeParams

type DetailPostureCheckTypeParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DetailPostureCheckTypeParams contains all the bound params for the detail posture check type operation typically these are obtained from a http.Request

swagger:parameters detailPostureCheckType

func NewDetailPostureCheckTypeParams

func NewDetailPostureCheckTypeParams() DetailPostureCheckTypeParams

NewDetailPostureCheckTypeParams creates a new DetailPostureCheckTypeParams object

There are no default values defined in the spec.

func (*DetailPostureCheckTypeParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDetailPostureCheckTypeParams() beforehand.

type DetailPostureCheckTypeURL

type DetailPostureCheckTypeURL struct {
	ID string
	// contains filtered or unexported fields
}

DetailPostureCheckTypeURL generates an URL for the detail posture check type operation

func (*DetailPostureCheckTypeURL) Build

func (o *DetailPostureCheckTypeURL) Build() (*url.URL, error)

Build a url path and query string

func (*DetailPostureCheckTypeURL) BuildFull

func (o *DetailPostureCheckTypeURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DetailPostureCheckTypeURL) Must

func (o *DetailPostureCheckTypeURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DetailPostureCheckTypeURL) SetBasePath

func (o *DetailPostureCheckTypeURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DetailPostureCheckTypeURL) String

func (o *DetailPostureCheckTypeURL) String() string

String returns the string representation of the path with query string

func (*DetailPostureCheckTypeURL) StringFull

func (o *DetailPostureCheckTypeURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DetailPostureCheckTypeURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DetailPostureCheckTypeUnauthorized

type DetailPostureCheckTypeUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response detailPostureCheckTypeUnauthorized

func NewDetailPostureCheckTypeUnauthorized

func NewDetailPostureCheckTypeUnauthorized() *DetailPostureCheckTypeUnauthorized

NewDetailPostureCheckTypeUnauthorized creates DetailPostureCheckTypeUnauthorized with default headers values

func (*DetailPostureCheckTypeUnauthorized) SetPayload

SetPayload sets the payload to the detail posture check type unauthorized response

func (*DetailPostureCheckTypeUnauthorized) WithPayload

WithPayload adds the payload to the detail posture check type unauthorized response

func (*DetailPostureCheckTypeUnauthorized) WriteResponse

WriteResponse to the client

type DetailPostureCheckURL

type DetailPostureCheckURL struct {
	ID string
	// contains filtered or unexported fields
}

DetailPostureCheckURL generates an URL for the detail posture check operation

func (*DetailPostureCheckURL) Build

func (o *DetailPostureCheckURL) Build() (*url.URL, error)

Build a url path and query string

func (*DetailPostureCheckURL) BuildFull

func (o *DetailPostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DetailPostureCheckURL) Must

func (o *DetailPostureCheckURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DetailPostureCheckURL) SetBasePath

func (o *DetailPostureCheckURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DetailPostureCheckURL) String

func (o *DetailPostureCheckURL) String() string

String returns the string representation of the path with query string

func (*DetailPostureCheckURL) StringFull

func (o *DetailPostureCheckURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DetailPostureCheckURL) WithBasePath

func (o *DetailPostureCheckURL) WithBasePath(bp string) *DetailPostureCheckURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DetailPostureCheckUnauthorized

type DetailPostureCheckUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response detailPostureCheckUnauthorized

func NewDetailPostureCheckUnauthorized

func NewDetailPostureCheckUnauthorized() *DetailPostureCheckUnauthorized

NewDetailPostureCheckUnauthorized creates DetailPostureCheckUnauthorized with default headers values

func (*DetailPostureCheckUnauthorized) SetPayload

SetPayload sets the payload to the detail posture check unauthorized response

func (*DetailPostureCheckUnauthorized) WithPayload

WithPayload adds the payload to the detail posture check unauthorized response

func (*DetailPostureCheckUnauthorized) WriteResponse

func (o *DetailPostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListPostureCheckTypes

type ListPostureCheckTypes struct {
	Context *middleware.Context
	Handler ListPostureCheckTypesHandler
}
ListPostureCheckTypes swagger:route GET /posture-check-types Posture Checks listPostureCheckTypes

List a subset of posture check types

Retrieves a list of posture check types

func NewListPostureCheckTypes

func NewListPostureCheckTypes(ctx *middleware.Context, handler ListPostureCheckTypesHandler) *ListPostureCheckTypes

NewListPostureCheckTypes creates a new http.Handler for the list posture check types operation

func (*ListPostureCheckTypes) ServeHTTP

func (o *ListPostureCheckTypes) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListPostureCheckTypesBadRequest

type ListPostureCheckTypesBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListPostureCheckTypesBadRequest 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

swagger:response listPostureCheckTypesBadRequest

func NewListPostureCheckTypesBadRequest

func NewListPostureCheckTypesBadRequest() *ListPostureCheckTypesBadRequest

NewListPostureCheckTypesBadRequest creates ListPostureCheckTypesBadRequest with default headers values

func (*ListPostureCheckTypesBadRequest) SetPayload

SetPayload sets the payload to the list posture check types bad request response

func (*ListPostureCheckTypesBadRequest) WithPayload

WithPayload adds the payload to the list posture check types bad request response

func (*ListPostureCheckTypesBadRequest) WriteResponse

func (o *ListPostureCheckTypesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListPostureCheckTypesHandler

type ListPostureCheckTypesHandler interface {
	Handle(ListPostureCheckTypesParams, interface{}) middleware.Responder
}

ListPostureCheckTypesHandler interface for that can handle valid list posture check types params

type ListPostureCheckTypesHandlerFunc

type ListPostureCheckTypesHandlerFunc func(ListPostureCheckTypesParams, interface{}) middleware.Responder

ListPostureCheckTypesHandlerFunc turns a function with the right signature into a list posture check types handler

func (ListPostureCheckTypesHandlerFunc) Handle

func (fn ListPostureCheckTypesHandlerFunc) Handle(params ListPostureCheckTypesParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ListPostureCheckTypesOK

type ListPostureCheckTypesOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListPostureCheckTypesEnvelope `json:"body,omitempty"`
}

ListPostureCheckTypesOK A list of posture check types

swagger:response listPostureCheckTypesOK

func NewListPostureCheckTypesOK

func NewListPostureCheckTypesOK() *ListPostureCheckTypesOK

NewListPostureCheckTypesOK creates ListPostureCheckTypesOK with default headers values

func (*ListPostureCheckTypesOK) SetPayload

SetPayload sets the payload to the list posture check types o k response

func (*ListPostureCheckTypesOK) WithPayload

WithPayload adds the payload to the list posture check types o k response

func (*ListPostureCheckTypesOK) WriteResponse

func (o *ListPostureCheckTypesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListPostureCheckTypesParams

type ListPostureCheckTypesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string
	/*
	  In: query
	*/
	Limit *int64
	/*
	  In: query
	*/
	Offset *int64
}

ListPostureCheckTypesParams contains all the bound params for the list posture check types operation typically these are obtained from a http.Request

swagger:parameters listPostureCheckTypes

func NewListPostureCheckTypesParams

func NewListPostureCheckTypesParams() ListPostureCheckTypesParams

NewListPostureCheckTypesParams creates a new ListPostureCheckTypesParams object

There are no default values defined in the spec.

func (*ListPostureCheckTypesParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListPostureCheckTypesParams() beforehand.

type ListPostureCheckTypesURL

type ListPostureCheckTypesURL struct {
	Filter *string
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

ListPostureCheckTypesURL generates an URL for the list posture check types operation

func (*ListPostureCheckTypesURL) Build

func (o *ListPostureCheckTypesURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListPostureCheckTypesURL) BuildFull

func (o *ListPostureCheckTypesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListPostureCheckTypesURL) Must

func (o *ListPostureCheckTypesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListPostureCheckTypesURL) SetBasePath

func (o *ListPostureCheckTypesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListPostureCheckTypesURL) String

func (o *ListPostureCheckTypesURL) String() string

String returns the string representation of the path with query string

func (*ListPostureCheckTypesURL) StringFull

func (o *ListPostureCheckTypesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListPostureCheckTypesURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListPostureCheckTypesUnauthorized

type ListPostureCheckTypesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response listPostureCheckTypesUnauthorized

func NewListPostureCheckTypesUnauthorized

func NewListPostureCheckTypesUnauthorized() *ListPostureCheckTypesUnauthorized

NewListPostureCheckTypesUnauthorized creates ListPostureCheckTypesUnauthorized with default headers values

func (*ListPostureCheckTypesUnauthorized) SetPayload

SetPayload sets the payload to the list posture check types unauthorized response

func (*ListPostureCheckTypesUnauthorized) WithPayload

WithPayload adds the payload to the list posture check types unauthorized response

func (*ListPostureCheckTypesUnauthorized) WriteResponse

func (o *ListPostureCheckTypesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListPostureChecks

type ListPostureChecks struct {
	Context *middleware.Context
	Handler ListPostureChecksHandler
}
ListPostureChecks swagger:route GET /posture-checks Posture Checks listPostureChecks

List a subset of posture checks

Retrieves a list of posture checks

func NewListPostureChecks

func NewListPostureChecks(ctx *middleware.Context, handler ListPostureChecksHandler) *ListPostureChecks

NewListPostureChecks creates a new http.Handler for the list posture checks operation

func (*ListPostureChecks) ServeHTTP

func (o *ListPostureChecks) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListPostureChecksBadRequest

type ListPostureChecksBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListPostureChecksBadRequest 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

swagger:response listPostureChecksBadRequest

func NewListPostureChecksBadRequest

func NewListPostureChecksBadRequest() *ListPostureChecksBadRequest

NewListPostureChecksBadRequest creates ListPostureChecksBadRequest with default headers values

func (*ListPostureChecksBadRequest) SetPayload

SetPayload sets the payload to the list posture checks bad request response

func (*ListPostureChecksBadRequest) WithPayload

WithPayload adds the payload to the list posture checks bad request response

func (*ListPostureChecksBadRequest) WriteResponse

func (o *ListPostureChecksBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListPostureChecksHandler

type ListPostureChecksHandler interface {
	Handle(ListPostureChecksParams, interface{}) middleware.Responder
}

ListPostureChecksHandler interface for that can handle valid list posture checks params

type ListPostureChecksHandlerFunc

type ListPostureChecksHandlerFunc func(ListPostureChecksParams, interface{}) middleware.Responder

ListPostureChecksHandlerFunc turns a function with the right signature into a list posture checks handler

func (ListPostureChecksHandlerFunc) Handle

func (fn ListPostureChecksHandlerFunc) Handle(params ListPostureChecksParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ListPostureChecksOK

type ListPostureChecksOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListPostureCheckEnvelope `json:"body,omitempty"`
}

ListPostureChecksOK A list of posture checks

swagger:response listPostureChecksOK

func NewListPostureChecksOK

func NewListPostureChecksOK() *ListPostureChecksOK

NewListPostureChecksOK creates ListPostureChecksOK with default headers values

func (*ListPostureChecksOK) SetPayload

SetPayload sets the payload to the list posture checks o k response

func (*ListPostureChecksOK) WithPayload

WithPayload adds the payload to the list posture checks o k response

func (*ListPostureChecksOK) WriteResponse

func (o *ListPostureChecksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListPostureChecksParams

type ListPostureChecksParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string
	/*
	  In: query
	*/
	Limit *int64
	/*
	  In: query
	*/
	Offset *int64
	/*
	  In: query
	  Collection Format: multi
	*/
	RoleFilter []string
	/*
	  In: query
	*/
	RoleSemantic *string
}

ListPostureChecksParams contains all the bound params for the list posture checks operation typically these are obtained from a http.Request

swagger:parameters listPostureChecks

func NewListPostureChecksParams

func NewListPostureChecksParams() ListPostureChecksParams

NewListPostureChecksParams creates a new ListPostureChecksParams object

There are no default values defined in the spec.

func (*ListPostureChecksParams) BindRequest

func (o *ListPostureChecksParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListPostureChecksParams() beforehand.

type ListPostureChecksURL

type ListPostureChecksURL struct {
	Filter       *string
	Limit        *int64
	Offset       *int64
	RoleFilter   []string
	RoleSemantic *string
	// contains filtered or unexported fields
}

ListPostureChecksURL generates an URL for the list posture checks operation

func (*ListPostureChecksURL) Build

func (o *ListPostureChecksURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListPostureChecksURL) BuildFull

func (o *ListPostureChecksURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListPostureChecksURL) Must

func (o *ListPostureChecksURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListPostureChecksURL) SetBasePath

func (o *ListPostureChecksURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListPostureChecksURL) String

func (o *ListPostureChecksURL) String() string

String returns the string representation of the path with query string

func (*ListPostureChecksURL) StringFull

func (o *ListPostureChecksURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListPostureChecksURL) WithBasePath

func (o *ListPostureChecksURL) WithBasePath(bp string) *ListPostureChecksURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListPostureChecksUnauthorized

type ListPostureChecksUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response listPostureChecksUnauthorized

func NewListPostureChecksUnauthorized

func NewListPostureChecksUnauthorized() *ListPostureChecksUnauthorized

NewListPostureChecksUnauthorized creates ListPostureChecksUnauthorized with default headers values

func (*ListPostureChecksUnauthorized) SetPayload

SetPayload sets the payload to the list posture checks unauthorized response

func (*ListPostureChecksUnauthorized) WithPayload

WithPayload adds the payload to the list posture checks unauthorized response

func (*ListPostureChecksUnauthorized) WriteResponse

func (o *ListPostureChecksUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchPostureCheck

type PatchPostureCheck struct {
	Context *middleware.Context
	Handler PatchPostureCheckHandler
}
PatchPostureCheck swagger:route PATCH /posture-checks/{id} Posture Checks patchPostureCheck

Update the supplied fields on a Posture Checks

Update only the supplied fields on a Posture Checks by id

func NewPatchPostureCheck

func NewPatchPostureCheck(ctx *middleware.Context, handler PatchPostureCheckHandler) *PatchPostureCheck

NewPatchPostureCheck creates a new http.Handler for the patch posture check operation

func (*PatchPostureCheck) ServeHTTP

func (o *PatchPostureCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PatchPostureCheckBadRequest

type PatchPostureCheckBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchPostureCheckBadRequest 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

swagger:response patchPostureCheckBadRequest

func NewPatchPostureCheckBadRequest

func NewPatchPostureCheckBadRequest() *PatchPostureCheckBadRequest

NewPatchPostureCheckBadRequest creates PatchPostureCheckBadRequest with default headers values

func (*PatchPostureCheckBadRequest) SetPayload

SetPayload sets the payload to the patch posture check bad request response

func (*PatchPostureCheckBadRequest) WithPayload

WithPayload adds the payload to the patch posture check bad request response

func (*PatchPostureCheckBadRequest) WriteResponse

func (o *PatchPostureCheckBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchPostureCheckHandler

type PatchPostureCheckHandler interface {
	Handle(PatchPostureCheckParams, interface{}) middleware.Responder
}

PatchPostureCheckHandler interface for that can handle valid patch posture check params

type PatchPostureCheckHandlerFunc

type PatchPostureCheckHandlerFunc func(PatchPostureCheckParams, interface{}) middleware.Responder

PatchPostureCheckHandlerFunc turns a function with the right signature into a patch posture check handler

func (PatchPostureCheckHandlerFunc) Handle

func (fn PatchPostureCheckHandlerFunc) Handle(params PatchPostureCheckParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PatchPostureCheckNotFound

type PatchPostureCheckNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchPostureCheckNotFound The requested resource does not exist

swagger:response patchPostureCheckNotFound

func NewPatchPostureCheckNotFound

func NewPatchPostureCheckNotFound() *PatchPostureCheckNotFound

NewPatchPostureCheckNotFound creates PatchPostureCheckNotFound with default headers values

func (*PatchPostureCheckNotFound) SetPayload

func (o *PatchPostureCheckNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch posture check not found response

func (*PatchPostureCheckNotFound) WithPayload

WithPayload adds the payload to the patch posture check not found response

func (*PatchPostureCheckNotFound) WriteResponse

func (o *PatchPostureCheckNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchPostureCheckOK

type PatchPostureCheckOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

PatchPostureCheckOK The patch request was successful and the resource has been altered

swagger:response patchPostureCheckOK

func NewPatchPostureCheckOK

func NewPatchPostureCheckOK() *PatchPostureCheckOK

NewPatchPostureCheckOK creates PatchPostureCheckOK with default headers values

func (*PatchPostureCheckOK) SetPayload

func (o *PatchPostureCheckOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the patch posture check o k response

func (*PatchPostureCheckOK) WithPayload

func (o *PatchPostureCheckOK) WithPayload(payload *rest_model.Empty) *PatchPostureCheckOK

WithPayload adds the payload to the patch posture check o k response

func (*PatchPostureCheckOK) WriteResponse

func (o *PatchPostureCheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchPostureCheckParams

type PatchPostureCheckParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
	/*A Posture Check patch object
	  Required: true
	  In: body
	*/
	PostureCheck rest_model.PostureCheckPatch
}

PatchPostureCheckParams contains all the bound params for the patch posture check operation typically these are obtained from a http.Request

swagger:parameters patchPostureCheck

func NewPatchPostureCheckParams

func NewPatchPostureCheckParams() PatchPostureCheckParams

NewPatchPostureCheckParams creates a new PatchPostureCheckParams object

There are no default values defined in the spec.

func (*PatchPostureCheckParams) BindRequest

func (o *PatchPostureCheckParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPatchPostureCheckParams() beforehand.

type PatchPostureCheckURL

type PatchPostureCheckURL struct {
	ID string
	// contains filtered or unexported fields
}

PatchPostureCheckURL generates an URL for the patch posture check operation

func (*PatchPostureCheckURL) Build

func (o *PatchPostureCheckURL) Build() (*url.URL, error)

Build a url path and query string

func (*PatchPostureCheckURL) BuildFull

func (o *PatchPostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PatchPostureCheckURL) Must

func (o *PatchPostureCheckURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PatchPostureCheckURL) SetBasePath

func (o *PatchPostureCheckURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PatchPostureCheckURL) String

func (o *PatchPostureCheckURL) String() string

String returns the string representation of the path with query string

func (*PatchPostureCheckURL) StringFull

func (o *PatchPostureCheckURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PatchPostureCheckURL) WithBasePath

func (o *PatchPostureCheckURL) WithBasePath(bp string) *PatchPostureCheckURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PatchPostureCheckUnauthorized

type PatchPostureCheckUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response patchPostureCheckUnauthorized

func NewPatchPostureCheckUnauthorized

func NewPatchPostureCheckUnauthorized() *PatchPostureCheckUnauthorized

NewPatchPostureCheckUnauthorized creates PatchPostureCheckUnauthorized with default headers values

func (*PatchPostureCheckUnauthorized) SetPayload

SetPayload sets the payload to the patch posture check unauthorized response

func (*PatchPostureCheckUnauthorized) WithPayload

WithPayload adds the payload to the patch posture check unauthorized response

func (*PatchPostureCheckUnauthorized) WriteResponse

func (o *PatchPostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdatePostureCheck

type UpdatePostureCheck struct {
	Context *middleware.Context
	Handler UpdatePostureCheckHandler
}
UpdatePostureCheck swagger:route PUT /posture-checks/{id} Posture Checks updatePostureCheck

Update all fields on a Posture Checks

Update all fields on a Posture Checks by id

func NewUpdatePostureCheck

func NewUpdatePostureCheck(ctx *middleware.Context, handler UpdatePostureCheckHandler) *UpdatePostureCheck

NewUpdatePostureCheck creates a new http.Handler for the update posture check operation

func (*UpdatePostureCheck) ServeHTTP

func (o *UpdatePostureCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdatePostureCheckBadRequest

type UpdatePostureCheckBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdatePostureCheckBadRequest 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

swagger:response updatePostureCheckBadRequest

func NewUpdatePostureCheckBadRequest

func NewUpdatePostureCheckBadRequest() *UpdatePostureCheckBadRequest

NewUpdatePostureCheckBadRequest creates UpdatePostureCheckBadRequest with default headers values

func (*UpdatePostureCheckBadRequest) SetPayload

SetPayload sets the payload to the update posture check bad request response

func (*UpdatePostureCheckBadRequest) WithPayload

WithPayload adds the payload to the update posture check bad request response

func (*UpdatePostureCheckBadRequest) WriteResponse

func (o *UpdatePostureCheckBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdatePostureCheckHandler

type UpdatePostureCheckHandler interface {
	Handle(UpdatePostureCheckParams, interface{}) middleware.Responder
}

UpdatePostureCheckHandler interface for that can handle valid update posture check params

type UpdatePostureCheckHandlerFunc

type UpdatePostureCheckHandlerFunc func(UpdatePostureCheckParams, interface{}) middleware.Responder

UpdatePostureCheckHandlerFunc turns a function with the right signature into a update posture check handler

func (UpdatePostureCheckHandlerFunc) Handle

func (fn UpdatePostureCheckHandlerFunc) Handle(params UpdatePostureCheckParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdatePostureCheckNotFound

type UpdatePostureCheckNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdatePostureCheckNotFound The requested resource does not exist

swagger:response updatePostureCheckNotFound

func NewUpdatePostureCheckNotFound

func NewUpdatePostureCheckNotFound() *UpdatePostureCheckNotFound

NewUpdatePostureCheckNotFound creates UpdatePostureCheckNotFound with default headers values

func (*UpdatePostureCheckNotFound) SetPayload

func (o *UpdatePostureCheckNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the update posture check not found response

func (*UpdatePostureCheckNotFound) WithPayload

WithPayload adds the payload to the update posture check not found response

func (*UpdatePostureCheckNotFound) WriteResponse

func (o *UpdatePostureCheckNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdatePostureCheckOK

type UpdatePostureCheckOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

UpdatePostureCheckOK The update request was successful and the resource has been altered

swagger:response updatePostureCheckOK

func NewUpdatePostureCheckOK

func NewUpdatePostureCheckOK() *UpdatePostureCheckOK

NewUpdatePostureCheckOK creates UpdatePostureCheckOK with default headers values

func (*UpdatePostureCheckOK) SetPayload

func (o *UpdatePostureCheckOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the update posture check o k response

func (*UpdatePostureCheckOK) WithPayload

func (o *UpdatePostureCheckOK) WithPayload(payload *rest_model.Empty) *UpdatePostureCheckOK

WithPayload adds the payload to the update posture check o k response

func (*UpdatePostureCheckOK) WriteResponse

func (o *UpdatePostureCheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdatePostureCheckParams

type UpdatePostureCheckParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
	/*A Posture Check update object
	  Required: true
	  In: body
	*/
	PostureCheck rest_model.PostureCheckUpdate
}

UpdatePostureCheckParams contains all the bound params for the update posture check operation typically these are obtained from a http.Request

swagger:parameters updatePostureCheck

func NewUpdatePostureCheckParams

func NewUpdatePostureCheckParams() UpdatePostureCheckParams

NewUpdatePostureCheckParams creates a new UpdatePostureCheckParams object

There are no default values defined in the spec.

func (*UpdatePostureCheckParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdatePostureCheckParams() beforehand.

type UpdatePostureCheckURL

type UpdatePostureCheckURL struct {
	ID string
	// contains filtered or unexported fields
}

UpdatePostureCheckURL generates an URL for the update posture check operation

func (*UpdatePostureCheckURL) Build

func (o *UpdatePostureCheckURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdatePostureCheckURL) BuildFull

func (o *UpdatePostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdatePostureCheckURL) Must

func (o *UpdatePostureCheckURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdatePostureCheckURL) SetBasePath

func (o *UpdatePostureCheckURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdatePostureCheckURL) String

func (o *UpdatePostureCheckURL) String() string

String returns the string representation of the path with query string

func (*UpdatePostureCheckURL) StringFull

func (o *UpdatePostureCheckURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdatePostureCheckURL) WithBasePath

func (o *UpdatePostureCheckURL) WithBasePath(bp string) *UpdatePostureCheckURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdatePostureCheckUnauthorized

type UpdatePostureCheckUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response updatePostureCheckUnauthorized

func NewUpdatePostureCheckUnauthorized

func NewUpdatePostureCheckUnauthorized() *UpdatePostureCheckUnauthorized

NewUpdatePostureCheckUnauthorized creates UpdatePostureCheckUnauthorized with default headers values

func (*UpdatePostureCheckUnauthorized) SetPayload

SetPayload sets the payload to the update posture check unauthorized response

func (*UpdatePostureCheckUnauthorized) WithPayload

WithPayload adds the payload to the update posture check unauthorized response

func (*UpdatePostureCheckUnauthorized) WriteResponse

func (o *UpdatePostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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