policy_versions

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for policy versions API

func (*Client) CreatePolicyVersion

CreatePolicyVersion creates a version from country specific policy

Create a version of a particular country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=1 (CREATE)</li></ul>

func (*Client) CreatePolicyVersionShort added in v0.8.0

func (a *Client) CreatePolicyVersionShort(params *CreatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersionCreated, error)

func (*Client) PublishPolicyVersion

PublishPolicyVersion manuallies publish a version from country specific policy

Manually publish a version of a particular country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=4 (UPDATE)</li></ul>

func (*Client) PublishPolicyVersionShort added in v0.8.0

func (a *Client) PublishPolicyVersionShort(params *PublishPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersionOK, error)

func (*Client) RetrieveSinglePolicyVersion

RetrieveSinglePolicyVersion retrieves a version from country specific policy

Retrieve a version of a particular country specific policy. If version is not provided, the Legal Service will assume caller requesting all versions from country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveSinglePolicyVersionShort added in v0.8.0

func (a *Client) RetrieveSinglePolicyVersionShort(params *RetrieveSinglePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyVersionOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePolicyVersion

UpdatePolicyVersion updates a version of policy

Update a particular policy version.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=4 (UPDATE)</li></ul>

func (*Client) UpdatePolicyVersionShort added in v0.8.0

func (a *Client) UpdatePolicyVersionShort(params *UpdatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersionOK, error)

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new policy versions API client.

type CreatePolicyVersionBadRequest

type CreatePolicyVersionBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

CreatePolicyVersionBadRequest handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40033</td><td>errors.net.accelbyte.platform.legal.invalid_policy</td></tr></table>

func NewCreatePolicyVersionBadRequest

func NewCreatePolicyVersionBadRequest() *CreatePolicyVersionBadRequest

NewCreatePolicyVersionBadRequest creates a CreatePolicyVersionBadRequest with default headers values

func (*CreatePolicyVersionBadRequest) Error

func (*CreatePolicyVersionBadRequest) GetPayload

type CreatePolicyVersionCreated

type CreatePolicyVersionCreated struct {
	Payload *legalclientmodels.CreatePolicyVersionResponse
}

CreatePolicyVersionCreated handles this case with default header values.

successful operation

func NewCreatePolicyVersionCreated

func NewCreatePolicyVersionCreated() *CreatePolicyVersionCreated

NewCreatePolicyVersionCreated creates a CreatePolicyVersionCreated with default headers values

func (*CreatePolicyVersionCreated) Error

func (*CreatePolicyVersionCreated) GetPayload

type CreatePolicyVersionParams

type CreatePolicyVersionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *legalclientmodels.CreatePolicyVersionRequest
	/*PolicyID
	  Policy Id

	*/
	PolicyID string

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

CreatePolicyVersionParams contains all the parameters to send to the API endpoint for the create policy version operation typically these are written to a http.Request

func NewCreatePolicyVersionParams

func NewCreatePolicyVersionParams() *CreatePolicyVersionParams

NewCreatePolicyVersionParams creates a new CreatePolicyVersionParams object with the default values initialized.

func NewCreatePolicyVersionParamsWithContext

func NewCreatePolicyVersionParamsWithContext(ctx context.Context) *CreatePolicyVersionParams

NewCreatePolicyVersionParamsWithContext creates a new CreatePolicyVersionParams object with the default values initialized, and the ability to set a context for a request

func NewCreatePolicyVersionParamsWithHTTPClient

func NewCreatePolicyVersionParamsWithHTTPClient(client *http.Client) *CreatePolicyVersionParams

NewCreatePolicyVersionParamsWithHTTPClient creates a new CreatePolicyVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreatePolicyVersionParamsWithTimeout

func NewCreatePolicyVersionParamsWithTimeout(timeout time.Duration) *CreatePolicyVersionParams

NewCreatePolicyVersionParamsWithTimeout creates a new CreatePolicyVersionParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreatePolicyVersionParams) SetAuthInfoWriter added in v0.17.0

func (o *CreatePolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create policy version params

func (*CreatePolicyVersionParams) SetBody

SetBody adds the body to the create policy version params

func (*CreatePolicyVersionParams) SetContext

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

SetContext adds the context to the create policy version params

func (*CreatePolicyVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create policy version params

func (*CreatePolicyVersionParams) SetHTTPClientTransport added in v0.19.0

func (o *CreatePolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the create policy version params

func (*CreatePolicyVersionParams) SetPolicyID

func (o *CreatePolicyVersionParams) SetPolicyID(policyID string)

SetPolicyID adds the policyId to the create policy version params

func (*CreatePolicyVersionParams) SetTimeout

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

SetTimeout adds the timeout to the create policy version params

func (*CreatePolicyVersionParams) WithBody

WithBody adds the body to the create policy version params

func (*CreatePolicyVersionParams) WithContext

WithContext adds the context to the create policy version params

func (*CreatePolicyVersionParams) WithHTTPClient

func (o *CreatePolicyVersionParams) WithHTTPClient(client *http.Client) *CreatePolicyVersionParams

WithHTTPClient adds the HTTPClient to the create policy version params

func (*CreatePolicyVersionParams) WithPolicyID

func (o *CreatePolicyVersionParams) WithPolicyID(policyID string) *CreatePolicyVersionParams

WithPolicyID adds the policyID to the create policy version params

func (*CreatePolicyVersionParams) WithTimeout

WithTimeout adds the timeout to the create policy version params

func (*CreatePolicyVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePolicyVersionReader

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

CreatePolicyVersionReader is a Reader for the CreatePolicyVersion structure.

func (*CreatePolicyVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublishPolicyVersionBadRequest

type PublishPolicyVersionBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

PublishPolicyVersionBadRequest handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40033</td><td>errors.net.accelbyte.platform.legal.invalid_policy_version</td></tr></table>

func NewPublishPolicyVersionBadRequest

func NewPublishPolicyVersionBadRequest() *PublishPolicyVersionBadRequest

NewPublishPolicyVersionBadRequest creates a PublishPolicyVersionBadRequest with default headers values

func (*PublishPolicyVersionBadRequest) Error

func (*PublishPolicyVersionBadRequest) GetPayload

type PublishPolicyVersionOK

type PublishPolicyVersionOK struct {
}

PublishPolicyVersionOK handles this case with default header values.

successful operation

func NewPublishPolicyVersionOK

func NewPublishPolicyVersionOK() *PublishPolicyVersionOK

NewPublishPolicyVersionOK creates a PublishPolicyVersionOK with default headers values

func (*PublishPolicyVersionOK) Error

func (o *PublishPolicyVersionOK) Error() string

type PublishPolicyVersionParams

type PublishPolicyVersionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*PolicyVersionID
	  Policy Version Id

	*/
	PolicyVersionID string
	/*ShouldNotify
	  Should Notify

	*/
	ShouldNotify *bool

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

PublishPolicyVersionParams contains all the parameters to send to the API endpoint for the publish policy version operation typically these are written to a http.Request

func NewPublishPolicyVersionParams

func NewPublishPolicyVersionParams() *PublishPolicyVersionParams

NewPublishPolicyVersionParams creates a new PublishPolicyVersionParams object with the default values initialized.

func NewPublishPolicyVersionParamsWithContext

func NewPublishPolicyVersionParamsWithContext(ctx context.Context) *PublishPolicyVersionParams

NewPublishPolicyVersionParamsWithContext creates a new PublishPolicyVersionParams object with the default values initialized, and the ability to set a context for a request

func NewPublishPolicyVersionParamsWithHTTPClient

func NewPublishPolicyVersionParamsWithHTTPClient(client *http.Client) *PublishPolicyVersionParams

NewPublishPolicyVersionParamsWithHTTPClient creates a new PublishPolicyVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublishPolicyVersionParamsWithTimeout

func NewPublishPolicyVersionParamsWithTimeout(timeout time.Duration) *PublishPolicyVersionParams

NewPublishPolicyVersionParamsWithTimeout creates a new PublishPolicyVersionParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublishPolicyVersionParams) SetAuthInfoWriter added in v0.17.0

func (o *PublishPolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the publish policy version params

func (*PublishPolicyVersionParams) SetContext

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

SetContext adds the context to the publish policy version params

func (*PublishPolicyVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the publish policy version params

func (*PublishPolicyVersionParams) SetHTTPClientTransport added in v0.19.0

func (o *PublishPolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the publish policy version params

func (*PublishPolicyVersionParams) SetPolicyVersionID

func (o *PublishPolicyVersionParams) SetPolicyVersionID(policyVersionID string)

SetPolicyVersionID adds the policyVersionId to the publish policy version params

func (*PublishPolicyVersionParams) SetShouldNotify

func (o *PublishPolicyVersionParams) SetShouldNotify(shouldNotify *bool)

SetShouldNotify adds the shouldNotify to the publish policy version params

func (*PublishPolicyVersionParams) SetTimeout

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

SetTimeout adds the timeout to the publish policy version params

func (*PublishPolicyVersionParams) WithContext

WithContext adds the context to the publish policy version params

func (*PublishPolicyVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the publish policy version params

func (*PublishPolicyVersionParams) WithPolicyVersionID

func (o *PublishPolicyVersionParams) WithPolicyVersionID(policyVersionID string) *PublishPolicyVersionParams

WithPolicyVersionID adds the policyVersionID to the publish policy version params

func (*PublishPolicyVersionParams) WithShouldNotify

func (o *PublishPolicyVersionParams) WithShouldNotify(shouldNotify *bool) *PublishPolicyVersionParams

WithShouldNotify adds the shouldNotify to the publish policy version params

func (*PublishPolicyVersionParams) WithTimeout

WithTimeout adds the timeout to the publish policy version params

func (*PublishPolicyVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublishPolicyVersionReader

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

PublishPolicyVersionReader is a Reader for the PublishPolicyVersion structure.

func (*PublishPolicyVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveSinglePolicyVersionNotFound

type RetrieveSinglePolicyVersionNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveSinglePolicyVersionNotFound handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40035</td><td>errors.net.accelbyte.platform.legal.policy_version_not_found</td></tr></table>

func NewRetrieveSinglePolicyVersionNotFound

func NewRetrieveSinglePolicyVersionNotFound() *RetrieveSinglePolicyVersionNotFound

NewRetrieveSinglePolicyVersionNotFound creates a RetrieveSinglePolicyVersionNotFound with default headers values

func (*RetrieveSinglePolicyVersionNotFound) Error

func (*RetrieveSinglePolicyVersionNotFound) GetPayload

type RetrieveSinglePolicyVersionOK

type RetrieveSinglePolicyVersionOK struct {
	Payload []*legalclientmodels.RetrievePolicyVersionResponse
}

RetrieveSinglePolicyVersionOK handles this case with default header values.

successful operation

func NewRetrieveSinglePolicyVersionOK

func NewRetrieveSinglePolicyVersionOK() *RetrieveSinglePolicyVersionOK

NewRetrieveSinglePolicyVersionOK creates a RetrieveSinglePolicyVersionOK with default headers values

func (*RetrieveSinglePolicyVersionOK) Error

func (*RetrieveSinglePolicyVersionOK) GetPayload

type RetrieveSinglePolicyVersionParams

type RetrieveSinglePolicyVersionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*PolicyID
	  Policy Id

	*/
	PolicyID string
	/*VersionID
	  Version Id

	*/
	VersionID *string

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

RetrieveSinglePolicyVersionParams contains all the parameters to send to the API endpoint for the retrieve single policy version operation typically these are written to a http.Request

func NewRetrieveSinglePolicyVersionParams

func NewRetrieveSinglePolicyVersionParams() *RetrieveSinglePolicyVersionParams

NewRetrieveSinglePolicyVersionParams creates a new RetrieveSinglePolicyVersionParams object with the default values initialized.

func NewRetrieveSinglePolicyVersionParamsWithContext

func NewRetrieveSinglePolicyVersionParamsWithContext(ctx context.Context) *RetrieveSinglePolicyVersionParams

NewRetrieveSinglePolicyVersionParamsWithContext creates a new RetrieveSinglePolicyVersionParams object with the default values initialized, and the ability to set a context for a request

func NewRetrieveSinglePolicyVersionParamsWithHTTPClient

func NewRetrieveSinglePolicyVersionParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicyVersionParams

NewRetrieveSinglePolicyVersionParamsWithHTTPClient creates a new RetrieveSinglePolicyVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRetrieveSinglePolicyVersionParamsWithTimeout

func NewRetrieveSinglePolicyVersionParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicyVersionParams

NewRetrieveSinglePolicyVersionParamsWithTimeout creates a new RetrieveSinglePolicyVersionParams object with the default values initialized, and the ability to set a timeout on a request

func (*RetrieveSinglePolicyVersionParams) SetAuthInfoWriter added in v0.17.0

func (o *RetrieveSinglePolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) SetContext

SetContext adds the context to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) SetHTTPClientTransport added in v0.19.0

func (o *RetrieveSinglePolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) SetPolicyID

func (o *RetrieveSinglePolicyVersionParams) SetPolicyID(policyID string)

SetPolicyID adds the policyId to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) SetTimeout

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

SetTimeout adds the timeout to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) SetVersionID

func (o *RetrieveSinglePolicyVersionParams) SetVersionID(versionID *string)

SetVersionID adds the versionId to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) WithContext

WithContext adds the context to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) WithPolicyID

WithPolicyID adds the policyID to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) WithTimeout

WithTimeout adds the timeout to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) WithVersionID

WithVersionID adds the versionID to the retrieve single policy version params

func (*RetrieveSinglePolicyVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveSinglePolicyVersionReader

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

RetrieveSinglePolicyVersionReader is a Reader for the RetrieveSinglePolicyVersion structure.

func (*RetrieveSinglePolicyVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePolicyVersionBadRequest

type UpdatePolicyVersionBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

UpdatePolicyVersionBadRequest handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40035</td><td>errors.net.accelbyte.platform.legal.invalid_policy_version</td></tr><tr><td>40042</td><td>errors.net.accelbyte.platform.legal.policy_version_freezed</td></tr></table>

func NewUpdatePolicyVersionBadRequest

func NewUpdatePolicyVersionBadRequest() *UpdatePolicyVersionBadRequest

NewUpdatePolicyVersionBadRequest creates a UpdatePolicyVersionBadRequest with default headers values

func (*UpdatePolicyVersionBadRequest) Error

func (*UpdatePolicyVersionBadRequest) GetPayload

type UpdatePolicyVersionOK

type UpdatePolicyVersionOK struct {
	Payload *legalclientmodels.UpdatePolicyVersionResponse
}

UpdatePolicyVersionOK handles this case with default header values.

successful operation

func NewUpdatePolicyVersionOK

func NewUpdatePolicyVersionOK() *UpdatePolicyVersionOK

NewUpdatePolicyVersionOK creates a UpdatePolicyVersionOK with default headers values

func (*UpdatePolicyVersionOK) Error

func (o *UpdatePolicyVersionOK) Error() string

func (*UpdatePolicyVersionOK) GetPayload

type UpdatePolicyVersionParams

type UpdatePolicyVersionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *legalclientmodels.UpdatePolicyVersionRequest
	/*PolicyVersionID
	  Policy Version Id

	*/
	PolicyVersionID string

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

UpdatePolicyVersionParams contains all the parameters to send to the API endpoint for the update policy version operation typically these are written to a http.Request

func NewUpdatePolicyVersionParams

func NewUpdatePolicyVersionParams() *UpdatePolicyVersionParams

NewUpdatePolicyVersionParams creates a new UpdatePolicyVersionParams object with the default values initialized.

func NewUpdatePolicyVersionParamsWithContext

func NewUpdatePolicyVersionParamsWithContext(ctx context.Context) *UpdatePolicyVersionParams

NewUpdatePolicyVersionParamsWithContext creates a new UpdatePolicyVersionParams object with the default values initialized, and the ability to set a context for a request

func NewUpdatePolicyVersionParamsWithHTTPClient

func NewUpdatePolicyVersionParamsWithHTTPClient(client *http.Client) *UpdatePolicyVersionParams

NewUpdatePolicyVersionParamsWithHTTPClient creates a new UpdatePolicyVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdatePolicyVersionParamsWithTimeout

func NewUpdatePolicyVersionParamsWithTimeout(timeout time.Duration) *UpdatePolicyVersionParams

NewUpdatePolicyVersionParamsWithTimeout creates a new UpdatePolicyVersionParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdatePolicyVersionParams) SetAuthInfoWriter added in v0.17.0

func (o *UpdatePolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update policy version params

func (*UpdatePolicyVersionParams) SetBody

SetBody adds the body to the update policy version params

func (*UpdatePolicyVersionParams) SetContext

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

SetContext adds the context to the update policy version params

func (*UpdatePolicyVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update policy version params

func (*UpdatePolicyVersionParams) SetHTTPClientTransport added in v0.19.0

func (o *UpdatePolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update policy version params

func (*UpdatePolicyVersionParams) SetPolicyVersionID

func (o *UpdatePolicyVersionParams) SetPolicyVersionID(policyVersionID string)

SetPolicyVersionID adds the policyVersionId to the update policy version params

func (*UpdatePolicyVersionParams) SetTimeout

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

SetTimeout adds the timeout to the update policy version params

func (*UpdatePolicyVersionParams) WithBody

WithBody adds the body to the update policy version params

func (*UpdatePolicyVersionParams) WithContext

WithContext adds the context to the update policy version params

func (*UpdatePolicyVersionParams) WithHTTPClient

func (o *UpdatePolicyVersionParams) WithHTTPClient(client *http.Client) *UpdatePolicyVersionParams

WithHTTPClient adds the HTTPClient to the update policy version params

func (*UpdatePolicyVersionParams) WithPolicyVersionID

func (o *UpdatePolicyVersionParams) WithPolicyVersionID(policyVersionID string) *UpdatePolicyVersionParams

WithPolicyVersionID adds the policyVersionID to the update policy version params

func (*UpdatePolicyVersionParams) WithTimeout

WithTimeout adds the timeout to the update policy version params

func (*UpdatePolicyVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePolicyVersionReader

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

UpdatePolicyVersionReader is a Reader for the UpdatePolicyVersion structure.

func (*UpdatePolicyVersionReader) ReadResponse

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