localized_policy_versions_with_namespace

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 15 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 localized policy versions with namespace API

func (*Client) CreateLocalizedPolicyVersion1 deprecated

Deprecated: Use CreateLocalizedPolicyVersion1Short instead.

CreateLocalizedPolicyVersion1 creates a localized 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:{namespace}:LEGAL", action=1 (CREATE)</li></ul>

func (*Client) CreateLocalizedPolicyVersion1Short

func (a *Client) CreateLocalizedPolicyVersion1Short(params *CreateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersion1Created, error)

CreateLocalizedPolicyVersion1Short creates a localized 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:{namespace}:LEGAL", action=1 (CREATE)</li></ul>

func (*Client) RequestPresignedURL1 deprecated

Deprecated: Use RequestPresignedURL1Short instead.

RequestPresignedURL1 requests presigned URL for upload document

Request presigned URL for  upload attachment for a particular localized version of base policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)</li></ul>

func (*Client) RequestPresignedURL1Short

func (a *Client) RequestPresignedURL1Short(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedUrl1Created, error)

RequestPresignedURL1Short requests presigned URL for upload document

Request presigned URL for upload attachment for a particular localized version of base policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)</li></ul>

func (*Client) RetrieveLocalizedPolicyVersions1 deprecated

Deprecated: Use RetrieveLocalizedPolicyVersions1Short instead.

RetrieveLocalizedPolicyVersions1 retrieves versions from country specific policy

Retrieve versions of a particular country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveLocalizedPolicyVersions1Short

func (a *Client) RetrieveLocalizedPolicyVersions1Short(params *RetrieveLocalizedPolicyVersions1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersions1OK, error)

RetrieveLocalizedPolicyVersions1Short retrieves versions from country specific policy

Retrieve versions of a particular country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveSingleLocalizedPolicyVersion1 deprecated

Deprecated: Use RetrieveSingleLocalizedPolicyVersion1Short instead.

RetrieveSingleLocalizedPolicyVersion1 retrieves a localized version from country specific policy

Retrieve a version of a particular country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveSingleLocalizedPolicyVersion1Short

func (a *Client) RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersion1OK, error)

RetrieveSingleLocalizedPolicyVersion1Short retrieves a localized version from country specific policy

Retrieve a version of a particular country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveSingleLocalizedPolicyVersion3 deprecated

Deprecated: Use RetrieveSingleLocalizedPolicyVersion3Short instead.

RetrieveSingleLocalizedPolicyVersion3 retrieves a localized version

Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.<br>Other detail info: <ul></ul>

func (*Client) RetrieveSingleLocalizedPolicyVersion3Short

func (a *Client) RetrieveSingleLocalizedPolicyVersion3Short(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3OK, error)

RetrieveSingleLocalizedPolicyVersion3Short retrieves a localized version

Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.<br>Other detail info: <ul></ul>

func (*Client) SetDefaultPolicy1 deprecated

func (a *Client) SetDefaultPolicy1(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1OK, error)

Deprecated: Use SetDefaultPolicy1Short instead.

SetDefaultPolicy1 sets default localized policy

Update a localized version policy to be the default.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=4 (UPDATE)</li></ul>

func (*Client) SetDefaultPolicy1Short

func (a *Client) SetDefaultPolicy1Short(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1OK, error)

SetDefaultPolicy1Short sets default localized policy

Update a localized version policy to be the default.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=4 (UPDATE)</li></ul>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateLocalizedPolicyVersion1 deprecated

Deprecated: Use UpdateLocalizedPolicyVersion1Short instead.

UpdateLocalizedPolicyVersion1 updates a localized version from country specific policy

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

func (*Client) UpdateLocalizedPolicyVersion1Short

func (a *Client) UpdateLocalizedPolicyVersion1Short(params *UpdateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersion1OK, error)

UpdateLocalizedPolicyVersion1Short updates a localized version from country specific policy

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

type ClientService

type ClientService interface {
	CreateLocalizedPolicyVersion1(params *CreateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersion1Created, *CreateLocalizedPolicyVersion1BadRequest, *CreateLocalizedPolicyVersion1Conflict, error)
	CreateLocalizedPolicyVersion1Short(params *CreateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersion1Created, error)
	RequestPresignedURL1(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedUrl1Created, *RequestPresignedUrl1BadRequest, error)
	RequestPresignedURL1Short(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedUrl1Created, error)
	RetrieveLocalizedPolicyVersions1(params *RetrieveLocalizedPolicyVersions1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersions1OK, error)
	RetrieveLocalizedPolicyVersions1Short(params *RetrieveLocalizedPolicyVersions1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersions1OK, error)
	RetrieveSingleLocalizedPolicyVersion1(params *RetrieveSingleLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersion1OK, *RetrieveSingleLocalizedPolicyVersion1NotFound, error)
	RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersion1OK, error)
	RetrieveSingleLocalizedPolicyVersion3(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3OK, *RetrieveSingleLocalizedPolicyVersion3NotFound, error)
	RetrieveSingleLocalizedPolicyVersion3Short(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3OK, error)
	SetDefaultPolicy1(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1OK, error)
	SetDefaultPolicy1Short(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1OK, error)
	UpdateLocalizedPolicyVersion1(params *UpdateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersion1OK, *UpdateLocalizedPolicyVersion1BadRequest, error)
	UpdateLocalizedPolicyVersion1Short(params *UpdateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersion1OK, 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 localized policy versions with namespace API client.

type CreateLocalizedPolicyVersion1BadRequest

type CreateLocalizedPolicyVersion1BadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

CreateLocalizedPolicyVersion1BadRequest 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 NewCreateLocalizedPolicyVersion1BadRequest

func NewCreateLocalizedPolicyVersion1BadRequest() *CreateLocalizedPolicyVersion1BadRequest

NewCreateLocalizedPolicyVersion1BadRequest creates a CreateLocalizedPolicyVersion1BadRequest with default headers values

func (*CreateLocalizedPolicyVersion1BadRequest) Error

func (*CreateLocalizedPolicyVersion1BadRequest) GetPayload

func (*CreateLocalizedPolicyVersion1BadRequest) ToJSONString

type CreateLocalizedPolicyVersion1Conflict

type CreateLocalizedPolicyVersion1Conflict struct {
	Payload *legalclientmodels.ErrorEntity
}

CreateLocalizedPolicyVersion1Conflict handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40044</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_already_exist</td></tr></table>

func NewCreateLocalizedPolicyVersion1Conflict

func NewCreateLocalizedPolicyVersion1Conflict() *CreateLocalizedPolicyVersion1Conflict

NewCreateLocalizedPolicyVersion1Conflict creates a CreateLocalizedPolicyVersion1Conflict with default headers values

func (*CreateLocalizedPolicyVersion1Conflict) Error

func (*CreateLocalizedPolicyVersion1Conflict) GetPayload

func (*CreateLocalizedPolicyVersion1Conflict) ToJSONString

type CreateLocalizedPolicyVersion1Created

type CreateLocalizedPolicyVersion1Created struct {
	Payload *legalclientmodels.CreateLocalizedPolicyVersionResponse
}

CreateLocalizedPolicyVersion1Created handles this case with default header values.

successful operation

func NewCreateLocalizedPolicyVersion1Created

func NewCreateLocalizedPolicyVersion1Created() *CreateLocalizedPolicyVersion1Created

NewCreateLocalizedPolicyVersion1Created creates a CreateLocalizedPolicyVersion1Created with default headers values

func (*CreateLocalizedPolicyVersion1Created) Error

func (*CreateLocalizedPolicyVersion1Created) GetPayload

func (*CreateLocalizedPolicyVersion1Created) ToJSONString

func (o *CreateLocalizedPolicyVersion1Created) ToJSONString() string

type CreateLocalizedPolicyVersion1Params

type CreateLocalizedPolicyVersion1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *legalclientmodels.CreateLocalizedPolicyVersionRequest
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*PolicyVersionID
	  Policy Version Id

	*/
	PolicyVersionID string

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

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

func NewCreateLocalizedPolicyVersion1Params

func NewCreateLocalizedPolicyVersion1Params() *CreateLocalizedPolicyVersion1Params

NewCreateLocalizedPolicyVersion1Params creates a new CreateLocalizedPolicyVersion1Params object with the default values initialized.

func NewCreateLocalizedPolicyVersion1ParamsWithContext

func NewCreateLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *CreateLocalizedPolicyVersion1Params

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

func NewCreateLocalizedPolicyVersion1ParamsWithHTTPClient

func NewCreateLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *CreateLocalizedPolicyVersion1Params

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

func NewCreateLocalizedPolicyVersion1ParamsWithTimeout

func NewCreateLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *CreateLocalizedPolicyVersion1Params

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

func (*CreateLocalizedPolicyVersion1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) SetBody

SetBody adds the body to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) SetContext

SetContext adds the context to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) SetNamespace

func (o *CreateLocalizedPolicyVersion1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) SetPolicyVersionID

func (o *CreateLocalizedPolicyVersion1Params) SetPolicyVersionID(policyVersionID string)

SetPolicyVersionID adds the policyVersionId to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) SetTimeout

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

SetTimeout adds the timeout to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) WithBody

WithBody adds the body to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) WithContext

WithContext adds the context to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) WithNamespace

WithNamespace adds the namespace to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) WithPolicyVersionID

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

WithPolicyVersionID adds the policyVersionID to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) WithTimeout

WithTimeout adds the timeout to the create localized policy version 1 params

func (*CreateLocalizedPolicyVersion1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateLocalizedPolicyVersion1Reader

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

CreateLocalizedPolicyVersion1Reader is a Reader for the CreateLocalizedPolicyVersion1 structure.

func (*CreateLocalizedPolicyVersion1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RequestPresignedURL1Params

type RequestPresignedURL1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *legalclientmodels.UploadPolicyVersionAttachmentRequest
	/*LocalizedPolicyVersionID
	  Localized Policy Version Id

	*/
	LocalizedPolicyVersionID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

RequestPresignedURL1Params contains all the parameters to send to the API endpoint for the request presigned URL 1 operation typically these are written to a http.Request

func NewRequestPresignedURL1Params

func NewRequestPresignedURL1Params() *RequestPresignedURL1Params

NewRequestPresignedURL1Params creates a new RequestPresignedURL1Params object with the default values initialized.

func NewRequestPresignedURL1ParamsWithContext

func NewRequestPresignedURL1ParamsWithContext(ctx context.Context) *RequestPresignedURL1Params

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

func NewRequestPresignedURL1ParamsWithHTTPClient

func NewRequestPresignedURL1ParamsWithHTTPClient(client *http.Client) *RequestPresignedURL1Params

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

func NewRequestPresignedURL1ParamsWithTimeout

func NewRequestPresignedURL1ParamsWithTimeout(timeout time.Duration) *RequestPresignedURL1Params

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

func (*RequestPresignedURL1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the request presigned URL 1 params

func (*RequestPresignedURL1Params) SetBody

SetBody adds the body to the request presigned URL 1 params

func (*RequestPresignedURL1Params) SetContext

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

SetContext adds the context to the request presigned URL 1 params

func (*RequestPresignedURL1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the request presigned URL 1 params

func (*RequestPresignedURL1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the request presigned URL 1 params

func (*RequestPresignedURL1Params) SetLocalizedPolicyVersionID

func (o *RequestPresignedURL1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the request presigned URL 1 params

func (*RequestPresignedURL1Params) SetNamespace

func (o *RequestPresignedURL1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the request presigned URL 1 params

func (*RequestPresignedURL1Params) SetTimeout

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

SetTimeout adds the timeout to the request presigned URL 1 params

func (*RequestPresignedURL1Params) WithBody

WithBody adds the body to the request presigned URL 1 params

func (*RequestPresignedURL1Params) WithContext

WithContext adds the context to the request presigned URL 1 params

func (*RequestPresignedURL1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the request presigned URL 1 params

func (*RequestPresignedURL1Params) WithLocalizedPolicyVersionID

func (o *RequestPresignedURL1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RequestPresignedURL1Params

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the request presigned URL 1 params

func (*RequestPresignedURL1Params) WithNamespace

func (o *RequestPresignedURL1Params) WithNamespace(namespace string) *RequestPresignedURL1Params

WithNamespace adds the namespace to the request presigned URL 1 params

func (*RequestPresignedURL1Params) WithTimeout

WithTimeout adds the timeout to the request presigned URL 1 params

func (*RequestPresignedURL1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestPresignedURL1Reader

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

RequestPresignedURL1Reader is a Reader for the RequestPresignedURL1 structure.

func (*RequestPresignedURL1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RequestPresignedUrl1BadRequest

type RequestPresignedUrl1BadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

RequestPresignedUrl1BadRequest handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40034</td><td>errors.net.accelbyte.platform.legal.invalid_file_type</td></tr><tr><td>40037</td><td>errors.net.accelbyte.platform.legal.invalid_localized_policy_version</td></tr><tr><td>40042</td><td>errors.net.accelbyte.platform.legal.policy_version_freezed</td></tr></table>

func NewRequestPresignedUrl1BadRequest

func NewRequestPresignedUrl1BadRequest() *RequestPresignedUrl1BadRequest

NewRequestPresignedUrl1BadRequest creates a RequestPresignedUrl1BadRequest with default headers values

func (*RequestPresignedUrl1BadRequest) Error

func (*RequestPresignedUrl1BadRequest) GetPayload

func (*RequestPresignedUrl1BadRequest) ToJSONString

func (o *RequestPresignedUrl1BadRequest) ToJSONString() string

type RequestPresignedUrl1Created

type RequestPresignedUrl1Created struct {
	Payload *legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse
}

RequestPresignedUrl1Created handles this case with default header values.

successful operation

func NewRequestPresignedUrl1Created

func NewRequestPresignedUrl1Created() *RequestPresignedUrl1Created

NewRequestPresignedUrl1Created creates a RequestPresignedUrl1Created with default headers values

func (*RequestPresignedUrl1Created) Error

func (*RequestPresignedUrl1Created) ToJSONString

func (o *RequestPresignedUrl1Created) ToJSONString() string

type RetrieveLocalizedPolicyVersions1OK

type RetrieveLocalizedPolicyVersions1OK struct {
	Payload []*legalclientmodels.RetrieveLocalizedPolicyVersionResponse
}

RetrieveLocalizedPolicyVersions1OK handles this case with default header values.

successful operation

func NewRetrieveLocalizedPolicyVersions1OK

func NewRetrieveLocalizedPolicyVersions1OK() *RetrieveLocalizedPolicyVersions1OK

NewRetrieveLocalizedPolicyVersions1OK creates a RetrieveLocalizedPolicyVersions1OK with default headers values

func (*RetrieveLocalizedPolicyVersions1OK) Error

func (*RetrieveLocalizedPolicyVersions1OK) GetPayload

func (*RetrieveLocalizedPolicyVersions1OK) ToJSONString

func (o *RetrieveLocalizedPolicyVersions1OK) ToJSONString() string

type RetrieveLocalizedPolicyVersions1Params

type RetrieveLocalizedPolicyVersions1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*PolicyVersionID
	  Policy Version Id

	*/
	PolicyVersionID string

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

RetrieveLocalizedPolicyVersions1Params contains all the parameters to send to the API endpoint for the retrieve localized policy versions 1 operation typically these are written to a http.Request

func NewRetrieveLocalizedPolicyVersions1Params

func NewRetrieveLocalizedPolicyVersions1Params() *RetrieveLocalizedPolicyVersions1Params

NewRetrieveLocalizedPolicyVersions1Params creates a new RetrieveLocalizedPolicyVersions1Params object with the default values initialized.

func NewRetrieveLocalizedPolicyVersions1ParamsWithContext

func NewRetrieveLocalizedPolicyVersions1ParamsWithContext(ctx context.Context) *RetrieveLocalizedPolicyVersions1Params

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

func NewRetrieveLocalizedPolicyVersions1ParamsWithHTTPClient

func NewRetrieveLocalizedPolicyVersions1ParamsWithHTTPClient(client *http.Client) *RetrieveLocalizedPolicyVersions1Params

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

func NewRetrieveLocalizedPolicyVersions1ParamsWithTimeout

func NewRetrieveLocalizedPolicyVersions1ParamsWithTimeout(timeout time.Duration) *RetrieveLocalizedPolicyVersions1Params

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

func (*RetrieveLocalizedPolicyVersions1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) SetContext

SetContext adds the context to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) SetNamespace

func (o *RetrieveLocalizedPolicyVersions1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) SetPolicyVersionID

func (o *RetrieveLocalizedPolicyVersions1Params) SetPolicyVersionID(policyVersionID string)

SetPolicyVersionID adds the policyVersionId to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) SetTimeout

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

SetTimeout adds the timeout to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) WithContext

WithContext adds the context to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) WithNamespace

WithNamespace adds the namespace to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) WithPolicyVersionID

WithPolicyVersionID adds the policyVersionID to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) WithTimeout

WithTimeout adds the timeout to the retrieve localized policy versions 1 params

func (*RetrieveLocalizedPolicyVersions1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveLocalizedPolicyVersions1Reader

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

RetrieveLocalizedPolicyVersions1Reader is a Reader for the RetrieveLocalizedPolicyVersions1 structure.

func (*RetrieveLocalizedPolicyVersions1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveSingleLocalizedPolicyVersion1NotFound

type RetrieveSingleLocalizedPolicyVersion1NotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveSingleLocalizedPolicyVersion1NotFound handles this case with default header values.

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

func NewRetrieveSingleLocalizedPolicyVersion1NotFound

func NewRetrieveSingleLocalizedPolicyVersion1NotFound() *RetrieveSingleLocalizedPolicyVersion1NotFound

NewRetrieveSingleLocalizedPolicyVersion1NotFound creates a RetrieveSingleLocalizedPolicyVersion1NotFound with default headers values

func (*RetrieveSingleLocalizedPolicyVersion1NotFound) Error

func (*RetrieveSingleLocalizedPolicyVersion1NotFound) GetPayload

func (*RetrieveSingleLocalizedPolicyVersion1NotFound) ToJSONString

type RetrieveSingleLocalizedPolicyVersion1OK

type RetrieveSingleLocalizedPolicyVersion1OK struct {
	Payload *legalclientmodels.RetrieveLocalizedPolicyVersionResponse
}

RetrieveSingleLocalizedPolicyVersion1OK handles this case with default header values.

successful operation

func NewRetrieveSingleLocalizedPolicyVersion1OK

func NewRetrieveSingleLocalizedPolicyVersion1OK() *RetrieveSingleLocalizedPolicyVersion1OK

NewRetrieveSingleLocalizedPolicyVersion1OK creates a RetrieveSingleLocalizedPolicyVersion1OK with default headers values

func (*RetrieveSingleLocalizedPolicyVersion1OK) Error

func (*RetrieveSingleLocalizedPolicyVersion1OK) GetPayload

func (*RetrieveSingleLocalizedPolicyVersion1OK) ToJSONString

type RetrieveSingleLocalizedPolicyVersion1Params

type RetrieveSingleLocalizedPolicyVersion1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LocalizedPolicyVersionID
	  Localized Policy Version Id

	*/
	LocalizedPolicyVersionID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

func NewRetrieveSingleLocalizedPolicyVersion1Params

func NewRetrieveSingleLocalizedPolicyVersion1Params() *RetrieveSingleLocalizedPolicyVersion1Params

NewRetrieveSingleLocalizedPolicyVersion1Params creates a new RetrieveSingleLocalizedPolicyVersion1Params object with the default values initialized.

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion1Params

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

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion1Params

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

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion1Params

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve single localized policy version 1 params

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetContext

SetContext adds the context to the retrieve single localized policy version 1 params

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve single localized policy version 1 params

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClientTransport

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

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID

func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the retrieve single localized policy version 1 params

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetNamespace

func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve single localized policy version 1 params

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetTimeout

SetTimeout adds the timeout to the retrieve single localized policy version 1 params

func (*RetrieveSingleLocalizedPolicyVersion1Params) WithContext

WithContext adds the context to the retrieve single localized policy version 1 params

func (*RetrieveSingleLocalizedPolicyVersion1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve single localized policy version 1 params

func (*RetrieveSingleLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID

func (o *RetrieveSingleLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RetrieveSingleLocalizedPolicyVersion1Params

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the retrieve single localized policy version 1 params

func (*RetrieveSingleLocalizedPolicyVersion1Params) WithNamespace

WithNamespace adds the namespace to the retrieve single localized policy version 1 params

func (*RetrieveSingleLocalizedPolicyVersion1Params) WithTimeout

WithTimeout adds the timeout to the retrieve single localized policy version 1 params

func (*RetrieveSingleLocalizedPolicyVersion1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveSingleLocalizedPolicyVersion1Reader

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

RetrieveSingleLocalizedPolicyVersion1Reader is a Reader for the RetrieveSingleLocalizedPolicyVersion1 structure.

func (*RetrieveSingleLocalizedPolicyVersion1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveSingleLocalizedPolicyVersion3NotFound

type RetrieveSingleLocalizedPolicyVersion3NotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveSingleLocalizedPolicyVersion3NotFound handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40038</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_not_found</td></tr></table>

func NewRetrieveSingleLocalizedPolicyVersion3NotFound

func NewRetrieveSingleLocalizedPolicyVersion3NotFound() *RetrieveSingleLocalizedPolicyVersion3NotFound

NewRetrieveSingleLocalizedPolicyVersion3NotFound creates a RetrieveSingleLocalizedPolicyVersion3NotFound with default headers values

func (*RetrieveSingleLocalizedPolicyVersion3NotFound) Error

func (*RetrieveSingleLocalizedPolicyVersion3NotFound) GetPayload

func (*RetrieveSingleLocalizedPolicyVersion3NotFound) ToJSONString

type RetrieveSingleLocalizedPolicyVersion3OK

type RetrieveSingleLocalizedPolicyVersion3OK struct {
	Payload *legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse
}

RetrieveSingleLocalizedPolicyVersion3OK handles this case with default header values.

successful operation

func NewRetrieveSingleLocalizedPolicyVersion3OK

func NewRetrieveSingleLocalizedPolicyVersion3OK() *RetrieveSingleLocalizedPolicyVersion3OK

NewRetrieveSingleLocalizedPolicyVersion3OK creates a RetrieveSingleLocalizedPolicyVersion3OK with default headers values

func (*RetrieveSingleLocalizedPolicyVersion3OK) Error

func (*RetrieveSingleLocalizedPolicyVersion3OK) GetPayload

func (*RetrieveSingleLocalizedPolicyVersion3OK) ToJSONString

type RetrieveSingleLocalizedPolicyVersion3Params

type RetrieveSingleLocalizedPolicyVersion3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LocalizedPolicyVersionID
	  Localized Policy Version Id

	*/
	LocalizedPolicyVersionID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

func NewRetrieveSingleLocalizedPolicyVersion3Params

func NewRetrieveSingleLocalizedPolicyVersion3Params() *RetrieveSingleLocalizedPolicyVersion3Params

NewRetrieveSingleLocalizedPolicyVersion3Params creates a new RetrieveSingleLocalizedPolicyVersion3Params object with the default values initialized.

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithContext

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion3Params

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

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithHTTPClient

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion3Params

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

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithTimeout

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion3Params

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve single localized policy version 3 params

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetContext

SetContext adds the context to the retrieve single localized policy version 3 params

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve single localized policy version 3 params

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetHTTPClientTransport

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

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetLocalizedPolicyVersionID

func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the retrieve single localized policy version 3 params

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetNamespace

func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve single localized policy version 3 params

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetTimeout

SetTimeout adds the timeout to the retrieve single localized policy version 3 params

func (*RetrieveSingleLocalizedPolicyVersion3Params) WithContext

WithContext adds the context to the retrieve single localized policy version 3 params

func (*RetrieveSingleLocalizedPolicyVersion3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve single localized policy version 3 params

func (*RetrieveSingleLocalizedPolicyVersion3Params) WithLocalizedPolicyVersionID

func (o *RetrieveSingleLocalizedPolicyVersion3Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RetrieveSingleLocalizedPolicyVersion3Params

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the retrieve single localized policy version 3 params

func (*RetrieveSingleLocalizedPolicyVersion3Params) WithNamespace

WithNamespace adds the namespace to the retrieve single localized policy version 3 params

func (*RetrieveSingleLocalizedPolicyVersion3Params) WithTimeout

WithTimeout adds the timeout to the retrieve single localized policy version 3 params

func (*RetrieveSingleLocalizedPolicyVersion3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveSingleLocalizedPolicyVersion3Reader

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

RetrieveSingleLocalizedPolicyVersion3Reader is a Reader for the RetrieveSingleLocalizedPolicyVersion3 structure.

func (*RetrieveSingleLocalizedPolicyVersion3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetDefaultPolicy1OK

type SetDefaultPolicy1OK struct {
}

SetDefaultPolicy1OK handles this case with default header values.

successful operation

func NewSetDefaultPolicy1OK

func NewSetDefaultPolicy1OK() *SetDefaultPolicy1OK

NewSetDefaultPolicy1OK creates a SetDefaultPolicy1OK with default headers values

func (*SetDefaultPolicy1OK) Error

func (o *SetDefaultPolicy1OK) Error() string

type SetDefaultPolicy1Params

type SetDefaultPolicy1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LocalizedPolicyVersionID
	  Localized Policy Version Id

	*/
	LocalizedPolicyVersionID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

SetDefaultPolicy1Params contains all the parameters to send to the API endpoint for the set default policy 1 operation typically these are written to a http.Request

func NewSetDefaultPolicy1Params

func NewSetDefaultPolicy1Params() *SetDefaultPolicy1Params

NewSetDefaultPolicy1Params creates a new SetDefaultPolicy1Params object with the default values initialized.

func NewSetDefaultPolicy1ParamsWithContext

func NewSetDefaultPolicy1ParamsWithContext(ctx context.Context) *SetDefaultPolicy1Params

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

func NewSetDefaultPolicy1ParamsWithHTTPClient

func NewSetDefaultPolicy1ParamsWithHTTPClient(client *http.Client) *SetDefaultPolicy1Params

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

func NewSetDefaultPolicy1ParamsWithTimeout

func NewSetDefaultPolicy1ParamsWithTimeout(timeout time.Duration) *SetDefaultPolicy1Params

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

func (*SetDefaultPolicy1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the set default policy 1 params

func (*SetDefaultPolicy1Params) SetContext

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

SetContext adds the context to the set default policy 1 params

func (*SetDefaultPolicy1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set default policy 1 params

func (*SetDefaultPolicy1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the set default policy 1 params

func (*SetDefaultPolicy1Params) SetLocalizedPolicyVersionID

func (o *SetDefaultPolicy1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the set default policy 1 params

func (*SetDefaultPolicy1Params) SetNamespace

func (o *SetDefaultPolicy1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the set default policy 1 params

func (*SetDefaultPolicy1Params) SetTimeout

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

SetTimeout adds the timeout to the set default policy 1 params

func (*SetDefaultPolicy1Params) WithContext

WithContext adds the context to the set default policy 1 params

func (*SetDefaultPolicy1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set default policy 1 params

func (*SetDefaultPolicy1Params) WithLocalizedPolicyVersionID

func (o *SetDefaultPolicy1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *SetDefaultPolicy1Params

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the set default policy 1 params

func (*SetDefaultPolicy1Params) WithNamespace

func (o *SetDefaultPolicy1Params) WithNamespace(namespace string) *SetDefaultPolicy1Params

WithNamespace adds the namespace to the set default policy 1 params

func (*SetDefaultPolicy1Params) WithTimeout

WithTimeout adds the timeout to the set default policy 1 params

func (*SetDefaultPolicy1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetDefaultPolicy1Reader

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

SetDefaultPolicy1Reader is a Reader for the SetDefaultPolicy1 structure.

func (*SetDefaultPolicy1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateLocalizedPolicyVersion1BadRequest

type UpdateLocalizedPolicyVersion1BadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

UpdateLocalizedPolicyVersion1BadRequest 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></table>

func NewUpdateLocalizedPolicyVersion1BadRequest

func NewUpdateLocalizedPolicyVersion1BadRequest() *UpdateLocalizedPolicyVersion1BadRequest

NewUpdateLocalizedPolicyVersion1BadRequest creates a UpdateLocalizedPolicyVersion1BadRequest with default headers values

func (*UpdateLocalizedPolicyVersion1BadRequest) Error

func (*UpdateLocalizedPolicyVersion1BadRequest) GetPayload

func (*UpdateLocalizedPolicyVersion1BadRequest) ToJSONString

type UpdateLocalizedPolicyVersion1OK

type UpdateLocalizedPolicyVersion1OK struct {
	Payload *legalclientmodels.UpdateLocalizedPolicyVersionResponse
}

UpdateLocalizedPolicyVersion1OK handles this case with default header values.

successful operation

func NewUpdateLocalizedPolicyVersion1OK

func NewUpdateLocalizedPolicyVersion1OK() *UpdateLocalizedPolicyVersion1OK

NewUpdateLocalizedPolicyVersion1OK creates a UpdateLocalizedPolicyVersion1OK with default headers values

func (*UpdateLocalizedPolicyVersion1OK) Error

func (*UpdateLocalizedPolicyVersion1OK) GetPayload

func (*UpdateLocalizedPolicyVersion1OK) ToJSONString

func (o *UpdateLocalizedPolicyVersion1OK) ToJSONString() string

type UpdateLocalizedPolicyVersion1Params

type UpdateLocalizedPolicyVersion1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *legalclientmodels.UpdateLocalizedPolicyVersionRequest
	/*LocalizedPolicyVersionID
	  Localized Policy Version Id

	*/
	LocalizedPolicyVersionID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

func NewUpdateLocalizedPolicyVersion1Params

func NewUpdateLocalizedPolicyVersion1Params() *UpdateLocalizedPolicyVersion1Params

NewUpdateLocalizedPolicyVersion1Params creates a new UpdateLocalizedPolicyVersion1Params object with the default values initialized.

func NewUpdateLocalizedPolicyVersion1ParamsWithContext

func NewUpdateLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *UpdateLocalizedPolicyVersion1Params

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

func NewUpdateLocalizedPolicyVersion1ParamsWithHTTPClient

func NewUpdateLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *UpdateLocalizedPolicyVersion1Params

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

func NewUpdateLocalizedPolicyVersion1ParamsWithTimeout

func NewUpdateLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *UpdateLocalizedPolicyVersion1Params

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

func (*UpdateLocalizedPolicyVersion1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) SetBody

SetBody adds the body to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) SetContext

SetContext adds the context to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID

func (o *UpdateLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) SetNamespace

func (o *UpdateLocalizedPolicyVersion1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) SetTimeout

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

SetTimeout adds the timeout to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) WithBody

WithBody adds the body to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) WithContext

WithContext adds the context to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID

func (o *UpdateLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *UpdateLocalizedPolicyVersion1Params

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) WithNamespace

WithNamespace adds the namespace to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) WithTimeout

WithTimeout adds the timeout to the update localized policy version 1 params

func (*UpdateLocalizedPolicyVersion1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateLocalizedPolicyVersion1Reader

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

UpdateLocalizedPolicyVersion1Reader is a Reader for the UpdateLocalizedPolicyVersion1 structure.

func (*UpdateLocalizedPolicyVersion1Reader) ReadResponse

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