Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePolicies(params *CreatePoliciesParams, opts ...ClientOption) (*CreatePoliciesOK, error)
- func (a *Client) CreatePolicyGroups(params *CreatePolicyGroupsParams, opts ...ClientOption) (*CreatePolicyGroupsOK, error)
- func (a *Client) DeletePolicy(params *DeletePolicyParams, opts ...ClientOption) (*DeletePolicyOK, error)
- func (a *Client) DeletePolicyGroup(params *DeletePolicyGroupParams, opts ...ClientOption) (*DeletePolicyGroupOK, error)
- func (a *Client) ReadPolicies(params *ReadPoliciesParams, opts ...ClientOption) (*ReadPoliciesOK, error)
- func (a *Client) ReadPolicyExclusions(params *ReadPolicyExclusionsParams, opts ...ClientOption) (*ReadPolicyExclusionsOK, error)
- func (a *Client) ReadPolicyGroups(params *ReadPolicyGroupsParams, opts ...ClientOption) (*ReadPolicyGroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePolicies(params *UpdatePoliciesParams, opts ...ClientOption) (*UpdatePoliciesOK, error)
- func (a *Client) UpdatePolicyExclusions(params *UpdatePolicyExclusionsParams, opts ...ClientOption) (*UpdatePolicyExclusionsOK, error)
- func (a *Client) UpdatePolicyGroups(params *UpdatePolicyGroupsParams, opts ...ClientOption) (*UpdatePolicyGroupsOK, error)
- func (a *Client) UpdatePolicyPrecedence(params *UpdatePolicyPrecedenceParams, opts ...ClientOption) (*UpdatePolicyPrecedenceOK, error)
- type ClientOption
- type ClientService
- type CreatePoliciesForbidden
- func (o *CreatePoliciesForbidden) Code() int
- func (o *CreatePoliciesForbidden) Error() string
- func (o *CreatePoliciesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *CreatePoliciesForbidden) IsClientError() bool
- func (o *CreatePoliciesForbidden) IsCode(code int) bool
- func (o *CreatePoliciesForbidden) IsRedirect() bool
- func (o *CreatePoliciesForbidden) IsServerError() bool
- func (o *CreatePoliciesForbidden) IsSuccess() bool
- func (o *CreatePoliciesForbidden) String() string
- type CreatePoliciesInternalServerError
- func (o *CreatePoliciesInternalServerError) Code() int
- func (o *CreatePoliciesInternalServerError) Error() string
- func (o *CreatePoliciesInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *CreatePoliciesInternalServerError) IsClientError() bool
- func (o *CreatePoliciesInternalServerError) IsCode(code int) bool
- func (o *CreatePoliciesInternalServerError) IsRedirect() bool
- func (o *CreatePoliciesInternalServerError) IsServerError() bool
- func (o *CreatePoliciesInternalServerError) IsSuccess() bool
- func (o *CreatePoliciesInternalServerError) String() string
- type CreatePoliciesOK
- func (o *CreatePoliciesOK) Code() int
- func (o *CreatePoliciesOK) Error() string
- func (o *CreatePoliciesOK) GetPayload() *models.ModelsPolicyEntityResponse
- func (o *CreatePoliciesOK) IsClientError() bool
- func (o *CreatePoliciesOK) IsCode(code int) bool
- func (o *CreatePoliciesOK) IsRedirect() bool
- func (o *CreatePoliciesOK) IsServerError() bool
- func (o *CreatePoliciesOK) IsSuccess() bool
- func (o *CreatePoliciesOK) String() string
- type CreatePoliciesParams
- func NewCreatePoliciesParams() *CreatePoliciesParams
- func NewCreatePoliciesParamsWithContext(ctx context.Context) *CreatePoliciesParams
- func NewCreatePoliciesParamsWithHTTPClient(client *http.Client) *CreatePoliciesParams
- func NewCreatePoliciesParamsWithTimeout(timeout time.Duration) *CreatePoliciesParams
- func (o *CreatePoliciesParams) SetBody(body *models.ModelsCreatePolicyRequest)
- func (o *CreatePoliciesParams) SetContext(ctx context.Context)
- func (o *CreatePoliciesParams) SetDefaults()
- func (o *CreatePoliciesParams) SetHTTPClient(client *http.Client)
- func (o *CreatePoliciesParams) SetTimeout(timeout time.Duration)
- func (o *CreatePoliciesParams) WithBody(body *models.ModelsCreatePolicyRequest) *CreatePoliciesParams
- func (o *CreatePoliciesParams) WithContext(ctx context.Context) *CreatePoliciesParams
- func (o *CreatePoliciesParams) WithDefaults() *CreatePoliciesParams
- func (o *CreatePoliciesParams) WithHTTPClient(client *http.Client) *CreatePoliciesParams
- func (o *CreatePoliciesParams) WithTimeout(timeout time.Duration) *CreatePoliciesParams
- func (o *CreatePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePoliciesReader
- type CreatePoliciesTooManyRequests
- func (o *CreatePoliciesTooManyRequests) Code() int
- func (o *CreatePoliciesTooManyRequests) Error() string
- func (o *CreatePoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *CreatePoliciesTooManyRequests) IsClientError() bool
- func (o *CreatePoliciesTooManyRequests) IsCode(code int) bool
- func (o *CreatePoliciesTooManyRequests) IsRedirect() bool
- func (o *CreatePoliciesTooManyRequests) IsServerError() bool
- func (o *CreatePoliciesTooManyRequests) IsSuccess() bool
- func (o *CreatePoliciesTooManyRequests) String() string
- type CreatePolicyGroupsForbidden
- func (o *CreatePolicyGroupsForbidden) Code() int
- func (o *CreatePolicyGroupsForbidden) Error() string
- func (o *CreatePolicyGroupsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *CreatePolicyGroupsForbidden) IsClientError() bool
- func (o *CreatePolicyGroupsForbidden) IsCode(code int) bool
- func (o *CreatePolicyGroupsForbidden) IsRedirect() bool
- func (o *CreatePolicyGroupsForbidden) IsServerError() bool
- func (o *CreatePolicyGroupsForbidden) IsSuccess() bool
- func (o *CreatePolicyGroupsForbidden) String() string
- type CreatePolicyGroupsInternalServerError
- func (o *CreatePolicyGroupsInternalServerError) Code() int
- func (o *CreatePolicyGroupsInternalServerError) Error() string
- func (o *CreatePolicyGroupsInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *CreatePolicyGroupsInternalServerError) IsClientError() bool
- func (o *CreatePolicyGroupsInternalServerError) IsCode(code int) bool
- func (o *CreatePolicyGroupsInternalServerError) IsRedirect() bool
- func (o *CreatePolicyGroupsInternalServerError) IsServerError() bool
- func (o *CreatePolicyGroupsInternalServerError) IsSuccess() bool
- func (o *CreatePolicyGroupsInternalServerError) String() string
- type CreatePolicyGroupsOK
- func (o *CreatePolicyGroupsOK) Code() int
- func (o *CreatePolicyGroupsOK) Error() string
- func (o *CreatePolicyGroupsOK) GetPayload() *models.ModelsPolicyGroupEntityResponse
- func (o *CreatePolicyGroupsOK) IsClientError() bool
- func (o *CreatePolicyGroupsOK) IsCode(code int) bool
- func (o *CreatePolicyGroupsOK) IsRedirect() bool
- func (o *CreatePolicyGroupsOK) IsServerError() bool
- func (o *CreatePolicyGroupsOK) IsSuccess() bool
- func (o *CreatePolicyGroupsOK) String() string
- type CreatePolicyGroupsParams
- func NewCreatePolicyGroupsParams() *CreatePolicyGroupsParams
- func NewCreatePolicyGroupsParamsWithContext(ctx context.Context) *CreatePolicyGroupsParams
- func NewCreatePolicyGroupsParamsWithHTTPClient(client *http.Client) *CreatePolicyGroupsParams
- func NewCreatePolicyGroupsParamsWithTimeout(timeout time.Duration) *CreatePolicyGroupsParams
- func (o *CreatePolicyGroupsParams) SetBody(body *models.ModelsCreateImageGroupRequest)
- func (o *CreatePolicyGroupsParams) SetContext(ctx context.Context)
- func (o *CreatePolicyGroupsParams) SetDefaults()
- func (o *CreatePolicyGroupsParams) SetHTTPClient(client *http.Client)
- func (o *CreatePolicyGroupsParams) SetTimeout(timeout time.Duration)
- func (o *CreatePolicyGroupsParams) WithBody(body *models.ModelsCreateImageGroupRequest) *CreatePolicyGroupsParams
- func (o *CreatePolicyGroupsParams) WithContext(ctx context.Context) *CreatePolicyGroupsParams
- func (o *CreatePolicyGroupsParams) WithDefaults() *CreatePolicyGroupsParams
- func (o *CreatePolicyGroupsParams) WithHTTPClient(client *http.Client) *CreatePolicyGroupsParams
- func (o *CreatePolicyGroupsParams) WithTimeout(timeout time.Duration) *CreatePolicyGroupsParams
- func (o *CreatePolicyGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePolicyGroupsReader
- type CreatePolicyGroupsTooManyRequests
- func (o *CreatePolicyGroupsTooManyRequests) Code() int
- func (o *CreatePolicyGroupsTooManyRequests) Error() string
- func (o *CreatePolicyGroupsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *CreatePolicyGroupsTooManyRequests) IsClientError() bool
- func (o *CreatePolicyGroupsTooManyRequests) IsCode(code int) bool
- func (o *CreatePolicyGroupsTooManyRequests) IsRedirect() bool
- func (o *CreatePolicyGroupsTooManyRequests) IsServerError() bool
- func (o *CreatePolicyGroupsTooManyRequests) IsSuccess() bool
- func (o *CreatePolicyGroupsTooManyRequests) String() string
- type DeletePolicyForbidden
- func (o *DeletePolicyForbidden) Code() int
- func (o *DeletePolicyForbidden) Error() string
- func (o *DeletePolicyForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeletePolicyForbidden) IsClientError() bool
- func (o *DeletePolicyForbidden) IsCode(code int) bool
- func (o *DeletePolicyForbidden) IsRedirect() bool
- func (o *DeletePolicyForbidden) IsServerError() bool
- func (o *DeletePolicyForbidden) IsSuccess() bool
- func (o *DeletePolicyForbidden) String() string
- type DeletePolicyGroupForbidden
- func (o *DeletePolicyGroupForbidden) Code() int
- func (o *DeletePolicyGroupForbidden) Error() string
- func (o *DeletePolicyGroupForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeletePolicyGroupForbidden) IsClientError() bool
- func (o *DeletePolicyGroupForbidden) IsCode(code int) bool
- func (o *DeletePolicyGroupForbidden) IsRedirect() bool
- func (o *DeletePolicyGroupForbidden) IsServerError() bool
- func (o *DeletePolicyGroupForbidden) IsSuccess() bool
- func (o *DeletePolicyGroupForbidden) String() string
- type DeletePolicyGroupInternalServerError
- func (o *DeletePolicyGroupInternalServerError) Code() int
- func (o *DeletePolicyGroupInternalServerError) Error() string
- func (o *DeletePolicyGroupInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *DeletePolicyGroupInternalServerError) IsClientError() bool
- func (o *DeletePolicyGroupInternalServerError) IsCode(code int) bool
- func (o *DeletePolicyGroupInternalServerError) IsRedirect() bool
- func (o *DeletePolicyGroupInternalServerError) IsServerError() bool
- func (o *DeletePolicyGroupInternalServerError) IsSuccess() bool
- func (o *DeletePolicyGroupInternalServerError) String() string
- type DeletePolicyGroupOK
- func (o *DeletePolicyGroupOK) Code() int
- func (o *DeletePolicyGroupOK) Error() string
- func (o *DeletePolicyGroupOK) GetPayload() *models.CoreEntitiesResponse
- func (o *DeletePolicyGroupOK) IsClientError() bool
- func (o *DeletePolicyGroupOK) IsCode(code int) bool
- func (o *DeletePolicyGroupOK) IsRedirect() bool
- func (o *DeletePolicyGroupOK) IsServerError() bool
- func (o *DeletePolicyGroupOK) IsSuccess() bool
- func (o *DeletePolicyGroupOK) String() string
- type DeletePolicyGroupParams
- func NewDeletePolicyGroupParams() *DeletePolicyGroupParams
- func NewDeletePolicyGroupParamsWithContext(ctx context.Context) *DeletePolicyGroupParams
- func NewDeletePolicyGroupParamsWithHTTPClient(client *http.Client) *DeletePolicyGroupParams
- func NewDeletePolicyGroupParamsWithTimeout(timeout time.Duration) *DeletePolicyGroupParams
- func (o *DeletePolicyGroupParams) SetContext(ctx context.Context)
- func (o *DeletePolicyGroupParams) SetDefaults()
- func (o *DeletePolicyGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeletePolicyGroupParams) SetID(id string)
- func (o *DeletePolicyGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeletePolicyGroupParams) WithContext(ctx context.Context) *DeletePolicyGroupParams
- func (o *DeletePolicyGroupParams) WithDefaults() *DeletePolicyGroupParams
- func (o *DeletePolicyGroupParams) WithHTTPClient(client *http.Client) *DeletePolicyGroupParams
- func (o *DeletePolicyGroupParams) WithID(id string) *DeletePolicyGroupParams
- func (o *DeletePolicyGroupParams) WithTimeout(timeout time.Duration) *DeletePolicyGroupParams
- func (o *DeletePolicyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePolicyGroupReader
- type DeletePolicyGroupTooManyRequests
- func (o *DeletePolicyGroupTooManyRequests) Code() int
- func (o *DeletePolicyGroupTooManyRequests) Error() string
- func (o *DeletePolicyGroupTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeletePolicyGroupTooManyRequests) IsClientError() bool
- func (o *DeletePolicyGroupTooManyRequests) IsCode(code int) bool
- func (o *DeletePolicyGroupTooManyRequests) IsRedirect() bool
- func (o *DeletePolicyGroupTooManyRequests) IsServerError() bool
- func (o *DeletePolicyGroupTooManyRequests) IsSuccess() bool
- func (o *DeletePolicyGroupTooManyRequests) String() string
- type DeletePolicyInternalServerError
- func (o *DeletePolicyInternalServerError) Code() int
- func (o *DeletePolicyInternalServerError) Error() string
- func (o *DeletePolicyInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *DeletePolicyInternalServerError) IsClientError() bool
- func (o *DeletePolicyInternalServerError) IsCode(code int) bool
- func (o *DeletePolicyInternalServerError) IsRedirect() bool
- func (o *DeletePolicyInternalServerError) IsServerError() bool
- func (o *DeletePolicyInternalServerError) IsSuccess() bool
- func (o *DeletePolicyInternalServerError) String() string
- type DeletePolicyOK
- func (o *DeletePolicyOK) Code() int
- func (o *DeletePolicyOK) Error() string
- func (o *DeletePolicyOK) GetPayload() *models.CoreEntitiesResponse
- func (o *DeletePolicyOK) IsClientError() bool
- func (o *DeletePolicyOK) IsCode(code int) bool
- func (o *DeletePolicyOK) IsRedirect() bool
- func (o *DeletePolicyOK) IsServerError() bool
- func (o *DeletePolicyOK) IsSuccess() bool
- func (o *DeletePolicyOK) String() string
- type DeletePolicyParams
- func (o *DeletePolicyParams) SetContext(ctx context.Context)
- func (o *DeletePolicyParams) SetDefaults()
- func (o *DeletePolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeletePolicyParams) SetID(id string)
- func (o *DeletePolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeletePolicyParams) WithContext(ctx context.Context) *DeletePolicyParams
- func (o *DeletePolicyParams) WithDefaults() *DeletePolicyParams
- func (o *DeletePolicyParams) WithHTTPClient(client *http.Client) *DeletePolicyParams
- func (o *DeletePolicyParams) WithID(id string) *DeletePolicyParams
- func (o *DeletePolicyParams) WithTimeout(timeout time.Duration) *DeletePolicyParams
- func (o *DeletePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePolicyReader
- type DeletePolicyTooManyRequests
- func (o *DeletePolicyTooManyRequests) Code() int
- func (o *DeletePolicyTooManyRequests) Error() string
- func (o *DeletePolicyTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeletePolicyTooManyRequests) IsClientError() bool
- func (o *DeletePolicyTooManyRequests) IsCode(code int) bool
- func (o *DeletePolicyTooManyRequests) IsRedirect() bool
- func (o *DeletePolicyTooManyRequests) IsServerError() bool
- func (o *DeletePolicyTooManyRequests) IsSuccess() bool
- func (o *DeletePolicyTooManyRequests) String() string
- type ReadPoliciesForbidden
- func (o *ReadPoliciesForbidden) Code() int
- func (o *ReadPoliciesForbidden) Error() string
- func (o *ReadPoliciesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPoliciesForbidden) IsClientError() bool
- func (o *ReadPoliciesForbidden) IsCode(code int) bool
- func (o *ReadPoliciesForbidden) IsRedirect() bool
- func (o *ReadPoliciesForbidden) IsServerError() bool
- func (o *ReadPoliciesForbidden) IsSuccess() bool
- func (o *ReadPoliciesForbidden) String() string
- type ReadPoliciesInternalServerError
- func (o *ReadPoliciesInternalServerError) Code() int
- func (o *ReadPoliciesInternalServerError) Error() string
- func (o *ReadPoliciesInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadPoliciesInternalServerError) IsClientError() bool
- func (o *ReadPoliciesInternalServerError) IsCode(code int) bool
- func (o *ReadPoliciesInternalServerError) IsRedirect() bool
- func (o *ReadPoliciesInternalServerError) IsServerError() bool
- func (o *ReadPoliciesInternalServerError) IsSuccess() bool
- func (o *ReadPoliciesInternalServerError) String() string
- type ReadPoliciesOK
- func (o *ReadPoliciesOK) Code() int
- func (o *ReadPoliciesOK) Error() string
- func (o *ReadPoliciesOK) GetPayload() *models.ModelsPolicyEntityResponse
- func (o *ReadPoliciesOK) IsClientError() bool
- func (o *ReadPoliciesOK) IsCode(code int) bool
- func (o *ReadPoliciesOK) IsRedirect() bool
- func (o *ReadPoliciesOK) IsServerError() bool
- func (o *ReadPoliciesOK) IsSuccess() bool
- func (o *ReadPoliciesOK) String() string
- type ReadPoliciesParams
- func (o *ReadPoliciesParams) SetContext(ctx context.Context)
- func (o *ReadPoliciesParams) SetDefaults()
- func (o *ReadPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *ReadPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *ReadPoliciesParams) WithContext(ctx context.Context) *ReadPoliciesParams
- func (o *ReadPoliciesParams) WithDefaults() *ReadPoliciesParams
- func (o *ReadPoliciesParams) WithHTTPClient(client *http.Client) *ReadPoliciesParams
- func (o *ReadPoliciesParams) WithTimeout(timeout time.Duration) *ReadPoliciesParams
- func (o *ReadPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadPoliciesReader
- type ReadPoliciesTooManyRequests
- func (o *ReadPoliciesTooManyRequests) Code() int
- func (o *ReadPoliciesTooManyRequests) Error() string
- func (o *ReadPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPoliciesTooManyRequests) IsClientError() bool
- func (o *ReadPoliciesTooManyRequests) IsCode(code int) bool
- func (o *ReadPoliciesTooManyRequests) IsRedirect() bool
- func (o *ReadPoliciesTooManyRequests) IsServerError() bool
- func (o *ReadPoliciesTooManyRequests) IsSuccess() bool
- func (o *ReadPoliciesTooManyRequests) String() string
- type ReadPolicyExclusionsForbidden
- func (o *ReadPolicyExclusionsForbidden) Code() int
- func (o *ReadPolicyExclusionsForbidden) Error() string
- func (o *ReadPolicyExclusionsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPolicyExclusionsForbidden) IsClientError() bool
- func (o *ReadPolicyExclusionsForbidden) IsCode(code int) bool
- func (o *ReadPolicyExclusionsForbidden) IsRedirect() bool
- func (o *ReadPolicyExclusionsForbidden) IsServerError() bool
- func (o *ReadPolicyExclusionsForbidden) IsSuccess() bool
- func (o *ReadPolicyExclusionsForbidden) String() string
- type ReadPolicyExclusionsInternalServerError
- func (o *ReadPolicyExclusionsInternalServerError) Code() int
- func (o *ReadPolicyExclusionsInternalServerError) Error() string
- func (o *ReadPolicyExclusionsInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadPolicyExclusionsInternalServerError) IsClientError() bool
- func (o *ReadPolicyExclusionsInternalServerError) IsCode(code int) bool
- func (o *ReadPolicyExclusionsInternalServerError) IsRedirect() bool
- func (o *ReadPolicyExclusionsInternalServerError) IsServerError() bool
- func (o *ReadPolicyExclusionsInternalServerError) IsSuccess() bool
- func (o *ReadPolicyExclusionsInternalServerError) String() string
- type ReadPolicyExclusionsOK
- func (o *ReadPolicyExclusionsOK) Code() int
- func (o *ReadPolicyExclusionsOK) Error() string
- func (o *ReadPolicyExclusionsOK) GetPayload() *models.ModelsPolicyExclusionEntityResponse
- func (o *ReadPolicyExclusionsOK) IsClientError() bool
- func (o *ReadPolicyExclusionsOK) IsCode(code int) bool
- func (o *ReadPolicyExclusionsOK) IsRedirect() bool
- func (o *ReadPolicyExclusionsOK) IsServerError() bool
- func (o *ReadPolicyExclusionsOK) IsSuccess() bool
- func (o *ReadPolicyExclusionsOK) String() string
- type ReadPolicyExclusionsParams
- func NewReadPolicyExclusionsParams() *ReadPolicyExclusionsParams
- func NewReadPolicyExclusionsParamsWithContext(ctx context.Context) *ReadPolicyExclusionsParams
- func NewReadPolicyExclusionsParamsWithHTTPClient(client *http.Client) *ReadPolicyExclusionsParams
- func NewReadPolicyExclusionsParamsWithTimeout(timeout time.Duration) *ReadPolicyExclusionsParams
- func (o *ReadPolicyExclusionsParams) SetContext(ctx context.Context)
- func (o *ReadPolicyExclusionsParams) SetDefaults()
- func (o *ReadPolicyExclusionsParams) SetHTTPClient(client *http.Client)
- func (o *ReadPolicyExclusionsParams) SetTimeout(timeout time.Duration)
- func (o *ReadPolicyExclusionsParams) WithContext(ctx context.Context) *ReadPolicyExclusionsParams
- func (o *ReadPolicyExclusionsParams) WithDefaults() *ReadPolicyExclusionsParams
- func (o *ReadPolicyExclusionsParams) WithHTTPClient(client *http.Client) *ReadPolicyExclusionsParams
- func (o *ReadPolicyExclusionsParams) WithTimeout(timeout time.Duration) *ReadPolicyExclusionsParams
- func (o *ReadPolicyExclusionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadPolicyExclusionsReader
- type ReadPolicyExclusionsTooManyRequests
- func (o *ReadPolicyExclusionsTooManyRequests) Code() int
- func (o *ReadPolicyExclusionsTooManyRequests) Error() string
- func (o *ReadPolicyExclusionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPolicyExclusionsTooManyRequests) IsClientError() bool
- func (o *ReadPolicyExclusionsTooManyRequests) IsCode(code int) bool
- func (o *ReadPolicyExclusionsTooManyRequests) IsRedirect() bool
- func (o *ReadPolicyExclusionsTooManyRequests) IsServerError() bool
- func (o *ReadPolicyExclusionsTooManyRequests) IsSuccess() bool
- func (o *ReadPolicyExclusionsTooManyRequests) String() string
- type ReadPolicyGroupsForbidden
- func (o *ReadPolicyGroupsForbidden) Code() int
- func (o *ReadPolicyGroupsForbidden) Error() string
- func (o *ReadPolicyGroupsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPolicyGroupsForbidden) IsClientError() bool
- func (o *ReadPolicyGroupsForbidden) IsCode(code int) bool
- func (o *ReadPolicyGroupsForbidden) IsRedirect() bool
- func (o *ReadPolicyGroupsForbidden) IsServerError() bool
- func (o *ReadPolicyGroupsForbidden) IsSuccess() bool
- func (o *ReadPolicyGroupsForbidden) String() string
- type ReadPolicyGroupsInternalServerError
- func (o *ReadPolicyGroupsInternalServerError) Code() int
- func (o *ReadPolicyGroupsInternalServerError) Error() string
- func (o *ReadPolicyGroupsInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadPolicyGroupsInternalServerError) IsClientError() bool
- func (o *ReadPolicyGroupsInternalServerError) IsCode(code int) bool
- func (o *ReadPolicyGroupsInternalServerError) IsRedirect() bool
- func (o *ReadPolicyGroupsInternalServerError) IsServerError() bool
- func (o *ReadPolicyGroupsInternalServerError) IsSuccess() bool
- func (o *ReadPolicyGroupsInternalServerError) String() string
- type ReadPolicyGroupsOK
- func (o *ReadPolicyGroupsOK) Code() int
- func (o *ReadPolicyGroupsOK) Error() string
- func (o *ReadPolicyGroupsOK) GetPayload() *models.ModelsPolicyGroupEntityResponse
- func (o *ReadPolicyGroupsOK) IsClientError() bool
- func (o *ReadPolicyGroupsOK) IsCode(code int) bool
- func (o *ReadPolicyGroupsOK) IsRedirect() bool
- func (o *ReadPolicyGroupsOK) IsServerError() bool
- func (o *ReadPolicyGroupsOK) IsSuccess() bool
- func (o *ReadPolicyGroupsOK) String() string
- type ReadPolicyGroupsParams
- func NewReadPolicyGroupsParams() *ReadPolicyGroupsParams
- func NewReadPolicyGroupsParamsWithContext(ctx context.Context) *ReadPolicyGroupsParams
- func NewReadPolicyGroupsParamsWithHTTPClient(client *http.Client) *ReadPolicyGroupsParams
- func NewReadPolicyGroupsParamsWithTimeout(timeout time.Duration) *ReadPolicyGroupsParams
- func (o *ReadPolicyGroupsParams) SetContext(ctx context.Context)
- func (o *ReadPolicyGroupsParams) SetDefaults()
- func (o *ReadPolicyGroupsParams) SetHTTPClient(client *http.Client)
- func (o *ReadPolicyGroupsParams) SetTimeout(timeout time.Duration)
- func (o *ReadPolicyGroupsParams) WithContext(ctx context.Context) *ReadPolicyGroupsParams
- func (o *ReadPolicyGroupsParams) WithDefaults() *ReadPolicyGroupsParams
- func (o *ReadPolicyGroupsParams) WithHTTPClient(client *http.Client) *ReadPolicyGroupsParams
- func (o *ReadPolicyGroupsParams) WithTimeout(timeout time.Duration) *ReadPolicyGroupsParams
- func (o *ReadPolicyGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadPolicyGroupsReader
- type ReadPolicyGroupsTooManyRequests
- func (o *ReadPolicyGroupsTooManyRequests) Code() int
- func (o *ReadPolicyGroupsTooManyRequests) Error() string
- func (o *ReadPolicyGroupsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadPolicyGroupsTooManyRequests) IsClientError() bool
- func (o *ReadPolicyGroupsTooManyRequests) IsCode(code int) bool
- func (o *ReadPolicyGroupsTooManyRequests) IsRedirect() bool
- func (o *ReadPolicyGroupsTooManyRequests) IsServerError() bool
- func (o *ReadPolicyGroupsTooManyRequests) IsSuccess() bool
- func (o *ReadPolicyGroupsTooManyRequests) String() string
- type UpdatePoliciesForbidden
- func (o *UpdatePoliciesForbidden) Code() int
- func (o *UpdatePoliciesForbidden) Error() string
- func (o *UpdatePoliciesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdatePoliciesForbidden) IsClientError() bool
- func (o *UpdatePoliciesForbidden) IsCode(code int) bool
- func (o *UpdatePoliciesForbidden) IsRedirect() bool
- func (o *UpdatePoliciesForbidden) IsServerError() bool
- func (o *UpdatePoliciesForbidden) IsSuccess() bool
- func (o *UpdatePoliciesForbidden) String() string
- type UpdatePoliciesInternalServerError
- func (o *UpdatePoliciesInternalServerError) Code() int
- func (o *UpdatePoliciesInternalServerError) Error() string
- func (o *UpdatePoliciesInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *UpdatePoliciesInternalServerError) IsClientError() bool
- func (o *UpdatePoliciesInternalServerError) IsCode(code int) bool
- func (o *UpdatePoliciesInternalServerError) IsRedirect() bool
- func (o *UpdatePoliciesInternalServerError) IsServerError() bool
- func (o *UpdatePoliciesInternalServerError) IsSuccess() bool
- func (o *UpdatePoliciesInternalServerError) String() string
- type UpdatePoliciesOK
- func (o *UpdatePoliciesOK) Code() int
- func (o *UpdatePoliciesOK) Error() string
- func (o *UpdatePoliciesOK) GetPayload() *models.ModelsPolicyEntityResponse
- func (o *UpdatePoliciesOK) IsClientError() bool
- func (o *UpdatePoliciesOK) IsCode(code int) bool
- func (o *UpdatePoliciesOK) IsRedirect() bool
- func (o *UpdatePoliciesOK) IsServerError() bool
- func (o *UpdatePoliciesOK) IsSuccess() bool
- func (o *UpdatePoliciesOK) String() string
- type UpdatePoliciesParams
- func NewUpdatePoliciesParams() *UpdatePoliciesParams
- func NewUpdatePoliciesParamsWithContext(ctx context.Context) *UpdatePoliciesParams
- func NewUpdatePoliciesParamsWithHTTPClient(client *http.Client) *UpdatePoliciesParams
- func NewUpdatePoliciesParamsWithTimeout(timeout time.Duration) *UpdatePoliciesParams
- func (o *UpdatePoliciesParams) SetBody(body *models.ModelsPatchPolicyRequest)
- func (o *UpdatePoliciesParams) SetContext(ctx context.Context)
- func (o *UpdatePoliciesParams) SetDefaults()
- func (o *UpdatePoliciesParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePoliciesParams) SetID(id string)
- func (o *UpdatePoliciesParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePoliciesParams) WithBody(body *models.ModelsPatchPolicyRequest) *UpdatePoliciesParams
- func (o *UpdatePoliciesParams) WithContext(ctx context.Context) *UpdatePoliciesParams
- func (o *UpdatePoliciesParams) WithDefaults() *UpdatePoliciesParams
- func (o *UpdatePoliciesParams) WithHTTPClient(client *http.Client) *UpdatePoliciesParams
- func (o *UpdatePoliciesParams) WithID(id string) *UpdatePoliciesParams
- func (o *UpdatePoliciesParams) WithTimeout(timeout time.Duration) *UpdatePoliciesParams
- func (o *UpdatePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePoliciesReader
- type UpdatePoliciesTooManyRequests
- func (o *UpdatePoliciesTooManyRequests) Code() int
- func (o *UpdatePoliciesTooManyRequests) Error() string
- func (o *UpdatePoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdatePoliciesTooManyRequests) IsClientError() bool
- func (o *UpdatePoliciesTooManyRequests) IsCode(code int) bool
- func (o *UpdatePoliciesTooManyRequests) IsRedirect() bool
- func (o *UpdatePoliciesTooManyRequests) IsServerError() bool
- func (o *UpdatePoliciesTooManyRequests) IsSuccess() bool
- func (o *UpdatePoliciesTooManyRequests) String() string
- type UpdatePolicyExclusionsForbidden
- func (o *UpdatePolicyExclusionsForbidden) Code() int
- func (o *UpdatePolicyExclusionsForbidden) Error() string
- func (o *UpdatePolicyExclusionsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdatePolicyExclusionsForbidden) IsClientError() bool
- func (o *UpdatePolicyExclusionsForbidden) IsCode(code int) bool
- func (o *UpdatePolicyExclusionsForbidden) IsRedirect() bool
- func (o *UpdatePolicyExclusionsForbidden) IsServerError() bool
- func (o *UpdatePolicyExclusionsForbidden) IsSuccess() bool
- func (o *UpdatePolicyExclusionsForbidden) String() string
- type UpdatePolicyExclusionsInternalServerError
- func (o *UpdatePolicyExclusionsInternalServerError) Code() int
- func (o *UpdatePolicyExclusionsInternalServerError) Error() string
- func (o *UpdatePolicyExclusionsInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *UpdatePolicyExclusionsInternalServerError) IsClientError() bool
- func (o *UpdatePolicyExclusionsInternalServerError) IsCode(code int) bool
- func (o *UpdatePolicyExclusionsInternalServerError) IsRedirect() bool
- func (o *UpdatePolicyExclusionsInternalServerError) IsServerError() bool
- func (o *UpdatePolicyExclusionsInternalServerError) IsSuccess() bool
- func (o *UpdatePolicyExclusionsInternalServerError) String() string
- type UpdatePolicyExclusionsOK
- func (o *UpdatePolicyExclusionsOK) Code() int
- func (o *UpdatePolicyExclusionsOK) Error() string
- func (o *UpdatePolicyExclusionsOK) GetPayload() *models.ModelsPolicyExclusionEntityResponse
- func (o *UpdatePolicyExclusionsOK) IsClientError() bool
- func (o *UpdatePolicyExclusionsOK) IsCode(code int) bool
- func (o *UpdatePolicyExclusionsOK) IsRedirect() bool
- func (o *UpdatePolicyExclusionsOK) IsServerError() bool
- func (o *UpdatePolicyExclusionsOK) IsSuccess() bool
- func (o *UpdatePolicyExclusionsOK) String() string
- type UpdatePolicyExclusionsParams
- func NewUpdatePolicyExclusionsParams() *UpdatePolicyExclusionsParams
- func NewUpdatePolicyExclusionsParamsWithContext(ctx context.Context) *UpdatePolicyExclusionsParams
- func NewUpdatePolicyExclusionsParamsWithHTTPClient(client *http.Client) *UpdatePolicyExclusionsParams
- func NewUpdatePolicyExclusionsParamsWithTimeout(timeout time.Duration) *UpdatePolicyExclusionsParams
- func (o *UpdatePolicyExclusionsParams) SetBody(body *models.ModelsUpdateExclusionsRequest)
- func (o *UpdatePolicyExclusionsParams) SetContext(ctx context.Context)
- func (o *UpdatePolicyExclusionsParams) SetDefaults()
- func (o *UpdatePolicyExclusionsParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePolicyExclusionsParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePolicyExclusionsParams) WithBody(body *models.ModelsUpdateExclusionsRequest) *UpdatePolicyExclusionsParams
- func (o *UpdatePolicyExclusionsParams) WithContext(ctx context.Context) *UpdatePolicyExclusionsParams
- func (o *UpdatePolicyExclusionsParams) WithDefaults() *UpdatePolicyExclusionsParams
- func (o *UpdatePolicyExclusionsParams) WithHTTPClient(client *http.Client) *UpdatePolicyExclusionsParams
- func (o *UpdatePolicyExclusionsParams) WithTimeout(timeout time.Duration) *UpdatePolicyExclusionsParams
- func (o *UpdatePolicyExclusionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePolicyExclusionsReader
- type UpdatePolicyExclusionsTooManyRequests
- func (o *UpdatePolicyExclusionsTooManyRequests) Code() int
- func (o *UpdatePolicyExclusionsTooManyRequests) Error() string
- func (o *UpdatePolicyExclusionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdatePolicyExclusionsTooManyRequests) IsClientError() bool
- func (o *UpdatePolicyExclusionsTooManyRequests) IsCode(code int) bool
- func (o *UpdatePolicyExclusionsTooManyRequests) IsRedirect() bool
- func (o *UpdatePolicyExclusionsTooManyRequests) IsServerError() bool
- func (o *UpdatePolicyExclusionsTooManyRequests) IsSuccess() bool
- func (o *UpdatePolicyExclusionsTooManyRequests) String() string
- type UpdatePolicyGroupsForbidden
- func (o *UpdatePolicyGroupsForbidden) Code() int
- func (o *UpdatePolicyGroupsForbidden) Error() string
- func (o *UpdatePolicyGroupsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdatePolicyGroupsForbidden) IsClientError() bool
- func (o *UpdatePolicyGroupsForbidden) IsCode(code int) bool
- func (o *UpdatePolicyGroupsForbidden) IsRedirect() bool
- func (o *UpdatePolicyGroupsForbidden) IsServerError() bool
- func (o *UpdatePolicyGroupsForbidden) IsSuccess() bool
- func (o *UpdatePolicyGroupsForbidden) String() string
- type UpdatePolicyGroupsInternalServerError
- func (o *UpdatePolicyGroupsInternalServerError) Code() int
- func (o *UpdatePolicyGroupsInternalServerError) Error() string
- func (o *UpdatePolicyGroupsInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *UpdatePolicyGroupsInternalServerError) IsClientError() bool
- func (o *UpdatePolicyGroupsInternalServerError) IsCode(code int) bool
- func (o *UpdatePolicyGroupsInternalServerError) IsRedirect() bool
- func (o *UpdatePolicyGroupsInternalServerError) IsServerError() bool
- func (o *UpdatePolicyGroupsInternalServerError) IsSuccess() bool
- func (o *UpdatePolicyGroupsInternalServerError) String() string
- type UpdatePolicyGroupsOK
- func (o *UpdatePolicyGroupsOK) Code() int
- func (o *UpdatePolicyGroupsOK) Error() string
- func (o *UpdatePolicyGroupsOK) GetPayload() *models.ModelsPolicyGroupEntityResponse
- func (o *UpdatePolicyGroupsOK) IsClientError() bool
- func (o *UpdatePolicyGroupsOK) IsCode(code int) bool
- func (o *UpdatePolicyGroupsOK) IsRedirect() bool
- func (o *UpdatePolicyGroupsOK) IsServerError() bool
- func (o *UpdatePolicyGroupsOK) IsSuccess() bool
- func (o *UpdatePolicyGroupsOK) String() string
- type UpdatePolicyGroupsParams
- func NewUpdatePolicyGroupsParams() *UpdatePolicyGroupsParams
- func NewUpdatePolicyGroupsParamsWithContext(ctx context.Context) *UpdatePolicyGroupsParams
- func NewUpdatePolicyGroupsParamsWithHTTPClient(client *http.Client) *UpdatePolicyGroupsParams
- func NewUpdatePolicyGroupsParamsWithTimeout(timeout time.Duration) *UpdatePolicyGroupsParams
- func (o *UpdatePolicyGroupsParams) SetBody(body *models.ModelsPatchImageGroupRequest)
- func (o *UpdatePolicyGroupsParams) SetContext(ctx context.Context)
- func (o *UpdatePolicyGroupsParams) SetDefaults()
- func (o *UpdatePolicyGroupsParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePolicyGroupsParams) SetID(id string)
- func (o *UpdatePolicyGroupsParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePolicyGroupsParams) WithBody(body *models.ModelsPatchImageGroupRequest) *UpdatePolicyGroupsParams
- func (o *UpdatePolicyGroupsParams) WithContext(ctx context.Context) *UpdatePolicyGroupsParams
- func (o *UpdatePolicyGroupsParams) WithDefaults() *UpdatePolicyGroupsParams
- func (o *UpdatePolicyGroupsParams) WithHTTPClient(client *http.Client) *UpdatePolicyGroupsParams
- func (o *UpdatePolicyGroupsParams) WithID(id string) *UpdatePolicyGroupsParams
- func (o *UpdatePolicyGroupsParams) WithTimeout(timeout time.Duration) *UpdatePolicyGroupsParams
- func (o *UpdatePolicyGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePolicyGroupsReader
- type UpdatePolicyGroupsTooManyRequests
- func (o *UpdatePolicyGroupsTooManyRequests) Code() int
- func (o *UpdatePolicyGroupsTooManyRequests) Error() string
- func (o *UpdatePolicyGroupsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdatePolicyGroupsTooManyRequests) IsClientError() bool
- func (o *UpdatePolicyGroupsTooManyRequests) IsCode(code int) bool
- func (o *UpdatePolicyGroupsTooManyRequests) IsRedirect() bool
- func (o *UpdatePolicyGroupsTooManyRequests) IsServerError() bool
- func (o *UpdatePolicyGroupsTooManyRequests) IsSuccess() bool
- func (o *UpdatePolicyGroupsTooManyRequests) String() string
- type UpdatePolicyPrecedenceForbidden
- func (o *UpdatePolicyPrecedenceForbidden) Code() int
- func (o *UpdatePolicyPrecedenceForbidden) Error() string
- func (o *UpdatePolicyPrecedenceForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdatePolicyPrecedenceForbidden) IsClientError() bool
- func (o *UpdatePolicyPrecedenceForbidden) IsCode(code int) bool
- func (o *UpdatePolicyPrecedenceForbidden) IsRedirect() bool
- func (o *UpdatePolicyPrecedenceForbidden) IsServerError() bool
- func (o *UpdatePolicyPrecedenceForbidden) IsSuccess() bool
- func (o *UpdatePolicyPrecedenceForbidden) String() string
- type UpdatePolicyPrecedenceInternalServerError
- func (o *UpdatePolicyPrecedenceInternalServerError) Code() int
- func (o *UpdatePolicyPrecedenceInternalServerError) Error() string
- func (o *UpdatePolicyPrecedenceInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *UpdatePolicyPrecedenceInternalServerError) IsClientError() bool
- func (o *UpdatePolicyPrecedenceInternalServerError) IsCode(code int) bool
- func (o *UpdatePolicyPrecedenceInternalServerError) IsRedirect() bool
- func (o *UpdatePolicyPrecedenceInternalServerError) IsServerError() bool
- func (o *UpdatePolicyPrecedenceInternalServerError) IsSuccess() bool
- func (o *UpdatePolicyPrecedenceInternalServerError) String() string
- type UpdatePolicyPrecedenceOK
- func (o *UpdatePolicyPrecedenceOK) Code() int
- func (o *UpdatePolicyPrecedenceOK) Error() string
- func (o *UpdatePolicyPrecedenceOK) GetPayload() *models.ModelsPolicyEntityResponse
- func (o *UpdatePolicyPrecedenceOK) IsClientError() bool
- func (o *UpdatePolicyPrecedenceOK) IsCode(code int) bool
- func (o *UpdatePolicyPrecedenceOK) IsRedirect() bool
- func (o *UpdatePolicyPrecedenceOK) IsServerError() bool
- func (o *UpdatePolicyPrecedenceOK) IsSuccess() bool
- func (o *UpdatePolicyPrecedenceOK) String() string
- type UpdatePolicyPrecedenceParams
- func NewUpdatePolicyPrecedenceParams() *UpdatePolicyPrecedenceParams
- func NewUpdatePolicyPrecedenceParamsWithContext(ctx context.Context) *UpdatePolicyPrecedenceParams
- func NewUpdatePolicyPrecedenceParamsWithHTTPClient(client *http.Client) *UpdatePolicyPrecedenceParams
- func NewUpdatePolicyPrecedenceParamsWithTimeout(timeout time.Duration) *UpdatePolicyPrecedenceParams
- func (o *UpdatePolicyPrecedenceParams) SetBody(body *models.ModelsAPIPrecedenceRequest)
- func (o *UpdatePolicyPrecedenceParams) SetContext(ctx context.Context)
- func (o *UpdatePolicyPrecedenceParams) SetDefaults()
- func (o *UpdatePolicyPrecedenceParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePolicyPrecedenceParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePolicyPrecedenceParams) WithBody(body *models.ModelsAPIPrecedenceRequest) *UpdatePolicyPrecedenceParams
- func (o *UpdatePolicyPrecedenceParams) WithContext(ctx context.Context) *UpdatePolicyPrecedenceParams
- func (o *UpdatePolicyPrecedenceParams) WithDefaults() *UpdatePolicyPrecedenceParams
- func (o *UpdatePolicyPrecedenceParams) WithHTTPClient(client *http.Client) *UpdatePolicyPrecedenceParams
- func (o *UpdatePolicyPrecedenceParams) WithTimeout(timeout time.Duration) *UpdatePolicyPrecedenceParams
- func (o *UpdatePolicyPrecedenceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePolicyPrecedenceReader
- type UpdatePolicyPrecedenceTooManyRequests
- func (o *UpdatePolicyPrecedenceTooManyRequests) Code() int
- func (o *UpdatePolicyPrecedenceTooManyRequests) Error() string
- func (o *UpdatePolicyPrecedenceTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdatePolicyPrecedenceTooManyRequests) IsClientError() bool
- func (o *UpdatePolicyPrecedenceTooManyRequests) IsCode(code int) bool
- func (o *UpdatePolicyPrecedenceTooManyRequests) IsRedirect() bool
- func (o *UpdatePolicyPrecedenceTooManyRequests) IsServerError() bool
- func (o *UpdatePolicyPrecedenceTooManyRequests) IsSuccess() bool
- func (o *UpdatePolicyPrecedenceTooManyRequests) 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 image assessment policies API
func (*Client) CreatePolicies ¶
func (a *Client) CreatePolicies(params *CreatePoliciesParams, opts ...ClientOption) (*CreatePoliciesOK, error)
CreatePolicies creates image assessment policies
func (*Client) CreatePolicyGroups ¶
func (a *Client) CreatePolicyGroups(params *CreatePolicyGroupsParams, opts ...ClientOption) (*CreatePolicyGroupsOK, error)
CreatePolicyGroups creates image assessment policy group entities
func (*Client) DeletePolicy ¶
func (a *Client) DeletePolicy(params *DeletePolicyParams, opts ...ClientOption) (*DeletePolicyOK, error)
DeletePolicy deletes image assessment policy by policy UUID
func (*Client) DeletePolicyGroup ¶
func (a *Client) DeletePolicyGroup(params *DeletePolicyGroupParams, opts ...ClientOption) (*DeletePolicyGroupOK, error)
DeletePolicyGroup deletes image assessment policy group entities
func (*Client) ReadPolicies ¶
func (a *Client) ReadPolicies(params *ReadPoliciesParams, opts ...ClientOption) (*ReadPoliciesOK, error)
ReadPolicies gets all image assessment policies
func (*Client) ReadPolicyExclusions ¶
func (a *Client) ReadPolicyExclusions(params *ReadPolicyExclusionsParams, opts ...ClientOption) (*ReadPolicyExclusionsOK, error)
ReadPolicyExclusions retrieves image assessment policy exclusion entities
func (*Client) ReadPolicyGroups ¶
func (a *Client) ReadPolicyGroups(params *ReadPolicyGroupsParams, opts ...ClientOption) (*ReadPolicyGroupsOK, error)
ReadPolicyGroups retrieves image assessment policy group entities
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePolicies ¶
func (a *Client) UpdatePolicies(params *UpdatePoliciesParams, opts ...ClientOption) (*UpdatePoliciesOK, error)
UpdatePolicies updates image assessment policy entities
func (*Client) UpdatePolicyExclusions ¶
func (a *Client) UpdatePolicyExclusions(params *UpdatePolicyExclusionsParams, opts ...ClientOption) (*UpdatePolicyExclusionsOK, error)
UpdatePolicyExclusions updates image assessment policy exclusion entities
func (*Client) UpdatePolicyGroups ¶
func (a *Client) UpdatePolicyGroups(params *UpdatePolicyGroupsParams, opts ...ClientOption) (*UpdatePolicyGroupsOK, error)
UpdatePolicyGroups updates image assessment policy group entities
func (*Client) UpdatePolicyPrecedence ¶
func (a *Client) UpdatePolicyPrecedence(params *UpdatePolicyPrecedenceParams, opts ...ClientOption) (*UpdatePolicyPrecedenceOK, error)
UpdatePolicyPrecedence updates image assessment policy precedence
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreatePolicies(params *CreatePoliciesParams, opts ...ClientOption) (*CreatePoliciesOK, error) CreatePolicyGroups(params *CreatePolicyGroupsParams, opts ...ClientOption) (*CreatePolicyGroupsOK, error) DeletePolicy(params *DeletePolicyParams, opts ...ClientOption) (*DeletePolicyOK, error) DeletePolicyGroup(params *DeletePolicyGroupParams, opts ...ClientOption) (*DeletePolicyGroupOK, error) ReadPolicies(params *ReadPoliciesParams, opts ...ClientOption) (*ReadPoliciesOK, error) ReadPolicyExclusions(params *ReadPolicyExclusionsParams, opts ...ClientOption) (*ReadPolicyExclusionsOK, error) ReadPolicyGroups(params *ReadPolicyGroupsParams, opts ...ClientOption) (*ReadPolicyGroupsOK, error) UpdatePolicies(params *UpdatePoliciesParams, opts ...ClientOption) (*UpdatePoliciesOK, error) UpdatePolicyExclusions(params *UpdatePolicyExclusionsParams, opts ...ClientOption) (*UpdatePolicyExclusionsOK, error) UpdatePolicyGroups(params *UpdatePolicyGroupsParams, opts ...ClientOption) (*UpdatePolicyGroupsOK, error) UpdatePolicyPrecedence(params *UpdatePolicyPrecedenceParams, opts ...ClientOption) (*UpdatePolicyPrecedenceOK, 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 image assessment policies API client.
type CreatePoliciesForbidden ¶
type CreatePoliciesForbidden 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.MsaReplyMetaOnly }
CreatePoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreatePoliciesForbidden ¶
func NewCreatePoliciesForbidden() *CreatePoliciesForbidden
NewCreatePoliciesForbidden creates a CreatePoliciesForbidden with default headers values
func (*CreatePoliciesForbidden) Code ¶
func (o *CreatePoliciesForbidden) Code() int
Code gets the status code for the create policies forbidden response
func (*CreatePoliciesForbidden) Error ¶
func (o *CreatePoliciesForbidden) Error() string
func (*CreatePoliciesForbidden) GetPayload ¶
func (o *CreatePoliciesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*CreatePoliciesForbidden) IsClientError ¶
func (o *CreatePoliciesForbidden) IsClientError() bool
IsClientError returns true when this create policies forbidden response has a 4xx status code
func (*CreatePoliciesForbidden) IsCode ¶
func (o *CreatePoliciesForbidden) IsCode(code int) bool
IsCode returns true when this create policies forbidden response a status code equal to that given
func (*CreatePoliciesForbidden) IsRedirect ¶
func (o *CreatePoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this create policies forbidden response has a 3xx status code
func (*CreatePoliciesForbidden) IsServerError ¶
func (o *CreatePoliciesForbidden) IsServerError() bool
IsServerError returns true when this create policies forbidden response has a 5xx status code
func (*CreatePoliciesForbidden) IsSuccess ¶
func (o *CreatePoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this create policies forbidden response has a 2xx status code
func (*CreatePoliciesForbidden) String ¶
func (o *CreatePoliciesForbidden) String() string
type CreatePoliciesInternalServerError ¶
type CreatePoliciesInternalServerError 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.CoreEntitiesResponse }
CreatePoliciesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCreatePoliciesInternalServerError ¶
func NewCreatePoliciesInternalServerError() *CreatePoliciesInternalServerError
NewCreatePoliciesInternalServerError creates a CreatePoliciesInternalServerError with default headers values
func (*CreatePoliciesInternalServerError) Code ¶
func (o *CreatePoliciesInternalServerError) Code() int
Code gets the status code for the create policies internal server error response
func (*CreatePoliciesInternalServerError) Error ¶
func (o *CreatePoliciesInternalServerError) Error() string
func (*CreatePoliciesInternalServerError) GetPayload ¶
func (o *CreatePoliciesInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*CreatePoliciesInternalServerError) IsClientError ¶
func (o *CreatePoliciesInternalServerError) IsClientError() bool
IsClientError returns true when this create policies internal server error response has a 4xx status code
func (*CreatePoliciesInternalServerError) IsCode ¶
func (o *CreatePoliciesInternalServerError) IsCode(code int) bool
IsCode returns true when this create policies internal server error response a status code equal to that given
func (*CreatePoliciesInternalServerError) IsRedirect ¶
func (o *CreatePoliciesInternalServerError) IsRedirect() bool
IsRedirect returns true when this create policies internal server error response has a 3xx status code
func (*CreatePoliciesInternalServerError) IsServerError ¶
func (o *CreatePoliciesInternalServerError) IsServerError() bool
IsServerError returns true when this create policies internal server error response has a 5xx status code
func (*CreatePoliciesInternalServerError) IsSuccess ¶
func (o *CreatePoliciesInternalServerError) IsSuccess() bool
IsSuccess returns true when this create policies internal server error response has a 2xx status code
func (*CreatePoliciesInternalServerError) String ¶
func (o *CreatePoliciesInternalServerError) String() string
type CreatePoliciesOK ¶
type CreatePoliciesOK 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.ModelsPolicyEntityResponse }
CreatePoliciesOK describes a response with status code 200, with default header values.
OK
func NewCreatePoliciesOK ¶
func NewCreatePoliciesOK() *CreatePoliciesOK
NewCreatePoliciesOK creates a CreatePoliciesOK with default headers values
func (*CreatePoliciesOK) Code ¶
func (o *CreatePoliciesOK) Code() int
Code gets the status code for the create policies o k response
func (*CreatePoliciesOK) Error ¶
func (o *CreatePoliciesOK) Error() string
func (*CreatePoliciesOK) GetPayload ¶
func (o *CreatePoliciesOK) GetPayload() *models.ModelsPolicyEntityResponse
func (*CreatePoliciesOK) IsClientError ¶
func (o *CreatePoliciesOK) IsClientError() bool
IsClientError returns true when this create policies o k response has a 4xx status code
func (*CreatePoliciesOK) IsCode ¶
func (o *CreatePoliciesOK) IsCode(code int) bool
IsCode returns true when this create policies o k response a status code equal to that given
func (*CreatePoliciesOK) IsRedirect ¶
func (o *CreatePoliciesOK) IsRedirect() bool
IsRedirect returns true when this create policies o k response has a 3xx status code
func (*CreatePoliciesOK) IsServerError ¶
func (o *CreatePoliciesOK) IsServerError() bool
IsServerError returns true when this create policies o k response has a 5xx status code
func (*CreatePoliciesOK) IsSuccess ¶
func (o *CreatePoliciesOK) IsSuccess() bool
IsSuccess returns true when this create policies o k response has a 2xx status code
func (*CreatePoliciesOK) String ¶
func (o *CreatePoliciesOK) String() string
type CreatePoliciesParams ¶
type CreatePoliciesParams struct { // Body. Body *models.ModelsCreatePolicyRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePoliciesParams contains all the parameters to send to the API endpoint
for the create policies operation. Typically these are written to a http.Request.
func NewCreatePoliciesParams ¶
func NewCreatePoliciesParams() *CreatePoliciesParams
NewCreatePoliciesParams creates a new CreatePoliciesParams 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 NewCreatePoliciesParamsWithContext ¶
func NewCreatePoliciesParamsWithContext(ctx context.Context) *CreatePoliciesParams
NewCreatePoliciesParamsWithContext creates a new CreatePoliciesParams object with the ability to set a context for a request.
func NewCreatePoliciesParamsWithHTTPClient ¶
func NewCreatePoliciesParamsWithHTTPClient(client *http.Client) *CreatePoliciesParams
NewCreatePoliciesParamsWithHTTPClient creates a new CreatePoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePoliciesParamsWithTimeout ¶
func NewCreatePoliciesParamsWithTimeout(timeout time.Duration) *CreatePoliciesParams
NewCreatePoliciesParamsWithTimeout creates a new CreatePoliciesParams object with the ability to set a timeout on a request.
func (*CreatePoliciesParams) SetBody ¶
func (o *CreatePoliciesParams) SetBody(body *models.ModelsCreatePolicyRequest)
SetBody adds the body to the create policies params
func (*CreatePoliciesParams) SetContext ¶
func (o *CreatePoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the create policies params
func (*CreatePoliciesParams) SetDefaults ¶
func (o *CreatePoliciesParams) SetDefaults()
SetDefaults hydrates default values in the create policies params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePoliciesParams) SetHTTPClient ¶
func (o *CreatePoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create policies params
func (*CreatePoliciesParams) SetTimeout ¶
func (o *CreatePoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create policies params
func (*CreatePoliciesParams) WithBody ¶
func (o *CreatePoliciesParams) WithBody(body *models.ModelsCreatePolicyRequest) *CreatePoliciesParams
WithBody adds the body to the create policies params
func (*CreatePoliciesParams) WithContext ¶
func (o *CreatePoliciesParams) WithContext(ctx context.Context) *CreatePoliciesParams
WithContext adds the context to the create policies params
func (*CreatePoliciesParams) WithDefaults ¶
func (o *CreatePoliciesParams) WithDefaults() *CreatePoliciesParams
WithDefaults hydrates default values in the create policies params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePoliciesParams) WithHTTPClient ¶
func (o *CreatePoliciesParams) WithHTTPClient(client *http.Client) *CreatePoliciesParams
WithHTTPClient adds the HTTPClient to the create policies params
func (*CreatePoliciesParams) WithTimeout ¶
func (o *CreatePoliciesParams) WithTimeout(timeout time.Duration) *CreatePoliciesParams
WithTimeout adds the timeout to the create policies params
func (*CreatePoliciesParams) WriteToRequest ¶
func (o *CreatePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePoliciesReader ¶
type CreatePoliciesReader struct {
// contains filtered or unexported fields
}
CreatePoliciesReader is a Reader for the CreatePolicies structure.
func (*CreatePoliciesReader) ReadResponse ¶
func (o *CreatePoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePoliciesTooManyRequests ¶
type CreatePoliciesTooManyRequests 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 }
CreatePoliciesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCreatePoliciesTooManyRequests ¶
func NewCreatePoliciesTooManyRequests() *CreatePoliciesTooManyRequests
NewCreatePoliciesTooManyRequests creates a CreatePoliciesTooManyRequests with default headers values
func (*CreatePoliciesTooManyRequests) Code ¶
func (o *CreatePoliciesTooManyRequests) Code() int
Code gets the status code for the create policies too many requests response
func (*CreatePoliciesTooManyRequests) Error ¶
func (o *CreatePoliciesTooManyRequests) Error() string
func (*CreatePoliciesTooManyRequests) GetPayload ¶
func (o *CreatePoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*CreatePoliciesTooManyRequests) IsClientError ¶
func (o *CreatePoliciesTooManyRequests) IsClientError() bool
IsClientError returns true when this create policies too many requests response has a 4xx status code
func (*CreatePoliciesTooManyRequests) IsCode ¶
func (o *CreatePoliciesTooManyRequests) IsCode(code int) bool
IsCode returns true when this create policies too many requests response a status code equal to that given
func (*CreatePoliciesTooManyRequests) IsRedirect ¶
func (o *CreatePoliciesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create policies too many requests response has a 3xx status code
func (*CreatePoliciesTooManyRequests) IsServerError ¶
func (o *CreatePoliciesTooManyRequests) IsServerError() bool
IsServerError returns true when this create policies too many requests response has a 5xx status code
func (*CreatePoliciesTooManyRequests) IsSuccess ¶
func (o *CreatePoliciesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create policies too many requests response has a 2xx status code
func (*CreatePoliciesTooManyRequests) String ¶
func (o *CreatePoliciesTooManyRequests) String() string
type CreatePolicyGroupsForbidden ¶
type CreatePolicyGroupsForbidden 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.MsaReplyMetaOnly }
CreatePolicyGroupsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreatePolicyGroupsForbidden ¶
func NewCreatePolicyGroupsForbidden() *CreatePolicyGroupsForbidden
NewCreatePolicyGroupsForbidden creates a CreatePolicyGroupsForbidden with default headers values
func (*CreatePolicyGroupsForbidden) Code ¶
func (o *CreatePolicyGroupsForbidden) Code() int
Code gets the status code for the create policy groups forbidden response
func (*CreatePolicyGroupsForbidden) Error ¶
func (o *CreatePolicyGroupsForbidden) Error() string
func (*CreatePolicyGroupsForbidden) GetPayload ¶
func (o *CreatePolicyGroupsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*CreatePolicyGroupsForbidden) IsClientError ¶
func (o *CreatePolicyGroupsForbidden) IsClientError() bool
IsClientError returns true when this create policy groups forbidden response has a 4xx status code
func (*CreatePolicyGroupsForbidden) IsCode ¶
func (o *CreatePolicyGroupsForbidden) IsCode(code int) bool
IsCode returns true when this create policy groups forbidden response a status code equal to that given
func (*CreatePolicyGroupsForbidden) IsRedirect ¶
func (o *CreatePolicyGroupsForbidden) IsRedirect() bool
IsRedirect returns true when this create policy groups forbidden response has a 3xx status code
func (*CreatePolicyGroupsForbidden) IsServerError ¶
func (o *CreatePolicyGroupsForbidden) IsServerError() bool
IsServerError returns true when this create policy groups forbidden response has a 5xx status code
func (*CreatePolicyGroupsForbidden) IsSuccess ¶
func (o *CreatePolicyGroupsForbidden) IsSuccess() bool
IsSuccess returns true when this create policy groups forbidden response has a 2xx status code
func (*CreatePolicyGroupsForbidden) String ¶
func (o *CreatePolicyGroupsForbidden) String() string
type CreatePolicyGroupsInternalServerError ¶
type CreatePolicyGroupsInternalServerError 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.CoreEntitiesResponse }
CreatePolicyGroupsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCreatePolicyGroupsInternalServerError ¶
func NewCreatePolicyGroupsInternalServerError() *CreatePolicyGroupsInternalServerError
NewCreatePolicyGroupsInternalServerError creates a CreatePolicyGroupsInternalServerError with default headers values
func (*CreatePolicyGroupsInternalServerError) Code ¶
func (o *CreatePolicyGroupsInternalServerError) Code() int
Code gets the status code for the create policy groups internal server error response
func (*CreatePolicyGroupsInternalServerError) Error ¶
func (o *CreatePolicyGroupsInternalServerError) Error() string
func (*CreatePolicyGroupsInternalServerError) GetPayload ¶
func (o *CreatePolicyGroupsInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*CreatePolicyGroupsInternalServerError) IsClientError ¶
func (o *CreatePolicyGroupsInternalServerError) IsClientError() bool
IsClientError returns true when this create policy groups internal server error response has a 4xx status code
func (*CreatePolicyGroupsInternalServerError) IsCode ¶
func (o *CreatePolicyGroupsInternalServerError) IsCode(code int) bool
IsCode returns true when this create policy groups internal server error response a status code equal to that given
func (*CreatePolicyGroupsInternalServerError) IsRedirect ¶
func (o *CreatePolicyGroupsInternalServerError) IsRedirect() bool
IsRedirect returns true when this create policy groups internal server error response has a 3xx status code
func (*CreatePolicyGroupsInternalServerError) IsServerError ¶
func (o *CreatePolicyGroupsInternalServerError) IsServerError() bool
IsServerError returns true when this create policy groups internal server error response has a 5xx status code
func (*CreatePolicyGroupsInternalServerError) IsSuccess ¶
func (o *CreatePolicyGroupsInternalServerError) IsSuccess() bool
IsSuccess returns true when this create policy groups internal server error response has a 2xx status code
func (*CreatePolicyGroupsInternalServerError) String ¶
func (o *CreatePolicyGroupsInternalServerError) String() string
type CreatePolicyGroupsOK ¶
type CreatePolicyGroupsOK 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.ModelsPolicyGroupEntityResponse }
CreatePolicyGroupsOK describes a response with status code 200, with default header values.
OK
func NewCreatePolicyGroupsOK ¶
func NewCreatePolicyGroupsOK() *CreatePolicyGroupsOK
NewCreatePolicyGroupsOK creates a CreatePolicyGroupsOK with default headers values
func (*CreatePolicyGroupsOK) Code ¶
func (o *CreatePolicyGroupsOK) Code() int
Code gets the status code for the create policy groups o k response
func (*CreatePolicyGroupsOK) Error ¶
func (o *CreatePolicyGroupsOK) Error() string
func (*CreatePolicyGroupsOK) GetPayload ¶
func (o *CreatePolicyGroupsOK) GetPayload() *models.ModelsPolicyGroupEntityResponse
func (*CreatePolicyGroupsOK) IsClientError ¶
func (o *CreatePolicyGroupsOK) IsClientError() bool
IsClientError returns true when this create policy groups o k response has a 4xx status code
func (*CreatePolicyGroupsOK) IsCode ¶
func (o *CreatePolicyGroupsOK) IsCode(code int) bool
IsCode returns true when this create policy groups o k response a status code equal to that given
func (*CreatePolicyGroupsOK) IsRedirect ¶
func (o *CreatePolicyGroupsOK) IsRedirect() bool
IsRedirect returns true when this create policy groups o k response has a 3xx status code
func (*CreatePolicyGroupsOK) IsServerError ¶
func (o *CreatePolicyGroupsOK) IsServerError() bool
IsServerError returns true when this create policy groups o k response has a 5xx status code
func (*CreatePolicyGroupsOK) IsSuccess ¶
func (o *CreatePolicyGroupsOK) IsSuccess() bool
IsSuccess returns true when this create policy groups o k response has a 2xx status code
func (*CreatePolicyGroupsOK) String ¶
func (o *CreatePolicyGroupsOK) String() string
type CreatePolicyGroupsParams ¶
type CreatePolicyGroupsParams struct { // Body. Body *models.ModelsCreateImageGroupRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePolicyGroupsParams contains all the parameters to send to the API endpoint
for the create policy groups operation. Typically these are written to a http.Request.
func NewCreatePolicyGroupsParams ¶
func NewCreatePolicyGroupsParams() *CreatePolicyGroupsParams
NewCreatePolicyGroupsParams creates a new CreatePolicyGroupsParams 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 NewCreatePolicyGroupsParamsWithContext ¶
func NewCreatePolicyGroupsParamsWithContext(ctx context.Context) *CreatePolicyGroupsParams
NewCreatePolicyGroupsParamsWithContext creates a new CreatePolicyGroupsParams object with the ability to set a context for a request.
func NewCreatePolicyGroupsParamsWithHTTPClient ¶
func NewCreatePolicyGroupsParamsWithHTTPClient(client *http.Client) *CreatePolicyGroupsParams
NewCreatePolicyGroupsParamsWithHTTPClient creates a new CreatePolicyGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePolicyGroupsParamsWithTimeout ¶
func NewCreatePolicyGroupsParamsWithTimeout(timeout time.Duration) *CreatePolicyGroupsParams
NewCreatePolicyGroupsParamsWithTimeout creates a new CreatePolicyGroupsParams object with the ability to set a timeout on a request.
func (*CreatePolicyGroupsParams) SetBody ¶
func (o *CreatePolicyGroupsParams) SetBody(body *models.ModelsCreateImageGroupRequest)
SetBody adds the body to the create policy groups params
func (*CreatePolicyGroupsParams) SetContext ¶
func (o *CreatePolicyGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the create policy groups params
func (*CreatePolicyGroupsParams) SetDefaults ¶
func (o *CreatePolicyGroupsParams) SetDefaults()
SetDefaults hydrates default values in the create policy groups params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePolicyGroupsParams) SetHTTPClient ¶
func (o *CreatePolicyGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create policy groups params
func (*CreatePolicyGroupsParams) SetTimeout ¶
func (o *CreatePolicyGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create policy groups params
func (*CreatePolicyGroupsParams) WithBody ¶
func (o *CreatePolicyGroupsParams) WithBody(body *models.ModelsCreateImageGroupRequest) *CreatePolicyGroupsParams
WithBody adds the body to the create policy groups params
func (*CreatePolicyGroupsParams) WithContext ¶
func (o *CreatePolicyGroupsParams) WithContext(ctx context.Context) *CreatePolicyGroupsParams
WithContext adds the context to the create policy groups params
func (*CreatePolicyGroupsParams) WithDefaults ¶
func (o *CreatePolicyGroupsParams) WithDefaults() *CreatePolicyGroupsParams
WithDefaults hydrates default values in the create policy groups params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePolicyGroupsParams) WithHTTPClient ¶
func (o *CreatePolicyGroupsParams) WithHTTPClient(client *http.Client) *CreatePolicyGroupsParams
WithHTTPClient adds the HTTPClient to the create policy groups params
func (*CreatePolicyGroupsParams) WithTimeout ¶
func (o *CreatePolicyGroupsParams) WithTimeout(timeout time.Duration) *CreatePolicyGroupsParams
WithTimeout adds the timeout to the create policy groups params
func (*CreatePolicyGroupsParams) WriteToRequest ¶
func (o *CreatePolicyGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePolicyGroupsReader ¶
type CreatePolicyGroupsReader struct {
// contains filtered or unexported fields
}
CreatePolicyGroupsReader is a Reader for the CreatePolicyGroups structure.
func (*CreatePolicyGroupsReader) ReadResponse ¶
func (o *CreatePolicyGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePolicyGroupsTooManyRequests ¶
type CreatePolicyGroupsTooManyRequests 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 }
CreatePolicyGroupsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCreatePolicyGroupsTooManyRequests ¶
func NewCreatePolicyGroupsTooManyRequests() *CreatePolicyGroupsTooManyRequests
NewCreatePolicyGroupsTooManyRequests creates a CreatePolicyGroupsTooManyRequests with default headers values
func (*CreatePolicyGroupsTooManyRequests) Code ¶
func (o *CreatePolicyGroupsTooManyRequests) Code() int
Code gets the status code for the create policy groups too many requests response
func (*CreatePolicyGroupsTooManyRequests) Error ¶
func (o *CreatePolicyGroupsTooManyRequests) Error() string
func (*CreatePolicyGroupsTooManyRequests) GetPayload ¶
func (o *CreatePolicyGroupsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*CreatePolicyGroupsTooManyRequests) IsClientError ¶
func (o *CreatePolicyGroupsTooManyRequests) IsClientError() bool
IsClientError returns true when this create policy groups too many requests response has a 4xx status code
func (*CreatePolicyGroupsTooManyRequests) IsCode ¶
func (o *CreatePolicyGroupsTooManyRequests) IsCode(code int) bool
IsCode returns true when this create policy groups too many requests response a status code equal to that given
func (*CreatePolicyGroupsTooManyRequests) IsRedirect ¶
func (o *CreatePolicyGroupsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create policy groups too many requests response has a 3xx status code
func (*CreatePolicyGroupsTooManyRequests) IsServerError ¶
func (o *CreatePolicyGroupsTooManyRequests) IsServerError() bool
IsServerError returns true when this create policy groups too many requests response has a 5xx status code
func (*CreatePolicyGroupsTooManyRequests) IsSuccess ¶
func (o *CreatePolicyGroupsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create policy groups too many requests response has a 2xx status code
func (*CreatePolicyGroupsTooManyRequests) String ¶
func (o *CreatePolicyGroupsTooManyRequests) String() string
type DeletePolicyForbidden ¶
type DeletePolicyForbidden 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.MsaReplyMetaOnly }
DeletePolicyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeletePolicyForbidden ¶
func NewDeletePolicyForbidden() *DeletePolicyForbidden
NewDeletePolicyForbidden creates a DeletePolicyForbidden with default headers values
func (*DeletePolicyForbidden) Code ¶
func (o *DeletePolicyForbidden) Code() int
Code gets the status code for the delete policy forbidden response
func (*DeletePolicyForbidden) Error ¶
func (o *DeletePolicyForbidden) Error() string
func (*DeletePolicyForbidden) GetPayload ¶
func (o *DeletePolicyForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*DeletePolicyForbidden) IsClientError ¶
func (o *DeletePolicyForbidden) IsClientError() bool
IsClientError returns true when this delete policy forbidden response has a 4xx status code
func (*DeletePolicyForbidden) IsCode ¶
func (o *DeletePolicyForbidden) IsCode(code int) bool
IsCode returns true when this delete policy forbidden response a status code equal to that given
func (*DeletePolicyForbidden) IsRedirect ¶
func (o *DeletePolicyForbidden) IsRedirect() bool
IsRedirect returns true when this delete policy forbidden response has a 3xx status code
func (*DeletePolicyForbidden) IsServerError ¶
func (o *DeletePolicyForbidden) IsServerError() bool
IsServerError returns true when this delete policy forbidden response has a 5xx status code
func (*DeletePolicyForbidden) IsSuccess ¶
func (o *DeletePolicyForbidden) IsSuccess() bool
IsSuccess returns true when this delete policy forbidden response has a 2xx status code
func (*DeletePolicyForbidden) String ¶
func (o *DeletePolicyForbidden) String() string
type DeletePolicyGroupForbidden ¶
type DeletePolicyGroupForbidden 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.MsaReplyMetaOnly }
DeletePolicyGroupForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeletePolicyGroupForbidden ¶
func NewDeletePolicyGroupForbidden() *DeletePolicyGroupForbidden
NewDeletePolicyGroupForbidden creates a DeletePolicyGroupForbidden with default headers values
func (*DeletePolicyGroupForbidden) Code ¶
func (o *DeletePolicyGroupForbidden) Code() int
Code gets the status code for the delete policy group forbidden response
func (*DeletePolicyGroupForbidden) Error ¶
func (o *DeletePolicyGroupForbidden) Error() string
func (*DeletePolicyGroupForbidden) GetPayload ¶
func (o *DeletePolicyGroupForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*DeletePolicyGroupForbidden) IsClientError ¶
func (o *DeletePolicyGroupForbidden) IsClientError() bool
IsClientError returns true when this delete policy group forbidden response has a 4xx status code
func (*DeletePolicyGroupForbidden) IsCode ¶
func (o *DeletePolicyGroupForbidden) IsCode(code int) bool
IsCode returns true when this delete policy group forbidden response a status code equal to that given
func (*DeletePolicyGroupForbidden) IsRedirect ¶
func (o *DeletePolicyGroupForbidden) IsRedirect() bool
IsRedirect returns true when this delete policy group forbidden response has a 3xx status code
func (*DeletePolicyGroupForbidden) IsServerError ¶
func (o *DeletePolicyGroupForbidden) IsServerError() bool
IsServerError returns true when this delete policy group forbidden response has a 5xx status code
func (*DeletePolicyGroupForbidden) IsSuccess ¶
func (o *DeletePolicyGroupForbidden) IsSuccess() bool
IsSuccess returns true when this delete policy group forbidden response has a 2xx status code
func (*DeletePolicyGroupForbidden) String ¶
func (o *DeletePolicyGroupForbidden) String() string
type DeletePolicyGroupInternalServerError ¶
type DeletePolicyGroupInternalServerError 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.CoreEntitiesResponse }
DeletePolicyGroupInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeletePolicyGroupInternalServerError ¶
func NewDeletePolicyGroupInternalServerError() *DeletePolicyGroupInternalServerError
NewDeletePolicyGroupInternalServerError creates a DeletePolicyGroupInternalServerError with default headers values
func (*DeletePolicyGroupInternalServerError) Code ¶
func (o *DeletePolicyGroupInternalServerError) Code() int
Code gets the status code for the delete policy group internal server error response
func (*DeletePolicyGroupInternalServerError) Error ¶
func (o *DeletePolicyGroupInternalServerError) Error() string
func (*DeletePolicyGroupInternalServerError) GetPayload ¶
func (o *DeletePolicyGroupInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*DeletePolicyGroupInternalServerError) IsClientError ¶
func (o *DeletePolicyGroupInternalServerError) IsClientError() bool
IsClientError returns true when this delete policy group internal server error response has a 4xx status code
func (*DeletePolicyGroupInternalServerError) IsCode ¶
func (o *DeletePolicyGroupInternalServerError) IsCode(code int) bool
IsCode returns true when this delete policy group internal server error response a status code equal to that given
func (*DeletePolicyGroupInternalServerError) IsRedirect ¶
func (o *DeletePolicyGroupInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete policy group internal server error response has a 3xx status code
func (*DeletePolicyGroupInternalServerError) IsServerError ¶
func (o *DeletePolicyGroupInternalServerError) IsServerError() bool
IsServerError returns true when this delete policy group internal server error response has a 5xx status code
func (*DeletePolicyGroupInternalServerError) IsSuccess ¶
func (o *DeletePolicyGroupInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete policy group internal server error response has a 2xx status code
func (*DeletePolicyGroupInternalServerError) String ¶
func (o *DeletePolicyGroupInternalServerError) String() string
type DeletePolicyGroupOK ¶
type DeletePolicyGroupOK 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.CoreEntitiesResponse }
DeletePolicyGroupOK describes a response with status code 200, with default header values.
OK
func NewDeletePolicyGroupOK ¶
func NewDeletePolicyGroupOK() *DeletePolicyGroupOK
NewDeletePolicyGroupOK creates a DeletePolicyGroupOK with default headers values
func (*DeletePolicyGroupOK) Code ¶
func (o *DeletePolicyGroupOK) Code() int
Code gets the status code for the delete policy group o k response
func (*DeletePolicyGroupOK) Error ¶
func (o *DeletePolicyGroupOK) Error() string
func (*DeletePolicyGroupOK) GetPayload ¶
func (o *DeletePolicyGroupOK) GetPayload() *models.CoreEntitiesResponse
func (*DeletePolicyGroupOK) IsClientError ¶
func (o *DeletePolicyGroupOK) IsClientError() bool
IsClientError returns true when this delete policy group o k response has a 4xx status code
func (*DeletePolicyGroupOK) IsCode ¶
func (o *DeletePolicyGroupOK) IsCode(code int) bool
IsCode returns true when this delete policy group o k response a status code equal to that given
func (*DeletePolicyGroupOK) IsRedirect ¶
func (o *DeletePolicyGroupOK) IsRedirect() bool
IsRedirect returns true when this delete policy group o k response has a 3xx status code
func (*DeletePolicyGroupOK) IsServerError ¶
func (o *DeletePolicyGroupOK) IsServerError() bool
IsServerError returns true when this delete policy group o k response has a 5xx status code
func (*DeletePolicyGroupOK) IsSuccess ¶
func (o *DeletePolicyGroupOK) IsSuccess() bool
IsSuccess returns true when this delete policy group o k response has a 2xx status code
func (*DeletePolicyGroupOK) String ¶
func (o *DeletePolicyGroupOK) String() string
type DeletePolicyGroupParams ¶
type DeletePolicyGroupParams struct { /* ID. Policy Image Group entity UUID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePolicyGroupParams contains all the parameters to send to the API endpoint
for the delete policy group operation. Typically these are written to a http.Request.
func NewDeletePolicyGroupParams ¶
func NewDeletePolicyGroupParams() *DeletePolicyGroupParams
NewDeletePolicyGroupParams creates a new DeletePolicyGroupParams 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 NewDeletePolicyGroupParamsWithContext ¶
func NewDeletePolicyGroupParamsWithContext(ctx context.Context) *DeletePolicyGroupParams
NewDeletePolicyGroupParamsWithContext creates a new DeletePolicyGroupParams object with the ability to set a context for a request.
func NewDeletePolicyGroupParamsWithHTTPClient ¶
func NewDeletePolicyGroupParamsWithHTTPClient(client *http.Client) *DeletePolicyGroupParams
NewDeletePolicyGroupParamsWithHTTPClient creates a new DeletePolicyGroupParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePolicyGroupParamsWithTimeout ¶
func NewDeletePolicyGroupParamsWithTimeout(timeout time.Duration) *DeletePolicyGroupParams
NewDeletePolicyGroupParamsWithTimeout creates a new DeletePolicyGroupParams object with the ability to set a timeout on a request.
func (*DeletePolicyGroupParams) SetContext ¶
func (o *DeletePolicyGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete policy group params
func (*DeletePolicyGroupParams) SetDefaults ¶
func (o *DeletePolicyGroupParams) SetDefaults()
SetDefaults hydrates default values in the delete policy group params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePolicyGroupParams) SetHTTPClient ¶
func (o *DeletePolicyGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete policy group params
func (*DeletePolicyGroupParams) SetID ¶
func (o *DeletePolicyGroupParams) SetID(id string)
SetID adds the id to the delete policy group params
func (*DeletePolicyGroupParams) SetTimeout ¶
func (o *DeletePolicyGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete policy group params
func (*DeletePolicyGroupParams) WithContext ¶
func (o *DeletePolicyGroupParams) WithContext(ctx context.Context) *DeletePolicyGroupParams
WithContext adds the context to the delete policy group params
func (*DeletePolicyGroupParams) WithDefaults ¶
func (o *DeletePolicyGroupParams) WithDefaults() *DeletePolicyGroupParams
WithDefaults hydrates default values in the delete policy group params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePolicyGroupParams) WithHTTPClient ¶
func (o *DeletePolicyGroupParams) WithHTTPClient(client *http.Client) *DeletePolicyGroupParams
WithHTTPClient adds the HTTPClient to the delete policy group params
func (*DeletePolicyGroupParams) WithID ¶
func (o *DeletePolicyGroupParams) WithID(id string) *DeletePolicyGroupParams
WithID adds the id to the delete policy group params
func (*DeletePolicyGroupParams) WithTimeout ¶
func (o *DeletePolicyGroupParams) WithTimeout(timeout time.Duration) *DeletePolicyGroupParams
WithTimeout adds the timeout to the delete policy group params
func (*DeletePolicyGroupParams) WriteToRequest ¶
func (o *DeletePolicyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePolicyGroupReader ¶
type DeletePolicyGroupReader struct {
// contains filtered or unexported fields
}
DeletePolicyGroupReader is a Reader for the DeletePolicyGroup structure.
func (*DeletePolicyGroupReader) ReadResponse ¶
func (o *DeletePolicyGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePolicyGroupTooManyRequests ¶
type DeletePolicyGroupTooManyRequests 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 }
DeletePolicyGroupTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDeletePolicyGroupTooManyRequests ¶
func NewDeletePolicyGroupTooManyRequests() *DeletePolicyGroupTooManyRequests
NewDeletePolicyGroupTooManyRequests creates a DeletePolicyGroupTooManyRequests with default headers values
func (*DeletePolicyGroupTooManyRequests) Code ¶
func (o *DeletePolicyGroupTooManyRequests) Code() int
Code gets the status code for the delete policy group too many requests response
func (*DeletePolicyGroupTooManyRequests) Error ¶
func (o *DeletePolicyGroupTooManyRequests) Error() string
func (*DeletePolicyGroupTooManyRequests) GetPayload ¶
func (o *DeletePolicyGroupTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*DeletePolicyGroupTooManyRequests) IsClientError ¶
func (o *DeletePolicyGroupTooManyRequests) IsClientError() bool
IsClientError returns true when this delete policy group too many requests response has a 4xx status code
func (*DeletePolicyGroupTooManyRequests) IsCode ¶
func (o *DeletePolicyGroupTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete policy group too many requests response a status code equal to that given
func (*DeletePolicyGroupTooManyRequests) IsRedirect ¶
func (o *DeletePolicyGroupTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete policy group too many requests response has a 3xx status code
func (*DeletePolicyGroupTooManyRequests) IsServerError ¶
func (o *DeletePolicyGroupTooManyRequests) IsServerError() bool
IsServerError returns true when this delete policy group too many requests response has a 5xx status code
func (*DeletePolicyGroupTooManyRequests) IsSuccess ¶
func (o *DeletePolicyGroupTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete policy group too many requests response has a 2xx status code
func (*DeletePolicyGroupTooManyRequests) String ¶
func (o *DeletePolicyGroupTooManyRequests) String() string
type DeletePolicyInternalServerError ¶
type DeletePolicyInternalServerError 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.CoreEntitiesResponse }
DeletePolicyInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeletePolicyInternalServerError ¶
func NewDeletePolicyInternalServerError() *DeletePolicyInternalServerError
NewDeletePolicyInternalServerError creates a DeletePolicyInternalServerError with default headers values
func (*DeletePolicyInternalServerError) Code ¶
func (o *DeletePolicyInternalServerError) Code() int
Code gets the status code for the delete policy internal server error response
func (*DeletePolicyInternalServerError) Error ¶
func (o *DeletePolicyInternalServerError) Error() string
func (*DeletePolicyInternalServerError) GetPayload ¶
func (o *DeletePolicyInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*DeletePolicyInternalServerError) IsClientError ¶
func (o *DeletePolicyInternalServerError) IsClientError() bool
IsClientError returns true when this delete policy internal server error response has a 4xx status code
func (*DeletePolicyInternalServerError) IsCode ¶
func (o *DeletePolicyInternalServerError) IsCode(code int) bool
IsCode returns true when this delete policy internal server error response a status code equal to that given
func (*DeletePolicyInternalServerError) IsRedirect ¶
func (o *DeletePolicyInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete policy internal server error response has a 3xx status code
func (*DeletePolicyInternalServerError) IsServerError ¶
func (o *DeletePolicyInternalServerError) IsServerError() bool
IsServerError returns true when this delete policy internal server error response has a 5xx status code
func (*DeletePolicyInternalServerError) IsSuccess ¶
func (o *DeletePolicyInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete policy internal server error response has a 2xx status code
func (*DeletePolicyInternalServerError) String ¶
func (o *DeletePolicyInternalServerError) String() string
type DeletePolicyOK ¶
type DeletePolicyOK 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.CoreEntitiesResponse }
DeletePolicyOK describes a response with status code 200, with default header values.
OK
func NewDeletePolicyOK ¶
func NewDeletePolicyOK() *DeletePolicyOK
NewDeletePolicyOK creates a DeletePolicyOK with default headers values
func (*DeletePolicyOK) Code ¶
func (o *DeletePolicyOK) Code() int
Code gets the status code for the delete policy o k response
func (*DeletePolicyOK) Error ¶
func (o *DeletePolicyOK) Error() string
func (*DeletePolicyOK) GetPayload ¶
func (o *DeletePolicyOK) GetPayload() *models.CoreEntitiesResponse
func (*DeletePolicyOK) IsClientError ¶
func (o *DeletePolicyOK) IsClientError() bool
IsClientError returns true when this delete policy o k response has a 4xx status code
func (*DeletePolicyOK) IsCode ¶
func (o *DeletePolicyOK) IsCode(code int) bool
IsCode returns true when this delete policy o k response a status code equal to that given
func (*DeletePolicyOK) IsRedirect ¶
func (o *DeletePolicyOK) IsRedirect() bool
IsRedirect returns true when this delete policy o k response has a 3xx status code
func (*DeletePolicyOK) IsServerError ¶
func (o *DeletePolicyOK) IsServerError() bool
IsServerError returns true when this delete policy o k response has a 5xx status code
func (*DeletePolicyOK) IsSuccess ¶
func (o *DeletePolicyOK) IsSuccess() bool
IsSuccess returns true when this delete policy o k response has a 2xx status code
func (*DeletePolicyOK) String ¶
func (o *DeletePolicyOK) String() string
type DeletePolicyParams ¶
type DeletePolicyParams struct { /* ID. Image Assessment Policy entity UUID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePolicyParams contains all the parameters to send to the API endpoint
for the delete policy operation. Typically these are written to a http.Request.
func NewDeletePolicyParams ¶
func NewDeletePolicyParams() *DeletePolicyParams
NewDeletePolicyParams creates a new DeletePolicyParams 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 NewDeletePolicyParamsWithContext ¶
func NewDeletePolicyParamsWithContext(ctx context.Context) *DeletePolicyParams
NewDeletePolicyParamsWithContext creates a new DeletePolicyParams object with the ability to set a context for a request.
func NewDeletePolicyParamsWithHTTPClient ¶
func NewDeletePolicyParamsWithHTTPClient(client *http.Client) *DeletePolicyParams
NewDeletePolicyParamsWithHTTPClient creates a new DeletePolicyParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePolicyParamsWithTimeout ¶
func NewDeletePolicyParamsWithTimeout(timeout time.Duration) *DeletePolicyParams
NewDeletePolicyParamsWithTimeout creates a new DeletePolicyParams object with the ability to set a timeout on a request.
func (*DeletePolicyParams) SetContext ¶
func (o *DeletePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete policy params
func (*DeletePolicyParams) SetDefaults ¶
func (o *DeletePolicyParams) SetDefaults()
SetDefaults hydrates default values in the delete policy params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePolicyParams) SetHTTPClient ¶
func (o *DeletePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete policy params
func (*DeletePolicyParams) SetID ¶
func (o *DeletePolicyParams) SetID(id string)
SetID adds the id to the delete policy params
func (*DeletePolicyParams) SetTimeout ¶
func (o *DeletePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete policy params
func (*DeletePolicyParams) WithContext ¶
func (o *DeletePolicyParams) WithContext(ctx context.Context) *DeletePolicyParams
WithContext adds the context to the delete policy params
func (*DeletePolicyParams) WithDefaults ¶
func (o *DeletePolicyParams) WithDefaults() *DeletePolicyParams
WithDefaults hydrates default values in the delete policy params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePolicyParams) WithHTTPClient ¶
func (o *DeletePolicyParams) WithHTTPClient(client *http.Client) *DeletePolicyParams
WithHTTPClient adds the HTTPClient to the delete policy params
func (*DeletePolicyParams) WithID ¶
func (o *DeletePolicyParams) WithID(id string) *DeletePolicyParams
WithID adds the id to the delete policy params
func (*DeletePolicyParams) WithTimeout ¶
func (o *DeletePolicyParams) WithTimeout(timeout time.Duration) *DeletePolicyParams
WithTimeout adds the timeout to the delete policy params
func (*DeletePolicyParams) WriteToRequest ¶
func (o *DeletePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePolicyReader ¶
type DeletePolicyReader struct {
// contains filtered or unexported fields
}
DeletePolicyReader is a Reader for the DeletePolicy structure.
func (*DeletePolicyReader) ReadResponse ¶
func (o *DeletePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePolicyTooManyRequests ¶
type DeletePolicyTooManyRequests 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 }
DeletePolicyTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDeletePolicyTooManyRequests ¶
func NewDeletePolicyTooManyRequests() *DeletePolicyTooManyRequests
NewDeletePolicyTooManyRequests creates a DeletePolicyTooManyRequests with default headers values
func (*DeletePolicyTooManyRequests) Code ¶
func (o *DeletePolicyTooManyRequests) Code() int
Code gets the status code for the delete policy too many requests response
func (*DeletePolicyTooManyRequests) Error ¶
func (o *DeletePolicyTooManyRequests) Error() string
func (*DeletePolicyTooManyRequests) GetPayload ¶
func (o *DeletePolicyTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*DeletePolicyTooManyRequests) IsClientError ¶
func (o *DeletePolicyTooManyRequests) IsClientError() bool
IsClientError returns true when this delete policy too many requests response has a 4xx status code
func (*DeletePolicyTooManyRequests) IsCode ¶
func (o *DeletePolicyTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete policy too many requests response a status code equal to that given
func (*DeletePolicyTooManyRequests) IsRedirect ¶
func (o *DeletePolicyTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete policy too many requests response has a 3xx status code
func (*DeletePolicyTooManyRequests) IsServerError ¶
func (o *DeletePolicyTooManyRequests) IsServerError() bool
IsServerError returns true when this delete policy too many requests response has a 5xx status code
func (*DeletePolicyTooManyRequests) IsSuccess ¶
func (o *DeletePolicyTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete policy too many requests response has a 2xx status code
func (*DeletePolicyTooManyRequests) String ¶
func (o *DeletePolicyTooManyRequests) String() string
type ReadPoliciesForbidden ¶
type ReadPoliciesForbidden 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.MsaReplyMetaOnly }
ReadPoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewReadPoliciesForbidden ¶
func NewReadPoliciesForbidden() *ReadPoliciesForbidden
NewReadPoliciesForbidden creates a ReadPoliciesForbidden with default headers values
func (*ReadPoliciesForbidden) Code ¶
func (o *ReadPoliciesForbidden) Code() int
Code gets the status code for the read policies forbidden response
func (*ReadPoliciesForbidden) Error ¶
func (o *ReadPoliciesForbidden) Error() string
func (*ReadPoliciesForbidden) GetPayload ¶
func (o *ReadPoliciesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ReadPoliciesForbidden) IsClientError ¶
func (o *ReadPoliciesForbidden) IsClientError() bool
IsClientError returns true when this read policies forbidden response has a 4xx status code
func (*ReadPoliciesForbidden) IsCode ¶
func (o *ReadPoliciesForbidden) IsCode(code int) bool
IsCode returns true when this read policies forbidden response a status code equal to that given
func (*ReadPoliciesForbidden) IsRedirect ¶
func (o *ReadPoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this read policies forbidden response has a 3xx status code
func (*ReadPoliciesForbidden) IsServerError ¶
func (o *ReadPoliciesForbidden) IsServerError() bool
IsServerError returns true when this read policies forbidden response has a 5xx status code
func (*ReadPoliciesForbidden) IsSuccess ¶
func (o *ReadPoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this read policies forbidden response has a 2xx status code
func (*ReadPoliciesForbidden) String ¶
func (o *ReadPoliciesForbidden) String() string
type ReadPoliciesInternalServerError ¶
type ReadPoliciesInternalServerError 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.CoreEntitiesResponse }
ReadPoliciesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewReadPoliciesInternalServerError ¶
func NewReadPoliciesInternalServerError() *ReadPoliciesInternalServerError
NewReadPoliciesInternalServerError creates a ReadPoliciesInternalServerError with default headers values
func (*ReadPoliciesInternalServerError) Code ¶
func (o *ReadPoliciesInternalServerError) Code() int
Code gets the status code for the read policies internal server error response
func (*ReadPoliciesInternalServerError) Error ¶
func (o *ReadPoliciesInternalServerError) Error() string
func (*ReadPoliciesInternalServerError) GetPayload ¶
func (o *ReadPoliciesInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadPoliciesInternalServerError) IsClientError ¶
func (o *ReadPoliciesInternalServerError) IsClientError() bool
IsClientError returns true when this read policies internal server error response has a 4xx status code
func (*ReadPoliciesInternalServerError) IsCode ¶
func (o *ReadPoliciesInternalServerError) IsCode(code int) bool
IsCode returns true when this read policies internal server error response a status code equal to that given
func (*ReadPoliciesInternalServerError) IsRedirect ¶
func (o *ReadPoliciesInternalServerError) IsRedirect() bool
IsRedirect returns true when this read policies internal server error response has a 3xx status code
func (*ReadPoliciesInternalServerError) IsServerError ¶
func (o *ReadPoliciesInternalServerError) IsServerError() bool
IsServerError returns true when this read policies internal server error response has a 5xx status code
func (*ReadPoliciesInternalServerError) IsSuccess ¶
func (o *ReadPoliciesInternalServerError) IsSuccess() bool
IsSuccess returns true when this read policies internal server error response has a 2xx status code
func (*ReadPoliciesInternalServerError) String ¶
func (o *ReadPoliciesInternalServerError) String() string
type ReadPoliciesOK ¶
type ReadPoliciesOK 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.ModelsPolicyEntityResponse }
ReadPoliciesOK describes a response with status code 200, with default header values.
OK
func NewReadPoliciesOK ¶
func NewReadPoliciesOK() *ReadPoliciesOK
NewReadPoliciesOK creates a ReadPoliciesOK with default headers values
func (*ReadPoliciesOK) Code ¶
func (o *ReadPoliciesOK) Code() int
Code gets the status code for the read policies o k response
func (*ReadPoliciesOK) Error ¶
func (o *ReadPoliciesOK) Error() string
func (*ReadPoliciesOK) GetPayload ¶
func (o *ReadPoliciesOK) GetPayload() *models.ModelsPolicyEntityResponse
func (*ReadPoliciesOK) IsClientError ¶
func (o *ReadPoliciesOK) IsClientError() bool
IsClientError returns true when this read policies o k response has a 4xx status code
func (*ReadPoliciesOK) IsCode ¶
func (o *ReadPoliciesOK) IsCode(code int) bool
IsCode returns true when this read policies o k response a status code equal to that given
func (*ReadPoliciesOK) IsRedirect ¶
func (o *ReadPoliciesOK) IsRedirect() bool
IsRedirect returns true when this read policies o k response has a 3xx status code
func (*ReadPoliciesOK) IsServerError ¶
func (o *ReadPoliciesOK) IsServerError() bool
IsServerError returns true when this read policies o k response has a 5xx status code
func (*ReadPoliciesOK) IsSuccess ¶
func (o *ReadPoliciesOK) IsSuccess() bool
IsSuccess returns true when this read policies o k response has a 2xx status code
func (*ReadPoliciesOK) String ¶
func (o *ReadPoliciesOK) String() string
type ReadPoliciesParams ¶
type ReadPoliciesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadPoliciesParams contains all the parameters to send to the API endpoint
for the read policies operation. Typically these are written to a http.Request.
func NewReadPoliciesParams ¶
func NewReadPoliciesParams() *ReadPoliciesParams
NewReadPoliciesParams creates a new ReadPoliciesParams 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 NewReadPoliciesParamsWithContext ¶
func NewReadPoliciesParamsWithContext(ctx context.Context) *ReadPoliciesParams
NewReadPoliciesParamsWithContext creates a new ReadPoliciesParams object with the ability to set a context for a request.
func NewReadPoliciesParamsWithHTTPClient ¶
func NewReadPoliciesParamsWithHTTPClient(client *http.Client) *ReadPoliciesParams
NewReadPoliciesParamsWithHTTPClient creates a new ReadPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewReadPoliciesParamsWithTimeout ¶
func NewReadPoliciesParamsWithTimeout(timeout time.Duration) *ReadPoliciesParams
NewReadPoliciesParamsWithTimeout creates a new ReadPoliciesParams object with the ability to set a timeout on a request.
func (*ReadPoliciesParams) SetContext ¶
func (o *ReadPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the read policies params
func (*ReadPoliciesParams) SetDefaults ¶
func (o *ReadPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the read policies params (not the query body).
All values with no default are reset to their zero value.
func (*ReadPoliciesParams) SetHTTPClient ¶
func (o *ReadPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read policies params
func (*ReadPoliciesParams) SetTimeout ¶
func (o *ReadPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read policies params
func (*ReadPoliciesParams) WithContext ¶
func (o *ReadPoliciesParams) WithContext(ctx context.Context) *ReadPoliciesParams
WithContext adds the context to the read policies params
func (*ReadPoliciesParams) WithDefaults ¶
func (o *ReadPoliciesParams) WithDefaults() *ReadPoliciesParams
WithDefaults hydrates default values in the read policies params (not the query body).
All values with no default are reset to their zero value.
func (*ReadPoliciesParams) WithHTTPClient ¶
func (o *ReadPoliciesParams) WithHTTPClient(client *http.Client) *ReadPoliciesParams
WithHTTPClient adds the HTTPClient to the read policies params
func (*ReadPoliciesParams) WithTimeout ¶
func (o *ReadPoliciesParams) WithTimeout(timeout time.Duration) *ReadPoliciesParams
WithTimeout adds the timeout to the read policies params
func (*ReadPoliciesParams) WriteToRequest ¶
func (o *ReadPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadPoliciesReader ¶
type ReadPoliciesReader struct {
// contains filtered or unexported fields
}
ReadPoliciesReader is a Reader for the ReadPolicies structure.
func (*ReadPoliciesReader) ReadResponse ¶
func (o *ReadPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadPoliciesTooManyRequests ¶
type ReadPoliciesTooManyRequests 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 }
ReadPoliciesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewReadPoliciesTooManyRequests ¶
func NewReadPoliciesTooManyRequests() *ReadPoliciesTooManyRequests
NewReadPoliciesTooManyRequests creates a ReadPoliciesTooManyRequests with default headers values
func (*ReadPoliciesTooManyRequests) Code ¶
func (o *ReadPoliciesTooManyRequests) Code() int
Code gets the status code for the read policies too many requests response
func (*ReadPoliciesTooManyRequests) Error ¶
func (o *ReadPoliciesTooManyRequests) Error() string
func (*ReadPoliciesTooManyRequests) GetPayload ¶
func (o *ReadPoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadPoliciesTooManyRequests) IsClientError ¶
func (o *ReadPoliciesTooManyRequests) IsClientError() bool
IsClientError returns true when this read policies too many requests response has a 4xx status code
func (*ReadPoliciesTooManyRequests) IsCode ¶
func (o *ReadPoliciesTooManyRequests) IsCode(code int) bool
IsCode returns true when this read policies too many requests response a status code equal to that given
func (*ReadPoliciesTooManyRequests) IsRedirect ¶
func (o *ReadPoliciesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read policies too many requests response has a 3xx status code
func (*ReadPoliciesTooManyRequests) IsServerError ¶
func (o *ReadPoliciesTooManyRequests) IsServerError() bool
IsServerError returns true when this read policies too many requests response has a 5xx status code
func (*ReadPoliciesTooManyRequests) IsSuccess ¶
func (o *ReadPoliciesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read policies too many requests response has a 2xx status code
func (*ReadPoliciesTooManyRequests) String ¶
func (o *ReadPoliciesTooManyRequests) String() string
type ReadPolicyExclusionsForbidden ¶
type ReadPolicyExclusionsForbidden 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.MsaReplyMetaOnly }
ReadPolicyExclusionsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewReadPolicyExclusionsForbidden ¶
func NewReadPolicyExclusionsForbidden() *ReadPolicyExclusionsForbidden
NewReadPolicyExclusionsForbidden creates a ReadPolicyExclusionsForbidden with default headers values
func (*ReadPolicyExclusionsForbidden) Code ¶
func (o *ReadPolicyExclusionsForbidden) Code() int
Code gets the status code for the read policy exclusions forbidden response
func (*ReadPolicyExclusionsForbidden) Error ¶
func (o *ReadPolicyExclusionsForbidden) Error() string
func (*ReadPolicyExclusionsForbidden) GetPayload ¶
func (o *ReadPolicyExclusionsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ReadPolicyExclusionsForbidden) IsClientError ¶
func (o *ReadPolicyExclusionsForbidden) IsClientError() bool
IsClientError returns true when this read policy exclusions forbidden response has a 4xx status code
func (*ReadPolicyExclusionsForbidden) IsCode ¶
func (o *ReadPolicyExclusionsForbidden) IsCode(code int) bool
IsCode returns true when this read policy exclusions forbidden response a status code equal to that given
func (*ReadPolicyExclusionsForbidden) IsRedirect ¶
func (o *ReadPolicyExclusionsForbidden) IsRedirect() bool
IsRedirect returns true when this read policy exclusions forbidden response has a 3xx status code
func (*ReadPolicyExclusionsForbidden) IsServerError ¶
func (o *ReadPolicyExclusionsForbidden) IsServerError() bool
IsServerError returns true when this read policy exclusions forbidden response has a 5xx status code
func (*ReadPolicyExclusionsForbidden) IsSuccess ¶
func (o *ReadPolicyExclusionsForbidden) IsSuccess() bool
IsSuccess returns true when this read policy exclusions forbidden response has a 2xx status code
func (*ReadPolicyExclusionsForbidden) String ¶
func (o *ReadPolicyExclusionsForbidden) String() string
type ReadPolicyExclusionsInternalServerError ¶
type ReadPolicyExclusionsInternalServerError 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.CoreEntitiesResponse }
ReadPolicyExclusionsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewReadPolicyExclusionsInternalServerError ¶
func NewReadPolicyExclusionsInternalServerError() *ReadPolicyExclusionsInternalServerError
NewReadPolicyExclusionsInternalServerError creates a ReadPolicyExclusionsInternalServerError with default headers values
func (*ReadPolicyExclusionsInternalServerError) Code ¶
func (o *ReadPolicyExclusionsInternalServerError) Code() int
Code gets the status code for the read policy exclusions internal server error response
func (*ReadPolicyExclusionsInternalServerError) Error ¶
func (o *ReadPolicyExclusionsInternalServerError) Error() string
func (*ReadPolicyExclusionsInternalServerError) GetPayload ¶
func (o *ReadPolicyExclusionsInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadPolicyExclusionsInternalServerError) IsClientError ¶
func (o *ReadPolicyExclusionsInternalServerError) IsClientError() bool
IsClientError returns true when this read policy exclusions internal server error response has a 4xx status code
func (*ReadPolicyExclusionsInternalServerError) IsCode ¶
func (o *ReadPolicyExclusionsInternalServerError) IsCode(code int) bool
IsCode returns true when this read policy exclusions internal server error response a status code equal to that given
func (*ReadPolicyExclusionsInternalServerError) IsRedirect ¶
func (o *ReadPolicyExclusionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this read policy exclusions internal server error response has a 3xx status code
func (*ReadPolicyExclusionsInternalServerError) IsServerError ¶
func (o *ReadPolicyExclusionsInternalServerError) IsServerError() bool
IsServerError returns true when this read policy exclusions internal server error response has a 5xx status code
func (*ReadPolicyExclusionsInternalServerError) IsSuccess ¶
func (o *ReadPolicyExclusionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this read policy exclusions internal server error response has a 2xx status code
func (*ReadPolicyExclusionsInternalServerError) String ¶
func (o *ReadPolicyExclusionsInternalServerError) String() string
type ReadPolicyExclusionsOK ¶
type ReadPolicyExclusionsOK 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.ModelsPolicyExclusionEntityResponse }
ReadPolicyExclusionsOK describes a response with status code 200, with default header values.
OK
func NewReadPolicyExclusionsOK ¶
func NewReadPolicyExclusionsOK() *ReadPolicyExclusionsOK
NewReadPolicyExclusionsOK creates a ReadPolicyExclusionsOK with default headers values
func (*ReadPolicyExclusionsOK) Code ¶
func (o *ReadPolicyExclusionsOK) Code() int
Code gets the status code for the read policy exclusions o k response
func (*ReadPolicyExclusionsOK) Error ¶
func (o *ReadPolicyExclusionsOK) Error() string
func (*ReadPolicyExclusionsOK) GetPayload ¶
func (o *ReadPolicyExclusionsOK) GetPayload() *models.ModelsPolicyExclusionEntityResponse
func (*ReadPolicyExclusionsOK) IsClientError ¶
func (o *ReadPolicyExclusionsOK) IsClientError() bool
IsClientError returns true when this read policy exclusions o k response has a 4xx status code
func (*ReadPolicyExclusionsOK) IsCode ¶
func (o *ReadPolicyExclusionsOK) IsCode(code int) bool
IsCode returns true when this read policy exclusions o k response a status code equal to that given
func (*ReadPolicyExclusionsOK) IsRedirect ¶
func (o *ReadPolicyExclusionsOK) IsRedirect() bool
IsRedirect returns true when this read policy exclusions o k response has a 3xx status code
func (*ReadPolicyExclusionsOK) IsServerError ¶
func (o *ReadPolicyExclusionsOK) IsServerError() bool
IsServerError returns true when this read policy exclusions o k response has a 5xx status code
func (*ReadPolicyExclusionsOK) IsSuccess ¶
func (o *ReadPolicyExclusionsOK) IsSuccess() bool
IsSuccess returns true when this read policy exclusions o k response has a 2xx status code
func (*ReadPolicyExclusionsOK) String ¶
func (o *ReadPolicyExclusionsOK) String() string
type ReadPolicyExclusionsParams ¶
type ReadPolicyExclusionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadPolicyExclusionsParams contains all the parameters to send to the API endpoint
for the read policy exclusions operation. Typically these are written to a http.Request.
func NewReadPolicyExclusionsParams ¶
func NewReadPolicyExclusionsParams() *ReadPolicyExclusionsParams
NewReadPolicyExclusionsParams creates a new ReadPolicyExclusionsParams 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 NewReadPolicyExclusionsParamsWithContext ¶
func NewReadPolicyExclusionsParamsWithContext(ctx context.Context) *ReadPolicyExclusionsParams
NewReadPolicyExclusionsParamsWithContext creates a new ReadPolicyExclusionsParams object with the ability to set a context for a request.
func NewReadPolicyExclusionsParamsWithHTTPClient ¶
func NewReadPolicyExclusionsParamsWithHTTPClient(client *http.Client) *ReadPolicyExclusionsParams
NewReadPolicyExclusionsParamsWithHTTPClient creates a new ReadPolicyExclusionsParams object with the ability to set a custom HTTPClient for a request.
func NewReadPolicyExclusionsParamsWithTimeout ¶
func NewReadPolicyExclusionsParamsWithTimeout(timeout time.Duration) *ReadPolicyExclusionsParams
NewReadPolicyExclusionsParamsWithTimeout creates a new ReadPolicyExclusionsParams object with the ability to set a timeout on a request.
func (*ReadPolicyExclusionsParams) SetContext ¶
func (o *ReadPolicyExclusionsParams) SetContext(ctx context.Context)
SetContext adds the context to the read policy exclusions params
func (*ReadPolicyExclusionsParams) SetDefaults ¶
func (o *ReadPolicyExclusionsParams) SetDefaults()
SetDefaults hydrates default values in the read policy exclusions params (not the query body).
All values with no default are reset to their zero value.
func (*ReadPolicyExclusionsParams) SetHTTPClient ¶
func (o *ReadPolicyExclusionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read policy exclusions params
func (*ReadPolicyExclusionsParams) SetTimeout ¶
func (o *ReadPolicyExclusionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read policy exclusions params
func (*ReadPolicyExclusionsParams) WithContext ¶
func (o *ReadPolicyExclusionsParams) WithContext(ctx context.Context) *ReadPolicyExclusionsParams
WithContext adds the context to the read policy exclusions params
func (*ReadPolicyExclusionsParams) WithDefaults ¶
func (o *ReadPolicyExclusionsParams) WithDefaults() *ReadPolicyExclusionsParams
WithDefaults hydrates default values in the read policy exclusions params (not the query body).
All values with no default are reset to their zero value.
func (*ReadPolicyExclusionsParams) WithHTTPClient ¶
func (o *ReadPolicyExclusionsParams) WithHTTPClient(client *http.Client) *ReadPolicyExclusionsParams
WithHTTPClient adds the HTTPClient to the read policy exclusions params
func (*ReadPolicyExclusionsParams) WithTimeout ¶
func (o *ReadPolicyExclusionsParams) WithTimeout(timeout time.Duration) *ReadPolicyExclusionsParams
WithTimeout adds the timeout to the read policy exclusions params
func (*ReadPolicyExclusionsParams) WriteToRequest ¶
func (o *ReadPolicyExclusionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadPolicyExclusionsReader ¶
type ReadPolicyExclusionsReader struct {
// contains filtered or unexported fields
}
ReadPolicyExclusionsReader is a Reader for the ReadPolicyExclusions structure.
func (*ReadPolicyExclusionsReader) ReadResponse ¶
func (o *ReadPolicyExclusionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadPolicyExclusionsTooManyRequests ¶
type ReadPolicyExclusionsTooManyRequests 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 }
ReadPolicyExclusionsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewReadPolicyExclusionsTooManyRequests ¶
func NewReadPolicyExclusionsTooManyRequests() *ReadPolicyExclusionsTooManyRequests
NewReadPolicyExclusionsTooManyRequests creates a ReadPolicyExclusionsTooManyRequests with default headers values
func (*ReadPolicyExclusionsTooManyRequests) Code ¶
func (o *ReadPolicyExclusionsTooManyRequests) Code() int
Code gets the status code for the read policy exclusions too many requests response
func (*ReadPolicyExclusionsTooManyRequests) Error ¶
func (o *ReadPolicyExclusionsTooManyRequests) Error() string
func (*ReadPolicyExclusionsTooManyRequests) GetPayload ¶
func (o *ReadPolicyExclusionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadPolicyExclusionsTooManyRequests) IsClientError ¶
func (o *ReadPolicyExclusionsTooManyRequests) IsClientError() bool
IsClientError returns true when this read policy exclusions too many requests response has a 4xx status code
func (*ReadPolicyExclusionsTooManyRequests) IsCode ¶
func (o *ReadPolicyExclusionsTooManyRequests) IsCode(code int) bool
IsCode returns true when this read policy exclusions too many requests response a status code equal to that given
func (*ReadPolicyExclusionsTooManyRequests) IsRedirect ¶
func (o *ReadPolicyExclusionsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read policy exclusions too many requests response has a 3xx status code
func (*ReadPolicyExclusionsTooManyRequests) IsServerError ¶
func (o *ReadPolicyExclusionsTooManyRequests) IsServerError() bool
IsServerError returns true when this read policy exclusions too many requests response has a 5xx status code
func (*ReadPolicyExclusionsTooManyRequests) IsSuccess ¶
func (o *ReadPolicyExclusionsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read policy exclusions too many requests response has a 2xx status code
func (*ReadPolicyExclusionsTooManyRequests) String ¶
func (o *ReadPolicyExclusionsTooManyRequests) String() string
type ReadPolicyGroupsForbidden ¶
type ReadPolicyGroupsForbidden 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.MsaReplyMetaOnly }
ReadPolicyGroupsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewReadPolicyGroupsForbidden ¶
func NewReadPolicyGroupsForbidden() *ReadPolicyGroupsForbidden
NewReadPolicyGroupsForbidden creates a ReadPolicyGroupsForbidden with default headers values
func (*ReadPolicyGroupsForbidden) Code ¶
func (o *ReadPolicyGroupsForbidden) Code() int
Code gets the status code for the read policy groups forbidden response
func (*ReadPolicyGroupsForbidden) Error ¶
func (o *ReadPolicyGroupsForbidden) Error() string
func (*ReadPolicyGroupsForbidden) GetPayload ¶
func (o *ReadPolicyGroupsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ReadPolicyGroupsForbidden) IsClientError ¶
func (o *ReadPolicyGroupsForbidden) IsClientError() bool
IsClientError returns true when this read policy groups forbidden response has a 4xx status code
func (*ReadPolicyGroupsForbidden) IsCode ¶
func (o *ReadPolicyGroupsForbidden) IsCode(code int) bool
IsCode returns true when this read policy groups forbidden response a status code equal to that given
func (*ReadPolicyGroupsForbidden) IsRedirect ¶
func (o *ReadPolicyGroupsForbidden) IsRedirect() bool
IsRedirect returns true when this read policy groups forbidden response has a 3xx status code
func (*ReadPolicyGroupsForbidden) IsServerError ¶
func (o *ReadPolicyGroupsForbidden) IsServerError() bool
IsServerError returns true when this read policy groups forbidden response has a 5xx status code
func (*ReadPolicyGroupsForbidden) IsSuccess ¶
func (o *ReadPolicyGroupsForbidden) IsSuccess() bool
IsSuccess returns true when this read policy groups forbidden response has a 2xx status code
func (*ReadPolicyGroupsForbidden) String ¶
func (o *ReadPolicyGroupsForbidden) String() string
type ReadPolicyGroupsInternalServerError ¶
type ReadPolicyGroupsInternalServerError 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.CoreEntitiesResponse }
ReadPolicyGroupsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewReadPolicyGroupsInternalServerError ¶
func NewReadPolicyGroupsInternalServerError() *ReadPolicyGroupsInternalServerError
NewReadPolicyGroupsInternalServerError creates a ReadPolicyGroupsInternalServerError with default headers values
func (*ReadPolicyGroupsInternalServerError) Code ¶
func (o *ReadPolicyGroupsInternalServerError) Code() int
Code gets the status code for the read policy groups internal server error response
func (*ReadPolicyGroupsInternalServerError) Error ¶
func (o *ReadPolicyGroupsInternalServerError) Error() string
func (*ReadPolicyGroupsInternalServerError) GetPayload ¶
func (o *ReadPolicyGroupsInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadPolicyGroupsInternalServerError) IsClientError ¶
func (o *ReadPolicyGroupsInternalServerError) IsClientError() bool
IsClientError returns true when this read policy groups internal server error response has a 4xx status code
func (*ReadPolicyGroupsInternalServerError) IsCode ¶
func (o *ReadPolicyGroupsInternalServerError) IsCode(code int) bool
IsCode returns true when this read policy groups internal server error response a status code equal to that given
func (*ReadPolicyGroupsInternalServerError) IsRedirect ¶
func (o *ReadPolicyGroupsInternalServerError) IsRedirect() bool
IsRedirect returns true when this read policy groups internal server error response has a 3xx status code
func (*ReadPolicyGroupsInternalServerError) IsServerError ¶
func (o *ReadPolicyGroupsInternalServerError) IsServerError() bool
IsServerError returns true when this read policy groups internal server error response has a 5xx status code
func (*ReadPolicyGroupsInternalServerError) IsSuccess ¶
func (o *ReadPolicyGroupsInternalServerError) IsSuccess() bool
IsSuccess returns true when this read policy groups internal server error response has a 2xx status code
func (*ReadPolicyGroupsInternalServerError) String ¶
func (o *ReadPolicyGroupsInternalServerError) String() string
type ReadPolicyGroupsOK ¶
type ReadPolicyGroupsOK 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.ModelsPolicyGroupEntityResponse }
ReadPolicyGroupsOK describes a response with status code 200, with default header values.
OK
func NewReadPolicyGroupsOK ¶
func NewReadPolicyGroupsOK() *ReadPolicyGroupsOK
NewReadPolicyGroupsOK creates a ReadPolicyGroupsOK with default headers values
func (*ReadPolicyGroupsOK) Code ¶
func (o *ReadPolicyGroupsOK) Code() int
Code gets the status code for the read policy groups o k response
func (*ReadPolicyGroupsOK) Error ¶
func (o *ReadPolicyGroupsOK) Error() string
func (*ReadPolicyGroupsOK) GetPayload ¶
func (o *ReadPolicyGroupsOK) GetPayload() *models.ModelsPolicyGroupEntityResponse
func (*ReadPolicyGroupsOK) IsClientError ¶
func (o *ReadPolicyGroupsOK) IsClientError() bool
IsClientError returns true when this read policy groups o k response has a 4xx status code
func (*ReadPolicyGroupsOK) IsCode ¶
func (o *ReadPolicyGroupsOK) IsCode(code int) bool
IsCode returns true when this read policy groups o k response a status code equal to that given
func (*ReadPolicyGroupsOK) IsRedirect ¶
func (o *ReadPolicyGroupsOK) IsRedirect() bool
IsRedirect returns true when this read policy groups o k response has a 3xx status code
func (*ReadPolicyGroupsOK) IsServerError ¶
func (o *ReadPolicyGroupsOK) IsServerError() bool
IsServerError returns true when this read policy groups o k response has a 5xx status code
func (*ReadPolicyGroupsOK) IsSuccess ¶
func (o *ReadPolicyGroupsOK) IsSuccess() bool
IsSuccess returns true when this read policy groups o k response has a 2xx status code
func (*ReadPolicyGroupsOK) String ¶
func (o *ReadPolicyGroupsOK) String() string
type ReadPolicyGroupsParams ¶
type ReadPolicyGroupsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadPolicyGroupsParams contains all the parameters to send to the API endpoint
for the read policy groups operation. Typically these are written to a http.Request.
func NewReadPolicyGroupsParams ¶
func NewReadPolicyGroupsParams() *ReadPolicyGroupsParams
NewReadPolicyGroupsParams creates a new ReadPolicyGroupsParams 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 NewReadPolicyGroupsParamsWithContext ¶
func NewReadPolicyGroupsParamsWithContext(ctx context.Context) *ReadPolicyGroupsParams
NewReadPolicyGroupsParamsWithContext creates a new ReadPolicyGroupsParams object with the ability to set a context for a request.
func NewReadPolicyGroupsParamsWithHTTPClient ¶
func NewReadPolicyGroupsParamsWithHTTPClient(client *http.Client) *ReadPolicyGroupsParams
NewReadPolicyGroupsParamsWithHTTPClient creates a new ReadPolicyGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewReadPolicyGroupsParamsWithTimeout ¶
func NewReadPolicyGroupsParamsWithTimeout(timeout time.Duration) *ReadPolicyGroupsParams
NewReadPolicyGroupsParamsWithTimeout creates a new ReadPolicyGroupsParams object with the ability to set a timeout on a request.
func (*ReadPolicyGroupsParams) SetContext ¶
func (o *ReadPolicyGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the read policy groups params
func (*ReadPolicyGroupsParams) SetDefaults ¶
func (o *ReadPolicyGroupsParams) SetDefaults()
SetDefaults hydrates default values in the read policy groups params (not the query body).
All values with no default are reset to their zero value.
func (*ReadPolicyGroupsParams) SetHTTPClient ¶
func (o *ReadPolicyGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read policy groups params
func (*ReadPolicyGroupsParams) SetTimeout ¶
func (o *ReadPolicyGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read policy groups params
func (*ReadPolicyGroupsParams) WithContext ¶
func (o *ReadPolicyGroupsParams) WithContext(ctx context.Context) *ReadPolicyGroupsParams
WithContext adds the context to the read policy groups params
func (*ReadPolicyGroupsParams) WithDefaults ¶
func (o *ReadPolicyGroupsParams) WithDefaults() *ReadPolicyGroupsParams
WithDefaults hydrates default values in the read policy groups params (not the query body).
All values with no default are reset to their zero value.
func (*ReadPolicyGroupsParams) WithHTTPClient ¶
func (o *ReadPolicyGroupsParams) WithHTTPClient(client *http.Client) *ReadPolicyGroupsParams
WithHTTPClient adds the HTTPClient to the read policy groups params
func (*ReadPolicyGroupsParams) WithTimeout ¶
func (o *ReadPolicyGroupsParams) WithTimeout(timeout time.Duration) *ReadPolicyGroupsParams
WithTimeout adds the timeout to the read policy groups params
func (*ReadPolicyGroupsParams) WriteToRequest ¶
func (o *ReadPolicyGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadPolicyGroupsReader ¶
type ReadPolicyGroupsReader struct {
// contains filtered or unexported fields
}
ReadPolicyGroupsReader is a Reader for the ReadPolicyGroups structure.
func (*ReadPolicyGroupsReader) ReadResponse ¶
func (o *ReadPolicyGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadPolicyGroupsTooManyRequests ¶
type ReadPolicyGroupsTooManyRequests 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 }
ReadPolicyGroupsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewReadPolicyGroupsTooManyRequests ¶
func NewReadPolicyGroupsTooManyRequests() *ReadPolicyGroupsTooManyRequests
NewReadPolicyGroupsTooManyRequests creates a ReadPolicyGroupsTooManyRequests with default headers values
func (*ReadPolicyGroupsTooManyRequests) Code ¶
func (o *ReadPolicyGroupsTooManyRequests) Code() int
Code gets the status code for the read policy groups too many requests response
func (*ReadPolicyGroupsTooManyRequests) Error ¶
func (o *ReadPolicyGroupsTooManyRequests) Error() string
func (*ReadPolicyGroupsTooManyRequests) GetPayload ¶
func (o *ReadPolicyGroupsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadPolicyGroupsTooManyRequests) IsClientError ¶
func (o *ReadPolicyGroupsTooManyRequests) IsClientError() bool
IsClientError returns true when this read policy groups too many requests response has a 4xx status code
func (*ReadPolicyGroupsTooManyRequests) IsCode ¶
func (o *ReadPolicyGroupsTooManyRequests) IsCode(code int) bool
IsCode returns true when this read policy groups too many requests response a status code equal to that given
func (*ReadPolicyGroupsTooManyRequests) IsRedirect ¶
func (o *ReadPolicyGroupsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read policy groups too many requests response has a 3xx status code
func (*ReadPolicyGroupsTooManyRequests) IsServerError ¶
func (o *ReadPolicyGroupsTooManyRequests) IsServerError() bool
IsServerError returns true when this read policy groups too many requests response has a 5xx status code
func (*ReadPolicyGroupsTooManyRequests) IsSuccess ¶
func (o *ReadPolicyGroupsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read policy groups too many requests response has a 2xx status code
func (*ReadPolicyGroupsTooManyRequests) String ¶
func (o *ReadPolicyGroupsTooManyRequests) String() string
type UpdatePoliciesForbidden ¶
type UpdatePoliciesForbidden 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.MsaReplyMetaOnly }
UpdatePoliciesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdatePoliciesForbidden ¶
func NewUpdatePoliciesForbidden() *UpdatePoliciesForbidden
NewUpdatePoliciesForbidden creates a UpdatePoliciesForbidden with default headers values
func (*UpdatePoliciesForbidden) Code ¶
func (o *UpdatePoliciesForbidden) Code() int
Code gets the status code for the update policies forbidden response
func (*UpdatePoliciesForbidden) Error ¶
func (o *UpdatePoliciesForbidden) Error() string
func (*UpdatePoliciesForbidden) GetPayload ¶
func (o *UpdatePoliciesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*UpdatePoliciesForbidden) IsClientError ¶
func (o *UpdatePoliciesForbidden) IsClientError() bool
IsClientError returns true when this update policies forbidden response has a 4xx status code
func (*UpdatePoliciesForbidden) IsCode ¶
func (o *UpdatePoliciesForbidden) IsCode(code int) bool
IsCode returns true when this update policies forbidden response a status code equal to that given
func (*UpdatePoliciesForbidden) IsRedirect ¶
func (o *UpdatePoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this update policies forbidden response has a 3xx status code
func (*UpdatePoliciesForbidden) IsServerError ¶
func (o *UpdatePoliciesForbidden) IsServerError() bool
IsServerError returns true when this update policies forbidden response has a 5xx status code
func (*UpdatePoliciesForbidden) IsSuccess ¶
func (o *UpdatePoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this update policies forbidden response has a 2xx status code
func (*UpdatePoliciesForbidden) String ¶
func (o *UpdatePoliciesForbidden) String() string
type UpdatePoliciesInternalServerError ¶
type UpdatePoliciesInternalServerError 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.CoreEntitiesResponse }
UpdatePoliciesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdatePoliciesInternalServerError ¶
func NewUpdatePoliciesInternalServerError() *UpdatePoliciesInternalServerError
NewUpdatePoliciesInternalServerError creates a UpdatePoliciesInternalServerError with default headers values
func (*UpdatePoliciesInternalServerError) Code ¶
func (o *UpdatePoliciesInternalServerError) Code() int
Code gets the status code for the update policies internal server error response
func (*UpdatePoliciesInternalServerError) Error ¶
func (o *UpdatePoliciesInternalServerError) Error() string
func (*UpdatePoliciesInternalServerError) GetPayload ¶
func (o *UpdatePoliciesInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*UpdatePoliciesInternalServerError) IsClientError ¶
func (o *UpdatePoliciesInternalServerError) IsClientError() bool
IsClientError returns true when this update policies internal server error response has a 4xx status code
func (*UpdatePoliciesInternalServerError) IsCode ¶
func (o *UpdatePoliciesInternalServerError) IsCode(code int) bool
IsCode returns true when this update policies internal server error response a status code equal to that given
func (*UpdatePoliciesInternalServerError) IsRedirect ¶
func (o *UpdatePoliciesInternalServerError) IsRedirect() bool
IsRedirect returns true when this update policies internal server error response has a 3xx status code
func (*UpdatePoliciesInternalServerError) IsServerError ¶
func (o *UpdatePoliciesInternalServerError) IsServerError() bool
IsServerError returns true when this update policies internal server error response has a 5xx status code
func (*UpdatePoliciesInternalServerError) IsSuccess ¶
func (o *UpdatePoliciesInternalServerError) IsSuccess() bool
IsSuccess returns true when this update policies internal server error response has a 2xx status code
func (*UpdatePoliciesInternalServerError) String ¶
func (o *UpdatePoliciesInternalServerError) String() string
type UpdatePoliciesOK ¶
type UpdatePoliciesOK 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.ModelsPolicyEntityResponse }
UpdatePoliciesOK describes a response with status code 200, with default header values.
OK
func NewUpdatePoliciesOK ¶
func NewUpdatePoliciesOK() *UpdatePoliciesOK
NewUpdatePoliciesOK creates a UpdatePoliciesOK with default headers values
func (*UpdatePoliciesOK) Code ¶
func (o *UpdatePoliciesOK) Code() int
Code gets the status code for the update policies o k response
func (*UpdatePoliciesOK) Error ¶
func (o *UpdatePoliciesOK) Error() string
func (*UpdatePoliciesOK) GetPayload ¶
func (o *UpdatePoliciesOK) GetPayload() *models.ModelsPolicyEntityResponse
func (*UpdatePoliciesOK) IsClientError ¶
func (o *UpdatePoliciesOK) IsClientError() bool
IsClientError returns true when this update policies o k response has a 4xx status code
func (*UpdatePoliciesOK) IsCode ¶
func (o *UpdatePoliciesOK) IsCode(code int) bool
IsCode returns true when this update policies o k response a status code equal to that given
func (*UpdatePoliciesOK) IsRedirect ¶
func (o *UpdatePoliciesOK) IsRedirect() bool
IsRedirect returns true when this update policies o k response has a 3xx status code
func (*UpdatePoliciesOK) IsServerError ¶
func (o *UpdatePoliciesOK) IsServerError() bool
IsServerError returns true when this update policies o k response has a 5xx status code
func (*UpdatePoliciesOK) IsSuccess ¶
func (o *UpdatePoliciesOK) IsSuccess() bool
IsSuccess returns true when this update policies o k response has a 2xx status code
func (*UpdatePoliciesOK) String ¶
func (o *UpdatePoliciesOK) String() string
type UpdatePoliciesParams ¶
type UpdatePoliciesParams struct { // Body. Body *models.ModelsPatchPolicyRequest /* ID. Image Assessment Policy entity UUID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePoliciesParams contains all the parameters to send to the API endpoint
for the update policies operation. Typically these are written to a http.Request.
func NewUpdatePoliciesParams ¶
func NewUpdatePoliciesParams() *UpdatePoliciesParams
NewUpdatePoliciesParams creates a new UpdatePoliciesParams 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 NewUpdatePoliciesParamsWithContext ¶
func NewUpdatePoliciesParamsWithContext(ctx context.Context) *UpdatePoliciesParams
NewUpdatePoliciesParamsWithContext creates a new UpdatePoliciesParams object with the ability to set a context for a request.
func NewUpdatePoliciesParamsWithHTTPClient ¶
func NewUpdatePoliciesParamsWithHTTPClient(client *http.Client) *UpdatePoliciesParams
NewUpdatePoliciesParamsWithHTTPClient creates a new UpdatePoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePoliciesParamsWithTimeout ¶
func NewUpdatePoliciesParamsWithTimeout(timeout time.Duration) *UpdatePoliciesParams
NewUpdatePoliciesParamsWithTimeout creates a new UpdatePoliciesParams object with the ability to set a timeout on a request.
func (*UpdatePoliciesParams) SetBody ¶
func (o *UpdatePoliciesParams) SetBody(body *models.ModelsPatchPolicyRequest)
SetBody adds the body to the update policies params
func (*UpdatePoliciesParams) SetContext ¶
func (o *UpdatePoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the update policies params
func (*UpdatePoliciesParams) SetDefaults ¶
func (o *UpdatePoliciesParams) SetDefaults()
SetDefaults hydrates default values in the update policies params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePoliciesParams) SetHTTPClient ¶
func (o *UpdatePoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update policies params
func (*UpdatePoliciesParams) SetID ¶
func (o *UpdatePoliciesParams) SetID(id string)
SetID adds the id to the update policies params
func (*UpdatePoliciesParams) SetTimeout ¶
func (o *UpdatePoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update policies params
func (*UpdatePoliciesParams) WithBody ¶
func (o *UpdatePoliciesParams) WithBody(body *models.ModelsPatchPolicyRequest) *UpdatePoliciesParams
WithBody adds the body to the update policies params
func (*UpdatePoliciesParams) WithContext ¶
func (o *UpdatePoliciesParams) WithContext(ctx context.Context) *UpdatePoliciesParams
WithContext adds the context to the update policies params
func (*UpdatePoliciesParams) WithDefaults ¶
func (o *UpdatePoliciesParams) WithDefaults() *UpdatePoliciesParams
WithDefaults hydrates default values in the update policies params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePoliciesParams) WithHTTPClient ¶
func (o *UpdatePoliciesParams) WithHTTPClient(client *http.Client) *UpdatePoliciesParams
WithHTTPClient adds the HTTPClient to the update policies params
func (*UpdatePoliciesParams) WithID ¶
func (o *UpdatePoliciesParams) WithID(id string) *UpdatePoliciesParams
WithID adds the id to the update policies params
func (*UpdatePoliciesParams) WithTimeout ¶
func (o *UpdatePoliciesParams) WithTimeout(timeout time.Duration) *UpdatePoliciesParams
WithTimeout adds the timeout to the update policies params
func (*UpdatePoliciesParams) WriteToRequest ¶
func (o *UpdatePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePoliciesReader ¶
type UpdatePoliciesReader struct {
// contains filtered or unexported fields
}
UpdatePoliciesReader is a Reader for the UpdatePolicies structure.
func (*UpdatePoliciesReader) ReadResponse ¶
func (o *UpdatePoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePoliciesTooManyRequests ¶
type UpdatePoliciesTooManyRequests 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 }
UpdatePoliciesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUpdatePoliciesTooManyRequests ¶
func NewUpdatePoliciesTooManyRequests() *UpdatePoliciesTooManyRequests
NewUpdatePoliciesTooManyRequests creates a UpdatePoliciesTooManyRequests with default headers values
func (*UpdatePoliciesTooManyRequests) Code ¶
func (o *UpdatePoliciesTooManyRequests) Code() int
Code gets the status code for the update policies too many requests response
func (*UpdatePoliciesTooManyRequests) Error ¶
func (o *UpdatePoliciesTooManyRequests) Error() string
func (*UpdatePoliciesTooManyRequests) GetPayload ¶
func (o *UpdatePoliciesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*UpdatePoliciesTooManyRequests) IsClientError ¶
func (o *UpdatePoliciesTooManyRequests) IsClientError() bool
IsClientError returns true when this update policies too many requests response has a 4xx status code
func (*UpdatePoliciesTooManyRequests) IsCode ¶
func (o *UpdatePoliciesTooManyRequests) IsCode(code int) bool
IsCode returns true when this update policies too many requests response a status code equal to that given
func (*UpdatePoliciesTooManyRequests) IsRedirect ¶
func (o *UpdatePoliciesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update policies too many requests response has a 3xx status code
func (*UpdatePoliciesTooManyRequests) IsServerError ¶
func (o *UpdatePoliciesTooManyRequests) IsServerError() bool
IsServerError returns true when this update policies too many requests response has a 5xx status code
func (*UpdatePoliciesTooManyRequests) IsSuccess ¶
func (o *UpdatePoliciesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update policies too many requests response has a 2xx status code
func (*UpdatePoliciesTooManyRequests) String ¶
func (o *UpdatePoliciesTooManyRequests) String() string
type UpdatePolicyExclusionsForbidden ¶
type UpdatePolicyExclusionsForbidden 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.MsaReplyMetaOnly }
UpdatePolicyExclusionsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdatePolicyExclusionsForbidden ¶
func NewUpdatePolicyExclusionsForbidden() *UpdatePolicyExclusionsForbidden
NewUpdatePolicyExclusionsForbidden creates a UpdatePolicyExclusionsForbidden with default headers values
func (*UpdatePolicyExclusionsForbidden) Code ¶
func (o *UpdatePolicyExclusionsForbidden) Code() int
Code gets the status code for the update policy exclusions forbidden response
func (*UpdatePolicyExclusionsForbidden) Error ¶
func (o *UpdatePolicyExclusionsForbidden) Error() string
func (*UpdatePolicyExclusionsForbidden) GetPayload ¶
func (o *UpdatePolicyExclusionsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*UpdatePolicyExclusionsForbidden) IsClientError ¶
func (o *UpdatePolicyExclusionsForbidden) IsClientError() bool
IsClientError returns true when this update policy exclusions forbidden response has a 4xx status code
func (*UpdatePolicyExclusionsForbidden) IsCode ¶
func (o *UpdatePolicyExclusionsForbidden) IsCode(code int) bool
IsCode returns true when this update policy exclusions forbidden response a status code equal to that given
func (*UpdatePolicyExclusionsForbidden) IsRedirect ¶
func (o *UpdatePolicyExclusionsForbidden) IsRedirect() bool
IsRedirect returns true when this update policy exclusions forbidden response has a 3xx status code
func (*UpdatePolicyExclusionsForbidden) IsServerError ¶
func (o *UpdatePolicyExclusionsForbidden) IsServerError() bool
IsServerError returns true when this update policy exclusions forbidden response has a 5xx status code
func (*UpdatePolicyExclusionsForbidden) IsSuccess ¶
func (o *UpdatePolicyExclusionsForbidden) IsSuccess() bool
IsSuccess returns true when this update policy exclusions forbidden response has a 2xx status code
func (*UpdatePolicyExclusionsForbidden) String ¶
func (o *UpdatePolicyExclusionsForbidden) String() string
type UpdatePolicyExclusionsInternalServerError ¶
type UpdatePolicyExclusionsInternalServerError 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.CoreEntitiesResponse }
UpdatePolicyExclusionsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdatePolicyExclusionsInternalServerError ¶
func NewUpdatePolicyExclusionsInternalServerError() *UpdatePolicyExclusionsInternalServerError
NewUpdatePolicyExclusionsInternalServerError creates a UpdatePolicyExclusionsInternalServerError with default headers values
func (*UpdatePolicyExclusionsInternalServerError) Code ¶
func (o *UpdatePolicyExclusionsInternalServerError) Code() int
Code gets the status code for the update policy exclusions internal server error response
func (*UpdatePolicyExclusionsInternalServerError) Error ¶
func (o *UpdatePolicyExclusionsInternalServerError) Error() string
func (*UpdatePolicyExclusionsInternalServerError) GetPayload ¶
func (o *UpdatePolicyExclusionsInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*UpdatePolicyExclusionsInternalServerError) IsClientError ¶
func (o *UpdatePolicyExclusionsInternalServerError) IsClientError() bool
IsClientError returns true when this update policy exclusions internal server error response has a 4xx status code
func (*UpdatePolicyExclusionsInternalServerError) IsCode ¶
func (o *UpdatePolicyExclusionsInternalServerError) IsCode(code int) bool
IsCode returns true when this update policy exclusions internal server error response a status code equal to that given
func (*UpdatePolicyExclusionsInternalServerError) IsRedirect ¶
func (o *UpdatePolicyExclusionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this update policy exclusions internal server error response has a 3xx status code
func (*UpdatePolicyExclusionsInternalServerError) IsServerError ¶
func (o *UpdatePolicyExclusionsInternalServerError) IsServerError() bool
IsServerError returns true when this update policy exclusions internal server error response has a 5xx status code
func (*UpdatePolicyExclusionsInternalServerError) IsSuccess ¶
func (o *UpdatePolicyExclusionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this update policy exclusions internal server error response has a 2xx status code
func (*UpdatePolicyExclusionsInternalServerError) String ¶
func (o *UpdatePolicyExclusionsInternalServerError) String() string
type UpdatePolicyExclusionsOK ¶
type UpdatePolicyExclusionsOK 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.ModelsPolicyExclusionEntityResponse }
UpdatePolicyExclusionsOK describes a response with status code 200, with default header values.
OK
func NewUpdatePolicyExclusionsOK ¶
func NewUpdatePolicyExclusionsOK() *UpdatePolicyExclusionsOK
NewUpdatePolicyExclusionsOK creates a UpdatePolicyExclusionsOK with default headers values
func (*UpdatePolicyExclusionsOK) Code ¶
func (o *UpdatePolicyExclusionsOK) Code() int
Code gets the status code for the update policy exclusions o k response
func (*UpdatePolicyExclusionsOK) Error ¶
func (o *UpdatePolicyExclusionsOK) Error() string
func (*UpdatePolicyExclusionsOK) GetPayload ¶
func (o *UpdatePolicyExclusionsOK) GetPayload() *models.ModelsPolicyExclusionEntityResponse
func (*UpdatePolicyExclusionsOK) IsClientError ¶
func (o *UpdatePolicyExclusionsOK) IsClientError() bool
IsClientError returns true when this update policy exclusions o k response has a 4xx status code
func (*UpdatePolicyExclusionsOK) IsCode ¶
func (o *UpdatePolicyExclusionsOK) IsCode(code int) bool
IsCode returns true when this update policy exclusions o k response a status code equal to that given
func (*UpdatePolicyExclusionsOK) IsRedirect ¶
func (o *UpdatePolicyExclusionsOK) IsRedirect() bool
IsRedirect returns true when this update policy exclusions o k response has a 3xx status code
func (*UpdatePolicyExclusionsOK) IsServerError ¶
func (o *UpdatePolicyExclusionsOK) IsServerError() bool
IsServerError returns true when this update policy exclusions o k response has a 5xx status code
func (*UpdatePolicyExclusionsOK) IsSuccess ¶
func (o *UpdatePolicyExclusionsOK) IsSuccess() bool
IsSuccess returns true when this update policy exclusions o k response has a 2xx status code
func (*UpdatePolicyExclusionsOK) String ¶
func (o *UpdatePolicyExclusionsOK) String() string
type UpdatePolicyExclusionsParams ¶
type UpdatePolicyExclusionsParams struct { // Body. Body *models.ModelsUpdateExclusionsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePolicyExclusionsParams contains all the parameters to send to the API endpoint
for the update policy exclusions operation. Typically these are written to a http.Request.
func NewUpdatePolicyExclusionsParams ¶
func NewUpdatePolicyExclusionsParams() *UpdatePolicyExclusionsParams
NewUpdatePolicyExclusionsParams creates a new UpdatePolicyExclusionsParams 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 NewUpdatePolicyExclusionsParamsWithContext ¶
func NewUpdatePolicyExclusionsParamsWithContext(ctx context.Context) *UpdatePolicyExclusionsParams
NewUpdatePolicyExclusionsParamsWithContext creates a new UpdatePolicyExclusionsParams object with the ability to set a context for a request.
func NewUpdatePolicyExclusionsParamsWithHTTPClient ¶
func NewUpdatePolicyExclusionsParamsWithHTTPClient(client *http.Client) *UpdatePolicyExclusionsParams
NewUpdatePolicyExclusionsParamsWithHTTPClient creates a new UpdatePolicyExclusionsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePolicyExclusionsParamsWithTimeout ¶
func NewUpdatePolicyExclusionsParamsWithTimeout(timeout time.Duration) *UpdatePolicyExclusionsParams
NewUpdatePolicyExclusionsParamsWithTimeout creates a new UpdatePolicyExclusionsParams object with the ability to set a timeout on a request.
func (*UpdatePolicyExclusionsParams) SetBody ¶
func (o *UpdatePolicyExclusionsParams) SetBody(body *models.ModelsUpdateExclusionsRequest)
SetBody adds the body to the update policy exclusions params
func (*UpdatePolicyExclusionsParams) SetContext ¶
func (o *UpdatePolicyExclusionsParams) SetContext(ctx context.Context)
SetContext adds the context to the update policy exclusions params
func (*UpdatePolicyExclusionsParams) SetDefaults ¶
func (o *UpdatePolicyExclusionsParams) SetDefaults()
SetDefaults hydrates default values in the update policy exclusions params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePolicyExclusionsParams) SetHTTPClient ¶
func (o *UpdatePolicyExclusionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update policy exclusions params
func (*UpdatePolicyExclusionsParams) SetTimeout ¶
func (o *UpdatePolicyExclusionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update policy exclusions params
func (*UpdatePolicyExclusionsParams) WithBody ¶
func (o *UpdatePolicyExclusionsParams) WithBody(body *models.ModelsUpdateExclusionsRequest) *UpdatePolicyExclusionsParams
WithBody adds the body to the update policy exclusions params
func (*UpdatePolicyExclusionsParams) WithContext ¶
func (o *UpdatePolicyExclusionsParams) WithContext(ctx context.Context) *UpdatePolicyExclusionsParams
WithContext adds the context to the update policy exclusions params
func (*UpdatePolicyExclusionsParams) WithDefaults ¶
func (o *UpdatePolicyExclusionsParams) WithDefaults() *UpdatePolicyExclusionsParams
WithDefaults hydrates default values in the update policy exclusions params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePolicyExclusionsParams) WithHTTPClient ¶
func (o *UpdatePolicyExclusionsParams) WithHTTPClient(client *http.Client) *UpdatePolicyExclusionsParams
WithHTTPClient adds the HTTPClient to the update policy exclusions params
func (*UpdatePolicyExclusionsParams) WithTimeout ¶
func (o *UpdatePolicyExclusionsParams) WithTimeout(timeout time.Duration) *UpdatePolicyExclusionsParams
WithTimeout adds the timeout to the update policy exclusions params
func (*UpdatePolicyExclusionsParams) WriteToRequest ¶
func (o *UpdatePolicyExclusionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePolicyExclusionsReader ¶
type UpdatePolicyExclusionsReader struct {
// contains filtered or unexported fields
}
UpdatePolicyExclusionsReader is a Reader for the UpdatePolicyExclusions structure.
func (*UpdatePolicyExclusionsReader) ReadResponse ¶
func (o *UpdatePolicyExclusionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePolicyExclusionsTooManyRequests ¶
type UpdatePolicyExclusionsTooManyRequests 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 }
UpdatePolicyExclusionsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUpdatePolicyExclusionsTooManyRequests ¶
func NewUpdatePolicyExclusionsTooManyRequests() *UpdatePolicyExclusionsTooManyRequests
NewUpdatePolicyExclusionsTooManyRequests creates a UpdatePolicyExclusionsTooManyRequests with default headers values
func (*UpdatePolicyExclusionsTooManyRequests) Code ¶
func (o *UpdatePolicyExclusionsTooManyRequests) Code() int
Code gets the status code for the update policy exclusions too many requests response
func (*UpdatePolicyExclusionsTooManyRequests) Error ¶
func (o *UpdatePolicyExclusionsTooManyRequests) Error() string
func (*UpdatePolicyExclusionsTooManyRequests) GetPayload ¶
func (o *UpdatePolicyExclusionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*UpdatePolicyExclusionsTooManyRequests) IsClientError ¶
func (o *UpdatePolicyExclusionsTooManyRequests) IsClientError() bool
IsClientError returns true when this update policy exclusions too many requests response has a 4xx status code
func (*UpdatePolicyExclusionsTooManyRequests) IsCode ¶
func (o *UpdatePolicyExclusionsTooManyRequests) IsCode(code int) bool
IsCode returns true when this update policy exclusions too many requests response a status code equal to that given
func (*UpdatePolicyExclusionsTooManyRequests) IsRedirect ¶
func (o *UpdatePolicyExclusionsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update policy exclusions too many requests response has a 3xx status code
func (*UpdatePolicyExclusionsTooManyRequests) IsServerError ¶
func (o *UpdatePolicyExclusionsTooManyRequests) IsServerError() bool
IsServerError returns true when this update policy exclusions too many requests response has a 5xx status code
func (*UpdatePolicyExclusionsTooManyRequests) IsSuccess ¶
func (o *UpdatePolicyExclusionsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update policy exclusions too many requests response has a 2xx status code
func (*UpdatePolicyExclusionsTooManyRequests) String ¶
func (o *UpdatePolicyExclusionsTooManyRequests) String() string
type UpdatePolicyGroupsForbidden ¶
type UpdatePolicyGroupsForbidden 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.MsaReplyMetaOnly }
UpdatePolicyGroupsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdatePolicyGroupsForbidden ¶
func NewUpdatePolicyGroupsForbidden() *UpdatePolicyGroupsForbidden
NewUpdatePolicyGroupsForbidden creates a UpdatePolicyGroupsForbidden with default headers values
func (*UpdatePolicyGroupsForbidden) Code ¶
func (o *UpdatePolicyGroupsForbidden) Code() int
Code gets the status code for the update policy groups forbidden response
func (*UpdatePolicyGroupsForbidden) Error ¶
func (o *UpdatePolicyGroupsForbidden) Error() string
func (*UpdatePolicyGroupsForbidden) GetPayload ¶
func (o *UpdatePolicyGroupsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*UpdatePolicyGroupsForbidden) IsClientError ¶
func (o *UpdatePolicyGroupsForbidden) IsClientError() bool
IsClientError returns true when this update policy groups forbidden response has a 4xx status code
func (*UpdatePolicyGroupsForbidden) IsCode ¶
func (o *UpdatePolicyGroupsForbidden) IsCode(code int) bool
IsCode returns true when this update policy groups forbidden response a status code equal to that given
func (*UpdatePolicyGroupsForbidden) IsRedirect ¶
func (o *UpdatePolicyGroupsForbidden) IsRedirect() bool
IsRedirect returns true when this update policy groups forbidden response has a 3xx status code
func (*UpdatePolicyGroupsForbidden) IsServerError ¶
func (o *UpdatePolicyGroupsForbidden) IsServerError() bool
IsServerError returns true when this update policy groups forbidden response has a 5xx status code
func (*UpdatePolicyGroupsForbidden) IsSuccess ¶
func (o *UpdatePolicyGroupsForbidden) IsSuccess() bool
IsSuccess returns true when this update policy groups forbidden response has a 2xx status code
func (*UpdatePolicyGroupsForbidden) String ¶
func (o *UpdatePolicyGroupsForbidden) String() string
type UpdatePolicyGroupsInternalServerError ¶
type UpdatePolicyGroupsInternalServerError 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.CoreEntitiesResponse }
UpdatePolicyGroupsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdatePolicyGroupsInternalServerError ¶
func NewUpdatePolicyGroupsInternalServerError() *UpdatePolicyGroupsInternalServerError
NewUpdatePolicyGroupsInternalServerError creates a UpdatePolicyGroupsInternalServerError with default headers values
func (*UpdatePolicyGroupsInternalServerError) Code ¶
func (o *UpdatePolicyGroupsInternalServerError) Code() int
Code gets the status code for the update policy groups internal server error response
func (*UpdatePolicyGroupsInternalServerError) Error ¶
func (o *UpdatePolicyGroupsInternalServerError) Error() string
func (*UpdatePolicyGroupsInternalServerError) GetPayload ¶
func (o *UpdatePolicyGroupsInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*UpdatePolicyGroupsInternalServerError) IsClientError ¶
func (o *UpdatePolicyGroupsInternalServerError) IsClientError() bool
IsClientError returns true when this update policy groups internal server error response has a 4xx status code
func (*UpdatePolicyGroupsInternalServerError) IsCode ¶
func (o *UpdatePolicyGroupsInternalServerError) IsCode(code int) bool
IsCode returns true when this update policy groups internal server error response a status code equal to that given
func (*UpdatePolicyGroupsInternalServerError) IsRedirect ¶
func (o *UpdatePolicyGroupsInternalServerError) IsRedirect() bool
IsRedirect returns true when this update policy groups internal server error response has a 3xx status code
func (*UpdatePolicyGroupsInternalServerError) IsServerError ¶
func (o *UpdatePolicyGroupsInternalServerError) IsServerError() bool
IsServerError returns true when this update policy groups internal server error response has a 5xx status code
func (*UpdatePolicyGroupsInternalServerError) IsSuccess ¶
func (o *UpdatePolicyGroupsInternalServerError) IsSuccess() bool
IsSuccess returns true when this update policy groups internal server error response has a 2xx status code
func (*UpdatePolicyGroupsInternalServerError) String ¶
func (o *UpdatePolicyGroupsInternalServerError) String() string
type UpdatePolicyGroupsOK ¶
type UpdatePolicyGroupsOK 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.ModelsPolicyGroupEntityResponse }
UpdatePolicyGroupsOK describes a response with status code 200, with default header values.
OK
func NewUpdatePolicyGroupsOK ¶
func NewUpdatePolicyGroupsOK() *UpdatePolicyGroupsOK
NewUpdatePolicyGroupsOK creates a UpdatePolicyGroupsOK with default headers values
func (*UpdatePolicyGroupsOK) Code ¶
func (o *UpdatePolicyGroupsOK) Code() int
Code gets the status code for the update policy groups o k response
func (*UpdatePolicyGroupsOK) Error ¶
func (o *UpdatePolicyGroupsOK) Error() string
func (*UpdatePolicyGroupsOK) GetPayload ¶
func (o *UpdatePolicyGroupsOK) GetPayload() *models.ModelsPolicyGroupEntityResponse
func (*UpdatePolicyGroupsOK) IsClientError ¶
func (o *UpdatePolicyGroupsOK) IsClientError() bool
IsClientError returns true when this update policy groups o k response has a 4xx status code
func (*UpdatePolicyGroupsOK) IsCode ¶
func (o *UpdatePolicyGroupsOK) IsCode(code int) bool
IsCode returns true when this update policy groups o k response a status code equal to that given
func (*UpdatePolicyGroupsOK) IsRedirect ¶
func (o *UpdatePolicyGroupsOK) IsRedirect() bool
IsRedirect returns true when this update policy groups o k response has a 3xx status code
func (*UpdatePolicyGroupsOK) IsServerError ¶
func (o *UpdatePolicyGroupsOK) IsServerError() bool
IsServerError returns true when this update policy groups o k response has a 5xx status code
func (*UpdatePolicyGroupsOK) IsSuccess ¶
func (o *UpdatePolicyGroupsOK) IsSuccess() bool
IsSuccess returns true when this update policy groups o k response has a 2xx status code
func (*UpdatePolicyGroupsOK) String ¶
func (o *UpdatePolicyGroupsOK) String() string
type UpdatePolicyGroupsParams ¶
type UpdatePolicyGroupsParams struct { // Body. Body *models.ModelsPatchImageGroupRequest /* ID. Policy Image Group entity UUID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePolicyGroupsParams contains all the parameters to send to the API endpoint
for the update policy groups operation. Typically these are written to a http.Request.
func NewUpdatePolicyGroupsParams ¶
func NewUpdatePolicyGroupsParams() *UpdatePolicyGroupsParams
NewUpdatePolicyGroupsParams creates a new UpdatePolicyGroupsParams 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 NewUpdatePolicyGroupsParamsWithContext ¶
func NewUpdatePolicyGroupsParamsWithContext(ctx context.Context) *UpdatePolicyGroupsParams
NewUpdatePolicyGroupsParamsWithContext creates a new UpdatePolicyGroupsParams object with the ability to set a context for a request.
func NewUpdatePolicyGroupsParamsWithHTTPClient ¶
func NewUpdatePolicyGroupsParamsWithHTTPClient(client *http.Client) *UpdatePolicyGroupsParams
NewUpdatePolicyGroupsParamsWithHTTPClient creates a new UpdatePolicyGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePolicyGroupsParamsWithTimeout ¶
func NewUpdatePolicyGroupsParamsWithTimeout(timeout time.Duration) *UpdatePolicyGroupsParams
NewUpdatePolicyGroupsParamsWithTimeout creates a new UpdatePolicyGroupsParams object with the ability to set a timeout on a request.
func (*UpdatePolicyGroupsParams) SetBody ¶
func (o *UpdatePolicyGroupsParams) SetBody(body *models.ModelsPatchImageGroupRequest)
SetBody adds the body to the update policy groups params
func (*UpdatePolicyGroupsParams) SetContext ¶
func (o *UpdatePolicyGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the update policy groups params
func (*UpdatePolicyGroupsParams) SetDefaults ¶
func (o *UpdatePolicyGroupsParams) SetDefaults()
SetDefaults hydrates default values in the update policy groups params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePolicyGroupsParams) SetHTTPClient ¶
func (o *UpdatePolicyGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update policy groups params
func (*UpdatePolicyGroupsParams) SetID ¶
func (o *UpdatePolicyGroupsParams) SetID(id string)
SetID adds the id to the update policy groups params
func (*UpdatePolicyGroupsParams) SetTimeout ¶
func (o *UpdatePolicyGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update policy groups params
func (*UpdatePolicyGroupsParams) WithBody ¶
func (o *UpdatePolicyGroupsParams) WithBody(body *models.ModelsPatchImageGroupRequest) *UpdatePolicyGroupsParams
WithBody adds the body to the update policy groups params
func (*UpdatePolicyGroupsParams) WithContext ¶
func (o *UpdatePolicyGroupsParams) WithContext(ctx context.Context) *UpdatePolicyGroupsParams
WithContext adds the context to the update policy groups params
func (*UpdatePolicyGroupsParams) WithDefaults ¶
func (o *UpdatePolicyGroupsParams) WithDefaults() *UpdatePolicyGroupsParams
WithDefaults hydrates default values in the update policy groups params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePolicyGroupsParams) WithHTTPClient ¶
func (o *UpdatePolicyGroupsParams) WithHTTPClient(client *http.Client) *UpdatePolicyGroupsParams
WithHTTPClient adds the HTTPClient to the update policy groups params
func (*UpdatePolicyGroupsParams) WithID ¶
func (o *UpdatePolicyGroupsParams) WithID(id string) *UpdatePolicyGroupsParams
WithID adds the id to the update policy groups params
func (*UpdatePolicyGroupsParams) WithTimeout ¶
func (o *UpdatePolicyGroupsParams) WithTimeout(timeout time.Duration) *UpdatePolicyGroupsParams
WithTimeout adds the timeout to the update policy groups params
func (*UpdatePolicyGroupsParams) WriteToRequest ¶
func (o *UpdatePolicyGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePolicyGroupsReader ¶
type UpdatePolicyGroupsReader struct {
// contains filtered or unexported fields
}
UpdatePolicyGroupsReader is a Reader for the UpdatePolicyGroups structure.
func (*UpdatePolicyGroupsReader) ReadResponse ¶
func (o *UpdatePolicyGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePolicyGroupsTooManyRequests ¶
type UpdatePolicyGroupsTooManyRequests 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 }
UpdatePolicyGroupsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUpdatePolicyGroupsTooManyRequests ¶
func NewUpdatePolicyGroupsTooManyRequests() *UpdatePolicyGroupsTooManyRequests
NewUpdatePolicyGroupsTooManyRequests creates a UpdatePolicyGroupsTooManyRequests with default headers values
func (*UpdatePolicyGroupsTooManyRequests) Code ¶
func (o *UpdatePolicyGroupsTooManyRequests) Code() int
Code gets the status code for the update policy groups too many requests response
func (*UpdatePolicyGroupsTooManyRequests) Error ¶
func (o *UpdatePolicyGroupsTooManyRequests) Error() string
func (*UpdatePolicyGroupsTooManyRequests) GetPayload ¶
func (o *UpdatePolicyGroupsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*UpdatePolicyGroupsTooManyRequests) IsClientError ¶
func (o *UpdatePolicyGroupsTooManyRequests) IsClientError() bool
IsClientError returns true when this update policy groups too many requests response has a 4xx status code
func (*UpdatePolicyGroupsTooManyRequests) IsCode ¶
func (o *UpdatePolicyGroupsTooManyRequests) IsCode(code int) bool
IsCode returns true when this update policy groups too many requests response a status code equal to that given
func (*UpdatePolicyGroupsTooManyRequests) IsRedirect ¶
func (o *UpdatePolicyGroupsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update policy groups too many requests response has a 3xx status code
func (*UpdatePolicyGroupsTooManyRequests) IsServerError ¶
func (o *UpdatePolicyGroupsTooManyRequests) IsServerError() bool
IsServerError returns true when this update policy groups too many requests response has a 5xx status code
func (*UpdatePolicyGroupsTooManyRequests) IsSuccess ¶
func (o *UpdatePolicyGroupsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update policy groups too many requests response has a 2xx status code
func (*UpdatePolicyGroupsTooManyRequests) String ¶
func (o *UpdatePolicyGroupsTooManyRequests) String() string
type UpdatePolicyPrecedenceForbidden ¶
type UpdatePolicyPrecedenceForbidden 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.MsaReplyMetaOnly }
UpdatePolicyPrecedenceForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdatePolicyPrecedenceForbidden ¶
func NewUpdatePolicyPrecedenceForbidden() *UpdatePolicyPrecedenceForbidden
NewUpdatePolicyPrecedenceForbidden creates a UpdatePolicyPrecedenceForbidden with default headers values
func (*UpdatePolicyPrecedenceForbidden) Code ¶
func (o *UpdatePolicyPrecedenceForbidden) Code() int
Code gets the status code for the update policy precedence forbidden response
func (*UpdatePolicyPrecedenceForbidden) Error ¶
func (o *UpdatePolicyPrecedenceForbidden) Error() string
func (*UpdatePolicyPrecedenceForbidden) GetPayload ¶
func (o *UpdatePolicyPrecedenceForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*UpdatePolicyPrecedenceForbidden) IsClientError ¶
func (o *UpdatePolicyPrecedenceForbidden) IsClientError() bool
IsClientError returns true when this update policy precedence forbidden response has a 4xx status code
func (*UpdatePolicyPrecedenceForbidden) IsCode ¶
func (o *UpdatePolicyPrecedenceForbidden) IsCode(code int) bool
IsCode returns true when this update policy precedence forbidden response a status code equal to that given
func (*UpdatePolicyPrecedenceForbidden) IsRedirect ¶
func (o *UpdatePolicyPrecedenceForbidden) IsRedirect() bool
IsRedirect returns true when this update policy precedence forbidden response has a 3xx status code
func (*UpdatePolicyPrecedenceForbidden) IsServerError ¶
func (o *UpdatePolicyPrecedenceForbidden) IsServerError() bool
IsServerError returns true when this update policy precedence forbidden response has a 5xx status code
func (*UpdatePolicyPrecedenceForbidden) IsSuccess ¶
func (o *UpdatePolicyPrecedenceForbidden) IsSuccess() bool
IsSuccess returns true when this update policy precedence forbidden response has a 2xx status code
func (*UpdatePolicyPrecedenceForbidden) String ¶
func (o *UpdatePolicyPrecedenceForbidden) String() string
type UpdatePolicyPrecedenceInternalServerError ¶
type UpdatePolicyPrecedenceInternalServerError 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.CoreEntitiesResponse }
UpdatePolicyPrecedenceInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdatePolicyPrecedenceInternalServerError ¶
func NewUpdatePolicyPrecedenceInternalServerError() *UpdatePolicyPrecedenceInternalServerError
NewUpdatePolicyPrecedenceInternalServerError creates a UpdatePolicyPrecedenceInternalServerError with default headers values
func (*UpdatePolicyPrecedenceInternalServerError) Code ¶
func (o *UpdatePolicyPrecedenceInternalServerError) Code() int
Code gets the status code for the update policy precedence internal server error response
func (*UpdatePolicyPrecedenceInternalServerError) Error ¶
func (o *UpdatePolicyPrecedenceInternalServerError) Error() string
func (*UpdatePolicyPrecedenceInternalServerError) GetPayload ¶
func (o *UpdatePolicyPrecedenceInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*UpdatePolicyPrecedenceInternalServerError) IsClientError ¶
func (o *UpdatePolicyPrecedenceInternalServerError) IsClientError() bool
IsClientError returns true when this update policy precedence internal server error response has a 4xx status code
func (*UpdatePolicyPrecedenceInternalServerError) IsCode ¶
func (o *UpdatePolicyPrecedenceInternalServerError) IsCode(code int) bool
IsCode returns true when this update policy precedence internal server error response a status code equal to that given
func (*UpdatePolicyPrecedenceInternalServerError) IsRedirect ¶
func (o *UpdatePolicyPrecedenceInternalServerError) IsRedirect() bool
IsRedirect returns true when this update policy precedence internal server error response has a 3xx status code
func (*UpdatePolicyPrecedenceInternalServerError) IsServerError ¶
func (o *UpdatePolicyPrecedenceInternalServerError) IsServerError() bool
IsServerError returns true when this update policy precedence internal server error response has a 5xx status code
func (*UpdatePolicyPrecedenceInternalServerError) IsSuccess ¶
func (o *UpdatePolicyPrecedenceInternalServerError) IsSuccess() bool
IsSuccess returns true when this update policy precedence internal server error response has a 2xx status code
func (*UpdatePolicyPrecedenceInternalServerError) String ¶
func (o *UpdatePolicyPrecedenceInternalServerError) String() string
type UpdatePolicyPrecedenceOK ¶
type UpdatePolicyPrecedenceOK 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.ModelsPolicyEntityResponse }
UpdatePolicyPrecedenceOK describes a response with status code 200, with default header values.
OK
func NewUpdatePolicyPrecedenceOK ¶
func NewUpdatePolicyPrecedenceOK() *UpdatePolicyPrecedenceOK
NewUpdatePolicyPrecedenceOK creates a UpdatePolicyPrecedenceOK with default headers values
func (*UpdatePolicyPrecedenceOK) Code ¶
func (o *UpdatePolicyPrecedenceOK) Code() int
Code gets the status code for the update policy precedence o k response
func (*UpdatePolicyPrecedenceOK) Error ¶
func (o *UpdatePolicyPrecedenceOK) Error() string
func (*UpdatePolicyPrecedenceOK) GetPayload ¶
func (o *UpdatePolicyPrecedenceOK) GetPayload() *models.ModelsPolicyEntityResponse
func (*UpdatePolicyPrecedenceOK) IsClientError ¶
func (o *UpdatePolicyPrecedenceOK) IsClientError() bool
IsClientError returns true when this update policy precedence o k response has a 4xx status code
func (*UpdatePolicyPrecedenceOK) IsCode ¶
func (o *UpdatePolicyPrecedenceOK) IsCode(code int) bool
IsCode returns true when this update policy precedence o k response a status code equal to that given
func (*UpdatePolicyPrecedenceOK) IsRedirect ¶
func (o *UpdatePolicyPrecedenceOK) IsRedirect() bool
IsRedirect returns true when this update policy precedence o k response has a 3xx status code
func (*UpdatePolicyPrecedenceOK) IsServerError ¶
func (o *UpdatePolicyPrecedenceOK) IsServerError() bool
IsServerError returns true when this update policy precedence o k response has a 5xx status code
func (*UpdatePolicyPrecedenceOK) IsSuccess ¶
func (o *UpdatePolicyPrecedenceOK) IsSuccess() bool
IsSuccess returns true when this update policy precedence o k response has a 2xx status code
func (*UpdatePolicyPrecedenceOK) String ¶
func (o *UpdatePolicyPrecedenceOK) String() string
type UpdatePolicyPrecedenceParams ¶
type UpdatePolicyPrecedenceParams struct { // Body. Body *models.ModelsAPIPrecedenceRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePolicyPrecedenceParams contains all the parameters to send to the API endpoint
for the update policy precedence operation. Typically these are written to a http.Request.
func NewUpdatePolicyPrecedenceParams ¶
func NewUpdatePolicyPrecedenceParams() *UpdatePolicyPrecedenceParams
NewUpdatePolicyPrecedenceParams creates a new UpdatePolicyPrecedenceParams 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 NewUpdatePolicyPrecedenceParamsWithContext ¶
func NewUpdatePolicyPrecedenceParamsWithContext(ctx context.Context) *UpdatePolicyPrecedenceParams
NewUpdatePolicyPrecedenceParamsWithContext creates a new UpdatePolicyPrecedenceParams object with the ability to set a context for a request.
func NewUpdatePolicyPrecedenceParamsWithHTTPClient ¶
func NewUpdatePolicyPrecedenceParamsWithHTTPClient(client *http.Client) *UpdatePolicyPrecedenceParams
NewUpdatePolicyPrecedenceParamsWithHTTPClient creates a new UpdatePolicyPrecedenceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePolicyPrecedenceParamsWithTimeout ¶
func NewUpdatePolicyPrecedenceParamsWithTimeout(timeout time.Duration) *UpdatePolicyPrecedenceParams
NewUpdatePolicyPrecedenceParamsWithTimeout creates a new UpdatePolicyPrecedenceParams object with the ability to set a timeout on a request.
func (*UpdatePolicyPrecedenceParams) SetBody ¶
func (o *UpdatePolicyPrecedenceParams) SetBody(body *models.ModelsAPIPrecedenceRequest)
SetBody adds the body to the update policy precedence params
func (*UpdatePolicyPrecedenceParams) SetContext ¶
func (o *UpdatePolicyPrecedenceParams) SetContext(ctx context.Context)
SetContext adds the context to the update policy precedence params
func (*UpdatePolicyPrecedenceParams) SetDefaults ¶
func (o *UpdatePolicyPrecedenceParams) SetDefaults()
SetDefaults hydrates default values in the update policy precedence params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePolicyPrecedenceParams) SetHTTPClient ¶
func (o *UpdatePolicyPrecedenceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update policy precedence params
func (*UpdatePolicyPrecedenceParams) SetTimeout ¶
func (o *UpdatePolicyPrecedenceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update policy precedence params
func (*UpdatePolicyPrecedenceParams) WithBody ¶
func (o *UpdatePolicyPrecedenceParams) WithBody(body *models.ModelsAPIPrecedenceRequest) *UpdatePolicyPrecedenceParams
WithBody adds the body to the update policy precedence params
func (*UpdatePolicyPrecedenceParams) WithContext ¶
func (o *UpdatePolicyPrecedenceParams) WithContext(ctx context.Context) *UpdatePolicyPrecedenceParams
WithContext adds the context to the update policy precedence params
func (*UpdatePolicyPrecedenceParams) WithDefaults ¶
func (o *UpdatePolicyPrecedenceParams) WithDefaults() *UpdatePolicyPrecedenceParams
WithDefaults hydrates default values in the update policy precedence params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePolicyPrecedenceParams) WithHTTPClient ¶
func (o *UpdatePolicyPrecedenceParams) WithHTTPClient(client *http.Client) *UpdatePolicyPrecedenceParams
WithHTTPClient adds the HTTPClient to the update policy precedence params
func (*UpdatePolicyPrecedenceParams) WithTimeout ¶
func (o *UpdatePolicyPrecedenceParams) WithTimeout(timeout time.Duration) *UpdatePolicyPrecedenceParams
WithTimeout adds the timeout to the update policy precedence params
func (*UpdatePolicyPrecedenceParams) WriteToRequest ¶
func (o *UpdatePolicyPrecedenceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePolicyPrecedenceReader ¶
type UpdatePolicyPrecedenceReader struct {
// contains filtered or unexported fields
}
UpdatePolicyPrecedenceReader is a Reader for the UpdatePolicyPrecedence structure.
func (*UpdatePolicyPrecedenceReader) ReadResponse ¶
func (o *UpdatePolicyPrecedenceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePolicyPrecedenceTooManyRequests ¶
type UpdatePolicyPrecedenceTooManyRequests 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 }
UpdatePolicyPrecedenceTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUpdatePolicyPrecedenceTooManyRequests ¶
func NewUpdatePolicyPrecedenceTooManyRequests() *UpdatePolicyPrecedenceTooManyRequests
NewUpdatePolicyPrecedenceTooManyRequests creates a UpdatePolicyPrecedenceTooManyRequests with default headers values
func (*UpdatePolicyPrecedenceTooManyRequests) Code ¶
func (o *UpdatePolicyPrecedenceTooManyRequests) Code() int
Code gets the status code for the update policy precedence too many requests response
func (*UpdatePolicyPrecedenceTooManyRequests) Error ¶
func (o *UpdatePolicyPrecedenceTooManyRequests) Error() string
func (*UpdatePolicyPrecedenceTooManyRequests) GetPayload ¶
func (o *UpdatePolicyPrecedenceTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*UpdatePolicyPrecedenceTooManyRequests) IsClientError ¶
func (o *UpdatePolicyPrecedenceTooManyRequests) IsClientError() bool
IsClientError returns true when this update policy precedence too many requests response has a 4xx status code
func (*UpdatePolicyPrecedenceTooManyRequests) IsCode ¶
func (o *UpdatePolicyPrecedenceTooManyRequests) IsCode(code int) bool
IsCode returns true when this update policy precedence too many requests response a status code equal to that given
func (*UpdatePolicyPrecedenceTooManyRequests) IsRedirect ¶
func (o *UpdatePolicyPrecedenceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update policy precedence too many requests response has a 3xx status code
func (*UpdatePolicyPrecedenceTooManyRequests) IsServerError ¶
func (o *UpdatePolicyPrecedenceTooManyRequests) IsServerError() bool
IsServerError returns true when this update policy precedence too many requests response has a 5xx status code
func (*UpdatePolicyPrecedenceTooManyRequests) IsSuccess ¶
func (o *UpdatePolicyPrecedenceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update policy precedence too many requests response has a 2xx status code
func (*UpdatePolicyPrecedenceTooManyRequests) String ¶
func (o *UpdatePolicyPrecedenceTooManyRequests) String() string
Source Files ¶
- create_policies_parameters.go
- create_policies_responses.go
- create_policy_groups_parameters.go
- create_policy_groups_responses.go
- delete_policy_group_parameters.go
- delete_policy_group_responses.go
- delete_policy_parameters.go
- delete_policy_responses.go
- image_assessment_policies_client.go
- read_policies_parameters.go
- read_policies_responses.go
- read_policy_exclusions_parameters.go
- read_policy_exclusions_responses.go
- read_policy_groups_parameters.go
- read_policy_groups_responses.go
- update_policies_parameters.go
- update_policies_responses.go
- update_policy_exclusions_parameters.go
- update_policy_exclusions_responses.go
- update_policy_groups_parameters.go
- update_policy_groups_responses.go
- update_policy_precedence_parameters.go
- update_policy_precedence_responses.go