Documentation ¶
Index ¶
- Constants
- type CreatePostureResponse
- type CreatePostureResponseBadRequest
- func (o *CreatePostureResponseBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreatePostureResponseBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBadRequest
- func (o *CreatePostureResponseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePostureResponseBulk
- type CreatePostureResponseBulkBadRequest
- func (o *CreatePostureResponseBulkBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreatePostureResponseBulkBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBulkBadRequest
- func (o *CreatePostureResponseBulkBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePostureResponseBulkHandler
- type CreatePostureResponseBulkHandlerFunc
- type CreatePostureResponseBulkOK
- type CreatePostureResponseBulkParams
- type CreatePostureResponseBulkURL
- func (o *CreatePostureResponseBulkURL) Build() (*url.URL, error)
- func (o *CreatePostureResponseBulkURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreatePostureResponseBulkURL) Must(u *url.URL, err error) *url.URL
- func (o *CreatePostureResponseBulkURL) SetBasePath(bp string)
- func (o *CreatePostureResponseBulkURL) String() string
- func (o *CreatePostureResponseBulkURL) StringFull(scheme, host string) string
- func (o *CreatePostureResponseBulkURL) WithBasePath(bp string) *CreatePostureResponseBulkURL
- type CreatePostureResponseBulkUnauthorized
- func (o *CreatePostureResponseBulkUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreatePostureResponseBulkUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBulkUnauthorized
- func (o *CreatePostureResponseBulkUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePostureResponseCreated
- func (o *CreatePostureResponseCreated) SetPayload(payload *rest_model.CreateEnvelope)
- func (o *CreatePostureResponseCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreatePostureResponseCreated
- func (o *CreatePostureResponseCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePostureResponseHandler
- type CreatePostureResponseHandlerFunc
- type CreatePostureResponseParams
- type CreatePostureResponseURL
- func (o *CreatePostureResponseURL) Build() (*url.URL, error)
- func (o *CreatePostureResponseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreatePostureResponseURL) Must(u *url.URL, err error) *url.URL
- func (o *CreatePostureResponseURL) SetBasePath(bp string)
- func (o *CreatePostureResponseURL) String() string
- func (o *CreatePostureResponseURL) StringFull(scheme, host string) string
- func (o *CreatePostureResponseURL) WithBasePath(bp string) *CreatePostureResponseURL
- type CreatePostureResponseUnauthorized
- func (o *CreatePostureResponseUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreatePostureResponseUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseUnauthorized
- func (o *CreatePostureResponseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreatePostureResponseBadRequestCode int = 400
CreatePostureResponseBadRequestCode is the HTTP code returned for type CreatePostureResponseBadRequest
const CreatePostureResponseBulkBadRequestCode int = 400
CreatePostureResponseBulkBadRequestCode is the HTTP code returned for type CreatePostureResponseBulkBadRequest
const CreatePostureResponseBulkOKCode int = 200
CreatePostureResponseBulkOKCode is the HTTP code returned for type CreatePostureResponseBulkOK
CreatePostureResponseBulkUnauthorizedCode is the HTTP code returned for type CreatePostureResponseBulkUnauthorized
const CreatePostureResponseCreatedCode int = 201
CreatePostureResponseCreatedCode is the HTTP code returned for type CreatePostureResponseCreated
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 ¶
func (o *CreatePostureResponseBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create posture response bad request response
func (*CreatePostureResponseBadRequest) WithPayload ¶
func (o *CreatePostureResponseBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBadRequest
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 ¶
func (o *CreatePostureResponseBulk) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *CreatePostureResponseBulkBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create posture response bulk bad request response
func (*CreatePostureResponseBulkBadRequest) WithPayload ¶
func (o *CreatePostureResponseBulkBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBulkBadRequest
WithPayload adds the payload to the create posture response bulk bad request response
func (*CreatePostureResponseBulkBadRequest) WriteResponse ¶
func (o *CreatePostureResponseBulkBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn CreatePostureResponseBulkHandlerFunc) Handle(params CreatePostureResponseBulkParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreatePostureResponseBulkOK ¶
type CreatePostureResponseBulkOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
CreatePostureResponseBulkOK Base empty response
swagger:response createPostureResponseBulkOK
func NewCreatePostureResponseBulkOK ¶
func NewCreatePostureResponseBulkOK() *CreatePostureResponseBulkOK
NewCreatePostureResponseBulkOK creates CreatePostureResponseBulkOK with default headers values
func (*CreatePostureResponseBulkOK) SetPayload ¶
func (o *CreatePostureResponseBulkOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the create posture response bulk o k response
func (*CreatePostureResponseBulkOK) WithPayload ¶
func (o *CreatePostureResponseBulkOK) WithPayload(payload *rest_model.Empty) *CreatePostureResponseBulkOK
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 ¶
func (o *CreatePostureResponseBulkParams) 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 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 ¶
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 ¶
func (o *CreatePostureResponseBulkURL) String() 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 ¶
func (o *CreatePostureResponseBulkURL) WithBasePath(bp string) *CreatePostureResponseBulkURL
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 { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
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 ¶
func (o *CreatePostureResponseBulkUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create posture response bulk unauthorized response
func (*CreatePostureResponseBulkUnauthorized) WithPayload ¶
func (o *CreatePostureResponseBulkUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBulkUnauthorized
WithPayload adds the payload to the create posture response bulk unauthorized response
func (*CreatePostureResponseBulkUnauthorized) WriteResponse ¶
func (o *CreatePostureResponseBulkUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePostureResponseCreated ¶
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 ¶
func NewCreatePostureResponseCreated() *CreatePostureResponseCreated
NewCreatePostureResponseCreated creates CreatePostureResponseCreated with default headers values
func (*CreatePostureResponseCreated) SetPayload ¶
func (o *CreatePostureResponseCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create posture response created response
func (*CreatePostureResponseCreated) WithPayload ¶
func (o *CreatePostureResponseCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreatePostureResponseCreated
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 ¶
func (o *CreatePostureResponseParams) 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 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 ¶
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 ¶
func (o *CreatePostureResponseURL) WithBasePath(bp string) *CreatePostureResponseURL
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 { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
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 ¶
func (o *CreatePostureResponseUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create posture response unauthorized response
func (*CreatePostureResponseUnauthorized) WithPayload ¶
func (o *CreatePostureResponseUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseUnauthorized
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