posture_checks

package
v0.21.37 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePostureResponse

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

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

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

func (*CreatePostureResponse) ServeHTTP

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

type CreatePostureResponseBadRequest

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

func NewCreatePostureResponseBadRequest() *CreatePostureResponseBadRequest

NewCreatePostureResponseBadRequest creates CreatePostureResponseBadRequest with default headers values

func (*CreatePostureResponseBadRequest) SetPayload

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

func (*CreatePostureResponseBadRequest) WithPayload

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

func (*CreatePostureResponseBadRequest) WriteResponse

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

WriteResponse to the client

type CreatePostureResponseBulk

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

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

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

func (*CreatePostureResponseBulk) ServeHTTP

type CreatePostureResponseBulkBadRequest

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

func NewCreatePostureResponseBulkBadRequest() *CreatePostureResponseBulkBadRequest

NewCreatePostureResponseBulkBadRequest creates CreatePostureResponseBulkBadRequest with default headers values

func (*CreatePostureResponseBulkBadRequest) SetPayload

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

func (*CreatePostureResponseBulkBadRequest) WithPayload

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

func (*CreatePostureResponseBulkBadRequest) WriteResponse

WriteResponse to the client

type CreatePostureResponseBulkHandler

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

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

type CreatePostureResponseBulkHandlerFunc

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

Handle executing the request and returning a response

type CreatePostureResponseBulkOK

type CreatePostureResponseBulkOK struct {

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

CreatePostureResponseBulkOK Contains a list of services that have had their timers altered

swagger:response createPostureResponseBulkOK

func NewCreatePostureResponseBulkOK

func NewCreatePostureResponseBulkOK() *CreatePostureResponseBulkOK

NewCreatePostureResponseBulkOK creates CreatePostureResponseBulkOK with default headers values

func (*CreatePostureResponseBulkOK) SetPayload

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

func (*CreatePostureResponseBulkOK) WithPayload

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

func (*CreatePostureResponseBulkOK) WriteResponse

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

WriteResponse to the client

type CreatePostureResponseBulkParams

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

func NewCreatePostureResponseBulkParams() CreatePostureResponseBulkParams

NewCreatePostureResponseBulkParams creates a new CreatePostureResponseBulkParams object

There are no default values defined in the spec.

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

type CreatePostureResponseBulkURL

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

CreatePostureResponseBulkURL generates an URL for the create posture response bulk operation

func (*CreatePostureResponseBulkURL) Build

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

Build a url path and query string

func (*CreatePostureResponseBulkURL) BuildFull

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

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

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

String returns the string representation of the path with query string

func (*CreatePostureResponseBulkURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreatePostureResponseBulkURL) 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 CreatePostureResponseBulkUnauthorized

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

func NewCreatePostureResponseBulkUnauthorized() *CreatePostureResponseBulkUnauthorized

NewCreatePostureResponseBulkUnauthorized creates CreatePostureResponseBulkUnauthorized with default headers values

func (*CreatePostureResponseBulkUnauthorized) SetPayload

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

func (*CreatePostureResponseBulkUnauthorized) WithPayload

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

func (*CreatePostureResponseBulkUnauthorized) WriteResponse

WriteResponse to the client

type CreatePostureResponseCreated

type CreatePostureResponseCreated struct {

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

CreatePostureResponseCreated Contains a list of services that have had their timers altered

swagger:response createPostureResponseCreated

func NewCreatePostureResponseCreated

func NewCreatePostureResponseCreated() *CreatePostureResponseCreated

NewCreatePostureResponseCreated creates CreatePostureResponseCreated with default headers values

func (*CreatePostureResponseCreated) SetPayload

SetPayload sets the payload to the create posture response created response

func (*CreatePostureResponseCreated) WithPayload

WithPayload adds the payload to the create posture response created response

func (*CreatePostureResponseCreated) WriteResponse

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

WriteResponse to the client

type CreatePostureResponseHandler

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

CreatePostureResponseHandler interface for that can handle valid create posture response params

type CreatePostureResponseHandlerFunc

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

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

func (CreatePostureResponseHandlerFunc) Handle

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

Handle executing the request and returning a response

type CreatePostureResponseParams

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

func NewCreatePostureResponseParams() CreatePostureResponseParams

NewCreatePostureResponseParams creates a new CreatePostureResponseParams object

There are no default values defined in the spec.

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

type CreatePostureResponseURL

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

CreatePostureResponseURL generates an URL for the create posture response operation

func (*CreatePostureResponseURL) Build

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

Build a url path and query string

func (*CreatePostureResponseURL) BuildFull

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

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

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

func (o *CreatePostureResponseURL) String() string

String returns the string representation of the path with query string

func (*CreatePostureResponseURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreatePostureResponseURL) 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 CreatePostureResponseUnauthorized

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

func NewCreatePostureResponseUnauthorized() *CreatePostureResponseUnauthorized

NewCreatePostureResponseUnauthorized creates CreatePostureResponseUnauthorized with default headers values

func (*CreatePostureResponseUnauthorized) SetPayload

SetPayload sets the payload to the create posture response unauthorized response

func (*CreatePostureResponseUnauthorized) WithPayload

WithPayload adds the payload to the create posture response unauthorized response

func (*CreatePostureResponseUnauthorized) WriteResponse

func (o *CreatePostureResponseUnauthorized) 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