image_assessment_policies

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 (*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

Code gets the status code for the create policies internal server error response

func (*CreatePoliciesInternalServerError) Error

func (*CreatePoliciesInternalServerError) GetPayload

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

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 (*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

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

WithBody adds the body to the create policies params

func (*CreatePoliciesParams) WithContext

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

Code gets the status code for the create policies too many requests response

func (*CreatePoliciesTooManyRequests) Error

func (*CreatePoliciesTooManyRequests) GetPayload

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

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 (*CreatePolicyGroupsForbidden) GetPayload

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

Code gets the status code for the create policy groups internal server error response

func (*CreatePolicyGroupsInternalServerError) Error

func (*CreatePolicyGroupsInternalServerError) GetPayload

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

IsCode returns true when this create policy groups internal server error response a status code equal to that given

func (*CreatePolicyGroupsInternalServerError) IsRedirect

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

IsSuccess returns true when this create policy groups internal server error response has a 2xx status code

func (*CreatePolicyGroupsInternalServerError) 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 (*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

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

WithBody adds the body to the create policy groups params

func (*CreatePolicyGroupsParams) WithContext

WithContext adds the context to the create policy groups params

func (*CreatePolicyGroupsParams) WithDefaults

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

WithTimeout adds the timeout to the create policy groups params

func (*CreatePolicyGroupsParams) WriteToRequest

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

Code gets the status code for the create policy groups too many requests response

func (*CreatePolicyGroupsTooManyRequests) Error

func (*CreatePolicyGroupsTooManyRequests) GetPayload

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

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 (*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 (*DeletePolicyGroupForbidden) GetPayload

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

Code gets the status code for the delete policy group internal server error response

func (*DeletePolicyGroupInternalServerError) Error

func (*DeletePolicyGroupInternalServerError) GetPayload

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

IsCode returns true when this delete policy group internal server error response a status code equal to that given

func (*DeletePolicyGroupInternalServerError) IsRedirect

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

IsSuccess returns true when this delete policy group internal server error response has a 2xx status code

func (*DeletePolicyGroupInternalServerError) 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 (*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

WithContext adds the context to the delete policy group params

func (*DeletePolicyGroupParams) WithDefaults

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

WithID adds the id to the delete policy group params

func (*DeletePolicyGroupParams) WithTimeout

WithTimeout adds the timeout to the delete policy group params

func (*DeletePolicyGroupParams) WriteToRequest

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

Code gets the status code for the delete policy group too many requests response

func (*DeletePolicyGroupTooManyRequests) Error

func (*DeletePolicyGroupTooManyRequests) GetPayload

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

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

Code gets the status code for the delete policy internal server error response

func (*DeletePolicyInternalServerError) Error

func (*DeletePolicyInternalServerError) GetPayload

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

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

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

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 (*DeletePolicyTooManyRequests) GetPayload

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 (*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

Code gets the status code for the read policies internal server error response

func (*ReadPoliciesInternalServerError) Error

func (*ReadPoliciesInternalServerError) GetPayload

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

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 (*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

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 (*ReadPoliciesTooManyRequests) GetPayload

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

Code gets the status code for the read policy exclusions forbidden response

func (*ReadPolicyExclusionsForbidden) Error

func (*ReadPolicyExclusionsForbidden) GetPayload

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

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

Code gets the status code for the read policy exclusions internal server error response

func (*ReadPolicyExclusionsInternalServerError) Error

func (*ReadPolicyExclusionsInternalServerError) GetPayload

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

IsCode returns true when this read policy exclusions internal server error response a status code equal to that given

func (*ReadPolicyExclusionsInternalServerError) IsRedirect

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

IsSuccess returns true when this read policy exclusions internal server error response has a 2xx status code

func (*ReadPolicyExclusionsInternalServerError) 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 (*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

WithContext adds the context to the read policy exclusions params

func (*ReadPolicyExclusionsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the read policy exclusions params

func (*ReadPolicyExclusionsParams) WithTimeout

WithTimeout adds the timeout to the read policy exclusions params

func (*ReadPolicyExclusionsParams) WriteToRequest

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

Code gets the status code for the read policy exclusions too many requests response

func (*ReadPolicyExclusionsTooManyRequests) Error

func (*ReadPolicyExclusionsTooManyRequests) GetPayload

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

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

IsSuccess returns true when this read policy exclusions too many requests response has a 2xx status code

func (*ReadPolicyExclusionsTooManyRequests) 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 (*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

Code gets the status code for the read policy groups internal server error response

func (*ReadPolicyGroupsInternalServerError) Error

func (*ReadPolicyGroupsInternalServerError) GetPayload

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

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

IsSuccess returns true when this read policy groups internal server error response has a 2xx status code

func (*ReadPolicyGroupsInternalServerError) 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 (*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

WithContext adds the context to the read policy groups params

func (*ReadPolicyGroupsParams) WithDefaults

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

WithTimeout adds the timeout to the read policy groups params

func (*ReadPolicyGroupsParams) WriteToRequest

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

Code gets the status code for the read policy groups too many requests response

func (*ReadPolicyGroupsTooManyRequests) Error

func (*ReadPolicyGroupsTooManyRequests) GetPayload

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

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 (*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

Code gets the status code for the update policies internal server error response

func (*UpdatePoliciesInternalServerError) Error

func (*UpdatePoliciesInternalServerError) GetPayload

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

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 (*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

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

WithBody adds the body to the update policies params

func (*UpdatePoliciesParams) WithContext

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

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

Code gets the status code for the update policies too many requests response

func (*UpdatePoliciesTooManyRequests) Error

func (*UpdatePoliciesTooManyRequests) GetPayload

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

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

Code gets the status code for the update policy exclusions forbidden response

func (*UpdatePolicyExclusionsForbidden) Error

func (*UpdatePolicyExclusionsForbidden) GetPayload

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

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

Code gets the status code for the update policy exclusions internal server error response

func (*UpdatePolicyExclusionsInternalServerError) Error

func (*UpdatePolicyExclusionsInternalServerError) GetPayload

func (*UpdatePolicyExclusionsInternalServerError) IsClientError

IsClientError returns true when this update policy exclusions internal server error response has a 4xx status code

func (*UpdatePolicyExclusionsInternalServerError) IsCode

IsCode returns true when this update policy exclusions internal server error response a status code equal to that given

func (*UpdatePolicyExclusionsInternalServerError) IsRedirect

IsRedirect returns true when this update policy exclusions internal server error response has a 3xx status code

func (*UpdatePolicyExclusionsInternalServerError) IsServerError

IsServerError returns true when this update policy exclusions internal server error response has a 5xx status code

func (*UpdatePolicyExclusionsInternalServerError) IsSuccess

IsSuccess returns true when this update policy exclusions internal server error response has a 2xx status code

func (*UpdatePolicyExclusionsInternalServerError) 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 (*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

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

WithBody adds the body to the update policy exclusions params

func (*UpdatePolicyExclusionsParams) WithContext

WithContext adds the context to the update policy exclusions params

func (*UpdatePolicyExclusionsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update policy exclusions params

func (*UpdatePolicyExclusionsParams) WithTimeout

WithTimeout adds the timeout to the update policy exclusions params

func (*UpdatePolicyExclusionsParams) WriteToRequest

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

Code gets the status code for the update policy exclusions too many requests response

func (*UpdatePolicyExclusionsTooManyRequests) Error

func (*UpdatePolicyExclusionsTooManyRequests) GetPayload

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

IsCode returns true when this update policy exclusions too many requests response a status code equal to that given

func (*UpdatePolicyExclusionsTooManyRequests) IsRedirect

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

IsSuccess returns true when this update policy exclusions too many requests response has a 2xx status code

func (*UpdatePolicyExclusionsTooManyRequests) 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 (*UpdatePolicyGroupsForbidden) GetPayload

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

Code gets the status code for the update policy groups internal server error response

func (*UpdatePolicyGroupsInternalServerError) Error

func (*UpdatePolicyGroupsInternalServerError) GetPayload

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

IsCode returns true when this update policy groups internal server error response a status code equal to that given

func (*UpdatePolicyGroupsInternalServerError) IsRedirect

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

IsSuccess returns true when this update policy groups internal server error response has a 2xx status code

func (*UpdatePolicyGroupsInternalServerError) 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 (*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

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

WithBody adds the body to the update policy groups params

func (*UpdatePolicyGroupsParams) WithContext

WithContext adds the context to the update policy groups params

func (*UpdatePolicyGroupsParams) WithDefaults

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

WithID adds the id to the update policy groups params

func (*UpdatePolicyGroupsParams) WithTimeout

WithTimeout adds the timeout to the update policy groups params

func (*UpdatePolicyGroupsParams) WriteToRequest

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

Code gets the status code for the update policy groups too many requests response

func (*UpdatePolicyGroupsTooManyRequests) Error

func (*UpdatePolicyGroupsTooManyRequests) GetPayload

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

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

Code gets the status code for the update policy precedence forbidden response

func (*UpdatePolicyPrecedenceForbidden) Error

func (*UpdatePolicyPrecedenceForbidden) GetPayload

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

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

Code gets the status code for the update policy precedence internal server error response

func (*UpdatePolicyPrecedenceInternalServerError) Error

func (*UpdatePolicyPrecedenceInternalServerError) GetPayload

func (*UpdatePolicyPrecedenceInternalServerError) IsClientError

IsClientError returns true when this update policy precedence internal server error response has a 4xx status code

func (*UpdatePolicyPrecedenceInternalServerError) IsCode

IsCode returns true when this update policy precedence internal server error response a status code equal to that given

func (*UpdatePolicyPrecedenceInternalServerError) IsRedirect

IsRedirect returns true when this update policy precedence internal server error response has a 3xx status code

func (*UpdatePolicyPrecedenceInternalServerError) IsServerError

IsServerError returns true when this update policy precedence internal server error response has a 5xx status code

func (*UpdatePolicyPrecedenceInternalServerError) IsSuccess

IsSuccess returns true when this update policy precedence internal server error response has a 2xx status code

func (*UpdatePolicyPrecedenceInternalServerError) 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 (*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

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

WithBody adds the body to the update policy precedence params

func (*UpdatePolicyPrecedenceParams) WithContext

WithContext adds the context to the update policy precedence params

func (*UpdatePolicyPrecedenceParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update policy precedence params

func (*UpdatePolicyPrecedenceParams) WithTimeout

WithTimeout adds the timeout to the update policy precedence params

func (*UpdatePolicyPrecedenceParams) WriteToRequest

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

Code gets the status code for the update policy precedence too many requests response

func (*UpdatePolicyPrecedenceTooManyRequests) Error

func (*UpdatePolicyPrecedenceTooManyRequests) GetPayload

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

IsCode returns true when this update policy precedence too many requests response a status code equal to that given

func (*UpdatePolicyPrecedenceTooManyRequests) IsRedirect

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

IsSuccess returns true when this update policy precedence too many requests response has a 2xx status code

func (*UpdatePolicyPrecedenceTooManyRequests) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL