deployments_traffic_filter

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClaimTrafficFilterLinkIDCreated added in v1.13.0

type ClaimTrafficFilterLinkIDCreated struct {
	Payload *models.TrafficFilterClaimedLinkIDInfo
}

ClaimTrafficFilterLinkIDCreated describes a response with status code 201, with default header values.

The ruleset definition is valid and the creation has started.

func NewClaimTrafficFilterLinkIDCreated added in v1.13.0

func NewClaimTrafficFilterLinkIDCreated() *ClaimTrafficFilterLinkIDCreated

NewClaimTrafficFilterLinkIDCreated creates a ClaimTrafficFilterLinkIDCreated with default headers values

func (*ClaimTrafficFilterLinkIDCreated) Code added in v1.13.0

Code gets the status code for the claim traffic filter link Id created response

func (*ClaimTrafficFilterLinkIDCreated) Error added in v1.13.0

func (*ClaimTrafficFilterLinkIDCreated) GetPayload added in v1.13.0

func (*ClaimTrafficFilterLinkIDCreated) IsClientError added in v1.13.0

func (o *ClaimTrafficFilterLinkIDCreated) IsClientError() bool

IsClientError returns true when this claim traffic filter link Id created response has a 4xx status code

func (*ClaimTrafficFilterLinkIDCreated) IsCode added in v1.13.0

func (o *ClaimTrafficFilterLinkIDCreated) IsCode(code int) bool

IsCode returns true when this claim traffic filter link Id created response a status code equal to that given

func (*ClaimTrafficFilterLinkIDCreated) IsRedirect added in v1.13.0

func (o *ClaimTrafficFilterLinkIDCreated) IsRedirect() bool

IsRedirect returns true when this claim traffic filter link Id created response has a 3xx status code

func (*ClaimTrafficFilterLinkIDCreated) IsServerError added in v1.13.0

func (o *ClaimTrafficFilterLinkIDCreated) IsServerError() bool

IsServerError returns true when this claim traffic filter link Id created response has a 5xx status code

func (*ClaimTrafficFilterLinkIDCreated) IsSuccess added in v1.13.0

func (o *ClaimTrafficFilterLinkIDCreated) IsSuccess() bool

IsSuccess returns true when this claim traffic filter link Id created response has a 2xx status code

func (*ClaimTrafficFilterLinkIDCreated) String added in v1.13.0

type ClaimTrafficFilterLinkIDInternalServerError added in v1.13.0

type ClaimTrafficFilterLinkIDInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

ClaimTrafficFilterLinkIDInternalServerError describes a response with status code 500, with default header values.

Error creating the traffic filter ruleset. (code: `traffic_filter_claimed_link_id.request_execution_failed`)

func NewClaimTrafficFilterLinkIDInternalServerError added in v1.13.0

func NewClaimTrafficFilterLinkIDInternalServerError() *ClaimTrafficFilterLinkIDInternalServerError

NewClaimTrafficFilterLinkIDInternalServerError creates a ClaimTrafficFilterLinkIDInternalServerError with default headers values

func (*ClaimTrafficFilterLinkIDInternalServerError) Code added in v1.13.0

Code gets the status code for the claim traffic filter link Id internal server error response

func (*ClaimTrafficFilterLinkIDInternalServerError) Error added in v1.13.0

func (*ClaimTrafficFilterLinkIDInternalServerError) GetPayload added in v1.13.0

func (*ClaimTrafficFilterLinkIDInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this claim traffic filter link Id internal server error response has a 4xx status code

func (*ClaimTrafficFilterLinkIDInternalServerError) IsCode added in v1.13.0

IsCode returns true when this claim traffic filter link Id internal server error response a status code equal to that given

func (*ClaimTrafficFilterLinkIDInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this claim traffic filter link Id internal server error response has a 3xx status code

func (*ClaimTrafficFilterLinkIDInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this claim traffic filter link Id internal server error response has a 5xx status code

func (*ClaimTrafficFilterLinkIDInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this claim traffic filter link Id internal server error response has a 2xx status code

func (*ClaimTrafficFilterLinkIDInternalServerError) String added in v1.13.0

type ClaimTrafficFilterLinkIDParams added in v1.13.0

type ClaimTrafficFilterLinkIDParams struct {

	/* Body.

	   The specification for traffic filter claimed link id.
	*/
	Body *models.TrafficFilterClaimedLinkIDRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ClaimTrafficFilterLinkIDParams contains all the parameters to send to the API endpoint

for the claim traffic filter link id operation.

Typically these are written to a http.Request.

func NewClaimTrafficFilterLinkIDParams added in v1.13.0

func NewClaimTrafficFilterLinkIDParams() *ClaimTrafficFilterLinkIDParams

NewClaimTrafficFilterLinkIDParams creates a new ClaimTrafficFilterLinkIDParams 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 NewClaimTrafficFilterLinkIDParamsWithContext added in v1.13.0

func NewClaimTrafficFilterLinkIDParamsWithContext(ctx context.Context) *ClaimTrafficFilterLinkIDParams

NewClaimTrafficFilterLinkIDParamsWithContext creates a new ClaimTrafficFilterLinkIDParams object with the ability to set a context for a request.

func NewClaimTrafficFilterLinkIDParamsWithHTTPClient added in v1.13.0

func NewClaimTrafficFilterLinkIDParamsWithHTTPClient(client *http.Client) *ClaimTrafficFilterLinkIDParams

NewClaimTrafficFilterLinkIDParamsWithHTTPClient creates a new ClaimTrafficFilterLinkIDParams object with the ability to set a custom HTTPClient for a request.

func NewClaimTrafficFilterLinkIDParamsWithTimeout added in v1.13.0

func NewClaimTrafficFilterLinkIDParamsWithTimeout(timeout time.Duration) *ClaimTrafficFilterLinkIDParams

NewClaimTrafficFilterLinkIDParamsWithTimeout creates a new ClaimTrafficFilterLinkIDParams object with the ability to set a timeout on a request.

func (*ClaimTrafficFilterLinkIDParams) SetBody added in v1.13.0

SetBody adds the body to the claim traffic filter link id params

func (*ClaimTrafficFilterLinkIDParams) SetContext added in v1.13.0

func (o *ClaimTrafficFilterLinkIDParams) SetContext(ctx context.Context)

SetContext adds the context to the claim traffic filter link id params

func (*ClaimTrafficFilterLinkIDParams) SetDefaults added in v1.13.0

func (o *ClaimTrafficFilterLinkIDParams) SetDefaults()

SetDefaults hydrates default values in the claim traffic filter link id params (not the query body).

All values with no default are reset to their zero value.

func (*ClaimTrafficFilterLinkIDParams) SetHTTPClient added in v1.13.0

func (o *ClaimTrafficFilterLinkIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the claim traffic filter link id params

func (*ClaimTrafficFilterLinkIDParams) SetTimeout added in v1.13.0

func (o *ClaimTrafficFilterLinkIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the claim traffic filter link id params

func (*ClaimTrafficFilterLinkIDParams) WithBody added in v1.13.0

WithBody adds the body to the claim traffic filter link id params

func (*ClaimTrafficFilterLinkIDParams) WithContext added in v1.13.0

WithContext adds the context to the claim traffic filter link id params

func (*ClaimTrafficFilterLinkIDParams) WithDefaults added in v1.13.0

WithDefaults hydrates default values in the claim traffic filter link id params (not the query body).

All values with no default are reset to their zero value.

func (*ClaimTrafficFilterLinkIDParams) WithHTTPClient added in v1.13.0

WithHTTPClient adds the HTTPClient to the claim traffic filter link id params

func (*ClaimTrafficFilterLinkIDParams) WithTimeout added in v1.13.0

WithTimeout adds the timeout to the claim traffic filter link id params

func (*ClaimTrafficFilterLinkIDParams) WriteToRequest added in v1.13.0

WriteToRequest writes these params to a swagger request

type ClaimTrafficFilterLinkIDReader added in v1.13.0

type ClaimTrafficFilterLinkIDReader struct {
	// contains filtered or unexported fields
}

ClaimTrafficFilterLinkIDReader is a Reader for the ClaimTrafficFilterLinkID structure.

func (*ClaimTrafficFilterLinkIDReader) ReadResponse added in v1.13.0

func (o *ClaimTrafficFilterLinkIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for deployments traffic filter API

func (*Client) ClaimTrafficFilterLinkID added in v1.13.0

func (a *Client) ClaimTrafficFilterLinkID(params *ClaimTrafficFilterLinkIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClaimTrafficFilterLinkIDCreated, error)

ClaimTrafficFilterLinkID claims a link id

Claim the ownership of a link id.

func (*Client) CreateTrafficFilterRuleset

func (a *Client) CreateTrafficFilterRuleset(params *CreateTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTrafficFilterRulesetCreated, error)

CreateTrafficFilterRuleset creates a ruleset

Creates a ruleset that consists of a set of rules.

func (*Client) CreateTrafficFilterRulesetAssociation

CreateTrafficFilterRulesetAssociation creates ruleset association

Applies the ruleset to the specified deployment.

func (*Client) DeleteTrafficFilterRuleset

func (a *Client) DeleteTrafficFilterRuleset(params *DeleteTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTrafficFilterRulesetOK, error)

DeleteTrafficFilterRuleset deletes a ruleset

Deletes the ruleset by ID.

func (*Client) DeleteTrafficFilterRulesetAssociation

func (a *Client) DeleteTrafficFilterRulesetAssociation(params *DeleteTrafficFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTrafficFilterRulesetAssociationOK, error)

DeleteTrafficFilterRulesetAssociation deletes ruleset association

Deletes the traffic rules in the ruleset from the deployment.

func (*Client) GetTrafficFilterClaimedLinkIds added in v1.13.0

func (a *Client) GetTrafficFilterClaimedLinkIds(params *GetTrafficFilterClaimedLinkIdsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrafficFilterClaimedLinkIdsOK, error)

GetTrafficFilterClaimedLinkIds lists traffic filter claimed link id

List all of the traffic filter claimed link id.

func (*Client) GetTrafficFilterDeploymentRulesetAssociations

GetTrafficFilterDeploymentRulesetAssociations gets associated rulesets

Retrieves the rulesets associated with a deployment.

func (*Client) GetTrafficFilterRuleset

func (a *Client) GetTrafficFilterRuleset(params *GetTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrafficFilterRulesetOK, error)

GetTrafficFilterRuleset retrieves the ruleset by ID

Retrieves a list of resources that are associated to the specified ruleset.

func (*Client) GetTrafficFilterRulesetDeploymentAssociations

GetTrafficFilterRulesetDeploymentAssociations gets associated deployments

Retrieves a list of deployments that are associated to the specified ruleset.

func (*Client) GetTrafficFilterRulesets

func (a *Client) GetTrafficFilterRulesets(params *GetTrafficFilterRulesetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrafficFilterRulesetsOK, error)

GetTrafficFilterRulesets lists traffic filter rulesets

List all of the traffic filter rulesets.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UnclaimTrafficFilterLinkID added in v1.13.0

func (a *Client) UnclaimTrafficFilterLinkID(params *UnclaimTrafficFilterLinkIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnclaimTrafficFilterLinkIDOK, error)

UnclaimTrafficFilterLinkID unclaims a link id

Unclaims the ownership of a link id.

func (*Client) UpdateTrafficFilterRuleset

func (a *Client) UpdateTrafficFilterRuleset(params *UpdateTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTrafficFilterRulesetOK, error)

UpdateTrafficFilterRuleset updates a ruleset

Updates the ruleset with the definition.

type ClientOption added in v1.3.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ClaimTrafficFilterLinkID(params *ClaimTrafficFilterLinkIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClaimTrafficFilterLinkIDCreated, error)

	CreateTrafficFilterRuleset(params *CreateTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTrafficFilterRulesetCreated, error)

	CreateTrafficFilterRulesetAssociation(params *CreateTrafficFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTrafficFilterRulesetAssociationOK, *CreateTrafficFilterRulesetAssociationCreated, error)

	DeleteTrafficFilterRuleset(params *DeleteTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTrafficFilterRulesetOK, error)

	DeleteTrafficFilterRulesetAssociation(params *DeleteTrafficFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTrafficFilterRulesetAssociationOK, error)

	GetTrafficFilterClaimedLinkIds(params *GetTrafficFilterClaimedLinkIdsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrafficFilterClaimedLinkIdsOK, error)

	GetTrafficFilterDeploymentRulesetAssociations(params *GetTrafficFilterDeploymentRulesetAssociationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrafficFilterDeploymentRulesetAssociationsOK, error)

	GetTrafficFilterRuleset(params *GetTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrafficFilterRulesetOK, error)

	GetTrafficFilterRulesetDeploymentAssociations(params *GetTrafficFilterRulesetDeploymentAssociationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrafficFilterRulesetDeploymentAssociationsOK, error)

	GetTrafficFilterRulesets(params *GetTrafficFilterRulesetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrafficFilterRulesetsOK, error)

	UnclaimTrafficFilterLinkID(params *UnclaimTrafficFilterLinkIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnclaimTrafficFilterLinkIDOK, error)

	UpdateTrafficFilterRuleset(params *UpdateTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTrafficFilterRulesetOK, 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 deployments traffic filter API client.

type CreateTrafficFilterRulesetAssociationCreated added in v1.0.1

type CreateTrafficFilterRulesetAssociationCreated struct {
	Payload models.EmptyResponse
}

CreateTrafficFilterRulesetAssociationCreated describes a response with status code 201, with default header values.

Create association request was valid and the association has been created

func NewCreateTrafficFilterRulesetAssociationCreated added in v1.0.1

func NewCreateTrafficFilterRulesetAssociationCreated() *CreateTrafficFilterRulesetAssociationCreated

NewCreateTrafficFilterRulesetAssociationCreated creates a CreateTrafficFilterRulesetAssociationCreated with default headers values

func (*CreateTrafficFilterRulesetAssociationCreated) Code added in v1.13.0

Code gets the status code for the create traffic filter ruleset association created response

func (*CreateTrafficFilterRulesetAssociationCreated) Error added in v1.0.1

func (*CreateTrafficFilterRulesetAssociationCreated) GetPayload added in v1.0.1

func (*CreateTrafficFilterRulesetAssociationCreated) IsClientError added in v1.13.0

IsClientError returns true when this create traffic filter ruleset association created response has a 4xx status code

func (*CreateTrafficFilterRulesetAssociationCreated) IsCode added in v1.13.0

IsCode returns true when this create traffic filter ruleset association created response a status code equal to that given

func (*CreateTrafficFilterRulesetAssociationCreated) IsRedirect added in v1.13.0

IsRedirect returns true when this create traffic filter ruleset association created response has a 3xx status code

func (*CreateTrafficFilterRulesetAssociationCreated) IsServerError added in v1.13.0

IsServerError returns true when this create traffic filter ruleset association created response has a 5xx status code

func (*CreateTrafficFilterRulesetAssociationCreated) IsSuccess added in v1.13.0

IsSuccess returns true when this create traffic filter ruleset association created response has a 2xx status code

func (*CreateTrafficFilterRulesetAssociationCreated) String added in v1.13.0

type CreateTrafficFilterRulesetAssociationInternalServerError

type CreateTrafficFilterRulesetAssociationInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateTrafficFilterRulesetAssociationInternalServerError describes a response with status code 500, with default header values.

Creation failed. (code: `traffic_filter.request_execution_failed`)

func NewCreateTrafficFilterRulesetAssociationInternalServerError

func NewCreateTrafficFilterRulesetAssociationInternalServerError() *CreateTrafficFilterRulesetAssociationInternalServerError

NewCreateTrafficFilterRulesetAssociationInternalServerError creates a CreateTrafficFilterRulesetAssociationInternalServerError with default headers values

func (*CreateTrafficFilterRulesetAssociationInternalServerError) Code added in v1.13.0

Code gets the status code for the create traffic filter ruleset association internal server error response

func (*CreateTrafficFilterRulesetAssociationInternalServerError) Error

func (*CreateTrafficFilterRulesetAssociationInternalServerError) GetPayload

func (*CreateTrafficFilterRulesetAssociationInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this create traffic filter ruleset association internal server error response has a 4xx status code

func (*CreateTrafficFilterRulesetAssociationInternalServerError) IsCode added in v1.13.0

IsCode returns true when this create traffic filter ruleset association internal server error response a status code equal to that given

func (*CreateTrafficFilterRulesetAssociationInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this create traffic filter ruleset association internal server error response has a 3xx status code

func (*CreateTrafficFilterRulesetAssociationInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this create traffic filter ruleset association internal server error response has a 5xx status code

func (*CreateTrafficFilterRulesetAssociationInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this create traffic filter ruleset association internal server error response has a 2xx status code

func (*CreateTrafficFilterRulesetAssociationInternalServerError) String added in v1.13.0

type CreateTrafficFilterRulesetAssociationNotFound

type CreateTrafficFilterRulesetAssociationNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateTrafficFilterRulesetAssociationNotFound describes a response with status code 404, with default header values.

The traffic filter ruleset specified by {ruleset_id} cannot be found. (code: `traffic_filter.not_found`)

func NewCreateTrafficFilterRulesetAssociationNotFound

func NewCreateTrafficFilterRulesetAssociationNotFound() *CreateTrafficFilterRulesetAssociationNotFound

NewCreateTrafficFilterRulesetAssociationNotFound creates a CreateTrafficFilterRulesetAssociationNotFound with default headers values

func (*CreateTrafficFilterRulesetAssociationNotFound) Code added in v1.13.0

Code gets the status code for the create traffic filter ruleset association not found response

func (*CreateTrafficFilterRulesetAssociationNotFound) Error

func (*CreateTrafficFilterRulesetAssociationNotFound) GetPayload

func (*CreateTrafficFilterRulesetAssociationNotFound) IsClientError added in v1.13.0

IsClientError returns true when this create traffic filter ruleset association not found response has a 4xx status code

func (*CreateTrafficFilterRulesetAssociationNotFound) IsCode added in v1.13.0

IsCode returns true when this create traffic filter ruleset association not found response a status code equal to that given

func (*CreateTrafficFilterRulesetAssociationNotFound) IsRedirect added in v1.13.0

IsRedirect returns true when this create traffic filter ruleset association not found response has a 3xx status code

func (*CreateTrafficFilterRulesetAssociationNotFound) IsServerError added in v1.13.0

IsServerError returns true when this create traffic filter ruleset association not found response has a 5xx status code

func (*CreateTrafficFilterRulesetAssociationNotFound) IsSuccess added in v1.13.0

IsSuccess returns true when this create traffic filter ruleset association not found response has a 2xx status code

func (*CreateTrafficFilterRulesetAssociationNotFound) String added in v1.13.0

type CreateTrafficFilterRulesetAssociationOK

type CreateTrafficFilterRulesetAssociationOK struct {
	Payload models.EmptyResponse
}

CreateTrafficFilterRulesetAssociationOK describes a response with status code 200, with default header values.

Create association request was valid and the association already exists

func NewCreateTrafficFilterRulesetAssociationOK

func NewCreateTrafficFilterRulesetAssociationOK() *CreateTrafficFilterRulesetAssociationOK

NewCreateTrafficFilterRulesetAssociationOK creates a CreateTrafficFilterRulesetAssociationOK with default headers values

func (*CreateTrafficFilterRulesetAssociationOK) Code added in v1.13.0

Code gets the status code for the create traffic filter ruleset association o k response

func (*CreateTrafficFilterRulesetAssociationOK) Error

func (*CreateTrafficFilterRulesetAssociationOK) GetPayload

func (*CreateTrafficFilterRulesetAssociationOK) IsClientError added in v1.13.0

func (o *CreateTrafficFilterRulesetAssociationOK) IsClientError() bool

IsClientError returns true when this create traffic filter ruleset association o k response has a 4xx status code

func (*CreateTrafficFilterRulesetAssociationOK) IsCode added in v1.13.0

IsCode returns true when this create traffic filter ruleset association o k response a status code equal to that given

func (*CreateTrafficFilterRulesetAssociationOK) IsRedirect added in v1.13.0

IsRedirect returns true when this create traffic filter ruleset association o k response has a 3xx status code

func (*CreateTrafficFilterRulesetAssociationOK) IsServerError added in v1.13.0

func (o *CreateTrafficFilterRulesetAssociationOK) IsServerError() bool

IsServerError returns true when this create traffic filter ruleset association o k response has a 5xx status code

func (*CreateTrafficFilterRulesetAssociationOK) IsSuccess added in v1.13.0

IsSuccess returns true when this create traffic filter ruleset association o k response has a 2xx status code

func (*CreateTrafficFilterRulesetAssociationOK) String added in v1.13.0

type CreateTrafficFilterRulesetAssociationParams

type CreateTrafficFilterRulesetAssociationParams struct {

	/* Body.

	   Mandatory ruleset association description
	*/
	Body *models.FilterAssociation

	/* RulesetID.

	   The mandatory ruleset ID.
	*/
	RulesetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateTrafficFilterRulesetAssociationParams contains all the parameters to send to the API endpoint

for the create traffic filter ruleset association operation.

Typically these are written to a http.Request.

func NewCreateTrafficFilterRulesetAssociationParams

func NewCreateTrafficFilterRulesetAssociationParams() *CreateTrafficFilterRulesetAssociationParams

NewCreateTrafficFilterRulesetAssociationParams creates a new CreateTrafficFilterRulesetAssociationParams 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 NewCreateTrafficFilterRulesetAssociationParamsWithContext

func NewCreateTrafficFilterRulesetAssociationParamsWithContext(ctx context.Context) *CreateTrafficFilterRulesetAssociationParams

NewCreateTrafficFilterRulesetAssociationParamsWithContext creates a new CreateTrafficFilterRulesetAssociationParams object with the ability to set a context for a request.

func NewCreateTrafficFilterRulesetAssociationParamsWithHTTPClient

func NewCreateTrafficFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *CreateTrafficFilterRulesetAssociationParams

NewCreateTrafficFilterRulesetAssociationParamsWithHTTPClient creates a new CreateTrafficFilterRulesetAssociationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTrafficFilterRulesetAssociationParamsWithTimeout

func NewCreateTrafficFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *CreateTrafficFilterRulesetAssociationParams

NewCreateTrafficFilterRulesetAssociationParamsWithTimeout creates a new CreateTrafficFilterRulesetAssociationParams object with the ability to set a timeout on a request.

func (*CreateTrafficFilterRulesetAssociationParams) SetBody

SetBody adds the body to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) SetContext

SetContext adds the context to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the create traffic filter ruleset association params (not the query body).

All values with no default are reset to their zero value.

func (*CreateTrafficFilterRulesetAssociationParams) SetHTTPClient

func (o *CreateTrafficFilterRulesetAssociationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) SetRulesetID

func (o *CreateTrafficFilterRulesetAssociationParams) SetRulesetID(rulesetID string)

SetRulesetID adds the rulesetId to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) SetTimeout

SetTimeout adds the timeout to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WithBody

WithBody adds the body to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WithContext

WithContext adds the context to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the create traffic filter ruleset association params (not the query body).

All values with no default are reset to their zero value.

func (*CreateTrafficFilterRulesetAssociationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WithRulesetID

WithRulesetID adds the rulesetID to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WithTimeout

WithTimeout adds the timeout to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateTrafficFilterRulesetAssociationReader

type CreateTrafficFilterRulesetAssociationReader struct {
	// contains filtered or unexported fields
}

CreateTrafficFilterRulesetAssociationReader is a Reader for the CreateTrafficFilterRulesetAssociation structure.

func (*CreateTrafficFilterRulesetAssociationReader) ReadResponse

func (o *CreateTrafficFilterRulesetAssociationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateTrafficFilterRulesetCreated

type CreateTrafficFilterRulesetCreated struct {
	Payload *models.TrafficFilterRulesetResponse
}

CreateTrafficFilterRulesetCreated describes a response with status code 201, with default header values.

The ruleset definition is valid and the creation has started.

func NewCreateTrafficFilterRulesetCreated

func NewCreateTrafficFilterRulesetCreated() *CreateTrafficFilterRulesetCreated

NewCreateTrafficFilterRulesetCreated creates a CreateTrafficFilterRulesetCreated with default headers values

func (*CreateTrafficFilterRulesetCreated) Code added in v1.13.0

Code gets the status code for the create traffic filter ruleset created response

func (*CreateTrafficFilterRulesetCreated) Error

func (*CreateTrafficFilterRulesetCreated) GetPayload

func (*CreateTrafficFilterRulesetCreated) IsClientError added in v1.13.0

func (o *CreateTrafficFilterRulesetCreated) IsClientError() bool

IsClientError returns true when this create traffic filter ruleset created response has a 4xx status code

func (*CreateTrafficFilterRulesetCreated) IsCode added in v1.13.0

func (o *CreateTrafficFilterRulesetCreated) IsCode(code int) bool

IsCode returns true when this create traffic filter ruleset created response a status code equal to that given

func (*CreateTrafficFilterRulesetCreated) IsRedirect added in v1.13.0

func (o *CreateTrafficFilterRulesetCreated) IsRedirect() bool

IsRedirect returns true when this create traffic filter ruleset created response has a 3xx status code

func (*CreateTrafficFilterRulesetCreated) IsServerError added in v1.13.0

func (o *CreateTrafficFilterRulesetCreated) IsServerError() bool

IsServerError returns true when this create traffic filter ruleset created response has a 5xx status code

func (*CreateTrafficFilterRulesetCreated) IsSuccess added in v1.13.0

func (o *CreateTrafficFilterRulesetCreated) IsSuccess() bool

IsSuccess returns true when this create traffic filter ruleset created response has a 2xx status code

func (*CreateTrafficFilterRulesetCreated) String added in v1.13.0

type CreateTrafficFilterRulesetInternalServerError

type CreateTrafficFilterRulesetInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateTrafficFilterRulesetInternalServerError describes a response with status code 500, with default header values.

Error creating the traffic filter ruleset. (code: `traffic_filter.request_execution_failed`)

func NewCreateTrafficFilterRulesetInternalServerError

func NewCreateTrafficFilterRulesetInternalServerError() *CreateTrafficFilterRulesetInternalServerError

NewCreateTrafficFilterRulesetInternalServerError creates a CreateTrafficFilterRulesetInternalServerError with default headers values

func (*CreateTrafficFilterRulesetInternalServerError) Code added in v1.13.0

Code gets the status code for the create traffic filter ruleset internal server error response

func (*CreateTrafficFilterRulesetInternalServerError) Error

func (*CreateTrafficFilterRulesetInternalServerError) GetPayload

func (*CreateTrafficFilterRulesetInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this create traffic filter ruleset internal server error response has a 4xx status code

func (*CreateTrafficFilterRulesetInternalServerError) IsCode added in v1.13.0

IsCode returns true when this create traffic filter ruleset internal server error response a status code equal to that given

func (*CreateTrafficFilterRulesetInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this create traffic filter ruleset internal server error response has a 3xx status code

func (*CreateTrafficFilterRulesetInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this create traffic filter ruleset internal server error response has a 5xx status code

func (*CreateTrafficFilterRulesetInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this create traffic filter ruleset internal server error response has a 2xx status code

func (*CreateTrafficFilterRulesetInternalServerError) String added in v1.13.0

type CreateTrafficFilterRulesetParams

type CreateTrafficFilterRulesetParams struct {

	/* Body.

	   The specification for traffic filter ruleset.
	*/
	Body *models.TrafficFilterRulesetRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateTrafficFilterRulesetParams contains all the parameters to send to the API endpoint

for the create traffic filter ruleset operation.

Typically these are written to a http.Request.

func NewCreateTrafficFilterRulesetParams

func NewCreateTrafficFilterRulesetParams() *CreateTrafficFilterRulesetParams

NewCreateTrafficFilterRulesetParams creates a new CreateTrafficFilterRulesetParams 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 NewCreateTrafficFilterRulesetParamsWithContext

func NewCreateTrafficFilterRulesetParamsWithContext(ctx context.Context) *CreateTrafficFilterRulesetParams

NewCreateTrafficFilterRulesetParamsWithContext creates a new CreateTrafficFilterRulesetParams object with the ability to set a context for a request.

func NewCreateTrafficFilterRulesetParamsWithHTTPClient

func NewCreateTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *CreateTrafficFilterRulesetParams

NewCreateTrafficFilterRulesetParamsWithHTTPClient creates a new CreateTrafficFilterRulesetParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTrafficFilterRulesetParamsWithTimeout

func NewCreateTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *CreateTrafficFilterRulesetParams

NewCreateTrafficFilterRulesetParamsWithTimeout creates a new CreateTrafficFilterRulesetParams object with the ability to set a timeout on a request.

func (*CreateTrafficFilterRulesetParams) SetBody

SetBody adds the body to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) SetContext

SetContext adds the context to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) SetDefaults added in v1.3.0

func (o *CreateTrafficFilterRulesetParams) SetDefaults()

SetDefaults hydrates default values in the create traffic filter ruleset params (not the query body).

All values with no default are reset to their zero value.

func (*CreateTrafficFilterRulesetParams) SetHTTPClient

func (o *CreateTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) SetTimeout

func (o *CreateTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) WithBody

WithBody adds the body to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) WithContext

WithContext adds the context to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the create traffic filter ruleset params (not the query body).

All values with no default are reset to their zero value.

func (*CreateTrafficFilterRulesetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateTrafficFilterRulesetReader

type CreateTrafficFilterRulesetReader struct {
	// contains filtered or unexported fields
}

CreateTrafficFilterRulesetReader is a Reader for the CreateTrafficFilterRuleset structure.

func (*CreateTrafficFilterRulesetReader) ReadResponse

func (o *CreateTrafficFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteTrafficFilterRulesetAssociationInternalServerError

type DeleteTrafficFilterRulesetAssociationInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteTrafficFilterRulesetAssociationInternalServerError describes a response with status code 500, with default header values.

Deletion failed. (code: `traffic_filter.request_execution_failed`)

func NewDeleteTrafficFilterRulesetAssociationInternalServerError

func NewDeleteTrafficFilterRulesetAssociationInternalServerError() *DeleteTrafficFilterRulesetAssociationInternalServerError

NewDeleteTrafficFilterRulesetAssociationInternalServerError creates a DeleteTrafficFilterRulesetAssociationInternalServerError with default headers values

func (*DeleteTrafficFilterRulesetAssociationInternalServerError) Code added in v1.13.0

Code gets the status code for the delete traffic filter ruleset association internal server error response

func (*DeleteTrafficFilterRulesetAssociationInternalServerError) Error

func (*DeleteTrafficFilterRulesetAssociationInternalServerError) GetPayload

func (*DeleteTrafficFilterRulesetAssociationInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this delete traffic filter ruleset association internal server error response has a 4xx status code

func (*DeleteTrafficFilterRulesetAssociationInternalServerError) IsCode added in v1.13.0

IsCode returns true when this delete traffic filter ruleset association internal server error response a status code equal to that given

func (*DeleteTrafficFilterRulesetAssociationInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this delete traffic filter ruleset association internal server error response has a 3xx status code

func (*DeleteTrafficFilterRulesetAssociationInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this delete traffic filter ruleset association internal server error response has a 5xx status code

func (*DeleteTrafficFilterRulesetAssociationInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this delete traffic filter ruleset association internal server error response has a 2xx status code

func (*DeleteTrafficFilterRulesetAssociationInternalServerError) String added in v1.13.0

type DeleteTrafficFilterRulesetAssociationNotFound

type DeleteTrafficFilterRulesetAssociationNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteTrafficFilterRulesetAssociationNotFound describes a response with status code 404, with default header values.

The traffic filter ruleset association cannot be found. (code: `traffic_filter.not_found`)

func NewDeleteTrafficFilterRulesetAssociationNotFound

func NewDeleteTrafficFilterRulesetAssociationNotFound() *DeleteTrafficFilterRulesetAssociationNotFound

NewDeleteTrafficFilterRulesetAssociationNotFound creates a DeleteTrafficFilterRulesetAssociationNotFound with default headers values

func (*DeleteTrafficFilterRulesetAssociationNotFound) Code added in v1.13.0

Code gets the status code for the delete traffic filter ruleset association not found response

func (*DeleteTrafficFilterRulesetAssociationNotFound) Error

func (*DeleteTrafficFilterRulesetAssociationNotFound) GetPayload

func (*DeleteTrafficFilterRulesetAssociationNotFound) IsClientError added in v1.13.0

IsClientError returns true when this delete traffic filter ruleset association not found response has a 4xx status code

func (*DeleteTrafficFilterRulesetAssociationNotFound) IsCode added in v1.13.0

IsCode returns true when this delete traffic filter ruleset association not found response a status code equal to that given

func (*DeleteTrafficFilterRulesetAssociationNotFound) IsRedirect added in v1.13.0

IsRedirect returns true when this delete traffic filter ruleset association not found response has a 3xx status code

func (*DeleteTrafficFilterRulesetAssociationNotFound) IsServerError added in v1.13.0

IsServerError returns true when this delete traffic filter ruleset association not found response has a 5xx status code

func (*DeleteTrafficFilterRulesetAssociationNotFound) IsSuccess added in v1.13.0

IsSuccess returns true when this delete traffic filter ruleset association not found response has a 2xx status code

func (*DeleteTrafficFilterRulesetAssociationNotFound) String added in v1.13.0

type DeleteTrafficFilterRulesetAssociationOK

type DeleteTrafficFilterRulesetAssociationOK struct {
	Payload models.EmptyResponse
}

DeleteTrafficFilterRulesetAssociationOK describes a response with status code 200, with default header values.

Delete association request was valid and the association has been deleted

func NewDeleteTrafficFilterRulesetAssociationOK

func NewDeleteTrafficFilterRulesetAssociationOK() *DeleteTrafficFilterRulesetAssociationOK

NewDeleteTrafficFilterRulesetAssociationOK creates a DeleteTrafficFilterRulesetAssociationOK with default headers values

func (*DeleteTrafficFilterRulesetAssociationOK) Code added in v1.13.0

Code gets the status code for the delete traffic filter ruleset association o k response

func (*DeleteTrafficFilterRulesetAssociationOK) Error

func (*DeleteTrafficFilterRulesetAssociationOK) GetPayload

func (*DeleteTrafficFilterRulesetAssociationOK) IsClientError added in v1.13.0

func (o *DeleteTrafficFilterRulesetAssociationOK) IsClientError() bool

IsClientError returns true when this delete traffic filter ruleset association o k response has a 4xx status code

func (*DeleteTrafficFilterRulesetAssociationOK) IsCode added in v1.13.0

IsCode returns true when this delete traffic filter ruleset association o k response a status code equal to that given

func (*DeleteTrafficFilterRulesetAssociationOK) IsRedirect added in v1.13.0

IsRedirect returns true when this delete traffic filter ruleset association o k response has a 3xx status code

func (*DeleteTrafficFilterRulesetAssociationOK) IsServerError added in v1.13.0

func (o *DeleteTrafficFilterRulesetAssociationOK) IsServerError() bool

IsServerError returns true when this delete traffic filter ruleset association o k response has a 5xx status code

func (*DeleteTrafficFilterRulesetAssociationOK) IsSuccess added in v1.13.0

IsSuccess returns true when this delete traffic filter ruleset association o k response has a 2xx status code

func (*DeleteTrafficFilterRulesetAssociationOK) String added in v1.13.0

type DeleteTrafficFilterRulesetAssociationParams

type DeleteTrafficFilterRulesetAssociationParams struct {

	/* AssociatedEntityID.

	   Associated entity ID
	*/
	AssociatedEntityID string

	/* AssociationType.

	   Association type
	*/
	AssociationType string

	/* RulesetID.

	   The mandatory ruleset ID.
	*/
	RulesetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteTrafficFilterRulesetAssociationParams contains all the parameters to send to the API endpoint

for the delete traffic filter ruleset association operation.

Typically these are written to a http.Request.

func NewDeleteTrafficFilterRulesetAssociationParams

func NewDeleteTrafficFilterRulesetAssociationParams() *DeleteTrafficFilterRulesetAssociationParams

NewDeleteTrafficFilterRulesetAssociationParams creates a new DeleteTrafficFilterRulesetAssociationParams 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 NewDeleteTrafficFilterRulesetAssociationParamsWithContext

func NewDeleteTrafficFilterRulesetAssociationParamsWithContext(ctx context.Context) *DeleteTrafficFilterRulesetAssociationParams

NewDeleteTrafficFilterRulesetAssociationParamsWithContext creates a new DeleteTrafficFilterRulesetAssociationParams object with the ability to set a context for a request.

func NewDeleteTrafficFilterRulesetAssociationParamsWithHTTPClient

func NewDeleteTrafficFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *DeleteTrafficFilterRulesetAssociationParams

NewDeleteTrafficFilterRulesetAssociationParamsWithHTTPClient creates a new DeleteTrafficFilterRulesetAssociationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTrafficFilterRulesetAssociationParamsWithTimeout

func NewDeleteTrafficFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *DeleteTrafficFilterRulesetAssociationParams

NewDeleteTrafficFilterRulesetAssociationParamsWithTimeout creates a new DeleteTrafficFilterRulesetAssociationParams object with the ability to set a timeout on a request.

func (*DeleteTrafficFilterRulesetAssociationParams) SetAssociatedEntityID

func (o *DeleteTrafficFilterRulesetAssociationParams) SetAssociatedEntityID(associatedEntityID string)

SetAssociatedEntityID adds the associatedEntityId to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) SetAssociationType

func (o *DeleteTrafficFilterRulesetAssociationParams) SetAssociationType(associationType string)

SetAssociationType adds the associationType to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) SetContext

SetContext adds the context to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the delete traffic filter ruleset association params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTrafficFilterRulesetAssociationParams) SetHTTPClient

func (o *DeleteTrafficFilterRulesetAssociationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) SetRulesetID

func (o *DeleteTrafficFilterRulesetAssociationParams) SetRulesetID(rulesetID string)

SetRulesetID adds the rulesetId to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) SetTimeout

SetTimeout adds the timeout to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithAssociatedEntityID

WithAssociatedEntityID adds the associatedEntityID to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithAssociationType

WithAssociationType adds the associationType to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithContext

WithContext adds the context to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the delete traffic filter ruleset association params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTrafficFilterRulesetAssociationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithRulesetID

WithRulesetID adds the rulesetID to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithTimeout

WithTimeout adds the timeout to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTrafficFilterRulesetAssociationReader

type DeleteTrafficFilterRulesetAssociationReader struct {
	// contains filtered or unexported fields
}

DeleteTrafficFilterRulesetAssociationReader is a Reader for the DeleteTrafficFilterRulesetAssociation structure.

func (*DeleteTrafficFilterRulesetAssociationReader) ReadResponse

func (o *DeleteTrafficFilterRulesetAssociationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteTrafficFilterRulesetInternalServerError

type DeleteTrafficFilterRulesetInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteTrafficFilterRulesetInternalServerError describes a response with status code 500, with default header values.

Error deleting the traffic filter ruleset. (code: `traffic_filter.request_execution_failed`)

func NewDeleteTrafficFilterRulesetInternalServerError

func NewDeleteTrafficFilterRulesetInternalServerError() *DeleteTrafficFilterRulesetInternalServerError

NewDeleteTrafficFilterRulesetInternalServerError creates a DeleteTrafficFilterRulesetInternalServerError with default headers values

func (*DeleteTrafficFilterRulesetInternalServerError) Code added in v1.13.0

Code gets the status code for the delete traffic filter ruleset internal server error response

func (*DeleteTrafficFilterRulesetInternalServerError) Error

func (*DeleteTrafficFilterRulesetInternalServerError) GetPayload

func (*DeleteTrafficFilterRulesetInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this delete traffic filter ruleset internal server error response has a 4xx status code

func (*DeleteTrafficFilterRulesetInternalServerError) IsCode added in v1.13.0

IsCode returns true when this delete traffic filter ruleset internal server error response a status code equal to that given

func (*DeleteTrafficFilterRulesetInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this delete traffic filter ruleset internal server error response has a 3xx status code

func (*DeleteTrafficFilterRulesetInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this delete traffic filter ruleset internal server error response has a 5xx status code

func (*DeleteTrafficFilterRulesetInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this delete traffic filter ruleset internal server error response has a 2xx status code

func (*DeleteTrafficFilterRulesetInternalServerError) String added in v1.13.0

type DeleteTrafficFilterRulesetNotFound

type DeleteTrafficFilterRulesetNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteTrafficFilterRulesetNotFound describes a response with status code 404, with default header values.

The traffic filter ruleset specified by {ruleset_id} cannot be found. (code: `traffic_filter.not_found`)

func NewDeleteTrafficFilterRulesetNotFound

func NewDeleteTrafficFilterRulesetNotFound() *DeleteTrafficFilterRulesetNotFound

NewDeleteTrafficFilterRulesetNotFound creates a DeleteTrafficFilterRulesetNotFound with default headers values

func (*DeleteTrafficFilterRulesetNotFound) Code added in v1.13.0

Code gets the status code for the delete traffic filter ruleset not found response

func (*DeleteTrafficFilterRulesetNotFound) Error

func (*DeleteTrafficFilterRulesetNotFound) GetPayload

func (*DeleteTrafficFilterRulesetNotFound) IsClientError added in v1.13.0

func (o *DeleteTrafficFilterRulesetNotFound) IsClientError() bool

IsClientError returns true when this delete traffic filter ruleset not found response has a 4xx status code

func (*DeleteTrafficFilterRulesetNotFound) IsCode added in v1.13.0

IsCode returns true when this delete traffic filter ruleset not found response a status code equal to that given

func (*DeleteTrafficFilterRulesetNotFound) IsRedirect added in v1.13.0

func (o *DeleteTrafficFilterRulesetNotFound) IsRedirect() bool

IsRedirect returns true when this delete traffic filter ruleset not found response has a 3xx status code

func (*DeleteTrafficFilterRulesetNotFound) IsServerError added in v1.13.0

func (o *DeleteTrafficFilterRulesetNotFound) IsServerError() bool

IsServerError returns true when this delete traffic filter ruleset not found response has a 5xx status code

func (*DeleteTrafficFilterRulesetNotFound) IsSuccess added in v1.13.0

IsSuccess returns true when this delete traffic filter ruleset not found response has a 2xx status code

func (*DeleteTrafficFilterRulesetNotFound) String added in v1.13.0

type DeleteTrafficFilterRulesetOK

type DeleteTrafficFilterRulesetOK struct {
	Payload models.EmptyResponse
}

DeleteTrafficFilterRulesetOK describes a response with status code 200, with default header values.

The traffic filter ruleset was successfully deleted.

func NewDeleteTrafficFilterRulesetOK

func NewDeleteTrafficFilterRulesetOK() *DeleteTrafficFilterRulesetOK

NewDeleteTrafficFilterRulesetOK creates a DeleteTrafficFilterRulesetOK with default headers values

func (*DeleteTrafficFilterRulesetOK) Code added in v1.13.0

Code gets the status code for the delete traffic filter ruleset o k response

func (*DeleteTrafficFilterRulesetOK) Error

func (*DeleteTrafficFilterRulesetOK) GetPayload

func (*DeleteTrafficFilterRulesetOK) IsClientError added in v1.13.0

func (o *DeleteTrafficFilterRulesetOK) IsClientError() bool

IsClientError returns true when this delete traffic filter ruleset o k response has a 4xx status code

func (*DeleteTrafficFilterRulesetOK) IsCode added in v1.13.0

func (o *DeleteTrafficFilterRulesetOK) IsCode(code int) bool

IsCode returns true when this delete traffic filter ruleset o k response a status code equal to that given

func (*DeleteTrafficFilterRulesetOK) IsRedirect added in v1.13.0

func (o *DeleteTrafficFilterRulesetOK) IsRedirect() bool

IsRedirect returns true when this delete traffic filter ruleset o k response has a 3xx status code

func (*DeleteTrafficFilterRulesetOK) IsServerError added in v1.13.0

func (o *DeleteTrafficFilterRulesetOK) IsServerError() bool

IsServerError returns true when this delete traffic filter ruleset o k response has a 5xx status code

func (*DeleteTrafficFilterRulesetOK) IsSuccess added in v1.13.0

func (o *DeleteTrafficFilterRulesetOK) IsSuccess() bool

IsSuccess returns true when this delete traffic filter ruleset o k response has a 2xx status code

func (*DeleteTrafficFilterRulesetOK) String added in v1.13.0

type DeleteTrafficFilterRulesetParams

type DeleteTrafficFilterRulesetParams struct {

	/* IgnoreAssociations.

	   When true, ignores the associations and deletes the ruleset. When false, recognizes the associations, which prevents the deletion of the rule set.
	*/
	IgnoreAssociations *bool

	/* RulesetID.

	   The mandatory ruleset ID.
	*/
	RulesetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteTrafficFilterRulesetParams contains all the parameters to send to the API endpoint

for the delete traffic filter ruleset operation.

Typically these are written to a http.Request.

func NewDeleteTrafficFilterRulesetParams

func NewDeleteTrafficFilterRulesetParams() *DeleteTrafficFilterRulesetParams

NewDeleteTrafficFilterRulesetParams creates a new DeleteTrafficFilterRulesetParams 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 NewDeleteTrafficFilterRulesetParamsWithContext

func NewDeleteTrafficFilterRulesetParamsWithContext(ctx context.Context) *DeleteTrafficFilterRulesetParams

NewDeleteTrafficFilterRulesetParamsWithContext creates a new DeleteTrafficFilterRulesetParams object with the ability to set a context for a request.

func NewDeleteTrafficFilterRulesetParamsWithHTTPClient

func NewDeleteTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *DeleteTrafficFilterRulesetParams

NewDeleteTrafficFilterRulesetParamsWithHTTPClient creates a new DeleteTrafficFilterRulesetParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTrafficFilterRulesetParamsWithTimeout

func NewDeleteTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *DeleteTrafficFilterRulesetParams

NewDeleteTrafficFilterRulesetParamsWithTimeout creates a new DeleteTrafficFilterRulesetParams object with the ability to set a timeout on a request.

func (*DeleteTrafficFilterRulesetParams) SetContext

SetContext adds the context to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) SetDefaults added in v1.3.0

func (o *DeleteTrafficFilterRulesetParams) SetDefaults()

SetDefaults hydrates default values in the delete traffic filter ruleset params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTrafficFilterRulesetParams) SetHTTPClient

func (o *DeleteTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) SetIgnoreAssociations

func (o *DeleteTrafficFilterRulesetParams) SetIgnoreAssociations(ignoreAssociations *bool)

SetIgnoreAssociations adds the ignoreAssociations to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) SetRulesetID

func (o *DeleteTrafficFilterRulesetParams) SetRulesetID(rulesetID string)

SetRulesetID adds the rulesetId to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) SetTimeout

func (o *DeleteTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) WithContext

WithContext adds the context to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the delete traffic filter ruleset params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTrafficFilterRulesetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) WithIgnoreAssociations

func (o *DeleteTrafficFilterRulesetParams) WithIgnoreAssociations(ignoreAssociations *bool) *DeleteTrafficFilterRulesetParams

WithIgnoreAssociations adds the ignoreAssociations to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) WithRulesetID

WithRulesetID adds the rulesetID to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTrafficFilterRulesetReader

type DeleteTrafficFilterRulesetReader struct {
	// contains filtered or unexported fields
}

DeleteTrafficFilterRulesetReader is a Reader for the DeleteTrafficFilterRuleset structure.

func (*DeleteTrafficFilterRulesetReader) ReadResponse

func (o *DeleteTrafficFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTrafficFilterClaimedLinkIdsInternalServerError added in v1.13.0

type GetTrafficFilterClaimedLinkIdsInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetTrafficFilterClaimedLinkIdsInternalServerError describes a response with status code 500, with default header values.

Error fetching traffic filter claimed link ids. (code: `traffic_filter_claimed_link_id.request_execution_failed`)

func NewGetTrafficFilterClaimedLinkIdsInternalServerError added in v1.13.0

func NewGetTrafficFilterClaimedLinkIdsInternalServerError() *GetTrafficFilterClaimedLinkIdsInternalServerError

NewGetTrafficFilterClaimedLinkIdsInternalServerError creates a GetTrafficFilterClaimedLinkIdsInternalServerError with default headers values

func (*GetTrafficFilterClaimedLinkIdsInternalServerError) Code added in v1.13.0

Code gets the status code for the get traffic filter claimed link ids internal server error response

func (*GetTrafficFilterClaimedLinkIdsInternalServerError) Error added in v1.13.0

func (*GetTrafficFilterClaimedLinkIdsInternalServerError) GetPayload added in v1.13.0

func (*GetTrafficFilterClaimedLinkIdsInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this get traffic filter claimed link ids internal server error response has a 4xx status code

func (*GetTrafficFilterClaimedLinkIdsInternalServerError) IsCode added in v1.13.0

IsCode returns true when this get traffic filter claimed link ids internal server error response a status code equal to that given

func (*GetTrafficFilterClaimedLinkIdsInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this get traffic filter claimed link ids internal server error response has a 3xx status code

func (*GetTrafficFilterClaimedLinkIdsInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this get traffic filter claimed link ids internal server error response has a 5xx status code

func (*GetTrafficFilterClaimedLinkIdsInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this get traffic filter claimed link ids internal server error response has a 2xx status code

func (*GetTrafficFilterClaimedLinkIdsInternalServerError) String added in v1.13.0

type GetTrafficFilterClaimedLinkIdsOK added in v1.13.0

type GetTrafficFilterClaimedLinkIdsOK struct {
	Payload *models.TrafficFilterClaimedLinkIds
}

GetTrafficFilterClaimedLinkIdsOK describes a response with status code 200, with default header values.

The collection of traffic filter claimed link id

func NewGetTrafficFilterClaimedLinkIdsOK added in v1.13.0

func NewGetTrafficFilterClaimedLinkIdsOK() *GetTrafficFilterClaimedLinkIdsOK

NewGetTrafficFilterClaimedLinkIdsOK creates a GetTrafficFilterClaimedLinkIdsOK with default headers values

func (*GetTrafficFilterClaimedLinkIdsOK) Code added in v1.13.0

Code gets the status code for the get traffic filter claimed link ids o k response

func (*GetTrafficFilterClaimedLinkIdsOK) Error added in v1.13.0

func (*GetTrafficFilterClaimedLinkIdsOK) GetPayload added in v1.13.0

func (*GetTrafficFilterClaimedLinkIdsOK) IsClientError added in v1.13.0

func (o *GetTrafficFilterClaimedLinkIdsOK) IsClientError() bool

IsClientError returns true when this get traffic filter claimed link ids o k response has a 4xx status code

func (*GetTrafficFilterClaimedLinkIdsOK) IsCode added in v1.13.0

func (o *GetTrafficFilterClaimedLinkIdsOK) IsCode(code int) bool

IsCode returns true when this get traffic filter claimed link ids o k response a status code equal to that given

func (*GetTrafficFilterClaimedLinkIdsOK) IsRedirect added in v1.13.0

func (o *GetTrafficFilterClaimedLinkIdsOK) IsRedirect() bool

IsRedirect returns true when this get traffic filter claimed link ids o k response has a 3xx status code

func (*GetTrafficFilterClaimedLinkIdsOK) IsServerError added in v1.13.0

func (o *GetTrafficFilterClaimedLinkIdsOK) IsServerError() bool

IsServerError returns true when this get traffic filter claimed link ids o k response has a 5xx status code

func (*GetTrafficFilterClaimedLinkIdsOK) IsSuccess added in v1.13.0

func (o *GetTrafficFilterClaimedLinkIdsOK) IsSuccess() bool

IsSuccess returns true when this get traffic filter claimed link ids o k response has a 2xx status code

func (*GetTrafficFilterClaimedLinkIdsOK) String added in v1.13.0

type GetTrafficFilterClaimedLinkIdsParams added in v1.13.0

type GetTrafficFilterClaimedLinkIdsParams struct {

	/* OrganizationID.

	   Retrieves a list of resources that are associated to the specified organization ID. It only takes effect if the user is an admin.
	*/
	OrganizationID *string

	/* Region.

	   If provided limits the claimed id to that region only.
	*/
	Region *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTrafficFilterClaimedLinkIdsParams contains all the parameters to send to the API endpoint

for the get traffic filter claimed link ids operation.

Typically these are written to a http.Request.

func NewGetTrafficFilterClaimedLinkIdsParams added in v1.13.0

func NewGetTrafficFilterClaimedLinkIdsParams() *GetTrafficFilterClaimedLinkIdsParams

NewGetTrafficFilterClaimedLinkIdsParams creates a new GetTrafficFilterClaimedLinkIdsParams 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 NewGetTrafficFilterClaimedLinkIdsParamsWithContext added in v1.13.0

func NewGetTrafficFilterClaimedLinkIdsParamsWithContext(ctx context.Context) *GetTrafficFilterClaimedLinkIdsParams

NewGetTrafficFilterClaimedLinkIdsParamsWithContext creates a new GetTrafficFilterClaimedLinkIdsParams object with the ability to set a context for a request.

func NewGetTrafficFilterClaimedLinkIdsParamsWithHTTPClient added in v1.13.0

func NewGetTrafficFilterClaimedLinkIdsParamsWithHTTPClient(client *http.Client) *GetTrafficFilterClaimedLinkIdsParams

NewGetTrafficFilterClaimedLinkIdsParamsWithHTTPClient creates a new GetTrafficFilterClaimedLinkIdsParams object with the ability to set a custom HTTPClient for a request.

func NewGetTrafficFilterClaimedLinkIdsParamsWithTimeout added in v1.13.0

func NewGetTrafficFilterClaimedLinkIdsParamsWithTimeout(timeout time.Duration) *GetTrafficFilterClaimedLinkIdsParams

NewGetTrafficFilterClaimedLinkIdsParamsWithTimeout creates a new GetTrafficFilterClaimedLinkIdsParams object with the ability to set a timeout on a request.

func (*GetTrafficFilterClaimedLinkIdsParams) SetContext added in v1.13.0

SetContext adds the context to the get traffic filter claimed link ids params

func (*GetTrafficFilterClaimedLinkIdsParams) SetDefaults added in v1.13.0

func (o *GetTrafficFilterClaimedLinkIdsParams) SetDefaults()

SetDefaults hydrates default values in the get traffic filter claimed link ids params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrafficFilterClaimedLinkIdsParams) SetHTTPClient added in v1.13.0

func (o *GetTrafficFilterClaimedLinkIdsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get traffic filter claimed link ids params

func (*GetTrafficFilterClaimedLinkIdsParams) SetOrganizationID added in v1.13.0

func (o *GetTrafficFilterClaimedLinkIdsParams) SetOrganizationID(organizationID *string)

SetOrganizationID adds the organizationId to the get traffic filter claimed link ids params

func (*GetTrafficFilterClaimedLinkIdsParams) SetRegion added in v1.13.0

func (o *GetTrafficFilterClaimedLinkIdsParams) SetRegion(region *string)

SetRegion adds the region to the get traffic filter claimed link ids params

func (*GetTrafficFilterClaimedLinkIdsParams) SetTimeout added in v1.13.0

func (o *GetTrafficFilterClaimedLinkIdsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get traffic filter claimed link ids params

func (*GetTrafficFilterClaimedLinkIdsParams) WithContext added in v1.13.0

WithContext adds the context to the get traffic filter claimed link ids params

func (*GetTrafficFilterClaimedLinkIdsParams) WithDefaults added in v1.13.0

WithDefaults hydrates default values in the get traffic filter claimed link ids params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrafficFilterClaimedLinkIdsParams) WithHTTPClient added in v1.13.0

WithHTTPClient adds the HTTPClient to the get traffic filter claimed link ids params

func (*GetTrafficFilterClaimedLinkIdsParams) WithOrganizationID added in v1.13.0

WithOrganizationID adds the organizationID to the get traffic filter claimed link ids params

func (*GetTrafficFilterClaimedLinkIdsParams) WithRegion added in v1.13.0

WithRegion adds the region to the get traffic filter claimed link ids params

func (*GetTrafficFilterClaimedLinkIdsParams) WithTimeout added in v1.13.0

WithTimeout adds the timeout to the get traffic filter claimed link ids params

func (*GetTrafficFilterClaimedLinkIdsParams) WriteToRequest added in v1.13.0

WriteToRequest writes these params to a swagger request

type GetTrafficFilterClaimedLinkIdsReader added in v1.13.0

type GetTrafficFilterClaimedLinkIdsReader struct {
	// contains filtered or unexported fields
}

GetTrafficFilterClaimedLinkIdsReader is a Reader for the GetTrafficFilterClaimedLinkIds structure.

func (*GetTrafficFilterClaimedLinkIdsReader) ReadResponse added in v1.13.0

func (o *GetTrafficFilterClaimedLinkIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTrafficFilterDeploymentRulesetAssociationsBadRequest

type GetTrafficFilterDeploymentRulesetAssociationsBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetTrafficFilterDeploymentRulesetAssociationsBadRequest describes a response with status code 400, with default header values.

Invalid association type. (code: `traffic_filter.invalid_association_type`)

func NewGetTrafficFilterDeploymentRulesetAssociationsBadRequest

func NewGetTrafficFilterDeploymentRulesetAssociationsBadRequest() *GetTrafficFilterDeploymentRulesetAssociationsBadRequest

NewGetTrafficFilterDeploymentRulesetAssociationsBadRequest creates a GetTrafficFilterDeploymentRulesetAssociationsBadRequest with default headers values

func (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) Code added in v1.13.0

Code gets the status code for the get traffic filter deployment ruleset associations bad request response

func (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) Error

func (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) GetPayload

func (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) IsClientError added in v1.13.0

IsClientError returns true when this get traffic filter deployment ruleset associations bad request response has a 4xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) IsCode added in v1.13.0

IsCode returns true when this get traffic filter deployment ruleset associations bad request response a status code equal to that given

func (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) IsRedirect added in v1.13.0

IsRedirect returns true when this get traffic filter deployment ruleset associations bad request response has a 3xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) IsServerError added in v1.13.0

IsServerError returns true when this get traffic filter deployment ruleset associations bad request response has a 5xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) IsSuccess added in v1.13.0

IsSuccess returns true when this get traffic filter deployment ruleset associations bad request response has a 2xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) String added in v1.13.0

type GetTrafficFilterDeploymentRulesetAssociationsInternalServerError

type GetTrafficFilterDeploymentRulesetAssociationsInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetTrafficFilterDeploymentRulesetAssociationsInternalServerError describes a response with status code 500, with default header values.

Error fetching traffic filter rulesets. (code: `traffic_filter.request_execution_failed`)

func NewGetTrafficFilterDeploymentRulesetAssociationsInternalServerError

func NewGetTrafficFilterDeploymentRulesetAssociationsInternalServerError() *GetTrafficFilterDeploymentRulesetAssociationsInternalServerError

NewGetTrafficFilterDeploymentRulesetAssociationsInternalServerError creates a GetTrafficFilterDeploymentRulesetAssociationsInternalServerError with default headers values

func (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) Code added in v1.13.0

Code gets the status code for the get traffic filter deployment ruleset associations internal server error response

func (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) Error

func (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) GetPayload

func (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this get traffic filter deployment ruleset associations internal server error response has a 4xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) IsCode added in v1.13.0

IsCode returns true when this get traffic filter deployment ruleset associations internal server error response a status code equal to that given

func (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this get traffic filter deployment ruleset associations internal server error response has a 3xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this get traffic filter deployment ruleset associations internal server error response has a 5xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this get traffic filter deployment ruleset associations internal server error response has a 2xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) String added in v1.13.0

type GetTrafficFilterDeploymentRulesetAssociationsOK

type GetTrafficFilterDeploymentRulesetAssociationsOK struct {
	Payload *models.TrafficFilterSettings
}

GetTrafficFilterDeploymentRulesetAssociationsOK describes a response with status code 200, with default header values.

Rulesets in the deployment were successfully returned

func NewGetTrafficFilterDeploymentRulesetAssociationsOK

func NewGetTrafficFilterDeploymentRulesetAssociationsOK() *GetTrafficFilterDeploymentRulesetAssociationsOK

NewGetTrafficFilterDeploymentRulesetAssociationsOK creates a GetTrafficFilterDeploymentRulesetAssociationsOK with default headers values

func (*GetTrafficFilterDeploymentRulesetAssociationsOK) Code added in v1.13.0

Code gets the status code for the get traffic filter deployment ruleset associations o k response

func (*GetTrafficFilterDeploymentRulesetAssociationsOK) Error

func (*GetTrafficFilterDeploymentRulesetAssociationsOK) GetPayload

func (*GetTrafficFilterDeploymentRulesetAssociationsOK) IsClientError added in v1.13.0

IsClientError returns true when this get traffic filter deployment ruleset associations o k response has a 4xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsOK) IsCode added in v1.13.0

IsCode returns true when this get traffic filter deployment ruleset associations o k response a status code equal to that given

func (*GetTrafficFilterDeploymentRulesetAssociationsOK) IsRedirect added in v1.13.0

IsRedirect returns true when this get traffic filter deployment ruleset associations o k response has a 3xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsOK) IsServerError added in v1.13.0

IsServerError returns true when this get traffic filter deployment ruleset associations o k response has a 5xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsOK) IsSuccess added in v1.13.0

IsSuccess returns true when this get traffic filter deployment ruleset associations o k response has a 2xx status code

func (*GetTrafficFilterDeploymentRulesetAssociationsOK) String added in v1.13.0

type GetTrafficFilterDeploymentRulesetAssociationsParams

type GetTrafficFilterDeploymentRulesetAssociationsParams struct {

	/* AssociatedEntityID.

	   Associated entity ID
	*/
	AssociatedEntityID string

	/* AssociationType.

	   Association type
	*/
	AssociationType string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTrafficFilterDeploymentRulesetAssociationsParams contains all the parameters to send to the API endpoint

for the get traffic filter deployment ruleset associations operation.

Typically these are written to a http.Request.

func NewGetTrafficFilterDeploymentRulesetAssociationsParams

func NewGetTrafficFilterDeploymentRulesetAssociationsParams() *GetTrafficFilterDeploymentRulesetAssociationsParams

NewGetTrafficFilterDeploymentRulesetAssociationsParams creates a new GetTrafficFilterDeploymentRulesetAssociationsParams 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 NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithContext

func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithContext(ctx context.Context) *GetTrafficFilterDeploymentRulesetAssociationsParams

NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithContext creates a new GetTrafficFilterDeploymentRulesetAssociationsParams object with the ability to set a context for a request.

func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithHTTPClient

func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithHTTPClient(client *http.Client) *GetTrafficFilterDeploymentRulesetAssociationsParams

NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithHTTPClient creates a new GetTrafficFilterDeploymentRulesetAssociationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithTimeout

func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithTimeout(timeout time.Duration) *GetTrafficFilterDeploymentRulesetAssociationsParams

NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithTimeout creates a new GetTrafficFilterDeploymentRulesetAssociationsParams object with the ability to set a timeout on a request.

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetAssociatedEntityID

func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetAssociatedEntityID(associatedEntityID string)

SetAssociatedEntityID adds the associatedEntityId to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetAssociationType

func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetAssociationType(associationType string)

SetAssociationType adds the associationType to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetContext

SetContext adds the context to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the get traffic filter deployment ruleset associations params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetTimeout

SetTimeout adds the timeout to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithAssociatedEntityID

WithAssociatedEntityID adds the associatedEntityID to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithAssociationType

WithAssociationType adds the associationType to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithContext

WithContext adds the context to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get traffic filter deployment ruleset associations params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithTimeout

WithTimeout adds the timeout to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTrafficFilterDeploymentRulesetAssociationsReader

type GetTrafficFilterDeploymentRulesetAssociationsReader struct {
	// contains filtered or unexported fields
}

GetTrafficFilterDeploymentRulesetAssociationsReader is a Reader for the GetTrafficFilterDeploymentRulesetAssociations structure.

func (*GetTrafficFilterDeploymentRulesetAssociationsReader) ReadResponse

func (o *GetTrafficFilterDeploymentRulesetAssociationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTrafficFilterRulesetDeploymentAssociationsInternalServerError

type GetTrafficFilterRulesetDeploymentAssociationsInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetTrafficFilterRulesetDeploymentAssociationsInternalServerError describes a response with status code 500, with default header values.

Error fetching deployments. (code: `traffic_filter.request_execution_failed`)

func NewGetTrafficFilterRulesetDeploymentAssociationsInternalServerError

func NewGetTrafficFilterRulesetDeploymentAssociationsInternalServerError() *GetTrafficFilterRulesetDeploymentAssociationsInternalServerError

NewGetTrafficFilterRulesetDeploymentAssociationsInternalServerError creates a GetTrafficFilterRulesetDeploymentAssociationsInternalServerError with default headers values

func (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) Code added in v1.13.0

Code gets the status code for the get traffic filter ruleset deployment associations internal server error response

func (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) Error

func (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) GetPayload

func (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this get traffic filter ruleset deployment associations internal server error response has a 4xx status code

func (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) IsCode added in v1.13.0

IsCode returns true when this get traffic filter ruleset deployment associations internal server error response a status code equal to that given

func (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this get traffic filter ruleset deployment associations internal server error response has a 3xx status code

func (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this get traffic filter ruleset deployment associations internal server error response has a 5xx status code

func (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this get traffic filter ruleset deployment associations internal server error response has a 2xx status code

func (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) String added in v1.13.0

type GetTrafficFilterRulesetDeploymentAssociationsOK

type GetTrafficFilterRulesetDeploymentAssociationsOK struct {
	Payload *models.RulesetAssociations
}

GetTrafficFilterRulesetDeploymentAssociationsOK describes a response with status code 200, with default header values.

Associations referred by traffic filter rulesets were successfully returned

func NewGetTrafficFilterRulesetDeploymentAssociationsOK

func NewGetTrafficFilterRulesetDeploymentAssociationsOK() *GetTrafficFilterRulesetDeploymentAssociationsOK

NewGetTrafficFilterRulesetDeploymentAssociationsOK creates a GetTrafficFilterRulesetDeploymentAssociationsOK with default headers values

func (*GetTrafficFilterRulesetDeploymentAssociationsOK) Code added in v1.13.0

Code gets the status code for the get traffic filter ruleset deployment associations o k response

func (*GetTrafficFilterRulesetDeploymentAssociationsOK) Error

func (*GetTrafficFilterRulesetDeploymentAssociationsOK) GetPayload

func (*GetTrafficFilterRulesetDeploymentAssociationsOK) IsClientError added in v1.13.0

IsClientError returns true when this get traffic filter ruleset deployment associations o k response has a 4xx status code

func (*GetTrafficFilterRulesetDeploymentAssociationsOK) IsCode added in v1.13.0

IsCode returns true when this get traffic filter ruleset deployment associations o k response a status code equal to that given

func (*GetTrafficFilterRulesetDeploymentAssociationsOK) IsRedirect added in v1.13.0

IsRedirect returns true when this get traffic filter ruleset deployment associations o k response has a 3xx status code

func (*GetTrafficFilterRulesetDeploymentAssociationsOK) IsServerError added in v1.13.0

IsServerError returns true when this get traffic filter ruleset deployment associations o k response has a 5xx status code

func (*GetTrafficFilterRulesetDeploymentAssociationsOK) IsSuccess added in v1.13.0

IsSuccess returns true when this get traffic filter ruleset deployment associations o k response has a 2xx status code

func (*GetTrafficFilterRulesetDeploymentAssociationsOK) String added in v1.13.0

type GetTrafficFilterRulesetDeploymentAssociationsParams

type GetTrafficFilterRulesetDeploymentAssociationsParams struct {

	/* RulesetID.

	   The mandatory ruleset ID.
	*/
	RulesetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTrafficFilterRulesetDeploymentAssociationsParams contains all the parameters to send to the API endpoint

for the get traffic filter ruleset deployment associations operation.

Typically these are written to a http.Request.

func NewGetTrafficFilterRulesetDeploymentAssociationsParams

func NewGetTrafficFilterRulesetDeploymentAssociationsParams() *GetTrafficFilterRulesetDeploymentAssociationsParams

NewGetTrafficFilterRulesetDeploymentAssociationsParams creates a new GetTrafficFilterRulesetDeploymentAssociationsParams 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 NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithContext

func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithContext(ctx context.Context) *GetTrafficFilterRulesetDeploymentAssociationsParams

NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithContext creates a new GetTrafficFilterRulesetDeploymentAssociationsParams object with the ability to set a context for a request.

func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithHTTPClient

func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithHTTPClient(client *http.Client) *GetTrafficFilterRulesetDeploymentAssociationsParams

NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithHTTPClient creates a new GetTrafficFilterRulesetDeploymentAssociationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithTimeout

func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithTimeout(timeout time.Duration) *GetTrafficFilterRulesetDeploymentAssociationsParams

NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithTimeout creates a new GetTrafficFilterRulesetDeploymentAssociationsParams object with the ability to set a timeout on a request.

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetContext

SetContext adds the context to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the get traffic filter ruleset deployment associations params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetRulesetID

SetRulesetID adds the rulesetId to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetTimeout

SetTimeout adds the timeout to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithContext

WithContext adds the context to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get traffic filter ruleset deployment associations params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithRulesetID

WithRulesetID adds the rulesetID to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithTimeout

WithTimeout adds the timeout to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTrafficFilterRulesetDeploymentAssociationsReader

type GetTrafficFilterRulesetDeploymentAssociationsReader struct {
	// contains filtered or unexported fields
}

GetTrafficFilterRulesetDeploymentAssociationsReader is a Reader for the GetTrafficFilterRulesetDeploymentAssociations structure.

func (*GetTrafficFilterRulesetDeploymentAssociationsReader) ReadResponse

func (o *GetTrafficFilterRulesetDeploymentAssociationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTrafficFilterRulesetInternalServerError

type GetTrafficFilterRulesetInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetTrafficFilterRulesetInternalServerError describes a response with status code 500, with default header values.

Error reading the traffic filter ruleset. (code: `traffic_filter.request_execution_failed`)

func NewGetTrafficFilterRulesetInternalServerError

func NewGetTrafficFilterRulesetInternalServerError() *GetTrafficFilterRulesetInternalServerError

NewGetTrafficFilterRulesetInternalServerError creates a GetTrafficFilterRulesetInternalServerError with default headers values

func (*GetTrafficFilterRulesetInternalServerError) Code added in v1.13.0

Code gets the status code for the get traffic filter ruleset internal server error response

func (*GetTrafficFilterRulesetInternalServerError) Error

func (*GetTrafficFilterRulesetInternalServerError) GetPayload

func (*GetTrafficFilterRulesetInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this get traffic filter ruleset internal server error response has a 4xx status code

func (*GetTrafficFilterRulesetInternalServerError) IsCode added in v1.13.0

IsCode returns true when this get traffic filter ruleset internal server error response a status code equal to that given

func (*GetTrafficFilterRulesetInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this get traffic filter ruleset internal server error response has a 3xx status code

func (*GetTrafficFilterRulesetInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this get traffic filter ruleset internal server error response has a 5xx status code

func (*GetTrafficFilterRulesetInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this get traffic filter ruleset internal server error response has a 2xx status code

func (*GetTrafficFilterRulesetInternalServerError) String added in v1.13.0

type GetTrafficFilterRulesetNotFound

type GetTrafficFilterRulesetNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetTrafficFilterRulesetNotFound describes a response with status code 404, with default header values.

The traffic filter ruleset specified by {ruleset_id} cannot be found. (code: `traffic_filter.not_found`)

func NewGetTrafficFilterRulesetNotFound

func NewGetTrafficFilterRulesetNotFound() *GetTrafficFilterRulesetNotFound

NewGetTrafficFilterRulesetNotFound creates a GetTrafficFilterRulesetNotFound with default headers values

func (*GetTrafficFilterRulesetNotFound) Code added in v1.13.0

Code gets the status code for the get traffic filter ruleset not found response

func (*GetTrafficFilterRulesetNotFound) Error

func (*GetTrafficFilterRulesetNotFound) GetPayload

func (*GetTrafficFilterRulesetNotFound) IsClientError added in v1.13.0

func (o *GetTrafficFilterRulesetNotFound) IsClientError() bool

IsClientError returns true when this get traffic filter ruleset not found response has a 4xx status code

func (*GetTrafficFilterRulesetNotFound) IsCode added in v1.13.0

func (o *GetTrafficFilterRulesetNotFound) IsCode(code int) bool

IsCode returns true when this get traffic filter ruleset not found response a status code equal to that given

func (*GetTrafficFilterRulesetNotFound) IsRedirect added in v1.13.0

func (o *GetTrafficFilterRulesetNotFound) IsRedirect() bool

IsRedirect returns true when this get traffic filter ruleset not found response has a 3xx status code

func (*GetTrafficFilterRulesetNotFound) IsServerError added in v1.13.0

func (o *GetTrafficFilterRulesetNotFound) IsServerError() bool

IsServerError returns true when this get traffic filter ruleset not found response has a 5xx status code

func (*GetTrafficFilterRulesetNotFound) IsSuccess added in v1.13.0

func (o *GetTrafficFilterRulesetNotFound) IsSuccess() bool

IsSuccess returns true when this get traffic filter ruleset not found response has a 2xx status code

func (*GetTrafficFilterRulesetNotFound) String added in v1.13.0

type GetTrafficFilterRulesetOK

type GetTrafficFilterRulesetOK struct {
	Payload *models.TrafficFilterRulesetInfo
}

GetTrafficFilterRulesetOK describes a response with status code 200, with default header values.

The container for a set of traffic filter rules.

func NewGetTrafficFilterRulesetOK

func NewGetTrafficFilterRulesetOK() *GetTrafficFilterRulesetOK

NewGetTrafficFilterRulesetOK creates a GetTrafficFilterRulesetOK with default headers values

func (*GetTrafficFilterRulesetOK) Code added in v1.13.0

func (o *GetTrafficFilterRulesetOK) Code() int

Code gets the status code for the get traffic filter ruleset o k response

func (*GetTrafficFilterRulesetOK) Error

func (o *GetTrafficFilterRulesetOK) Error() string

func (*GetTrafficFilterRulesetOK) GetPayload

func (*GetTrafficFilterRulesetOK) IsClientError added in v1.13.0

func (o *GetTrafficFilterRulesetOK) IsClientError() bool

IsClientError returns true when this get traffic filter ruleset o k response has a 4xx status code

func (*GetTrafficFilterRulesetOK) IsCode added in v1.13.0

func (o *GetTrafficFilterRulesetOK) IsCode(code int) bool

IsCode returns true when this get traffic filter ruleset o k response a status code equal to that given

func (*GetTrafficFilterRulesetOK) IsRedirect added in v1.13.0

func (o *GetTrafficFilterRulesetOK) IsRedirect() bool

IsRedirect returns true when this get traffic filter ruleset o k response has a 3xx status code

func (*GetTrafficFilterRulesetOK) IsServerError added in v1.13.0

func (o *GetTrafficFilterRulesetOK) IsServerError() bool

IsServerError returns true when this get traffic filter ruleset o k response has a 5xx status code

func (*GetTrafficFilterRulesetOK) IsSuccess added in v1.13.0

func (o *GetTrafficFilterRulesetOK) IsSuccess() bool

IsSuccess returns true when this get traffic filter ruleset o k response has a 2xx status code

func (*GetTrafficFilterRulesetOK) String added in v1.13.0

func (o *GetTrafficFilterRulesetOK) String() string

type GetTrafficFilterRulesetParams

type GetTrafficFilterRulesetParams struct {

	/* IncludeAssociations.

	   Retrieves a list of resources that are associated to the specified ruleset.
	*/
	IncludeAssociations *bool

	/* RulesetID.

	   The mandatory ruleset ID.
	*/
	RulesetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTrafficFilterRulesetParams contains all the parameters to send to the API endpoint

for the get traffic filter ruleset operation.

Typically these are written to a http.Request.

func NewGetTrafficFilterRulesetParams

func NewGetTrafficFilterRulesetParams() *GetTrafficFilterRulesetParams

NewGetTrafficFilterRulesetParams creates a new GetTrafficFilterRulesetParams 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 NewGetTrafficFilterRulesetParamsWithContext

func NewGetTrafficFilterRulesetParamsWithContext(ctx context.Context) *GetTrafficFilterRulesetParams

NewGetTrafficFilterRulesetParamsWithContext creates a new GetTrafficFilterRulesetParams object with the ability to set a context for a request.

func NewGetTrafficFilterRulesetParamsWithHTTPClient

func NewGetTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *GetTrafficFilterRulesetParams

NewGetTrafficFilterRulesetParamsWithHTTPClient creates a new GetTrafficFilterRulesetParams object with the ability to set a custom HTTPClient for a request.

func NewGetTrafficFilterRulesetParamsWithTimeout

func NewGetTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *GetTrafficFilterRulesetParams

NewGetTrafficFilterRulesetParamsWithTimeout creates a new GetTrafficFilterRulesetParams object with the ability to set a timeout on a request.

func (*GetTrafficFilterRulesetParams) SetContext

func (o *GetTrafficFilterRulesetParams) SetContext(ctx context.Context)

SetContext adds the context to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) SetDefaults added in v1.3.0

func (o *GetTrafficFilterRulesetParams) SetDefaults()

SetDefaults hydrates default values in the get traffic filter ruleset params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrafficFilterRulesetParams) SetHTTPClient

func (o *GetTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) SetIncludeAssociations

func (o *GetTrafficFilterRulesetParams) SetIncludeAssociations(includeAssociations *bool)

SetIncludeAssociations adds the includeAssociations to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) SetRulesetID

func (o *GetTrafficFilterRulesetParams) SetRulesetID(rulesetID string)

SetRulesetID adds the rulesetId to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) SetTimeout

func (o *GetTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) WithContext

WithContext adds the context to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get traffic filter ruleset params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrafficFilterRulesetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) WithIncludeAssociations

func (o *GetTrafficFilterRulesetParams) WithIncludeAssociations(includeAssociations *bool) *GetTrafficFilterRulesetParams

WithIncludeAssociations adds the includeAssociations to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) WithRulesetID

WithRulesetID adds the rulesetID to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTrafficFilterRulesetReader

type GetTrafficFilterRulesetReader struct {
	// contains filtered or unexported fields
}

GetTrafficFilterRulesetReader is a Reader for the GetTrafficFilterRuleset structure.

func (*GetTrafficFilterRulesetReader) ReadResponse

func (o *GetTrafficFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTrafficFilterRulesetsInternalServerError

type GetTrafficFilterRulesetsInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetTrafficFilterRulesetsInternalServerError describes a response with status code 500, with default header values.

Error fetching traffic filter rulesets. (code: `traffic_filter.request_execution_failed`)

func NewGetTrafficFilterRulesetsInternalServerError

func NewGetTrafficFilterRulesetsInternalServerError() *GetTrafficFilterRulesetsInternalServerError

NewGetTrafficFilterRulesetsInternalServerError creates a GetTrafficFilterRulesetsInternalServerError with default headers values

func (*GetTrafficFilterRulesetsInternalServerError) Code added in v1.13.0

Code gets the status code for the get traffic filter rulesets internal server error response

func (*GetTrafficFilterRulesetsInternalServerError) Error

func (*GetTrafficFilterRulesetsInternalServerError) GetPayload

func (*GetTrafficFilterRulesetsInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this get traffic filter rulesets internal server error response has a 4xx status code

func (*GetTrafficFilterRulesetsInternalServerError) IsCode added in v1.13.0

IsCode returns true when this get traffic filter rulesets internal server error response a status code equal to that given

func (*GetTrafficFilterRulesetsInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this get traffic filter rulesets internal server error response has a 3xx status code

func (*GetTrafficFilterRulesetsInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this get traffic filter rulesets internal server error response has a 5xx status code

func (*GetTrafficFilterRulesetsInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this get traffic filter rulesets internal server error response has a 2xx status code

func (*GetTrafficFilterRulesetsInternalServerError) String added in v1.13.0

type GetTrafficFilterRulesetsOK

type GetTrafficFilterRulesetsOK struct {
	Payload *models.TrafficFilterRulesets
}

GetTrafficFilterRulesetsOK describes a response with status code 200, with default header values.

The collection of traffic filter routes

func NewGetTrafficFilterRulesetsOK

func NewGetTrafficFilterRulesetsOK() *GetTrafficFilterRulesetsOK

NewGetTrafficFilterRulesetsOK creates a GetTrafficFilterRulesetsOK with default headers values

func (*GetTrafficFilterRulesetsOK) Code added in v1.13.0

func (o *GetTrafficFilterRulesetsOK) Code() int

Code gets the status code for the get traffic filter rulesets o k response

func (*GetTrafficFilterRulesetsOK) Error

func (*GetTrafficFilterRulesetsOK) GetPayload

func (*GetTrafficFilterRulesetsOK) IsClientError added in v1.13.0

func (o *GetTrafficFilterRulesetsOK) IsClientError() bool

IsClientError returns true when this get traffic filter rulesets o k response has a 4xx status code

func (*GetTrafficFilterRulesetsOK) IsCode added in v1.13.0

func (o *GetTrafficFilterRulesetsOK) IsCode(code int) bool

IsCode returns true when this get traffic filter rulesets o k response a status code equal to that given

func (*GetTrafficFilterRulesetsOK) IsRedirect added in v1.13.0

func (o *GetTrafficFilterRulesetsOK) IsRedirect() bool

IsRedirect returns true when this get traffic filter rulesets o k response has a 3xx status code

func (*GetTrafficFilterRulesetsOK) IsServerError added in v1.13.0

func (o *GetTrafficFilterRulesetsOK) IsServerError() bool

IsServerError returns true when this get traffic filter rulesets o k response has a 5xx status code

func (*GetTrafficFilterRulesetsOK) IsSuccess added in v1.13.0

func (o *GetTrafficFilterRulesetsOK) IsSuccess() bool

IsSuccess returns true when this get traffic filter rulesets o k response has a 2xx status code

func (*GetTrafficFilterRulesetsOK) String added in v1.13.0

func (o *GetTrafficFilterRulesetsOK) String() string

type GetTrafficFilterRulesetsParams

type GetTrafficFilterRulesetsParams struct {

	/* IncludeAssociations.

	   Retrieves a list of resources that are associated to the specified ruleset.
	*/
	IncludeAssociations *bool

	/* OrganizationID.

	   Retrieves a list of resources that are associated to the specified organization ID. It only takes effect if the user is an admin.
	*/
	OrganizationID *string

	/* Region.

	   If provided limits the rulesets to that region only.
	*/
	Region *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTrafficFilterRulesetsParams contains all the parameters to send to the API endpoint

for the get traffic filter rulesets operation.

Typically these are written to a http.Request.

func NewGetTrafficFilterRulesetsParams

func NewGetTrafficFilterRulesetsParams() *GetTrafficFilterRulesetsParams

NewGetTrafficFilterRulesetsParams creates a new GetTrafficFilterRulesetsParams 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 NewGetTrafficFilterRulesetsParamsWithContext

func NewGetTrafficFilterRulesetsParamsWithContext(ctx context.Context) *GetTrafficFilterRulesetsParams

NewGetTrafficFilterRulesetsParamsWithContext creates a new GetTrafficFilterRulesetsParams object with the ability to set a context for a request.

func NewGetTrafficFilterRulesetsParamsWithHTTPClient

func NewGetTrafficFilterRulesetsParamsWithHTTPClient(client *http.Client) *GetTrafficFilterRulesetsParams

NewGetTrafficFilterRulesetsParamsWithHTTPClient creates a new GetTrafficFilterRulesetsParams object with the ability to set a custom HTTPClient for a request.

func NewGetTrafficFilterRulesetsParamsWithTimeout

func NewGetTrafficFilterRulesetsParamsWithTimeout(timeout time.Duration) *GetTrafficFilterRulesetsParams

NewGetTrafficFilterRulesetsParamsWithTimeout creates a new GetTrafficFilterRulesetsParams object with the ability to set a timeout on a request.

func (*GetTrafficFilterRulesetsParams) SetContext

func (o *GetTrafficFilterRulesetsParams) SetContext(ctx context.Context)

SetContext adds the context to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) SetDefaults added in v1.3.0

func (o *GetTrafficFilterRulesetsParams) SetDefaults()

SetDefaults hydrates default values in the get traffic filter rulesets params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrafficFilterRulesetsParams) SetHTTPClient

func (o *GetTrafficFilterRulesetsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) SetIncludeAssociations

func (o *GetTrafficFilterRulesetsParams) SetIncludeAssociations(includeAssociations *bool)

SetIncludeAssociations adds the includeAssociations to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) SetOrganizationID added in v1.10.0

func (o *GetTrafficFilterRulesetsParams) SetOrganizationID(organizationID *string)

SetOrganizationID adds the organizationId to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) SetRegion

func (o *GetTrafficFilterRulesetsParams) SetRegion(region *string)

SetRegion adds the region to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) SetTimeout

func (o *GetTrafficFilterRulesetsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) WithContext

WithContext adds the context to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get traffic filter rulesets params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrafficFilterRulesetsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) WithIncludeAssociations

func (o *GetTrafficFilterRulesetsParams) WithIncludeAssociations(includeAssociations *bool) *GetTrafficFilterRulesetsParams

WithIncludeAssociations adds the includeAssociations to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) WithOrganizationID added in v1.10.0

func (o *GetTrafficFilterRulesetsParams) WithOrganizationID(organizationID *string) *GetTrafficFilterRulesetsParams

WithOrganizationID adds the organizationID to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) WithRegion

WithRegion adds the region to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) WithTimeout

WithTimeout adds the timeout to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTrafficFilterRulesetsReader

type GetTrafficFilterRulesetsReader struct {
	// contains filtered or unexported fields
}

GetTrafficFilterRulesetsReader is a Reader for the GetTrafficFilterRulesets structure.

func (*GetTrafficFilterRulesetsReader) ReadResponse

func (o *GetTrafficFilterRulesetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UnclaimTrafficFilterLinkIDBadRequest added in v1.13.0

type UnclaimTrafficFilterLinkIDBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UnclaimTrafficFilterLinkIDBadRequest describes a response with status code 400, with default header values.

Error validating the request. (code: `traffic_filter_claimed_link_id.invalid_input`)

func NewUnclaimTrafficFilterLinkIDBadRequest added in v1.13.0

func NewUnclaimTrafficFilterLinkIDBadRequest() *UnclaimTrafficFilterLinkIDBadRequest

NewUnclaimTrafficFilterLinkIDBadRequest creates a UnclaimTrafficFilterLinkIDBadRequest with default headers values

func (*UnclaimTrafficFilterLinkIDBadRequest) Code added in v1.13.0

Code gets the status code for the unclaim traffic filter link Id bad request response

func (*UnclaimTrafficFilterLinkIDBadRequest) Error added in v1.13.0

func (*UnclaimTrafficFilterLinkIDBadRequest) GetPayload added in v1.13.0

func (*UnclaimTrafficFilterLinkIDBadRequest) IsClientError added in v1.13.0

func (o *UnclaimTrafficFilterLinkIDBadRequest) IsClientError() bool

IsClientError returns true when this unclaim traffic filter link Id bad request response has a 4xx status code

func (*UnclaimTrafficFilterLinkIDBadRequest) IsCode added in v1.13.0

IsCode returns true when this unclaim traffic filter link Id bad request response a status code equal to that given

func (*UnclaimTrafficFilterLinkIDBadRequest) IsRedirect added in v1.13.0

IsRedirect returns true when this unclaim traffic filter link Id bad request response has a 3xx status code

func (*UnclaimTrafficFilterLinkIDBadRequest) IsServerError added in v1.13.0

func (o *UnclaimTrafficFilterLinkIDBadRequest) IsServerError() bool

IsServerError returns true when this unclaim traffic filter link Id bad request response has a 5xx status code

func (*UnclaimTrafficFilterLinkIDBadRequest) IsSuccess added in v1.13.0

IsSuccess returns true when this unclaim traffic filter link Id bad request response has a 2xx status code

func (*UnclaimTrafficFilterLinkIDBadRequest) String added in v1.13.0

type UnclaimTrafficFilterLinkIDInternalServerError added in v1.13.0

type UnclaimTrafficFilterLinkIDInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UnclaimTrafficFilterLinkIDInternalServerError describes a response with status code 500, with default header values.

Error deleting the traffic filter claimed link id. (code: `traffic_filter_claimed_link_id.request_execution_failed`)

func NewUnclaimTrafficFilterLinkIDInternalServerError added in v1.13.0

func NewUnclaimTrafficFilterLinkIDInternalServerError() *UnclaimTrafficFilterLinkIDInternalServerError

NewUnclaimTrafficFilterLinkIDInternalServerError creates a UnclaimTrafficFilterLinkIDInternalServerError with default headers values

func (*UnclaimTrafficFilterLinkIDInternalServerError) Code added in v1.13.0

Code gets the status code for the unclaim traffic filter link Id internal server error response

func (*UnclaimTrafficFilterLinkIDInternalServerError) Error added in v1.13.0

func (*UnclaimTrafficFilterLinkIDInternalServerError) GetPayload added in v1.13.0

func (*UnclaimTrafficFilterLinkIDInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this unclaim traffic filter link Id internal server error response has a 4xx status code

func (*UnclaimTrafficFilterLinkIDInternalServerError) IsCode added in v1.13.0

IsCode returns true when this unclaim traffic filter link Id internal server error response a status code equal to that given

func (*UnclaimTrafficFilterLinkIDInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this unclaim traffic filter link Id internal server error response has a 3xx status code

func (*UnclaimTrafficFilterLinkIDInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this unclaim traffic filter link Id internal server error response has a 5xx status code

func (*UnclaimTrafficFilterLinkIDInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this unclaim traffic filter link Id internal server error response has a 2xx status code

func (*UnclaimTrafficFilterLinkIDInternalServerError) String added in v1.13.0

type UnclaimTrafficFilterLinkIDOK added in v1.13.0

type UnclaimTrafficFilterLinkIDOK struct {
	Payload models.EmptyResponse
}

UnclaimTrafficFilterLinkIDOK describes a response with status code 200, with default header values.

The claimed link id was successfully deleted.

func NewUnclaimTrafficFilterLinkIDOK added in v1.13.0

func NewUnclaimTrafficFilterLinkIDOK() *UnclaimTrafficFilterLinkIDOK

NewUnclaimTrafficFilterLinkIDOK creates a UnclaimTrafficFilterLinkIDOK with default headers values

func (*UnclaimTrafficFilterLinkIDOK) Code added in v1.13.0

Code gets the status code for the unclaim traffic filter link Id o k response

func (*UnclaimTrafficFilterLinkIDOK) Error added in v1.13.0

func (*UnclaimTrafficFilterLinkIDOK) GetPayload added in v1.13.0

func (*UnclaimTrafficFilterLinkIDOK) IsClientError added in v1.13.0

func (o *UnclaimTrafficFilterLinkIDOK) IsClientError() bool

IsClientError returns true when this unclaim traffic filter link Id o k response has a 4xx status code

func (*UnclaimTrafficFilterLinkIDOK) IsCode added in v1.13.0

func (o *UnclaimTrafficFilterLinkIDOK) IsCode(code int) bool

IsCode returns true when this unclaim traffic filter link Id o k response a status code equal to that given

func (*UnclaimTrafficFilterLinkIDOK) IsRedirect added in v1.13.0

func (o *UnclaimTrafficFilterLinkIDOK) IsRedirect() bool

IsRedirect returns true when this unclaim traffic filter link Id o k response has a 3xx status code

func (*UnclaimTrafficFilterLinkIDOK) IsServerError added in v1.13.0

func (o *UnclaimTrafficFilterLinkIDOK) IsServerError() bool

IsServerError returns true when this unclaim traffic filter link Id o k response has a 5xx status code

func (*UnclaimTrafficFilterLinkIDOK) IsSuccess added in v1.13.0

func (o *UnclaimTrafficFilterLinkIDOK) IsSuccess() bool

IsSuccess returns true when this unclaim traffic filter link Id o k response has a 2xx status code

func (*UnclaimTrafficFilterLinkIDOK) String added in v1.13.0

type UnclaimTrafficFilterLinkIDParams added in v1.13.0

type UnclaimTrafficFilterLinkIDParams struct {

	/* Body.

	   The specification for traffic filter claimed link id.
	*/
	Body *models.TrafficFilterClaimedLinkIDRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UnclaimTrafficFilterLinkIDParams contains all the parameters to send to the API endpoint

for the unclaim traffic filter link id operation.

Typically these are written to a http.Request.

func NewUnclaimTrafficFilterLinkIDParams added in v1.13.0

func NewUnclaimTrafficFilterLinkIDParams() *UnclaimTrafficFilterLinkIDParams

NewUnclaimTrafficFilterLinkIDParams creates a new UnclaimTrafficFilterLinkIDParams 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 NewUnclaimTrafficFilterLinkIDParamsWithContext added in v1.13.0

func NewUnclaimTrafficFilterLinkIDParamsWithContext(ctx context.Context) *UnclaimTrafficFilterLinkIDParams

NewUnclaimTrafficFilterLinkIDParamsWithContext creates a new UnclaimTrafficFilterLinkIDParams object with the ability to set a context for a request.

func NewUnclaimTrafficFilterLinkIDParamsWithHTTPClient added in v1.13.0

func NewUnclaimTrafficFilterLinkIDParamsWithHTTPClient(client *http.Client) *UnclaimTrafficFilterLinkIDParams

NewUnclaimTrafficFilterLinkIDParamsWithHTTPClient creates a new UnclaimTrafficFilterLinkIDParams object with the ability to set a custom HTTPClient for a request.

func NewUnclaimTrafficFilterLinkIDParamsWithTimeout added in v1.13.0

func NewUnclaimTrafficFilterLinkIDParamsWithTimeout(timeout time.Duration) *UnclaimTrafficFilterLinkIDParams

NewUnclaimTrafficFilterLinkIDParamsWithTimeout creates a new UnclaimTrafficFilterLinkIDParams object with the ability to set a timeout on a request.

func (*UnclaimTrafficFilterLinkIDParams) SetBody added in v1.13.0

SetBody adds the body to the unclaim traffic filter link id params

func (*UnclaimTrafficFilterLinkIDParams) SetContext added in v1.13.0

SetContext adds the context to the unclaim traffic filter link id params

func (*UnclaimTrafficFilterLinkIDParams) SetDefaults added in v1.13.0

func (o *UnclaimTrafficFilterLinkIDParams) SetDefaults()

SetDefaults hydrates default values in the unclaim traffic filter link id params (not the query body).

All values with no default are reset to their zero value.

func (*UnclaimTrafficFilterLinkIDParams) SetHTTPClient added in v1.13.0

func (o *UnclaimTrafficFilterLinkIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the unclaim traffic filter link id params

func (*UnclaimTrafficFilterLinkIDParams) SetTimeout added in v1.13.0

func (o *UnclaimTrafficFilterLinkIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the unclaim traffic filter link id params

func (*UnclaimTrafficFilterLinkIDParams) WithBody added in v1.13.0

WithBody adds the body to the unclaim traffic filter link id params

func (*UnclaimTrafficFilterLinkIDParams) WithContext added in v1.13.0

WithContext adds the context to the unclaim traffic filter link id params

func (*UnclaimTrafficFilterLinkIDParams) WithDefaults added in v1.13.0

WithDefaults hydrates default values in the unclaim traffic filter link id params (not the query body).

All values with no default are reset to their zero value.

func (*UnclaimTrafficFilterLinkIDParams) WithHTTPClient added in v1.13.0

WithHTTPClient adds the HTTPClient to the unclaim traffic filter link id params

func (*UnclaimTrafficFilterLinkIDParams) WithTimeout added in v1.13.0

WithTimeout adds the timeout to the unclaim traffic filter link id params

func (*UnclaimTrafficFilterLinkIDParams) WriteToRequest added in v1.13.0

WriteToRequest writes these params to a swagger request

type UnclaimTrafficFilterLinkIDReader added in v1.13.0

type UnclaimTrafficFilterLinkIDReader struct {
	// contains filtered or unexported fields
}

UnclaimTrafficFilterLinkIDReader is a Reader for the UnclaimTrafficFilterLinkID structure.

func (*UnclaimTrafficFilterLinkIDReader) ReadResponse added in v1.13.0

func (o *UnclaimTrafficFilterLinkIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateTrafficFilterRulesetInternalServerError

type UpdateTrafficFilterRulesetInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateTrafficFilterRulesetInternalServerError describes a response with status code 500, with default header values.

Error reading the traffic filter ruleset. (code: `traffic_filter.request_execution_failed`)

func NewUpdateTrafficFilterRulesetInternalServerError

func NewUpdateTrafficFilterRulesetInternalServerError() *UpdateTrafficFilterRulesetInternalServerError

NewUpdateTrafficFilterRulesetInternalServerError creates a UpdateTrafficFilterRulesetInternalServerError with default headers values

func (*UpdateTrafficFilterRulesetInternalServerError) Code added in v1.13.0

Code gets the status code for the update traffic filter ruleset internal server error response

func (*UpdateTrafficFilterRulesetInternalServerError) Error

func (*UpdateTrafficFilterRulesetInternalServerError) GetPayload

func (*UpdateTrafficFilterRulesetInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this update traffic filter ruleset internal server error response has a 4xx status code

func (*UpdateTrafficFilterRulesetInternalServerError) IsCode added in v1.13.0

IsCode returns true when this update traffic filter ruleset internal server error response a status code equal to that given

func (*UpdateTrafficFilterRulesetInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this update traffic filter ruleset internal server error response has a 3xx status code

func (*UpdateTrafficFilterRulesetInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this update traffic filter ruleset internal server error response has a 5xx status code

func (*UpdateTrafficFilterRulesetInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this update traffic filter ruleset internal server error response has a 2xx status code

func (*UpdateTrafficFilterRulesetInternalServerError) String added in v1.13.0

type UpdateTrafficFilterRulesetNotFound

type UpdateTrafficFilterRulesetNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateTrafficFilterRulesetNotFound describes a response with status code 404, with default header values.

The traffic filter ruleset specified by {ruleset_id} cannot be found. (code: `traffic_filter.not_found`)

func NewUpdateTrafficFilterRulesetNotFound

func NewUpdateTrafficFilterRulesetNotFound() *UpdateTrafficFilterRulesetNotFound

NewUpdateTrafficFilterRulesetNotFound creates a UpdateTrafficFilterRulesetNotFound with default headers values

func (*UpdateTrafficFilterRulesetNotFound) Code added in v1.13.0

Code gets the status code for the update traffic filter ruleset not found response

func (*UpdateTrafficFilterRulesetNotFound) Error

func (*UpdateTrafficFilterRulesetNotFound) GetPayload

func (*UpdateTrafficFilterRulesetNotFound) IsClientError added in v1.13.0

func (o *UpdateTrafficFilterRulesetNotFound) IsClientError() bool

IsClientError returns true when this update traffic filter ruleset not found response has a 4xx status code

func (*UpdateTrafficFilterRulesetNotFound) IsCode added in v1.13.0

IsCode returns true when this update traffic filter ruleset not found response a status code equal to that given

func (*UpdateTrafficFilterRulesetNotFound) IsRedirect added in v1.13.0

func (o *UpdateTrafficFilterRulesetNotFound) IsRedirect() bool

IsRedirect returns true when this update traffic filter ruleset not found response has a 3xx status code

func (*UpdateTrafficFilterRulesetNotFound) IsServerError added in v1.13.0

func (o *UpdateTrafficFilterRulesetNotFound) IsServerError() bool

IsServerError returns true when this update traffic filter ruleset not found response has a 5xx status code

func (*UpdateTrafficFilterRulesetNotFound) IsSuccess added in v1.13.0

IsSuccess returns true when this update traffic filter ruleset not found response has a 2xx status code

func (*UpdateTrafficFilterRulesetNotFound) String added in v1.13.0

type UpdateTrafficFilterRulesetOK

type UpdateTrafficFilterRulesetOK struct {
	Payload *models.TrafficFilterRulesetResponse
}

UpdateTrafficFilterRulesetOK describes a response with status code 200, with default header values.

The ruleset definition was valid and the update has started.

func NewUpdateTrafficFilterRulesetOK

func NewUpdateTrafficFilterRulesetOK() *UpdateTrafficFilterRulesetOK

NewUpdateTrafficFilterRulesetOK creates a UpdateTrafficFilterRulesetOK with default headers values

func (*UpdateTrafficFilterRulesetOK) Code added in v1.13.0

Code gets the status code for the update traffic filter ruleset o k response

func (*UpdateTrafficFilterRulesetOK) Error

func (*UpdateTrafficFilterRulesetOK) GetPayload

func (*UpdateTrafficFilterRulesetOK) IsClientError added in v1.13.0

func (o *UpdateTrafficFilterRulesetOK) IsClientError() bool

IsClientError returns true when this update traffic filter ruleset o k response has a 4xx status code

func (*UpdateTrafficFilterRulesetOK) IsCode added in v1.13.0

func (o *UpdateTrafficFilterRulesetOK) IsCode(code int) bool

IsCode returns true when this update traffic filter ruleset o k response a status code equal to that given

func (*UpdateTrafficFilterRulesetOK) IsRedirect added in v1.13.0

func (o *UpdateTrafficFilterRulesetOK) IsRedirect() bool

IsRedirect returns true when this update traffic filter ruleset o k response has a 3xx status code

func (*UpdateTrafficFilterRulesetOK) IsServerError added in v1.13.0

func (o *UpdateTrafficFilterRulesetOK) IsServerError() bool

IsServerError returns true when this update traffic filter ruleset o k response has a 5xx status code

func (*UpdateTrafficFilterRulesetOK) IsSuccess added in v1.13.0

func (o *UpdateTrafficFilterRulesetOK) IsSuccess() bool

IsSuccess returns true when this update traffic filter ruleset o k response has a 2xx status code

func (*UpdateTrafficFilterRulesetOK) String added in v1.13.0

type UpdateTrafficFilterRulesetParams

type UpdateTrafficFilterRulesetParams struct {

	/* Body.

	   The specification for traffic filter ruleset.
	*/
	Body *models.TrafficFilterRulesetRequest

	/* RulesetID.

	   The mandatory ruleset ID.
	*/
	RulesetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateTrafficFilterRulesetParams contains all the parameters to send to the API endpoint

for the update traffic filter ruleset operation.

Typically these are written to a http.Request.

func NewUpdateTrafficFilterRulesetParams

func NewUpdateTrafficFilterRulesetParams() *UpdateTrafficFilterRulesetParams

NewUpdateTrafficFilterRulesetParams creates a new UpdateTrafficFilterRulesetParams 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 NewUpdateTrafficFilterRulesetParamsWithContext

func NewUpdateTrafficFilterRulesetParamsWithContext(ctx context.Context) *UpdateTrafficFilterRulesetParams

NewUpdateTrafficFilterRulesetParamsWithContext creates a new UpdateTrafficFilterRulesetParams object with the ability to set a context for a request.

func NewUpdateTrafficFilterRulesetParamsWithHTTPClient

func NewUpdateTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *UpdateTrafficFilterRulesetParams

NewUpdateTrafficFilterRulesetParamsWithHTTPClient creates a new UpdateTrafficFilterRulesetParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateTrafficFilterRulesetParamsWithTimeout

func NewUpdateTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *UpdateTrafficFilterRulesetParams

NewUpdateTrafficFilterRulesetParamsWithTimeout creates a new UpdateTrafficFilterRulesetParams object with the ability to set a timeout on a request.

func (*UpdateTrafficFilterRulesetParams) SetBody

SetBody adds the body to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) SetContext

SetContext adds the context to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) SetDefaults added in v1.3.0

func (o *UpdateTrafficFilterRulesetParams) SetDefaults()

SetDefaults hydrates default values in the update traffic filter ruleset params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateTrafficFilterRulesetParams) SetHTTPClient

func (o *UpdateTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) SetRulesetID

func (o *UpdateTrafficFilterRulesetParams) SetRulesetID(rulesetID string)

SetRulesetID adds the rulesetId to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) SetTimeout

func (o *UpdateTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) WithBody

WithBody adds the body to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) WithContext

WithContext adds the context to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the update traffic filter ruleset params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateTrafficFilterRulesetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) WithRulesetID

WithRulesetID adds the rulesetID to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateTrafficFilterRulesetReader

type UpdateTrafficFilterRulesetReader struct {
	// contains filtered or unexported fields
}

UpdateTrafficFilterRulesetReader is a Reader for the UpdateTrafficFilterRuleset structure.

func (*UpdateTrafficFilterRulesetReader) ReadResponse

func (o *UpdateTrafficFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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