Documentation
¶
Index ¶
- type Client
- func (a *Client) CreatePostureResponse(params *CreatePostureResponseParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePostureResponseCreated, error)
- func (a *Client) CreatePostureResponseBulk(params *CreatePostureResponseBulkParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePostureResponseBulkOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreatePostureResponseBadRequest
- func (o *CreatePostureResponseBadRequest) Code() int
- func (o *CreatePostureResponseBadRequest) Error() string
- func (o *CreatePostureResponseBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureResponseBadRequest) IsClientError() bool
- func (o *CreatePostureResponseBadRequest) IsCode(code int) bool
- func (o *CreatePostureResponseBadRequest) IsRedirect() bool
- func (o *CreatePostureResponseBadRequest) IsServerError() bool
- func (o *CreatePostureResponseBadRequest) IsSuccess() bool
- func (o *CreatePostureResponseBadRequest) String() string
- type CreatePostureResponseBulkBadRequest
- func (o *CreatePostureResponseBulkBadRequest) Code() int
- func (o *CreatePostureResponseBulkBadRequest) Error() string
- func (o *CreatePostureResponseBulkBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureResponseBulkBadRequest) IsClientError() bool
- func (o *CreatePostureResponseBulkBadRequest) IsCode(code int) bool
- func (o *CreatePostureResponseBulkBadRequest) IsRedirect() bool
- func (o *CreatePostureResponseBulkBadRequest) IsServerError() bool
- func (o *CreatePostureResponseBulkBadRequest) IsSuccess() bool
- func (o *CreatePostureResponseBulkBadRequest) String() string
- type CreatePostureResponseBulkOK
- func (o *CreatePostureResponseBulkOK) Code() int
- func (o *CreatePostureResponseBulkOK) Error() string
- func (o *CreatePostureResponseBulkOK) GetPayload() *rest_model.PostureResponseEnvelope
- func (o *CreatePostureResponseBulkOK) IsClientError() bool
- func (o *CreatePostureResponseBulkOK) IsCode(code int) bool
- func (o *CreatePostureResponseBulkOK) IsRedirect() bool
- func (o *CreatePostureResponseBulkOK) IsServerError() bool
- func (o *CreatePostureResponseBulkOK) IsSuccess() bool
- func (o *CreatePostureResponseBulkOK) String() string
- type CreatePostureResponseBulkParams
- func NewCreatePostureResponseBulkParams() *CreatePostureResponseBulkParams
- func NewCreatePostureResponseBulkParamsWithContext(ctx context.Context) *CreatePostureResponseBulkParams
- func NewCreatePostureResponseBulkParamsWithHTTPClient(client *http.Client) *CreatePostureResponseBulkParams
- func NewCreatePostureResponseBulkParamsWithTimeout(timeout time.Duration) *CreatePostureResponseBulkParams
- func (o *CreatePostureResponseBulkParams) SetContext(ctx context.Context)
- func (o *CreatePostureResponseBulkParams) SetDefaults()
- func (o *CreatePostureResponseBulkParams) SetHTTPClient(client *http.Client)
- func (o *CreatePostureResponseBulkParams) SetPostureResponse(postureResponse []rest_model.PostureResponseCreate)
- func (o *CreatePostureResponseBulkParams) SetTimeout(timeout time.Duration)
- func (o *CreatePostureResponseBulkParams) WithContext(ctx context.Context) *CreatePostureResponseBulkParams
- func (o *CreatePostureResponseBulkParams) WithDefaults() *CreatePostureResponseBulkParams
- func (o *CreatePostureResponseBulkParams) WithHTTPClient(client *http.Client) *CreatePostureResponseBulkParams
- func (o *CreatePostureResponseBulkParams) WithPostureResponse(postureResponse []rest_model.PostureResponseCreate) *CreatePostureResponseBulkParams
- func (o *CreatePostureResponseBulkParams) WithTimeout(timeout time.Duration) *CreatePostureResponseBulkParams
- func (o *CreatePostureResponseBulkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePostureResponseBulkReader
- type CreatePostureResponseBulkServiceUnavailable
- func (o *CreatePostureResponseBulkServiceUnavailable) Code() int
- func (o *CreatePostureResponseBulkServiceUnavailable) Error() string
- func (o *CreatePostureResponseBulkServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureResponseBulkServiceUnavailable) IsClientError() bool
- func (o *CreatePostureResponseBulkServiceUnavailable) IsCode(code int) bool
- func (o *CreatePostureResponseBulkServiceUnavailable) IsRedirect() bool
- func (o *CreatePostureResponseBulkServiceUnavailable) IsServerError() bool
- func (o *CreatePostureResponseBulkServiceUnavailable) IsSuccess() bool
- func (o *CreatePostureResponseBulkServiceUnavailable) String() string
- type CreatePostureResponseBulkTooManyRequests
- func (o *CreatePostureResponseBulkTooManyRequests) Code() int
- func (o *CreatePostureResponseBulkTooManyRequests) Error() string
- func (o *CreatePostureResponseBulkTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureResponseBulkTooManyRequests) IsClientError() bool
- func (o *CreatePostureResponseBulkTooManyRequests) IsCode(code int) bool
- func (o *CreatePostureResponseBulkTooManyRequests) IsRedirect() bool
- func (o *CreatePostureResponseBulkTooManyRequests) IsServerError() bool
- func (o *CreatePostureResponseBulkTooManyRequests) IsSuccess() bool
- func (o *CreatePostureResponseBulkTooManyRequests) String() string
- type CreatePostureResponseBulkUnauthorized
- func (o *CreatePostureResponseBulkUnauthorized) Code() int
- func (o *CreatePostureResponseBulkUnauthorized) Error() string
- func (o *CreatePostureResponseBulkUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureResponseBulkUnauthorized) IsClientError() bool
- func (o *CreatePostureResponseBulkUnauthorized) IsCode(code int) bool
- func (o *CreatePostureResponseBulkUnauthorized) IsRedirect() bool
- func (o *CreatePostureResponseBulkUnauthorized) IsServerError() bool
- func (o *CreatePostureResponseBulkUnauthorized) IsSuccess() bool
- func (o *CreatePostureResponseBulkUnauthorized) String() string
- type CreatePostureResponseCreated
- func (o *CreatePostureResponseCreated) Code() int
- func (o *CreatePostureResponseCreated) Error() string
- func (o *CreatePostureResponseCreated) GetPayload() *rest_model.PostureResponseEnvelope
- func (o *CreatePostureResponseCreated) IsClientError() bool
- func (o *CreatePostureResponseCreated) IsCode(code int) bool
- func (o *CreatePostureResponseCreated) IsRedirect() bool
- func (o *CreatePostureResponseCreated) IsServerError() bool
- func (o *CreatePostureResponseCreated) IsSuccess() bool
- func (o *CreatePostureResponseCreated) String() string
- type CreatePostureResponseParams
- func NewCreatePostureResponseParams() *CreatePostureResponseParams
- func NewCreatePostureResponseParamsWithContext(ctx context.Context) *CreatePostureResponseParams
- func NewCreatePostureResponseParamsWithHTTPClient(client *http.Client) *CreatePostureResponseParams
- func NewCreatePostureResponseParamsWithTimeout(timeout time.Duration) *CreatePostureResponseParams
- func (o *CreatePostureResponseParams) SetContext(ctx context.Context)
- func (o *CreatePostureResponseParams) SetDefaults()
- func (o *CreatePostureResponseParams) SetHTTPClient(client *http.Client)
- func (o *CreatePostureResponseParams) SetPostureResponse(postureResponse rest_model.PostureResponseCreate)
- func (o *CreatePostureResponseParams) SetTimeout(timeout time.Duration)
- func (o *CreatePostureResponseParams) WithContext(ctx context.Context) *CreatePostureResponseParams
- func (o *CreatePostureResponseParams) WithDefaults() *CreatePostureResponseParams
- func (o *CreatePostureResponseParams) WithHTTPClient(client *http.Client) *CreatePostureResponseParams
- func (o *CreatePostureResponseParams) WithPostureResponse(postureResponse rest_model.PostureResponseCreate) *CreatePostureResponseParams
- func (o *CreatePostureResponseParams) WithTimeout(timeout time.Duration) *CreatePostureResponseParams
- func (o *CreatePostureResponseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePostureResponseReader
- type CreatePostureResponseServiceUnavailable
- func (o *CreatePostureResponseServiceUnavailable) Code() int
- func (o *CreatePostureResponseServiceUnavailable) Error() string
- func (o *CreatePostureResponseServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureResponseServiceUnavailable) IsClientError() bool
- func (o *CreatePostureResponseServiceUnavailable) IsCode(code int) bool
- func (o *CreatePostureResponseServiceUnavailable) IsRedirect() bool
- func (o *CreatePostureResponseServiceUnavailable) IsServerError() bool
- func (o *CreatePostureResponseServiceUnavailable) IsSuccess() bool
- func (o *CreatePostureResponseServiceUnavailable) String() string
- type CreatePostureResponseTooManyRequests
- func (o *CreatePostureResponseTooManyRequests) Code() int
- func (o *CreatePostureResponseTooManyRequests) Error() string
- func (o *CreatePostureResponseTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureResponseTooManyRequests) IsClientError() bool
- func (o *CreatePostureResponseTooManyRequests) IsCode(code int) bool
- func (o *CreatePostureResponseTooManyRequests) IsRedirect() bool
- func (o *CreatePostureResponseTooManyRequests) IsServerError() bool
- func (o *CreatePostureResponseTooManyRequests) IsSuccess() bool
- func (o *CreatePostureResponseTooManyRequests) String() string
- type CreatePostureResponseUnauthorized
- func (o *CreatePostureResponseUnauthorized) Code() int
- func (o *CreatePostureResponseUnauthorized) Error() string
- func (o *CreatePostureResponseUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureResponseUnauthorized) IsClientError() bool
- func (o *CreatePostureResponseUnauthorized) IsCode(code int) bool
- func (o *CreatePostureResponseUnauthorized) IsRedirect() bool
- func (o *CreatePostureResponseUnauthorized) IsServerError() bool
- func (o *CreatePostureResponseUnauthorized) IsSuccess() bool
- func (o *CreatePostureResponseUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for posture checks API
func (*Client) CreatePostureResponse ¶
func (a *Client) CreatePostureResponse(params *CreatePostureResponseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostureResponseCreated, error)
CreatePostureResponse submits a posture response to a posture query
Submits posture responses
func (*Client) CreatePostureResponseBulk ¶
func (a *Client) CreatePostureResponseBulk(params *CreatePostureResponseBulkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostureResponseBulkOK, error)
CreatePostureResponseBulk submits multiple posture responses
Submits posture responses
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
CreatePostureResponse(params *CreatePostureResponseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostureResponseCreated, error)
CreatePostureResponseBulk(params *CreatePostureResponseBulkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostureResponseBulkOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new posture checks API client.
func NewClientWithBasicAuth ¶ added in v0.26.53
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new posture checks API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.26.53
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new posture checks API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreatePostureResponseBadRequest ¶
type CreatePostureResponseBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
CreatePostureResponseBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreatePostureResponseBadRequest ¶
func NewCreatePostureResponseBadRequest() *CreatePostureResponseBadRequest
NewCreatePostureResponseBadRequest creates a CreatePostureResponseBadRequest with default headers values
func (*CreatePostureResponseBadRequest) Code ¶ added in v0.26.53
func (o *CreatePostureResponseBadRequest) Code() int
Code gets the status code for the create posture response bad request response
func (*CreatePostureResponseBadRequest) Error ¶
func (o *CreatePostureResponseBadRequest) Error() string
func (*CreatePostureResponseBadRequest) GetPayload ¶
func (o *CreatePostureResponseBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureResponseBadRequest) IsClientError ¶ added in v0.26.53
func (o *CreatePostureResponseBadRequest) IsClientError() bool
IsClientError returns true when this create posture response bad request response has a 4xx status code
func (*CreatePostureResponseBadRequest) IsCode ¶ added in v0.26.53
func (o *CreatePostureResponseBadRequest) IsCode(code int) bool
IsCode returns true when this create posture response bad request response a status code equal to that given
func (*CreatePostureResponseBadRequest) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureResponseBadRequest) IsRedirect() bool
IsRedirect returns true when this create posture response bad request response has a 3xx status code
func (*CreatePostureResponseBadRequest) IsServerError ¶ added in v0.26.53
func (o *CreatePostureResponseBadRequest) IsServerError() bool
IsServerError returns true when this create posture response bad request response has a 5xx status code
func (*CreatePostureResponseBadRequest) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureResponseBadRequest) IsSuccess() bool
IsSuccess returns true when this create posture response bad request response has a 2xx status code
func (*CreatePostureResponseBadRequest) String ¶ added in v0.26.53
func (o *CreatePostureResponseBadRequest) String() string
type CreatePostureResponseBulkBadRequest ¶
type CreatePostureResponseBulkBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
CreatePostureResponseBulkBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreatePostureResponseBulkBadRequest ¶
func NewCreatePostureResponseBulkBadRequest() *CreatePostureResponseBulkBadRequest
NewCreatePostureResponseBulkBadRequest creates a CreatePostureResponseBulkBadRequest with default headers values
func (*CreatePostureResponseBulkBadRequest) Code ¶ added in v0.26.53
func (o *CreatePostureResponseBulkBadRequest) Code() int
Code gets the status code for the create posture response bulk bad request response
func (*CreatePostureResponseBulkBadRequest) Error ¶
func (o *CreatePostureResponseBulkBadRequest) Error() string
func (*CreatePostureResponseBulkBadRequest) GetPayload ¶
func (o *CreatePostureResponseBulkBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureResponseBulkBadRequest) IsClientError ¶ added in v0.26.53
func (o *CreatePostureResponseBulkBadRequest) IsClientError() bool
IsClientError returns true when this create posture response bulk bad request response has a 4xx status code
func (*CreatePostureResponseBulkBadRequest) IsCode ¶ added in v0.26.53
func (o *CreatePostureResponseBulkBadRequest) IsCode(code int) bool
IsCode returns true when this create posture response bulk bad request response a status code equal to that given
func (*CreatePostureResponseBulkBadRequest) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureResponseBulkBadRequest) IsRedirect() bool
IsRedirect returns true when this create posture response bulk bad request response has a 3xx status code
func (*CreatePostureResponseBulkBadRequest) IsServerError ¶ added in v0.26.53
func (o *CreatePostureResponseBulkBadRequest) IsServerError() bool
IsServerError returns true when this create posture response bulk bad request response has a 5xx status code
func (*CreatePostureResponseBulkBadRequest) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureResponseBulkBadRequest) IsSuccess() bool
IsSuccess returns true when this create posture response bulk bad request response has a 2xx status code
func (*CreatePostureResponseBulkBadRequest) String ¶ added in v0.26.53
func (o *CreatePostureResponseBulkBadRequest) String() string
type CreatePostureResponseBulkOK ¶
type CreatePostureResponseBulkOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.PostureResponseEnvelope
}
CreatePostureResponseBulkOK describes a response with status code 200, with default header values.
Contains a list of services that have had their timers altered
func NewCreatePostureResponseBulkOK ¶
func NewCreatePostureResponseBulkOK() *CreatePostureResponseBulkOK
NewCreatePostureResponseBulkOK creates a CreatePostureResponseBulkOK with default headers values
func (*CreatePostureResponseBulkOK) Code ¶ added in v0.26.53
func (o *CreatePostureResponseBulkOK) Code() int
Code gets the status code for the create posture response bulk o k response
func (*CreatePostureResponseBulkOK) Error ¶
func (o *CreatePostureResponseBulkOK) Error() string
func (*CreatePostureResponseBulkOK) GetPayload ¶
func (o *CreatePostureResponseBulkOK) GetPayload() *rest_model.PostureResponseEnvelope
func (*CreatePostureResponseBulkOK) IsClientError ¶ added in v0.26.53
func (o *CreatePostureResponseBulkOK) IsClientError() bool
IsClientError returns true when this create posture response bulk o k response has a 4xx status code
func (*CreatePostureResponseBulkOK) IsCode ¶ added in v0.26.53
func (o *CreatePostureResponseBulkOK) IsCode(code int) bool
IsCode returns true when this create posture response bulk o k response a status code equal to that given
func (*CreatePostureResponseBulkOK) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureResponseBulkOK) IsRedirect() bool
IsRedirect returns true when this create posture response bulk o k response has a 3xx status code
func (*CreatePostureResponseBulkOK) IsServerError ¶ added in v0.26.53
func (o *CreatePostureResponseBulkOK) IsServerError() bool
IsServerError returns true when this create posture response bulk o k response has a 5xx status code
func (*CreatePostureResponseBulkOK) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureResponseBulkOK) IsSuccess() bool
IsSuccess returns true when this create posture response bulk o k response has a 2xx status code
func (*CreatePostureResponseBulkOK) String ¶ added in v0.26.53
func (o *CreatePostureResponseBulkOK) String() string
type CreatePostureResponseBulkParams ¶
type CreatePostureResponseBulkParams struct {
/* PostureResponse.
A Posture Response
*/
PostureResponse []rest_model.PostureResponseCreate
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreatePostureResponseBulkParams contains all the parameters to send to the API endpoint
for the create posture response bulk operation. Typically these are written to a http.Request.
func NewCreatePostureResponseBulkParams ¶
func NewCreatePostureResponseBulkParams() *CreatePostureResponseBulkParams
NewCreatePostureResponseBulkParams creates a new CreatePostureResponseBulkParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreatePostureResponseBulkParamsWithContext ¶
func NewCreatePostureResponseBulkParamsWithContext(ctx context.Context) *CreatePostureResponseBulkParams
NewCreatePostureResponseBulkParamsWithContext creates a new CreatePostureResponseBulkParams object with the ability to set a context for a request.
func NewCreatePostureResponseBulkParamsWithHTTPClient ¶
func NewCreatePostureResponseBulkParamsWithHTTPClient(client *http.Client) *CreatePostureResponseBulkParams
NewCreatePostureResponseBulkParamsWithHTTPClient creates a new CreatePostureResponseBulkParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePostureResponseBulkParamsWithTimeout ¶
func NewCreatePostureResponseBulkParamsWithTimeout(timeout time.Duration) *CreatePostureResponseBulkParams
NewCreatePostureResponseBulkParamsWithTimeout creates a new CreatePostureResponseBulkParams object with the ability to set a timeout on a request.
func (*CreatePostureResponseBulkParams) SetContext ¶
func (o *CreatePostureResponseBulkParams) SetContext(ctx context.Context)
SetContext adds the context to the create posture response bulk params
func (*CreatePostureResponseBulkParams) SetDefaults ¶
func (o *CreatePostureResponseBulkParams) SetDefaults()
SetDefaults hydrates default values in the create posture response bulk params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePostureResponseBulkParams) SetHTTPClient ¶
func (o *CreatePostureResponseBulkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create posture response bulk params
func (*CreatePostureResponseBulkParams) SetPostureResponse ¶
func (o *CreatePostureResponseBulkParams) SetPostureResponse(postureResponse []rest_model.PostureResponseCreate)
SetPostureResponse adds the postureResponse to the create posture response bulk params
func (*CreatePostureResponseBulkParams) SetTimeout ¶
func (o *CreatePostureResponseBulkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create posture response bulk params
func (*CreatePostureResponseBulkParams) WithContext ¶
func (o *CreatePostureResponseBulkParams) WithContext(ctx context.Context) *CreatePostureResponseBulkParams
WithContext adds the context to the create posture response bulk params
func (*CreatePostureResponseBulkParams) WithDefaults ¶
func (o *CreatePostureResponseBulkParams) WithDefaults() *CreatePostureResponseBulkParams
WithDefaults hydrates default values in the create posture response bulk params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePostureResponseBulkParams) WithHTTPClient ¶
func (o *CreatePostureResponseBulkParams) WithHTTPClient(client *http.Client) *CreatePostureResponseBulkParams
WithHTTPClient adds the HTTPClient to the create posture response bulk params
func (*CreatePostureResponseBulkParams) WithPostureResponse ¶
func (o *CreatePostureResponseBulkParams) WithPostureResponse(postureResponse []rest_model.PostureResponseCreate) *CreatePostureResponseBulkParams
WithPostureResponse adds the postureResponse to the create posture response bulk params
func (*CreatePostureResponseBulkParams) WithTimeout ¶
func (o *CreatePostureResponseBulkParams) WithTimeout(timeout time.Duration) *CreatePostureResponseBulkParams
WithTimeout adds the timeout to the create posture response bulk params
func (*CreatePostureResponseBulkParams) WriteToRequest ¶
func (o *CreatePostureResponseBulkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePostureResponseBulkReader ¶
type CreatePostureResponseBulkReader struct {
// contains filtered or unexported fields
}
CreatePostureResponseBulkReader is a Reader for the CreatePostureResponseBulk structure.
func (*CreatePostureResponseBulkReader) ReadResponse ¶
func (o *CreatePostureResponseBulkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreatePostureResponseBulkServiceUnavailable ¶ added in v0.26.37
type CreatePostureResponseBulkServiceUnavailable struct {
WWWAuthenticate []string
}
CreatePostureResponseBulkServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewCreatePostureResponseBulkServiceUnavailable ¶ added in v0.26.37
func NewCreatePostureResponseBulkServiceUnavailable() *CreatePostureResponseBulkServiceUnavailable
NewCreatePostureResponseBulkServiceUnavailable creates a CreatePostureResponseBulkServiceUnavailable with default headers values
func (*CreatePostureResponseBulkServiceUnavailable) Code ¶ added in v0.26.53
func (o *CreatePostureResponseBulkServiceUnavailable) Code() int
Code gets the status code for the create posture response bulk service unavailable response
func (*CreatePostureResponseBulkServiceUnavailable) Error ¶ added in v0.26.37
func (o *CreatePostureResponseBulkServiceUnavailable) Error() string
func (*CreatePostureResponseBulkServiceUnavailable) GetPayload ¶ added in v0.26.37
func (o *CreatePostureResponseBulkServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureResponseBulkServiceUnavailable) IsClientError ¶ added in v0.26.53
func (o *CreatePostureResponseBulkServiceUnavailable) IsClientError() bool
IsClientError returns true when this create posture response bulk service unavailable response has a 4xx status code
func (*CreatePostureResponseBulkServiceUnavailable) IsCode ¶ added in v0.26.53
func (o *CreatePostureResponseBulkServiceUnavailable) IsCode(code int) bool
IsCode returns true when this create posture response bulk service unavailable response a status code equal to that given
func (*CreatePostureResponseBulkServiceUnavailable) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureResponseBulkServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this create posture response bulk service unavailable response has a 3xx status code
func (*CreatePostureResponseBulkServiceUnavailable) IsServerError ¶ added in v0.26.53
func (o *CreatePostureResponseBulkServiceUnavailable) IsServerError() bool
IsServerError returns true when this create posture response bulk service unavailable response has a 5xx status code
func (*CreatePostureResponseBulkServiceUnavailable) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureResponseBulkServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create posture response bulk service unavailable response has a 2xx status code
func (*CreatePostureResponseBulkServiceUnavailable) String ¶ added in v0.26.53
func (o *CreatePostureResponseBulkServiceUnavailable) String() string
type CreatePostureResponseBulkTooManyRequests ¶ added in v0.26.0
type CreatePostureResponseBulkTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
CreatePostureResponseBulkTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewCreatePostureResponseBulkTooManyRequests ¶ added in v0.26.0
func NewCreatePostureResponseBulkTooManyRequests() *CreatePostureResponseBulkTooManyRequests
NewCreatePostureResponseBulkTooManyRequests creates a CreatePostureResponseBulkTooManyRequests with default headers values
func (*CreatePostureResponseBulkTooManyRequests) Code ¶ added in v0.26.53
func (o *CreatePostureResponseBulkTooManyRequests) Code() int
Code gets the status code for the create posture response bulk too many requests response
func (*CreatePostureResponseBulkTooManyRequests) Error ¶ added in v0.26.0
func (o *CreatePostureResponseBulkTooManyRequests) Error() string
func (*CreatePostureResponseBulkTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *CreatePostureResponseBulkTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureResponseBulkTooManyRequests) IsClientError ¶ added in v0.26.53
func (o *CreatePostureResponseBulkTooManyRequests) IsClientError() bool
IsClientError returns true when this create posture response bulk too many requests response has a 4xx status code
func (*CreatePostureResponseBulkTooManyRequests) IsCode ¶ added in v0.26.53
func (o *CreatePostureResponseBulkTooManyRequests) IsCode(code int) bool
IsCode returns true when this create posture response bulk too many requests response a status code equal to that given
func (*CreatePostureResponseBulkTooManyRequests) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureResponseBulkTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create posture response bulk too many requests response has a 3xx status code
func (*CreatePostureResponseBulkTooManyRequests) IsServerError ¶ added in v0.26.53
func (o *CreatePostureResponseBulkTooManyRequests) IsServerError() bool
IsServerError returns true when this create posture response bulk too many requests response has a 5xx status code
func (*CreatePostureResponseBulkTooManyRequests) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureResponseBulkTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create posture response bulk too many requests response has a 2xx status code
func (*CreatePostureResponseBulkTooManyRequests) String ¶ added in v0.26.53
func (o *CreatePostureResponseBulkTooManyRequests) String() string
type CreatePostureResponseBulkUnauthorized ¶
type CreatePostureResponseBulkUnauthorized struct {
WWWAuthenticate []string
}
CreatePostureResponseBulkUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewCreatePostureResponseBulkUnauthorized ¶
func NewCreatePostureResponseBulkUnauthorized() *CreatePostureResponseBulkUnauthorized
NewCreatePostureResponseBulkUnauthorized creates a CreatePostureResponseBulkUnauthorized with default headers values
func (*CreatePostureResponseBulkUnauthorized) Code ¶ added in v0.26.53
func (o *CreatePostureResponseBulkUnauthorized) Code() int
Code gets the status code for the create posture response bulk unauthorized response
func (*CreatePostureResponseBulkUnauthorized) Error ¶
func (o *CreatePostureResponseBulkUnauthorized) Error() string
func (*CreatePostureResponseBulkUnauthorized) GetPayload ¶
func (o *CreatePostureResponseBulkUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureResponseBulkUnauthorized) IsClientError ¶ added in v0.26.53
func (o *CreatePostureResponseBulkUnauthorized) IsClientError() bool
IsClientError returns true when this create posture response bulk unauthorized response has a 4xx status code
func (*CreatePostureResponseBulkUnauthorized) IsCode ¶ added in v0.26.53
func (o *CreatePostureResponseBulkUnauthorized) IsCode(code int) bool
IsCode returns true when this create posture response bulk unauthorized response a status code equal to that given
func (*CreatePostureResponseBulkUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureResponseBulkUnauthorized) IsRedirect() bool
IsRedirect returns true when this create posture response bulk unauthorized response has a 3xx status code
func (*CreatePostureResponseBulkUnauthorized) IsServerError ¶ added in v0.26.53
func (o *CreatePostureResponseBulkUnauthorized) IsServerError() bool
IsServerError returns true when this create posture response bulk unauthorized response has a 5xx status code
func (*CreatePostureResponseBulkUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureResponseBulkUnauthorized) IsSuccess() bool
IsSuccess returns true when this create posture response bulk unauthorized response has a 2xx status code
func (*CreatePostureResponseBulkUnauthorized) String ¶ added in v0.26.53
func (o *CreatePostureResponseBulkUnauthorized) String() string
type CreatePostureResponseCreated ¶
type CreatePostureResponseCreated struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.PostureResponseEnvelope
}
CreatePostureResponseCreated describes a response with status code 201, with default header values.
Contains a list of services that have had their timers altered
func NewCreatePostureResponseCreated ¶
func NewCreatePostureResponseCreated() *CreatePostureResponseCreated
NewCreatePostureResponseCreated creates a CreatePostureResponseCreated with default headers values
func (*CreatePostureResponseCreated) Code ¶ added in v0.26.53
func (o *CreatePostureResponseCreated) Code() int
Code gets the status code for the create posture response created response
func (*CreatePostureResponseCreated) Error ¶
func (o *CreatePostureResponseCreated) Error() string
func (*CreatePostureResponseCreated) GetPayload ¶
func (o *CreatePostureResponseCreated) GetPayload() *rest_model.PostureResponseEnvelope
func (*CreatePostureResponseCreated) IsClientError ¶ added in v0.26.53
func (o *CreatePostureResponseCreated) IsClientError() bool
IsClientError returns true when this create posture response created response has a 4xx status code
func (*CreatePostureResponseCreated) IsCode ¶ added in v0.26.53
func (o *CreatePostureResponseCreated) IsCode(code int) bool
IsCode returns true when this create posture response created response a status code equal to that given
func (*CreatePostureResponseCreated) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureResponseCreated) IsRedirect() bool
IsRedirect returns true when this create posture response created response has a 3xx status code
func (*CreatePostureResponseCreated) IsServerError ¶ added in v0.26.53
func (o *CreatePostureResponseCreated) IsServerError() bool
IsServerError returns true when this create posture response created response has a 5xx status code
func (*CreatePostureResponseCreated) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureResponseCreated) IsSuccess() bool
IsSuccess returns true when this create posture response created response has a 2xx status code
func (*CreatePostureResponseCreated) String ¶ added in v0.26.53
func (o *CreatePostureResponseCreated) String() string
type CreatePostureResponseParams ¶
type CreatePostureResponseParams struct {
/* PostureResponse.
A Posture Response
*/
PostureResponse rest_model.PostureResponseCreate
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreatePostureResponseParams contains all the parameters to send to the API endpoint
for the create posture response operation. Typically these are written to a http.Request.
func NewCreatePostureResponseParams ¶
func NewCreatePostureResponseParams() *CreatePostureResponseParams
NewCreatePostureResponseParams creates a new CreatePostureResponseParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreatePostureResponseParamsWithContext ¶
func NewCreatePostureResponseParamsWithContext(ctx context.Context) *CreatePostureResponseParams
NewCreatePostureResponseParamsWithContext creates a new CreatePostureResponseParams object with the ability to set a context for a request.
func NewCreatePostureResponseParamsWithHTTPClient ¶
func NewCreatePostureResponseParamsWithHTTPClient(client *http.Client) *CreatePostureResponseParams
NewCreatePostureResponseParamsWithHTTPClient creates a new CreatePostureResponseParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePostureResponseParamsWithTimeout ¶
func NewCreatePostureResponseParamsWithTimeout(timeout time.Duration) *CreatePostureResponseParams
NewCreatePostureResponseParamsWithTimeout creates a new CreatePostureResponseParams object with the ability to set a timeout on a request.
func (*CreatePostureResponseParams) SetContext ¶
func (o *CreatePostureResponseParams) SetContext(ctx context.Context)
SetContext adds the context to the create posture response params
func (*CreatePostureResponseParams) SetDefaults ¶
func (o *CreatePostureResponseParams) SetDefaults()
SetDefaults hydrates default values in the create posture response params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePostureResponseParams) SetHTTPClient ¶
func (o *CreatePostureResponseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create posture response params
func (*CreatePostureResponseParams) SetPostureResponse ¶
func (o *CreatePostureResponseParams) SetPostureResponse(postureResponse rest_model.PostureResponseCreate)
SetPostureResponse adds the postureResponse to the create posture response params
func (*CreatePostureResponseParams) SetTimeout ¶
func (o *CreatePostureResponseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create posture response params
func (*CreatePostureResponseParams) WithContext ¶
func (o *CreatePostureResponseParams) WithContext(ctx context.Context) *CreatePostureResponseParams
WithContext adds the context to the create posture response params
func (*CreatePostureResponseParams) WithDefaults ¶
func (o *CreatePostureResponseParams) WithDefaults() *CreatePostureResponseParams
WithDefaults hydrates default values in the create posture response params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePostureResponseParams) WithHTTPClient ¶
func (o *CreatePostureResponseParams) WithHTTPClient(client *http.Client) *CreatePostureResponseParams
WithHTTPClient adds the HTTPClient to the create posture response params
func (*CreatePostureResponseParams) WithPostureResponse ¶
func (o *CreatePostureResponseParams) WithPostureResponse(postureResponse rest_model.PostureResponseCreate) *CreatePostureResponseParams
WithPostureResponse adds the postureResponse to the create posture response params
func (*CreatePostureResponseParams) WithTimeout ¶
func (o *CreatePostureResponseParams) WithTimeout(timeout time.Duration) *CreatePostureResponseParams
WithTimeout adds the timeout to the create posture response params
func (*CreatePostureResponseParams) WriteToRequest ¶
func (o *CreatePostureResponseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePostureResponseReader ¶
type CreatePostureResponseReader struct {
// contains filtered or unexported fields
}
CreatePostureResponseReader is a Reader for the CreatePostureResponse structure.
func (*CreatePostureResponseReader) ReadResponse ¶
func (o *CreatePostureResponseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreatePostureResponseServiceUnavailable ¶ added in v0.26.37
type CreatePostureResponseServiceUnavailable struct {
WWWAuthenticate []string
}
CreatePostureResponseServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewCreatePostureResponseServiceUnavailable ¶ added in v0.26.37
func NewCreatePostureResponseServiceUnavailable() *CreatePostureResponseServiceUnavailable
NewCreatePostureResponseServiceUnavailable creates a CreatePostureResponseServiceUnavailable with default headers values
func (*CreatePostureResponseServiceUnavailable) Code ¶ added in v0.26.53
func (o *CreatePostureResponseServiceUnavailable) Code() int
Code gets the status code for the create posture response service unavailable response
func (*CreatePostureResponseServiceUnavailable) Error ¶ added in v0.26.37
func (o *CreatePostureResponseServiceUnavailable) Error() string
func (*CreatePostureResponseServiceUnavailable) GetPayload ¶ added in v0.26.37
func (o *CreatePostureResponseServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureResponseServiceUnavailable) IsClientError ¶ added in v0.26.53
func (o *CreatePostureResponseServiceUnavailable) IsClientError() bool
IsClientError returns true when this create posture response service unavailable response has a 4xx status code
func (*CreatePostureResponseServiceUnavailable) IsCode ¶ added in v0.26.53
func (o *CreatePostureResponseServiceUnavailable) IsCode(code int) bool
IsCode returns true when this create posture response service unavailable response a status code equal to that given
func (*CreatePostureResponseServiceUnavailable) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureResponseServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this create posture response service unavailable response has a 3xx status code
func (*CreatePostureResponseServiceUnavailable) IsServerError ¶ added in v0.26.53
func (o *CreatePostureResponseServiceUnavailable) IsServerError() bool
IsServerError returns true when this create posture response service unavailable response has a 5xx status code
func (*CreatePostureResponseServiceUnavailable) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureResponseServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create posture response service unavailable response has a 2xx status code
func (*CreatePostureResponseServiceUnavailable) String ¶ added in v0.26.53
func (o *CreatePostureResponseServiceUnavailable) String() string
type CreatePostureResponseTooManyRequests ¶ added in v0.26.0
type CreatePostureResponseTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
CreatePostureResponseTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewCreatePostureResponseTooManyRequests ¶ added in v0.26.0
func NewCreatePostureResponseTooManyRequests() *CreatePostureResponseTooManyRequests
NewCreatePostureResponseTooManyRequests creates a CreatePostureResponseTooManyRequests with default headers values
func (*CreatePostureResponseTooManyRequests) Code ¶ added in v0.26.53
func (o *CreatePostureResponseTooManyRequests) Code() int
Code gets the status code for the create posture response too many requests response
func (*CreatePostureResponseTooManyRequests) Error ¶ added in v0.26.0
func (o *CreatePostureResponseTooManyRequests) Error() string
func (*CreatePostureResponseTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *CreatePostureResponseTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureResponseTooManyRequests) IsClientError ¶ added in v0.26.53
func (o *CreatePostureResponseTooManyRequests) IsClientError() bool
IsClientError returns true when this create posture response too many requests response has a 4xx status code
func (*CreatePostureResponseTooManyRequests) IsCode ¶ added in v0.26.53
func (o *CreatePostureResponseTooManyRequests) IsCode(code int) bool
IsCode returns true when this create posture response too many requests response a status code equal to that given
func (*CreatePostureResponseTooManyRequests) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureResponseTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create posture response too many requests response has a 3xx status code
func (*CreatePostureResponseTooManyRequests) IsServerError ¶ added in v0.26.53
func (o *CreatePostureResponseTooManyRequests) IsServerError() bool
IsServerError returns true when this create posture response too many requests response has a 5xx status code
func (*CreatePostureResponseTooManyRequests) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureResponseTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create posture response too many requests response has a 2xx status code
func (*CreatePostureResponseTooManyRequests) String ¶ added in v0.26.53
func (o *CreatePostureResponseTooManyRequests) String() string
type CreatePostureResponseUnauthorized ¶
type CreatePostureResponseUnauthorized struct {
WWWAuthenticate []string
}
CreatePostureResponseUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewCreatePostureResponseUnauthorized ¶
func NewCreatePostureResponseUnauthorized() *CreatePostureResponseUnauthorized
NewCreatePostureResponseUnauthorized creates a CreatePostureResponseUnauthorized with default headers values
func (*CreatePostureResponseUnauthorized) Code ¶ added in v0.26.53
func (o *CreatePostureResponseUnauthorized) Code() int
Code gets the status code for the create posture response unauthorized response
func (*CreatePostureResponseUnauthorized) Error ¶
func (o *CreatePostureResponseUnauthorized) Error() string
func (*CreatePostureResponseUnauthorized) GetPayload ¶
func (o *CreatePostureResponseUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureResponseUnauthorized) IsClientError ¶ added in v0.26.53
func (o *CreatePostureResponseUnauthorized) IsClientError() bool
IsClientError returns true when this create posture response unauthorized response has a 4xx status code
func (*CreatePostureResponseUnauthorized) IsCode ¶ added in v0.26.53
func (o *CreatePostureResponseUnauthorized) IsCode(code int) bool
IsCode returns true when this create posture response unauthorized response a status code equal to that given
func (*CreatePostureResponseUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureResponseUnauthorized) IsRedirect() bool
IsRedirect returns true when this create posture response unauthorized response has a 3xx status code
func (*CreatePostureResponseUnauthorized) IsServerError ¶ added in v0.26.53
func (o *CreatePostureResponseUnauthorized) IsServerError() bool
IsServerError returns true when this create posture response unauthorized response has a 5xx status code
func (*CreatePostureResponseUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureResponseUnauthorized) IsSuccess() bool
IsSuccess returns true when this create posture response unauthorized response has a 2xx status code
func (*CreatePostureResponseUnauthorized) String ¶ added in v0.26.53
func (o *CreatePostureResponseUnauthorized) String() string