Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePreventionPolicies(params *CreatePreventionPoliciesParams, opts ...ClientOption) (*CreatePreventionPoliciesCreated, error)
- func (a *Client) DeletePreventionPolicies(params *DeletePreventionPoliciesParams, opts ...ClientOption) (*DeletePreventionPoliciesOK, error)
- func (a *Client) GetPreventionPolicies(params *GetPreventionPoliciesParams, opts ...ClientOption) (*GetPreventionPoliciesOK, error)
- func (a *Client) PerformPreventionPoliciesAction(params *PerformPreventionPoliciesActionParams, opts ...ClientOption) (*PerformPreventionPoliciesActionOK, error)
- func (a *Client) QueryCombinedPreventionPolicies(params *QueryCombinedPreventionPoliciesParams, opts ...ClientOption) (*QueryCombinedPreventionPoliciesOK, error)
- func (a *Client) QueryCombinedPreventionPolicyMembers(params *QueryCombinedPreventionPolicyMembersParams, opts ...ClientOption) (*QueryCombinedPreventionPolicyMembersOK, error)
- func (a *Client) QueryPreventionPolicies(params *QueryPreventionPoliciesParams, opts ...ClientOption) (*QueryPreventionPoliciesOK, error)
- func (a *Client) QueryPreventionPolicyMembers(params *QueryPreventionPolicyMembersParams, opts ...ClientOption) (*QueryPreventionPolicyMembersOK, error)
- func (a *Client) SetPreventionPoliciesPrecedence(params *SetPreventionPoliciesPrecedenceParams, opts ...ClientOption) (*SetPreventionPoliciesPrecedenceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePreventionPolicies(params *UpdatePreventionPoliciesParams, opts ...ClientOption) (*UpdatePreventionPoliciesOK, error)
- type ClientOption
- type ClientService
- type CreatePreventionPoliciesBadRequest
- func (o *CreatePreventionPoliciesBadRequest) Error() string
- func (o *CreatePreventionPoliciesBadRequest) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *CreatePreventionPoliciesBadRequest) IsClientError() bool
- func (o *CreatePreventionPoliciesBadRequest) IsCode(code int) bool
- func (o *CreatePreventionPoliciesBadRequest) IsRedirect() bool
- func (o *CreatePreventionPoliciesBadRequest) IsServerError() bool
- func (o *CreatePreventionPoliciesBadRequest) IsSuccess() bool
- func (o *CreatePreventionPoliciesBadRequest) String() string
- type CreatePreventionPoliciesCreated
- func (o *CreatePreventionPoliciesCreated) Error() string
- func (o *CreatePreventionPoliciesCreated) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *CreatePreventionPoliciesCreated) IsClientError() bool
- func (o *CreatePreventionPoliciesCreated) IsCode(code int) bool
- func (o *CreatePreventionPoliciesCreated) IsRedirect() bool
- func (o *CreatePreventionPoliciesCreated) IsServerError() bool
- func (o *CreatePreventionPoliciesCreated) IsSuccess() bool
- func (o *CreatePreventionPoliciesCreated) String() string
- type CreatePreventionPoliciesForbidden
- func (o *CreatePreventionPoliciesForbidden) Error() string
- func (o *CreatePreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
- func (o *CreatePreventionPoliciesForbidden) IsClientError() bool
- func (o *CreatePreventionPoliciesForbidden) IsCode(code int) bool
- func (o *CreatePreventionPoliciesForbidden) IsRedirect() bool
- func (o *CreatePreventionPoliciesForbidden) IsServerError() bool
- func (o *CreatePreventionPoliciesForbidden) IsSuccess() bool
- func (o *CreatePreventionPoliciesForbidden) String() string
- type CreatePreventionPoliciesInternalServerError
- func (o *CreatePreventionPoliciesInternalServerError) Error() string
- func (o *CreatePreventionPoliciesInternalServerError) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *CreatePreventionPoliciesInternalServerError) IsClientError() bool
- func (o *CreatePreventionPoliciesInternalServerError) IsCode(code int) bool
- func (o *CreatePreventionPoliciesInternalServerError) IsRedirect() bool
- func (o *CreatePreventionPoliciesInternalServerError) IsServerError() bool
- func (o *CreatePreventionPoliciesInternalServerError) IsSuccess() bool
- func (o *CreatePreventionPoliciesInternalServerError) String() string
- type CreatePreventionPoliciesNotFound
- func (o *CreatePreventionPoliciesNotFound) Error() string
- func (o *CreatePreventionPoliciesNotFound) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *CreatePreventionPoliciesNotFound) IsClientError() bool
- func (o *CreatePreventionPoliciesNotFound) IsCode(code int) bool
- func (o *CreatePreventionPoliciesNotFound) IsRedirect() bool
- func (o *CreatePreventionPoliciesNotFound) IsServerError() bool
- func (o *CreatePreventionPoliciesNotFound) IsSuccess() bool
- func (o *CreatePreventionPoliciesNotFound) String() string
- type CreatePreventionPoliciesParams
- func NewCreatePreventionPoliciesParams() *CreatePreventionPoliciesParams
- func NewCreatePreventionPoliciesParamsWithContext(ctx context.Context) *CreatePreventionPoliciesParams
- func NewCreatePreventionPoliciesParamsWithHTTPClient(client *http.Client) *CreatePreventionPoliciesParams
- func NewCreatePreventionPoliciesParamsWithTimeout(timeout time.Duration) *CreatePreventionPoliciesParams
- func (o *CreatePreventionPoliciesParams) SetBody(body *models.RequestsCreatePreventionPoliciesV1)
- func (o *CreatePreventionPoliciesParams) SetContext(ctx context.Context)
- func (o *CreatePreventionPoliciesParams) SetDefaults()
- func (o *CreatePreventionPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *CreatePreventionPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *CreatePreventionPoliciesParams) WithBody(body *models.RequestsCreatePreventionPoliciesV1) *CreatePreventionPoliciesParams
- func (o *CreatePreventionPoliciesParams) WithContext(ctx context.Context) *CreatePreventionPoliciesParams
- func (o *CreatePreventionPoliciesParams) WithDefaults() *CreatePreventionPoliciesParams
- func (o *CreatePreventionPoliciesParams) WithHTTPClient(client *http.Client) *CreatePreventionPoliciesParams
- func (o *CreatePreventionPoliciesParams) WithTimeout(timeout time.Duration) *CreatePreventionPoliciesParams
- func (o *CreatePreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePreventionPoliciesReader
- type CreatePreventionPoliciesTooManyRequests
- func (o *CreatePreventionPoliciesTooManyRequests) Error() string
- func (o *CreatePreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *CreatePreventionPoliciesTooManyRequests) IsClientError() bool
- func (o *CreatePreventionPoliciesTooManyRequests) IsCode(code int) bool
- func (o *CreatePreventionPoliciesTooManyRequests) IsRedirect() bool
- func (o *CreatePreventionPoliciesTooManyRequests) IsServerError() bool
- func (o *CreatePreventionPoliciesTooManyRequests) IsSuccess() bool
- func (o *CreatePreventionPoliciesTooManyRequests) String() string
- type DeletePreventionPoliciesForbidden
- func (o *DeletePreventionPoliciesForbidden) Error() string
- func (o *DeletePreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
- func (o *DeletePreventionPoliciesForbidden) IsClientError() bool
- func (o *DeletePreventionPoliciesForbidden) IsCode(code int) bool
- func (o *DeletePreventionPoliciesForbidden) IsRedirect() bool
- func (o *DeletePreventionPoliciesForbidden) IsServerError() bool
- func (o *DeletePreventionPoliciesForbidden) IsSuccess() bool
- func (o *DeletePreventionPoliciesForbidden) String() string
- type DeletePreventionPoliciesInternalServerError
- func (o *DeletePreventionPoliciesInternalServerError) Error() string
- func (o *DeletePreventionPoliciesInternalServerError) GetPayload() *models.MsaQueryResponse
- func (o *DeletePreventionPoliciesInternalServerError) IsClientError() bool
- func (o *DeletePreventionPoliciesInternalServerError) IsCode(code int) bool
- func (o *DeletePreventionPoliciesInternalServerError) IsRedirect() bool
- func (o *DeletePreventionPoliciesInternalServerError) IsServerError() bool
- func (o *DeletePreventionPoliciesInternalServerError) IsSuccess() bool
- func (o *DeletePreventionPoliciesInternalServerError) String() string
- type DeletePreventionPoliciesNotFound
- func (o *DeletePreventionPoliciesNotFound) Error() string
- func (o *DeletePreventionPoliciesNotFound) GetPayload() *models.MsaQueryResponse
- func (o *DeletePreventionPoliciesNotFound) IsClientError() bool
- func (o *DeletePreventionPoliciesNotFound) IsCode(code int) bool
- func (o *DeletePreventionPoliciesNotFound) IsRedirect() bool
- func (o *DeletePreventionPoliciesNotFound) IsServerError() bool
- func (o *DeletePreventionPoliciesNotFound) IsSuccess() bool
- func (o *DeletePreventionPoliciesNotFound) String() string
- type DeletePreventionPoliciesOK
- func (o *DeletePreventionPoliciesOK) Error() string
- func (o *DeletePreventionPoliciesOK) GetPayload() *models.MsaQueryResponse
- func (o *DeletePreventionPoliciesOK) IsClientError() bool
- func (o *DeletePreventionPoliciesOK) IsCode(code int) bool
- func (o *DeletePreventionPoliciesOK) IsRedirect() bool
- func (o *DeletePreventionPoliciesOK) IsServerError() bool
- func (o *DeletePreventionPoliciesOK) IsSuccess() bool
- func (o *DeletePreventionPoliciesOK) String() string
- type DeletePreventionPoliciesParams
- func NewDeletePreventionPoliciesParams() *DeletePreventionPoliciesParams
- func NewDeletePreventionPoliciesParamsWithContext(ctx context.Context) *DeletePreventionPoliciesParams
- func NewDeletePreventionPoliciesParamsWithHTTPClient(client *http.Client) *DeletePreventionPoliciesParams
- func NewDeletePreventionPoliciesParamsWithTimeout(timeout time.Duration) *DeletePreventionPoliciesParams
- func (o *DeletePreventionPoliciesParams) SetContext(ctx context.Context)
- func (o *DeletePreventionPoliciesParams) SetDefaults()
- func (o *DeletePreventionPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *DeletePreventionPoliciesParams) SetIds(ids []string)
- func (o *DeletePreventionPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *DeletePreventionPoliciesParams) WithContext(ctx context.Context) *DeletePreventionPoliciesParams
- func (o *DeletePreventionPoliciesParams) WithDefaults() *DeletePreventionPoliciesParams
- func (o *DeletePreventionPoliciesParams) WithHTTPClient(client *http.Client) *DeletePreventionPoliciesParams
- func (o *DeletePreventionPoliciesParams) WithIds(ids []string) *DeletePreventionPoliciesParams
- func (o *DeletePreventionPoliciesParams) WithTimeout(timeout time.Duration) *DeletePreventionPoliciesParams
- func (o *DeletePreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePreventionPoliciesReader
- type DeletePreventionPoliciesTooManyRequests
- func (o *DeletePreventionPoliciesTooManyRequests) Error() string
- func (o *DeletePreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeletePreventionPoliciesTooManyRequests) IsClientError() bool
- func (o *DeletePreventionPoliciesTooManyRequests) IsCode(code int) bool
- func (o *DeletePreventionPoliciesTooManyRequests) IsRedirect() bool
- func (o *DeletePreventionPoliciesTooManyRequests) IsServerError() bool
- func (o *DeletePreventionPoliciesTooManyRequests) IsSuccess() bool
- func (o *DeletePreventionPoliciesTooManyRequests) String() string
- type GetPreventionPoliciesForbidden
- func (o *GetPreventionPoliciesForbidden) Error() string
- func (o *GetPreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
- func (o *GetPreventionPoliciesForbidden) IsClientError() bool
- func (o *GetPreventionPoliciesForbidden) IsCode(code int) bool
- func (o *GetPreventionPoliciesForbidden) IsRedirect() bool
- func (o *GetPreventionPoliciesForbidden) IsServerError() bool
- func (o *GetPreventionPoliciesForbidden) IsSuccess() bool
- func (o *GetPreventionPoliciesForbidden) String() string
- type GetPreventionPoliciesInternalServerError
- func (o *GetPreventionPoliciesInternalServerError) Error() string
- func (o *GetPreventionPoliciesInternalServerError) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *GetPreventionPoliciesInternalServerError) IsClientError() bool
- func (o *GetPreventionPoliciesInternalServerError) IsCode(code int) bool
- func (o *GetPreventionPoliciesInternalServerError) IsRedirect() bool
- func (o *GetPreventionPoliciesInternalServerError) IsServerError() bool
- func (o *GetPreventionPoliciesInternalServerError) IsSuccess() bool
- func (o *GetPreventionPoliciesInternalServerError) String() string
- type GetPreventionPoliciesNotFound
- func (o *GetPreventionPoliciesNotFound) Error() string
- func (o *GetPreventionPoliciesNotFound) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *GetPreventionPoliciesNotFound) IsClientError() bool
- func (o *GetPreventionPoliciesNotFound) IsCode(code int) bool
- func (o *GetPreventionPoliciesNotFound) IsRedirect() bool
- func (o *GetPreventionPoliciesNotFound) IsServerError() bool
- func (o *GetPreventionPoliciesNotFound) IsSuccess() bool
- func (o *GetPreventionPoliciesNotFound) String() string
- type GetPreventionPoliciesOK
- func (o *GetPreventionPoliciesOK) Error() string
- func (o *GetPreventionPoliciesOK) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *GetPreventionPoliciesOK) IsClientError() bool
- func (o *GetPreventionPoliciesOK) IsCode(code int) bool
- func (o *GetPreventionPoliciesOK) IsRedirect() bool
- func (o *GetPreventionPoliciesOK) IsServerError() bool
- func (o *GetPreventionPoliciesOK) IsSuccess() bool
- func (o *GetPreventionPoliciesOK) String() string
- type GetPreventionPoliciesParams
- func NewGetPreventionPoliciesParams() *GetPreventionPoliciesParams
- func NewGetPreventionPoliciesParamsWithContext(ctx context.Context) *GetPreventionPoliciesParams
- func NewGetPreventionPoliciesParamsWithHTTPClient(client *http.Client) *GetPreventionPoliciesParams
- func NewGetPreventionPoliciesParamsWithTimeout(timeout time.Duration) *GetPreventionPoliciesParams
- func (o *GetPreventionPoliciesParams) SetContext(ctx context.Context)
- func (o *GetPreventionPoliciesParams) SetDefaults()
- func (o *GetPreventionPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetPreventionPoliciesParams) SetIds(ids []string)
- func (o *GetPreventionPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetPreventionPoliciesParams) WithContext(ctx context.Context) *GetPreventionPoliciesParams
- func (o *GetPreventionPoliciesParams) WithDefaults() *GetPreventionPoliciesParams
- func (o *GetPreventionPoliciesParams) WithHTTPClient(client *http.Client) *GetPreventionPoliciesParams
- func (o *GetPreventionPoliciesParams) WithIds(ids []string) *GetPreventionPoliciesParams
- func (o *GetPreventionPoliciesParams) WithTimeout(timeout time.Duration) *GetPreventionPoliciesParams
- func (o *GetPreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPreventionPoliciesReader
- type GetPreventionPoliciesTooManyRequests
- func (o *GetPreventionPoliciesTooManyRequests) Error() string
- func (o *GetPreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetPreventionPoliciesTooManyRequests) IsClientError() bool
- func (o *GetPreventionPoliciesTooManyRequests) IsCode(code int) bool
- func (o *GetPreventionPoliciesTooManyRequests) IsRedirect() bool
- func (o *GetPreventionPoliciesTooManyRequests) IsServerError() bool
- func (o *GetPreventionPoliciesTooManyRequests) IsSuccess() bool
- func (o *GetPreventionPoliciesTooManyRequests) String() string
- type PerformPreventionPoliciesActionBadRequest
- func (o *PerformPreventionPoliciesActionBadRequest) Error() string
- func (o *PerformPreventionPoliciesActionBadRequest) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *PerformPreventionPoliciesActionBadRequest) IsClientError() bool
- func (o *PerformPreventionPoliciesActionBadRequest) IsCode(code int) bool
- func (o *PerformPreventionPoliciesActionBadRequest) IsRedirect() bool
- func (o *PerformPreventionPoliciesActionBadRequest) IsServerError() bool
- func (o *PerformPreventionPoliciesActionBadRequest) IsSuccess() bool
- func (o *PerformPreventionPoliciesActionBadRequest) String() string
- type PerformPreventionPoliciesActionDefault
- func (o *PerformPreventionPoliciesActionDefault) Code() int
- func (o *PerformPreventionPoliciesActionDefault) Error() string
- func (o *PerformPreventionPoliciesActionDefault) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *PerformPreventionPoliciesActionDefault) IsClientError() bool
- func (o *PerformPreventionPoliciesActionDefault) IsCode(code int) bool
- func (o *PerformPreventionPoliciesActionDefault) IsRedirect() bool
- func (o *PerformPreventionPoliciesActionDefault) IsServerError() bool
- func (o *PerformPreventionPoliciesActionDefault) IsSuccess() bool
- func (o *PerformPreventionPoliciesActionDefault) String() string
- type PerformPreventionPoliciesActionForbidden
- func (o *PerformPreventionPoliciesActionForbidden) Error() string
- func (o *PerformPreventionPoliciesActionForbidden) GetPayload() *models.MsaErrorsOnly
- func (o *PerformPreventionPoliciesActionForbidden) IsClientError() bool
- func (o *PerformPreventionPoliciesActionForbidden) IsCode(code int) bool
- func (o *PerformPreventionPoliciesActionForbidden) IsRedirect() bool
- func (o *PerformPreventionPoliciesActionForbidden) IsServerError() bool
- func (o *PerformPreventionPoliciesActionForbidden) IsSuccess() bool
- func (o *PerformPreventionPoliciesActionForbidden) String() string
- type PerformPreventionPoliciesActionInternalServerError
- func (o *PerformPreventionPoliciesActionInternalServerError) Error() string
- func (o *PerformPreventionPoliciesActionInternalServerError) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *PerformPreventionPoliciesActionInternalServerError) IsClientError() bool
- func (o *PerformPreventionPoliciesActionInternalServerError) IsCode(code int) bool
- func (o *PerformPreventionPoliciesActionInternalServerError) IsRedirect() bool
- func (o *PerformPreventionPoliciesActionInternalServerError) IsServerError() bool
- func (o *PerformPreventionPoliciesActionInternalServerError) IsSuccess() bool
- func (o *PerformPreventionPoliciesActionInternalServerError) String() string
- type PerformPreventionPoliciesActionNotFound
- func (o *PerformPreventionPoliciesActionNotFound) Error() string
- func (o *PerformPreventionPoliciesActionNotFound) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *PerformPreventionPoliciesActionNotFound) IsClientError() bool
- func (o *PerformPreventionPoliciesActionNotFound) IsCode(code int) bool
- func (o *PerformPreventionPoliciesActionNotFound) IsRedirect() bool
- func (o *PerformPreventionPoliciesActionNotFound) IsServerError() bool
- func (o *PerformPreventionPoliciesActionNotFound) IsSuccess() bool
- func (o *PerformPreventionPoliciesActionNotFound) String() string
- type PerformPreventionPoliciesActionOK
- func (o *PerformPreventionPoliciesActionOK) Error() string
- func (o *PerformPreventionPoliciesActionOK) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *PerformPreventionPoliciesActionOK) IsClientError() bool
- func (o *PerformPreventionPoliciesActionOK) IsCode(code int) bool
- func (o *PerformPreventionPoliciesActionOK) IsRedirect() bool
- func (o *PerformPreventionPoliciesActionOK) IsServerError() bool
- func (o *PerformPreventionPoliciesActionOK) IsSuccess() bool
- func (o *PerformPreventionPoliciesActionOK) String() string
- type PerformPreventionPoliciesActionParams
- func NewPerformPreventionPoliciesActionParams() *PerformPreventionPoliciesActionParams
- func NewPerformPreventionPoliciesActionParamsWithContext(ctx context.Context) *PerformPreventionPoliciesActionParams
- func NewPerformPreventionPoliciesActionParamsWithHTTPClient(client *http.Client) *PerformPreventionPoliciesActionParams
- func NewPerformPreventionPoliciesActionParamsWithTimeout(timeout time.Duration) *PerformPreventionPoliciesActionParams
- func (o *PerformPreventionPoliciesActionParams) SetActionName(actionName string)
- func (o *PerformPreventionPoliciesActionParams) SetBody(body *models.MsaEntityActionRequestV2)
- func (o *PerformPreventionPoliciesActionParams) SetContext(ctx context.Context)
- func (o *PerformPreventionPoliciesActionParams) SetDefaults()
- func (o *PerformPreventionPoliciesActionParams) SetHTTPClient(client *http.Client)
- func (o *PerformPreventionPoliciesActionParams) SetTimeout(timeout time.Duration)
- func (o *PerformPreventionPoliciesActionParams) WithActionName(actionName string) *PerformPreventionPoliciesActionParams
- func (o *PerformPreventionPoliciesActionParams) WithBody(body *models.MsaEntityActionRequestV2) *PerformPreventionPoliciesActionParams
- func (o *PerformPreventionPoliciesActionParams) WithContext(ctx context.Context) *PerformPreventionPoliciesActionParams
- func (o *PerformPreventionPoliciesActionParams) WithDefaults() *PerformPreventionPoliciesActionParams
- func (o *PerformPreventionPoliciesActionParams) WithHTTPClient(client *http.Client) *PerformPreventionPoliciesActionParams
- func (o *PerformPreventionPoliciesActionParams) WithTimeout(timeout time.Duration) *PerformPreventionPoliciesActionParams
- func (o *PerformPreventionPoliciesActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PerformPreventionPoliciesActionReader
- type PerformPreventionPoliciesActionTooManyRequests
- func (o *PerformPreventionPoliciesActionTooManyRequests) Error() string
- func (o *PerformPreventionPoliciesActionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *PerformPreventionPoliciesActionTooManyRequests) IsClientError() bool
- func (o *PerformPreventionPoliciesActionTooManyRequests) IsCode(code int) bool
- func (o *PerformPreventionPoliciesActionTooManyRequests) IsRedirect() bool
- func (o *PerformPreventionPoliciesActionTooManyRequests) IsServerError() bool
- func (o *PerformPreventionPoliciesActionTooManyRequests) IsSuccess() bool
- func (o *PerformPreventionPoliciesActionTooManyRequests) String() string
- type QueryCombinedPreventionPoliciesBadRequest
- func (o *QueryCombinedPreventionPoliciesBadRequest) Error() string
- func (o *QueryCombinedPreventionPoliciesBadRequest) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *QueryCombinedPreventionPoliciesBadRequest) IsClientError() bool
- func (o *QueryCombinedPreventionPoliciesBadRequest) IsCode(code int) bool
- func (o *QueryCombinedPreventionPoliciesBadRequest) IsRedirect() bool
- func (o *QueryCombinedPreventionPoliciesBadRequest) IsServerError() bool
- func (o *QueryCombinedPreventionPoliciesBadRequest) IsSuccess() bool
- func (o *QueryCombinedPreventionPoliciesBadRequest) String() string
- type QueryCombinedPreventionPoliciesDefault
- func (o *QueryCombinedPreventionPoliciesDefault) Code() int
- func (o *QueryCombinedPreventionPoliciesDefault) Error() string
- func (o *QueryCombinedPreventionPoliciesDefault) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *QueryCombinedPreventionPoliciesDefault) IsClientError() bool
- func (o *QueryCombinedPreventionPoliciesDefault) IsCode(code int) bool
- func (o *QueryCombinedPreventionPoliciesDefault) IsRedirect() bool
- func (o *QueryCombinedPreventionPoliciesDefault) IsServerError() bool
- func (o *QueryCombinedPreventionPoliciesDefault) IsSuccess() bool
- func (o *QueryCombinedPreventionPoliciesDefault) String() string
- type QueryCombinedPreventionPoliciesForbidden
- func (o *QueryCombinedPreventionPoliciesForbidden) Error() string
- func (o *QueryCombinedPreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
- func (o *QueryCombinedPreventionPoliciesForbidden) IsClientError() bool
- func (o *QueryCombinedPreventionPoliciesForbidden) IsCode(code int) bool
- func (o *QueryCombinedPreventionPoliciesForbidden) IsRedirect() bool
- func (o *QueryCombinedPreventionPoliciesForbidden) IsServerError() bool
- func (o *QueryCombinedPreventionPoliciesForbidden) IsSuccess() bool
- func (o *QueryCombinedPreventionPoliciesForbidden) String() string
- type QueryCombinedPreventionPoliciesInternalServerError
- func (o *QueryCombinedPreventionPoliciesInternalServerError) Error() string
- func (o *QueryCombinedPreventionPoliciesInternalServerError) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *QueryCombinedPreventionPoliciesInternalServerError) IsClientError() bool
- func (o *QueryCombinedPreventionPoliciesInternalServerError) IsCode(code int) bool
- func (o *QueryCombinedPreventionPoliciesInternalServerError) IsRedirect() bool
- func (o *QueryCombinedPreventionPoliciesInternalServerError) IsServerError() bool
- func (o *QueryCombinedPreventionPoliciesInternalServerError) IsSuccess() bool
- func (o *QueryCombinedPreventionPoliciesInternalServerError) String() string
- type QueryCombinedPreventionPoliciesOK
- func (o *QueryCombinedPreventionPoliciesOK) Error() string
- func (o *QueryCombinedPreventionPoliciesOK) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *QueryCombinedPreventionPoliciesOK) IsClientError() bool
- func (o *QueryCombinedPreventionPoliciesOK) IsCode(code int) bool
- func (o *QueryCombinedPreventionPoliciesOK) IsRedirect() bool
- func (o *QueryCombinedPreventionPoliciesOK) IsServerError() bool
- func (o *QueryCombinedPreventionPoliciesOK) IsSuccess() bool
- func (o *QueryCombinedPreventionPoliciesOK) String() string
- type QueryCombinedPreventionPoliciesParams
- func NewQueryCombinedPreventionPoliciesParams() *QueryCombinedPreventionPoliciesParams
- func NewQueryCombinedPreventionPoliciesParamsWithContext(ctx context.Context) *QueryCombinedPreventionPoliciesParams
- func NewQueryCombinedPreventionPoliciesParamsWithHTTPClient(client *http.Client) *QueryCombinedPreventionPoliciesParams
- func NewQueryCombinedPreventionPoliciesParamsWithTimeout(timeout time.Duration) *QueryCombinedPreventionPoliciesParams
- func (o *QueryCombinedPreventionPoliciesParams) SetContext(ctx context.Context)
- func (o *QueryCombinedPreventionPoliciesParams) SetDefaults()
- func (o *QueryCombinedPreventionPoliciesParams) SetFilter(filter *string)
- func (o *QueryCombinedPreventionPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *QueryCombinedPreventionPoliciesParams) SetLimit(limit *int64)
- func (o *QueryCombinedPreventionPoliciesParams) SetOffset(offset *int64)
- func (o *QueryCombinedPreventionPoliciesParams) SetSort(sort *string)
- func (o *QueryCombinedPreventionPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *QueryCombinedPreventionPoliciesParams) WithContext(ctx context.Context) *QueryCombinedPreventionPoliciesParams
- func (o *QueryCombinedPreventionPoliciesParams) WithDefaults() *QueryCombinedPreventionPoliciesParams
- func (o *QueryCombinedPreventionPoliciesParams) WithFilter(filter *string) *QueryCombinedPreventionPoliciesParams
- func (o *QueryCombinedPreventionPoliciesParams) WithHTTPClient(client *http.Client) *QueryCombinedPreventionPoliciesParams
- func (o *QueryCombinedPreventionPoliciesParams) WithLimit(limit *int64) *QueryCombinedPreventionPoliciesParams
- func (o *QueryCombinedPreventionPoliciesParams) WithOffset(offset *int64) *QueryCombinedPreventionPoliciesParams
- func (o *QueryCombinedPreventionPoliciesParams) WithSort(sort *string) *QueryCombinedPreventionPoliciesParams
- func (o *QueryCombinedPreventionPoliciesParams) WithTimeout(timeout time.Duration) *QueryCombinedPreventionPoliciesParams
- func (o *QueryCombinedPreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryCombinedPreventionPoliciesReader
- type QueryCombinedPreventionPoliciesTooManyRequests
- func (o *QueryCombinedPreventionPoliciesTooManyRequests) Error() string
- func (o *QueryCombinedPreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryCombinedPreventionPoliciesTooManyRequests) IsClientError() bool
- func (o *QueryCombinedPreventionPoliciesTooManyRequests) IsCode(code int) bool
- func (o *QueryCombinedPreventionPoliciesTooManyRequests) IsRedirect() bool
- func (o *QueryCombinedPreventionPoliciesTooManyRequests) IsServerError() bool
- func (o *QueryCombinedPreventionPoliciesTooManyRequests) IsSuccess() bool
- func (o *QueryCombinedPreventionPoliciesTooManyRequests) String() string
- type QueryCombinedPreventionPolicyMembersBadRequest
- func (o *QueryCombinedPreventionPolicyMembersBadRequest) Error() string
- func (o *QueryCombinedPreventionPolicyMembersBadRequest) GetPayload() *models.ResponsesPolicyMembersRespV1
- func (o *QueryCombinedPreventionPolicyMembersBadRequest) IsClientError() bool
- func (o *QueryCombinedPreventionPolicyMembersBadRequest) IsCode(code int) bool
- func (o *QueryCombinedPreventionPolicyMembersBadRequest) IsRedirect() bool
- func (o *QueryCombinedPreventionPolicyMembersBadRequest) IsServerError() bool
- func (o *QueryCombinedPreventionPolicyMembersBadRequest) IsSuccess() bool
- func (o *QueryCombinedPreventionPolicyMembersBadRequest) String() string
- type QueryCombinedPreventionPolicyMembersDefault
- func (o *QueryCombinedPreventionPolicyMembersDefault) Code() int
- func (o *QueryCombinedPreventionPolicyMembersDefault) Error() string
- func (o *QueryCombinedPreventionPolicyMembersDefault) GetPayload() *models.ResponsesPolicyMembersRespV1
- func (o *QueryCombinedPreventionPolicyMembersDefault) IsClientError() bool
- func (o *QueryCombinedPreventionPolicyMembersDefault) IsCode(code int) bool
- func (o *QueryCombinedPreventionPolicyMembersDefault) IsRedirect() bool
- func (o *QueryCombinedPreventionPolicyMembersDefault) IsServerError() bool
- func (o *QueryCombinedPreventionPolicyMembersDefault) IsSuccess() bool
- func (o *QueryCombinedPreventionPolicyMembersDefault) String() string
- type QueryCombinedPreventionPolicyMembersForbidden
- func (o *QueryCombinedPreventionPolicyMembersForbidden) Error() string
- func (o *QueryCombinedPreventionPolicyMembersForbidden) GetPayload() *models.MsaErrorsOnly
- func (o *QueryCombinedPreventionPolicyMembersForbidden) IsClientError() bool
- func (o *QueryCombinedPreventionPolicyMembersForbidden) IsCode(code int) bool
- func (o *QueryCombinedPreventionPolicyMembersForbidden) IsRedirect() bool
- func (o *QueryCombinedPreventionPolicyMembersForbidden) IsServerError() bool
- func (o *QueryCombinedPreventionPolicyMembersForbidden) IsSuccess() bool
- func (o *QueryCombinedPreventionPolicyMembersForbidden) String() string
- type QueryCombinedPreventionPolicyMembersInternalServerError
- func (o *QueryCombinedPreventionPolicyMembersInternalServerError) Error() string
- func (o *QueryCombinedPreventionPolicyMembersInternalServerError) GetPayload() *models.ResponsesPolicyMembersRespV1
- func (o *QueryCombinedPreventionPolicyMembersInternalServerError) IsClientError() bool
- func (o *QueryCombinedPreventionPolicyMembersInternalServerError) IsCode(code int) bool
- func (o *QueryCombinedPreventionPolicyMembersInternalServerError) IsRedirect() bool
- func (o *QueryCombinedPreventionPolicyMembersInternalServerError) IsServerError() bool
- func (o *QueryCombinedPreventionPolicyMembersInternalServerError) IsSuccess() bool
- func (o *QueryCombinedPreventionPolicyMembersInternalServerError) String() string
- type QueryCombinedPreventionPolicyMembersNotFound
- func (o *QueryCombinedPreventionPolicyMembersNotFound) Error() string
- func (o *QueryCombinedPreventionPolicyMembersNotFound) GetPayload() *models.ResponsesPolicyMembersRespV1
- func (o *QueryCombinedPreventionPolicyMembersNotFound) IsClientError() bool
- func (o *QueryCombinedPreventionPolicyMembersNotFound) IsCode(code int) bool
- func (o *QueryCombinedPreventionPolicyMembersNotFound) IsRedirect() bool
- func (o *QueryCombinedPreventionPolicyMembersNotFound) IsServerError() bool
- func (o *QueryCombinedPreventionPolicyMembersNotFound) IsSuccess() bool
- func (o *QueryCombinedPreventionPolicyMembersNotFound) String() string
- type QueryCombinedPreventionPolicyMembersOK
- func (o *QueryCombinedPreventionPolicyMembersOK) Error() string
- func (o *QueryCombinedPreventionPolicyMembersOK) GetPayload() *models.ResponsesPolicyMembersRespV1
- func (o *QueryCombinedPreventionPolicyMembersOK) IsClientError() bool
- func (o *QueryCombinedPreventionPolicyMembersOK) IsCode(code int) bool
- func (o *QueryCombinedPreventionPolicyMembersOK) IsRedirect() bool
- func (o *QueryCombinedPreventionPolicyMembersOK) IsServerError() bool
- func (o *QueryCombinedPreventionPolicyMembersOK) IsSuccess() bool
- func (o *QueryCombinedPreventionPolicyMembersOK) String() string
- type QueryCombinedPreventionPolicyMembersParams
- func NewQueryCombinedPreventionPolicyMembersParams() *QueryCombinedPreventionPolicyMembersParams
- func NewQueryCombinedPreventionPolicyMembersParamsWithContext(ctx context.Context) *QueryCombinedPreventionPolicyMembersParams
- func NewQueryCombinedPreventionPolicyMembersParamsWithHTTPClient(client *http.Client) *QueryCombinedPreventionPolicyMembersParams
- func NewQueryCombinedPreventionPolicyMembersParamsWithTimeout(timeout time.Duration) *QueryCombinedPreventionPolicyMembersParams
- func (o *QueryCombinedPreventionPolicyMembersParams) SetContext(ctx context.Context)
- func (o *QueryCombinedPreventionPolicyMembersParams) SetDefaults()
- func (o *QueryCombinedPreventionPolicyMembersParams) SetFilter(filter *string)
- func (o *QueryCombinedPreventionPolicyMembersParams) SetHTTPClient(client *http.Client)
- func (o *QueryCombinedPreventionPolicyMembersParams) SetID(id *string)
- func (o *QueryCombinedPreventionPolicyMembersParams) SetLimit(limit *int64)
- func (o *QueryCombinedPreventionPolicyMembersParams) SetOffset(offset *int64)
- func (o *QueryCombinedPreventionPolicyMembersParams) SetSort(sort *string)
- func (o *QueryCombinedPreventionPolicyMembersParams) SetTimeout(timeout time.Duration)
- func (o *QueryCombinedPreventionPolicyMembersParams) WithContext(ctx context.Context) *QueryCombinedPreventionPolicyMembersParams
- func (o *QueryCombinedPreventionPolicyMembersParams) WithDefaults() *QueryCombinedPreventionPolicyMembersParams
- func (o *QueryCombinedPreventionPolicyMembersParams) WithFilter(filter *string) *QueryCombinedPreventionPolicyMembersParams
- func (o *QueryCombinedPreventionPolicyMembersParams) WithHTTPClient(client *http.Client) *QueryCombinedPreventionPolicyMembersParams
- func (o *QueryCombinedPreventionPolicyMembersParams) WithID(id *string) *QueryCombinedPreventionPolicyMembersParams
- func (o *QueryCombinedPreventionPolicyMembersParams) WithLimit(limit *int64) *QueryCombinedPreventionPolicyMembersParams
- func (o *QueryCombinedPreventionPolicyMembersParams) WithOffset(offset *int64) *QueryCombinedPreventionPolicyMembersParams
- func (o *QueryCombinedPreventionPolicyMembersParams) WithSort(sort *string) *QueryCombinedPreventionPolicyMembersParams
- func (o *QueryCombinedPreventionPolicyMembersParams) WithTimeout(timeout time.Duration) *QueryCombinedPreventionPolicyMembersParams
- func (o *QueryCombinedPreventionPolicyMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryCombinedPreventionPolicyMembersReader
- type QueryCombinedPreventionPolicyMembersTooManyRequests
- func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) Error() string
- func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) IsClientError() bool
- func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) IsCode(code int) bool
- func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) IsRedirect() bool
- func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) IsServerError() bool
- func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) IsSuccess() bool
- func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) String() string
- type QueryPreventionPoliciesBadRequest
- func (o *QueryPreventionPoliciesBadRequest) Error() string
- func (o *QueryPreventionPoliciesBadRequest) GetPayload() *models.MsaQueryResponse
- func (o *QueryPreventionPoliciesBadRequest) IsClientError() bool
- func (o *QueryPreventionPoliciesBadRequest) IsCode(code int) bool
- func (o *QueryPreventionPoliciesBadRequest) IsRedirect() bool
- func (o *QueryPreventionPoliciesBadRequest) IsServerError() bool
- func (o *QueryPreventionPoliciesBadRequest) IsSuccess() bool
- func (o *QueryPreventionPoliciesBadRequest) String() string
- type QueryPreventionPoliciesDefault
- func (o *QueryPreventionPoliciesDefault) Code() int
- func (o *QueryPreventionPoliciesDefault) Error() string
- func (o *QueryPreventionPoliciesDefault) GetPayload() *models.MsaQueryResponse
- func (o *QueryPreventionPoliciesDefault) IsClientError() bool
- func (o *QueryPreventionPoliciesDefault) IsCode(code int) bool
- func (o *QueryPreventionPoliciesDefault) IsRedirect() bool
- func (o *QueryPreventionPoliciesDefault) IsServerError() bool
- func (o *QueryPreventionPoliciesDefault) IsSuccess() bool
- func (o *QueryPreventionPoliciesDefault) String() string
- type QueryPreventionPoliciesForbidden
- func (o *QueryPreventionPoliciesForbidden) Error() string
- func (o *QueryPreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
- func (o *QueryPreventionPoliciesForbidden) IsClientError() bool
- func (o *QueryPreventionPoliciesForbidden) IsCode(code int) bool
- func (o *QueryPreventionPoliciesForbidden) IsRedirect() bool
- func (o *QueryPreventionPoliciesForbidden) IsServerError() bool
- func (o *QueryPreventionPoliciesForbidden) IsSuccess() bool
- func (o *QueryPreventionPoliciesForbidden) String() string
- type QueryPreventionPoliciesInternalServerError
- func (o *QueryPreventionPoliciesInternalServerError) Error() string
- func (o *QueryPreventionPoliciesInternalServerError) GetPayload() *models.MsaQueryResponse
- func (o *QueryPreventionPoliciesInternalServerError) IsClientError() bool
- func (o *QueryPreventionPoliciesInternalServerError) IsCode(code int) bool
- func (o *QueryPreventionPoliciesInternalServerError) IsRedirect() bool
- func (o *QueryPreventionPoliciesInternalServerError) IsServerError() bool
- func (o *QueryPreventionPoliciesInternalServerError) IsSuccess() bool
- func (o *QueryPreventionPoliciesInternalServerError) String() string
- type QueryPreventionPoliciesOK
- func (o *QueryPreventionPoliciesOK) Error() string
- func (o *QueryPreventionPoliciesOK) GetPayload() *models.MsaQueryResponse
- func (o *QueryPreventionPoliciesOK) IsClientError() bool
- func (o *QueryPreventionPoliciesOK) IsCode(code int) bool
- func (o *QueryPreventionPoliciesOK) IsRedirect() bool
- func (o *QueryPreventionPoliciesOK) IsServerError() bool
- func (o *QueryPreventionPoliciesOK) IsSuccess() bool
- func (o *QueryPreventionPoliciesOK) String() string
- type QueryPreventionPoliciesParams
- func NewQueryPreventionPoliciesParams() *QueryPreventionPoliciesParams
- func NewQueryPreventionPoliciesParamsWithContext(ctx context.Context) *QueryPreventionPoliciesParams
- func NewQueryPreventionPoliciesParamsWithHTTPClient(client *http.Client) *QueryPreventionPoliciesParams
- func NewQueryPreventionPoliciesParamsWithTimeout(timeout time.Duration) *QueryPreventionPoliciesParams
- func (o *QueryPreventionPoliciesParams) SetContext(ctx context.Context)
- func (o *QueryPreventionPoliciesParams) SetDefaults()
- func (o *QueryPreventionPoliciesParams) SetFilter(filter *string)
- func (o *QueryPreventionPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *QueryPreventionPoliciesParams) SetLimit(limit *int64)
- func (o *QueryPreventionPoliciesParams) SetOffset(offset *int64)
- func (o *QueryPreventionPoliciesParams) SetSort(sort *string)
- func (o *QueryPreventionPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *QueryPreventionPoliciesParams) WithContext(ctx context.Context) *QueryPreventionPoliciesParams
- func (o *QueryPreventionPoliciesParams) WithDefaults() *QueryPreventionPoliciesParams
- func (o *QueryPreventionPoliciesParams) WithFilter(filter *string) *QueryPreventionPoliciesParams
- func (o *QueryPreventionPoliciesParams) WithHTTPClient(client *http.Client) *QueryPreventionPoliciesParams
- func (o *QueryPreventionPoliciesParams) WithLimit(limit *int64) *QueryPreventionPoliciesParams
- func (o *QueryPreventionPoliciesParams) WithOffset(offset *int64) *QueryPreventionPoliciesParams
- func (o *QueryPreventionPoliciesParams) WithSort(sort *string) *QueryPreventionPoliciesParams
- func (o *QueryPreventionPoliciesParams) WithTimeout(timeout time.Duration) *QueryPreventionPoliciesParams
- func (o *QueryPreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryPreventionPoliciesReader
- type QueryPreventionPoliciesTooManyRequests
- func (o *QueryPreventionPoliciesTooManyRequests) Error() string
- func (o *QueryPreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryPreventionPoliciesTooManyRequests) IsClientError() bool
- func (o *QueryPreventionPoliciesTooManyRequests) IsCode(code int) bool
- func (o *QueryPreventionPoliciesTooManyRequests) IsRedirect() bool
- func (o *QueryPreventionPoliciesTooManyRequests) IsServerError() bool
- func (o *QueryPreventionPoliciesTooManyRequests) IsSuccess() bool
- func (o *QueryPreventionPoliciesTooManyRequests) String() string
- type QueryPreventionPolicyMembersBadRequest
- func (o *QueryPreventionPolicyMembersBadRequest) Error() string
- func (o *QueryPreventionPolicyMembersBadRequest) GetPayload() *models.MsaQueryResponse
- func (o *QueryPreventionPolicyMembersBadRequest) IsClientError() bool
- func (o *QueryPreventionPolicyMembersBadRequest) IsCode(code int) bool
- func (o *QueryPreventionPolicyMembersBadRequest) IsRedirect() bool
- func (o *QueryPreventionPolicyMembersBadRequest) IsServerError() bool
- func (o *QueryPreventionPolicyMembersBadRequest) IsSuccess() bool
- func (o *QueryPreventionPolicyMembersBadRequest) String() string
- type QueryPreventionPolicyMembersDefault
- func (o *QueryPreventionPolicyMembersDefault) Code() int
- func (o *QueryPreventionPolicyMembersDefault) Error() string
- func (o *QueryPreventionPolicyMembersDefault) GetPayload() *models.MsaQueryResponse
- func (o *QueryPreventionPolicyMembersDefault) IsClientError() bool
- func (o *QueryPreventionPolicyMembersDefault) IsCode(code int) bool
- func (o *QueryPreventionPolicyMembersDefault) IsRedirect() bool
- func (o *QueryPreventionPolicyMembersDefault) IsServerError() bool
- func (o *QueryPreventionPolicyMembersDefault) IsSuccess() bool
- func (o *QueryPreventionPolicyMembersDefault) String() string
- type QueryPreventionPolicyMembersForbidden
- func (o *QueryPreventionPolicyMembersForbidden) Error() string
- func (o *QueryPreventionPolicyMembersForbidden) GetPayload() *models.MsaErrorsOnly
- func (o *QueryPreventionPolicyMembersForbidden) IsClientError() bool
- func (o *QueryPreventionPolicyMembersForbidden) IsCode(code int) bool
- func (o *QueryPreventionPolicyMembersForbidden) IsRedirect() bool
- func (o *QueryPreventionPolicyMembersForbidden) IsServerError() bool
- func (o *QueryPreventionPolicyMembersForbidden) IsSuccess() bool
- func (o *QueryPreventionPolicyMembersForbidden) String() string
- type QueryPreventionPolicyMembersInternalServerError
- func (o *QueryPreventionPolicyMembersInternalServerError) Error() string
- func (o *QueryPreventionPolicyMembersInternalServerError) GetPayload() *models.MsaQueryResponse
- func (o *QueryPreventionPolicyMembersInternalServerError) IsClientError() bool
- func (o *QueryPreventionPolicyMembersInternalServerError) IsCode(code int) bool
- func (o *QueryPreventionPolicyMembersInternalServerError) IsRedirect() bool
- func (o *QueryPreventionPolicyMembersInternalServerError) IsServerError() bool
- func (o *QueryPreventionPolicyMembersInternalServerError) IsSuccess() bool
- func (o *QueryPreventionPolicyMembersInternalServerError) String() string
- type QueryPreventionPolicyMembersNotFound
- func (o *QueryPreventionPolicyMembersNotFound) Error() string
- func (o *QueryPreventionPolicyMembersNotFound) GetPayload() *models.MsaQueryResponse
- func (o *QueryPreventionPolicyMembersNotFound) IsClientError() bool
- func (o *QueryPreventionPolicyMembersNotFound) IsCode(code int) bool
- func (o *QueryPreventionPolicyMembersNotFound) IsRedirect() bool
- func (o *QueryPreventionPolicyMembersNotFound) IsServerError() bool
- func (o *QueryPreventionPolicyMembersNotFound) IsSuccess() bool
- func (o *QueryPreventionPolicyMembersNotFound) String() string
- type QueryPreventionPolicyMembersOK
- func (o *QueryPreventionPolicyMembersOK) Error() string
- func (o *QueryPreventionPolicyMembersOK) GetPayload() *models.MsaQueryResponse
- func (o *QueryPreventionPolicyMembersOK) IsClientError() bool
- func (o *QueryPreventionPolicyMembersOK) IsCode(code int) bool
- func (o *QueryPreventionPolicyMembersOK) IsRedirect() bool
- func (o *QueryPreventionPolicyMembersOK) IsServerError() bool
- func (o *QueryPreventionPolicyMembersOK) IsSuccess() bool
- func (o *QueryPreventionPolicyMembersOK) String() string
- type QueryPreventionPolicyMembersParams
- func NewQueryPreventionPolicyMembersParams() *QueryPreventionPolicyMembersParams
- func NewQueryPreventionPolicyMembersParamsWithContext(ctx context.Context) *QueryPreventionPolicyMembersParams
- func NewQueryPreventionPolicyMembersParamsWithHTTPClient(client *http.Client) *QueryPreventionPolicyMembersParams
- func NewQueryPreventionPolicyMembersParamsWithTimeout(timeout time.Duration) *QueryPreventionPolicyMembersParams
- func (o *QueryPreventionPolicyMembersParams) SetContext(ctx context.Context)
- func (o *QueryPreventionPolicyMembersParams) SetDefaults()
- func (o *QueryPreventionPolicyMembersParams) SetFilter(filter *string)
- func (o *QueryPreventionPolicyMembersParams) SetHTTPClient(client *http.Client)
- func (o *QueryPreventionPolicyMembersParams) SetID(id *string)
- func (o *QueryPreventionPolicyMembersParams) SetLimit(limit *int64)
- func (o *QueryPreventionPolicyMembersParams) SetOffset(offset *int64)
- func (o *QueryPreventionPolicyMembersParams) SetSort(sort *string)
- func (o *QueryPreventionPolicyMembersParams) SetTimeout(timeout time.Duration)
- func (o *QueryPreventionPolicyMembersParams) WithContext(ctx context.Context) *QueryPreventionPolicyMembersParams
- func (o *QueryPreventionPolicyMembersParams) WithDefaults() *QueryPreventionPolicyMembersParams
- func (o *QueryPreventionPolicyMembersParams) WithFilter(filter *string) *QueryPreventionPolicyMembersParams
- func (o *QueryPreventionPolicyMembersParams) WithHTTPClient(client *http.Client) *QueryPreventionPolicyMembersParams
- func (o *QueryPreventionPolicyMembersParams) WithID(id *string) *QueryPreventionPolicyMembersParams
- func (o *QueryPreventionPolicyMembersParams) WithLimit(limit *int64) *QueryPreventionPolicyMembersParams
- func (o *QueryPreventionPolicyMembersParams) WithOffset(offset *int64) *QueryPreventionPolicyMembersParams
- func (o *QueryPreventionPolicyMembersParams) WithSort(sort *string) *QueryPreventionPolicyMembersParams
- func (o *QueryPreventionPolicyMembersParams) WithTimeout(timeout time.Duration) *QueryPreventionPolicyMembersParams
- func (o *QueryPreventionPolicyMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryPreventionPolicyMembersReader
- type QueryPreventionPolicyMembersTooManyRequests
- func (o *QueryPreventionPolicyMembersTooManyRequests) Error() string
- func (o *QueryPreventionPolicyMembersTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryPreventionPolicyMembersTooManyRequests) IsClientError() bool
- func (o *QueryPreventionPolicyMembersTooManyRequests) IsCode(code int) bool
- func (o *QueryPreventionPolicyMembersTooManyRequests) IsRedirect() bool
- func (o *QueryPreventionPolicyMembersTooManyRequests) IsServerError() bool
- func (o *QueryPreventionPolicyMembersTooManyRequests) IsSuccess() bool
- func (o *QueryPreventionPolicyMembersTooManyRequests) String() string
- type SetPreventionPoliciesPrecedenceBadRequest
- func (o *SetPreventionPoliciesPrecedenceBadRequest) Error() string
- func (o *SetPreventionPoliciesPrecedenceBadRequest) GetPayload() *models.MsaQueryResponse
- func (o *SetPreventionPoliciesPrecedenceBadRequest) IsClientError() bool
- func (o *SetPreventionPoliciesPrecedenceBadRequest) IsCode(code int) bool
- func (o *SetPreventionPoliciesPrecedenceBadRequest) IsRedirect() bool
- func (o *SetPreventionPoliciesPrecedenceBadRequest) IsServerError() bool
- func (o *SetPreventionPoliciesPrecedenceBadRequest) IsSuccess() bool
- func (o *SetPreventionPoliciesPrecedenceBadRequest) String() string
- type SetPreventionPoliciesPrecedenceDefault
- func (o *SetPreventionPoliciesPrecedenceDefault) Code() int
- func (o *SetPreventionPoliciesPrecedenceDefault) Error() string
- func (o *SetPreventionPoliciesPrecedenceDefault) GetPayload() *models.MsaQueryResponse
- func (o *SetPreventionPoliciesPrecedenceDefault) IsClientError() bool
- func (o *SetPreventionPoliciesPrecedenceDefault) IsCode(code int) bool
- func (o *SetPreventionPoliciesPrecedenceDefault) IsRedirect() bool
- func (o *SetPreventionPoliciesPrecedenceDefault) IsServerError() bool
- func (o *SetPreventionPoliciesPrecedenceDefault) IsSuccess() bool
- func (o *SetPreventionPoliciesPrecedenceDefault) String() string
- type SetPreventionPoliciesPrecedenceForbidden
- func (o *SetPreventionPoliciesPrecedenceForbidden) Error() string
- func (o *SetPreventionPoliciesPrecedenceForbidden) GetPayload() *models.MsaErrorsOnly
- func (o *SetPreventionPoliciesPrecedenceForbidden) IsClientError() bool
- func (o *SetPreventionPoliciesPrecedenceForbidden) IsCode(code int) bool
- func (o *SetPreventionPoliciesPrecedenceForbidden) IsRedirect() bool
- func (o *SetPreventionPoliciesPrecedenceForbidden) IsServerError() bool
- func (o *SetPreventionPoliciesPrecedenceForbidden) IsSuccess() bool
- func (o *SetPreventionPoliciesPrecedenceForbidden) String() string
- type SetPreventionPoliciesPrecedenceInternalServerError
- func (o *SetPreventionPoliciesPrecedenceInternalServerError) Error() string
- func (o *SetPreventionPoliciesPrecedenceInternalServerError) GetPayload() *models.MsaQueryResponse
- func (o *SetPreventionPoliciesPrecedenceInternalServerError) IsClientError() bool
- func (o *SetPreventionPoliciesPrecedenceInternalServerError) IsCode(code int) bool
- func (o *SetPreventionPoliciesPrecedenceInternalServerError) IsRedirect() bool
- func (o *SetPreventionPoliciesPrecedenceInternalServerError) IsServerError() bool
- func (o *SetPreventionPoliciesPrecedenceInternalServerError) IsSuccess() bool
- func (o *SetPreventionPoliciesPrecedenceInternalServerError) String() string
- type SetPreventionPoliciesPrecedenceOK
- func (o *SetPreventionPoliciesPrecedenceOK) Error() string
- func (o *SetPreventionPoliciesPrecedenceOK) GetPayload() *models.MsaQueryResponse
- func (o *SetPreventionPoliciesPrecedenceOK) IsClientError() bool
- func (o *SetPreventionPoliciesPrecedenceOK) IsCode(code int) bool
- func (o *SetPreventionPoliciesPrecedenceOK) IsRedirect() bool
- func (o *SetPreventionPoliciesPrecedenceOK) IsServerError() bool
- func (o *SetPreventionPoliciesPrecedenceOK) IsSuccess() bool
- func (o *SetPreventionPoliciesPrecedenceOK) String() string
- type SetPreventionPoliciesPrecedenceParams
- func NewSetPreventionPoliciesPrecedenceParams() *SetPreventionPoliciesPrecedenceParams
- func NewSetPreventionPoliciesPrecedenceParamsWithContext(ctx context.Context) *SetPreventionPoliciesPrecedenceParams
- func NewSetPreventionPoliciesPrecedenceParamsWithHTTPClient(client *http.Client) *SetPreventionPoliciesPrecedenceParams
- func NewSetPreventionPoliciesPrecedenceParamsWithTimeout(timeout time.Duration) *SetPreventionPoliciesPrecedenceParams
- func (o *SetPreventionPoliciesPrecedenceParams) SetBody(body *models.RequestsSetPolicyPrecedenceReqV1)
- func (o *SetPreventionPoliciesPrecedenceParams) SetContext(ctx context.Context)
- func (o *SetPreventionPoliciesPrecedenceParams) SetDefaults()
- func (o *SetPreventionPoliciesPrecedenceParams) SetHTTPClient(client *http.Client)
- func (o *SetPreventionPoliciesPrecedenceParams) SetTimeout(timeout time.Duration)
- func (o *SetPreventionPoliciesPrecedenceParams) WithBody(body *models.RequestsSetPolicyPrecedenceReqV1) *SetPreventionPoliciesPrecedenceParams
- func (o *SetPreventionPoliciesPrecedenceParams) WithContext(ctx context.Context) *SetPreventionPoliciesPrecedenceParams
- func (o *SetPreventionPoliciesPrecedenceParams) WithDefaults() *SetPreventionPoliciesPrecedenceParams
- func (o *SetPreventionPoliciesPrecedenceParams) WithHTTPClient(client *http.Client) *SetPreventionPoliciesPrecedenceParams
- func (o *SetPreventionPoliciesPrecedenceParams) WithTimeout(timeout time.Duration) *SetPreventionPoliciesPrecedenceParams
- func (o *SetPreventionPoliciesPrecedenceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetPreventionPoliciesPrecedenceReader
- type SetPreventionPoliciesPrecedenceTooManyRequests
- func (o *SetPreventionPoliciesPrecedenceTooManyRequests) Error() string
- func (o *SetPreventionPoliciesPrecedenceTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *SetPreventionPoliciesPrecedenceTooManyRequests) IsClientError() bool
- func (o *SetPreventionPoliciesPrecedenceTooManyRequests) IsCode(code int) bool
- func (o *SetPreventionPoliciesPrecedenceTooManyRequests) IsRedirect() bool
- func (o *SetPreventionPoliciesPrecedenceTooManyRequests) IsServerError() bool
- func (o *SetPreventionPoliciesPrecedenceTooManyRequests) IsSuccess() bool
- func (o *SetPreventionPoliciesPrecedenceTooManyRequests) String() string
- type UpdatePreventionPoliciesBadRequest
- func (o *UpdatePreventionPoliciesBadRequest) Error() string
- func (o *UpdatePreventionPoliciesBadRequest) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *UpdatePreventionPoliciesBadRequest) IsClientError() bool
- func (o *UpdatePreventionPoliciesBadRequest) IsCode(code int) bool
- func (o *UpdatePreventionPoliciesBadRequest) IsRedirect() bool
- func (o *UpdatePreventionPoliciesBadRequest) IsServerError() bool
- func (o *UpdatePreventionPoliciesBadRequest) IsSuccess() bool
- func (o *UpdatePreventionPoliciesBadRequest) String() string
- type UpdatePreventionPoliciesDefault
- func (o *UpdatePreventionPoliciesDefault) Code() int
- func (o *UpdatePreventionPoliciesDefault) Error() string
- func (o *UpdatePreventionPoliciesDefault) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *UpdatePreventionPoliciesDefault) IsClientError() bool
- func (o *UpdatePreventionPoliciesDefault) IsCode(code int) bool
- func (o *UpdatePreventionPoliciesDefault) IsRedirect() bool
- func (o *UpdatePreventionPoliciesDefault) IsServerError() bool
- func (o *UpdatePreventionPoliciesDefault) IsSuccess() bool
- func (o *UpdatePreventionPoliciesDefault) String() string
- type UpdatePreventionPoliciesForbidden
- func (o *UpdatePreventionPoliciesForbidden) Error() string
- func (o *UpdatePreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
- func (o *UpdatePreventionPoliciesForbidden) IsClientError() bool
- func (o *UpdatePreventionPoliciesForbidden) IsCode(code int) bool
- func (o *UpdatePreventionPoliciesForbidden) IsRedirect() bool
- func (o *UpdatePreventionPoliciesForbidden) IsServerError() bool
- func (o *UpdatePreventionPoliciesForbidden) IsSuccess() bool
- func (o *UpdatePreventionPoliciesForbidden) String() string
- type UpdatePreventionPoliciesInternalServerError
- func (o *UpdatePreventionPoliciesInternalServerError) Error() string
- func (o *UpdatePreventionPoliciesInternalServerError) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *UpdatePreventionPoliciesInternalServerError) IsClientError() bool
- func (o *UpdatePreventionPoliciesInternalServerError) IsCode(code int) bool
- func (o *UpdatePreventionPoliciesInternalServerError) IsRedirect() bool
- func (o *UpdatePreventionPoliciesInternalServerError) IsServerError() bool
- func (o *UpdatePreventionPoliciesInternalServerError) IsSuccess() bool
- func (o *UpdatePreventionPoliciesInternalServerError) String() string
- type UpdatePreventionPoliciesNotFound
- func (o *UpdatePreventionPoliciesNotFound) Error() string
- func (o *UpdatePreventionPoliciesNotFound) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *UpdatePreventionPoliciesNotFound) IsClientError() bool
- func (o *UpdatePreventionPoliciesNotFound) IsCode(code int) bool
- func (o *UpdatePreventionPoliciesNotFound) IsRedirect() bool
- func (o *UpdatePreventionPoliciesNotFound) IsServerError() bool
- func (o *UpdatePreventionPoliciesNotFound) IsSuccess() bool
- func (o *UpdatePreventionPoliciesNotFound) String() string
- type UpdatePreventionPoliciesOK
- func (o *UpdatePreventionPoliciesOK) Error() string
- func (o *UpdatePreventionPoliciesOK) GetPayload() *models.ResponsesPreventionPoliciesV1
- func (o *UpdatePreventionPoliciesOK) IsClientError() bool
- func (o *UpdatePreventionPoliciesOK) IsCode(code int) bool
- func (o *UpdatePreventionPoliciesOK) IsRedirect() bool
- func (o *UpdatePreventionPoliciesOK) IsServerError() bool
- func (o *UpdatePreventionPoliciesOK) IsSuccess() bool
- func (o *UpdatePreventionPoliciesOK) String() string
- type UpdatePreventionPoliciesParams
- func NewUpdatePreventionPoliciesParams() *UpdatePreventionPoliciesParams
- func NewUpdatePreventionPoliciesParamsWithContext(ctx context.Context) *UpdatePreventionPoliciesParams
- func NewUpdatePreventionPoliciesParamsWithHTTPClient(client *http.Client) *UpdatePreventionPoliciesParams
- func NewUpdatePreventionPoliciesParamsWithTimeout(timeout time.Duration) *UpdatePreventionPoliciesParams
- func (o *UpdatePreventionPoliciesParams) SetBody(body *models.RequestsUpdatePreventionPoliciesV1)
- func (o *UpdatePreventionPoliciesParams) SetContext(ctx context.Context)
- func (o *UpdatePreventionPoliciesParams) SetDefaults()
- func (o *UpdatePreventionPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePreventionPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePreventionPoliciesParams) WithBody(body *models.RequestsUpdatePreventionPoliciesV1) *UpdatePreventionPoliciesParams
- func (o *UpdatePreventionPoliciesParams) WithContext(ctx context.Context) *UpdatePreventionPoliciesParams
- func (o *UpdatePreventionPoliciesParams) WithDefaults() *UpdatePreventionPoliciesParams
- func (o *UpdatePreventionPoliciesParams) WithHTTPClient(client *http.Client) *UpdatePreventionPoliciesParams
- func (o *UpdatePreventionPoliciesParams) WithTimeout(timeout time.Duration) *UpdatePreventionPoliciesParams
- func (o *UpdatePreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePreventionPoliciesReader
- type UpdatePreventionPoliciesTooManyRequests
- func (o *UpdatePreventionPoliciesTooManyRequests) Error() string
- func (o *UpdatePreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdatePreventionPoliciesTooManyRequests) IsClientError() bool
- func (o *UpdatePreventionPoliciesTooManyRequests) IsCode(code int) bool
- func (o *UpdatePreventionPoliciesTooManyRequests) IsRedirect() bool
- func (o *UpdatePreventionPoliciesTooManyRequests) IsServerError() bool
- func (o *UpdatePreventionPoliciesTooManyRequests) IsSuccess() bool
- func (o *UpdatePreventionPoliciesTooManyRequests) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for prevention policies API
func (*Client) CreatePreventionPolicies ¶
func (a *Client) CreatePreventionPolicies(params *CreatePreventionPoliciesParams, opts ...ClientOption) (*CreatePreventionPoliciesCreated, error)
CreatePreventionPolicies creates prevention policies by specifying details about the policy to create
func (*Client) DeletePreventionPolicies ¶
func (a *Client) DeletePreventionPolicies(params *DeletePreventionPoliciesParams, opts ...ClientOption) (*DeletePreventionPoliciesOK, error)
DeletePreventionPolicies deletes a set of prevention policies by specifying their i ds
func (*Client) GetPreventionPolicies ¶
func (a *Client) GetPreventionPolicies(params *GetPreventionPoliciesParams, opts ...ClientOption) (*GetPreventionPoliciesOK, error)
GetPreventionPolicies retrieves a set of prevention policies by specifying their i ds
func (*Client) PerformPreventionPoliciesAction ¶
func (a *Client) PerformPreventionPoliciesAction(params *PerformPreventionPoliciesActionParams, opts ...ClientOption) (*PerformPreventionPoliciesActionOK, error)
PerformPreventionPoliciesAction performs the specified action on the prevention policies specified in the request
func (*Client) QueryCombinedPreventionPolicies ¶
func (a *Client) QueryCombinedPreventionPolicies(params *QueryCombinedPreventionPoliciesParams, opts ...ClientOption) (*QueryCombinedPreventionPoliciesOK, error)
QueryCombinedPreventionPolicies searches for prevention policies in your environment by providing an f q l filter and paging details returns a set of prevention policies which match the filter criteria
func (*Client) QueryCombinedPreventionPolicyMembers ¶
func (a *Client) QueryCombinedPreventionPolicyMembers(params *QueryCombinedPreventionPolicyMembersParams, opts ...ClientOption) (*QueryCombinedPreventionPolicyMembersOK, error)
QueryCombinedPreventionPolicyMembers searches for members of a prevention policy in your environment by providing an f q l filter and paging details returns a set of host details which match the filter criteria
func (*Client) QueryPreventionPolicies ¶
func (a *Client) QueryPreventionPolicies(params *QueryPreventionPoliciesParams, opts ...ClientOption) (*QueryPreventionPoliciesOK, error)
QueryPreventionPolicies searches for prevention policies in your environment by providing an f q l filter and paging details returns a set of prevention policy i ds which match the filter criteria
func (*Client) QueryPreventionPolicyMembers ¶
func (a *Client) QueryPreventionPolicyMembers(params *QueryPreventionPolicyMembersParams, opts ...ClientOption) (*QueryPreventionPolicyMembersOK, error)
QueryPreventionPolicyMembers searches for members of a prevention policy in your environment by providing an f q l filter and paging details returns a set of agent i ds which match the filter criteria
func (*Client) SetPreventionPoliciesPrecedence ¶
func (a *Client) SetPreventionPoliciesPrecedence(params *SetPreventionPoliciesPrecedenceParams, opts ...ClientOption) (*SetPreventionPoliciesPrecedenceOK, error)
SetPreventionPoliciesPrecedence sets the precedence of prevention policies based on the order of i ds specified in the request the first ID specified will have the highest precedence and the last ID specified will have the lowest you must specify all non default policies for a platform when updating precedence
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePreventionPolicies ¶
func (a *Client) UpdatePreventionPolicies(params *UpdatePreventionPoliciesParams, opts ...ClientOption) (*UpdatePreventionPoliciesOK, error)
UpdatePreventionPolicies updates prevention policies by specifying the ID of the policy and details to update
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreatePreventionPolicies(params *CreatePreventionPoliciesParams, opts ...ClientOption) (*CreatePreventionPoliciesCreated, error) DeletePreventionPolicies(params *DeletePreventionPoliciesParams, opts ...ClientOption) (*DeletePreventionPoliciesOK, error) GetPreventionPolicies(params *GetPreventionPoliciesParams, opts ...ClientOption) (*GetPreventionPoliciesOK, error) PerformPreventionPoliciesAction(params *PerformPreventionPoliciesActionParams, opts ...ClientOption) (*PerformPreventionPoliciesActionOK, error) QueryCombinedPreventionPolicies(params *QueryCombinedPreventionPoliciesParams, opts ...ClientOption) (*QueryCombinedPreventionPoliciesOK, error) QueryCombinedPreventionPolicyMembers(params *QueryCombinedPreventionPolicyMembersParams, opts ...ClientOption) (*QueryCombinedPreventionPolicyMembersOK, error) QueryPreventionPolicies(params *QueryPreventionPoliciesParams, opts ...ClientOption) (*QueryPreventionPoliciesOK, error) QueryPreventionPolicyMembers(params *QueryPreventionPolicyMembersParams, opts ...ClientOption) (*QueryPreventionPolicyMembersOK, error) SetPreventionPoliciesPrecedence(params *SetPreventionPoliciesPrecedenceParams, opts ...ClientOption) (*SetPreventionPoliciesPrecedenceOK, error) UpdatePreventionPolicies(params *UpdatePreventionPoliciesParams, opts ...ClientOption) (*UpdatePreventionPoliciesOK, 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 prevention policies API client.
type CreatePreventionPoliciesBadRequest ¶
type CreatePreventionPoliciesBadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
CreatePreventionPoliciesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreatePreventionPoliciesBadRequest ¶
func NewCreatePreventionPoliciesBadRequest() *CreatePreventionPoliciesBadRequest
NewCreatePreventionPoliciesBadRequest creates a CreatePreventionPoliciesBadRequest with default headers values
func (*CreatePreventionPoliciesBadRequest) Error ¶
func (o *CreatePreventionPoliciesBadRequest) Error() string
func (*CreatePreventionPoliciesBadRequest) GetPayload ¶
func (o *CreatePreventionPoliciesBadRequest) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*CreatePreventionPoliciesBadRequest) IsClientError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesBadRequest) IsClientError() bool
IsClientError returns true when this create prevention policies bad request response has a 4xx status code
func (*CreatePreventionPoliciesBadRequest) IsCode ¶ added in v0.2.27
func (o *CreatePreventionPoliciesBadRequest) IsCode(code int) bool
IsCode returns true when this create prevention policies bad request response a status code equal to that given
func (*CreatePreventionPoliciesBadRequest) IsRedirect ¶ added in v0.2.27
func (o *CreatePreventionPoliciesBadRequest) IsRedirect() bool
IsRedirect returns true when this create prevention policies bad request response has a 3xx status code
func (*CreatePreventionPoliciesBadRequest) IsServerError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesBadRequest) IsServerError() bool
IsServerError returns true when this create prevention policies bad request response has a 5xx status code
func (*CreatePreventionPoliciesBadRequest) IsSuccess ¶ added in v0.2.27
func (o *CreatePreventionPoliciesBadRequest) IsSuccess() bool
IsSuccess returns true when this create prevention policies bad request response has a 2xx status code
func (*CreatePreventionPoliciesBadRequest) String ¶ added in v0.2.27
func (o *CreatePreventionPoliciesBadRequest) String() string
type CreatePreventionPoliciesCreated ¶
type CreatePreventionPoliciesCreated struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
CreatePreventionPoliciesCreated describes a response with status code 201, with default header values.
Created
func NewCreatePreventionPoliciesCreated ¶
func NewCreatePreventionPoliciesCreated() *CreatePreventionPoliciesCreated
NewCreatePreventionPoliciesCreated creates a CreatePreventionPoliciesCreated with default headers values
func (*CreatePreventionPoliciesCreated) Error ¶
func (o *CreatePreventionPoliciesCreated) Error() string
func (*CreatePreventionPoliciesCreated) GetPayload ¶
func (o *CreatePreventionPoliciesCreated) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*CreatePreventionPoliciesCreated) IsClientError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesCreated) IsClientError() bool
IsClientError returns true when this create prevention policies created response has a 4xx status code
func (*CreatePreventionPoliciesCreated) IsCode ¶ added in v0.2.27
func (o *CreatePreventionPoliciesCreated) IsCode(code int) bool
IsCode returns true when this create prevention policies created response a status code equal to that given
func (*CreatePreventionPoliciesCreated) IsRedirect ¶ added in v0.2.27
func (o *CreatePreventionPoliciesCreated) IsRedirect() bool
IsRedirect returns true when this create prevention policies created response has a 3xx status code
func (*CreatePreventionPoliciesCreated) IsServerError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesCreated) IsServerError() bool
IsServerError returns true when this create prevention policies created response has a 5xx status code
func (*CreatePreventionPoliciesCreated) IsSuccess ¶ added in v0.2.27
func (o *CreatePreventionPoliciesCreated) IsSuccess() bool
IsSuccess returns true when this create prevention policies created response has a 2xx status code
func (*CreatePreventionPoliciesCreated) String ¶ added in v0.2.27
func (o *CreatePreventionPoliciesCreated) String() string
type CreatePreventionPoliciesForbidden ¶
type CreatePreventionPoliciesForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaErrorsOnly }
CreatePreventionPoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreatePreventionPoliciesForbidden ¶
func NewCreatePreventionPoliciesForbidden() *CreatePreventionPoliciesForbidden
NewCreatePreventionPoliciesForbidden creates a CreatePreventionPoliciesForbidden with default headers values
func (*CreatePreventionPoliciesForbidden) Error ¶
func (o *CreatePreventionPoliciesForbidden) Error() string
func (*CreatePreventionPoliciesForbidden) GetPayload ¶
func (o *CreatePreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
func (*CreatePreventionPoliciesForbidden) IsClientError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesForbidden) IsClientError() bool
IsClientError returns true when this create prevention policies forbidden response has a 4xx status code
func (*CreatePreventionPoliciesForbidden) IsCode ¶ added in v0.2.27
func (o *CreatePreventionPoliciesForbidden) IsCode(code int) bool
IsCode returns true when this create prevention policies forbidden response a status code equal to that given
func (*CreatePreventionPoliciesForbidden) IsRedirect ¶ added in v0.2.27
func (o *CreatePreventionPoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this create prevention policies forbidden response has a 3xx status code
func (*CreatePreventionPoliciesForbidden) IsServerError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesForbidden) IsServerError() bool
IsServerError returns true when this create prevention policies forbidden response has a 5xx status code
func (*CreatePreventionPoliciesForbidden) IsSuccess ¶ added in v0.2.27
func (o *CreatePreventionPoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this create prevention policies forbidden response has a 2xx status code
func (*CreatePreventionPoliciesForbidden) String ¶ added in v0.2.27
func (o *CreatePreventionPoliciesForbidden) String() string
type CreatePreventionPoliciesInternalServerError ¶
type CreatePreventionPoliciesInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
CreatePreventionPoliciesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCreatePreventionPoliciesInternalServerError ¶
func NewCreatePreventionPoliciesInternalServerError() *CreatePreventionPoliciesInternalServerError
NewCreatePreventionPoliciesInternalServerError creates a CreatePreventionPoliciesInternalServerError with default headers values
func (*CreatePreventionPoliciesInternalServerError) Error ¶
func (o *CreatePreventionPoliciesInternalServerError) Error() string
func (*CreatePreventionPoliciesInternalServerError) GetPayload ¶
func (o *CreatePreventionPoliciesInternalServerError) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*CreatePreventionPoliciesInternalServerError) IsClientError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesInternalServerError) IsClientError() bool
IsClientError returns true when this create prevention policies internal server error response has a 4xx status code
func (*CreatePreventionPoliciesInternalServerError) IsCode ¶ added in v0.2.27
func (o *CreatePreventionPoliciesInternalServerError) IsCode(code int) bool
IsCode returns true when this create prevention policies internal server error response a status code equal to that given
func (*CreatePreventionPoliciesInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *CreatePreventionPoliciesInternalServerError) IsRedirect() bool
IsRedirect returns true when this create prevention policies internal server error response has a 3xx status code
func (*CreatePreventionPoliciesInternalServerError) IsServerError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesInternalServerError) IsServerError() bool
IsServerError returns true when this create prevention policies internal server error response has a 5xx status code
func (*CreatePreventionPoliciesInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *CreatePreventionPoliciesInternalServerError) IsSuccess() bool
IsSuccess returns true when this create prevention policies internal server error response has a 2xx status code
func (*CreatePreventionPoliciesInternalServerError) String ¶ added in v0.2.27
func (o *CreatePreventionPoliciesInternalServerError) String() string
type CreatePreventionPoliciesNotFound ¶
type CreatePreventionPoliciesNotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
CreatePreventionPoliciesNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreatePreventionPoliciesNotFound ¶
func NewCreatePreventionPoliciesNotFound() *CreatePreventionPoliciesNotFound
NewCreatePreventionPoliciesNotFound creates a CreatePreventionPoliciesNotFound with default headers values
func (*CreatePreventionPoliciesNotFound) Error ¶
func (o *CreatePreventionPoliciesNotFound) Error() string
func (*CreatePreventionPoliciesNotFound) GetPayload ¶
func (o *CreatePreventionPoliciesNotFound) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*CreatePreventionPoliciesNotFound) IsClientError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesNotFound) IsClientError() bool
IsClientError returns true when this create prevention policies not found response has a 4xx status code
func (*CreatePreventionPoliciesNotFound) IsCode ¶ added in v0.2.27
func (o *CreatePreventionPoliciesNotFound) IsCode(code int) bool
IsCode returns true when this create prevention policies not found response a status code equal to that given
func (*CreatePreventionPoliciesNotFound) IsRedirect ¶ added in v0.2.27
func (o *CreatePreventionPoliciesNotFound) IsRedirect() bool
IsRedirect returns true when this create prevention policies not found response has a 3xx status code
func (*CreatePreventionPoliciesNotFound) IsServerError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesNotFound) IsServerError() bool
IsServerError returns true when this create prevention policies not found response has a 5xx status code
func (*CreatePreventionPoliciesNotFound) IsSuccess ¶ added in v0.2.27
func (o *CreatePreventionPoliciesNotFound) IsSuccess() bool
IsSuccess returns true when this create prevention policies not found response has a 2xx status code
func (*CreatePreventionPoliciesNotFound) String ¶ added in v0.2.27
func (o *CreatePreventionPoliciesNotFound) String() string
type CreatePreventionPoliciesParams ¶
type CreatePreventionPoliciesParams struct { // Body. Body *models.RequestsCreatePreventionPoliciesV1 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePreventionPoliciesParams contains all the parameters to send to the API endpoint
for the create prevention policies operation. Typically these are written to a http.Request.
func NewCreatePreventionPoliciesParams ¶
func NewCreatePreventionPoliciesParams() *CreatePreventionPoliciesParams
NewCreatePreventionPoliciesParams creates a new CreatePreventionPoliciesParams 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 NewCreatePreventionPoliciesParamsWithContext ¶
func NewCreatePreventionPoliciesParamsWithContext(ctx context.Context) *CreatePreventionPoliciesParams
NewCreatePreventionPoliciesParamsWithContext creates a new CreatePreventionPoliciesParams object with the ability to set a context for a request.
func NewCreatePreventionPoliciesParamsWithHTTPClient ¶
func NewCreatePreventionPoliciesParamsWithHTTPClient(client *http.Client) *CreatePreventionPoliciesParams
NewCreatePreventionPoliciesParamsWithHTTPClient creates a new CreatePreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePreventionPoliciesParamsWithTimeout ¶
func NewCreatePreventionPoliciesParamsWithTimeout(timeout time.Duration) *CreatePreventionPoliciesParams
NewCreatePreventionPoliciesParamsWithTimeout creates a new CreatePreventionPoliciesParams object with the ability to set a timeout on a request.
func (*CreatePreventionPoliciesParams) SetBody ¶
func (o *CreatePreventionPoliciesParams) SetBody(body *models.RequestsCreatePreventionPoliciesV1)
SetBody adds the body to the create prevention policies params
func (*CreatePreventionPoliciesParams) SetContext ¶
func (o *CreatePreventionPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the create prevention policies params
func (*CreatePreventionPoliciesParams) SetDefaults ¶
func (o *CreatePreventionPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the create prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePreventionPoliciesParams) SetHTTPClient ¶
func (o *CreatePreventionPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create prevention policies params
func (*CreatePreventionPoliciesParams) SetTimeout ¶
func (o *CreatePreventionPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create prevention policies params
func (*CreatePreventionPoliciesParams) WithBody ¶
func (o *CreatePreventionPoliciesParams) WithBody(body *models.RequestsCreatePreventionPoliciesV1) *CreatePreventionPoliciesParams
WithBody adds the body to the create prevention policies params
func (*CreatePreventionPoliciesParams) WithContext ¶
func (o *CreatePreventionPoliciesParams) WithContext(ctx context.Context) *CreatePreventionPoliciesParams
WithContext adds the context to the create prevention policies params
func (*CreatePreventionPoliciesParams) WithDefaults ¶
func (o *CreatePreventionPoliciesParams) WithDefaults() *CreatePreventionPoliciesParams
WithDefaults hydrates default values in the create prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePreventionPoliciesParams) WithHTTPClient ¶
func (o *CreatePreventionPoliciesParams) WithHTTPClient(client *http.Client) *CreatePreventionPoliciesParams
WithHTTPClient adds the HTTPClient to the create prevention policies params
func (*CreatePreventionPoliciesParams) WithTimeout ¶
func (o *CreatePreventionPoliciesParams) WithTimeout(timeout time.Duration) *CreatePreventionPoliciesParams
WithTimeout adds the timeout to the create prevention policies params
func (*CreatePreventionPoliciesParams) WriteToRequest ¶
func (o *CreatePreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePreventionPoliciesReader ¶
type CreatePreventionPoliciesReader struct {
// contains filtered or unexported fields
}
CreatePreventionPoliciesReader is a Reader for the CreatePreventionPolicies structure.
func (*CreatePreventionPoliciesReader) ReadResponse ¶
func (o *CreatePreventionPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePreventionPoliciesTooManyRequests ¶
type CreatePreventionPoliciesTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
CreatePreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCreatePreventionPoliciesTooManyRequests ¶
func NewCreatePreventionPoliciesTooManyRequests() *CreatePreventionPoliciesTooManyRequests
NewCreatePreventionPoliciesTooManyRequests creates a CreatePreventionPoliciesTooManyRequests with default headers values
func (*CreatePreventionPoliciesTooManyRequests) Error ¶
func (o *CreatePreventionPoliciesTooManyRequests) Error() string
func (*CreatePreventionPoliciesTooManyRequests) GetPayload ¶
func (o *CreatePreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*CreatePreventionPoliciesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesTooManyRequests) IsClientError() bool
IsClientError returns true when this create prevention policies too many requests response has a 4xx status code
func (*CreatePreventionPoliciesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *CreatePreventionPoliciesTooManyRequests) IsCode(code int) bool
IsCode returns true when this create prevention policies too many requests response a status code equal to that given
func (*CreatePreventionPoliciesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *CreatePreventionPoliciesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create prevention policies too many requests response has a 3xx status code
func (*CreatePreventionPoliciesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *CreatePreventionPoliciesTooManyRequests) IsServerError() bool
IsServerError returns true when this create prevention policies too many requests response has a 5xx status code
func (*CreatePreventionPoliciesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *CreatePreventionPoliciesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create prevention policies too many requests response has a 2xx status code
func (*CreatePreventionPoliciesTooManyRequests) String ¶ added in v0.2.27
func (o *CreatePreventionPoliciesTooManyRequests) String() string
type DeletePreventionPoliciesForbidden ¶
type DeletePreventionPoliciesForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaErrorsOnly }
DeletePreventionPoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeletePreventionPoliciesForbidden ¶
func NewDeletePreventionPoliciesForbidden() *DeletePreventionPoliciesForbidden
NewDeletePreventionPoliciesForbidden creates a DeletePreventionPoliciesForbidden with default headers values
func (*DeletePreventionPoliciesForbidden) Error ¶
func (o *DeletePreventionPoliciesForbidden) Error() string
func (*DeletePreventionPoliciesForbidden) GetPayload ¶
func (o *DeletePreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
func (*DeletePreventionPoliciesForbidden) IsClientError ¶ added in v0.2.27
func (o *DeletePreventionPoliciesForbidden) IsClientError() bool
IsClientError returns true when this delete prevention policies forbidden response has a 4xx status code
func (*DeletePreventionPoliciesForbidden) IsCode ¶ added in v0.2.27
func (o *DeletePreventionPoliciesForbidden) IsCode(code int) bool
IsCode returns true when this delete prevention policies forbidden response a status code equal to that given
func (*DeletePreventionPoliciesForbidden) IsRedirect ¶ added in v0.2.27
func (o *DeletePreventionPoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this delete prevention policies forbidden response has a 3xx status code
func (*DeletePreventionPoliciesForbidden) IsServerError ¶ added in v0.2.27
func (o *DeletePreventionPoliciesForbidden) IsServerError() bool
IsServerError returns true when this delete prevention policies forbidden response has a 5xx status code
func (*DeletePreventionPoliciesForbidden) IsSuccess ¶ added in v0.2.27
func (o *DeletePreventionPoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this delete prevention policies forbidden response has a 2xx status code
func (*DeletePreventionPoliciesForbidden) String ¶ added in v0.2.27
func (o *DeletePreventionPoliciesForbidden) String() string
type DeletePreventionPoliciesInternalServerError ¶
type DeletePreventionPoliciesInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
DeletePreventionPoliciesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeletePreventionPoliciesInternalServerError ¶
func NewDeletePreventionPoliciesInternalServerError() *DeletePreventionPoliciesInternalServerError
NewDeletePreventionPoliciesInternalServerError creates a DeletePreventionPoliciesInternalServerError with default headers values
func (*DeletePreventionPoliciesInternalServerError) Error ¶
func (o *DeletePreventionPoliciesInternalServerError) Error() string
func (*DeletePreventionPoliciesInternalServerError) GetPayload ¶
func (o *DeletePreventionPoliciesInternalServerError) GetPayload() *models.MsaQueryResponse
func (*DeletePreventionPoliciesInternalServerError) IsClientError ¶ added in v0.2.27
func (o *DeletePreventionPoliciesInternalServerError) IsClientError() bool
IsClientError returns true when this delete prevention policies internal server error response has a 4xx status code
func (*DeletePreventionPoliciesInternalServerError) IsCode ¶ added in v0.2.27
func (o *DeletePreventionPoliciesInternalServerError) IsCode(code int) bool
IsCode returns true when this delete prevention policies internal server error response a status code equal to that given
func (*DeletePreventionPoliciesInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *DeletePreventionPoliciesInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete prevention policies internal server error response has a 3xx status code
func (*DeletePreventionPoliciesInternalServerError) IsServerError ¶ added in v0.2.27
func (o *DeletePreventionPoliciesInternalServerError) IsServerError() bool
IsServerError returns true when this delete prevention policies internal server error response has a 5xx status code
func (*DeletePreventionPoliciesInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *DeletePreventionPoliciesInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete prevention policies internal server error response has a 2xx status code
func (*DeletePreventionPoliciesInternalServerError) String ¶ added in v0.2.27
func (o *DeletePreventionPoliciesInternalServerError) String() string
type DeletePreventionPoliciesNotFound ¶
type DeletePreventionPoliciesNotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
DeletePreventionPoliciesNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeletePreventionPoliciesNotFound ¶
func NewDeletePreventionPoliciesNotFound() *DeletePreventionPoliciesNotFound
NewDeletePreventionPoliciesNotFound creates a DeletePreventionPoliciesNotFound with default headers values
func (*DeletePreventionPoliciesNotFound) Error ¶
func (o *DeletePreventionPoliciesNotFound) Error() string
func (*DeletePreventionPoliciesNotFound) GetPayload ¶
func (o *DeletePreventionPoliciesNotFound) GetPayload() *models.MsaQueryResponse
func (*DeletePreventionPoliciesNotFound) IsClientError ¶ added in v0.2.27
func (o *DeletePreventionPoliciesNotFound) IsClientError() bool
IsClientError returns true when this delete prevention policies not found response has a 4xx status code
func (*DeletePreventionPoliciesNotFound) IsCode ¶ added in v0.2.27
func (o *DeletePreventionPoliciesNotFound) IsCode(code int) bool
IsCode returns true when this delete prevention policies not found response a status code equal to that given
func (*DeletePreventionPoliciesNotFound) IsRedirect ¶ added in v0.2.27
func (o *DeletePreventionPoliciesNotFound) IsRedirect() bool
IsRedirect returns true when this delete prevention policies not found response has a 3xx status code
func (*DeletePreventionPoliciesNotFound) IsServerError ¶ added in v0.2.27
func (o *DeletePreventionPoliciesNotFound) IsServerError() bool
IsServerError returns true when this delete prevention policies not found response has a 5xx status code
func (*DeletePreventionPoliciesNotFound) IsSuccess ¶ added in v0.2.27
func (o *DeletePreventionPoliciesNotFound) IsSuccess() bool
IsSuccess returns true when this delete prevention policies not found response has a 2xx status code
func (*DeletePreventionPoliciesNotFound) String ¶ added in v0.2.27
func (o *DeletePreventionPoliciesNotFound) String() string
type DeletePreventionPoliciesOK ¶
type DeletePreventionPoliciesOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
DeletePreventionPoliciesOK describes a response with status code 200, with default header values.
OK
func NewDeletePreventionPoliciesOK ¶
func NewDeletePreventionPoliciesOK() *DeletePreventionPoliciesOK
NewDeletePreventionPoliciesOK creates a DeletePreventionPoliciesOK with default headers values
func (*DeletePreventionPoliciesOK) Error ¶
func (o *DeletePreventionPoliciesOK) Error() string
func (*DeletePreventionPoliciesOK) GetPayload ¶
func (o *DeletePreventionPoliciesOK) GetPayload() *models.MsaQueryResponse
func (*DeletePreventionPoliciesOK) IsClientError ¶ added in v0.2.27
func (o *DeletePreventionPoliciesOK) IsClientError() bool
IsClientError returns true when this delete prevention policies o k response has a 4xx status code
func (*DeletePreventionPoliciesOK) IsCode ¶ added in v0.2.27
func (o *DeletePreventionPoliciesOK) IsCode(code int) bool
IsCode returns true when this delete prevention policies o k response a status code equal to that given
func (*DeletePreventionPoliciesOK) IsRedirect ¶ added in v0.2.27
func (o *DeletePreventionPoliciesOK) IsRedirect() bool
IsRedirect returns true when this delete prevention policies o k response has a 3xx status code
func (*DeletePreventionPoliciesOK) IsServerError ¶ added in v0.2.27
func (o *DeletePreventionPoliciesOK) IsServerError() bool
IsServerError returns true when this delete prevention policies o k response has a 5xx status code
func (*DeletePreventionPoliciesOK) IsSuccess ¶ added in v0.2.27
func (o *DeletePreventionPoliciesOK) IsSuccess() bool
IsSuccess returns true when this delete prevention policies o k response has a 2xx status code
func (*DeletePreventionPoliciesOK) String ¶ added in v0.2.27
func (o *DeletePreventionPoliciesOK) String() string
type DeletePreventionPoliciesParams ¶
type DeletePreventionPoliciesParams struct { /* Ids. The IDs of the Prevention Policies to delete */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePreventionPoliciesParams contains all the parameters to send to the API endpoint
for the delete prevention policies operation. Typically these are written to a http.Request.
func NewDeletePreventionPoliciesParams ¶
func NewDeletePreventionPoliciesParams() *DeletePreventionPoliciesParams
NewDeletePreventionPoliciesParams creates a new DeletePreventionPoliciesParams 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 NewDeletePreventionPoliciesParamsWithContext ¶
func NewDeletePreventionPoliciesParamsWithContext(ctx context.Context) *DeletePreventionPoliciesParams
NewDeletePreventionPoliciesParamsWithContext creates a new DeletePreventionPoliciesParams object with the ability to set a context for a request.
func NewDeletePreventionPoliciesParamsWithHTTPClient ¶
func NewDeletePreventionPoliciesParamsWithHTTPClient(client *http.Client) *DeletePreventionPoliciesParams
NewDeletePreventionPoliciesParamsWithHTTPClient creates a new DeletePreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePreventionPoliciesParamsWithTimeout ¶
func NewDeletePreventionPoliciesParamsWithTimeout(timeout time.Duration) *DeletePreventionPoliciesParams
NewDeletePreventionPoliciesParamsWithTimeout creates a new DeletePreventionPoliciesParams object with the ability to set a timeout on a request.
func (*DeletePreventionPoliciesParams) SetContext ¶
func (o *DeletePreventionPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the delete prevention policies params
func (*DeletePreventionPoliciesParams) SetDefaults ¶
func (o *DeletePreventionPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the delete prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePreventionPoliciesParams) SetHTTPClient ¶
func (o *DeletePreventionPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete prevention policies params
func (*DeletePreventionPoliciesParams) SetIds ¶
func (o *DeletePreventionPoliciesParams) SetIds(ids []string)
SetIds adds the ids to the delete prevention policies params
func (*DeletePreventionPoliciesParams) SetTimeout ¶
func (o *DeletePreventionPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete prevention policies params
func (*DeletePreventionPoliciesParams) WithContext ¶
func (o *DeletePreventionPoliciesParams) WithContext(ctx context.Context) *DeletePreventionPoliciesParams
WithContext adds the context to the delete prevention policies params
func (*DeletePreventionPoliciesParams) WithDefaults ¶
func (o *DeletePreventionPoliciesParams) WithDefaults() *DeletePreventionPoliciesParams
WithDefaults hydrates default values in the delete prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePreventionPoliciesParams) WithHTTPClient ¶
func (o *DeletePreventionPoliciesParams) WithHTTPClient(client *http.Client) *DeletePreventionPoliciesParams
WithHTTPClient adds the HTTPClient to the delete prevention policies params
func (*DeletePreventionPoliciesParams) WithIds ¶
func (o *DeletePreventionPoliciesParams) WithIds(ids []string) *DeletePreventionPoliciesParams
WithIds adds the ids to the delete prevention policies params
func (*DeletePreventionPoliciesParams) WithTimeout ¶
func (o *DeletePreventionPoliciesParams) WithTimeout(timeout time.Duration) *DeletePreventionPoliciesParams
WithTimeout adds the timeout to the delete prevention policies params
func (*DeletePreventionPoliciesParams) WriteToRequest ¶
func (o *DeletePreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePreventionPoliciesReader ¶
type DeletePreventionPoliciesReader struct {
// contains filtered or unexported fields
}
DeletePreventionPoliciesReader is a Reader for the DeletePreventionPolicies structure.
func (*DeletePreventionPoliciesReader) ReadResponse ¶
func (o *DeletePreventionPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePreventionPoliciesTooManyRequests ¶
type DeletePreventionPoliciesTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
DeletePreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDeletePreventionPoliciesTooManyRequests ¶
func NewDeletePreventionPoliciesTooManyRequests() *DeletePreventionPoliciesTooManyRequests
NewDeletePreventionPoliciesTooManyRequests creates a DeletePreventionPoliciesTooManyRequests with default headers values
func (*DeletePreventionPoliciesTooManyRequests) Error ¶
func (o *DeletePreventionPoliciesTooManyRequests) Error() string
func (*DeletePreventionPoliciesTooManyRequests) GetPayload ¶
func (o *DeletePreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*DeletePreventionPoliciesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *DeletePreventionPoliciesTooManyRequests) IsClientError() bool
IsClientError returns true when this delete prevention policies too many requests response has a 4xx status code
func (*DeletePreventionPoliciesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *DeletePreventionPoliciesTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete prevention policies too many requests response a status code equal to that given
func (*DeletePreventionPoliciesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *DeletePreventionPoliciesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete prevention policies too many requests response has a 3xx status code
func (*DeletePreventionPoliciesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *DeletePreventionPoliciesTooManyRequests) IsServerError() bool
IsServerError returns true when this delete prevention policies too many requests response has a 5xx status code
func (*DeletePreventionPoliciesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *DeletePreventionPoliciesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete prevention policies too many requests response has a 2xx status code
func (*DeletePreventionPoliciesTooManyRequests) String ¶ added in v0.2.27
func (o *DeletePreventionPoliciesTooManyRequests) String() string
type GetPreventionPoliciesForbidden ¶
type GetPreventionPoliciesForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaErrorsOnly }
GetPreventionPoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetPreventionPoliciesForbidden ¶
func NewGetPreventionPoliciesForbidden() *GetPreventionPoliciesForbidden
NewGetPreventionPoliciesForbidden creates a GetPreventionPoliciesForbidden with default headers values
func (*GetPreventionPoliciesForbidden) Error ¶
func (o *GetPreventionPoliciesForbidden) Error() string
func (*GetPreventionPoliciesForbidden) GetPayload ¶
func (o *GetPreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
func (*GetPreventionPoliciesForbidden) IsClientError ¶ added in v0.2.27
func (o *GetPreventionPoliciesForbidden) IsClientError() bool
IsClientError returns true when this get prevention policies forbidden response has a 4xx status code
func (*GetPreventionPoliciesForbidden) IsCode ¶ added in v0.2.27
func (o *GetPreventionPoliciesForbidden) IsCode(code int) bool
IsCode returns true when this get prevention policies forbidden response a status code equal to that given
func (*GetPreventionPoliciesForbidden) IsRedirect ¶ added in v0.2.27
func (o *GetPreventionPoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this get prevention policies forbidden response has a 3xx status code
func (*GetPreventionPoliciesForbidden) IsServerError ¶ added in v0.2.27
func (o *GetPreventionPoliciesForbidden) IsServerError() bool
IsServerError returns true when this get prevention policies forbidden response has a 5xx status code
func (*GetPreventionPoliciesForbidden) IsSuccess ¶ added in v0.2.27
func (o *GetPreventionPoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this get prevention policies forbidden response has a 2xx status code
func (*GetPreventionPoliciesForbidden) String ¶ added in v0.2.27
func (o *GetPreventionPoliciesForbidden) String() string
type GetPreventionPoliciesInternalServerError ¶
type GetPreventionPoliciesInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
GetPreventionPoliciesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetPreventionPoliciesInternalServerError ¶
func NewGetPreventionPoliciesInternalServerError() *GetPreventionPoliciesInternalServerError
NewGetPreventionPoliciesInternalServerError creates a GetPreventionPoliciesInternalServerError with default headers values
func (*GetPreventionPoliciesInternalServerError) Error ¶
func (o *GetPreventionPoliciesInternalServerError) Error() string
func (*GetPreventionPoliciesInternalServerError) GetPayload ¶
func (o *GetPreventionPoliciesInternalServerError) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*GetPreventionPoliciesInternalServerError) IsClientError ¶ added in v0.2.27
func (o *GetPreventionPoliciesInternalServerError) IsClientError() bool
IsClientError returns true when this get prevention policies internal server error response has a 4xx status code
func (*GetPreventionPoliciesInternalServerError) IsCode ¶ added in v0.2.27
func (o *GetPreventionPoliciesInternalServerError) IsCode(code int) bool
IsCode returns true when this get prevention policies internal server error response a status code equal to that given
func (*GetPreventionPoliciesInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *GetPreventionPoliciesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get prevention policies internal server error response has a 3xx status code
func (*GetPreventionPoliciesInternalServerError) IsServerError ¶ added in v0.2.27
func (o *GetPreventionPoliciesInternalServerError) IsServerError() bool
IsServerError returns true when this get prevention policies internal server error response has a 5xx status code
func (*GetPreventionPoliciesInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *GetPreventionPoliciesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get prevention policies internal server error response has a 2xx status code
func (*GetPreventionPoliciesInternalServerError) String ¶ added in v0.2.27
func (o *GetPreventionPoliciesInternalServerError) String() string
type GetPreventionPoliciesNotFound ¶
type GetPreventionPoliciesNotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
GetPreventionPoliciesNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetPreventionPoliciesNotFound ¶
func NewGetPreventionPoliciesNotFound() *GetPreventionPoliciesNotFound
NewGetPreventionPoliciesNotFound creates a GetPreventionPoliciesNotFound with default headers values
func (*GetPreventionPoliciesNotFound) Error ¶
func (o *GetPreventionPoliciesNotFound) Error() string
func (*GetPreventionPoliciesNotFound) GetPayload ¶
func (o *GetPreventionPoliciesNotFound) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*GetPreventionPoliciesNotFound) IsClientError ¶ added in v0.2.27
func (o *GetPreventionPoliciesNotFound) IsClientError() bool
IsClientError returns true when this get prevention policies not found response has a 4xx status code
func (*GetPreventionPoliciesNotFound) IsCode ¶ added in v0.2.27
func (o *GetPreventionPoliciesNotFound) IsCode(code int) bool
IsCode returns true when this get prevention policies not found response a status code equal to that given
func (*GetPreventionPoliciesNotFound) IsRedirect ¶ added in v0.2.27
func (o *GetPreventionPoliciesNotFound) IsRedirect() bool
IsRedirect returns true when this get prevention policies not found response has a 3xx status code
func (*GetPreventionPoliciesNotFound) IsServerError ¶ added in v0.2.27
func (o *GetPreventionPoliciesNotFound) IsServerError() bool
IsServerError returns true when this get prevention policies not found response has a 5xx status code
func (*GetPreventionPoliciesNotFound) IsSuccess ¶ added in v0.2.27
func (o *GetPreventionPoliciesNotFound) IsSuccess() bool
IsSuccess returns true when this get prevention policies not found response has a 2xx status code
func (*GetPreventionPoliciesNotFound) String ¶ added in v0.2.27
func (o *GetPreventionPoliciesNotFound) String() string
type GetPreventionPoliciesOK ¶
type GetPreventionPoliciesOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
GetPreventionPoliciesOK describes a response with status code 200, with default header values.
OK
func NewGetPreventionPoliciesOK ¶
func NewGetPreventionPoliciesOK() *GetPreventionPoliciesOK
NewGetPreventionPoliciesOK creates a GetPreventionPoliciesOK with default headers values
func (*GetPreventionPoliciesOK) Error ¶
func (o *GetPreventionPoliciesOK) Error() string
func (*GetPreventionPoliciesOK) GetPayload ¶
func (o *GetPreventionPoliciesOK) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*GetPreventionPoliciesOK) IsClientError ¶ added in v0.2.27
func (o *GetPreventionPoliciesOK) IsClientError() bool
IsClientError returns true when this get prevention policies o k response has a 4xx status code
func (*GetPreventionPoliciesOK) IsCode ¶ added in v0.2.27
func (o *GetPreventionPoliciesOK) IsCode(code int) bool
IsCode returns true when this get prevention policies o k response a status code equal to that given
func (*GetPreventionPoliciesOK) IsRedirect ¶ added in v0.2.27
func (o *GetPreventionPoliciesOK) IsRedirect() bool
IsRedirect returns true when this get prevention policies o k response has a 3xx status code
func (*GetPreventionPoliciesOK) IsServerError ¶ added in v0.2.27
func (o *GetPreventionPoliciesOK) IsServerError() bool
IsServerError returns true when this get prevention policies o k response has a 5xx status code
func (*GetPreventionPoliciesOK) IsSuccess ¶ added in v0.2.27
func (o *GetPreventionPoliciesOK) IsSuccess() bool
IsSuccess returns true when this get prevention policies o k response has a 2xx status code
func (*GetPreventionPoliciesOK) String ¶ added in v0.2.27
func (o *GetPreventionPoliciesOK) String() string
type GetPreventionPoliciesParams ¶
type GetPreventionPoliciesParams struct { /* Ids. The IDs of the Prevention Policies to return */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPreventionPoliciesParams contains all the parameters to send to the API endpoint
for the get prevention policies operation. Typically these are written to a http.Request.
func NewGetPreventionPoliciesParams ¶
func NewGetPreventionPoliciesParams() *GetPreventionPoliciesParams
NewGetPreventionPoliciesParams creates a new GetPreventionPoliciesParams 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 NewGetPreventionPoliciesParamsWithContext ¶
func NewGetPreventionPoliciesParamsWithContext(ctx context.Context) *GetPreventionPoliciesParams
NewGetPreventionPoliciesParamsWithContext creates a new GetPreventionPoliciesParams object with the ability to set a context for a request.
func NewGetPreventionPoliciesParamsWithHTTPClient ¶
func NewGetPreventionPoliciesParamsWithHTTPClient(client *http.Client) *GetPreventionPoliciesParams
NewGetPreventionPoliciesParamsWithHTTPClient creates a new GetPreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewGetPreventionPoliciesParamsWithTimeout ¶
func NewGetPreventionPoliciesParamsWithTimeout(timeout time.Duration) *GetPreventionPoliciesParams
NewGetPreventionPoliciesParamsWithTimeout creates a new GetPreventionPoliciesParams object with the ability to set a timeout on a request.
func (*GetPreventionPoliciesParams) SetContext ¶
func (o *GetPreventionPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the get prevention policies params
func (*GetPreventionPoliciesParams) SetDefaults ¶
func (o *GetPreventionPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the get prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetPreventionPoliciesParams) SetHTTPClient ¶
func (o *GetPreventionPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get prevention policies params
func (*GetPreventionPoliciesParams) SetIds ¶
func (o *GetPreventionPoliciesParams) SetIds(ids []string)
SetIds adds the ids to the get prevention policies params
func (*GetPreventionPoliciesParams) SetTimeout ¶
func (o *GetPreventionPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get prevention policies params
func (*GetPreventionPoliciesParams) WithContext ¶
func (o *GetPreventionPoliciesParams) WithContext(ctx context.Context) *GetPreventionPoliciesParams
WithContext adds the context to the get prevention policies params
func (*GetPreventionPoliciesParams) WithDefaults ¶
func (o *GetPreventionPoliciesParams) WithDefaults() *GetPreventionPoliciesParams
WithDefaults hydrates default values in the get prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetPreventionPoliciesParams) WithHTTPClient ¶
func (o *GetPreventionPoliciesParams) WithHTTPClient(client *http.Client) *GetPreventionPoliciesParams
WithHTTPClient adds the HTTPClient to the get prevention policies params
func (*GetPreventionPoliciesParams) WithIds ¶
func (o *GetPreventionPoliciesParams) WithIds(ids []string) *GetPreventionPoliciesParams
WithIds adds the ids to the get prevention policies params
func (*GetPreventionPoliciesParams) WithTimeout ¶
func (o *GetPreventionPoliciesParams) WithTimeout(timeout time.Duration) *GetPreventionPoliciesParams
WithTimeout adds the timeout to the get prevention policies params
func (*GetPreventionPoliciesParams) WriteToRequest ¶
func (o *GetPreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPreventionPoliciesReader ¶
type GetPreventionPoliciesReader struct {
// contains filtered or unexported fields
}
GetPreventionPoliciesReader is a Reader for the GetPreventionPolicies structure.
func (*GetPreventionPoliciesReader) ReadResponse ¶
func (o *GetPreventionPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPreventionPoliciesTooManyRequests ¶
type GetPreventionPoliciesTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetPreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetPreventionPoliciesTooManyRequests ¶
func NewGetPreventionPoliciesTooManyRequests() *GetPreventionPoliciesTooManyRequests
NewGetPreventionPoliciesTooManyRequests creates a GetPreventionPoliciesTooManyRequests with default headers values
func (*GetPreventionPoliciesTooManyRequests) Error ¶
func (o *GetPreventionPoliciesTooManyRequests) Error() string
func (*GetPreventionPoliciesTooManyRequests) GetPayload ¶
func (o *GetPreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetPreventionPoliciesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *GetPreventionPoliciesTooManyRequests) IsClientError() bool
IsClientError returns true when this get prevention policies too many requests response has a 4xx status code
func (*GetPreventionPoliciesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *GetPreventionPoliciesTooManyRequests) IsCode(code int) bool
IsCode returns true when this get prevention policies too many requests response a status code equal to that given
func (*GetPreventionPoliciesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *GetPreventionPoliciesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get prevention policies too many requests response has a 3xx status code
func (*GetPreventionPoliciesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *GetPreventionPoliciesTooManyRequests) IsServerError() bool
IsServerError returns true when this get prevention policies too many requests response has a 5xx status code
func (*GetPreventionPoliciesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *GetPreventionPoliciesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get prevention policies too many requests response has a 2xx status code
func (*GetPreventionPoliciesTooManyRequests) String ¶ added in v0.2.27
func (o *GetPreventionPoliciesTooManyRequests) String() string
type PerformPreventionPoliciesActionBadRequest ¶
type PerformPreventionPoliciesActionBadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
PerformPreventionPoliciesActionBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPerformPreventionPoliciesActionBadRequest ¶
func NewPerformPreventionPoliciesActionBadRequest() *PerformPreventionPoliciesActionBadRequest
NewPerformPreventionPoliciesActionBadRequest creates a PerformPreventionPoliciesActionBadRequest with default headers values
func (*PerformPreventionPoliciesActionBadRequest) Error ¶
func (o *PerformPreventionPoliciesActionBadRequest) Error() string
func (*PerformPreventionPoliciesActionBadRequest) GetPayload ¶
func (o *PerformPreventionPoliciesActionBadRequest) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*PerformPreventionPoliciesActionBadRequest) IsClientError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionBadRequest) IsClientError() bool
IsClientError returns true when this perform prevention policies action bad request response has a 4xx status code
func (*PerformPreventionPoliciesActionBadRequest) IsCode ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionBadRequest) IsCode(code int) bool
IsCode returns true when this perform prevention policies action bad request response a status code equal to that given
func (*PerformPreventionPoliciesActionBadRequest) IsRedirect ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionBadRequest) IsRedirect() bool
IsRedirect returns true when this perform prevention policies action bad request response has a 3xx status code
func (*PerformPreventionPoliciesActionBadRequest) IsServerError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionBadRequest) IsServerError() bool
IsServerError returns true when this perform prevention policies action bad request response has a 5xx status code
func (*PerformPreventionPoliciesActionBadRequest) IsSuccess ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionBadRequest) IsSuccess() bool
IsSuccess returns true when this perform prevention policies action bad request response has a 2xx status code
func (*PerformPreventionPoliciesActionBadRequest) String ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionBadRequest) String() string
type PerformPreventionPoliciesActionDefault ¶
type PerformPreventionPoliciesActionDefault struct { Payload *models.ResponsesPreventionPoliciesV1 // contains filtered or unexported fields }
PerformPreventionPoliciesActionDefault describes a response with status code -1, with default header values.
OK
func NewPerformPreventionPoliciesActionDefault ¶
func NewPerformPreventionPoliciesActionDefault(code int) *PerformPreventionPoliciesActionDefault
NewPerformPreventionPoliciesActionDefault creates a PerformPreventionPoliciesActionDefault with default headers values
func (*PerformPreventionPoliciesActionDefault) Code ¶
func (o *PerformPreventionPoliciesActionDefault) Code() int
Code gets the status code for the perform prevention policies action default response
func (*PerformPreventionPoliciesActionDefault) Error ¶
func (o *PerformPreventionPoliciesActionDefault) Error() string
func (*PerformPreventionPoliciesActionDefault) GetPayload ¶
func (o *PerformPreventionPoliciesActionDefault) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*PerformPreventionPoliciesActionDefault) IsClientError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionDefault) IsClientError() bool
IsClientError returns true when this perform prevention policies action default response has a 4xx status code
func (*PerformPreventionPoliciesActionDefault) IsCode ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionDefault) IsCode(code int) bool
IsCode returns true when this perform prevention policies action default response a status code equal to that given
func (*PerformPreventionPoliciesActionDefault) IsRedirect ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionDefault) IsRedirect() bool
IsRedirect returns true when this perform prevention policies action default response has a 3xx status code
func (*PerformPreventionPoliciesActionDefault) IsServerError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionDefault) IsServerError() bool
IsServerError returns true when this perform prevention policies action default response has a 5xx status code
func (*PerformPreventionPoliciesActionDefault) IsSuccess ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionDefault) IsSuccess() bool
IsSuccess returns true when this perform prevention policies action default response has a 2xx status code
func (*PerformPreventionPoliciesActionDefault) String ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionDefault) String() string
type PerformPreventionPoliciesActionForbidden ¶
type PerformPreventionPoliciesActionForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaErrorsOnly }
PerformPreventionPoliciesActionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPerformPreventionPoliciesActionForbidden ¶
func NewPerformPreventionPoliciesActionForbidden() *PerformPreventionPoliciesActionForbidden
NewPerformPreventionPoliciesActionForbidden creates a PerformPreventionPoliciesActionForbidden with default headers values
func (*PerformPreventionPoliciesActionForbidden) Error ¶
func (o *PerformPreventionPoliciesActionForbidden) Error() string
func (*PerformPreventionPoliciesActionForbidden) GetPayload ¶
func (o *PerformPreventionPoliciesActionForbidden) GetPayload() *models.MsaErrorsOnly
func (*PerformPreventionPoliciesActionForbidden) IsClientError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionForbidden) IsClientError() bool
IsClientError returns true when this perform prevention policies action forbidden response has a 4xx status code
func (*PerformPreventionPoliciesActionForbidden) IsCode ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionForbidden) IsCode(code int) bool
IsCode returns true when this perform prevention policies action forbidden response a status code equal to that given
func (*PerformPreventionPoliciesActionForbidden) IsRedirect ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionForbidden) IsRedirect() bool
IsRedirect returns true when this perform prevention policies action forbidden response has a 3xx status code
func (*PerformPreventionPoliciesActionForbidden) IsServerError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionForbidden) IsServerError() bool
IsServerError returns true when this perform prevention policies action forbidden response has a 5xx status code
func (*PerformPreventionPoliciesActionForbidden) IsSuccess ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionForbidden) IsSuccess() bool
IsSuccess returns true when this perform prevention policies action forbidden response has a 2xx status code
func (*PerformPreventionPoliciesActionForbidden) String ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionForbidden) String() string
type PerformPreventionPoliciesActionInternalServerError ¶
type PerformPreventionPoliciesActionInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
PerformPreventionPoliciesActionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPerformPreventionPoliciesActionInternalServerError ¶
func NewPerformPreventionPoliciesActionInternalServerError() *PerformPreventionPoliciesActionInternalServerError
NewPerformPreventionPoliciesActionInternalServerError creates a PerformPreventionPoliciesActionInternalServerError with default headers values
func (*PerformPreventionPoliciesActionInternalServerError) Error ¶
func (o *PerformPreventionPoliciesActionInternalServerError) Error() string
func (*PerformPreventionPoliciesActionInternalServerError) GetPayload ¶
func (o *PerformPreventionPoliciesActionInternalServerError) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*PerformPreventionPoliciesActionInternalServerError) IsClientError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionInternalServerError) IsClientError() bool
IsClientError returns true when this perform prevention policies action internal server error response has a 4xx status code
func (*PerformPreventionPoliciesActionInternalServerError) IsCode ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionInternalServerError) IsCode(code int) bool
IsCode returns true when this perform prevention policies action internal server error response a status code equal to that given
func (*PerformPreventionPoliciesActionInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionInternalServerError) IsRedirect() bool
IsRedirect returns true when this perform prevention policies action internal server error response has a 3xx status code
func (*PerformPreventionPoliciesActionInternalServerError) IsServerError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionInternalServerError) IsServerError() bool
IsServerError returns true when this perform prevention policies action internal server error response has a 5xx status code
func (*PerformPreventionPoliciesActionInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionInternalServerError) IsSuccess() bool
IsSuccess returns true when this perform prevention policies action internal server error response has a 2xx status code
func (*PerformPreventionPoliciesActionInternalServerError) String ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionInternalServerError) String() string
type PerformPreventionPoliciesActionNotFound ¶
type PerformPreventionPoliciesActionNotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
PerformPreventionPoliciesActionNotFound describes a response with status code 404, with default header values.
Not Found
func NewPerformPreventionPoliciesActionNotFound ¶
func NewPerformPreventionPoliciesActionNotFound() *PerformPreventionPoliciesActionNotFound
NewPerformPreventionPoliciesActionNotFound creates a PerformPreventionPoliciesActionNotFound with default headers values
func (*PerformPreventionPoliciesActionNotFound) Error ¶
func (o *PerformPreventionPoliciesActionNotFound) Error() string
func (*PerformPreventionPoliciesActionNotFound) GetPayload ¶
func (o *PerformPreventionPoliciesActionNotFound) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*PerformPreventionPoliciesActionNotFound) IsClientError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionNotFound) IsClientError() bool
IsClientError returns true when this perform prevention policies action not found response has a 4xx status code
func (*PerformPreventionPoliciesActionNotFound) IsCode ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionNotFound) IsCode(code int) bool
IsCode returns true when this perform prevention policies action not found response a status code equal to that given
func (*PerformPreventionPoliciesActionNotFound) IsRedirect ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionNotFound) IsRedirect() bool
IsRedirect returns true when this perform prevention policies action not found response has a 3xx status code
func (*PerformPreventionPoliciesActionNotFound) IsServerError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionNotFound) IsServerError() bool
IsServerError returns true when this perform prevention policies action not found response has a 5xx status code
func (*PerformPreventionPoliciesActionNotFound) IsSuccess ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionNotFound) IsSuccess() bool
IsSuccess returns true when this perform prevention policies action not found response has a 2xx status code
func (*PerformPreventionPoliciesActionNotFound) String ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionNotFound) String() string
type PerformPreventionPoliciesActionOK ¶
type PerformPreventionPoliciesActionOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
PerformPreventionPoliciesActionOK describes a response with status code 200, with default header values.
OK
func NewPerformPreventionPoliciesActionOK ¶
func NewPerformPreventionPoliciesActionOK() *PerformPreventionPoliciesActionOK
NewPerformPreventionPoliciesActionOK creates a PerformPreventionPoliciesActionOK with default headers values
func (*PerformPreventionPoliciesActionOK) Error ¶
func (o *PerformPreventionPoliciesActionOK) Error() string
func (*PerformPreventionPoliciesActionOK) GetPayload ¶
func (o *PerformPreventionPoliciesActionOK) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*PerformPreventionPoliciesActionOK) IsClientError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionOK) IsClientError() bool
IsClientError returns true when this perform prevention policies action o k response has a 4xx status code
func (*PerformPreventionPoliciesActionOK) IsCode ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionOK) IsCode(code int) bool
IsCode returns true when this perform prevention policies action o k response a status code equal to that given
func (*PerformPreventionPoliciesActionOK) IsRedirect ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionOK) IsRedirect() bool
IsRedirect returns true when this perform prevention policies action o k response has a 3xx status code
func (*PerformPreventionPoliciesActionOK) IsServerError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionOK) IsServerError() bool
IsServerError returns true when this perform prevention policies action o k response has a 5xx status code
func (*PerformPreventionPoliciesActionOK) IsSuccess ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionOK) IsSuccess() bool
IsSuccess returns true when this perform prevention policies action o k response has a 2xx status code
func (*PerformPreventionPoliciesActionOK) String ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionOK) String() string
type PerformPreventionPoliciesActionParams ¶
type PerformPreventionPoliciesActionParams struct { /* ActionName. The action to perform */ ActionName string // Body. Body *models.MsaEntityActionRequestV2 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PerformPreventionPoliciesActionParams contains all the parameters to send to the API endpoint
for the perform prevention policies action operation. Typically these are written to a http.Request.
func NewPerformPreventionPoliciesActionParams ¶
func NewPerformPreventionPoliciesActionParams() *PerformPreventionPoliciesActionParams
NewPerformPreventionPoliciesActionParams creates a new PerformPreventionPoliciesActionParams 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 NewPerformPreventionPoliciesActionParamsWithContext ¶
func NewPerformPreventionPoliciesActionParamsWithContext(ctx context.Context) *PerformPreventionPoliciesActionParams
NewPerformPreventionPoliciesActionParamsWithContext creates a new PerformPreventionPoliciesActionParams object with the ability to set a context for a request.
func NewPerformPreventionPoliciesActionParamsWithHTTPClient ¶
func NewPerformPreventionPoliciesActionParamsWithHTTPClient(client *http.Client) *PerformPreventionPoliciesActionParams
NewPerformPreventionPoliciesActionParamsWithHTTPClient creates a new PerformPreventionPoliciesActionParams object with the ability to set a custom HTTPClient for a request.
func NewPerformPreventionPoliciesActionParamsWithTimeout ¶
func NewPerformPreventionPoliciesActionParamsWithTimeout(timeout time.Duration) *PerformPreventionPoliciesActionParams
NewPerformPreventionPoliciesActionParamsWithTimeout creates a new PerformPreventionPoliciesActionParams object with the ability to set a timeout on a request.
func (*PerformPreventionPoliciesActionParams) SetActionName ¶
func (o *PerformPreventionPoliciesActionParams) SetActionName(actionName string)
SetActionName adds the actionName to the perform prevention policies action params
func (*PerformPreventionPoliciesActionParams) SetBody ¶
func (o *PerformPreventionPoliciesActionParams) SetBody(body *models.MsaEntityActionRequestV2)
SetBody adds the body to the perform prevention policies action params
func (*PerformPreventionPoliciesActionParams) SetContext ¶
func (o *PerformPreventionPoliciesActionParams) SetContext(ctx context.Context)
SetContext adds the context to the perform prevention policies action params
func (*PerformPreventionPoliciesActionParams) SetDefaults ¶
func (o *PerformPreventionPoliciesActionParams) SetDefaults()
SetDefaults hydrates default values in the perform prevention policies action params (not the query body).
All values with no default are reset to their zero value.
func (*PerformPreventionPoliciesActionParams) SetHTTPClient ¶
func (o *PerformPreventionPoliciesActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the perform prevention policies action params
func (*PerformPreventionPoliciesActionParams) SetTimeout ¶
func (o *PerformPreventionPoliciesActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the perform prevention policies action params
func (*PerformPreventionPoliciesActionParams) WithActionName ¶
func (o *PerformPreventionPoliciesActionParams) WithActionName(actionName string) *PerformPreventionPoliciesActionParams
WithActionName adds the actionName to the perform prevention policies action params
func (*PerformPreventionPoliciesActionParams) WithBody ¶
func (o *PerformPreventionPoliciesActionParams) WithBody(body *models.MsaEntityActionRequestV2) *PerformPreventionPoliciesActionParams
WithBody adds the body to the perform prevention policies action params
func (*PerformPreventionPoliciesActionParams) WithContext ¶
func (o *PerformPreventionPoliciesActionParams) WithContext(ctx context.Context) *PerformPreventionPoliciesActionParams
WithContext adds the context to the perform prevention policies action params
func (*PerformPreventionPoliciesActionParams) WithDefaults ¶
func (o *PerformPreventionPoliciesActionParams) WithDefaults() *PerformPreventionPoliciesActionParams
WithDefaults hydrates default values in the perform prevention policies action params (not the query body).
All values with no default are reset to their zero value.
func (*PerformPreventionPoliciesActionParams) WithHTTPClient ¶
func (o *PerformPreventionPoliciesActionParams) WithHTTPClient(client *http.Client) *PerformPreventionPoliciesActionParams
WithHTTPClient adds the HTTPClient to the perform prevention policies action params
func (*PerformPreventionPoliciesActionParams) WithTimeout ¶
func (o *PerformPreventionPoliciesActionParams) WithTimeout(timeout time.Duration) *PerformPreventionPoliciesActionParams
WithTimeout adds the timeout to the perform prevention policies action params
func (*PerformPreventionPoliciesActionParams) WriteToRequest ¶
func (o *PerformPreventionPoliciesActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PerformPreventionPoliciesActionReader ¶
type PerformPreventionPoliciesActionReader struct {
// contains filtered or unexported fields
}
PerformPreventionPoliciesActionReader is a Reader for the PerformPreventionPoliciesAction structure.
func (*PerformPreventionPoliciesActionReader) ReadResponse ¶
func (o *PerformPreventionPoliciesActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PerformPreventionPoliciesActionTooManyRequests ¶
type PerformPreventionPoliciesActionTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
PerformPreventionPoliciesActionTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewPerformPreventionPoliciesActionTooManyRequests ¶
func NewPerformPreventionPoliciesActionTooManyRequests() *PerformPreventionPoliciesActionTooManyRequests
NewPerformPreventionPoliciesActionTooManyRequests creates a PerformPreventionPoliciesActionTooManyRequests with default headers values
func (*PerformPreventionPoliciesActionTooManyRequests) Error ¶
func (o *PerformPreventionPoliciesActionTooManyRequests) Error() string
func (*PerformPreventionPoliciesActionTooManyRequests) GetPayload ¶
func (o *PerformPreventionPoliciesActionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*PerformPreventionPoliciesActionTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionTooManyRequests) IsClientError() bool
IsClientError returns true when this perform prevention policies action too many requests response has a 4xx status code
func (*PerformPreventionPoliciesActionTooManyRequests) IsCode ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionTooManyRequests) IsCode(code int) bool
IsCode returns true when this perform prevention policies action too many requests response a status code equal to that given
func (*PerformPreventionPoliciesActionTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionTooManyRequests) IsRedirect() bool
IsRedirect returns true when this perform prevention policies action too many requests response has a 3xx status code
func (*PerformPreventionPoliciesActionTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionTooManyRequests) IsServerError() bool
IsServerError returns true when this perform prevention policies action too many requests response has a 5xx status code
func (*PerformPreventionPoliciesActionTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionTooManyRequests) IsSuccess() bool
IsSuccess returns true when this perform prevention policies action too many requests response has a 2xx status code
func (*PerformPreventionPoliciesActionTooManyRequests) String ¶ added in v0.2.27
func (o *PerformPreventionPoliciesActionTooManyRequests) String() string
type QueryCombinedPreventionPoliciesBadRequest ¶
type QueryCombinedPreventionPoliciesBadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
QueryCombinedPreventionPoliciesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryCombinedPreventionPoliciesBadRequest ¶
func NewQueryCombinedPreventionPoliciesBadRequest() *QueryCombinedPreventionPoliciesBadRequest
NewQueryCombinedPreventionPoliciesBadRequest creates a QueryCombinedPreventionPoliciesBadRequest with default headers values
func (*QueryCombinedPreventionPoliciesBadRequest) Error ¶
func (o *QueryCombinedPreventionPoliciesBadRequest) Error() string
func (*QueryCombinedPreventionPoliciesBadRequest) GetPayload ¶
func (o *QueryCombinedPreventionPoliciesBadRequest) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*QueryCombinedPreventionPoliciesBadRequest) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesBadRequest) IsClientError() bool
IsClientError returns true when this query combined prevention policies bad request response has a 4xx status code
func (*QueryCombinedPreventionPoliciesBadRequest) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesBadRequest) IsCode(code int) bool
IsCode returns true when this query combined prevention policies bad request response a status code equal to that given
func (*QueryCombinedPreventionPoliciesBadRequest) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesBadRequest) IsRedirect() bool
IsRedirect returns true when this query combined prevention policies bad request response has a 3xx status code
func (*QueryCombinedPreventionPoliciesBadRequest) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesBadRequest) IsServerError() bool
IsServerError returns true when this query combined prevention policies bad request response has a 5xx status code
func (*QueryCombinedPreventionPoliciesBadRequest) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesBadRequest) IsSuccess() bool
IsSuccess returns true when this query combined prevention policies bad request response has a 2xx status code
func (*QueryCombinedPreventionPoliciesBadRequest) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesBadRequest) String() string
type QueryCombinedPreventionPoliciesDefault ¶
type QueryCombinedPreventionPoliciesDefault struct { Payload *models.ResponsesPreventionPoliciesV1 // contains filtered or unexported fields }
QueryCombinedPreventionPoliciesDefault describes a response with status code -1, with default header values.
OK
func NewQueryCombinedPreventionPoliciesDefault ¶
func NewQueryCombinedPreventionPoliciesDefault(code int) *QueryCombinedPreventionPoliciesDefault
NewQueryCombinedPreventionPoliciesDefault creates a QueryCombinedPreventionPoliciesDefault with default headers values
func (*QueryCombinedPreventionPoliciesDefault) Code ¶
func (o *QueryCombinedPreventionPoliciesDefault) Code() int
Code gets the status code for the query combined prevention policies default response
func (*QueryCombinedPreventionPoliciesDefault) Error ¶
func (o *QueryCombinedPreventionPoliciesDefault) Error() string
func (*QueryCombinedPreventionPoliciesDefault) GetPayload ¶
func (o *QueryCombinedPreventionPoliciesDefault) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*QueryCombinedPreventionPoliciesDefault) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesDefault) IsClientError() bool
IsClientError returns true when this query combined prevention policies default response has a 4xx status code
func (*QueryCombinedPreventionPoliciesDefault) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesDefault) IsCode(code int) bool
IsCode returns true when this query combined prevention policies default response a status code equal to that given
func (*QueryCombinedPreventionPoliciesDefault) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesDefault) IsRedirect() bool
IsRedirect returns true when this query combined prevention policies default response has a 3xx status code
func (*QueryCombinedPreventionPoliciesDefault) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesDefault) IsServerError() bool
IsServerError returns true when this query combined prevention policies default response has a 5xx status code
func (*QueryCombinedPreventionPoliciesDefault) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesDefault) IsSuccess() bool
IsSuccess returns true when this query combined prevention policies default response has a 2xx status code
func (*QueryCombinedPreventionPoliciesDefault) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesDefault) String() string
type QueryCombinedPreventionPoliciesForbidden ¶
type QueryCombinedPreventionPoliciesForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaErrorsOnly }
QueryCombinedPreventionPoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryCombinedPreventionPoliciesForbidden ¶
func NewQueryCombinedPreventionPoliciesForbidden() *QueryCombinedPreventionPoliciesForbidden
NewQueryCombinedPreventionPoliciesForbidden creates a QueryCombinedPreventionPoliciesForbidden with default headers values
func (*QueryCombinedPreventionPoliciesForbidden) Error ¶
func (o *QueryCombinedPreventionPoliciesForbidden) Error() string
func (*QueryCombinedPreventionPoliciesForbidden) GetPayload ¶
func (o *QueryCombinedPreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
func (*QueryCombinedPreventionPoliciesForbidden) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesForbidden) IsClientError() bool
IsClientError returns true when this query combined prevention policies forbidden response has a 4xx status code
func (*QueryCombinedPreventionPoliciesForbidden) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesForbidden) IsCode(code int) bool
IsCode returns true when this query combined prevention policies forbidden response a status code equal to that given
func (*QueryCombinedPreventionPoliciesForbidden) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this query combined prevention policies forbidden response has a 3xx status code
func (*QueryCombinedPreventionPoliciesForbidden) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesForbidden) IsServerError() bool
IsServerError returns true when this query combined prevention policies forbidden response has a 5xx status code
func (*QueryCombinedPreventionPoliciesForbidden) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this query combined prevention policies forbidden response has a 2xx status code
func (*QueryCombinedPreventionPoliciesForbidden) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesForbidden) String() string
type QueryCombinedPreventionPoliciesInternalServerError ¶
type QueryCombinedPreventionPoliciesInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
QueryCombinedPreventionPoliciesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryCombinedPreventionPoliciesInternalServerError ¶
func NewQueryCombinedPreventionPoliciesInternalServerError() *QueryCombinedPreventionPoliciesInternalServerError
NewQueryCombinedPreventionPoliciesInternalServerError creates a QueryCombinedPreventionPoliciesInternalServerError with default headers values
func (*QueryCombinedPreventionPoliciesInternalServerError) Error ¶
func (o *QueryCombinedPreventionPoliciesInternalServerError) Error() string
func (*QueryCombinedPreventionPoliciesInternalServerError) GetPayload ¶
func (o *QueryCombinedPreventionPoliciesInternalServerError) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*QueryCombinedPreventionPoliciesInternalServerError) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesInternalServerError) IsClientError() bool
IsClientError returns true when this query combined prevention policies internal server error response has a 4xx status code
func (*QueryCombinedPreventionPoliciesInternalServerError) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesInternalServerError) IsCode(code int) bool
IsCode returns true when this query combined prevention policies internal server error response a status code equal to that given
func (*QueryCombinedPreventionPoliciesInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesInternalServerError) IsRedirect() bool
IsRedirect returns true when this query combined prevention policies internal server error response has a 3xx status code
func (*QueryCombinedPreventionPoliciesInternalServerError) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesInternalServerError) IsServerError() bool
IsServerError returns true when this query combined prevention policies internal server error response has a 5xx status code
func (*QueryCombinedPreventionPoliciesInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesInternalServerError) IsSuccess() bool
IsSuccess returns true when this query combined prevention policies internal server error response has a 2xx status code
func (*QueryCombinedPreventionPoliciesInternalServerError) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesInternalServerError) String() string
type QueryCombinedPreventionPoliciesOK ¶
type QueryCombinedPreventionPoliciesOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
QueryCombinedPreventionPoliciesOK describes a response with status code 200, with default header values.
OK
func NewQueryCombinedPreventionPoliciesOK ¶
func NewQueryCombinedPreventionPoliciesOK() *QueryCombinedPreventionPoliciesOK
NewQueryCombinedPreventionPoliciesOK creates a QueryCombinedPreventionPoliciesOK with default headers values
func (*QueryCombinedPreventionPoliciesOK) Error ¶
func (o *QueryCombinedPreventionPoliciesOK) Error() string
func (*QueryCombinedPreventionPoliciesOK) GetPayload ¶
func (o *QueryCombinedPreventionPoliciesOK) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*QueryCombinedPreventionPoliciesOK) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesOK) IsClientError() bool
IsClientError returns true when this query combined prevention policies o k response has a 4xx status code
func (*QueryCombinedPreventionPoliciesOK) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesOK) IsCode(code int) bool
IsCode returns true when this query combined prevention policies o k response a status code equal to that given
func (*QueryCombinedPreventionPoliciesOK) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesOK) IsRedirect() bool
IsRedirect returns true when this query combined prevention policies o k response has a 3xx status code
func (*QueryCombinedPreventionPoliciesOK) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesOK) IsServerError() bool
IsServerError returns true when this query combined prevention policies o k response has a 5xx status code
func (*QueryCombinedPreventionPoliciesOK) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesOK) IsSuccess() bool
IsSuccess returns true when this query combined prevention policies o k response has a 2xx status code
func (*QueryCombinedPreventionPoliciesOK) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesOK) String() string
type QueryCombinedPreventionPoliciesParams ¶
type QueryCombinedPreventionPoliciesParams struct { /* Filter. The filter expression that should be used to limit the results */ Filter *string /* Limit. The maximum records to return. [1-5000] */ Limit *int64 /* Offset. The offset to start retrieving records from */ Offset *int64 /* Sort. The property to sort by */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryCombinedPreventionPoliciesParams contains all the parameters to send to the API endpoint
for the query combined prevention policies operation. Typically these are written to a http.Request.
func NewQueryCombinedPreventionPoliciesParams ¶
func NewQueryCombinedPreventionPoliciesParams() *QueryCombinedPreventionPoliciesParams
NewQueryCombinedPreventionPoliciesParams creates a new QueryCombinedPreventionPoliciesParams 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 NewQueryCombinedPreventionPoliciesParamsWithContext ¶
func NewQueryCombinedPreventionPoliciesParamsWithContext(ctx context.Context) *QueryCombinedPreventionPoliciesParams
NewQueryCombinedPreventionPoliciesParamsWithContext creates a new QueryCombinedPreventionPoliciesParams object with the ability to set a context for a request.
func NewQueryCombinedPreventionPoliciesParamsWithHTTPClient ¶
func NewQueryCombinedPreventionPoliciesParamsWithHTTPClient(client *http.Client) *QueryCombinedPreventionPoliciesParams
NewQueryCombinedPreventionPoliciesParamsWithHTTPClient creates a new QueryCombinedPreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewQueryCombinedPreventionPoliciesParamsWithTimeout ¶
func NewQueryCombinedPreventionPoliciesParamsWithTimeout(timeout time.Duration) *QueryCombinedPreventionPoliciesParams
NewQueryCombinedPreventionPoliciesParamsWithTimeout creates a new QueryCombinedPreventionPoliciesParams object with the ability to set a timeout on a request.
func (*QueryCombinedPreventionPoliciesParams) SetContext ¶
func (o *QueryCombinedPreventionPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) SetDefaults ¶
func (o *QueryCombinedPreventionPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the query combined prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*QueryCombinedPreventionPoliciesParams) SetFilter ¶
func (o *QueryCombinedPreventionPoliciesParams) SetFilter(filter *string)
SetFilter adds the filter to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) SetHTTPClient ¶
func (o *QueryCombinedPreventionPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) SetLimit ¶
func (o *QueryCombinedPreventionPoliciesParams) SetLimit(limit *int64)
SetLimit adds the limit to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) SetOffset ¶
func (o *QueryCombinedPreventionPoliciesParams) SetOffset(offset *int64)
SetOffset adds the offset to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) SetSort ¶
func (o *QueryCombinedPreventionPoliciesParams) SetSort(sort *string)
SetSort adds the sort to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) SetTimeout ¶
func (o *QueryCombinedPreventionPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) WithContext ¶
func (o *QueryCombinedPreventionPoliciesParams) WithContext(ctx context.Context) *QueryCombinedPreventionPoliciesParams
WithContext adds the context to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) WithDefaults ¶
func (o *QueryCombinedPreventionPoliciesParams) WithDefaults() *QueryCombinedPreventionPoliciesParams
WithDefaults hydrates default values in the query combined prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*QueryCombinedPreventionPoliciesParams) WithFilter ¶
func (o *QueryCombinedPreventionPoliciesParams) WithFilter(filter *string) *QueryCombinedPreventionPoliciesParams
WithFilter adds the filter to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) WithHTTPClient ¶
func (o *QueryCombinedPreventionPoliciesParams) WithHTTPClient(client *http.Client) *QueryCombinedPreventionPoliciesParams
WithHTTPClient adds the HTTPClient to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) WithLimit ¶
func (o *QueryCombinedPreventionPoliciesParams) WithLimit(limit *int64) *QueryCombinedPreventionPoliciesParams
WithLimit adds the limit to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) WithOffset ¶
func (o *QueryCombinedPreventionPoliciesParams) WithOffset(offset *int64) *QueryCombinedPreventionPoliciesParams
WithOffset adds the offset to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) WithSort ¶
func (o *QueryCombinedPreventionPoliciesParams) WithSort(sort *string) *QueryCombinedPreventionPoliciesParams
WithSort adds the sort to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) WithTimeout ¶
func (o *QueryCombinedPreventionPoliciesParams) WithTimeout(timeout time.Duration) *QueryCombinedPreventionPoliciesParams
WithTimeout adds the timeout to the query combined prevention policies params
func (*QueryCombinedPreventionPoliciesParams) WriteToRequest ¶
func (o *QueryCombinedPreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryCombinedPreventionPoliciesReader ¶
type QueryCombinedPreventionPoliciesReader struct {
// contains filtered or unexported fields
}
QueryCombinedPreventionPoliciesReader is a Reader for the QueryCombinedPreventionPolicies structure.
func (*QueryCombinedPreventionPoliciesReader) ReadResponse ¶
func (o *QueryCombinedPreventionPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryCombinedPreventionPoliciesTooManyRequests ¶
type QueryCombinedPreventionPoliciesTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
QueryCombinedPreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryCombinedPreventionPoliciesTooManyRequests ¶
func NewQueryCombinedPreventionPoliciesTooManyRequests() *QueryCombinedPreventionPoliciesTooManyRequests
NewQueryCombinedPreventionPoliciesTooManyRequests creates a QueryCombinedPreventionPoliciesTooManyRequests with default headers values
func (*QueryCombinedPreventionPoliciesTooManyRequests) Error ¶
func (o *QueryCombinedPreventionPoliciesTooManyRequests) Error() string
func (*QueryCombinedPreventionPoliciesTooManyRequests) GetPayload ¶
func (o *QueryCombinedPreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QueryCombinedPreventionPoliciesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesTooManyRequests) IsClientError() bool
IsClientError returns true when this query combined prevention policies too many requests response has a 4xx status code
func (*QueryCombinedPreventionPoliciesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesTooManyRequests) IsCode(code int) bool
IsCode returns true when this query combined prevention policies too many requests response a status code equal to that given
func (*QueryCombinedPreventionPoliciesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this query combined prevention policies too many requests response has a 3xx status code
func (*QueryCombinedPreventionPoliciesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesTooManyRequests) IsServerError() bool
IsServerError returns true when this query combined prevention policies too many requests response has a 5xx status code
func (*QueryCombinedPreventionPoliciesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this query combined prevention policies too many requests response has a 2xx status code
func (*QueryCombinedPreventionPoliciesTooManyRequests) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPoliciesTooManyRequests) String() string
type QueryCombinedPreventionPolicyMembersBadRequest ¶
type QueryCombinedPreventionPolicyMembersBadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPolicyMembersRespV1 }
QueryCombinedPreventionPolicyMembersBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryCombinedPreventionPolicyMembersBadRequest ¶
func NewQueryCombinedPreventionPolicyMembersBadRequest() *QueryCombinedPreventionPolicyMembersBadRequest
NewQueryCombinedPreventionPolicyMembersBadRequest creates a QueryCombinedPreventionPolicyMembersBadRequest with default headers values
func (*QueryCombinedPreventionPolicyMembersBadRequest) Error ¶
func (o *QueryCombinedPreventionPolicyMembersBadRequest) Error() string
func (*QueryCombinedPreventionPolicyMembersBadRequest) GetPayload ¶
func (o *QueryCombinedPreventionPolicyMembersBadRequest) GetPayload() *models.ResponsesPolicyMembersRespV1
func (*QueryCombinedPreventionPolicyMembersBadRequest) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersBadRequest) IsClientError() bool
IsClientError returns true when this query combined prevention policy members bad request response has a 4xx status code
func (*QueryCombinedPreventionPolicyMembersBadRequest) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersBadRequest) IsCode(code int) bool
IsCode returns true when this query combined prevention policy members bad request response a status code equal to that given
func (*QueryCombinedPreventionPolicyMembersBadRequest) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersBadRequest) IsRedirect() bool
IsRedirect returns true when this query combined prevention policy members bad request response has a 3xx status code
func (*QueryCombinedPreventionPolicyMembersBadRequest) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersBadRequest) IsServerError() bool
IsServerError returns true when this query combined prevention policy members bad request response has a 5xx status code
func (*QueryCombinedPreventionPolicyMembersBadRequest) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersBadRequest) IsSuccess() bool
IsSuccess returns true when this query combined prevention policy members bad request response has a 2xx status code
func (*QueryCombinedPreventionPolicyMembersBadRequest) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersBadRequest) String() string
type QueryCombinedPreventionPolicyMembersDefault ¶
type QueryCombinedPreventionPolicyMembersDefault struct { Payload *models.ResponsesPolicyMembersRespV1 // contains filtered or unexported fields }
QueryCombinedPreventionPolicyMembersDefault describes a response with status code -1, with default header values.
OK
func NewQueryCombinedPreventionPolicyMembersDefault ¶
func NewQueryCombinedPreventionPolicyMembersDefault(code int) *QueryCombinedPreventionPolicyMembersDefault
NewQueryCombinedPreventionPolicyMembersDefault creates a QueryCombinedPreventionPolicyMembersDefault with default headers values
func (*QueryCombinedPreventionPolicyMembersDefault) Code ¶
func (o *QueryCombinedPreventionPolicyMembersDefault) Code() int
Code gets the status code for the query combined prevention policy members default response
func (*QueryCombinedPreventionPolicyMembersDefault) Error ¶
func (o *QueryCombinedPreventionPolicyMembersDefault) Error() string
func (*QueryCombinedPreventionPolicyMembersDefault) GetPayload ¶
func (o *QueryCombinedPreventionPolicyMembersDefault) GetPayload() *models.ResponsesPolicyMembersRespV1
func (*QueryCombinedPreventionPolicyMembersDefault) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersDefault) IsClientError() bool
IsClientError returns true when this query combined prevention policy members default response has a 4xx status code
func (*QueryCombinedPreventionPolicyMembersDefault) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersDefault) IsCode(code int) bool
IsCode returns true when this query combined prevention policy members default response a status code equal to that given
func (*QueryCombinedPreventionPolicyMembersDefault) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersDefault) IsRedirect() bool
IsRedirect returns true when this query combined prevention policy members default response has a 3xx status code
func (*QueryCombinedPreventionPolicyMembersDefault) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersDefault) IsServerError() bool
IsServerError returns true when this query combined prevention policy members default response has a 5xx status code
func (*QueryCombinedPreventionPolicyMembersDefault) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersDefault) IsSuccess() bool
IsSuccess returns true when this query combined prevention policy members default response has a 2xx status code
func (*QueryCombinedPreventionPolicyMembersDefault) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersDefault) String() string
type QueryCombinedPreventionPolicyMembersForbidden ¶
type QueryCombinedPreventionPolicyMembersForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaErrorsOnly }
QueryCombinedPreventionPolicyMembersForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryCombinedPreventionPolicyMembersForbidden ¶
func NewQueryCombinedPreventionPolicyMembersForbidden() *QueryCombinedPreventionPolicyMembersForbidden
NewQueryCombinedPreventionPolicyMembersForbidden creates a QueryCombinedPreventionPolicyMembersForbidden with default headers values
func (*QueryCombinedPreventionPolicyMembersForbidden) Error ¶
func (o *QueryCombinedPreventionPolicyMembersForbidden) Error() string
func (*QueryCombinedPreventionPolicyMembersForbidden) GetPayload ¶
func (o *QueryCombinedPreventionPolicyMembersForbidden) GetPayload() *models.MsaErrorsOnly
func (*QueryCombinedPreventionPolicyMembersForbidden) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersForbidden) IsClientError() bool
IsClientError returns true when this query combined prevention policy members forbidden response has a 4xx status code
func (*QueryCombinedPreventionPolicyMembersForbidden) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersForbidden) IsCode(code int) bool
IsCode returns true when this query combined prevention policy members forbidden response a status code equal to that given
func (*QueryCombinedPreventionPolicyMembersForbidden) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersForbidden) IsRedirect() bool
IsRedirect returns true when this query combined prevention policy members forbidden response has a 3xx status code
func (*QueryCombinedPreventionPolicyMembersForbidden) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersForbidden) IsServerError() bool
IsServerError returns true when this query combined prevention policy members forbidden response has a 5xx status code
func (*QueryCombinedPreventionPolicyMembersForbidden) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersForbidden) IsSuccess() bool
IsSuccess returns true when this query combined prevention policy members forbidden response has a 2xx status code
func (*QueryCombinedPreventionPolicyMembersForbidden) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersForbidden) String() string
type QueryCombinedPreventionPolicyMembersInternalServerError ¶
type QueryCombinedPreventionPolicyMembersInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPolicyMembersRespV1 }
QueryCombinedPreventionPolicyMembersInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryCombinedPreventionPolicyMembersInternalServerError ¶
func NewQueryCombinedPreventionPolicyMembersInternalServerError() *QueryCombinedPreventionPolicyMembersInternalServerError
NewQueryCombinedPreventionPolicyMembersInternalServerError creates a QueryCombinedPreventionPolicyMembersInternalServerError with default headers values
func (*QueryCombinedPreventionPolicyMembersInternalServerError) Error ¶
func (o *QueryCombinedPreventionPolicyMembersInternalServerError) Error() string
func (*QueryCombinedPreventionPolicyMembersInternalServerError) GetPayload ¶
func (o *QueryCombinedPreventionPolicyMembersInternalServerError) GetPayload() *models.ResponsesPolicyMembersRespV1
func (*QueryCombinedPreventionPolicyMembersInternalServerError) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersInternalServerError) IsClientError() bool
IsClientError returns true when this query combined prevention policy members internal server error response has a 4xx status code
func (*QueryCombinedPreventionPolicyMembersInternalServerError) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersInternalServerError) IsCode(code int) bool
IsCode returns true when this query combined prevention policy members internal server error response a status code equal to that given
func (*QueryCombinedPreventionPolicyMembersInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersInternalServerError) IsRedirect() bool
IsRedirect returns true when this query combined prevention policy members internal server error response has a 3xx status code
func (*QueryCombinedPreventionPolicyMembersInternalServerError) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersInternalServerError) IsServerError() bool
IsServerError returns true when this query combined prevention policy members internal server error response has a 5xx status code
func (*QueryCombinedPreventionPolicyMembersInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersInternalServerError) IsSuccess() bool
IsSuccess returns true when this query combined prevention policy members internal server error response has a 2xx status code
func (*QueryCombinedPreventionPolicyMembersInternalServerError) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersInternalServerError) String() string
type QueryCombinedPreventionPolicyMembersNotFound ¶
type QueryCombinedPreventionPolicyMembersNotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPolicyMembersRespV1 }
QueryCombinedPreventionPolicyMembersNotFound describes a response with status code 404, with default header values.
Not Found
func NewQueryCombinedPreventionPolicyMembersNotFound ¶
func NewQueryCombinedPreventionPolicyMembersNotFound() *QueryCombinedPreventionPolicyMembersNotFound
NewQueryCombinedPreventionPolicyMembersNotFound creates a QueryCombinedPreventionPolicyMembersNotFound with default headers values
func (*QueryCombinedPreventionPolicyMembersNotFound) Error ¶
func (o *QueryCombinedPreventionPolicyMembersNotFound) Error() string
func (*QueryCombinedPreventionPolicyMembersNotFound) GetPayload ¶
func (o *QueryCombinedPreventionPolicyMembersNotFound) GetPayload() *models.ResponsesPolicyMembersRespV1
func (*QueryCombinedPreventionPolicyMembersNotFound) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersNotFound) IsClientError() bool
IsClientError returns true when this query combined prevention policy members not found response has a 4xx status code
func (*QueryCombinedPreventionPolicyMembersNotFound) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersNotFound) IsCode(code int) bool
IsCode returns true when this query combined prevention policy members not found response a status code equal to that given
func (*QueryCombinedPreventionPolicyMembersNotFound) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersNotFound) IsRedirect() bool
IsRedirect returns true when this query combined prevention policy members not found response has a 3xx status code
func (*QueryCombinedPreventionPolicyMembersNotFound) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersNotFound) IsServerError() bool
IsServerError returns true when this query combined prevention policy members not found response has a 5xx status code
func (*QueryCombinedPreventionPolicyMembersNotFound) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersNotFound) IsSuccess() bool
IsSuccess returns true when this query combined prevention policy members not found response has a 2xx status code
func (*QueryCombinedPreventionPolicyMembersNotFound) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersNotFound) String() string
type QueryCombinedPreventionPolicyMembersOK ¶
type QueryCombinedPreventionPolicyMembersOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPolicyMembersRespV1 }
QueryCombinedPreventionPolicyMembersOK describes a response with status code 200, with default header values.
OK
func NewQueryCombinedPreventionPolicyMembersOK ¶
func NewQueryCombinedPreventionPolicyMembersOK() *QueryCombinedPreventionPolicyMembersOK
NewQueryCombinedPreventionPolicyMembersOK creates a QueryCombinedPreventionPolicyMembersOK with default headers values
func (*QueryCombinedPreventionPolicyMembersOK) Error ¶
func (o *QueryCombinedPreventionPolicyMembersOK) Error() string
func (*QueryCombinedPreventionPolicyMembersOK) GetPayload ¶
func (o *QueryCombinedPreventionPolicyMembersOK) GetPayload() *models.ResponsesPolicyMembersRespV1
func (*QueryCombinedPreventionPolicyMembersOK) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersOK) IsClientError() bool
IsClientError returns true when this query combined prevention policy members o k response has a 4xx status code
func (*QueryCombinedPreventionPolicyMembersOK) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersOK) IsCode(code int) bool
IsCode returns true when this query combined prevention policy members o k response a status code equal to that given
func (*QueryCombinedPreventionPolicyMembersOK) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersOK) IsRedirect() bool
IsRedirect returns true when this query combined prevention policy members o k response has a 3xx status code
func (*QueryCombinedPreventionPolicyMembersOK) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersOK) IsServerError() bool
IsServerError returns true when this query combined prevention policy members o k response has a 5xx status code
func (*QueryCombinedPreventionPolicyMembersOK) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersOK) IsSuccess() bool
IsSuccess returns true when this query combined prevention policy members o k response has a 2xx status code
func (*QueryCombinedPreventionPolicyMembersOK) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersOK) String() string
type QueryCombinedPreventionPolicyMembersParams ¶
type QueryCombinedPreventionPolicyMembersParams struct { /* Filter. The filter expression that should be used to limit the results */ Filter *string /* ID. The ID of the Prevention Policy to search for members of */ ID *string /* Limit. The maximum records to return. [1-5000] */ Limit *int64 /* Offset. The offset to start retrieving records from */ Offset *int64 /* Sort. The property to sort by */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryCombinedPreventionPolicyMembersParams contains all the parameters to send to the API endpoint
for the query combined prevention policy members operation. Typically these are written to a http.Request.
func NewQueryCombinedPreventionPolicyMembersParams ¶
func NewQueryCombinedPreventionPolicyMembersParams() *QueryCombinedPreventionPolicyMembersParams
NewQueryCombinedPreventionPolicyMembersParams creates a new QueryCombinedPreventionPolicyMembersParams 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 NewQueryCombinedPreventionPolicyMembersParamsWithContext ¶
func NewQueryCombinedPreventionPolicyMembersParamsWithContext(ctx context.Context) *QueryCombinedPreventionPolicyMembersParams
NewQueryCombinedPreventionPolicyMembersParamsWithContext creates a new QueryCombinedPreventionPolicyMembersParams object with the ability to set a context for a request.
func NewQueryCombinedPreventionPolicyMembersParamsWithHTTPClient ¶
func NewQueryCombinedPreventionPolicyMembersParamsWithHTTPClient(client *http.Client) *QueryCombinedPreventionPolicyMembersParams
NewQueryCombinedPreventionPolicyMembersParamsWithHTTPClient creates a new QueryCombinedPreventionPolicyMembersParams object with the ability to set a custom HTTPClient for a request.
func NewQueryCombinedPreventionPolicyMembersParamsWithTimeout ¶
func NewQueryCombinedPreventionPolicyMembersParamsWithTimeout(timeout time.Duration) *QueryCombinedPreventionPolicyMembersParams
NewQueryCombinedPreventionPolicyMembersParamsWithTimeout creates a new QueryCombinedPreventionPolicyMembersParams object with the ability to set a timeout on a request.
func (*QueryCombinedPreventionPolicyMembersParams) SetContext ¶
func (o *QueryCombinedPreventionPolicyMembersParams) SetContext(ctx context.Context)
SetContext adds the context to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) SetDefaults ¶
func (o *QueryCombinedPreventionPolicyMembersParams) SetDefaults()
SetDefaults hydrates default values in the query combined prevention policy members params (not the query body).
All values with no default are reset to their zero value.
func (*QueryCombinedPreventionPolicyMembersParams) SetFilter ¶
func (o *QueryCombinedPreventionPolicyMembersParams) SetFilter(filter *string)
SetFilter adds the filter to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) SetHTTPClient ¶
func (o *QueryCombinedPreventionPolicyMembersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) SetID ¶
func (o *QueryCombinedPreventionPolicyMembersParams) SetID(id *string)
SetID adds the id to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) SetLimit ¶
func (o *QueryCombinedPreventionPolicyMembersParams) SetLimit(limit *int64)
SetLimit adds the limit to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) SetOffset ¶
func (o *QueryCombinedPreventionPolicyMembersParams) SetOffset(offset *int64)
SetOffset adds the offset to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) SetSort ¶
func (o *QueryCombinedPreventionPolicyMembersParams) SetSort(sort *string)
SetSort adds the sort to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) SetTimeout ¶
func (o *QueryCombinedPreventionPolicyMembersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) WithContext ¶
func (o *QueryCombinedPreventionPolicyMembersParams) WithContext(ctx context.Context) *QueryCombinedPreventionPolicyMembersParams
WithContext adds the context to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) WithDefaults ¶
func (o *QueryCombinedPreventionPolicyMembersParams) WithDefaults() *QueryCombinedPreventionPolicyMembersParams
WithDefaults hydrates default values in the query combined prevention policy members params (not the query body).
All values with no default are reset to their zero value.
func (*QueryCombinedPreventionPolicyMembersParams) WithFilter ¶
func (o *QueryCombinedPreventionPolicyMembersParams) WithFilter(filter *string) *QueryCombinedPreventionPolicyMembersParams
WithFilter adds the filter to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) WithHTTPClient ¶
func (o *QueryCombinedPreventionPolicyMembersParams) WithHTTPClient(client *http.Client) *QueryCombinedPreventionPolicyMembersParams
WithHTTPClient adds the HTTPClient to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) WithID ¶
func (o *QueryCombinedPreventionPolicyMembersParams) WithID(id *string) *QueryCombinedPreventionPolicyMembersParams
WithID adds the id to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) WithLimit ¶
func (o *QueryCombinedPreventionPolicyMembersParams) WithLimit(limit *int64) *QueryCombinedPreventionPolicyMembersParams
WithLimit adds the limit to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) WithOffset ¶
func (o *QueryCombinedPreventionPolicyMembersParams) WithOffset(offset *int64) *QueryCombinedPreventionPolicyMembersParams
WithOffset adds the offset to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) WithSort ¶
func (o *QueryCombinedPreventionPolicyMembersParams) WithSort(sort *string) *QueryCombinedPreventionPolicyMembersParams
WithSort adds the sort to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) WithTimeout ¶
func (o *QueryCombinedPreventionPolicyMembersParams) WithTimeout(timeout time.Duration) *QueryCombinedPreventionPolicyMembersParams
WithTimeout adds the timeout to the query combined prevention policy members params
func (*QueryCombinedPreventionPolicyMembersParams) WriteToRequest ¶
func (o *QueryCombinedPreventionPolicyMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryCombinedPreventionPolicyMembersReader ¶
type QueryCombinedPreventionPolicyMembersReader struct {
// contains filtered or unexported fields
}
QueryCombinedPreventionPolicyMembersReader is a Reader for the QueryCombinedPreventionPolicyMembers structure.
func (*QueryCombinedPreventionPolicyMembersReader) ReadResponse ¶
func (o *QueryCombinedPreventionPolicyMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryCombinedPreventionPolicyMembersTooManyRequests ¶
type QueryCombinedPreventionPolicyMembersTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
QueryCombinedPreventionPolicyMembersTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryCombinedPreventionPolicyMembersTooManyRequests ¶
func NewQueryCombinedPreventionPolicyMembersTooManyRequests() *QueryCombinedPreventionPolicyMembersTooManyRequests
NewQueryCombinedPreventionPolicyMembersTooManyRequests creates a QueryCombinedPreventionPolicyMembersTooManyRequests with default headers values
func (*QueryCombinedPreventionPolicyMembersTooManyRequests) Error ¶
func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) Error() string
func (*QueryCombinedPreventionPolicyMembersTooManyRequests) GetPayload ¶
func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QueryCombinedPreventionPolicyMembersTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) IsClientError() bool
IsClientError returns true when this query combined prevention policy members too many requests response has a 4xx status code
func (*QueryCombinedPreventionPolicyMembersTooManyRequests) IsCode ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) IsCode(code int) bool
IsCode returns true when this query combined prevention policy members too many requests response a status code equal to that given
func (*QueryCombinedPreventionPolicyMembersTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) IsRedirect() bool
IsRedirect returns true when this query combined prevention policy members too many requests response has a 3xx status code
func (*QueryCombinedPreventionPolicyMembersTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) IsServerError() bool
IsServerError returns true when this query combined prevention policy members too many requests response has a 5xx status code
func (*QueryCombinedPreventionPolicyMembersTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) IsSuccess() bool
IsSuccess returns true when this query combined prevention policy members too many requests response has a 2xx status code
func (*QueryCombinedPreventionPolicyMembersTooManyRequests) String ¶ added in v0.2.27
func (o *QueryCombinedPreventionPolicyMembersTooManyRequests) String() string
type QueryPreventionPoliciesBadRequest ¶
type QueryPreventionPoliciesBadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QueryPreventionPoliciesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryPreventionPoliciesBadRequest ¶
func NewQueryPreventionPoliciesBadRequest() *QueryPreventionPoliciesBadRequest
NewQueryPreventionPoliciesBadRequest creates a QueryPreventionPoliciesBadRequest with default headers values
func (*QueryPreventionPoliciesBadRequest) Error ¶
func (o *QueryPreventionPoliciesBadRequest) Error() string
func (*QueryPreventionPoliciesBadRequest) GetPayload ¶
func (o *QueryPreventionPoliciesBadRequest) GetPayload() *models.MsaQueryResponse
func (*QueryPreventionPoliciesBadRequest) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesBadRequest) IsClientError() bool
IsClientError returns true when this query prevention policies bad request response has a 4xx status code
func (*QueryPreventionPoliciesBadRequest) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPoliciesBadRequest) IsCode(code int) bool
IsCode returns true when this query prevention policies bad request response a status code equal to that given
func (*QueryPreventionPoliciesBadRequest) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPoliciesBadRequest) IsRedirect() bool
IsRedirect returns true when this query prevention policies bad request response has a 3xx status code
func (*QueryPreventionPoliciesBadRequest) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesBadRequest) IsServerError() bool
IsServerError returns true when this query prevention policies bad request response has a 5xx status code
func (*QueryPreventionPoliciesBadRequest) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPoliciesBadRequest) IsSuccess() bool
IsSuccess returns true when this query prevention policies bad request response has a 2xx status code
func (*QueryPreventionPoliciesBadRequest) String ¶ added in v0.2.27
func (o *QueryPreventionPoliciesBadRequest) String() string
type QueryPreventionPoliciesDefault ¶
type QueryPreventionPoliciesDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
QueryPreventionPoliciesDefault describes a response with status code -1, with default header values.
OK
func NewQueryPreventionPoliciesDefault ¶
func NewQueryPreventionPoliciesDefault(code int) *QueryPreventionPoliciesDefault
NewQueryPreventionPoliciesDefault creates a QueryPreventionPoliciesDefault with default headers values
func (*QueryPreventionPoliciesDefault) Code ¶
func (o *QueryPreventionPoliciesDefault) Code() int
Code gets the status code for the query prevention policies default response
func (*QueryPreventionPoliciesDefault) Error ¶
func (o *QueryPreventionPoliciesDefault) Error() string
func (*QueryPreventionPoliciesDefault) GetPayload ¶
func (o *QueryPreventionPoliciesDefault) GetPayload() *models.MsaQueryResponse
func (*QueryPreventionPoliciesDefault) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesDefault) IsClientError() bool
IsClientError returns true when this query prevention policies default response has a 4xx status code
func (*QueryPreventionPoliciesDefault) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPoliciesDefault) IsCode(code int) bool
IsCode returns true when this query prevention policies default response a status code equal to that given
func (*QueryPreventionPoliciesDefault) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPoliciesDefault) IsRedirect() bool
IsRedirect returns true when this query prevention policies default response has a 3xx status code
func (*QueryPreventionPoliciesDefault) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesDefault) IsServerError() bool
IsServerError returns true when this query prevention policies default response has a 5xx status code
func (*QueryPreventionPoliciesDefault) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPoliciesDefault) IsSuccess() bool
IsSuccess returns true when this query prevention policies default response has a 2xx status code
func (*QueryPreventionPoliciesDefault) String ¶ added in v0.2.27
func (o *QueryPreventionPoliciesDefault) String() string
type QueryPreventionPoliciesForbidden ¶
type QueryPreventionPoliciesForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaErrorsOnly }
QueryPreventionPoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryPreventionPoliciesForbidden ¶
func NewQueryPreventionPoliciesForbidden() *QueryPreventionPoliciesForbidden
NewQueryPreventionPoliciesForbidden creates a QueryPreventionPoliciesForbidden with default headers values
func (*QueryPreventionPoliciesForbidden) Error ¶
func (o *QueryPreventionPoliciesForbidden) Error() string
func (*QueryPreventionPoliciesForbidden) GetPayload ¶
func (o *QueryPreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
func (*QueryPreventionPoliciesForbidden) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesForbidden) IsClientError() bool
IsClientError returns true when this query prevention policies forbidden response has a 4xx status code
func (*QueryPreventionPoliciesForbidden) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPoliciesForbidden) IsCode(code int) bool
IsCode returns true when this query prevention policies forbidden response a status code equal to that given
func (*QueryPreventionPoliciesForbidden) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this query prevention policies forbidden response has a 3xx status code
func (*QueryPreventionPoliciesForbidden) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesForbidden) IsServerError() bool
IsServerError returns true when this query prevention policies forbidden response has a 5xx status code
func (*QueryPreventionPoliciesForbidden) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this query prevention policies forbidden response has a 2xx status code
func (*QueryPreventionPoliciesForbidden) String ¶ added in v0.2.27
func (o *QueryPreventionPoliciesForbidden) String() string
type QueryPreventionPoliciesInternalServerError ¶
type QueryPreventionPoliciesInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QueryPreventionPoliciesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryPreventionPoliciesInternalServerError ¶
func NewQueryPreventionPoliciesInternalServerError() *QueryPreventionPoliciesInternalServerError
NewQueryPreventionPoliciesInternalServerError creates a QueryPreventionPoliciesInternalServerError with default headers values
func (*QueryPreventionPoliciesInternalServerError) Error ¶
func (o *QueryPreventionPoliciesInternalServerError) Error() string
func (*QueryPreventionPoliciesInternalServerError) GetPayload ¶
func (o *QueryPreventionPoliciesInternalServerError) GetPayload() *models.MsaQueryResponse
func (*QueryPreventionPoliciesInternalServerError) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesInternalServerError) IsClientError() bool
IsClientError returns true when this query prevention policies internal server error response has a 4xx status code
func (*QueryPreventionPoliciesInternalServerError) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPoliciesInternalServerError) IsCode(code int) bool
IsCode returns true when this query prevention policies internal server error response a status code equal to that given
func (*QueryPreventionPoliciesInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPoliciesInternalServerError) IsRedirect() bool
IsRedirect returns true when this query prevention policies internal server error response has a 3xx status code
func (*QueryPreventionPoliciesInternalServerError) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesInternalServerError) IsServerError() bool
IsServerError returns true when this query prevention policies internal server error response has a 5xx status code
func (*QueryPreventionPoliciesInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPoliciesInternalServerError) IsSuccess() bool
IsSuccess returns true when this query prevention policies internal server error response has a 2xx status code
func (*QueryPreventionPoliciesInternalServerError) String ¶ added in v0.2.27
func (o *QueryPreventionPoliciesInternalServerError) String() string
type QueryPreventionPoliciesOK ¶
type QueryPreventionPoliciesOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QueryPreventionPoliciesOK describes a response with status code 200, with default header values.
OK
func NewQueryPreventionPoliciesOK ¶
func NewQueryPreventionPoliciesOK() *QueryPreventionPoliciesOK
NewQueryPreventionPoliciesOK creates a QueryPreventionPoliciesOK with default headers values
func (*QueryPreventionPoliciesOK) Error ¶
func (o *QueryPreventionPoliciesOK) Error() string
func (*QueryPreventionPoliciesOK) GetPayload ¶
func (o *QueryPreventionPoliciesOK) GetPayload() *models.MsaQueryResponse
func (*QueryPreventionPoliciesOK) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesOK) IsClientError() bool
IsClientError returns true when this query prevention policies o k response has a 4xx status code
func (*QueryPreventionPoliciesOK) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPoliciesOK) IsCode(code int) bool
IsCode returns true when this query prevention policies o k response a status code equal to that given
func (*QueryPreventionPoliciesOK) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPoliciesOK) IsRedirect() bool
IsRedirect returns true when this query prevention policies o k response has a 3xx status code
func (*QueryPreventionPoliciesOK) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesOK) IsServerError() bool
IsServerError returns true when this query prevention policies o k response has a 5xx status code
func (*QueryPreventionPoliciesOK) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPoliciesOK) IsSuccess() bool
IsSuccess returns true when this query prevention policies o k response has a 2xx status code
func (*QueryPreventionPoliciesOK) String ¶ added in v0.2.27
func (o *QueryPreventionPoliciesOK) String() string
type QueryPreventionPoliciesParams ¶
type QueryPreventionPoliciesParams struct { /* Filter. The filter expression that should be used to limit the results */ Filter *string /* Limit. The maximum records to return. [1-5000] */ Limit *int64 /* Offset. The offset to start retrieving records from */ Offset *int64 /* Sort. The property to sort by */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryPreventionPoliciesParams contains all the parameters to send to the API endpoint
for the query prevention policies operation. Typically these are written to a http.Request.
func NewQueryPreventionPoliciesParams ¶
func NewQueryPreventionPoliciesParams() *QueryPreventionPoliciesParams
NewQueryPreventionPoliciesParams creates a new QueryPreventionPoliciesParams 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 NewQueryPreventionPoliciesParamsWithContext ¶
func NewQueryPreventionPoliciesParamsWithContext(ctx context.Context) *QueryPreventionPoliciesParams
NewQueryPreventionPoliciesParamsWithContext creates a new QueryPreventionPoliciesParams object with the ability to set a context for a request.
func NewQueryPreventionPoliciesParamsWithHTTPClient ¶
func NewQueryPreventionPoliciesParamsWithHTTPClient(client *http.Client) *QueryPreventionPoliciesParams
NewQueryPreventionPoliciesParamsWithHTTPClient creates a new QueryPreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewQueryPreventionPoliciesParamsWithTimeout ¶
func NewQueryPreventionPoliciesParamsWithTimeout(timeout time.Duration) *QueryPreventionPoliciesParams
NewQueryPreventionPoliciesParamsWithTimeout creates a new QueryPreventionPoliciesParams object with the ability to set a timeout on a request.
func (*QueryPreventionPoliciesParams) SetContext ¶
func (o *QueryPreventionPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the query prevention policies params
func (*QueryPreventionPoliciesParams) SetDefaults ¶
func (o *QueryPreventionPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the query prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*QueryPreventionPoliciesParams) SetFilter ¶
func (o *QueryPreventionPoliciesParams) SetFilter(filter *string)
SetFilter adds the filter to the query prevention policies params
func (*QueryPreventionPoliciesParams) SetHTTPClient ¶
func (o *QueryPreventionPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query prevention policies params
func (*QueryPreventionPoliciesParams) SetLimit ¶
func (o *QueryPreventionPoliciesParams) SetLimit(limit *int64)
SetLimit adds the limit to the query prevention policies params
func (*QueryPreventionPoliciesParams) SetOffset ¶
func (o *QueryPreventionPoliciesParams) SetOffset(offset *int64)
SetOffset adds the offset to the query prevention policies params
func (*QueryPreventionPoliciesParams) SetSort ¶
func (o *QueryPreventionPoliciesParams) SetSort(sort *string)
SetSort adds the sort to the query prevention policies params
func (*QueryPreventionPoliciesParams) SetTimeout ¶
func (o *QueryPreventionPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query prevention policies params
func (*QueryPreventionPoliciesParams) WithContext ¶
func (o *QueryPreventionPoliciesParams) WithContext(ctx context.Context) *QueryPreventionPoliciesParams
WithContext adds the context to the query prevention policies params
func (*QueryPreventionPoliciesParams) WithDefaults ¶
func (o *QueryPreventionPoliciesParams) WithDefaults() *QueryPreventionPoliciesParams
WithDefaults hydrates default values in the query prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*QueryPreventionPoliciesParams) WithFilter ¶
func (o *QueryPreventionPoliciesParams) WithFilter(filter *string) *QueryPreventionPoliciesParams
WithFilter adds the filter to the query prevention policies params
func (*QueryPreventionPoliciesParams) WithHTTPClient ¶
func (o *QueryPreventionPoliciesParams) WithHTTPClient(client *http.Client) *QueryPreventionPoliciesParams
WithHTTPClient adds the HTTPClient to the query prevention policies params
func (*QueryPreventionPoliciesParams) WithLimit ¶
func (o *QueryPreventionPoliciesParams) WithLimit(limit *int64) *QueryPreventionPoliciesParams
WithLimit adds the limit to the query prevention policies params
func (*QueryPreventionPoliciesParams) WithOffset ¶
func (o *QueryPreventionPoliciesParams) WithOffset(offset *int64) *QueryPreventionPoliciesParams
WithOffset adds the offset to the query prevention policies params
func (*QueryPreventionPoliciesParams) WithSort ¶
func (o *QueryPreventionPoliciesParams) WithSort(sort *string) *QueryPreventionPoliciesParams
WithSort adds the sort to the query prevention policies params
func (*QueryPreventionPoliciesParams) WithTimeout ¶
func (o *QueryPreventionPoliciesParams) WithTimeout(timeout time.Duration) *QueryPreventionPoliciesParams
WithTimeout adds the timeout to the query prevention policies params
func (*QueryPreventionPoliciesParams) WriteToRequest ¶
func (o *QueryPreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryPreventionPoliciesReader ¶
type QueryPreventionPoliciesReader struct {
// contains filtered or unexported fields
}
QueryPreventionPoliciesReader is a Reader for the QueryPreventionPolicies structure.
func (*QueryPreventionPoliciesReader) ReadResponse ¶
func (o *QueryPreventionPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryPreventionPoliciesTooManyRequests ¶
type QueryPreventionPoliciesTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
QueryPreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryPreventionPoliciesTooManyRequests ¶
func NewQueryPreventionPoliciesTooManyRequests() *QueryPreventionPoliciesTooManyRequests
NewQueryPreventionPoliciesTooManyRequests creates a QueryPreventionPoliciesTooManyRequests with default headers values
func (*QueryPreventionPoliciesTooManyRequests) Error ¶
func (o *QueryPreventionPoliciesTooManyRequests) Error() string
func (*QueryPreventionPoliciesTooManyRequests) GetPayload ¶
func (o *QueryPreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QueryPreventionPoliciesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesTooManyRequests) IsClientError() bool
IsClientError returns true when this query prevention policies too many requests response has a 4xx status code
func (*QueryPreventionPoliciesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPoliciesTooManyRequests) IsCode(code int) bool
IsCode returns true when this query prevention policies too many requests response a status code equal to that given
func (*QueryPreventionPoliciesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPoliciesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this query prevention policies too many requests response has a 3xx status code
func (*QueryPreventionPoliciesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPoliciesTooManyRequests) IsServerError() bool
IsServerError returns true when this query prevention policies too many requests response has a 5xx status code
func (*QueryPreventionPoliciesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPoliciesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this query prevention policies too many requests response has a 2xx status code
func (*QueryPreventionPoliciesTooManyRequests) String ¶ added in v0.2.27
func (o *QueryPreventionPoliciesTooManyRequests) String() string
type QueryPreventionPolicyMembersBadRequest ¶
type QueryPreventionPolicyMembersBadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QueryPreventionPolicyMembersBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryPreventionPolicyMembersBadRequest ¶
func NewQueryPreventionPolicyMembersBadRequest() *QueryPreventionPolicyMembersBadRequest
NewQueryPreventionPolicyMembersBadRequest creates a QueryPreventionPolicyMembersBadRequest with default headers values
func (*QueryPreventionPolicyMembersBadRequest) Error ¶
func (o *QueryPreventionPolicyMembersBadRequest) Error() string
func (*QueryPreventionPolicyMembersBadRequest) GetPayload ¶
func (o *QueryPreventionPolicyMembersBadRequest) GetPayload() *models.MsaQueryResponse
func (*QueryPreventionPolicyMembersBadRequest) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersBadRequest) IsClientError() bool
IsClientError returns true when this query prevention policy members bad request response has a 4xx status code
func (*QueryPreventionPolicyMembersBadRequest) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersBadRequest) IsCode(code int) bool
IsCode returns true when this query prevention policy members bad request response a status code equal to that given
func (*QueryPreventionPolicyMembersBadRequest) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersBadRequest) IsRedirect() bool
IsRedirect returns true when this query prevention policy members bad request response has a 3xx status code
func (*QueryPreventionPolicyMembersBadRequest) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersBadRequest) IsServerError() bool
IsServerError returns true when this query prevention policy members bad request response has a 5xx status code
func (*QueryPreventionPolicyMembersBadRequest) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersBadRequest) IsSuccess() bool
IsSuccess returns true when this query prevention policy members bad request response has a 2xx status code
func (*QueryPreventionPolicyMembersBadRequest) String ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersBadRequest) String() string
type QueryPreventionPolicyMembersDefault ¶
type QueryPreventionPolicyMembersDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
QueryPreventionPolicyMembersDefault describes a response with status code -1, with default header values.
OK
func NewQueryPreventionPolicyMembersDefault ¶
func NewQueryPreventionPolicyMembersDefault(code int) *QueryPreventionPolicyMembersDefault
NewQueryPreventionPolicyMembersDefault creates a QueryPreventionPolicyMembersDefault with default headers values
func (*QueryPreventionPolicyMembersDefault) Code ¶
func (o *QueryPreventionPolicyMembersDefault) Code() int
Code gets the status code for the query prevention policy members default response
func (*QueryPreventionPolicyMembersDefault) Error ¶
func (o *QueryPreventionPolicyMembersDefault) Error() string
func (*QueryPreventionPolicyMembersDefault) GetPayload ¶
func (o *QueryPreventionPolicyMembersDefault) GetPayload() *models.MsaQueryResponse
func (*QueryPreventionPolicyMembersDefault) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersDefault) IsClientError() bool
IsClientError returns true when this query prevention policy members default response has a 4xx status code
func (*QueryPreventionPolicyMembersDefault) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersDefault) IsCode(code int) bool
IsCode returns true when this query prevention policy members default response a status code equal to that given
func (*QueryPreventionPolicyMembersDefault) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersDefault) IsRedirect() bool
IsRedirect returns true when this query prevention policy members default response has a 3xx status code
func (*QueryPreventionPolicyMembersDefault) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersDefault) IsServerError() bool
IsServerError returns true when this query prevention policy members default response has a 5xx status code
func (*QueryPreventionPolicyMembersDefault) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersDefault) IsSuccess() bool
IsSuccess returns true when this query prevention policy members default response has a 2xx status code
func (*QueryPreventionPolicyMembersDefault) String ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersDefault) String() string
type QueryPreventionPolicyMembersForbidden ¶
type QueryPreventionPolicyMembersForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaErrorsOnly }
QueryPreventionPolicyMembersForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryPreventionPolicyMembersForbidden ¶
func NewQueryPreventionPolicyMembersForbidden() *QueryPreventionPolicyMembersForbidden
NewQueryPreventionPolicyMembersForbidden creates a QueryPreventionPolicyMembersForbidden with default headers values
func (*QueryPreventionPolicyMembersForbidden) Error ¶
func (o *QueryPreventionPolicyMembersForbidden) Error() string
func (*QueryPreventionPolicyMembersForbidden) GetPayload ¶
func (o *QueryPreventionPolicyMembersForbidden) GetPayload() *models.MsaErrorsOnly
func (*QueryPreventionPolicyMembersForbidden) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersForbidden) IsClientError() bool
IsClientError returns true when this query prevention policy members forbidden response has a 4xx status code
func (*QueryPreventionPolicyMembersForbidden) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersForbidden) IsCode(code int) bool
IsCode returns true when this query prevention policy members forbidden response a status code equal to that given
func (*QueryPreventionPolicyMembersForbidden) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersForbidden) IsRedirect() bool
IsRedirect returns true when this query prevention policy members forbidden response has a 3xx status code
func (*QueryPreventionPolicyMembersForbidden) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersForbidden) IsServerError() bool
IsServerError returns true when this query prevention policy members forbidden response has a 5xx status code
func (*QueryPreventionPolicyMembersForbidden) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersForbidden) IsSuccess() bool
IsSuccess returns true when this query prevention policy members forbidden response has a 2xx status code
func (*QueryPreventionPolicyMembersForbidden) String ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersForbidden) String() string
type QueryPreventionPolicyMembersInternalServerError ¶
type QueryPreventionPolicyMembersInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QueryPreventionPolicyMembersInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryPreventionPolicyMembersInternalServerError ¶
func NewQueryPreventionPolicyMembersInternalServerError() *QueryPreventionPolicyMembersInternalServerError
NewQueryPreventionPolicyMembersInternalServerError creates a QueryPreventionPolicyMembersInternalServerError with default headers values
func (*QueryPreventionPolicyMembersInternalServerError) Error ¶
func (o *QueryPreventionPolicyMembersInternalServerError) Error() string
func (*QueryPreventionPolicyMembersInternalServerError) GetPayload ¶
func (o *QueryPreventionPolicyMembersInternalServerError) GetPayload() *models.MsaQueryResponse
func (*QueryPreventionPolicyMembersInternalServerError) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersInternalServerError) IsClientError() bool
IsClientError returns true when this query prevention policy members internal server error response has a 4xx status code
func (*QueryPreventionPolicyMembersInternalServerError) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersInternalServerError) IsCode(code int) bool
IsCode returns true when this query prevention policy members internal server error response a status code equal to that given
func (*QueryPreventionPolicyMembersInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersInternalServerError) IsRedirect() bool
IsRedirect returns true when this query prevention policy members internal server error response has a 3xx status code
func (*QueryPreventionPolicyMembersInternalServerError) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersInternalServerError) IsServerError() bool
IsServerError returns true when this query prevention policy members internal server error response has a 5xx status code
func (*QueryPreventionPolicyMembersInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersInternalServerError) IsSuccess() bool
IsSuccess returns true when this query prevention policy members internal server error response has a 2xx status code
func (*QueryPreventionPolicyMembersInternalServerError) String ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersInternalServerError) String() string
type QueryPreventionPolicyMembersNotFound ¶
type QueryPreventionPolicyMembersNotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QueryPreventionPolicyMembersNotFound describes a response with status code 404, with default header values.
Not Found
func NewQueryPreventionPolicyMembersNotFound ¶
func NewQueryPreventionPolicyMembersNotFound() *QueryPreventionPolicyMembersNotFound
NewQueryPreventionPolicyMembersNotFound creates a QueryPreventionPolicyMembersNotFound with default headers values
func (*QueryPreventionPolicyMembersNotFound) Error ¶
func (o *QueryPreventionPolicyMembersNotFound) Error() string
func (*QueryPreventionPolicyMembersNotFound) GetPayload ¶
func (o *QueryPreventionPolicyMembersNotFound) GetPayload() *models.MsaQueryResponse
func (*QueryPreventionPolicyMembersNotFound) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersNotFound) IsClientError() bool
IsClientError returns true when this query prevention policy members not found response has a 4xx status code
func (*QueryPreventionPolicyMembersNotFound) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersNotFound) IsCode(code int) bool
IsCode returns true when this query prevention policy members not found response a status code equal to that given
func (*QueryPreventionPolicyMembersNotFound) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersNotFound) IsRedirect() bool
IsRedirect returns true when this query prevention policy members not found response has a 3xx status code
func (*QueryPreventionPolicyMembersNotFound) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersNotFound) IsServerError() bool
IsServerError returns true when this query prevention policy members not found response has a 5xx status code
func (*QueryPreventionPolicyMembersNotFound) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersNotFound) IsSuccess() bool
IsSuccess returns true when this query prevention policy members not found response has a 2xx status code
func (*QueryPreventionPolicyMembersNotFound) String ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersNotFound) String() string
type QueryPreventionPolicyMembersOK ¶
type QueryPreventionPolicyMembersOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QueryPreventionPolicyMembersOK describes a response with status code 200, with default header values.
OK
func NewQueryPreventionPolicyMembersOK ¶
func NewQueryPreventionPolicyMembersOK() *QueryPreventionPolicyMembersOK
NewQueryPreventionPolicyMembersOK creates a QueryPreventionPolicyMembersOK with default headers values
func (*QueryPreventionPolicyMembersOK) Error ¶
func (o *QueryPreventionPolicyMembersOK) Error() string
func (*QueryPreventionPolicyMembersOK) GetPayload ¶
func (o *QueryPreventionPolicyMembersOK) GetPayload() *models.MsaQueryResponse
func (*QueryPreventionPolicyMembersOK) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersOK) IsClientError() bool
IsClientError returns true when this query prevention policy members o k response has a 4xx status code
func (*QueryPreventionPolicyMembersOK) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersOK) IsCode(code int) bool
IsCode returns true when this query prevention policy members o k response a status code equal to that given
func (*QueryPreventionPolicyMembersOK) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersOK) IsRedirect() bool
IsRedirect returns true when this query prevention policy members o k response has a 3xx status code
func (*QueryPreventionPolicyMembersOK) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersOK) IsServerError() bool
IsServerError returns true when this query prevention policy members o k response has a 5xx status code
func (*QueryPreventionPolicyMembersOK) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersOK) IsSuccess() bool
IsSuccess returns true when this query prevention policy members o k response has a 2xx status code
func (*QueryPreventionPolicyMembersOK) String ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersOK) String() string
type QueryPreventionPolicyMembersParams ¶
type QueryPreventionPolicyMembersParams struct { /* Filter. The filter expression that should be used to limit the results */ Filter *string /* ID. The ID of the Prevention Policy to search for members of */ ID *string /* Limit. The maximum records to return. [1-5000] */ Limit *int64 /* Offset. The offset to start retrieving records from */ Offset *int64 /* Sort. The property to sort by */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryPreventionPolicyMembersParams contains all the parameters to send to the API endpoint
for the query prevention policy members operation. Typically these are written to a http.Request.
func NewQueryPreventionPolicyMembersParams ¶
func NewQueryPreventionPolicyMembersParams() *QueryPreventionPolicyMembersParams
NewQueryPreventionPolicyMembersParams creates a new QueryPreventionPolicyMembersParams 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 NewQueryPreventionPolicyMembersParamsWithContext ¶
func NewQueryPreventionPolicyMembersParamsWithContext(ctx context.Context) *QueryPreventionPolicyMembersParams
NewQueryPreventionPolicyMembersParamsWithContext creates a new QueryPreventionPolicyMembersParams object with the ability to set a context for a request.
func NewQueryPreventionPolicyMembersParamsWithHTTPClient ¶
func NewQueryPreventionPolicyMembersParamsWithHTTPClient(client *http.Client) *QueryPreventionPolicyMembersParams
NewQueryPreventionPolicyMembersParamsWithHTTPClient creates a new QueryPreventionPolicyMembersParams object with the ability to set a custom HTTPClient for a request.
func NewQueryPreventionPolicyMembersParamsWithTimeout ¶
func NewQueryPreventionPolicyMembersParamsWithTimeout(timeout time.Duration) *QueryPreventionPolicyMembersParams
NewQueryPreventionPolicyMembersParamsWithTimeout creates a new QueryPreventionPolicyMembersParams object with the ability to set a timeout on a request.
func (*QueryPreventionPolicyMembersParams) SetContext ¶
func (o *QueryPreventionPolicyMembersParams) SetContext(ctx context.Context)
SetContext adds the context to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) SetDefaults ¶
func (o *QueryPreventionPolicyMembersParams) SetDefaults()
SetDefaults hydrates default values in the query prevention policy members params (not the query body).
All values with no default are reset to their zero value.
func (*QueryPreventionPolicyMembersParams) SetFilter ¶
func (o *QueryPreventionPolicyMembersParams) SetFilter(filter *string)
SetFilter adds the filter to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) SetHTTPClient ¶
func (o *QueryPreventionPolicyMembersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) SetID ¶
func (o *QueryPreventionPolicyMembersParams) SetID(id *string)
SetID adds the id to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) SetLimit ¶
func (o *QueryPreventionPolicyMembersParams) SetLimit(limit *int64)
SetLimit adds the limit to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) SetOffset ¶
func (o *QueryPreventionPolicyMembersParams) SetOffset(offset *int64)
SetOffset adds the offset to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) SetSort ¶
func (o *QueryPreventionPolicyMembersParams) SetSort(sort *string)
SetSort adds the sort to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) SetTimeout ¶
func (o *QueryPreventionPolicyMembersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) WithContext ¶
func (o *QueryPreventionPolicyMembersParams) WithContext(ctx context.Context) *QueryPreventionPolicyMembersParams
WithContext adds the context to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) WithDefaults ¶
func (o *QueryPreventionPolicyMembersParams) WithDefaults() *QueryPreventionPolicyMembersParams
WithDefaults hydrates default values in the query prevention policy members params (not the query body).
All values with no default are reset to their zero value.
func (*QueryPreventionPolicyMembersParams) WithFilter ¶
func (o *QueryPreventionPolicyMembersParams) WithFilter(filter *string) *QueryPreventionPolicyMembersParams
WithFilter adds the filter to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) WithHTTPClient ¶
func (o *QueryPreventionPolicyMembersParams) WithHTTPClient(client *http.Client) *QueryPreventionPolicyMembersParams
WithHTTPClient adds the HTTPClient to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) WithID ¶
func (o *QueryPreventionPolicyMembersParams) WithID(id *string) *QueryPreventionPolicyMembersParams
WithID adds the id to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) WithLimit ¶
func (o *QueryPreventionPolicyMembersParams) WithLimit(limit *int64) *QueryPreventionPolicyMembersParams
WithLimit adds the limit to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) WithOffset ¶
func (o *QueryPreventionPolicyMembersParams) WithOffset(offset *int64) *QueryPreventionPolicyMembersParams
WithOffset adds the offset to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) WithSort ¶
func (o *QueryPreventionPolicyMembersParams) WithSort(sort *string) *QueryPreventionPolicyMembersParams
WithSort adds the sort to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) WithTimeout ¶
func (o *QueryPreventionPolicyMembersParams) WithTimeout(timeout time.Duration) *QueryPreventionPolicyMembersParams
WithTimeout adds the timeout to the query prevention policy members params
func (*QueryPreventionPolicyMembersParams) WriteToRequest ¶
func (o *QueryPreventionPolicyMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryPreventionPolicyMembersReader ¶
type QueryPreventionPolicyMembersReader struct {
// contains filtered or unexported fields
}
QueryPreventionPolicyMembersReader is a Reader for the QueryPreventionPolicyMembers structure.
func (*QueryPreventionPolicyMembersReader) ReadResponse ¶
func (o *QueryPreventionPolicyMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryPreventionPolicyMembersTooManyRequests ¶
type QueryPreventionPolicyMembersTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
QueryPreventionPolicyMembersTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryPreventionPolicyMembersTooManyRequests ¶
func NewQueryPreventionPolicyMembersTooManyRequests() *QueryPreventionPolicyMembersTooManyRequests
NewQueryPreventionPolicyMembersTooManyRequests creates a QueryPreventionPolicyMembersTooManyRequests with default headers values
func (*QueryPreventionPolicyMembersTooManyRequests) Error ¶
func (o *QueryPreventionPolicyMembersTooManyRequests) Error() string
func (*QueryPreventionPolicyMembersTooManyRequests) GetPayload ¶
func (o *QueryPreventionPolicyMembersTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QueryPreventionPolicyMembersTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersTooManyRequests) IsClientError() bool
IsClientError returns true when this query prevention policy members too many requests response has a 4xx status code
func (*QueryPreventionPolicyMembersTooManyRequests) IsCode ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersTooManyRequests) IsCode(code int) bool
IsCode returns true when this query prevention policy members too many requests response a status code equal to that given
func (*QueryPreventionPolicyMembersTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersTooManyRequests) IsRedirect() bool
IsRedirect returns true when this query prevention policy members too many requests response has a 3xx status code
func (*QueryPreventionPolicyMembersTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersTooManyRequests) IsServerError() bool
IsServerError returns true when this query prevention policy members too many requests response has a 5xx status code
func (*QueryPreventionPolicyMembersTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersTooManyRequests) IsSuccess() bool
IsSuccess returns true when this query prevention policy members too many requests response has a 2xx status code
func (*QueryPreventionPolicyMembersTooManyRequests) String ¶ added in v0.2.27
func (o *QueryPreventionPolicyMembersTooManyRequests) String() string
type SetPreventionPoliciesPrecedenceBadRequest ¶
type SetPreventionPoliciesPrecedenceBadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
SetPreventionPoliciesPrecedenceBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewSetPreventionPoliciesPrecedenceBadRequest ¶
func NewSetPreventionPoliciesPrecedenceBadRequest() *SetPreventionPoliciesPrecedenceBadRequest
NewSetPreventionPoliciesPrecedenceBadRequest creates a SetPreventionPoliciesPrecedenceBadRequest with default headers values
func (*SetPreventionPoliciesPrecedenceBadRequest) Error ¶
func (o *SetPreventionPoliciesPrecedenceBadRequest) Error() string
func (*SetPreventionPoliciesPrecedenceBadRequest) GetPayload ¶
func (o *SetPreventionPoliciesPrecedenceBadRequest) GetPayload() *models.MsaQueryResponse
func (*SetPreventionPoliciesPrecedenceBadRequest) IsClientError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceBadRequest) IsClientError() bool
IsClientError returns true when this set prevention policies precedence bad request response has a 4xx status code
func (*SetPreventionPoliciesPrecedenceBadRequest) IsCode ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceBadRequest) IsCode(code int) bool
IsCode returns true when this set prevention policies precedence bad request response a status code equal to that given
func (*SetPreventionPoliciesPrecedenceBadRequest) IsRedirect ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceBadRequest) IsRedirect() bool
IsRedirect returns true when this set prevention policies precedence bad request response has a 3xx status code
func (*SetPreventionPoliciesPrecedenceBadRequest) IsServerError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceBadRequest) IsServerError() bool
IsServerError returns true when this set prevention policies precedence bad request response has a 5xx status code
func (*SetPreventionPoliciesPrecedenceBadRequest) IsSuccess ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceBadRequest) IsSuccess() bool
IsSuccess returns true when this set prevention policies precedence bad request response has a 2xx status code
func (*SetPreventionPoliciesPrecedenceBadRequest) String ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceBadRequest) String() string
type SetPreventionPoliciesPrecedenceDefault ¶
type SetPreventionPoliciesPrecedenceDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
SetPreventionPoliciesPrecedenceDefault describes a response with status code -1, with default header values.
OK
func NewSetPreventionPoliciesPrecedenceDefault ¶
func NewSetPreventionPoliciesPrecedenceDefault(code int) *SetPreventionPoliciesPrecedenceDefault
NewSetPreventionPoliciesPrecedenceDefault creates a SetPreventionPoliciesPrecedenceDefault with default headers values
func (*SetPreventionPoliciesPrecedenceDefault) Code ¶
func (o *SetPreventionPoliciesPrecedenceDefault) Code() int
Code gets the status code for the set prevention policies precedence default response
func (*SetPreventionPoliciesPrecedenceDefault) Error ¶
func (o *SetPreventionPoliciesPrecedenceDefault) Error() string
func (*SetPreventionPoliciesPrecedenceDefault) GetPayload ¶
func (o *SetPreventionPoliciesPrecedenceDefault) GetPayload() *models.MsaQueryResponse
func (*SetPreventionPoliciesPrecedenceDefault) IsClientError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceDefault) IsClientError() bool
IsClientError returns true when this set prevention policies precedence default response has a 4xx status code
func (*SetPreventionPoliciesPrecedenceDefault) IsCode ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceDefault) IsCode(code int) bool
IsCode returns true when this set prevention policies precedence default response a status code equal to that given
func (*SetPreventionPoliciesPrecedenceDefault) IsRedirect ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceDefault) IsRedirect() bool
IsRedirect returns true when this set prevention policies precedence default response has a 3xx status code
func (*SetPreventionPoliciesPrecedenceDefault) IsServerError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceDefault) IsServerError() bool
IsServerError returns true when this set prevention policies precedence default response has a 5xx status code
func (*SetPreventionPoliciesPrecedenceDefault) IsSuccess ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceDefault) IsSuccess() bool
IsSuccess returns true when this set prevention policies precedence default response has a 2xx status code
func (*SetPreventionPoliciesPrecedenceDefault) String ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceDefault) String() string
type SetPreventionPoliciesPrecedenceForbidden ¶
type SetPreventionPoliciesPrecedenceForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaErrorsOnly }
SetPreventionPoliciesPrecedenceForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSetPreventionPoliciesPrecedenceForbidden ¶
func NewSetPreventionPoliciesPrecedenceForbidden() *SetPreventionPoliciesPrecedenceForbidden
NewSetPreventionPoliciesPrecedenceForbidden creates a SetPreventionPoliciesPrecedenceForbidden with default headers values
func (*SetPreventionPoliciesPrecedenceForbidden) Error ¶
func (o *SetPreventionPoliciesPrecedenceForbidden) Error() string
func (*SetPreventionPoliciesPrecedenceForbidden) GetPayload ¶
func (o *SetPreventionPoliciesPrecedenceForbidden) GetPayload() *models.MsaErrorsOnly
func (*SetPreventionPoliciesPrecedenceForbidden) IsClientError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceForbidden) IsClientError() bool
IsClientError returns true when this set prevention policies precedence forbidden response has a 4xx status code
func (*SetPreventionPoliciesPrecedenceForbidden) IsCode ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceForbidden) IsCode(code int) bool
IsCode returns true when this set prevention policies precedence forbidden response a status code equal to that given
func (*SetPreventionPoliciesPrecedenceForbidden) IsRedirect ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceForbidden) IsRedirect() bool
IsRedirect returns true when this set prevention policies precedence forbidden response has a 3xx status code
func (*SetPreventionPoliciesPrecedenceForbidden) IsServerError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceForbidden) IsServerError() bool
IsServerError returns true when this set prevention policies precedence forbidden response has a 5xx status code
func (*SetPreventionPoliciesPrecedenceForbidden) IsSuccess ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceForbidden) IsSuccess() bool
IsSuccess returns true when this set prevention policies precedence forbidden response has a 2xx status code
func (*SetPreventionPoliciesPrecedenceForbidden) String ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceForbidden) String() string
type SetPreventionPoliciesPrecedenceInternalServerError ¶
type SetPreventionPoliciesPrecedenceInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
SetPreventionPoliciesPrecedenceInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewSetPreventionPoliciesPrecedenceInternalServerError ¶
func NewSetPreventionPoliciesPrecedenceInternalServerError() *SetPreventionPoliciesPrecedenceInternalServerError
NewSetPreventionPoliciesPrecedenceInternalServerError creates a SetPreventionPoliciesPrecedenceInternalServerError with default headers values
func (*SetPreventionPoliciesPrecedenceInternalServerError) Error ¶
func (o *SetPreventionPoliciesPrecedenceInternalServerError) Error() string
func (*SetPreventionPoliciesPrecedenceInternalServerError) GetPayload ¶
func (o *SetPreventionPoliciesPrecedenceInternalServerError) GetPayload() *models.MsaQueryResponse
func (*SetPreventionPoliciesPrecedenceInternalServerError) IsClientError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceInternalServerError) IsClientError() bool
IsClientError returns true when this set prevention policies precedence internal server error response has a 4xx status code
func (*SetPreventionPoliciesPrecedenceInternalServerError) IsCode ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceInternalServerError) IsCode(code int) bool
IsCode returns true when this set prevention policies precedence internal server error response a status code equal to that given
func (*SetPreventionPoliciesPrecedenceInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceInternalServerError) IsRedirect() bool
IsRedirect returns true when this set prevention policies precedence internal server error response has a 3xx status code
func (*SetPreventionPoliciesPrecedenceInternalServerError) IsServerError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceInternalServerError) IsServerError() bool
IsServerError returns true when this set prevention policies precedence internal server error response has a 5xx status code
func (*SetPreventionPoliciesPrecedenceInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceInternalServerError) IsSuccess() bool
IsSuccess returns true when this set prevention policies precedence internal server error response has a 2xx status code
func (*SetPreventionPoliciesPrecedenceInternalServerError) String ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceInternalServerError) String() string
type SetPreventionPoliciesPrecedenceOK ¶
type SetPreventionPoliciesPrecedenceOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
SetPreventionPoliciesPrecedenceOK describes a response with status code 200, with default header values.
OK
func NewSetPreventionPoliciesPrecedenceOK ¶
func NewSetPreventionPoliciesPrecedenceOK() *SetPreventionPoliciesPrecedenceOK
NewSetPreventionPoliciesPrecedenceOK creates a SetPreventionPoliciesPrecedenceOK with default headers values
func (*SetPreventionPoliciesPrecedenceOK) Error ¶
func (o *SetPreventionPoliciesPrecedenceOK) Error() string
func (*SetPreventionPoliciesPrecedenceOK) GetPayload ¶
func (o *SetPreventionPoliciesPrecedenceOK) GetPayload() *models.MsaQueryResponse
func (*SetPreventionPoliciesPrecedenceOK) IsClientError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceOK) IsClientError() bool
IsClientError returns true when this set prevention policies precedence o k response has a 4xx status code
func (*SetPreventionPoliciesPrecedenceOK) IsCode ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceOK) IsCode(code int) bool
IsCode returns true when this set prevention policies precedence o k response a status code equal to that given
func (*SetPreventionPoliciesPrecedenceOK) IsRedirect ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceOK) IsRedirect() bool
IsRedirect returns true when this set prevention policies precedence o k response has a 3xx status code
func (*SetPreventionPoliciesPrecedenceOK) IsServerError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceOK) IsServerError() bool
IsServerError returns true when this set prevention policies precedence o k response has a 5xx status code
func (*SetPreventionPoliciesPrecedenceOK) IsSuccess ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceOK) IsSuccess() bool
IsSuccess returns true when this set prevention policies precedence o k response has a 2xx status code
func (*SetPreventionPoliciesPrecedenceOK) String ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceOK) String() string
type SetPreventionPoliciesPrecedenceParams ¶
type SetPreventionPoliciesPrecedenceParams struct { // Body. Body *models.RequestsSetPolicyPrecedenceReqV1 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetPreventionPoliciesPrecedenceParams contains all the parameters to send to the API endpoint
for the set prevention policies precedence operation. Typically these are written to a http.Request.
func NewSetPreventionPoliciesPrecedenceParams ¶
func NewSetPreventionPoliciesPrecedenceParams() *SetPreventionPoliciesPrecedenceParams
NewSetPreventionPoliciesPrecedenceParams creates a new SetPreventionPoliciesPrecedenceParams 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 NewSetPreventionPoliciesPrecedenceParamsWithContext ¶
func NewSetPreventionPoliciesPrecedenceParamsWithContext(ctx context.Context) *SetPreventionPoliciesPrecedenceParams
NewSetPreventionPoliciesPrecedenceParamsWithContext creates a new SetPreventionPoliciesPrecedenceParams object with the ability to set a context for a request.
func NewSetPreventionPoliciesPrecedenceParamsWithHTTPClient ¶
func NewSetPreventionPoliciesPrecedenceParamsWithHTTPClient(client *http.Client) *SetPreventionPoliciesPrecedenceParams
NewSetPreventionPoliciesPrecedenceParamsWithHTTPClient creates a new SetPreventionPoliciesPrecedenceParams object with the ability to set a custom HTTPClient for a request.
func NewSetPreventionPoliciesPrecedenceParamsWithTimeout ¶
func NewSetPreventionPoliciesPrecedenceParamsWithTimeout(timeout time.Duration) *SetPreventionPoliciesPrecedenceParams
NewSetPreventionPoliciesPrecedenceParamsWithTimeout creates a new SetPreventionPoliciesPrecedenceParams object with the ability to set a timeout on a request.
func (*SetPreventionPoliciesPrecedenceParams) SetBody ¶
func (o *SetPreventionPoliciesPrecedenceParams) SetBody(body *models.RequestsSetPolicyPrecedenceReqV1)
SetBody adds the body to the set prevention policies precedence params
func (*SetPreventionPoliciesPrecedenceParams) SetContext ¶
func (o *SetPreventionPoliciesPrecedenceParams) SetContext(ctx context.Context)
SetContext adds the context to the set prevention policies precedence params
func (*SetPreventionPoliciesPrecedenceParams) SetDefaults ¶
func (o *SetPreventionPoliciesPrecedenceParams) SetDefaults()
SetDefaults hydrates default values in the set prevention policies precedence params (not the query body).
All values with no default are reset to their zero value.
func (*SetPreventionPoliciesPrecedenceParams) SetHTTPClient ¶
func (o *SetPreventionPoliciesPrecedenceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set prevention policies precedence params
func (*SetPreventionPoliciesPrecedenceParams) SetTimeout ¶
func (o *SetPreventionPoliciesPrecedenceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set prevention policies precedence params
func (*SetPreventionPoliciesPrecedenceParams) WithBody ¶
func (o *SetPreventionPoliciesPrecedenceParams) WithBody(body *models.RequestsSetPolicyPrecedenceReqV1) *SetPreventionPoliciesPrecedenceParams
WithBody adds the body to the set prevention policies precedence params
func (*SetPreventionPoliciesPrecedenceParams) WithContext ¶
func (o *SetPreventionPoliciesPrecedenceParams) WithContext(ctx context.Context) *SetPreventionPoliciesPrecedenceParams
WithContext adds the context to the set prevention policies precedence params
func (*SetPreventionPoliciesPrecedenceParams) WithDefaults ¶
func (o *SetPreventionPoliciesPrecedenceParams) WithDefaults() *SetPreventionPoliciesPrecedenceParams
WithDefaults hydrates default values in the set prevention policies precedence params (not the query body).
All values with no default are reset to their zero value.
func (*SetPreventionPoliciesPrecedenceParams) WithHTTPClient ¶
func (o *SetPreventionPoliciesPrecedenceParams) WithHTTPClient(client *http.Client) *SetPreventionPoliciesPrecedenceParams
WithHTTPClient adds the HTTPClient to the set prevention policies precedence params
func (*SetPreventionPoliciesPrecedenceParams) WithTimeout ¶
func (o *SetPreventionPoliciesPrecedenceParams) WithTimeout(timeout time.Duration) *SetPreventionPoliciesPrecedenceParams
WithTimeout adds the timeout to the set prevention policies precedence params
func (*SetPreventionPoliciesPrecedenceParams) WriteToRequest ¶
func (o *SetPreventionPoliciesPrecedenceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetPreventionPoliciesPrecedenceReader ¶
type SetPreventionPoliciesPrecedenceReader struct {
// contains filtered or unexported fields
}
SetPreventionPoliciesPrecedenceReader is a Reader for the SetPreventionPoliciesPrecedence structure.
func (*SetPreventionPoliciesPrecedenceReader) ReadResponse ¶
func (o *SetPreventionPoliciesPrecedenceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetPreventionPoliciesPrecedenceTooManyRequests ¶
type SetPreventionPoliciesPrecedenceTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
SetPreventionPoliciesPrecedenceTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewSetPreventionPoliciesPrecedenceTooManyRequests ¶
func NewSetPreventionPoliciesPrecedenceTooManyRequests() *SetPreventionPoliciesPrecedenceTooManyRequests
NewSetPreventionPoliciesPrecedenceTooManyRequests creates a SetPreventionPoliciesPrecedenceTooManyRequests with default headers values
func (*SetPreventionPoliciesPrecedenceTooManyRequests) Error ¶
func (o *SetPreventionPoliciesPrecedenceTooManyRequests) Error() string
func (*SetPreventionPoliciesPrecedenceTooManyRequests) GetPayload ¶
func (o *SetPreventionPoliciesPrecedenceTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*SetPreventionPoliciesPrecedenceTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceTooManyRequests) IsClientError() bool
IsClientError returns true when this set prevention policies precedence too many requests response has a 4xx status code
func (*SetPreventionPoliciesPrecedenceTooManyRequests) IsCode ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceTooManyRequests) IsCode(code int) bool
IsCode returns true when this set prevention policies precedence too many requests response a status code equal to that given
func (*SetPreventionPoliciesPrecedenceTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this set prevention policies precedence too many requests response has a 3xx status code
func (*SetPreventionPoliciesPrecedenceTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceTooManyRequests) IsServerError() bool
IsServerError returns true when this set prevention policies precedence too many requests response has a 5xx status code
func (*SetPreventionPoliciesPrecedenceTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this set prevention policies precedence too many requests response has a 2xx status code
func (*SetPreventionPoliciesPrecedenceTooManyRequests) String ¶ added in v0.2.27
func (o *SetPreventionPoliciesPrecedenceTooManyRequests) String() string
type UpdatePreventionPoliciesBadRequest ¶
type UpdatePreventionPoliciesBadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
UpdatePreventionPoliciesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUpdatePreventionPoliciesBadRequest ¶
func NewUpdatePreventionPoliciesBadRequest() *UpdatePreventionPoliciesBadRequest
NewUpdatePreventionPoliciesBadRequest creates a UpdatePreventionPoliciesBadRequest with default headers values
func (*UpdatePreventionPoliciesBadRequest) Error ¶
func (o *UpdatePreventionPoliciesBadRequest) Error() string
func (*UpdatePreventionPoliciesBadRequest) GetPayload ¶
func (o *UpdatePreventionPoliciesBadRequest) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*UpdatePreventionPoliciesBadRequest) IsClientError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesBadRequest) IsClientError() bool
IsClientError returns true when this update prevention policies bad request response has a 4xx status code
func (*UpdatePreventionPoliciesBadRequest) IsCode ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesBadRequest) IsCode(code int) bool
IsCode returns true when this update prevention policies bad request response a status code equal to that given
func (*UpdatePreventionPoliciesBadRequest) IsRedirect ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesBadRequest) IsRedirect() bool
IsRedirect returns true when this update prevention policies bad request response has a 3xx status code
func (*UpdatePreventionPoliciesBadRequest) IsServerError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesBadRequest) IsServerError() bool
IsServerError returns true when this update prevention policies bad request response has a 5xx status code
func (*UpdatePreventionPoliciesBadRequest) IsSuccess ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesBadRequest) IsSuccess() bool
IsSuccess returns true when this update prevention policies bad request response has a 2xx status code
func (*UpdatePreventionPoliciesBadRequest) String ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesBadRequest) String() string
type UpdatePreventionPoliciesDefault ¶
type UpdatePreventionPoliciesDefault struct { Payload *models.ResponsesPreventionPoliciesV1 // contains filtered or unexported fields }
UpdatePreventionPoliciesDefault describes a response with status code -1, with default header values.
OK
func NewUpdatePreventionPoliciesDefault ¶
func NewUpdatePreventionPoliciesDefault(code int) *UpdatePreventionPoliciesDefault
NewUpdatePreventionPoliciesDefault creates a UpdatePreventionPoliciesDefault with default headers values
func (*UpdatePreventionPoliciesDefault) Code ¶
func (o *UpdatePreventionPoliciesDefault) Code() int
Code gets the status code for the update prevention policies default response
func (*UpdatePreventionPoliciesDefault) Error ¶
func (o *UpdatePreventionPoliciesDefault) Error() string
func (*UpdatePreventionPoliciesDefault) GetPayload ¶
func (o *UpdatePreventionPoliciesDefault) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*UpdatePreventionPoliciesDefault) IsClientError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesDefault) IsClientError() bool
IsClientError returns true when this update prevention policies default response has a 4xx status code
func (*UpdatePreventionPoliciesDefault) IsCode ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesDefault) IsCode(code int) bool
IsCode returns true when this update prevention policies default response a status code equal to that given
func (*UpdatePreventionPoliciesDefault) IsRedirect ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesDefault) IsRedirect() bool
IsRedirect returns true when this update prevention policies default response has a 3xx status code
func (*UpdatePreventionPoliciesDefault) IsServerError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesDefault) IsServerError() bool
IsServerError returns true when this update prevention policies default response has a 5xx status code
func (*UpdatePreventionPoliciesDefault) IsSuccess ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesDefault) IsSuccess() bool
IsSuccess returns true when this update prevention policies default response has a 2xx status code
func (*UpdatePreventionPoliciesDefault) String ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesDefault) String() string
type UpdatePreventionPoliciesForbidden ¶
type UpdatePreventionPoliciesForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaErrorsOnly }
UpdatePreventionPoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdatePreventionPoliciesForbidden ¶
func NewUpdatePreventionPoliciesForbidden() *UpdatePreventionPoliciesForbidden
NewUpdatePreventionPoliciesForbidden creates a UpdatePreventionPoliciesForbidden with default headers values
func (*UpdatePreventionPoliciesForbidden) Error ¶
func (o *UpdatePreventionPoliciesForbidden) Error() string
func (*UpdatePreventionPoliciesForbidden) GetPayload ¶
func (o *UpdatePreventionPoliciesForbidden) GetPayload() *models.MsaErrorsOnly
func (*UpdatePreventionPoliciesForbidden) IsClientError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesForbidden) IsClientError() bool
IsClientError returns true when this update prevention policies forbidden response has a 4xx status code
func (*UpdatePreventionPoliciesForbidden) IsCode ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesForbidden) IsCode(code int) bool
IsCode returns true when this update prevention policies forbidden response a status code equal to that given
func (*UpdatePreventionPoliciesForbidden) IsRedirect ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this update prevention policies forbidden response has a 3xx status code
func (*UpdatePreventionPoliciesForbidden) IsServerError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesForbidden) IsServerError() bool
IsServerError returns true when this update prevention policies forbidden response has a 5xx status code
func (*UpdatePreventionPoliciesForbidden) IsSuccess ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this update prevention policies forbidden response has a 2xx status code
func (*UpdatePreventionPoliciesForbidden) String ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesForbidden) String() string
type UpdatePreventionPoliciesInternalServerError ¶
type UpdatePreventionPoliciesInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
UpdatePreventionPoliciesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdatePreventionPoliciesInternalServerError ¶
func NewUpdatePreventionPoliciesInternalServerError() *UpdatePreventionPoliciesInternalServerError
NewUpdatePreventionPoliciesInternalServerError creates a UpdatePreventionPoliciesInternalServerError with default headers values
func (*UpdatePreventionPoliciesInternalServerError) Error ¶
func (o *UpdatePreventionPoliciesInternalServerError) Error() string
func (*UpdatePreventionPoliciesInternalServerError) GetPayload ¶
func (o *UpdatePreventionPoliciesInternalServerError) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*UpdatePreventionPoliciesInternalServerError) IsClientError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesInternalServerError) IsClientError() bool
IsClientError returns true when this update prevention policies internal server error response has a 4xx status code
func (*UpdatePreventionPoliciesInternalServerError) IsCode ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesInternalServerError) IsCode(code int) bool
IsCode returns true when this update prevention policies internal server error response a status code equal to that given
func (*UpdatePreventionPoliciesInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesInternalServerError) IsRedirect() bool
IsRedirect returns true when this update prevention policies internal server error response has a 3xx status code
func (*UpdatePreventionPoliciesInternalServerError) IsServerError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesInternalServerError) IsServerError() bool
IsServerError returns true when this update prevention policies internal server error response has a 5xx status code
func (*UpdatePreventionPoliciesInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesInternalServerError) IsSuccess() bool
IsSuccess returns true when this update prevention policies internal server error response has a 2xx status code
func (*UpdatePreventionPoliciesInternalServerError) String ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesInternalServerError) String() string
type UpdatePreventionPoliciesNotFound ¶
type UpdatePreventionPoliciesNotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
UpdatePreventionPoliciesNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdatePreventionPoliciesNotFound ¶
func NewUpdatePreventionPoliciesNotFound() *UpdatePreventionPoliciesNotFound
NewUpdatePreventionPoliciesNotFound creates a UpdatePreventionPoliciesNotFound with default headers values
func (*UpdatePreventionPoliciesNotFound) Error ¶
func (o *UpdatePreventionPoliciesNotFound) Error() string
func (*UpdatePreventionPoliciesNotFound) GetPayload ¶
func (o *UpdatePreventionPoliciesNotFound) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*UpdatePreventionPoliciesNotFound) IsClientError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesNotFound) IsClientError() bool
IsClientError returns true when this update prevention policies not found response has a 4xx status code
func (*UpdatePreventionPoliciesNotFound) IsCode ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesNotFound) IsCode(code int) bool
IsCode returns true when this update prevention policies not found response a status code equal to that given
func (*UpdatePreventionPoliciesNotFound) IsRedirect ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesNotFound) IsRedirect() bool
IsRedirect returns true when this update prevention policies not found response has a 3xx status code
func (*UpdatePreventionPoliciesNotFound) IsServerError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesNotFound) IsServerError() bool
IsServerError returns true when this update prevention policies not found response has a 5xx status code
func (*UpdatePreventionPoliciesNotFound) IsSuccess ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesNotFound) IsSuccess() bool
IsSuccess returns true when this update prevention policies not found response has a 2xx status code
func (*UpdatePreventionPoliciesNotFound) String ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesNotFound) String() string
type UpdatePreventionPoliciesOK ¶
type UpdatePreventionPoliciesOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ResponsesPreventionPoliciesV1 }
UpdatePreventionPoliciesOK describes a response with status code 200, with default header values.
OK
func NewUpdatePreventionPoliciesOK ¶
func NewUpdatePreventionPoliciesOK() *UpdatePreventionPoliciesOK
NewUpdatePreventionPoliciesOK creates a UpdatePreventionPoliciesOK with default headers values
func (*UpdatePreventionPoliciesOK) Error ¶
func (o *UpdatePreventionPoliciesOK) Error() string
func (*UpdatePreventionPoliciesOK) GetPayload ¶
func (o *UpdatePreventionPoliciesOK) GetPayload() *models.ResponsesPreventionPoliciesV1
func (*UpdatePreventionPoliciesOK) IsClientError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesOK) IsClientError() bool
IsClientError returns true when this update prevention policies o k response has a 4xx status code
func (*UpdatePreventionPoliciesOK) IsCode ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesOK) IsCode(code int) bool
IsCode returns true when this update prevention policies o k response a status code equal to that given
func (*UpdatePreventionPoliciesOK) IsRedirect ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesOK) IsRedirect() bool
IsRedirect returns true when this update prevention policies o k response has a 3xx status code
func (*UpdatePreventionPoliciesOK) IsServerError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesOK) IsServerError() bool
IsServerError returns true when this update prevention policies o k response has a 5xx status code
func (*UpdatePreventionPoliciesOK) IsSuccess ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesOK) IsSuccess() bool
IsSuccess returns true when this update prevention policies o k response has a 2xx status code
func (*UpdatePreventionPoliciesOK) String ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesOK) String() string
type UpdatePreventionPoliciesParams ¶
type UpdatePreventionPoliciesParams struct { // Body. Body *models.RequestsUpdatePreventionPoliciesV1 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePreventionPoliciesParams contains all the parameters to send to the API endpoint
for the update prevention policies operation. Typically these are written to a http.Request.
func NewUpdatePreventionPoliciesParams ¶
func NewUpdatePreventionPoliciesParams() *UpdatePreventionPoliciesParams
NewUpdatePreventionPoliciesParams creates a new UpdatePreventionPoliciesParams 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 NewUpdatePreventionPoliciesParamsWithContext ¶
func NewUpdatePreventionPoliciesParamsWithContext(ctx context.Context) *UpdatePreventionPoliciesParams
NewUpdatePreventionPoliciesParamsWithContext creates a new UpdatePreventionPoliciesParams object with the ability to set a context for a request.
func NewUpdatePreventionPoliciesParamsWithHTTPClient ¶
func NewUpdatePreventionPoliciesParamsWithHTTPClient(client *http.Client) *UpdatePreventionPoliciesParams
NewUpdatePreventionPoliciesParamsWithHTTPClient creates a new UpdatePreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePreventionPoliciesParamsWithTimeout ¶
func NewUpdatePreventionPoliciesParamsWithTimeout(timeout time.Duration) *UpdatePreventionPoliciesParams
NewUpdatePreventionPoliciesParamsWithTimeout creates a new UpdatePreventionPoliciesParams object with the ability to set a timeout on a request.
func (*UpdatePreventionPoliciesParams) SetBody ¶
func (o *UpdatePreventionPoliciesParams) SetBody(body *models.RequestsUpdatePreventionPoliciesV1)
SetBody adds the body to the update prevention policies params
func (*UpdatePreventionPoliciesParams) SetContext ¶
func (o *UpdatePreventionPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the update prevention policies params
func (*UpdatePreventionPoliciesParams) SetDefaults ¶
func (o *UpdatePreventionPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the update prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePreventionPoliciesParams) SetHTTPClient ¶
func (o *UpdatePreventionPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update prevention policies params
func (*UpdatePreventionPoliciesParams) SetTimeout ¶
func (o *UpdatePreventionPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update prevention policies params
func (*UpdatePreventionPoliciesParams) WithBody ¶
func (o *UpdatePreventionPoliciesParams) WithBody(body *models.RequestsUpdatePreventionPoliciesV1) *UpdatePreventionPoliciesParams
WithBody adds the body to the update prevention policies params
func (*UpdatePreventionPoliciesParams) WithContext ¶
func (o *UpdatePreventionPoliciesParams) WithContext(ctx context.Context) *UpdatePreventionPoliciesParams
WithContext adds the context to the update prevention policies params
func (*UpdatePreventionPoliciesParams) WithDefaults ¶
func (o *UpdatePreventionPoliciesParams) WithDefaults() *UpdatePreventionPoliciesParams
WithDefaults hydrates default values in the update prevention policies params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePreventionPoliciesParams) WithHTTPClient ¶
func (o *UpdatePreventionPoliciesParams) WithHTTPClient(client *http.Client) *UpdatePreventionPoliciesParams
WithHTTPClient adds the HTTPClient to the update prevention policies params
func (*UpdatePreventionPoliciesParams) WithTimeout ¶
func (o *UpdatePreventionPoliciesParams) WithTimeout(timeout time.Duration) *UpdatePreventionPoliciesParams
WithTimeout adds the timeout to the update prevention policies params
func (*UpdatePreventionPoliciesParams) WriteToRequest ¶
func (o *UpdatePreventionPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePreventionPoliciesReader ¶
type UpdatePreventionPoliciesReader struct {
// contains filtered or unexported fields
}
UpdatePreventionPoliciesReader is a Reader for the UpdatePreventionPolicies structure.
func (*UpdatePreventionPoliciesReader) ReadResponse ¶
func (o *UpdatePreventionPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePreventionPoliciesTooManyRequests ¶
type UpdatePreventionPoliciesTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
UpdatePreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUpdatePreventionPoliciesTooManyRequests ¶
func NewUpdatePreventionPoliciesTooManyRequests() *UpdatePreventionPoliciesTooManyRequests
NewUpdatePreventionPoliciesTooManyRequests creates a UpdatePreventionPoliciesTooManyRequests with default headers values
func (*UpdatePreventionPoliciesTooManyRequests) Error ¶
func (o *UpdatePreventionPoliciesTooManyRequests) Error() string
func (*UpdatePreventionPoliciesTooManyRequests) GetPayload ¶
func (o *UpdatePreventionPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*UpdatePreventionPoliciesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesTooManyRequests) IsClientError() bool
IsClientError returns true when this update prevention policies too many requests response has a 4xx status code
func (*UpdatePreventionPoliciesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesTooManyRequests) IsCode(code int) bool
IsCode returns true when this update prevention policies too many requests response a status code equal to that given
func (*UpdatePreventionPoliciesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update prevention policies too many requests response has a 3xx status code
func (*UpdatePreventionPoliciesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesTooManyRequests) IsServerError() bool
IsServerError returns true when this update prevention policies too many requests response has a 5xx status code
func (*UpdatePreventionPoliciesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update prevention policies too many requests response has a 2xx status code
func (*UpdatePreventionPoliciesTooManyRequests) String ¶ added in v0.2.27
func (o *UpdatePreventionPoliciesTooManyRequests) String() string
Source Files ¶
- create_prevention_policies_parameters.go
- create_prevention_policies_responses.go
- delete_prevention_policies_parameters.go
- delete_prevention_policies_responses.go
- get_prevention_policies_parameters.go
- get_prevention_policies_responses.go
- perform_prevention_policies_action_parameters.go
- perform_prevention_policies_action_responses.go
- prevention_policies_client.go
- query_combined_prevention_policies_parameters.go
- query_combined_prevention_policies_responses.go
- query_combined_prevention_policy_members_parameters.go
- query_combined_prevention_policy_members_responses.go
- query_prevention_policies_parameters.go
- query_prevention_policies_responses.go
- query_prevention_policy_members_parameters.go
- query_prevention_policy_members_responses.go
- set_prevention_policies_precedence_parameters.go
- set_prevention_policies_precedence_responses.go
- update_prevention_policies_parameters.go
- update_prevention_policies_responses.go