Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationJSONCharsetUTF8(r *runtime.ClientOperation)
- type Client
- func (a *Client) CreatePostureCheck(params *CreatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePostureCheckCreated, error)
- func (a *Client) DeletePostureCheck(params *DeletePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePostureCheckOK, error)
- func (a *Client) DetailPostureCheck(params *DetailPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailPostureCheckOK, error)
- func (a *Client) DetailPostureCheckType(params *DetailPostureCheckTypeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailPostureCheckTypeOK, error)
- func (a *Client) ListPostureCheckTypes(params *ListPostureCheckTypesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPostureCheckTypesOK, error)
- func (a *Client) ListPostureChecks(params *ListPostureChecksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPostureChecksOK, error)
- func (a *Client) PatchPostureCheck(params *PatchPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchPostureCheckOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePostureCheck(params *UpdatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdatePostureCheckOK, error)
- type ClientOption
- type ClientService
- type CreatePostureCheckBadRequest
- func (o *CreatePostureCheckBadRequest) Code() int
- func (o *CreatePostureCheckBadRequest) Error() string
- func (o *CreatePostureCheckBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureCheckBadRequest) IsClientError() bool
- func (o *CreatePostureCheckBadRequest) IsCode(code int) bool
- func (o *CreatePostureCheckBadRequest) IsRedirect() bool
- func (o *CreatePostureCheckBadRequest) IsServerError() bool
- func (o *CreatePostureCheckBadRequest) IsSuccess() bool
- func (o *CreatePostureCheckBadRequest) String() string
- type CreatePostureCheckCreated
- func (o *CreatePostureCheckCreated) Code() int
- func (o *CreatePostureCheckCreated) Error() string
- func (o *CreatePostureCheckCreated) GetPayload() *rest_model.CreateEnvelope
- func (o *CreatePostureCheckCreated) IsClientError() bool
- func (o *CreatePostureCheckCreated) IsCode(code int) bool
- func (o *CreatePostureCheckCreated) IsRedirect() bool
- func (o *CreatePostureCheckCreated) IsServerError() bool
- func (o *CreatePostureCheckCreated) IsSuccess() bool
- func (o *CreatePostureCheckCreated) String() string
- type CreatePostureCheckParams
- func NewCreatePostureCheckParams() *CreatePostureCheckParams
- func NewCreatePostureCheckParamsWithContext(ctx context.Context) *CreatePostureCheckParams
- func NewCreatePostureCheckParamsWithHTTPClient(client *http.Client) *CreatePostureCheckParams
- func NewCreatePostureCheckParamsWithTimeout(timeout time.Duration) *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) SetContext(ctx context.Context)
- func (o *CreatePostureCheckParams) SetDefaults()
- func (o *CreatePostureCheckParams) SetHTTPClient(client *http.Client)
- func (o *CreatePostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckCreate)
- func (o *CreatePostureCheckParams) SetTimeout(timeout time.Duration)
- func (o *CreatePostureCheckParams) WithContext(ctx context.Context) *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) WithDefaults() *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) WithHTTPClient(client *http.Client) *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckCreate) *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) WithTimeout(timeout time.Duration) *CreatePostureCheckParams
- func (o *CreatePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePostureCheckReader
- type CreatePostureCheckServiceUnavailable
- func (o *CreatePostureCheckServiceUnavailable) Code() int
- func (o *CreatePostureCheckServiceUnavailable) Error() string
- func (o *CreatePostureCheckServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureCheckServiceUnavailable) IsClientError() bool
- func (o *CreatePostureCheckServiceUnavailable) IsCode(code int) bool
- func (o *CreatePostureCheckServiceUnavailable) IsRedirect() bool
- func (o *CreatePostureCheckServiceUnavailable) IsServerError() bool
- func (o *CreatePostureCheckServiceUnavailable) IsSuccess() bool
- func (o *CreatePostureCheckServiceUnavailable) String() string
- type CreatePostureCheckTooManyRequests
- func (o *CreatePostureCheckTooManyRequests) Code() int
- func (o *CreatePostureCheckTooManyRequests) Error() string
- func (o *CreatePostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureCheckTooManyRequests) IsClientError() bool
- func (o *CreatePostureCheckTooManyRequests) IsCode(code int) bool
- func (o *CreatePostureCheckTooManyRequests) IsRedirect() bool
- func (o *CreatePostureCheckTooManyRequests) IsServerError() bool
- func (o *CreatePostureCheckTooManyRequests) IsSuccess() bool
- func (o *CreatePostureCheckTooManyRequests) String() string
- type CreatePostureCheckUnauthorized
- func (o *CreatePostureCheckUnauthorized) Code() int
- func (o *CreatePostureCheckUnauthorized) Error() string
- func (o *CreatePostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreatePostureCheckUnauthorized) IsClientError() bool
- func (o *CreatePostureCheckUnauthorized) IsCode(code int) bool
- func (o *CreatePostureCheckUnauthorized) IsRedirect() bool
- func (o *CreatePostureCheckUnauthorized) IsServerError() bool
- func (o *CreatePostureCheckUnauthorized) IsSuccess() bool
- func (o *CreatePostureCheckUnauthorized) String() string
- type DeletePostureCheckForbidden
- func (o *DeletePostureCheckForbidden) Code() int
- func (o *DeletePostureCheckForbidden) Error() string
- func (o *DeletePostureCheckForbidden) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeletePostureCheckForbidden) IsClientError() bool
- func (o *DeletePostureCheckForbidden) IsCode(code int) bool
- func (o *DeletePostureCheckForbidden) IsRedirect() bool
- func (o *DeletePostureCheckForbidden) IsServerError() bool
- func (o *DeletePostureCheckForbidden) IsSuccess() bool
- func (o *DeletePostureCheckForbidden) String() string
- type DeletePostureCheckNotFound
- func (o *DeletePostureCheckNotFound) Code() int
- func (o *DeletePostureCheckNotFound) Error() string
- func (o *DeletePostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeletePostureCheckNotFound) IsClientError() bool
- func (o *DeletePostureCheckNotFound) IsCode(code int) bool
- func (o *DeletePostureCheckNotFound) IsRedirect() bool
- func (o *DeletePostureCheckNotFound) IsServerError() bool
- func (o *DeletePostureCheckNotFound) IsSuccess() bool
- func (o *DeletePostureCheckNotFound) String() string
- type DeletePostureCheckOK
- func (o *DeletePostureCheckOK) Code() int
- func (o *DeletePostureCheckOK) Error() string
- func (o *DeletePostureCheckOK) GetPayload() *rest_model.Empty
- func (o *DeletePostureCheckOK) IsClientError() bool
- func (o *DeletePostureCheckOK) IsCode(code int) bool
- func (o *DeletePostureCheckOK) IsRedirect() bool
- func (o *DeletePostureCheckOK) IsServerError() bool
- func (o *DeletePostureCheckOK) IsSuccess() bool
- func (o *DeletePostureCheckOK) String() string
- type DeletePostureCheckParams
- func NewDeletePostureCheckParams() *DeletePostureCheckParams
- func NewDeletePostureCheckParamsWithContext(ctx context.Context) *DeletePostureCheckParams
- func NewDeletePostureCheckParamsWithHTTPClient(client *http.Client) *DeletePostureCheckParams
- func NewDeletePostureCheckParamsWithTimeout(timeout time.Duration) *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) SetContext(ctx context.Context)
- func (o *DeletePostureCheckParams) SetDefaults()
- func (o *DeletePostureCheckParams) SetHTTPClient(client *http.Client)
- func (o *DeletePostureCheckParams) SetID(id string)
- func (o *DeletePostureCheckParams) SetTimeout(timeout time.Duration)
- func (o *DeletePostureCheckParams) WithContext(ctx context.Context) *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) WithDefaults() *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) WithHTTPClient(client *http.Client) *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) WithID(id string) *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) WithTimeout(timeout time.Duration) *DeletePostureCheckParams
- func (o *DeletePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePostureCheckReader
- type DeletePostureCheckServiceUnavailable
- func (o *DeletePostureCheckServiceUnavailable) Code() int
- func (o *DeletePostureCheckServiceUnavailable) Error() string
- func (o *DeletePostureCheckServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeletePostureCheckServiceUnavailable) IsClientError() bool
- func (o *DeletePostureCheckServiceUnavailable) IsCode(code int) bool
- func (o *DeletePostureCheckServiceUnavailable) IsRedirect() bool
- func (o *DeletePostureCheckServiceUnavailable) IsServerError() bool
- func (o *DeletePostureCheckServiceUnavailable) IsSuccess() bool
- func (o *DeletePostureCheckServiceUnavailable) String() string
- type DeletePostureCheckTooManyRequests
- func (o *DeletePostureCheckTooManyRequests) Code() int
- func (o *DeletePostureCheckTooManyRequests) Error() string
- func (o *DeletePostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeletePostureCheckTooManyRequests) IsClientError() bool
- func (o *DeletePostureCheckTooManyRequests) IsCode(code int) bool
- func (o *DeletePostureCheckTooManyRequests) IsRedirect() bool
- func (o *DeletePostureCheckTooManyRequests) IsServerError() bool
- func (o *DeletePostureCheckTooManyRequests) IsSuccess() bool
- func (o *DeletePostureCheckTooManyRequests) String() string
- type DetailPostureCheckNotFound
- func (o *DetailPostureCheckNotFound) Code() int
- func (o *DetailPostureCheckNotFound) Error() string
- func (o *DetailPostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailPostureCheckNotFound) IsClientError() bool
- func (o *DetailPostureCheckNotFound) IsCode(code int) bool
- func (o *DetailPostureCheckNotFound) IsRedirect() bool
- func (o *DetailPostureCheckNotFound) IsServerError() bool
- func (o *DetailPostureCheckNotFound) IsSuccess() bool
- func (o *DetailPostureCheckNotFound) String() string
- type DetailPostureCheckOK
- func (o *DetailPostureCheckOK) Code() int
- func (o *DetailPostureCheckOK) Error() string
- func (o *DetailPostureCheckOK) GetPayload() *rest_model.DetailPostureCheckEnvelope
- func (o *DetailPostureCheckOK) IsClientError() bool
- func (o *DetailPostureCheckOK) IsCode(code int) bool
- func (o *DetailPostureCheckOK) IsRedirect() bool
- func (o *DetailPostureCheckOK) IsServerError() bool
- func (o *DetailPostureCheckOK) IsSuccess() bool
- func (o *DetailPostureCheckOK) String() string
- type DetailPostureCheckParams
- func NewDetailPostureCheckParams() *DetailPostureCheckParams
- func NewDetailPostureCheckParamsWithContext(ctx context.Context) *DetailPostureCheckParams
- func NewDetailPostureCheckParamsWithHTTPClient(client *http.Client) *DetailPostureCheckParams
- func NewDetailPostureCheckParamsWithTimeout(timeout time.Duration) *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) SetContext(ctx context.Context)
- func (o *DetailPostureCheckParams) SetDefaults()
- func (o *DetailPostureCheckParams) SetHTTPClient(client *http.Client)
- func (o *DetailPostureCheckParams) SetID(id string)
- func (o *DetailPostureCheckParams) SetTimeout(timeout time.Duration)
- func (o *DetailPostureCheckParams) WithContext(ctx context.Context) *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) WithDefaults() *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) WithHTTPClient(client *http.Client) *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) WithID(id string) *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) WithTimeout(timeout time.Duration) *DetailPostureCheckParams
- func (o *DetailPostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailPostureCheckReader
- type DetailPostureCheckServiceUnavailable
- func (o *DetailPostureCheckServiceUnavailable) Code() int
- func (o *DetailPostureCheckServiceUnavailable) Error() string
- func (o *DetailPostureCheckServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailPostureCheckServiceUnavailable) IsClientError() bool
- func (o *DetailPostureCheckServiceUnavailable) IsCode(code int) bool
- func (o *DetailPostureCheckServiceUnavailable) IsRedirect() bool
- func (o *DetailPostureCheckServiceUnavailable) IsServerError() bool
- func (o *DetailPostureCheckServiceUnavailable) IsSuccess() bool
- func (o *DetailPostureCheckServiceUnavailable) String() string
- type DetailPostureCheckTooManyRequests
- func (o *DetailPostureCheckTooManyRequests) Code() int
- func (o *DetailPostureCheckTooManyRequests) Error() string
- func (o *DetailPostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailPostureCheckTooManyRequests) IsClientError() bool
- func (o *DetailPostureCheckTooManyRequests) IsCode(code int) bool
- func (o *DetailPostureCheckTooManyRequests) IsRedirect() bool
- func (o *DetailPostureCheckTooManyRequests) IsServerError() bool
- func (o *DetailPostureCheckTooManyRequests) IsSuccess() bool
- func (o *DetailPostureCheckTooManyRequests) String() string
- type DetailPostureCheckTypeNotFound
- func (o *DetailPostureCheckTypeNotFound) Code() int
- func (o *DetailPostureCheckTypeNotFound) Error() string
- func (o *DetailPostureCheckTypeNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailPostureCheckTypeNotFound) IsClientError() bool
- func (o *DetailPostureCheckTypeNotFound) IsCode(code int) bool
- func (o *DetailPostureCheckTypeNotFound) IsRedirect() bool
- func (o *DetailPostureCheckTypeNotFound) IsServerError() bool
- func (o *DetailPostureCheckTypeNotFound) IsSuccess() bool
- func (o *DetailPostureCheckTypeNotFound) String() string
- type DetailPostureCheckTypeOK
- func (o *DetailPostureCheckTypeOK) Code() int
- func (o *DetailPostureCheckTypeOK) Error() string
- func (o *DetailPostureCheckTypeOK) GetPayload() *rest_model.DetailPostureCheckTypeEnvelope
- func (o *DetailPostureCheckTypeOK) IsClientError() bool
- func (o *DetailPostureCheckTypeOK) IsCode(code int) bool
- func (o *DetailPostureCheckTypeOK) IsRedirect() bool
- func (o *DetailPostureCheckTypeOK) IsServerError() bool
- func (o *DetailPostureCheckTypeOK) IsSuccess() bool
- func (o *DetailPostureCheckTypeOK) String() string
- type DetailPostureCheckTypeParams
- func NewDetailPostureCheckTypeParams() *DetailPostureCheckTypeParams
- func NewDetailPostureCheckTypeParamsWithContext(ctx context.Context) *DetailPostureCheckTypeParams
- func NewDetailPostureCheckTypeParamsWithHTTPClient(client *http.Client) *DetailPostureCheckTypeParams
- func NewDetailPostureCheckTypeParamsWithTimeout(timeout time.Duration) *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) SetContext(ctx context.Context)
- func (o *DetailPostureCheckTypeParams) SetDefaults()
- func (o *DetailPostureCheckTypeParams) SetHTTPClient(client *http.Client)
- func (o *DetailPostureCheckTypeParams) SetID(id string)
- func (o *DetailPostureCheckTypeParams) SetTimeout(timeout time.Duration)
- func (o *DetailPostureCheckTypeParams) WithContext(ctx context.Context) *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) WithDefaults() *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) WithHTTPClient(client *http.Client) *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) WithID(id string) *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) WithTimeout(timeout time.Duration) *DetailPostureCheckTypeParams
- func (o *DetailPostureCheckTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailPostureCheckTypeReader
- type DetailPostureCheckTypeServiceUnavailable
- func (o *DetailPostureCheckTypeServiceUnavailable) Code() int
- func (o *DetailPostureCheckTypeServiceUnavailable) Error() string
- func (o *DetailPostureCheckTypeServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailPostureCheckTypeServiceUnavailable) IsClientError() bool
- func (o *DetailPostureCheckTypeServiceUnavailable) IsCode(code int) bool
- func (o *DetailPostureCheckTypeServiceUnavailable) IsRedirect() bool
- func (o *DetailPostureCheckTypeServiceUnavailable) IsServerError() bool
- func (o *DetailPostureCheckTypeServiceUnavailable) IsSuccess() bool
- func (o *DetailPostureCheckTypeServiceUnavailable) String() string
- type DetailPostureCheckTypeTooManyRequests
- func (o *DetailPostureCheckTypeTooManyRequests) Code() int
- func (o *DetailPostureCheckTypeTooManyRequests) Error() string
- func (o *DetailPostureCheckTypeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailPostureCheckTypeTooManyRequests) IsClientError() bool
- func (o *DetailPostureCheckTypeTooManyRequests) IsCode(code int) bool
- func (o *DetailPostureCheckTypeTooManyRequests) IsRedirect() bool
- func (o *DetailPostureCheckTypeTooManyRequests) IsServerError() bool
- func (o *DetailPostureCheckTypeTooManyRequests) IsSuccess() bool
- func (o *DetailPostureCheckTypeTooManyRequests) String() string
- type DetailPostureCheckTypeUnauthorized
- func (o *DetailPostureCheckTypeUnauthorized) Code() int
- func (o *DetailPostureCheckTypeUnauthorized) Error() string
- func (o *DetailPostureCheckTypeUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailPostureCheckTypeUnauthorized) IsClientError() bool
- func (o *DetailPostureCheckTypeUnauthorized) IsCode(code int) bool
- func (o *DetailPostureCheckTypeUnauthorized) IsRedirect() bool
- func (o *DetailPostureCheckTypeUnauthorized) IsServerError() bool
- func (o *DetailPostureCheckTypeUnauthorized) IsSuccess() bool
- func (o *DetailPostureCheckTypeUnauthorized) String() string
- type DetailPostureCheckUnauthorized
- func (o *DetailPostureCheckUnauthorized) Code() int
- func (o *DetailPostureCheckUnauthorized) Error() string
- func (o *DetailPostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailPostureCheckUnauthorized) IsClientError() bool
- func (o *DetailPostureCheckUnauthorized) IsCode(code int) bool
- func (o *DetailPostureCheckUnauthorized) IsRedirect() bool
- func (o *DetailPostureCheckUnauthorized) IsServerError() bool
- func (o *DetailPostureCheckUnauthorized) IsSuccess() bool
- func (o *DetailPostureCheckUnauthorized) String() string
- type ListPostureCheckTypesBadRequest
- func (o *ListPostureCheckTypesBadRequest) Code() int
- func (o *ListPostureCheckTypesBadRequest) Error() string
- func (o *ListPostureCheckTypesBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListPostureCheckTypesBadRequest) IsClientError() bool
- func (o *ListPostureCheckTypesBadRequest) IsCode(code int) bool
- func (o *ListPostureCheckTypesBadRequest) IsRedirect() bool
- func (o *ListPostureCheckTypesBadRequest) IsServerError() bool
- func (o *ListPostureCheckTypesBadRequest) IsSuccess() bool
- func (o *ListPostureCheckTypesBadRequest) String() string
- type ListPostureCheckTypesOK
- func (o *ListPostureCheckTypesOK) Code() int
- func (o *ListPostureCheckTypesOK) Error() string
- func (o *ListPostureCheckTypesOK) GetPayload() *rest_model.ListPostureCheckTypesEnvelope
- func (o *ListPostureCheckTypesOK) IsClientError() bool
- func (o *ListPostureCheckTypesOK) IsCode(code int) bool
- func (o *ListPostureCheckTypesOK) IsRedirect() bool
- func (o *ListPostureCheckTypesOK) IsServerError() bool
- func (o *ListPostureCheckTypesOK) IsSuccess() bool
- func (o *ListPostureCheckTypesOK) String() string
- type ListPostureCheckTypesParams
- func NewListPostureCheckTypesParams() *ListPostureCheckTypesParams
- func NewListPostureCheckTypesParamsWithContext(ctx context.Context) *ListPostureCheckTypesParams
- func NewListPostureCheckTypesParamsWithHTTPClient(client *http.Client) *ListPostureCheckTypesParams
- func NewListPostureCheckTypesParamsWithTimeout(timeout time.Duration) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) SetContext(ctx context.Context)
- func (o *ListPostureCheckTypesParams) SetDefaults()
- func (o *ListPostureCheckTypesParams) SetFilter(filter *string)
- func (o *ListPostureCheckTypesParams) SetHTTPClient(client *http.Client)
- func (o *ListPostureCheckTypesParams) SetLimit(limit *int64)
- func (o *ListPostureCheckTypesParams) SetOffset(offset *int64)
- func (o *ListPostureCheckTypesParams) SetTimeout(timeout time.Duration)
- func (o *ListPostureCheckTypesParams) WithContext(ctx context.Context) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithDefaults() *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithFilter(filter *string) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithHTTPClient(client *http.Client) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithLimit(limit *int64) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithOffset(offset *int64) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WithTimeout(timeout time.Duration) *ListPostureCheckTypesParams
- func (o *ListPostureCheckTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPostureCheckTypesReader
- type ListPostureCheckTypesServiceUnavailable
- func (o *ListPostureCheckTypesServiceUnavailable) Code() int
- func (o *ListPostureCheckTypesServiceUnavailable) Error() string
- func (o *ListPostureCheckTypesServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListPostureCheckTypesServiceUnavailable) IsClientError() bool
- func (o *ListPostureCheckTypesServiceUnavailable) IsCode(code int) bool
- func (o *ListPostureCheckTypesServiceUnavailable) IsRedirect() bool
- func (o *ListPostureCheckTypesServiceUnavailable) IsServerError() bool
- func (o *ListPostureCheckTypesServiceUnavailable) IsSuccess() bool
- func (o *ListPostureCheckTypesServiceUnavailable) String() string
- type ListPostureCheckTypesTooManyRequests
- func (o *ListPostureCheckTypesTooManyRequests) Code() int
- func (o *ListPostureCheckTypesTooManyRequests) Error() string
- func (o *ListPostureCheckTypesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListPostureCheckTypesTooManyRequests) IsClientError() bool
- func (o *ListPostureCheckTypesTooManyRequests) IsCode(code int) bool
- func (o *ListPostureCheckTypesTooManyRequests) IsRedirect() bool
- func (o *ListPostureCheckTypesTooManyRequests) IsServerError() bool
- func (o *ListPostureCheckTypesTooManyRequests) IsSuccess() bool
- func (o *ListPostureCheckTypesTooManyRequests) String() string
- type ListPostureCheckTypesUnauthorized
- func (o *ListPostureCheckTypesUnauthorized) Code() int
- func (o *ListPostureCheckTypesUnauthorized) Error() string
- func (o *ListPostureCheckTypesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListPostureCheckTypesUnauthorized) IsClientError() bool
- func (o *ListPostureCheckTypesUnauthorized) IsCode(code int) bool
- func (o *ListPostureCheckTypesUnauthorized) IsRedirect() bool
- func (o *ListPostureCheckTypesUnauthorized) IsServerError() bool
- func (o *ListPostureCheckTypesUnauthorized) IsSuccess() bool
- func (o *ListPostureCheckTypesUnauthorized) String() string
- type ListPostureChecksBadRequest
- func (o *ListPostureChecksBadRequest) Code() int
- func (o *ListPostureChecksBadRequest) Error() string
- func (o *ListPostureChecksBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListPostureChecksBadRequest) IsClientError() bool
- func (o *ListPostureChecksBadRequest) IsCode(code int) bool
- func (o *ListPostureChecksBadRequest) IsRedirect() bool
- func (o *ListPostureChecksBadRequest) IsServerError() bool
- func (o *ListPostureChecksBadRequest) IsSuccess() bool
- func (o *ListPostureChecksBadRequest) String() string
- type ListPostureChecksOK
- func (o *ListPostureChecksOK) Code() int
- func (o *ListPostureChecksOK) Error() string
- func (o *ListPostureChecksOK) GetPayload() *rest_model.ListPostureCheckEnvelope
- func (o *ListPostureChecksOK) IsClientError() bool
- func (o *ListPostureChecksOK) IsCode(code int) bool
- func (o *ListPostureChecksOK) IsRedirect() bool
- func (o *ListPostureChecksOK) IsServerError() bool
- func (o *ListPostureChecksOK) IsSuccess() bool
- func (o *ListPostureChecksOK) String() string
- type ListPostureChecksParams
- func NewListPostureChecksParams() *ListPostureChecksParams
- func NewListPostureChecksParamsWithContext(ctx context.Context) *ListPostureChecksParams
- func NewListPostureChecksParamsWithHTTPClient(client *http.Client) *ListPostureChecksParams
- func NewListPostureChecksParamsWithTimeout(timeout time.Duration) *ListPostureChecksParams
- func (o *ListPostureChecksParams) SetContext(ctx context.Context)
- func (o *ListPostureChecksParams) SetDefaults()
- func (o *ListPostureChecksParams) SetFilter(filter *string)
- func (o *ListPostureChecksParams) SetHTTPClient(client *http.Client)
- func (o *ListPostureChecksParams) SetLimit(limit *int64)
- func (o *ListPostureChecksParams) SetOffset(offset *int64)
- func (o *ListPostureChecksParams) SetRoleFilter(roleFilter []string)
- func (o *ListPostureChecksParams) SetRoleSemantic(roleSemantic *string)
- func (o *ListPostureChecksParams) SetTimeout(timeout time.Duration)
- func (o *ListPostureChecksParams) WithContext(ctx context.Context) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithDefaults() *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithFilter(filter *string) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithHTTPClient(client *http.Client) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithLimit(limit *int64) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithOffset(offset *int64) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithRoleFilter(roleFilter []string) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithRoleSemantic(roleSemantic *string) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WithTimeout(timeout time.Duration) *ListPostureChecksParams
- func (o *ListPostureChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPostureChecksReader
- type ListPostureChecksServiceUnavailable
- func (o *ListPostureChecksServiceUnavailable) Code() int
- func (o *ListPostureChecksServiceUnavailable) Error() string
- func (o *ListPostureChecksServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListPostureChecksServiceUnavailable) IsClientError() bool
- func (o *ListPostureChecksServiceUnavailable) IsCode(code int) bool
- func (o *ListPostureChecksServiceUnavailable) IsRedirect() bool
- func (o *ListPostureChecksServiceUnavailable) IsServerError() bool
- func (o *ListPostureChecksServiceUnavailable) IsSuccess() bool
- func (o *ListPostureChecksServiceUnavailable) String() string
- type ListPostureChecksTooManyRequests
- func (o *ListPostureChecksTooManyRequests) Code() int
- func (o *ListPostureChecksTooManyRequests) Error() string
- func (o *ListPostureChecksTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListPostureChecksTooManyRequests) IsClientError() bool
- func (o *ListPostureChecksTooManyRequests) IsCode(code int) bool
- func (o *ListPostureChecksTooManyRequests) IsRedirect() bool
- func (o *ListPostureChecksTooManyRequests) IsServerError() bool
- func (o *ListPostureChecksTooManyRequests) IsSuccess() bool
- func (o *ListPostureChecksTooManyRequests) String() string
- type ListPostureChecksUnauthorized
- func (o *ListPostureChecksUnauthorized) Code() int
- func (o *ListPostureChecksUnauthorized) Error() string
- func (o *ListPostureChecksUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListPostureChecksUnauthorized) IsClientError() bool
- func (o *ListPostureChecksUnauthorized) IsCode(code int) bool
- func (o *ListPostureChecksUnauthorized) IsRedirect() bool
- func (o *ListPostureChecksUnauthorized) IsServerError() bool
- func (o *ListPostureChecksUnauthorized) IsSuccess() bool
- func (o *ListPostureChecksUnauthorized) String() string
- type PatchPostureCheckBadRequest
- func (o *PatchPostureCheckBadRequest) Code() int
- func (o *PatchPostureCheckBadRequest) Error() string
- func (o *PatchPostureCheckBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchPostureCheckBadRequest) IsClientError() bool
- func (o *PatchPostureCheckBadRequest) IsCode(code int) bool
- func (o *PatchPostureCheckBadRequest) IsRedirect() bool
- func (o *PatchPostureCheckBadRequest) IsServerError() bool
- func (o *PatchPostureCheckBadRequest) IsSuccess() bool
- func (o *PatchPostureCheckBadRequest) String() string
- type PatchPostureCheckNotFound
- func (o *PatchPostureCheckNotFound) Code() int
- func (o *PatchPostureCheckNotFound) Error() string
- func (o *PatchPostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchPostureCheckNotFound) IsClientError() bool
- func (o *PatchPostureCheckNotFound) IsCode(code int) bool
- func (o *PatchPostureCheckNotFound) IsRedirect() bool
- func (o *PatchPostureCheckNotFound) IsServerError() bool
- func (o *PatchPostureCheckNotFound) IsSuccess() bool
- func (o *PatchPostureCheckNotFound) String() string
- type PatchPostureCheckOK
- func (o *PatchPostureCheckOK) Code() int
- func (o *PatchPostureCheckOK) Error() string
- func (o *PatchPostureCheckOK) GetPayload() *rest_model.Empty
- func (o *PatchPostureCheckOK) IsClientError() bool
- func (o *PatchPostureCheckOK) IsCode(code int) bool
- func (o *PatchPostureCheckOK) IsRedirect() bool
- func (o *PatchPostureCheckOK) IsServerError() bool
- func (o *PatchPostureCheckOK) IsSuccess() bool
- func (o *PatchPostureCheckOK) String() string
- type PatchPostureCheckParams
- func NewPatchPostureCheckParams() *PatchPostureCheckParams
- func NewPatchPostureCheckParamsWithContext(ctx context.Context) *PatchPostureCheckParams
- func NewPatchPostureCheckParamsWithHTTPClient(client *http.Client) *PatchPostureCheckParams
- func NewPatchPostureCheckParamsWithTimeout(timeout time.Duration) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) SetContext(ctx context.Context)
- func (o *PatchPostureCheckParams) SetDefaults()
- func (o *PatchPostureCheckParams) SetHTTPClient(client *http.Client)
- func (o *PatchPostureCheckParams) SetID(id string)
- func (o *PatchPostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckPatch)
- func (o *PatchPostureCheckParams) SetTimeout(timeout time.Duration)
- func (o *PatchPostureCheckParams) WithContext(ctx context.Context) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WithDefaults() *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WithHTTPClient(client *http.Client) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WithID(id string) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckPatch) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WithTimeout(timeout time.Duration) *PatchPostureCheckParams
- func (o *PatchPostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchPostureCheckReader
- type PatchPostureCheckServiceUnavailable
- func (o *PatchPostureCheckServiceUnavailable) Code() int
- func (o *PatchPostureCheckServiceUnavailable) Error() string
- func (o *PatchPostureCheckServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchPostureCheckServiceUnavailable) IsClientError() bool
- func (o *PatchPostureCheckServiceUnavailable) IsCode(code int) bool
- func (o *PatchPostureCheckServiceUnavailable) IsRedirect() bool
- func (o *PatchPostureCheckServiceUnavailable) IsServerError() bool
- func (o *PatchPostureCheckServiceUnavailable) IsSuccess() bool
- func (o *PatchPostureCheckServiceUnavailable) String() string
- type PatchPostureCheckTooManyRequests
- func (o *PatchPostureCheckTooManyRequests) Code() int
- func (o *PatchPostureCheckTooManyRequests) Error() string
- func (o *PatchPostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchPostureCheckTooManyRequests) IsClientError() bool
- func (o *PatchPostureCheckTooManyRequests) IsCode(code int) bool
- func (o *PatchPostureCheckTooManyRequests) IsRedirect() bool
- func (o *PatchPostureCheckTooManyRequests) IsServerError() bool
- func (o *PatchPostureCheckTooManyRequests) IsSuccess() bool
- func (o *PatchPostureCheckTooManyRequests) String() string
- type PatchPostureCheckUnauthorized
- func (o *PatchPostureCheckUnauthorized) Code() int
- func (o *PatchPostureCheckUnauthorized) Error() string
- func (o *PatchPostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchPostureCheckUnauthorized) IsClientError() bool
- func (o *PatchPostureCheckUnauthorized) IsCode(code int) bool
- func (o *PatchPostureCheckUnauthorized) IsRedirect() bool
- func (o *PatchPostureCheckUnauthorized) IsServerError() bool
- func (o *PatchPostureCheckUnauthorized) IsSuccess() bool
- func (o *PatchPostureCheckUnauthorized) String() string
- type UpdatePostureCheckBadRequest
- func (o *UpdatePostureCheckBadRequest) Code() int
- func (o *UpdatePostureCheckBadRequest) Error() string
- func (o *UpdatePostureCheckBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdatePostureCheckBadRequest) IsClientError() bool
- func (o *UpdatePostureCheckBadRequest) IsCode(code int) bool
- func (o *UpdatePostureCheckBadRequest) IsRedirect() bool
- func (o *UpdatePostureCheckBadRequest) IsServerError() bool
- func (o *UpdatePostureCheckBadRequest) IsSuccess() bool
- func (o *UpdatePostureCheckBadRequest) String() string
- type UpdatePostureCheckNotFound
- func (o *UpdatePostureCheckNotFound) Code() int
- func (o *UpdatePostureCheckNotFound) Error() string
- func (o *UpdatePostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdatePostureCheckNotFound) IsClientError() bool
- func (o *UpdatePostureCheckNotFound) IsCode(code int) bool
- func (o *UpdatePostureCheckNotFound) IsRedirect() bool
- func (o *UpdatePostureCheckNotFound) IsServerError() bool
- func (o *UpdatePostureCheckNotFound) IsSuccess() bool
- func (o *UpdatePostureCheckNotFound) String() string
- type UpdatePostureCheckOK
- func (o *UpdatePostureCheckOK) Code() int
- func (o *UpdatePostureCheckOK) Error() string
- func (o *UpdatePostureCheckOK) GetPayload() *rest_model.Empty
- func (o *UpdatePostureCheckOK) IsClientError() bool
- func (o *UpdatePostureCheckOK) IsCode(code int) bool
- func (o *UpdatePostureCheckOK) IsRedirect() bool
- func (o *UpdatePostureCheckOK) IsServerError() bool
- func (o *UpdatePostureCheckOK) IsSuccess() bool
- func (o *UpdatePostureCheckOK) String() string
- type UpdatePostureCheckParams
- func NewUpdatePostureCheckParams() *UpdatePostureCheckParams
- func NewUpdatePostureCheckParamsWithContext(ctx context.Context) *UpdatePostureCheckParams
- func NewUpdatePostureCheckParamsWithHTTPClient(client *http.Client) *UpdatePostureCheckParams
- func NewUpdatePostureCheckParamsWithTimeout(timeout time.Duration) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) SetContext(ctx context.Context)
- func (o *UpdatePostureCheckParams) SetDefaults()
- func (o *UpdatePostureCheckParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePostureCheckParams) SetID(id string)
- func (o *UpdatePostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckUpdate)
- func (o *UpdatePostureCheckParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePostureCheckParams) WithContext(ctx context.Context) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WithDefaults() *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WithHTTPClient(client *http.Client) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WithID(id string) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckUpdate) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WithTimeout(timeout time.Duration) *UpdatePostureCheckParams
- func (o *UpdatePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePostureCheckReader
- type UpdatePostureCheckServiceUnavailable
- func (o *UpdatePostureCheckServiceUnavailable) Code() int
- func (o *UpdatePostureCheckServiceUnavailable) Error() string
- func (o *UpdatePostureCheckServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdatePostureCheckServiceUnavailable) IsClientError() bool
- func (o *UpdatePostureCheckServiceUnavailable) IsCode(code int) bool
- func (o *UpdatePostureCheckServiceUnavailable) IsRedirect() bool
- func (o *UpdatePostureCheckServiceUnavailable) IsServerError() bool
- func (o *UpdatePostureCheckServiceUnavailable) IsSuccess() bool
- func (o *UpdatePostureCheckServiceUnavailable) String() string
- type UpdatePostureCheckTooManyRequests
- func (o *UpdatePostureCheckTooManyRequests) Code() int
- func (o *UpdatePostureCheckTooManyRequests) Error() string
- func (o *UpdatePostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdatePostureCheckTooManyRequests) IsClientError() bool
- func (o *UpdatePostureCheckTooManyRequests) IsCode(code int) bool
- func (o *UpdatePostureCheckTooManyRequests) IsRedirect() bool
- func (o *UpdatePostureCheckTooManyRequests) IsServerError() bool
- func (o *UpdatePostureCheckTooManyRequests) IsSuccess() bool
- func (o *UpdatePostureCheckTooManyRequests) String() string
- type UpdatePostureCheckUnauthorized
- func (o *UpdatePostureCheckUnauthorized) Code() int
- func (o *UpdatePostureCheckUnauthorized) Error() string
- func (o *UpdatePostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdatePostureCheckUnauthorized) IsClientError() bool
- func (o *UpdatePostureCheckUnauthorized) IsCode(code int) bool
- func (o *UpdatePostureCheckUnauthorized) IsRedirect() bool
- func (o *UpdatePostureCheckUnauthorized) IsServerError() bool
- func (o *UpdatePostureCheckUnauthorized) IsSuccess() bool
- func (o *UpdatePostureCheckUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶ added in v0.26.53
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptApplicationJSONCharsetUTF8 ¶ added in v0.26.53
func WithAcceptApplicationJSONCharsetUTF8(r *runtime.ClientOperation)
WithAcceptApplicationJSONCharsetUTF8 sets the Accept header to "application/json; charset=utf-8".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for posture checks API
func (*Client) CreatePostureCheck ¶
func (a *Client) CreatePostureCheck(params *CreatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostureCheckCreated, error)
CreatePostureCheck creates a posture checks
Creates a Posture Checks
func (*Client) DeletePostureCheck ¶
func (a *Client) DeletePostureCheck(params *DeletePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePostureCheckOK, error)
DeletePostureCheck deletes an posture checks
Deletes and Posture Checks by id
func (*Client) DetailPostureCheck ¶
func (a *Client) DetailPostureCheck(params *DetailPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailPostureCheckOK, error)
DetailPostureCheck retrieves a single posture checks
Retrieves a single Posture Checks by id
func (*Client) DetailPostureCheckType ¶
func (a *Client) DetailPostureCheckType(params *DetailPostureCheckTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailPostureCheckTypeOK, error)
DetailPostureCheckType retrieves a single posture check type
Retrieves a single posture check type by id
func (*Client) ListPostureCheckTypes ¶
func (a *Client) ListPostureCheckTypes(params *ListPostureCheckTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostureCheckTypesOK, error)
ListPostureCheckTypes lists a subset of posture check types
Retrieves a list of posture check types
func (*Client) ListPostureChecks ¶
func (a *Client) ListPostureChecks(params *ListPostureChecksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostureChecksOK, error)
ListPostureChecks lists a subset of posture checks
Retrieves a list of posture checks
func (*Client) PatchPostureCheck ¶
func (a *Client) PatchPostureCheck(params *PatchPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchPostureCheckOK, error)
PatchPostureCheck updates the supplied fields on a posture checks
Update only the supplied fields on a Posture Checks by id
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePostureCheck ¶
func (a *Client) UpdatePostureCheck(params *UpdatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePostureCheckOK, error)
UpdatePostureCheck updates all fields on a posture checks
Update all fields on a Posture Checks by id
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶ added in v0.26.53
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
CreatePostureCheck(params *CreatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostureCheckCreated, error)
DeletePostureCheck(params *DeletePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePostureCheckOK, error)
DetailPostureCheck(params *DetailPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailPostureCheckOK, error)
DetailPostureCheckType(params *DetailPostureCheckTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailPostureCheckTypeOK, error)
ListPostureCheckTypes(params *ListPostureCheckTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostureCheckTypesOK, error)
ListPostureChecks(params *ListPostureChecksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostureChecksOK, error)
PatchPostureCheck(params *PatchPostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchPostureCheckOK, error)
UpdatePostureCheck(params *UpdatePostureCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePostureCheckOK, 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 CreatePostureCheckBadRequest ¶
type CreatePostureCheckBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
CreatePostureCheckBadRequest 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 NewCreatePostureCheckBadRequest ¶
func NewCreatePostureCheckBadRequest() *CreatePostureCheckBadRequest
NewCreatePostureCheckBadRequest creates a CreatePostureCheckBadRequest with default headers values
func (*CreatePostureCheckBadRequest) Code ¶ added in v0.26.53
func (o *CreatePostureCheckBadRequest) Code() int
Code gets the status code for the create posture check bad request response
func (*CreatePostureCheckBadRequest) Error ¶
func (o *CreatePostureCheckBadRequest) Error() string
func (*CreatePostureCheckBadRequest) GetPayload ¶
func (o *CreatePostureCheckBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureCheckBadRequest) IsClientError ¶ added in v0.26.53
func (o *CreatePostureCheckBadRequest) IsClientError() bool
IsClientError returns true when this create posture check bad request response has a 4xx status code
func (*CreatePostureCheckBadRequest) IsCode ¶ added in v0.26.53
func (o *CreatePostureCheckBadRequest) IsCode(code int) bool
IsCode returns true when this create posture check bad request response a status code equal to that given
func (*CreatePostureCheckBadRequest) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureCheckBadRequest) IsRedirect() bool
IsRedirect returns true when this create posture check bad request response has a 3xx status code
func (*CreatePostureCheckBadRequest) IsServerError ¶ added in v0.26.53
func (o *CreatePostureCheckBadRequest) IsServerError() bool
IsServerError returns true when this create posture check bad request response has a 5xx status code
func (*CreatePostureCheckBadRequest) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureCheckBadRequest) IsSuccess() bool
IsSuccess returns true when this create posture check bad request response has a 2xx status code
func (*CreatePostureCheckBadRequest) String ¶ added in v0.26.53
func (o *CreatePostureCheckBadRequest) String() string
type CreatePostureCheckCreated ¶
type CreatePostureCheckCreated struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.CreateEnvelope
}
CreatePostureCheckCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewCreatePostureCheckCreated ¶
func NewCreatePostureCheckCreated() *CreatePostureCheckCreated
NewCreatePostureCheckCreated creates a CreatePostureCheckCreated with default headers values
func (*CreatePostureCheckCreated) Code ¶ added in v0.26.53
func (o *CreatePostureCheckCreated) Code() int
Code gets the status code for the create posture check created response
func (*CreatePostureCheckCreated) Error ¶
func (o *CreatePostureCheckCreated) Error() string
func (*CreatePostureCheckCreated) GetPayload ¶
func (o *CreatePostureCheckCreated) GetPayload() *rest_model.CreateEnvelope
func (*CreatePostureCheckCreated) IsClientError ¶ added in v0.26.53
func (o *CreatePostureCheckCreated) IsClientError() bool
IsClientError returns true when this create posture check created response has a 4xx status code
func (*CreatePostureCheckCreated) IsCode ¶ added in v0.26.53
func (o *CreatePostureCheckCreated) IsCode(code int) bool
IsCode returns true when this create posture check created response a status code equal to that given
func (*CreatePostureCheckCreated) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureCheckCreated) IsRedirect() bool
IsRedirect returns true when this create posture check created response has a 3xx status code
func (*CreatePostureCheckCreated) IsServerError ¶ added in v0.26.53
func (o *CreatePostureCheckCreated) IsServerError() bool
IsServerError returns true when this create posture check created response has a 5xx status code
func (*CreatePostureCheckCreated) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureCheckCreated) IsSuccess() bool
IsSuccess returns true when this create posture check created response has a 2xx status code
func (*CreatePostureCheckCreated) String ¶ added in v0.26.53
func (o *CreatePostureCheckCreated) String() string
type CreatePostureCheckParams ¶
type CreatePostureCheckParams struct {
/* PostureCheck.
A Posture Check to create
*/
PostureCheck rest_model.PostureCheckCreate
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreatePostureCheckParams contains all the parameters to send to the API endpoint
for the create posture check operation. Typically these are written to a http.Request.
func NewCreatePostureCheckParams ¶
func NewCreatePostureCheckParams() *CreatePostureCheckParams
NewCreatePostureCheckParams creates a new CreatePostureCheckParams 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 NewCreatePostureCheckParamsWithContext ¶
func NewCreatePostureCheckParamsWithContext(ctx context.Context) *CreatePostureCheckParams
NewCreatePostureCheckParamsWithContext creates a new CreatePostureCheckParams object with the ability to set a context for a request.
func NewCreatePostureCheckParamsWithHTTPClient ¶
func NewCreatePostureCheckParamsWithHTTPClient(client *http.Client) *CreatePostureCheckParams
NewCreatePostureCheckParamsWithHTTPClient creates a new CreatePostureCheckParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePostureCheckParamsWithTimeout ¶
func NewCreatePostureCheckParamsWithTimeout(timeout time.Duration) *CreatePostureCheckParams
NewCreatePostureCheckParamsWithTimeout creates a new CreatePostureCheckParams object with the ability to set a timeout on a request.
func (*CreatePostureCheckParams) SetContext ¶
func (o *CreatePostureCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the create posture check params
func (*CreatePostureCheckParams) SetDefaults ¶
func (o *CreatePostureCheckParams) SetDefaults()
SetDefaults hydrates default values in the create posture check params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePostureCheckParams) SetHTTPClient ¶
func (o *CreatePostureCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create posture check params
func (*CreatePostureCheckParams) SetPostureCheck ¶
func (o *CreatePostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckCreate)
SetPostureCheck adds the postureCheck to the create posture check params
func (*CreatePostureCheckParams) SetTimeout ¶
func (o *CreatePostureCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create posture check params
func (*CreatePostureCheckParams) WithContext ¶
func (o *CreatePostureCheckParams) WithContext(ctx context.Context) *CreatePostureCheckParams
WithContext adds the context to the create posture check params
func (*CreatePostureCheckParams) WithDefaults ¶
func (o *CreatePostureCheckParams) WithDefaults() *CreatePostureCheckParams
WithDefaults hydrates default values in the create posture check params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePostureCheckParams) WithHTTPClient ¶
func (o *CreatePostureCheckParams) WithHTTPClient(client *http.Client) *CreatePostureCheckParams
WithHTTPClient adds the HTTPClient to the create posture check params
func (*CreatePostureCheckParams) WithPostureCheck ¶
func (o *CreatePostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckCreate) *CreatePostureCheckParams
WithPostureCheck adds the postureCheck to the create posture check params
func (*CreatePostureCheckParams) WithTimeout ¶
func (o *CreatePostureCheckParams) WithTimeout(timeout time.Duration) *CreatePostureCheckParams
WithTimeout adds the timeout to the create posture check params
func (*CreatePostureCheckParams) WriteToRequest ¶
func (o *CreatePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePostureCheckReader ¶
type CreatePostureCheckReader struct {
// contains filtered or unexported fields
}
CreatePostureCheckReader is a Reader for the CreatePostureCheck structure.
func (*CreatePostureCheckReader) ReadResponse ¶
func (o *CreatePostureCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreatePostureCheckServiceUnavailable ¶ added in v0.26.36
type CreatePostureCheckServiceUnavailable struct {
WWWAuthenticate []string
}
CreatePostureCheckServiceUnavailable 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 NewCreatePostureCheckServiceUnavailable ¶ added in v0.26.36
func NewCreatePostureCheckServiceUnavailable() *CreatePostureCheckServiceUnavailable
NewCreatePostureCheckServiceUnavailable creates a CreatePostureCheckServiceUnavailable with default headers values
func (*CreatePostureCheckServiceUnavailable) Code ¶ added in v0.26.53
func (o *CreatePostureCheckServiceUnavailable) Code() int
Code gets the status code for the create posture check service unavailable response
func (*CreatePostureCheckServiceUnavailable) Error ¶ added in v0.26.36
func (o *CreatePostureCheckServiceUnavailable) Error() string
func (*CreatePostureCheckServiceUnavailable) GetPayload ¶ added in v0.26.36
func (o *CreatePostureCheckServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureCheckServiceUnavailable) IsClientError ¶ added in v0.26.53
func (o *CreatePostureCheckServiceUnavailable) IsClientError() bool
IsClientError returns true when this create posture check service unavailable response has a 4xx status code
func (*CreatePostureCheckServiceUnavailable) IsCode ¶ added in v0.26.53
func (o *CreatePostureCheckServiceUnavailable) IsCode(code int) bool
IsCode returns true when this create posture check service unavailable response a status code equal to that given
func (*CreatePostureCheckServiceUnavailable) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureCheckServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this create posture check service unavailable response has a 3xx status code
func (*CreatePostureCheckServiceUnavailable) IsServerError ¶ added in v0.26.53
func (o *CreatePostureCheckServiceUnavailable) IsServerError() bool
IsServerError returns true when this create posture check service unavailable response has a 5xx status code
func (*CreatePostureCheckServiceUnavailable) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureCheckServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create posture check service unavailable response has a 2xx status code
func (*CreatePostureCheckServiceUnavailable) String ¶ added in v0.26.53
func (o *CreatePostureCheckServiceUnavailable) String() string
type CreatePostureCheckTooManyRequests ¶ added in v0.26.0
type CreatePostureCheckTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
CreatePostureCheckTooManyRequests 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 NewCreatePostureCheckTooManyRequests ¶ added in v0.26.0
func NewCreatePostureCheckTooManyRequests() *CreatePostureCheckTooManyRequests
NewCreatePostureCheckTooManyRequests creates a CreatePostureCheckTooManyRequests with default headers values
func (*CreatePostureCheckTooManyRequests) Code ¶ added in v0.26.53
func (o *CreatePostureCheckTooManyRequests) Code() int
Code gets the status code for the create posture check too many requests response
func (*CreatePostureCheckTooManyRequests) Error ¶ added in v0.26.0
func (o *CreatePostureCheckTooManyRequests) Error() string
func (*CreatePostureCheckTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *CreatePostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureCheckTooManyRequests) IsClientError ¶ added in v0.26.53
func (o *CreatePostureCheckTooManyRequests) IsClientError() bool
IsClientError returns true when this create posture check too many requests response has a 4xx status code
func (*CreatePostureCheckTooManyRequests) IsCode ¶ added in v0.26.53
func (o *CreatePostureCheckTooManyRequests) IsCode(code int) bool
IsCode returns true when this create posture check too many requests response a status code equal to that given
func (*CreatePostureCheckTooManyRequests) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureCheckTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create posture check too many requests response has a 3xx status code
func (*CreatePostureCheckTooManyRequests) IsServerError ¶ added in v0.26.53
func (o *CreatePostureCheckTooManyRequests) IsServerError() bool
IsServerError returns true when this create posture check too many requests response has a 5xx status code
func (*CreatePostureCheckTooManyRequests) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureCheckTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create posture check too many requests response has a 2xx status code
func (*CreatePostureCheckTooManyRequests) String ¶ added in v0.26.53
func (o *CreatePostureCheckTooManyRequests) String() string
type CreatePostureCheckUnauthorized ¶
type CreatePostureCheckUnauthorized struct {
WWWAuthenticate []string
}
CreatePostureCheckUnauthorized 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 NewCreatePostureCheckUnauthorized ¶
func NewCreatePostureCheckUnauthorized() *CreatePostureCheckUnauthorized
NewCreatePostureCheckUnauthorized creates a CreatePostureCheckUnauthorized with default headers values
func (*CreatePostureCheckUnauthorized) Code ¶ added in v0.26.53
func (o *CreatePostureCheckUnauthorized) Code() int
Code gets the status code for the create posture check unauthorized response
func (*CreatePostureCheckUnauthorized) Error ¶
func (o *CreatePostureCheckUnauthorized) Error() string
func (*CreatePostureCheckUnauthorized) GetPayload ¶
func (o *CreatePostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*CreatePostureCheckUnauthorized) IsClientError ¶ added in v0.26.53
func (o *CreatePostureCheckUnauthorized) IsClientError() bool
IsClientError returns true when this create posture check unauthorized response has a 4xx status code
func (*CreatePostureCheckUnauthorized) IsCode ¶ added in v0.26.53
func (o *CreatePostureCheckUnauthorized) IsCode(code int) bool
IsCode returns true when this create posture check unauthorized response a status code equal to that given
func (*CreatePostureCheckUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *CreatePostureCheckUnauthorized) IsRedirect() bool
IsRedirect returns true when this create posture check unauthorized response has a 3xx status code
func (*CreatePostureCheckUnauthorized) IsServerError ¶ added in v0.26.53
func (o *CreatePostureCheckUnauthorized) IsServerError() bool
IsServerError returns true when this create posture check unauthorized response has a 5xx status code
func (*CreatePostureCheckUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *CreatePostureCheckUnauthorized) IsSuccess() bool
IsSuccess returns true when this create posture check unauthorized response has a 2xx status code
func (*CreatePostureCheckUnauthorized) String ¶ added in v0.26.53
func (o *CreatePostureCheckUnauthorized) String() string
type DeletePostureCheckForbidden ¶
type DeletePostureCheckForbidden struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DeletePostureCheckForbidden describes a response with status code 403, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewDeletePostureCheckForbidden ¶
func NewDeletePostureCheckForbidden() *DeletePostureCheckForbidden
NewDeletePostureCheckForbidden creates a DeletePostureCheckForbidden with default headers values
func (*DeletePostureCheckForbidden) Code ¶ added in v0.26.53
func (o *DeletePostureCheckForbidden) Code() int
Code gets the status code for the delete posture check forbidden response
func (*DeletePostureCheckForbidden) Error ¶
func (o *DeletePostureCheckForbidden) Error() string
func (*DeletePostureCheckForbidden) GetPayload ¶
func (o *DeletePostureCheckForbidden) GetPayload() *rest_model.APIErrorEnvelope
func (*DeletePostureCheckForbidden) IsClientError ¶ added in v0.26.53
func (o *DeletePostureCheckForbidden) IsClientError() bool
IsClientError returns true when this delete posture check forbidden response has a 4xx status code
func (*DeletePostureCheckForbidden) IsCode ¶ added in v0.26.53
func (o *DeletePostureCheckForbidden) IsCode(code int) bool
IsCode returns true when this delete posture check forbidden response a status code equal to that given
func (*DeletePostureCheckForbidden) IsRedirect ¶ added in v0.26.53
func (o *DeletePostureCheckForbidden) IsRedirect() bool
IsRedirect returns true when this delete posture check forbidden response has a 3xx status code
func (*DeletePostureCheckForbidden) IsServerError ¶ added in v0.26.53
func (o *DeletePostureCheckForbidden) IsServerError() bool
IsServerError returns true when this delete posture check forbidden response has a 5xx status code
func (*DeletePostureCheckForbidden) IsSuccess ¶ added in v0.26.53
func (o *DeletePostureCheckForbidden) IsSuccess() bool
IsSuccess returns true when this delete posture check forbidden response has a 2xx status code
func (*DeletePostureCheckForbidden) String ¶ added in v0.26.53
func (o *DeletePostureCheckForbidden) String() string
type DeletePostureCheckNotFound ¶
type DeletePostureCheckNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DeletePostureCheckNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDeletePostureCheckNotFound ¶
func NewDeletePostureCheckNotFound() *DeletePostureCheckNotFound
NewDeletePostureCheckNotFound creates a DeletePostureCheckNotFound with default headers values
func (*DeletePostureCheckNotFound) Code ¶ added in v0.26.53
func (o *DeletePostureCheckNotFound) Code() int
Code gets the status code for the delete posture check not found response
func (*DeletePostureCheckNotFound) Error ¶
func (o *DeletePostureCheckNotFound) Error() string
func (*DeletePostureCheckNotFound) GetPayload ¶
func (o *DeletePostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*DeletePostureCheckNotFound) IsClientError ¶ added in v0.26.53
func (o *DeletePostureCheckNotFound) IsClientError() bool
IsClientError returns true when this delete posture check not found response has a 4xx status code
func (*DeletePostureCheckNotFound) IsCode ¶ added in v0.26.53
func (o *DeletePostureCheckNotFound) IsCode(code int) bool
IsCode returns true when this delete posture check not found response a status code equal to that given
func (*DeletePostureCheckNotFound) IsRedirect ¶ added in v0.26.53
func (o *DeletePostureCheckNotFound) IsRedirect() bool
IsRedirect returns true when this delete posture check not found response has a 3xx status code
func (*DeletePostureCheckNotFound) IsServerError ¶ added in v0.26.53
func (o *DeletePostureCheckNotFound) IsServerError() bool
IsServerError returns true when this delete posture check not found response has a 5xx status code
func (*DeletePostureCheckNotFound) IsSuccess ¶ added in v0.26.53
func (o *DeletePostureCheckNotFound) IsSuccess() bool
IsSuccess returns true when this delete posture check not found response has a 2xx status code
func (*DeletePostureCheckNotFound) String ¶ added in v0.26.53
func (o *DeletePostureCheckNotFound) String() string
type DeletePostureCheckOK ¶
type DeletePostureCheckOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
DeletePostureCheckOK describes a response with status code 200, with default header values.
The delete request was successful and the resource has been removed
func NewDeletePostureCheckOK ¶
func NewDeletePostureCheckOK() *DeletePostureCheckOK
NewDeletePostureCheckOK creates a DeletePostureCheckOK with default headers values
func (*DeletePostureCheckOK) Code ¶ added in v0.26.53
func (o *DeletePostureCheckOK) Code() int
Code gets the status code for the delete posture check o k response
func (*DeletePostureCheckOK) Error ¶
func (o *DeletePostureCheckOK) Error() string
func (*DeletePostureCheckOK) GetPayload ¶
func (o *DeletePostureCheckOK) GetPayload() *rest_model.Empty
func (*DeletePostureCheckOK) IsClientError ¶ added in v0.26.53
func (o *DeletePostureCheckOK) IsClientError() bool
IsClientError returns true when this delete posture check o k response has a 4xx status code
func (*DeletePostureCheckOK) IsCode ¶ added in v0.26.53
func (o *DeletePostureCheckOK) IsCode(code int) bool
IsCode returns true when this delete posture check o k response a status code equal to that given
func (*DeletePostureCheckOK) IsRedirect ¶ added in v0.26.53
func (o *DeletePostureCheckOK) IsRedirect() bool
IsRedirect returns true when this delete posture check o k response has a 3xx status code
func (*DeletePostureCheckOK) IsServerError ¶ added in v0.26.53
func (o *DeletePostureCheckOK) IsServerError() bool
IsServerError returns true when this delete posture check o k response has a 5xx status code
func (*DeletePostureCheckOK) IsSuccess ¶ added in v0.26.53
func (o *DeletePostureCheckOK) IsSuccess() bool
IsSuccess returns true when this delete posture check o k response has a 2xx status code
func (*DeletePostureCheckOK) String ¶ added in v0.26.53
func (o *DeletePostureCheckOK) String() string
type DeletePostureCheckParams ¶
type DeletePostureCheckParams struct {
/* ID.
The id of the requested resource
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeletePostureCheckParams contains all the parameters to send to the API endpoint
for the delete posture check operation. Typically these are written to a http.Request.
func NewDeletePostureCheckParams ¶
func NewDeletePostureCheckParams() *DeletePostureCheckParams
NewDeletePostureCheckParams creates a new DeletePostureCheckParams 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 NewDeletePostureCheckParamsWithContext ¶
func NewDeletePostureCheckParamsWithContext(ctx context.Context) *DeletePostureCheckParams
NewDeletePostureCheckParamsWithContext creates a new DeletePostureCheckParams object with the ability to set a context for a request.
func NewDeletePostureCheckParamsWithHTTPClient ¶
func NewDeletePostureCheckParamsWithHTTPClient(client *http.Client) *DeletePostureCheckParams
NewDeletePostureCheckParamsWithHTTPClient creates a new DeletePostureCheckParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePostureCheckParamsWithTimeout ¶
func NewDeletePostureCheckParamsWithTimeout(timeout time.Duration) *DeletePostureCheckParams
NewDeletePostureCheckParamsWithTimeout creates a new DeletePostureCheckParams object with the ability to set a timeout on a request.
func (*DeletePostureCheckParams) SetContext ¶
func (o *DeletePostureCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the delete posture check params
func (*DeletePostureCheckParams) SetDefaults ¶
func (o *DeletePostureCheckParams) SetDefaults()
SetDefaults hydrates default values in the delete posture check params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePostureCheckParams) SetHTTPClient ¶
func (o *DeletePostureCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete posture check params
func (*DeletePostureCheckParams) SetID ¶
func (o *DeletePostureCheckParams) SetID(id string)
SetID adds the id to the delete posture check params
func (*DeletePostureCheckParams) SetTimeout ¶
func (o *DeletePostureCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete posture check params
func (*DeletePostureCheckParams) WithContext ¶
func (o *DeletePostureCheckParams) WithContext(ctx context.Context) *DeletePostureCheckParams
WithContext adds the context to the delete posture check params
func (*DeletePostureCheckParams) WithDefaults ¶
func (o *DeletePostureCheckParams) WithDefaults() *DeletePostureCheckParams
WithDefaults hydrates default values in the delete posture check params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePostureCheckParams) WithHTTPClient ¶
func (o *DeletePostureCheckParams) WithHTTPClient(client *http.Client) *DeletePostureCheckParams
WithHTTPClient adds the HTTPClient to the delete posture check params
func (*DeletePostureCheckParams) WithID ¶
func (o *DeletePostureCheckParams) WithID(id string) *DeletePostureCheckParams
WithID adds the id to the delete posture check params
func (*DeletePostureCheckParams) WithTimeout ¶
func (o *DeletePostureCheckParams) WithTimeout(timeout time.Duration) *DeletePostureCheckParams
WithTimeout adds the timeout to the delete posture check params
func (*DeletePostureCheckParams) WriteToRequest ¶
func (o *DeletePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePostureCheckReader ¶
type DeletePostureCheckReader struct {
// contains filtered or unexported fields
}
DeletePostureCheckReader is a Reader for the DeletePostureCheck structure.
func (*DeletePostureCheckReader) ReadResponse ¶
func (o *DeletePostureCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeletePostureCheckServiceUnavailable ¶ added in v0.26.36
type DeletePostureCheckServiceUnavailable struct {
WWWAuthenticate []string
}
DeletePostureCheckServiceUnavailable 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 NewDeletePostureCheckServiceUnavailable ¶ added in v0.26.36
func NewDeletePostureCheckServiceUnavailable() *DeletePostureCheckServiceUnavailable
NewDeletePostureCheckServiceUnavailable creates a DeletePostureCheckServiceUnavailable with default headers values
func (*DeletePostureCheckServiceUnavailable) Code ¶ added in v0.26.53
func (o *DeletePostureCheckServiceUnavailable) Code() int
Code gets the status code for the delete posture check service unavailable response
func (*DeletePostureCheckServiceUnavailable) Error ¶ added in v0.26.36
func (o *DeletePostureCheckServiceUnavailable) Error() string
func (*DeletePostureCheckServiceUnavailable) GetPayload ¶ added in v0.26.36
func (o *DeletePostureCheckServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*DeletePostureCheckServiceUnavailable) IsClientError ¶ added in v0.26.53
func (o *DeletePostureCheckServiceUnavailable) IsClientError() bool
IsClientError returns true when this delete posture check service unavailable response has a 4xx status code
func (*DeletePostureCheckServiceUnavailable) IsCode ¶ added in v0.26.53
func (o *DeletePostureCheckServiceUnavailable) IsCode(code int) bool
IsCode returns true when this delete posture check service unavailable response a status code equal to that given
func (*DeletePostureCheckServiceUnavailable) IsRedirect ¶ added in v0.26.53
func (o *DeletePostureCheckServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this delete posture check service unavailable response has a 3xx status code
func (*DeletePostureCheckServiceUnavailable) IsServerError ¶ added in v0.26.53
func (o *DeletePostureCheckServiceUnavailable) IsServerError() bool
IsServerError returns true when this delete posture check service unavailable response has a 5xx status code
func (*DeletePostureCheckServiceUnavailable) IsSuccess ¶ added in v0.26.53
func (o *DeletePostureCheckServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this delete posture check service unavailable response has a 2xx status code
func (*DeletePostureCheckServiceUnavailable) String ¶ added in v0.26.53
func (o *DeletePostureCheckServiceUnavailable) String() string
type DeletePostureCheckTooManyRequests ¶ added in v0.26.0
type DeletePostureCheckTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DeletePostureCheckTooManyRequests 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 NewDeletePostureCheckTooManyRequests ¶ added in v0.26.0
func NewDeletePostureCheckTooManyRequests() *DeletePostureCheckTooManyRequests
NewDeletePostureCheckTooManyRequests creates a DeletePostureCheckTooManyRequests with default headers values
func (*DeletePostureCheckTooManyRequests) Code ¶ added in v0.26.53
func (o *DeletePostureCheckTooManyRequests) Code() int
Code gets the status code for the delete posture check too many requests response
func (*DeletePostureCheckTooManyRequests) Error ¶ added in v0.26.0
func (o *DeletePostureCheckTooManyRequests) Error() string
func (*DeletePostureCheckTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *DeletePostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*DeletePostureCheckTooManyRequests) IsClientError ¶ added in v0.26.53
func (o *DeletePostureCheckTooManyRequests) IsClientError() bool
IsClientError returns true when this delete posture check too many requests response has a 4xx status code
func (*DeletePostureCheckTooManyRequests) IsCode ¶ added in v0.26.53
func (o *DeletePostureCheckTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete posture check too many requests response a status code equal to that given
func (*DeletePostureCheckTooManyRequests) IsRedirect ¶ added in v0.26.53
func (o *DeletePostureCheckTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete posture check too many requests response has a 3xx status code
func (*DeletePostureCheckTooManyRequests) IsServerError ¶ added in v0.26.53
func (o *DeletePostureCheckTooManyRequests) IsServerError() bool
IsServerError returns true when this delete posture check too many requests response has a 5xx status code
func (*DeletePostureCheckTooManyRequests) IsSuccess ¶ added in v0.26.53
func (o *DeletePostureCheckTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete posture check too many requests response has a 2xx status code
func (*DeletePostureCheckTooManyRequests) String ¶ added in v0.26.53
func (o *DeletePostureCheckTooManyRequests) String() string
type DetailPostureCheckNotFound ¶
type DetailPostureCheckNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DetailPostureCheckNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailPostureCheckNotFound ¶
func NewDetailPostureCheckNotFound() *DetailPostureCheckNotFound
NewDetailPostureCheckNotFound creates a DetailPostureCheckNotFound with default headers values
func (*DetailPostureCheckNotFound) Code ¶ added in v0.26.53
func (o *DetailPostureCheckNotFound) Code() int
Code gets the status code for the detail posture check not found response
func (*DetailPostureCheckNotFound) Error ¶
func (o *DetailPostureCheckNotFound) Error() string
func (*DetailPostureCheckNotFound) GetPayload ¶
func (o *DetailPostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailPostureCheckNotFound) IsClientError ¶ added in v0.26.53
func (o *DetailPostureCheckNotFound) IsClientError() bool
IsClientError returns true when this detail posture check not found response has a 4xx status code
func (*DetailPostureCheckNotFound) IsCode ¶ added in v0.26.53
func (o *DetailPostureCheckNotFound) IsCode(code int) bool
IsCode returns true when this detail posture check not found response a status code equal to that given
func (*DetailPostureCheckNotFound) IsRedirect ¶ added in v0.26.53
func (o *DetailPostureCheckNotFound) IsRedirect() bool
IsRedirect returns true when this detail posture check not found response has a 3xx status code
func (*DetailPostureCheckNotFound) IsServerError ¶ added in v0.26.53
func (o *DetailPostureCheckNotFound) IsServerError() bool
IsServerError returns true when this detail posture check not found response has a 5xx status code
func (*DetailPostureCheckNotFound) IsSuccess ¶ added in v0.26.53
func (o *DetailPostureCheckNotFound) IsSuccess() bool
IsSuccess returns true when this detail posture check not found response has a 2xx status code
func (*DetailPostureCheckNotFound) String ¶ added in v0.26.53
func (o *DetailPostureCheckNotFound) String() string
type DetailPostureCheckOK ¶
type DetailPostureCheckOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.DetailPostureCheckEnvelope
}
DetailPostureCheckOK describes a response with status code 200, with default header values.
Retrieves a singular posture check by id
func NewDetailPostureCheckOK ¶
func NewDetailPostureCheckOK() *DetailPostureCheckOK
NewDetailPostureCheckOK creates a DetailPostureCheckOK with default headers values
func (*DetailPostureCheckOK) Code ¶ added in v0.26.53
func (o *DetailPostureCheckOK) Code() int
Code gets the status code for the detail posture check o k response
func (*DetailPostureCheckOK) Error ¶
func (o *DetailPostureCheckOK) Error() string
func (*DetailPostureCheckOK) GetPayload ¶
func (o *DetailPostureCheckOK) GetPayload() *rest_model.DetailPostureCheckEnvelope
func (*DetailPostureCheckOK) IsClientError ¶ added in v0.26.53
func (o *DetailPostureCheckOK) IsClientError() bool
IsClientError returns true when this detail posture check o k response has a 4xx status code
func (*DetailPostureCheckOK) IsCode ¶ added in v0.26.53
func (o *DetailPostureCheckOK) IsCode(code int) bool
IsCode returns true when this detail posture check o k response a status code equal to that given
func (*DetailPostureCheckOK) IsRedirect ¶ added in v0.26.53
func (o *DetailPostureCheckOK) IsRedirect() bool
IsRedirect returns true when this detail posture check o k response has a 3xx status code
func (*DetailPostureCheckOK) IsServerError ¶ added in v0.26.53
func (o *DetailPostureCheckOK) IsServerError() bool
IsServerError returns true when this detail posture check o k response has a 5xx status code
func (*DetailPostureCheckOK) IsSuccess ¶ added in v0.26.53
func (o *DetailPostureCheckOK) IsSuccess() bool
IsSuccess returns true when this detail posture check o k response has a 2xx status code
func (*DetailPostureCheckOK) String ¶ added in v0.26.53
func (o *DetailPostureCheckOK) String() string
type DetailPostureCheckParams ¶
type DetailPostureCheckParams struct {
/* ID.
The id of the requested resource
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DetailPostureCheckParams contains all the parameters to send to the API endpoint
for the detail posture check operation. Typically these are written to a http.Request.
func NewDetailPostureCheckParams ¶
func NewDetailPostureCheckParams() *DetailPostureCheckParams
NewDetailPostureCheckParams creates a new DetailPostureCheckParams 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 NewDetailPostureCheckParamsWithContext ¶
func NewDetailPostureCheckParamsWithContext(ctx context.Context) *DetailPostureCheckParams
NewDetailPostureCheckParamsWithContext creates a new DetailPostureCheckParams object with the ability to set a context for a request.
func NewDetailPostureCheckParamsWithHTTPClient ¶
func NewDetailPostureCheckParamsWithHTTPClient(client *http.Client) *DetailPostureCheckParams
NewDetailPostureCheckParamsWithHTTPClient creates a new DetailPostureCheckParams object with the ability to set a custom HTTPClient for a request.
func NewDetailPostureCheckParamsWithTimeout ¶
func NewDetailPostureCheckParamsWithTimeout(timeout time.Duration) *DetailPostureCheckParams
NewDetailPostureCheckParamsWithTimeout creates a new DetailPostureCheckParams object with the ability to set a timeout on a request.
func (*DetailPostureCheckParams) SetContext ¶
func (o *DetailPostureCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the detail posture check params
func (*DetailPostureCheckParams) SetDefaults ¶
func (o *DetailPostureCheckParams) SetDefaults()
SetDefaults hydrates default values in the detail posture check params (not the query body).
All values with no default are reset to their zero value.
func (*DetailPostureCheckParams) SetHTTPClient ¶
func (o *DetailPostureCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail posture check params
func (*DetailPostureCheckParams) SetID ¶
func (o *DetailPostureCheckParams) SetID(id string)
SetID adds the id to the detail posture check params
func (*DetailPostureCheckParams) SetTimeout ¶
func (o *DetailPostureCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail posture check params
func (*DetailPostureCheckParams) WithContext ¶
func (o *DetailPostureCheckParams) WithContext(ctx context.Context) *DetailPostureCheckParams
WithContext adds the context to the detail posture check params
func (*DetailPostureCheckParams) WithDefaults ¶
func (o *DetailPostureCheckParams) WithDefaults() *DetailPostureCheckParams
WithDefaults hydrates default values in the detail posture check params (not the query body).
All values with no default are reset to their zero value.
func (*DetailPostureCheckParams) WithHTTPClient ¶
func (o *DetailPostureCheckParams) WithHTTPClient(client *http.Client) *DetailPostureCheckParams
WithHTTPClient adds the HTTPClient to the detail posture check params
func (*DetailPostureCheckParams) WithID ¶
func (o *DetailPostureCheckParams) WithID(id string) *DetailPostureCheckParams
WithID adds the id to the detail posture check params
func (*DetailPostureCheckParams) WithTimeout ¶
func (o *DetailPostureCheckParams) WithTimeout(timeout time.Duration) *DetailPostureCheckParams
WithTimeout adds the timeout to the detail posture check params
func (*DetailPostureCheckParams) WriteToRequest ¶
func (o *DetailPostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailPostureCheckReader ¶
type DetailPostureCheckReader struct {
// contains filtered or unexported fields
}
DetailPostureCheckReader is a Reader for the DetailPostureCheck structure.
func (*DetailPostureCheckReader) ReadResponse ¶
func (o *DetailPostureCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DetailPostureCheckServiceUnavailable ¶ added in v0.26.36
type DetailPostureCheckServiceUnavailable struct {
WWWAuthenticate []string
}
DetailPostureCheckServiceUnavailable 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 NewDetailPostureCheckServiceUnavailable ¶ added in v0.26.36
func NewDetailPostureCheckServiceUnavailable() *DetailPostureCheckServiceUnavailable
NewDetailPostureCheckServiceUnavailable creates a DetailPostureCheckServiceUnavailable with default headers values
func (*DetailPostureCheckServiceUnavailable) Code ¶ added in v0.26.53
func (o *DetailPostureCheckServiceUnavailable) Code() int
Code gets the status code for the detail posture check service unavailable response
func (*DetailPostureCheckServiceUnavailable) Error ¶ added in v0.26.36
func (o *DetailPostureCheckServiceUnavailable) Error() string
func (*DetailPostureCheckServiceUnavailable) GetPayload ¶ added in v0.26.36
func (o *DetailPostureCheckServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailPostureCheckServiceUnavailable) IsClientError ¶ added in v0.26.53
func (o *DetailPostureCheckServiceUnavailable) IsClientError() bool
IsClientError returns true when this detail posture check service unavailable response has a 4xx status code
func (*DetailPostureCheckServiceUnavailable) IsCode ¶ added in v0.26.53
func (o *DetailPostureCheckServiceUnavailable) IsCode(code int) bool
IsCode returns true when this detail posture check service unavailable response a status code equal to that given
func (*DetailPostureCheckServiceUnavailable) IsRedirect ¶ added in v0.26.53
func (o *DetailPostureCheckServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this detail posture check service unavailable response has a 3xx status code
func (*DetailPostureCheckServiceUnavailable) IsServerError ¶ added in v0.26.53
func (o *DetailPostureCheckServiceUnavailable) IsServerError() bool
IsServerError returns true when this detail posture check service unavailable response has a 5xx status code
func (*DetailPostureCheckServiceUnavailable) IsSuccess ¶ added in v0.26.53
func (o *DetailPostureCheckServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this detail posture check service unavailable response has a 2xx status code
func (*DetailPostureCheckServiceUnavailable) String ¶ added in v0.26.53
func (o *DetailPostureCheckServiceUnavailable) String() string
type DetailPostureCheckTooManyRequests ¶ added in v0.26.0
type DetailPostureCheckTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DetailPostureCheckTooManyRequests 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 NewDetailPostureCheckTooManyRequests ¶ added in v0.26.0
func NewDetailPostureCheckTooManyRequests() *DetailPostureCheckTooManyRequests
NewDetailPostureCheckTooManyRequests creates a DetailPostureCheckTooManyRequests with default headers values
func (*DetailPostureCheckTooManyRequests) Code ¶ added in v0.26.53
func (o *DetailPostureCheckTooManyRequests) Code() int
Code gets the status code for the detail posture check too many requests response
func (*DetailPostureCheckTooManyRequests) Error ¶ added in v0.26.0
func (o *DetailPostureCheckTooManyRequests) Error() string
func (*DetailPostureCheckTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *DetailPostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailPostureCheckTooManyRequests) IsClientError ¶ added in v0.26.53
func (o *DetailPostureCheckTooManyRequests) IsClientError() bool
IsClientError returns true when this detail posture check too many requests response has a 4xx status code
func (*DetailPostureCheckTooManyRequests) IsCode ¶ added in v0.26.53
func (o *DetailPostureCheckTooManyRequests) IsCode(code int) bool
IsCode returns true when this detail posture check too many requests response a status code equal to that given
func (*DetailPostureCheckTooManyRequests) IsRedirect ¶ added in v0.26.53
func (o *DetailPostureCheckTooManyRequests) IsRedirect() bool
IsRedirect returns true when this detail posture check too many requests response has a 3xx status code
func (*DetailPostureCheckTooManyRequests) IsServerError ¶ added in v0.26.53
func (o *DetailPostureCheckTooManyRequests) IsServerError() bool
IsServerError returns true when this detail posture check too many requests response has a 5xx status code
func (*DetailPostureCheckTooManyRequests) IsSuccess ¶ added in v0.26.53
func (o *DetailPostureCheckTooManyRequests) IsSuccess() bool
IsSuccess returns true when this detail posture check too many requests response has a 2xx status code
func (*DetailPostureCheckTooManyRequests) String ¶ added in v0.26.53
func (o *DetailPostureCheckTooManyRequests) String() string
type DetailPostureCheckTypeNotFound ¶
type DetailPostureCheckTypeNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DetailPostureCheckTypeNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailPostureCheckTypeNotFound ¶
func NewDetailPostureCheckTypeNotFound() *DetailPostureCheckTypeNotFound
NewDetailPostureCheckTypeNotFound creates a DetailPostureCheckTypeNotFound with default headers values
func (*DetailPostureCheckTypeNotFound) Code ¶ added in v0.26.53
func (o *DetailPostureCheckTypeNotFound) Code() int
Code gets the status code for the detail posture check type not found response
func (*DetailPostureCheckTypeNotFound) Error ¶
func (o *DetailPostureCheckTypeNotFound) Error() string
func (*DetailPostureCheckTypeNotFound) GetPayload ¶
func (o *DetailPostureCheckTypeNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailPostureCheckTypeNotFound) IsClientError ¶ added in v0.26.53
func (o *DetailPostureCheckTypeNotFound) IsClientError() bool
IsClientError returns true when this detail posture check type not found response has a 4xx status code
func (*DetailPostureCheckTypeNotFound) IsCode ¶ added in v0.26.53
func (o *DetailPostureCheckTypeNotFound) IsCode(code int) bool
IsCode returns true when this detail posture check type not found response a status code equal to that given
func (*DetailPostureCheckTypeNotFound) IsRedirect ¶ added in v0.26.53
func (o *DetailPostureCheckTypeNotFound) IsRedirect() bool
IsRedirect returns true when this detail posture check type not found response has a 3xx status code
func (*DetailPostureCheckTypeNotFound) IsServerError ¶ added in v0.26.53
func (o *DetailPostureCheckTypeNotFound) IsServerError() bool
IsServerError returns true when this detail posture check type not found response has a 5xx status code
func (*DetailPostureCheckTypeNotFound) IsSuccess ¶ added in v0.26.53
func (o *DetailPostureCheckTypeNotFound) IsSuccess() bool
IsSuccess returns true when this detail posture check type not found response has a 2xx status code
func (*DetailPostureCheckTypeNotFound) String ¶ added in v0.26.53
func (o *DetailPostureCheckTypeNotFound) String() string
type DetailPostureCheckTypeOK ¶
type DetailPostureCheckTypeOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.DetailPostureCheckTypeEnvelope
}
DetailPostureCheckTypeOK describes a response with status code 200, with default header values.
Retrieves a singular posture check type by id
func NewDetailPostureCheckTypeOK ¶
func NewDetailPostureCheckTypeOK() *DetailPostureCheckTypeOK
NewDetailPostureCheckTypeOK creates a DetailPostureCheckTypeOK with default headers values
func (*DetailPostureCheckTypeOK) Code ¶ added in v0.26.53
func (o *DetailPostureCheckTypeOK) Code() int
Code gets the status code for the detail posture check type o k response
func (*DetailPostureCheckTypeOK) Error ¶
func (o *DetailPostureCheckTypeOK) Error() string
func (*DetailPostureCheckTypeOK) GetPayload ¶
func (o *DetailPostureCheckTypeOK) GetPayload() *rest_model.DetailPostureCheckTypeEnvelope
func (*DetailPostureCheckTypeOK) IsClientError ¶ added in v0.26.53
func (o *DetailPostureCheckTypeOK) IsClientError() bool
IsClientError returns true when this detail posture check type o k response has a 4xx status code
func (*DetailPostureCheckTypeOK) IsCode ¶ added in v0.26.53
func (o *DetailPostureCheckTypeOK) IsCode(code int) bool
IsCode returns true when this detail posture check type o k response a status code equal to that given
func (*DetailPostureCheckTypeOK) IsRedirect ¶ added in v0.26.53
func (o *DetailPostureCheckTypeOK) IsRedirect() bool
IsRedirect returns true when this detail posture check type o k response has a 3xx status code
func (*DetailPostureCheckTypeOK) IsServerError ¶ added in v0.26.53
func (o *DetailPostureCheckTypeOK) IsServerError() bool
IsServerError returns true when this detail posture check type o k response has a 5xx status code
func (*DetailPostureCheckTypeOK) IsSuccess ¶ added in v0.26.53
func (o *DetailPostureCheckTypeOK) IsSuccess() bool
IsSuccess returns true when this detail posture check type o k response has a 2xx status code
func (*DetailPostureCheckTypeOK) String ¶ added in v0.26.53
func (o *DetailPostureCheckTypeOK) String() string
type DetailPostureCheckTypeParams ¶
type DetailPostureCheckTypeParams struct {
/* ID.
The id of the requested resource
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DetailPostureCheckTypeParams contains all the parameters to send to the API endpoint
for the detail posture check type operation. Typically these are written to a http.Request.
func NewDetailPostureCheckTypeParams ¶
func NewDetailPostureCheckTypeParams() *DetailPostureCheckTypeParams
NewDetailPostureCheckTypeParams creates a new DetailPostureCheckTypeParams 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 NewDetailPostureCheckTypeParamsWithContext ¶
func NewDetailPostureCheckTypeParamsWithContext(ctx context.Context) *DetailPostureCheckTypeParams
NewDetailPostureCheckTypeParamsWithContext creates a new DetailPostureCheckTypeParams object with the ability to set a context for a request.
func NewDetailPostureCheckTypeParamsWithHTTPClient ¶
func NewDetailPostureCheckTypeParamsWithHTTPClient(client *http.Client) *DetailPostureCheckTypeParams
NewDetailPostureCheckTypeParamsWithHTTPClient creates a new DetailPostureCheckTypeParams object with the ability to set a custom HTTPClient for a request.
func NewDetailPostureCheckTypeParamsWithTimeout ¶
func NewDetailPostureCheckTypeParamsWithTimeout(timeout time.Duration) *DetailPostureCheckTypeParams
NewDetailPostureCheckTypeParamsWithTimeout creates a new DetailPostureCheckTypeParams object with the ability to set a timeout on a request.
func (*DetailPostureCheckTypeParams) SetContext ¶
func (o *DetailPostureCheckTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the detail posture check type params
func (*DetailPostureCheckTypeParams) SetDefaults ¶
func (o *DetailPostureCheckTypeParams) SetDefaults()
SetDefaults hydrates default values in the detail posture check type params (not the query body).
All values with no default are reset to their zero value.
func (*DetailPostureCheckTypeParams) SetHTTPClient ¶
func (o *DetailPostureCheckTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail posture check type params
func (*DetailPostureCheckTypeParams) SetID ¶
func (o *DetailPostureCheckTypeParams) SetID(id string)
SetID adds the id to the detail posture check type params
func (*DetailPostureCheckTypeParams) SetTimeout ¶
func (o *DetailPostureCheckTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail posture check type params
func (*DetailPostureCheckTypeParams) WithContext ¶
func (o *DetailPostureCheckTypeParams) WithContext(ctx context.Context) *DetailPostureCheckTypeParams
WithContext adds the context to the detail posture check type params
func (*DetailPostureCheckTypeParams) WithDefaults ¶
func (o *DetailPostureCheckTypeParams) WithDefaults() *DetailPostureCheckTypeParams
WithDefaults hydrates default values in the detail posture check type params (not the query body).
All values with no default are reset to their zero value.
func (*DetailPostureCheckTypeParams) WithHTTPClient ¶
func (o *DetailPostureCheckTypeParams) WithHTTPClient(client *http.Client) *DetailPostureCheckTypeParams
WithHTTPClient adds the HTTPClient to the detail posture check type params
func (*DetailPostureCheckTypeParams) WithID ¶
func (o *DetailPostureCheckTypeParams) WithID(id string) *DetailPostureCheckTypeParams
WithID adds the id to the detail posture check type params
func (*DetailPostureCheckTypeParams) WithTimeout ¶
func (o *DetailPostureCheckTypeParams) WithTimeout(timeout time.Duration) *DetailPostureCheckTypeParams
WithTimeout adds the timeout to the detail posture check type params
func (*DetailPostureCheckTypeParams) WriteToRequest ¶
func (o *DetailPostureCheckTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailPostureCheckTypeReader ¶
type DetailPostureCheckTypeReader struct {
// contains filtered or unexported fields
}
DetailPostureCheckTypeReader is a Reader for the DetailPostureCheckType structure.
func (*DetailPostureCheckTypeReader) ReadResponse ¶
func (o *DetailPostureCheckTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DetailPostureCheckTypeServiceUnavailable ¶ added in v0.26.36
type DetailPostureCheckTypeServiceUnavailable struct {
WWWAuthenticate []string
}
DetailPostureCheckTypeServiceUnavailable 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 NewDetailPostureCheckTypeServiceUnavailable ¶ added in v0.26.36
func NewDetailPostureCheckTypeServiceUnavailable() *DetailPostureCheckTypeServiceUnavailable
NewDetailPostureCheckTypeServiceUnavailable creates a DetailPostureCheckTypeServiceUnavailable with default headers values
func (*DetailPostureCheckTypeServiceUnavailable) Code ¶ added in v0.26.53
func (o *DetailPostureCheckTypeServiceUnavailable) Code() int
Code gets the status code for the detail posture check type service unavailable response
func (*DetailPostureCheckTypeServiceUnavailable) Error ¶ added in v0.26.36
func (o *DetailPostureCheckTypeServiceUnavailable) Error() string
func (*DetailPostureCheckTypeServiceUnavailable) GetPayload ¶ added in v0.26.36
func (o *DetailPostureCheckTypeServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailPostureCheckTypeServiceUnavailable) IsClientError ¶ added in v0.26.53
func (o *DetailPostureCheckTypeServiceUnavailable) IsClientError() bool
IsClientError returns true when this detail posture check type service unavailable response has a 4xx status code
func (*DetailPostureCheckTypeServiceUnavailable) IsCode ¶ added in v0.26.53
func (o *DetailPostureCheckTypeServiceUnavailable) IsCode(code int) bool
IsCode returns true when this detail posture check type service unavailable response a status code equal to that given
func (*DetailPostureCheckTypeServiceUnavailable) IsRedirect ¶ added in v0.26.53
func (o *DetailPostureCheckTypeServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this detail posture check type service unavailable response has a 3xx status code
func (*DetailPostureCheckTypeServiceUnavailable) IsServerError ¶ added in v0.26.53
func (o *DetailPostureCheckTypeServiceUnavailable) IsServerError() bool
IsServerError returns true when this detail posture check type service unavailable response has a 5xx status code
func (*DetailPostureCheckTypeServiceUnavailable) IsSuccess ¶ added in v0.26.53
func (o *DetailPostureCheckTypeServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this detail posture check type service unavailable response has a 2xx status code
func (*DetailPostureCheckTypeServiceUnavailable) String ¶ added in v0.26.53
func (o *DetailPostureCheckTypeServiceUnavailable) String() string
type DetailPostureCheckTypeTooManyRequests ¶ added in v0.26.0
type DetailPostureCheckTypeTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DetailPostureCheckTypeTooManyRequests 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 NewDetailPostureCheckTypeTooManyRequests ¶ added in v0.26.0
func NewDetailPostureCheckTypeTooManyRequests() *DetailPostureCheckTypeTooManyRequests
NewDetailPostureCheckTypeTooManyRequests creates a DetailPostureCheckTypeTooManyRequests with default headers values
func (*DetailPostureCheckTypeTooManyRequests) Code ¶ added in v0.26.53
func (o *DetailPostureCheckTypeTooManyRequests) Code() int
Code gets the status code for the detail posture check type too many requests response
func (*DetailPostureCheckTypeTooManyRequests) Error ¶ added in v0.26.0
func (o *DetailPostureCheckTypeTooManyRequests) Error() string
func (*DetailPostureCheckTypeTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *DetailPostureCheckTypeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailPostureCheckTypeTooManyRequests) IsClientError ¶ added in v0.26.53
func (o *DetailPostureCheckTypeTooManyRequests) IsClientError() bool
IsClientError returns true when this detail posture check type too many requests response has a 4xx status code
func (*DetailPostureCheckTypeTooManyRequests) IsCode ¶ added in v0.26.53
func (o *DetailPostureCheckTypeTooManyRequests) IsCode(code int) bool
IsCode returns true when this detail posture check type too many requests response a status code equal to that given
func (*DetailPostureCheckTypeTooManyRequests) IsRedirect ¶ added in v0.26.53
func (o *DetailPostureCheckTypeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this detail posture check type too many requests response has a 3xx status code
func (*DetailPostureCheckTypeTooManyRequests) IsServerError ¶ added in v0.26.53
func (o *DetailPostureCheckTypeTooManyRequests) IsServerError() bool
IsServerError returns true when this detail posture check type too many requests response has a 5xx status code
func (*DetailPostureCheckTypeTooManyRequests) IsSuccess ¶ added in v0.26.53
func (o *DetailPostureCheckTypeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this detail posture check type too many requests response has a 2xx status code
func (*DetailPostureCheckTypeTooManyRequests) String ¶ added in v0.26.53
func (o *DetailPostureCheckTypeTooManyRequests) String() string
type DetailPostureCheckTypeUnauthorized ¶
type DetailPostureCheckTypeUnauthorized struct {
WWWAuthenticate []string
}
DetailPostureCheckTypeUnauthorized 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 NewDetailPostureCheckTypeUnauthorized ¶
func NewDetailPostureCheckTypeUnauthorized() *DetailPostureCheckTypeUnauthorized
NewDetailPostureCheckTypeUnauthorized creates a DetailPostureCheckTypeUnauthorized with default headers values
func (*DetailPostureCheckTypeUnauthorized) Code ¶ added in v0.26.53
func (o *DetailPostureCheckTypeUnauthorized) Code() int
Code gets the status code for the detail posture check type unauthorized response
func (*DetailPostureCheckTypeUnauthorized) Error ¶
func (o *DetailPostureCheckTypeUnauthorized) Error() string
func (*DetailPostureCheckTypeUnauthorized) GetPayload ¶
func (o *DetailPostureCheckTypeUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailPostureCheckTypeUnauthorized) IsClientError ¶ added in v0.26.53
func (o *DetailPostureCheckTypeUnauthorized) IsClientError() bool
IsClientError returns true when this detail posture check type unauthorized response has a 4xx status code
func (*DetailPostureCheckTypeUnauthorized) IsCode ¶ added in v0.26.53
func (o *DetailPostureCheckTypeUnauthorized) IsCode(code int) bool
IsCode returns true when this detail posture check type unauthorized response a status code equal to that given
func (*DetailPostureCheckTypeUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *DetailPostureCheckTypeUnauthorized) IsRedirect() bool
IsRedirect returns true when this detail posture check type unauthorized response has a 3xx status code
func (*DetailPostureCheckTypeUnauthorized) IsServerError ¶ added in v0.26.53
func (o *DetailPostureCheckTypeUnauthorized) IsServerError() bool
IsServerError returns true when this detail posture check type unauthorized response has a 5xx status code
func (*DetailPostureCheckTypeUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *DetailPostureCheckTypeUnauthorized) IsSuccess() bool
IsSuccess returns true when this detail posture check type unauthorized response has a 2xx status code
func (*DetailPostureCheckTypeUnauthorized) String ¶ added in v0.26.53
func (o *DetailPostureCheckTypeUnauthorized) String() string
type DetailPostureCheckUnauthorized ¶
type DetailPostureCheckUnauthorized struct {
WWWAuthenticate []string
}
DetailPostureCheckUnauthorized 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 NewDetailPostureCheckUnauthorized ¶
func NewDetailPostureCheckUnauthorized() *DetailPostureCheckUnauthorized
NewDetailPostureCheckUnauthorized creates a DetailPostureCheckUnauthorized with default headers values
func (*DetailPostureCheckUnauthorized) Code ¶ added in v0.26.53
func (o *DetailPostureCheckUnauthorized) Code() int
Code gets the status code for the detail posture check unauthorized response
func (*DetailPostureCheckUnauthorized) Error ¶
func (o *DetailPostureCheckUnauthorized) Error() string
func (*DetailPostureCheckUnauthorized) GetPayload ¶
func (o *DetailPostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailPostureCheckUnauthorized) IsClientError ¶ added in v0.26.53
func (o *DetailPostureCheckUnauthorized) IsClientError() bool
IsClientError returns true when this detail posture check unauthorized response has a 4xx status code
func (*DetailPostureCheckUnauthorized) IsCode ¶ added in v0.26.53
func (o *DetailPostureCheckUnauthorized) IsCode(code int) bool
IsCode returns true when this detail posture check unauthorized response a status code equal to that given
func (*DetailPostureCheckUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *DetailPostureCheckUnauthorized) IsRedirect() bool
IsRedirect returns true when this detail posture check unauthorized response has a 3xx status code
func (*DetailPostureCheckUnauthorized) IsServerError ¶ added in v0.26.53
func (o *DetailPostureCheckUnauthorized) IsServerError() bool
IsServerError returns true when this detail posture check unauthorized response has a 5xx status code
func (*DetailPostureCheckUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *DetailPostureCheckUnauthorized) IsSuccess() bool
IsSuccess returns true when this detail posture check unauthorized response has a 2xx status code
func (*DetailPostureCheckUnauthorized) String ¶ added in v0.26.53
func (o *DetailPostureCheckUnauthorized) String() string
type ListPostureCheckTypesBadRequest ¶
type ListPostureCheckTypesBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
ListPostureCheckTypesBadRequest 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 NewListPostureCheckTypesBadRequest ¶
func NewListPostureCheckTypesBadRequest() *ListPostureCheckTypesBadRequest
NewListPostureCheckTypesBadRequest creates a ListPostureCheckTypesBadRequest with default headers values
func (*ListPostureCheckTypesBadRequest) Code ¶ added in v0.26.53
func (o *ListPostureCheckTypesBadRequest) Code() int
Code gets the status code for the list posture check types bad request response
func (*ListPostureCheckTypesBadRequest) Error ¶
func (o *ListPostureCheckTypesBadRequest) Error() string
func (*ListPostureCheckTypesBadRequest) GetPayload ¶
func (o *ListPostureCheckTypesBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*ListPostureCheckTypesBadRequest) IsClientError ¶ added in v0.26.53
func (o *ListPostureCheckTypesBadRequest) IsClientError() bool
IsClientError returns true when this list posture check types bad request response has a 4xx status code
func (*ListPostureCheckTypesBadRequest) IsCode ¶ added in v0.26.53
func (o *ListPostureCheckTypesBadRequest) IsCode(code int) bool
IsCode returns true when this list posture check types bad request response a status code equal to that given
func (*ListPostureCheckTypesBadRequest) IsRedirect ¶ added in v0.26.53
func (o *ListPostureCheckTypesBadRequest) IsRedirect() bool
IsRedirect returns true when this list posture check types bad request response has a 3xx status code
func (*ListPostureCheckTypesBadRequest) IsServerError ¶ added in v0.26.53
func (o *ListPostureCheckTypesBadRequest) IsServerError() bool
IsServerError returns true when this list posture check types bad request response has a 5xx status code
func (*ListPostureCheckTypesBadRequest) IsSuccess ¶ added in v0.26.53
func (o *ListPostureCheckTypesBadRequest) IsSuccess() bool
IsSuccess returns true when this list posture check types bad request response has a 2xx status code
func (*ListPostureCheckTypesBadRequest) String ¶ added in v0.26.53
func (o *ListPostureCheckTypesBadRequest) String() string
type ListPostureCheckTypesOK ¶
type ListPostureCheckTypesOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.ListPostureCheckTypesEnvelope
}
ListPostureCheckTypesOK describes a response with status code 200, with default header values.
A list of posture check types
func NewListPostureCheckTypesOK ¶
func NewListPostureCheckTypesOK() *ListPostureCheckTypesOK
NewListPostureCheckTypesOK creates a ListPostureCheckTypesOK with default headers values
func (*ListPostureCheckTypesOK) Code ¶ added in v0.26.53
func (o *ListPostureCheckTypesOK) Code() int
Code gets the status code for the list posture check types o k response
func (*ListPostureCheckTypesOK) Error ¶
func (o *ListPostureCheckTypesOK) Error() string
func (*ListPostureCheckTypesOK) GetPayload ¶
func (o *ListPostureCheckTypesOK) GetPayload() *rest_model.ListPostureCheckTypesEnvelope
func (*ListPostureCheckTypesOK) IsClientError ¶ added in v0.26.53
func (o *ListPostureCheckTypesOK) IsClientError() bool
IsClientError returns true when this list posture check types o k response has a 4xx status code
func (*ListPostureCheckTypesOK) IsCode ¶ added in v0.26.53
func (o *ListPostureCheckTypesOK) IsCode(code int) bool
IsCode returns true when this list posture check types o k response a status code equal to that given
func (*ListPostureCheckTypesOK) IsRedirect ¶ added in v0.26.53
func (o *ListPostureCheckTypesOK) IsRedirect() bool
IsRedirect returns true when this list posture check types o k response has a 3xx status code
func (*ListPostureCheckTypesOK) IsServerError ¶ added in v0.26.53
func (o *ListPostureCheckTypesOK) IsServerError() bool
IsServerError returns true when this list posture check types o k response has a 5xx status code
func (*ListPostureCheckTypesOK) IsSuccess ¶ added in v0.26.53
func (o *ListPostureCheckTypesOK) IsSuccess() bool
IsSuccess returns true when this list posture check types o k response has a 2xx status code
func (*ListPostureCheckTypesOK) String ¶ added in v0.26.53
func (o *ListPostureCheckTypesOK) String() string
type ListPostureCheckTypesParams ¶
type ListPostureCheckTypesParams struct {
// Filter.
Filter *string
// Limit.
Limit *int64
// Offset.
Offset *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListPostureCheckTypesParams contains all the parameters to send to the API endpoint
for the list posture check types operation. Typically these are written to a http.Request.
func NewListPostureCheckTypesParams ¶
func NewListPostureCheckTypesParams() *ListPostureCheckTypesParams
NewListPostureCheckTypesParams creates a new ListPostureCheckTypesParams 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 NewListPostureCheckTypesParamsWithContext ¶
func NewListPostureCheckTypesParamsWithContext(ctx context.Context) *ListPostureCheckTypesParams
NewListPostureCheckTypesParamsWithContext creates a new ListPostureCheckTypesParams object with the ability to set a context for a request.
func NewListPostureCheckTypesParamsWithHTTPClient ¶
func NewListPostureCheckTypesParamsWithHTTPClient(client *http.Client) *ListPostureCheckTypesParams
NewListPostureCheckTypesParamsWithHTTPClient creates a new ListPostureCheckTypesParams object with the ability to set a custom HTTPClient for a request.
func NewListPostureCheckTypesParamsWithTimeout ¶
func NewListPostureCheckTypesParamsWithTimeout(timeout time.Duration) *ListPostureCheckTypesParams
NewListPostureCheckTypesParamsWithTimeout creates a new ListPostureCheckTypesParams object with the ability to set a timeout on a request.
func (*ListPostureCheckTypesParams) SetContext ¶
func (o *ListPostureCheckTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the list posture check types params
func (*ListPostureCheckTypesParams) SetDefaults ¶
func (o *ListPostureCheckTypesParams) SetDefaults()
SetDefaults hydrates default values in the list posture check types params (not the query body).
All values with no default are reset to their zero value.
func (*ListPostureCheckTypesParams) SetFilter ¶
func (o *ListPostureCheckTypesParams) SetFilter(filter *string)
SetFilter adds the filter to the list posture check types params
func (*ListPostureCheckTypesParams) SetHTTPClient ¶
func (o *ListPostureCheckTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list posture check types params
func (*ListPostureCheckTypesParams) SetLimit ¶
func (o *ListPostureCheckTypesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list posture check types params
func (*ListPostureCheckTypesParams) SetOffset ¶
func (o *ListPostureCheckTypesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list posture check types params
func (*ListPostureCheckTypesParams) SetTimeout ¶
func (o *ListPostureCheckTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list posture check types params
func (*ListPostureCheckTypesParams) WithContext ¶
func (o *ListPostureCheckTypesParams) WithContext(ctx context.Context) *ListPostureCheckTypesParams
WithContext adds the context to the list posture check types params
func (*ListPostureCheckTypesParams) WithDefaults ¶
func (o *ListPostureCheckTypesParams) WithDefaults() *ListPostureCheckTypesParams
WithDefaults hydrates default values in the list posture check types params (not the query body).
All values with no default are reset to their zero value.
func (*ListPostureCheckTypesParams) WithFilter ¶
func (o *ListPostureCheckTypesParams) WithFilter(filter *string) *ListPostureCheckTypesParams
WithFilter adds the filter to the list posture check types params
func (*ListPostureCheckTypesParams) WithHTTPClient ¶
func (o *ListPostureCheckTypesParams) WithHTTPClient(client *http.Client) *ListPostureCheckTypesParams
WithHTTPClient adds the HTTPClient to the list posture check types params
func (*ListPostureCheckTypesParams) WithLimit ¶
func (o *ListPostureCheckTypesParams) WithLimit(limit *int64) *ListPostureCheckTypesParams
WithLimit adds the limit to the list posture check types params
func (*ListPostureCheckTypesParams) WithOffset ¶
func (o *ListPostureCheckTypesParams) WithOffset(offset *int64) *ListPostureCheckTypesParams
WithOffset adds the offset to the list posture check types params
func (*ListPostureCheckTypesParams) WithTimeout ¶
func (o *ListPostureCheckTypesParams) WithTimeout(timeout time.Duration) *ListPostureCheckTypesParams
WithTimeout adds the timeout to the list posture check types params
func (*ListPostureCheckTypesParams) WriteToRequest ¶
func (o *ListPostureCheckTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPostureCheckTypesReader ¶
type ListPostureCheckTypesReader struct {
// contains filtered or unexported fields
}
ListPostureCheckTypesReader is a Reader for the ListPostureCheckTypes structure.
func (*ListPostureCheckTypesReader) ReadResponse ¶
func (o *ListPostureCheckTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListPostureCheckTypesServiceUnavailable ¶ added in v0.26.36
type ListPostureCheckTypesServiceUnavailable struct {
WWWAuthenticate []string
}
ListPostureCheckTypesServiceUnavailable 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 NewListPostureCheckTypesServiceUnavailable ¶ added in v0.26.36
func NewListPostureCheckTypesServiceUnavailable() *ListPostureCheckTypesServiceUnavailable
NewListPostureCheckTypesServiceUnavailable creates a ListPostureCheckTypesServiceUnavailable with default headers values
func (*ListPostureCheckTypesServiceUnavailable) Code ¶ added in v0.26.53
func (o *ListPostureCheckTypesServiceUnavailable) Code() int
Code gets the status code for the list posture check types service unavailable response
func (*ListPostureCheckTypesServiceUnavailable) Error ¶ added in v0.26.36
func (o *ListPostureCheckTypesServiceUnavailable) Error() string
func (*ListPostureCheckTypesServiceUnavailable) GetPayload ¶ added in v0.26.36
func (o *ListPostureCheckTypesServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*ListPostureCheckTypesServiceUnavailable) IsClientError ¶ added in v0.26.53
func (o *ListPostureCheckTypesServiceUnavailable) IsClientError() bool
IsClientError returns true when this list posture check types service unavailable response has a 4xx status code
func (*ListPostureCheckTypesServiceUnavailable) IsCode ¶ added in v0.26.53
func (o *ListPostureCheckTypesServiceUnavailable) IsCode(code int) bool
IsCode returns true when this list posture check types service unavailable response a status code equal to that given
func (*ListPostureCheckTypesServiceUnavailable) IsRedirect ¶ added in v0.26.53
func (o *ListPostureCheckTypesServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this list posture check types service unavailable response has a 3xx status code
func (*ListPostureCheckTypesServiceUnavailable) IsServerError ¶ added in v0.26.53
func (o *ListPostureCheckTypesServiceUnavailable) IsServerError() bool
IsServerError returns true when this list posture check types service unavailable response has a 5xx status code
func (*ListPostureCheckTypesServiceUnavailable) IsSuccess ¶ added in v0.26.53
func (o *ListPostureCheckTypesServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this list posture check types service unavailable response has a 2xx status code
func (*ListPostureCheckTypesServiceUnavailable) String ¶ added in v0.26.53
func (o *ListPostureCheckTypesServiceUnavailable) String() string
type ListPostureCheckTypesTooManyRequests ¶ added in v0.26.0
type ListPostureCheckTypesTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
ListPostureCheckTypesTooManyRequests 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 NewListPostureCheckTypesTooManyRequests ¶ added in v0.26.0
func NewListPostureCheckTypesTooManyRequests() *ListPostureCheckTypesTooManyRequests
NewListPostureCheckTypesTooManyRequests creates a ListPostureCheckTypesTooManyRequests with default headers values
func (*ListPostureCheckTypesTooManyRequests) Code ¶ added in v0.26.53
func (o *ListPostureCheckTypesTooManyRequests) Code() int
Code gets the status code for the list posture check types too many requests response
func (*ListPostureCheckTypesTooManyRequests) Error ¶ added in v0.26.0
func (o *ListPostureCheckTypesTooManyRequests) Error() string
func (*ListPostureCheckTypesTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *ListPostureCheckTypesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*ListPostureCheckTypesTooManyRequests) IsClientError ¶ added in v0.26.53
func (o *ListPostureCheckTypesTooManyRequests) IsClientError() bool
IsClientError returns true when this list posture check types too many requests response has a 4xx status code
func (*ListPostureCheckTypesTooManyRequests) IsCode ¶ added in v0.26.53
func (o *ListPostureCheckTypesTooManyRequests) IsCode(code int) bool
IsCode returns true when this list posture check types too many requests response a status code equal to that given
func (*ListPostureCheckTypesTooManyRequests) IsRedirect ¶ added in v0.26.53
func (o *ListPostureCheckTypesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list posture check types too many requests response has a 3xx status code
func (*ListPostureCheckTypesTooManyRequests) IsServerError ¶ added in v0.26.53
func (o *ListPostureCheckTypesTooManyRequests) IsServerError() bool
IsServerError returns true when this list posture check types too many requests response has a 5xx status code
func (*ListPostureCheckTypesTooManyRequests) IsSuccess ¶ added in v0.26.53
func (o *ListPostureCheckTypesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list posture check types too many requests response has a 2xx status code
func (*ListPostureCheckTypesTooManyRequests) String ¶ added in v0.26.53
func (o *ListPostureCheckTypesTooManyRequests) String() string
type ListPostureCheckTypesUnauthorized ¶
type ListPostureCheckTypesUnauthorized struct {
WWWAuthenticate []string
}
ListPostureCheckTypesUnauthorized 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 NewListPostureCheckTypesUnauthorized ¶
func NewListPostureCheckTypesUnauthorized() *ListPostureCheckTypesUnauthorized
NewListPostureCheckTypesUnauthorized creates a ListPostureCheckTypesUnauthorized with default headers values
func (*ListPostureCheckTypesUnauthorized) Code ¶ added in v0.26.53
func (o *ListPostureCheckTypesUnauthorized) Code() int
Code gets the status code for the list posture check types unauthorized response
func (*ListPostureCheckTypesUnauthorized) Error ¶
func (o *ListPostureCheckTypesUnauthorized) Error() string
func (*ListPostureCheckTypesUnauthorized) GetPayload ¶
func (o *ListPostureCheckTypesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*ListPostureCheckTypesUnauthorized) IsClientError ¶ added in v0.26.53
func (o *ListPostureCheckTypesUnauthorized) IsClientError() bool
IsClientError returns true when this list posture check types unauthorized response has a 4xx status code
func (*ListPostureCheckTypesUnauthorized) IsCode ¶ added in v0.26.53
func (o *ListPostureCheckTypesUnauthorized) IsCode(code int) bool
IsCode returns true when this list posture check types unauthorized response a status code equal to that given
func (*ListPostureCheckTypesUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *ListPostureCheckTypesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list posture check types unauthorized response has a 3xx status code
func (*ListPostureCheckTypesUnauthorized) IsServerError ¶ added in v0.26.53
func (o *ListPostureCheckTypesUnauthorized) IsServerError() bool
IsServerError returns true when this list posture check types unauthorized response has a 5xx status code
func (*ListPostureCheckTypesUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *ListPostureCheckTypesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list posture check types unauthorized response has a 2xx status code
func (*ListPostureCheckTypesUnauthorized) String ¶ added in v0.26.53
func (o *ListPostureCheckTypesUnauthorized) String() string
type ListPostureChecksBadRequest ¶
type ListPostureChecksBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
ListPostureChecksBadRequest 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 NewListPostureChecksBadRequest ¶
func NewListPostureChecksBadRequest() *ListPostureChecksBadRequest
NewListPostureChecksBadRequest creates a ListPostureChecksBadRequest with default headers values
func (*ListPostureChecksBadRequest) Code ¶ added in v0.26.53
func (o *ListPostureChecksBadRequest) Code() int
Code gets the status code for the list posture checks bad request response
func (*ListPostureChecksBadRequest) Error ¶
func (o *ListPostureChecksBadRequest) Error() string
func (*ListPostureChecksBadRequest) GetPayload ¶
func (o *ListPostureChecksBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*ListPostureChecksBadRequest) IsClientError ¶ added in v0.26.53
func (o *ListPostureChecksBadRequest) IsClientError() bool
IsClientError returns true when this list posture checks bad request response has a 4xx status code
func (*ListPostureChecksBadRequest) IsCode ¶ added in v0.26.53
func (o *ListPostureChecksBadRequest) IsCode(code int) bool
IsCode returns true when this list posture checks bad request response a status code equal to that given
func (*ListPostureChecksBadRequest) IsRedirect ¶ added in v0.26.53
func (o *ListPostureChecksBadRequest) IsRedirect() bool
IsRedirect returns true when this list posture checks bad request response has a 3xx status code
func (*ListPostureChecksBadRequest) IsServerError ¶ added in v0.26.53
func (o *ListPostureChecksBadRequest) IsServerError() bool
IsServerError returns true when this list posture checks bad request response has a 5xx status code
func (*ListPostureChecksBadRequest) IsSuccess ¶ added in v0.26.53
func (o *ListPostureChecksBadRequest) IsSuccess() bool
IsSuccess returns true when this list posture checks bad request response has a 2xx status code
func (*ListPostureChecksBadRequest) String ¶ added in v0.26.53
func (o *ListPostureChecksBadRequest) String() string
type ListPostureChecksOK ¶
type ListPostureChecksOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.ListPostureCheckEnvelope
}
ListPostureChecksOK describes a response with status code 200, with default header values.
A list of posture checks
func NewListPostureChecksOK ¶
func NewListPostureChecksOK() *ListPostureChecksOK
NewListPostureChecksOK creates a ListPostureChecksOK with default headers values
func (*ListPostureChecksOK) Code ¶ added in v0.26.53
func (o *ListPostureChecksOK) Code() int
Code gets the status code for the list posture checks o k response
func (*ListPostureChecksOK) Error ¶
func (o *ListPostureChecksOK) Error() string
func (*ListPostureChecksOK) GetPayload ¶
func (o *ListPostureChecksOK) GetPayload() *rest_model.ListPostureCheckEnvelope
func (*ListPostureChecksOK) IsClientError ¶ added in v0.26.53
func (o *ListPostureChecksOK) IsClientError() bool
IsClientError returns true when this list posture checks o k response has a 4xx status code
func (*ListPostureChecksOK) IsCode ¶ added in v0.26.53
func (o *ListPostureChecksOK) IsCode(code int) bool
IsCode returns true when this list posture checks o k response a status code equal to that given
func (*ListPostureChecksOK) IsRedirect ¶ added in v0.26.53
func (o *ListPostureChecksOK) IsRedirect() bool
IsRedirect returns true when this list posture checks o k response has a 3xx status code
func (*ListPostureChecksOK) IsServerError ¶ added in v0.26.53
func (o *ListPostureChecksOK) IsServerError() bool
IsServerError returns true when this list posture checks o k response has a 5xx status code
func (*ListPostureChecksOK) IsSuccess ¶ added in v0.26.53
func (o *ListPostureChecksOK) IsSuccess() bool
IsSuccess returns true when this list posture checks o k response has a 2xx status code
func (*ListPostureChecksOK) String ¶ added in v0.26.53
func (o *ListPostureChecksOK) String() string
type ListPostureChecksParams ¶
type ListPostureChecksParams struct {
// Filter.
Filter *string
// Limit.
Limit *int64
// Offset.
Offset *int64
// RoleFilter.
RoleFilter []string
// RoleSemantic.
RoleSemantic *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListPostureChecksParams contains all the parameters to send to the API endpoint
for the list posture checks operation. Typically these are written to a http.Request.
func NewListPostureChecksParams ¶
func NewListPostureChecksParams() *ListPostureChecksParams
NewListPostureChecksParams creates a new ListPostureChecksParams 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 NewListPostureChecksParamsWithContext ¶
func NewListPostureChecksParamsWithContext(ctx context.Context) *ListPostureChecksParams
NewListPostureChecksParamsWithContext creates a new ListPostureChecksParams object with the ability to set a context for a request.
func NewListPostureChecksParamsWithHTTPClient ¶
func NewListPostureChecksParamsWithHTTPClient(client *http.Client) *ListPostureChecksParams
NewListPostureChecksParamsWithHTTPClient creates a new ListPostureChecksParams object with the ability to set a custom HTTPClient for a request.
func NewListPostureChecksParamsWithTimeout ¶
func NewListPostureChecksParamsWithTimeout(timeout time.Duration) *ListPostureChecksParams
NewListPostureChecksParamsWithTimeout creates a new ListPostureChecksParams object with the ability to set a timeout on a request.
func (*ListPostureChecksParams) SetContext ¶
func (o *ListPostureChecksParams) SetContext(ctx context.Context)
SetContext adds the context to the list posture checks params
func (*ListPostureChecksParams) SetDefaults ¶
func (o *ListPostureChecksParams) SetDefaults()
SetDefaults hydrates default values in the list posture checks params (not the query body).
All values with no default are reset to their zero value.
func (*ListPostureChecksParams) SetFilter ¶
func (o *ListPostureChecksParams) SetFilter(filter *string)
SetFilter adds the filter to the list posture checks params
func (*ListPostureChecksParams) SetHTTPClient ¶
func (o *ListPostureChecksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list posture checks params
func (*ListPostureChecksParams) SetLimit ¶
func (o *ListPostureChecksParams) SetLimit(limit *int64)
SetLimit adds the limit to the list posture checks params
func (*ListPostureChecksParams) SetOffset ¶
func (o *ListPostureChecksParams) SetOffset(offset *int64)
SetOffset adds the offset to the list posture checks params
func (*ListPostureChecksParams) SetRoleFilter ¶
func (o *ListPostureChecksParams) SetRoleFilter(roleFilter []string)
SetRoleFilter adds the roleFilter to the list posture checks params
func (*ListPostureChecksParams) SetRoleSemantic ¶
func (o *ListPostureChecksParams) SetRoleSemantic(roleSemantic *string)
SetRoleSemantic adds the roleSemantic to the list posture checks params
func (*ListPostureChecksParams) SetTimeout ¶
func (o *ListPostureChecksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list posture checks params
func (*ListPostureChecksParams) WithContext ¶
func (o *ListPostureChecksParams) WithContext(ctx context.Context) *ListPostureChecksParams
WithContext adds the context to the list posture checks params
func (*ListPostureChecksParams) WithDefaults ¶
func (o *ListPostureChecksParams) WithDefaults() *ListPostureChecksParams
WithDefaults hydrates default values in the list posture checks params (not the query body).
All values with no default are reset to their zero value.
func (*ListPostureChecksParams) WithFilter ¶
func (o *ListPostureChecksParams) WithFilter(filter *string) *ListPostureChecksParams
WithFilter adds the filter to the list posture checks params
func (*ListPostureChecksParams) WithHTTPClient ¶
func (o *ListPostureChecksParams) WithHTTPClient(client *http.Client) *ListPostureChecksParams
WithHTTPClient adds the HTTPClient to the list posture checks params
func (*ListPostureChecksParams) WithLimit ¶
func (o *ListPostureChecksParams) WithLimit(limit *int64) *ListPostureChecksParams
WithLimit adds the limit to the list posture checks params
func (*ListPostureChecksParams) WithOffset ¶
func (o *ListPostureChecksParams) WithOffset(offset *int64) *ListPostureChecksParams
WithOffset adds the offset to the list posture checks params
func (*ListPostureChecksParams) WithRoleFilter ¶
func (o *ListPostureChecksParams) WithRoleFilter(roleFilter []string) *ListPostureChecksParams
WithRoleFilter adds the roleFilter to the list posture checks params
func (*ListPostureChecksParams) WithRoleSemantic ¶
func (o *ListPostureChecksParams) WithRoleSemantic(roleSemantic *string) *ListPostureChecksParams
WithRoleSemantic adds the roleSemantic to the list posture checks params
func (*ListPostureChecksParams) WithTimeout ¶
func (o *ListPostureChecksParams) WithTimeout(timeout time.Duration) *ListPostureChecksParams
WithTimeout adds the timeout to the list posture checks params
func (*ListPostureChecksParams) WriteToRequest ¶
func (o *ListPostureChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPostureChecksReader ¶
type ListPostureChecksReader struct {
// contains filtered or unexported fields
}
ListPostureChecksReader is a Reader for the ListPostureChecks structure.
func (*ListPostureChecksReader) ReadResponse ¶
func (o *ListPostureChecksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListPostureChecksServiceUnavailable ¶ added in v0.26.36
type ListPostureChecksServiceUnavailable struct {
WWWAuthenticate []string
}
ListPostureChecksServiceUnavailable 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 NewListPostureChecksServiceUnavailable ¶ added in v0.26.36
func NewListPostureChecksServiceUnavailable() *ListPostureChecksServiceUnavailable
NewListPostureChecksServiceUnavailable creates a ListPostureChecksServiceUnavailable with default headers values
func (*ListPostureChecksServiceUnavailable) Code ¶ added in v0.26.53
func (o *ListPostureChecksServiceUnavailable) Code() int
Code gets the status code for the list posture checks service unavailable response
func (*ListPostureChecksServiceUnavailable) Error ¶ added in v0.26.36
func (o *ListPostureChecksServiceUnavailable) Error() string
func (*ListPostureChecksServiceUnavailable) GetPayload ¶ added in v0.26.36
func (o *ListPostureChecksServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*ListPostureChecksServiceUnavailable) IsClientError ¶ added in v0.26.53
func (o *ListPostureChecksServiceUnavailable) IsClientError() bool
IsClientError returns true when this list posture checks service unavailable response has a 4xx status code
func (*ListPostureChecksServiceUnavailable) IsCode ¶ added in v0.26.53
func (o *ListPostureChecksServiceUnavailable) IsCode(code int) bool
IsCode returns true when this list posture checks service unavailable response a status code equal to that given
func (*ListPostureChecksServiceUnavailable) IsRedirect ¶ added in v0.26.53
func (o *ListPostureChecksServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this list posture checks service unavailable response has a 3xx status code
func (*ListPostureChecksServiceUnavailable) IsServerError ¶ added in v0.26.53
func (o *ListPostureChecksServiceUnavailable) IsServerError() bool
IsServerError returns true when this list posture checks service unavailable response has a 5xx status code
func (*ListPostureChecksServiceUnavailable) IsSuccess ¶ added in v0.26.53
func (o *ListPostureChecksServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this list posture checks service unavailable response has a 2xx status code
func (*ListPostureChecksServiceUnavailable) String ¶ added in v0.26.53
func (o *ListPostureChecksServiceUnavailable) String() string
type ListPostureChecksTooManyRequests ¶ added in v0.26.0
type ListPostureChecksTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
ListPostureChecksTooManyRequests 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 NewListPostureChecksTooManyRequests ¶ added in v0.26.0
func NewListPostureChecksTooManyRequests() *ListPostureChecksTooManyRequests
NewListPostureChecksTooManyRequests creates a ListPostureChecksTooManyRequests with default headers values
func (*ListPostureChecksTooManyRequests) Code ¶ added in v0.26.53
func (o *ListPostureChecksTooManyRequests) Code() int
Code gets the status code for the list posture checks too many requests response
func (*ListPostureChecksTooManyRequests) Error ¶ added in v0.26.0
func (o *ListPostureChecksTooManyRequests) Error() string
func (*ListPostureChecksTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *ListPostureChecksTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*ListPostureChecksTooManyRequests) IsClientError ¶ added in v0.26.53
func (o *ListPostureChecksTooManyRequests) IsClientError() bool
IsClientError returns true when this list posture checks too many requests response has a 4xx status code
func (*ListPostureChecksTooManyRequests) IsCode ¶ added in v0.26.53
func (o *ListPostureChecksTooManyRequests) IsCode(code int) bool
IsCode returns true when this list posture checks too many requests response a status code equal to that given
func (*ListPostureChecksTooManyRequests) IsRedirect ¶ added in v0.26.53
func (o *ListPostureChecksTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list posture checks too many requests response has a 3xx status code
func (*ListPostureChecksTooManyRequests) IsServerError ¶ added in v0.26.53
func (o *ListPostureChecksTooManyRequests) IsServerError() bool
IsServerError returns true when this list posture checks too many requests response has a 5xx status code
func (*ListPostureChecksTooManyRequests) IsSuccess ¶ added in v0.26.53
func (o *ListPostureChecksTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list posture checks too many requests response has a 2xx status code
func (*ListPostureChecksTooManyRequests) String ¶ added in v0.26.53
func (o *ListPostureChecksTooManyRequests) String() string
type ListPostureChecksUnauthorized ¶
type ListPostureChecksUnauthorized struct {
WWWAuthenticate []string
}
ListPostureChecksUnauthorized 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 NewListPostureChecksUnauthorized ¶
func NewListPostureChecksUnauthorized() *ListPostureChecksUnauthorized
NewListPostureChecksUnauthorized creates a ListPostureChecksUnauthorized with default headers values
func (*ListPostureChecksUnauthorized) Code ¶ added in v0.26.53
func (o *ListPostureChecksUnauthorized) Code() int
Code gets the status code for the list posture checks unauthorized response
func (*ListPostureChecksUnauthorized) Error ¶
func (o *ListPostureChecksUnauthorized) Error() string
func (*ListPostureChecksUnauthorized) GetPayload ¶
func (o *ListPostureChecksUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*ListPostureChecksUnauthorized) IsClientError ¶ added in v0.26.53
func (o *ListPostureChecksUnauthorized) IsClientError() bool
IsClientError returns true when this list posture checks unauthorized response has a 4xx status code
func (*ListPostureChecksUnauthorized) IsCode ¶ added in v0.26.53
func (o *ListPostureChecksUnauthorized) IsCode(code int) bool
IsCode returns true when this list posture checks unauthorized response a status code equal to that given
func (*ListPostureChecksUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *ListPostureChecksUnauthorized) IsRedirect() bool
IsRedirect returns true when this list posture checks unauthorized response has a 3xx status code
func (*ListPostureChecksUnauthorized) IsServerError ¶ added in v0.26.53
func (o *ListPostureChecksUnauthorized) IsServerError() bool
IsServerError returns true when this list posture checks unauthorized response has a 5xx status code
func (*ListPostureChecksUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *ListPostureChecksUnauthorized) IsSuccess() bool
IsSuccess returns true when this list posture checks unauthorized response has a 2xx status code
func (*ListPostureChecksUnauthorized) String ¶ added in v0.26.53
func (o *ListPostureChecksUnauthorized) String() string
type PatchPostureCheckBadRequest ¶
type PatchPostureCheckBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
PatchPostureCheckBadRequest 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 NewPatchPostureCheckBadRequest ¶
func NewPatchPostureCheckBadRequest() *PatchPostureCheckBadRequest
NewPatchPostureCheckBadRequest creates a PatchPostureCheckBadRequest with default headers values
func (*PatchPostureCheckBadRequest) Code ¶ added in v0.26.53
func (o *PatchPostureCheckBadRequest) Code() int
Code gets the status code for the patch posture check bad request response
func (*PatchPostureCheckBadRequest) Error ¶
func (o *PatchPostureCheckBadRequest) Error() string
func (*PatchPostureCheckBadRequest) GetPayload ¶
func (o *PatchPostureCheckBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchPostureCheckBadRequest) IsClientError ¶ added in v0.26.53
func (o *PatchPostureCheckBadRequest) IsClientError() bool
IsClientError returns true when this patch posture check bad request response has a 4xx status code
func (*PatchPostureCheckBadRequest) IsCode ¶ added in v0.26.53
func (o *PatchPostureCheckBadRequest) IsCode(code int) bool
IsCode returns true when this patch posture check bad request response a status code equal to that given
func (*PatchPostureCheckBadRequest) IsRedirect ¶ added in v0.26.53
func (o *PatchPostureCheckBadRequest) IsRedirect() bool
IsRedirect returns true when this patch posture check bad request response has a 3xx status code
func (*PatchPostureCheckBadRequest) IsServerError ¶ added in v0.26.53
func (o *PatchPostureCheckBadRequest) IsServerError() bool
IsServerError returns true when this patch posture check bad request response has a 5xx status code
func (*PatchPostureCheckBadRequest) IsSuccess ¶ added in v0.26.53
func (o *PatchPostureCheckBadRequest) IsSuccess() bool
IsSuccess returns true when this patch posture check bad request response has a 2xx status code
func (*PatchPostureCheckBadRequest) String ¶ added in v0.26.53
func (o *PatchPostureCheckBadRequest) String() string
type PatchPostureCheckNotFound ¶
type PatchPostureCheckNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
PatchPostureCheckNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchPostureCheckNotFound ¶
func NewPatchPostureCheckNotFound() *PatchPostureCheckNotFound
NewPatchPostureCheckNotFound creates a PatchPostureCheckNotFound with default headers values
func (*PatchPostureCheckNotFound) Code ¶ added in v0.26.53
func (o *PatchPostureCheckNotFound) Code() int
Code gets the status code for the patch posture check not found response
func (*PatchPostureCheckNotFound) Error ¶
func (o *PatchPostureCheckNotFound) Error() string
func (*PatchPostureCheckNotFound) GetPayload ¶
func (o *PatchPostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchPostureCheckNotFound) IsClientError ¶ added in v0.26.53
func (o *PatchPostureCheckNotFound) IsClientError() bool
IsClientError returns true when this patch posture check not found response has a 4xx status code
func (*PatchPostureCheckNotFound) IsCode ¶ added in v0.26.53
func (o *PatchPostureCheckNotFound) IsCode(code int) bool
IsCode returns true when this patch posture check not found response a status code equal to that given
func (*PatchPostureCheckNotFound) IsRedirect ¶ added in v0.26.53
func (o *PatchPostureCheckNotFound) IsRedirect() bool
IsRedirect returns true when this patch posture check not found response has a 3xx status code
func (*PatchPostureCheckNotFound) IsServerError ¶ added in v0.26.53
func (o *PatchPostureCheckNotFound) IsServerError() bool
IsServerError returns true when this patch posture check not found response has a 5xx status code
func (*PatchPostureCheckNotFound) IsSuccess ¶ added in v0.26.53
func (o *PatchPostureCheckNotFound) IsSuccess() bool
IsSuccess returns true when this patch posture check not found response has a 2xx status code
func (*PatchPostureCheckNotFound) String ¶ added in v0.26.53
func (o *PatchPostureCheckNotFound) String() string
type PatchPostureCheckOK ¶
type PatchPostureCheckOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
PatchPostureCheckOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchPostureCheckOK ¶
func NewPatchPostureCheckOK() *PatchPostureCheckOK
NewPatchPostureCheckOK creates a PatchPostureCheckOK with default headers values
func (*PatchPostureCheckOK) Code ¶ added in v0.26.53
func (o *PatchPostureCheckOK) Code() int
Code gets the status code for the patch posture check o k response
func (*PatchPostureCheckOK) Error ¶
func (o *PatchPostureCheckOK) Error() string
func (*PatchPostureCheckOK) GetPayload ¶
func (o *PatchPostureCheckOK) GetPayload() *rest_model.Empty
func (*PatchPostureCheckOK) IsClientError ¶ added in v0.26.53
func (o *PatchPostureCheckOK) IsClientError() bool
IsClientError returns true when this patch posture check o k response has a 4xx status code
func (*PatchPostureCheckOK) IsCode ¶ added in v0.26.53
func (o *PatchPostureCheckOK) IsCode(code int) bool
IsCode returns true when this patch posture check o k response a status code equal to that given
func (*PatchPostureCheckOK) IsRedirect ¶ added in v0.26.53
func (o *PatchPostureCheckOK) IsRedirect() bool
IsRedirect returns true when this patch posture check o k response has a 3xx status code
func (*PatchPostureCheckOK) IsServerError ¶ added in v0.26.53
func (o *PatchPostureCheckOK) IsServerError() bool
IsServerError returns true when this patch posture check o k response has a 5xx status code
func (*PatchPostureCheckOK) IsSuccess ¶ added in v0.26.53
func (o *PatchPostureCheckOK) IsSuccess() bool
IsSuccess returns true when this patch posture check o k response has a 2xx status code
func (*PatchPostureCheckOK) String ¶ added in v0.26.53
func (o *PatchPostureCheckOK) String() string
type PatchPostureCheckParams ¶
type PatchPostureCheckParams struct {
/* ID.
The id of the requested resource
*/
ID string
/* PostureCheck.
A Posture Check patch object
*/
PostureCheck rest_model.PostureCheckPatch
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchPostureCheckParams contains all the parameters to send to the API endpoint
for the patch posture check operation. Typically these are written to a http.Request.
func NewPatchPostureCheckParams ¶
func NewPatchPostureCheckParams() *PatchPostureCheckParams
NewPatchPostureCheckParams creates a new PatchPostureCheckParams 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 NewPatchPostureCheckParamsWithContext ¶
func NewPatchPostureCheckParamsWithContext(ctx context.Context) *PatchPostureCheckParams
NewPatchPostureCheckParamsWithContext creates a new PatchPostureCheckParams object with the ability to set a context for a request.
func NewPatchPostureCheckParamsWithHTTPClient ¶
func NewPatchPostureCheckParamsWithHTTPClient(client *http.Client) *PatchPostureCheckParams
NewPatchPostureCheckParamsWithHTTPClient creates a new PatchPostureCheckParams object with the ability to set a custom HTTPClient for a request.
func NewPatchPostureCheckParamsWithTimeout ¶
func NewPatchPostureCheckParamsWithTimeout(timeout time.Duration) *PatchPostureCheckParams
NewPatchPostureCheckParamsWithTimeout creates a new PatchPostureCheckParams object with the ability to set a timeout on a request.
func (*PatchPostureCheckParams) SetContext ¶
func (o *PatchPostureCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the patch posture check params
func (*PatchPostureCheckParams) SetDefaults ¶
func (o *PatchPostureCheckParams) SetDefaults()
SetDefaults hydrates default values in the patch posture check params (not the query body).
All values with no default are reset to their zero value.
func (*PatchPostureCheckParams) SetHTTPClient ¶
func (o *PatchPostureCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch posture check params
func (*PatchPostureCheckParams) SetID ¶
func (o *PatchPostureCheckParams) SetID(id string)
SetID adds the id to the patch posture check params
func (*PatchPostureCheckParams) SetPostureCheck ¶
func (o *PatchPostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckPatch)
SetPostureCheck adds the postureCheck to the patch posture check params
func (*PatchPostureCheckParams) SetTimeout ¶
func (o *PatchPostureCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch posture check params
func (*PatchPostureCheckParams) WithContext ¶
func (o *PatchPostureCheckParams) WithContext(ctx context.Context) *PatchPostureCheckParams
WithContext adds the context to the patch posture check params
func (*PatchPostureCheckParams) WithDefaults ¶
func (o *PatchPostureCheckParams) WithDefaults() *PatchPostureCheckParams
WithDefaults hydrates default values in the patch posture check params (not the query body).
All values with no default are reset to their zero value.
func (*PatchPostureCheckParams) WithHTTPClient ¶
func (o *PatchPostureCheckParams) WithHTTPClient(client *http.Client) *PatchPostureCheckParams
WithHTTPClient adds the HTTPClient to the patch posture check params
func (*PatchPostureCheckParams) WithID ¶
func (o *PatchPostureCheckParams) WithID(id string) *PatchPostureCheckParams
WithID adds the id to the patch posture check params
func (*PatchPostureCheckParams) WithPostureCheck ¶
func (o *PatchPostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckPatch) *PatchPostureCheckParams
WithPostureCheck adds the postureCheck to the patch posture check params
func (*PatchPostureCheckParams) WithTimeout ¶
func (o *PatchPostureCheckParams) WithTimeout(timeout time.Duration) *PatchPostureCheckParams
WithTimeout adds the timeout to the patch posture check params
func (*PatchPostureCheckParams) WriteToRequest ¶
func (o *PatchPostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchPostureCheckReader ¶
type PatchPostureCheckReader struct {
// contains filtered or unexported fields
}
PatchPostureCheckReader is a Reader for the PatchPostureCheck structure.
func (*PatchPostureCheckReader) ReadResponse ¶
func (o *PatchPostureCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PatchPostureCheckServiceUnavailable ¶ added in v0.26.36
type PatchPostureCheckServiceUnavailable struct {
WWWAuthenticate []string
}
PatchPostureCheckServiceUnavailable 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 NewPatchPostureCheckServiceUnavailable ¶ added in v0.26.36
func NewPatchPostureCheckServiceUnavailable() *PatchPostureCheckServiceUnavailable
NewPatchPostureCheckServiceUnavailable creates a PatchPostureCheckServiceUnavailable with default headers values
func (*PatchPostureCheckServiceUnavailable) Code ¶ added in v0.26.53
func (o *PatchPostureCheckServiceUnavailable) Code() int
Code gets the status code for the patch posture check service unavailable response
func (*PatchPostureCheckServiceUnavailable) Error ¶ added in v0.26.36
func (o *PatchPostureCheckServiceUnavailable) Error() string
func (*PatchPostureCheckServiceUnavailable) GetPayload ¶ added in v0.26.36
func (o *PatchPostureCheckServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchPostureCheckServiceUnavailable) IsClientError ¶ added in v0.26.53
func (o *PatchPostureCheckServiceUnavailable) IsClientError() bool
IsClientError returns true when this patch posture check service unavailable response has a 4xx status code
func (*PatchPostureCheckServiceUnavailable) IsCode ¶ added in v0.26.53
func (o *PatchPostureCheckServiceUnavailable) IsCode(code int) bool
IsCode returns true when this patch posture check service unavailable response a status code equal to that given
func (*PatchPostureCheckServiceUnavailable) IsRedirect ¶ added in v0.26.53
func (o *PatchPostureCheckServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this patch posture check service unavailable response has a 3xx status code
func (*PatchPostureCheckServiceUnavailable) IsServerError ¶ added in v0.26.53
func (o *PatchPostureCheckServiceUnavailable) IsServerError() bool
IsServerError returns true when this patch posture check service unavailable response has a 5xx status code
func (*PatchPostureCheckServiceUnavailable) IsSuccess ¶ added in v0.26.53
func (o *PatchPostureCheckServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this patch posture check service unavailable response has a 2xx status code
func (*PatchPostureCheckServiceUnavailable) String ¶ added in v0.26.53
func (o *PatchPostureCheckServiceUnavailable) String() string
type PatchPostureCheckTooManyRequests ¶ added in v0.26.0
type PatchPostureCheckTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
PatchPostureCheckTooManyRequests 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 NewPatchPostureCheckTooManyRequests ¶ added in v0.26.0
func NewPatchPostureCheckTooManyRequests() *PatchPostureCheckTooManyRequests
NewPatchPostureCheckTooManyRequests creates a PatchPostureCheckTooManyRequests with default headers values
func (*PatchPostureCheckTooManyRequests) Code ¶ added in v0.26.53
func (o *PatchPostureCheckTooManyRequests) Code() int
Code gets the status code for the patch posture check too many requests response
func (*PatchPostureCheckTooManyRequests) Error ¶ added in v0.26.0
func (o *PatchPostureCheckTooManyRequests) Error() string
func (*PatchPostureCheckTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *PatchPostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchPostureCheckTooManyRequests) IsClientError ¶ added in v0.26.53
func (o *PatchPostureCheckTooManyRequests) IsClientError() bool
IsClientError returns true when this patch posture check too many requests response has a 4xx status code
func (*PatchPostureCheckTooManyRequests) IsCode ¶ added in v0.26.53
func (o *PatchPostureCheckTooManyRequests) IsCode(code int) bool
IsCode returns true when this patch posture check too many requests response a status code equal to that given
func (*PatchPostureCheckTooManyRequests) IsRedirect ¶ added in v0.26.53
func (o *PatchPostureCheckTooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch posture check too many requests response has a 3xx status code
func (*PatchPostureCheckTooManyRequests) IsServerError ¶ added in v0.26.53
func (o *PatchPostureCheckTooManyRequests) IsServerError() bool
IsServerError returns true when this patch posture check too many requests response has a 5xx status code
func (*PatchPostureCheckTooManyRequests) IsSuccess ¶ added in v0.26.53
func (o *PatchPostureCheckTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch posture check too many requests response has a 2xx status code
func (*PatchPostureCheckTooManyRequests) String ¶ added in v0.26.53
func (o *PatchPostureCheckTooManyRequests) String() string
type PatchPostureCheckUnauthorized ¶
type PatchPostureCheckUnauthorized struct {
WWWAuthenticate []string
}
PatchPostureCheckUnauthorized 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 NewPatchPostureCheckUnauthorized ¶
func NewPatchPostureCheckUnauthorized() *PatchPostureCheckUnauthorized
NewPatchPostureCheckUnauthorized creates a PatchPostureCheckUnauthorized with default headers values
func (*PatchPostureCheckUnauthorized) Code ¶ added in v0.26.53
func (o *PatchPostureCheckUnauthorized) Code() int
Code gets the status code for the patch posture check unauthorized response
func (*PatchPostureCheckUnauthorized) Error ¶
func (o *PatchPostureCheckUnauthorized) Error() string
func (*PatchPostureCheckUnauthorized) GetPayload ¶
func (o *PatchPostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchPostureCheckUnauthorized) IsClientError ¶ added in v0.26.53
func (o *PatchPostureCheckUnauthorized) IsClientError() bool
IsClientError returns true when this patch posture check unauthorized response has a 4xx status code
func (*PatchPostureCheckUnauthorized) IsCode ¶ added in v0.26.53
func (o *PatchPostureCheckUnauthorized) IsCode(code int) bool
IsCode returns true when this patch posture check unauthorized response a status code equal to that given
func (*PatchPostureCheckUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *PatchPostureCheckUnauthorized) IsRedirect() bool
IsRedirect returns true when this patch posture check unauthorized response has a 3xx status code
func (*PatchPostureCheckUnauthorized) IsServerError ¶ added in v0.26.53
func (o *PatchPostureCheckUnauthorized) IsServerError() bool
IsServerError returns true when this patch posture check unauthorized response has a 5xx status code
func (*PatchPostureCheckUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *PatchPostureCheckUnauthorized) IsSuccess() bool
IsSuccess returns true when this patch posture check unauthorized response has a 2xx status code
func (*PatchPostureCheckUnauthorized) String ¶ added in v0.26.53
func (o *PatchPostureCheckUnauthorized) String() string
type UpdatePostureCheckBadRequest ¶
type UpdatePostureCheckBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
UpdatePostureCheckBadRequest 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 NewUpdatePostureCheckBadRequest ¶
func NewUpdatePostureCheckBadRequest() *UpdatePostureCheckBadRequest
NewUpdatePostureCheckBadRequest creates a UpdatePostureCheckBadRequest with default headers values
func (*UpdatePostureCheckBadRequest) Code ¶ added in v0.26.53
func (o *UpdatePostureCheckBadRequest) Code() int
Code gets the status code for the update posture check bad request response
func (*UpdatePostureCheckBadRequest) Error ¶
func (o *UpdatePostureCheckBadRequest) Error() string
func (*UpdatePostureCheckBadRequest) GetPayload ¶
func (o *UpdatePostureCheckBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdatePostureCheckBadRequest) IsClientError ¶ added in v0.26.53
func (o *UpdatePostureCheckBadRequest) IsClientError() bool
IsClientError returns true when this update posture check bad request response has a 4xx status code
func (*UpdatePostureCheckBadRequest) IsCode ¶ added in v0.26.53
func (o *UpdatePostureCheckBadRequest) IsCode(code int) bool
IsCode returns true when this update posture check bad request response a status code equal to that given
func (*UpdatePostureCheckBadRequest) IsRedirect ¶ added in v0.26.53
func (o *UpdatePostureCheckBadRequest) IsRedirect() bool
IsRedirect returns true when this update posture check bad request response has a 3xx status code
func (*UpdatePostureCheckBadRequest) IsServerError ¶ added in v0.26.53
func (o *UpdatePostureCheckBadRequest) IsServerError() bool
IsServerError returns true when this update posture check bad request response has a 5xx status code
func (*UpdatePostureCheckBadRequest) IsSuccess ¶ added in v0.26.53
func (o *UpdatePostureCheckBadRequest) IsSuccess() bool
IsSuccess returns true when this update posture check bad request response has a 2xx status code
func (*UpdatePostureCheckBadRequest) String ¶ added in v0.26.53
func (o *UpdatePostureCheckBadRequest) String() string
type UpdatePostureCheckNotFound ¶
type UpdatePostureCheckNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
UpdatePostureCheckNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdatePostureCheckNotFound ¶
func NewUpdatePostureCheckNotFound() *UpdatePostureCheckNotFound
NewUpdatePostureCheckNotFound creates a UpdatePostureCheckNotFound with default headers values
func (*UpdatePostureCheckNotFound) Code ¶ added in v0.26.53
func (o *UpdatePostureCheckNotFound) Code() int
Code gets the status code for the update posture check not found response
func (*UpdatePostureCheckNotFound) Error ¶
func (o *UpdatePostureCheckNotFound) Error() string
func (*UpdatePostureCheckNotFound) GetPayload ¶
func (o *UpdatePostureCheckNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdatePostureCheckNotFound) IsClientError ¶ added in v0.26.53
func (o *UpdatePostureCheckNotFound) IsClientError() bool
IsClientError returns true when this update posture check not found response has a 4xx status code
func (*UpdatePostureCheckNotFound) IsCode ¶ added in v0.26.53
func (o *UpdatePostureCheckNotFound) IsCode(code int) bool
IsCode returns true when this update posture check not found response a status code equal to that given
func (*UpdatePostureCheckNotFound) IsRedirect ¶ added in v0.26.53
func (o *UpdatePostureCheckNotFound) IsRedirect() bool
IsRedirect returns true when this update posture check not found response has a 3xx status code
func (*UpdatePostureCheckNotFound) IsServerError ¶ added in v0.26.53
func (o *UpdatePostureCheckNotFound) IsServerError() bool
IsServerError returns true when this update posture check not found response has a 5xx status code
func (*UpdatePostureCheckNotFound) IsSuccess ¶ added in v0.26.53
func (o *UpdatePostureCheckNotFound) IsSuccess() bool
IsSuccess returns true when this update posture check not found response has a 2xx status code
func (*UpdatePostureCheckNotFound) String ¶ added in v0.26.53
func (o *UpdatePostureCheckNotFound) String() string
type UpdatePostureCheckOK ¶
type UpdatePostureCheckOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
UpdatePostureCheckOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdatePostureCheckOK ¶
func NewUpdatePostureCheckOK() *UpdatePostureCheckOK
NewUpdatePostureCheckOK creates a UpdatePostureCheckOK with default headers values
func (*UpdatePostureCheckOK) Code ¶ added in v0.26.53
func (o *UpdatePostureCheckOK) Code() int
Code gets the status code for the update posture check o k response
func (*UpdatePostureCheckOK) Error ¶
func (o *UpdatePostureCheckOK) Error() string
func (*UpdatePostureCheckOK) GetPayload ¶
func (o *UpdatePostureCheckOK) GetPayload() *rest_model.Empty
func (*UpdatePostureCheckOK) IsClientError ¶ added in v0.26.53
func (o *UpdatePostureCheckOK) IsClientError() bool
IsClientError returns true when this update posture check o k response has a 4xx status code
func (*UpdatePostureCheckOK) IsCode ¶ added in v0.26.53
func (o *UpdatePostureCheckOK) IsCode(code int) bool
IsCode returns true when this update posture check o k response a status code equal to that given
func (*UpdatePostureCheckOK) IsRedirect ¶ added in v0.26.53
func (o *UpdatePostureCheckOK) IsRedirect() bool
IsRedirect returns true when this update posture check o k response has a 3xx status code
func (*UpdatePostureCheckOK) IsServerError ¶ added in v0.26.53
func (o *UpdatePostureCheckOK) IsServerError() bool
IsServerError returns true when this update posture check o k response has a 5xx status code
func (*UpdatePostureCheckOK) IsSuccess ¶ added in v0.26.53
func (o *UpdatePostureCheckOK) IsSuccess() bool
IsSuccess returns true when this update posture check o k response has a 2xx status code
func (*UpdatePostureCheckOK) String ¶ added in v0.26.53
func (o *UpdatePostureCheckOK) String() string
type UpdatePostureCheckParams ¶
type UpdatePostureCheckParams struct {
/* ID.
The id of the requested resource
*/
ID string
/* PostureCheck.
A Posture Check update object
*/
PostureCheck rest_model.PostureCheckUpdate
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdatePostureCheckParams contains all the parameters to send to the API endpoint
for the update posture check operation. Typically these are written to a http.Request.
func NewUpdatePostureCheckParams ¶
func NewUpdatePostureCheckParams() *UpdatePostureCheckParams
NewUpdatePostureCheckParams creates a new UpdatePostureCheckParams 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 NewUpdatePostureCheckParamsWithContext ¶
func NewUpdatePostureCheckParamsWithContext(ctx context.Context) *UpdatePostureCheckParams
NewUpdatePostureCheckParamsWithContext creates a new UpdatePostureCheckParams object with the ability to set a context for a request.
func NewUpdatePostureCheckParamsWithHTTPClient ¶
func NewUpdatePostureCheckParamsWithHTTPClient(client *http.Client) *UpdatePostureCheckParams
NewUpdatePostureCheckParamsWithHTTPClient creates a new UpdatePostureCheckParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePostureCheckParamsWithTimeout ¶
func NewUpdatePostureCheckParamsWithTimeout(timeout time.Duration) *UpdatePostureCheckParams
NewUpdatePostureCheckParamsWithTimeout creates a new UpdatePostureCheckParams object with the ability to set a timeout on a request.
func (*UpdatePostureCheckParams) SetContext ¶
func (o *UpdatePostureCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the update posture check params
func (*UpdatePostureCheckParams) SetDefaults ¶
func (o *UpdatePostureCheckParams) SetDefaults()
SetDefaults hydrates default values in the update posture check params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePostureCheckParams) SetHTTPClient ¶
func (o *UpdatePostureCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update posture check params
func (*UpdatePostureCheckParams) SetID ¶
func (o *UpdatePostureCheckParams) SetID(id string)
SetID adds the id to the update posture check params
func (*UpdatePostureCheckParams) SetPostureCheck ¶
func (o *UpdatePostureCheckParams) SetPostureCheck(postureCheck rest_model.PostureCheckUpdate)
SetPostureCheck adds the postureCheck to the update posture check params
func (*UpdatePostureCheckParams) SetTimeout ¶
func (o *UpdatePostureCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update posture check params
func (*UpdatePostureCheckParams) WithContext ¶
func (o *UpdatePostureCheckParams) WithContext(ctx context.Context) *UpdatePostureCheckParams
WithContext adds the context to the update posture check params
func (*UpdatePostureCheckParams) WithDefaults ¶
func (o *UpdatePostureCheckParams) WithDefaults() *UpdatePostureCheckParams
WithDefaults hydrates default values in the update posture check params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePostureCheckParams) WithHTTPClient ¶
func (o *UpdatePostureCheckParams) WithHTTPClient(client *http.Client) *UpdatePostureCheckParams
WithHTTPClient adds the HTTPClient to the update posture check params
func (*UpdatePostureCheckParams) WithID ¶
func (o *UpdatePostureCheckParams) WithID(id string) *UpdatePostureCheckParams
WithID adds the id to the update posture check params
func (*UpdatePostureCheckParams) WithPostureCheck ¶
func (o *UpdatePostureCheckParams) WithPostureCheck(postureCheck rest_model.PostureCheckUpdate) *UpdatePostureCheckParams
WithPostureCheck adds the postureCheck to the update posture check params
func (*UpdatePostureCheckParams) WithTimeout ¶
func (o *UpdatePostureCheckParams) WithTimeout(timeout time.Duration) *UpdatePostureCheckParams
WithTimeout adds the timeout to the update posture check params
func (*UpdatePostureCheckParams) WriteToRequest ¶
func (o *UpdatePostureCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePostureCheckReader ¶
type UpdatePostureCheckReader struct {
// contains filtered or unexported fields
}
UpdatePostureCheckReader is a Reader for the UpdatePostureCheck structure.
func (*UpdatePostureCheckReader) ReadResponse ¶
func (o *UpdatePostureCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type UpdatePostureCheckServiceUnavailable ¶ added in v0.26.36
type UpdatePostureCheckServiceUnavailable struct {
WWWAuthenticate []string
}
UpdatePostureCheckServiceUnavailable 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 NewUpdatePostureCheckServiceUnavailable ¶ added in v0.26.36
func NewUpdatePostureCheckServiceUnavailable() *UpdatePostureCheckServiceUnavailable
NewUpdatePostureCheckServiceUnavailable creates a UpdatePostureCheckServiceUnavailable with default headers values
func (*UpdatePostureCheckServiceUnavailable) Code ¶ added in v0.26.53
func (o *UpdatePostureCheckServiceUnavailable) Code() int
Code gets the status code for the update posture check service unavailable response
func (*UpdatePostureCheckServiceUnavailable) Error ¶ added in v0.26.36
func (o *UpdatePostureCheckServiceUnavailable) Error() string
func (*UpdatePostureCheckServiceUnavailable) GetPayload ¶ added in v0.26.36
func (o *UpdatePostureCheckServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdatePostureCheckServiceUnavailable) IsClientError ¶ added in v0.26.53
func (o *UpdatePostureCheckServiceUnavailable) IsClientError() bool
IsClientError returns true when this update posture check service unavailable response has a 4xx status code
func (*UpdatePostureCheckServiceUnavailable) IsCode ¶ added in v0.26.53
func (o *UpdatePostureCheckServiceUnavailable) IsCode(code int) bool
IsCode returns true when this update posture check service unavailable response a status code equal to that given
func (*UpdatePostureCheckServiceUnavailable) IsRedirect ¶ added in v0.26.53
func (o *UpdatePostureCheckServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this update posture check service unavailable response has a 3xx status code
func (*UpdatePostureCheckServiceUnavailable) IsServerError ¶ added in v0.26.53
func (o *UpdatePostureCheckServiceUnavailable) IsServerError() bool
IsServerError returns true when this update posture check service unavailable response has a 5xx status code
func (*UpdatePostureCheckServiceUnavailable) IsSuccess ¶ added in v0.26.53
func (o *UpdatePostureCheckServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this update posture check service unavailable response has a 2xx status code
func (*UpdatePostureCheckServiceUnavailable) String ¶ added in v0.26.53
func (o *UpdatePostureCheckServiceUnavailable) String() string
type UpdatePostureCheckTooManyRequests ¶ added in v0.26.0
type UpdatePostureCheckTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
UpdatePostureCheckTooManyRequests 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 NewUpdatePostureCheckTooManyRequests ¶ added in v0.26.0
func NewUpdatePostureCheckTooManyRequests() *UpdatePostureCheckTooManyRequests
NewUpdatePostureCheckTooManyRequests creates a UpdatePostureCheckTooManyRequests with default headers values
func (*UpdatePostureCheckTooManyRequests) Code ¶ added in v0.26.53
func (o *UpdatePostureCheckTooManyRequests) Code() int
Code gets the status code for the update posture check too many requests response
func (*UpdatePostureCheckTooManyRequests) Error ¶ added in v0.26.0
func (o *UpdatePostureCheckTooManyRequests) Error() string
func (*UpdatePostureCheckTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *UpdatePostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdatePostureCheckTooManyRequests) IsClientError ¶ added in v0.26.53
func (o *UpdatePostureCheckTooManyRequests) IsClientError() bool
IsClientError returns true when this update posture check too many requests response has a 4xx status code
func (*UpdatePostureCheckTooManyRequests) IsCode ¶ added in v0.26.53
func (o *UpdatePostureCheckTooManyRequests) IsCode(code int) bool
IsCode returns true when this update posture check too many requests response a status code equal to that given
func (*UpdatePostureCheckTooManyRequests) IsRedirect ¶ added in v0.26.53
func (o *UpdatePostureCheckTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update posture check too many requests response has a 3xx status code
func (*UpdatePostureCheckTooManyRequests) IsServerError ¶ added in v0.26.53
func (o *UpdatePostureCheckTooManyRequests) IsServerError() bool
IsServerError returns true when this update posture check too many requests response has a 5xx status code
func (*UpdatePostureCheckTooManyRequests) IsSuccess ¶ added in v0.26.53
func (o *UpdatePostureCheckTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update posture check too many requests response has a 2xx status code
func (*UpdatePostureCheckTooManyRequests) String ¶ added in v0.26.53
func (o *UpdatePostureCheckTooManyRequests) String() string
type UpdatePostureCheckUnauthorized ¶
type UpdatePostureCheckUnauthorized struct {
WWWAuthenticate []string
}
UpdatePostureCheckUnauthorized 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 NewUpdatePostureCheckUnauthorized ¶
func NewUpdatePostureCheckUnauthorized() *UpdatePostureCheckUnauthorized
NewUpdatePostureCheckUnauthorized creates a UpdatePostureCheckUnauthorized with default headers values
func (*UpdatePostureCheckUnauthorized) Code ¶ added in v0.26.53
func (o *UpdatePostureCheckUnauthorized) Code() int
Code gets the status code for the update posture check unauthorized response
func (*UpdatePostureCheckUnauthorized) Error ¶
func (o *UpdatePostureCheckUnauthorized) Error() string
func (*UpdatePostureCheckUnauthorized) GetPayload ¶
func (o *UpdatePostureCheckUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdatePostureCheckUnauthorized) IsClientError ¶ added in v0.26.53
func (o *UpdatePostureCheckUnauthorized) IsClientError() bool
IsClientError returns true when this update posture check unauthorized response has a 4xx status code
func (*UpdatePostureCheckUnauthorized) IsCode ¶ added in v0.26.53
func (o *UpdatePostureCheckUnauthorized) IsCode(code int) bool
IsCode returns true when this update posture check unauthorized response a status code equal to that given
func (*UpdatePostureCheckUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *UpdatePostureCheckUnauthorized) IsRedirect() bool
IsRedirect returns true when this update posture check unauthorized response has a 3xx status code
func (*UpdatePostureCheckUnauthorized) IsServerError ¶ added in v0.26.53
func (o *UpdatePostureCheckUnauthorized) IsServerError() bool
IsServerError returns true when this update posture check unauthorized response has a 5xx status code
func (*UpdatePostureCheckUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *UpdatePostureCheckUnauthorized) IsSuccess() bool
IsSuccess returns true when this update posture check unauthorized response has a 2xx status code
func (*UpdatePostureCheckUnauthorized) String ¶ added in v0.26.53
func (o *UpdatePostureCheckUnauthorized) String() string
Source Files
¶
- create_posture_check_parameters.go
- create_posture_check_responses.go
- delete_posture_check_parameters.go
- delete_posture_check_responses.go
- detail_posture_check_parameters.go
- detail_posture_check_responses.go
- detail_posture_check_type_parameters.go
- detail_posture_check_type_responses.go
- list_posture_check_types_parameters.go
- list_posture_check_types_responses.go
- list_posture_checks_parameters.go
- list_posture_checks_responses.go
- patch_posture_check_parameters.go
- patch_posture_check_responses.go
- posture_checks_client.go
- update_posture_check_parameters.go
- update_posture_check_responses.go