posture_checks

package
v0.19.104 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 12 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 CreatePostureResponseBadRequestCode int = 400

CreatePostureResponseBadRequestCode is the HTTP code returned for type CreatePostureResponseBadRequest

View Source
const CreatePostureResponseBulkBadRequestCode int = 400

CreatePostureResponseBulkBadRequestCode is the HTTP code returned for type CreatePostureResponseBulkBadRequest

View Source
const CreatePostureResponseBulkOKCode int = 200

CreatePostureResponseBulkOKCode is the HTTP code returned for type CreatePostureResponseBulkOK

View Source
const CreatePostureResponseBulkUnauthorizedCode int = 401

CreatePostureResponseBulkUnauthorizedCode is the HTTP code returned for type CreatePostureResponseBulkUnauthorized

View Source
const CreatePostureResponseCreatedCode int = 201

CreatePostureResponseCreatedCode is the HTTP code returned for type CreatePostureResponseCreated

View Source
const CreatePostureResponseUnauthorizedCode int = 401

CreatePostureResponseUnauthorizedCode is the HTTP code returned for type CreatePostureResponseUnauthorized

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 ListPostureCheckTypesOKCode int = 200

ListPostureCheckTypesOKCode is the HTTP code returned for type ListPostureCheckTypesOK

View Source
const ListPostureChecksOKCode int = 200

ListPostureChecksOKCode is the HTTP code returned for type ListPostureChecksOK

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

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

func NewCreatePostureCheckCreated() *CreatePostureCheckCreated

NewCreatePostureCheckCreated creates CreatePostureCheckCreated with default headers values

func (*CreatePostureCheckCreated) SetPayload added in v0.17.52

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

SetPayload sets the payload to the create posture check created response

func (*CreatePostureCheckCreated) WithPayload added in v0.17.52

WithPayload adds the payload to the create posture check created response

func (*CreatePostureCheckCreated) WriteResponse added in v0.17.52

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 no default values defined in 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 CreatePostureResponse added in v0.17.5

type CreatePostureResponse struct {
	Context *middleware.Context
	Handler CreatePostureResponseHandler
}

CreatePostureResponse swagger:route POST /posture-response Posture Checks createPostureResponse

Submit a posture response to a posture query

Submits posture responses

func NewCreatePostureResponse added in v0.17.5

func NewCreatePostureResponse(ctx *middleware.Context, handler CreatePostureResponseHandler) *CreatePostureResponse

NewCreatePostureResponse creates a new http.Handler for the create posture response operation

func (*CreatePostureResponse) ServeHTTP added in v0.17.5

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

type CreatePostureResponseBadRequest added in v0.17.5

type CreatePostureResponseBadRequest struct {

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

CreatePostureResponseBadRequest 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 createPostureResponseBadRequest

func NewCreatePostureResponseBadRequest added in v0.17.5

func NewCreatePostureResponseBadRequest() *CreatePostureResponseBadRequest

NewCreatePostureResponseBadRequest creates CreatePostureResponseBadRequest with default headers values

func (*CreatePostureResponseBadRequest) SetPayload added in v0.17.5

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

func (*CreatePostureResponseBadRequest) WithPayload added in v0.17.5

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

func (*CreatePostureResponseBadRequest) WriteResponse added in v0.17.5

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

WriteResponse to the client

type CreatePostureResponseBulk added in v0.17.49

type CreatePostureResponseBulk struct {
	Context *middleware.Context
	Handler CreatePostureResponseBulkHandler
}

CreatePostureResponseBulk swagger:route POST /posture-response-bulk Posture Checks createPostureResponseBulk

Submit multiple posture responses

Submits posture responses

func NewCreatePostureResponseBulk added in v0.17.49

func NewCreatePostureResponseBulk(ctx *middleware.Context, handler CreatePostureResponseBulkHandler) *CreatePostureResponseBulk

NewCreatePostureResponseBulk creates a new http.Handler for the create posture response bulk operation

func (*CreatePostureResponseBulk) ServeHTTP added in v0.17.49

type CreatePostureResponseBulkBadRequest added in v0.17.49

type CreatePostureResponseBulkBadRequest struct {

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

CreatePostureResponseBulkBadRequest 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 createPostureResponseBulkBadRequest

func NewCreatePostureResponseBulkBadRequest added in v0.17.49

func NewCreatePostureResponseBulkBadRequest() *CreatePostureResponseBulkBadRequest

NewCreatePostureResponseBulkBadRequest creates CreatePostureResponseBulkBadRequest with default headers values

func (*CreatePostureResponseBulkBadRequest) SetPayload added in v0.17.49

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

func (*CreatePostureResponseBulkBadRequest) WithPayload added in v0.17.49

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

func (*CreatePostureResponseBulkBadRequest) WriteResponse added in v0.17.49

WriteResponse to the client

type CreatePostureResponseBulkHandler added in v0.17.49

type CreatePostureResponseBulkHandler interface {
	Handle(CreatePostureResponseBulkParams, interface{}) middleware.Responder
}

CreatePostureResponseBulkHandler interface for that can handle valid create posture response bulk params

type CreatePostureResponseBulkHandlerFunc added in v0.17.49

type CreatePostureResponseBulkHandlerFunc func(CreatePostureResponseBulkParams, interface{}) middleware.Responder

CreatePostureResponseBulkHandlerFunc turns a function with the right signature into a create posture response bulk handler

func (CreatePostureResponseBulkHandlerFunc) Handle added in v0.17.49

Handle executing the request and returning a response

type CreatePostureResponseBulkOK added in v0.17.49

type CreatePostureResponseBulkOK struct {

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

CreatePostureResponseBulkOK Base empty response

swagger:response createPostureResponseBulkOK

func NewCreatePostureResponseBulkOK added in v0.17.49

func NewCreatePostureResponseBulkOK() *CreatePostureResponseBulkOK

NewCreatePostureResponseBulkOK creates CreatePostureResponseBulkOK with default headers values

func (*CreatePostureResponseBulkOK) SetPayload added in v0.17.49

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

SetPayload sets the payload to the create posture response bulk o k response

func (*CreatePostureResponseBulkOK) WithPayload added in v0.17.49

WithPayload adds the payload to the create posture response bulk o k response

func (*CreatePostureResponseBulkOK) WriteResponse added in v0.17.49

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

WriteResponse to the client

type CreatePostureResponseBulkParams added in v0.17.49

type CreatePostureResponseBulkParams struct {

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

	/*A Posture Response
	  Required: true
	  In: body
	*/
	PostureResponse []rest_model.PostureResponseCreate
}

CreatePostureResponseBulkParams contains all the bound params for the create posture response bulk operation typically these are obtained from a http.Request

swagger:parameters createPostureResponseBulk

func NewCreatePostureResponseBulkParams added in v0.17.49

func NewCreatePostureResponseBulkParams() CreatePostureResponseBulkParams

NewCreatePostureResponseBulkParams creates a new CreatePostureResponseBulkParams object no default values defined in spec.

func (*CreatePostureResponseBulkParams) BindRequest added in v0.17.49

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 NewCreatePostureResponseBulkParams() beforehand.

type CreatePostureResponseBulkURL added in v0.17.49

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

CreatePostureResponseBulkURL generates an URL for the create posture response bulk operation

func (*CreatePostureResponseBulkURL) Build added in v0.17.49

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

Build a url path and query string

func (*CreatePostureResponseBulkURL) BuildFull added in v0.17.49

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

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

func (*CreatePostureResponseBulkURL) Must added in v0.17.49

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

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

func (*CreatePostureResponseBulkURL) SetBasePath added in v0.17.49

func (o *CreatePostureResponseBulkURL) 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 (*CreatePostureResponseBulkURL) String added in v0.17.49

String returns the string representation of the path with query string

func (*CreatePostureResponseBulkURL) StringFull added in v0.17.49

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

StringFull returns the string representation of a complete url

func (*CreatePostureResponseBulkURL) WithBasePath added in v0.17.49

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 CreatePostureResponseBulkUnauthorized added in v0.17.49

type CreatePostureResponseBulkUnauthorized struct {

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

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

swagger:response createPostureResponseBulkUnauthorized

func NewCreatePostureResponseBulkUnauthorized added in v0.17.49

func NewCreatePostureResponseBulkUnauthorized() *CreatePostureResponseBulkUnauthorized

NewCreatePostureResponseBulkUnauthorized creates CreatePostureResponseBulkUnauthorized with default headers values

func (*CreatePostureResponseBulkUnauthorized) SetPayload added in v0.17.49

SetPayload sets the payload to the create posture response bulk unauthorized response

func (*CreatePostureResponseBulkUnauthorized) WithPayload added in v0.17.49

WithPayload adds the payload to the create posture response bulk unauthorized response

func (*CreatePostureResponseBulkUnauthorized) WriteResponse added in v0.17.49

WriteResponse to the client

type CreatePostureResponseCreated added in v0.17.52

type CreatePostureResponseCreated struct {

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

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

swagger:response createPostureResponseCreated

func NewCreatePostureResponseCreated added in v0.17.52

func NewCreatePostureResponseCreated() *CreatePostureResponseCreated

NewCreatePostureResponseCreated creates CreatePostureResponseCreated with default headers values

func (*CreatePostureResponseCreated) SetPayload added in v0.17.52

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

SetPayload sets the payload to the create posture response created response

func (*CreatePostureResponseCreated) WithPayload added in v0.17.52

WithPayload adds the payload to the create posture response created response

func (*CreatePostureResponseCreated) WriteResponse added in v0.17.52

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

WriteResponse to the client

type CreatePostureResponseHandler added in v0.17.5

type CreatePostureResponseHandler interface {
	Handle(CreatePostureResponseParams, interface{}) middleware.Responder
}

CreatePostureResponseHandler interface for that can handle valid create posture response params

type CreatePostureResponseHandlerFunc added in v0.17.5

type CreatePostureResponseHandlerFunc func(CreatePostureResponseParams, interface{}) middleware.Responder

CreatePostureResponseHandlerFunc turns a function with the right signature into a create posture response handler

func (CreatePostureResponseHandlerFunc) Handle added in v0.17.5

func (fn CreatePostureResponseHandlerFunc) Handle(params CreatePostureResponseParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type CreatePostureResponseParams added in v0.17.5

type CreatePostureResponseParams struct {

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

	/*A Posture Response
	  Required: true
	  In: body
	*/
	PostureResponse rest_model.PostureResponseCreate
}

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

swagger:parameters createPostureResponse

func NewCreatePostureResponseParams added in v0.17.5

func NewCreatePostureResponseParams() CreatePostureResponseParams

NewCreatePostureResponseParams creates a new CreatePostureResponseParams object no default values defined in spec.

func (*CreatePostureResponseParams) BindRequest added in v0.17.5

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 NewCreatePostureResponseParams() beforehand.

type CreatePostureResponseURL added in v0.17.5

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

CreatePostureResponseURL generates an URL for the create posture response operation

func (*CreatePostureResponseURL) Build added in v0.17.5

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

Build a url path and query string

func (*CreatePostureResponseURL) BuildFull added in v0.17.5

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

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

func (*CreatePostureResponseURL) Must added in v0.17.5

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

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

func (*CreatePostureResponseURL) SetBasePath added in v0.17.5

func (o *CreatePostureResponseURL) 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 (*CreatePostureResponseURL) String added in v0.17.5

func (o *CreatePostureResponseURL) String() string

String returns the string representation of the path with query string

func (*CreatePostureResponseURL) StringFull added in v0.17.5

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

StringFull returns the string representation of a complete url

func (*CreatePostureResponseURL) WithBasePath added in v0.17.5

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

type CreatePostureResponseUnauthorized struct {

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

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

swagger:response createPostureResponseUnauthorized

func NewCreatePostureResponseUnauthorized added in v0.17.5

func NewCreatePostureResponseUnauthorized() *CreatePostureResponseUnauthorized

NewCreatePostureResponseUnauthorized creates CreatePostureResponseUnauthorized with default headers values

func (*CreatePostureResponseUnauthorized) SetPayload added in v0.17.5

SetPayload sets the payload to the create posture response unauthorized response

func (*CreatePostureResponseUnauthorized) WithPayload added in v0.17.5

WithPayload adds the payload to the create posture response unauthorized response

func (*CreatePostureResponseUnauthorized) WriteResponse added in v0.17.5

func (o *CreatePostureResponseUnauthorized) 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 no default values defined in 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 no default values defined in 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 no default values defined in 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 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 no default values defined in 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 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 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 no default values defined in 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 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 no default values defined in 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 no default values defined in 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