localized_policy_versions

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 12 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 API

func (*Client) CreateLocalizedPolicyVersion

CreateLocalizedPolicyVersion 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:*:LEGAL", action=1 (CREATE)</li></ul>

func (*Client) CreateLocalizedPolicyVersionShort added in v0.8.0

func (a *Client) CreateLocalizedPolicyVersionShort(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, error)

func (*Client) RequestPresignedURL

RequestPresignedURL 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:*:LEGAL", action=1 (CREATE)</li></ul>

func (*Client) RequestPresignedURLShort added in v0.8.0

func (a *Client) RequestPresignedURLShort(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, error)

func (*Client) RetrieveLocalizedPolicyVersions

func (a *Client) RetrieveLocalizedPolicyVersions(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error)

RetrieveLocalizedPolicyVersions 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:*:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveLocalizedPolicyVersionsShort added in v0.8.0

func (a *Client) RetrieveLocalizedPolicyVersionsShort(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error)

func (*Client) RetrieveSingleLocalizedPolicyVersion

RetrieveSingleLocalizedPolicyVersion 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:*:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveSingleLocalizedPolicyVersion1

RetrieveSingleLocalizedPolicyVersion1 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) RetrieveSingleLocalizedPolicyVersion1Short added in v0.8.0

func (a *Client) RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params) (*RetrieveSingleLocalizedPolicyVersion1OK, error)

func (*Client) RetrieveSingleLocalizedPolicyVersionShort added in v0.8.0

func (a *Client) RetrieveSingleLocalizedPolicyVersionShort(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, error)

func (*Client) SetDefaultPolicy

func (a *Client) SetDefaultPolicy(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error)

SetDefaultPolicy 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:*:LEGAL", action=4 (UPDATE)</li></ul>

func (*Client) SetDefaultPolicyShort added in v0.8.0

func (a *Client) SetDefaultPolicyShort(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateLocalizedPolicyVersion

UpdateLocalizedPolicyVersion 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:*:LEGAL", action=4 (UPDATE)</li></ul>

func (*Client) UpdateLocalizedPolicyVersionShort added in v0.8.0

func (a *Client) UpdateLocalizedPolicyVersionShort(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, error)

type ClientService

type ClientService interface {
	CreateLocalizedPolicyVersion(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, *CreateLocalizedPolicyVersionBadRequest, *CreateLocalizedPolicyVersionConflict, error)
	CreateLocalizedPolicyVersionShort(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, error)
	RequestPresignedURL(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, *RequestPresignedURLBadRequest, error)
	RequestPresignedURLShort(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, error)
	RetrieveLocalizedPolicyVersions(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error)
	RetrieveLocalizedPolicyVersionsShort(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error)
	RetrieveSingleLocalizedPolicyVersion(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, *RetrieveSingleLocalizedPolicyVersionBadRequest, error)
	RetrieveSingleLocalizedPolicyVersionShort(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, error)
	RetrieveSingleLocalizedPolicyVersion1(params *RetrieveSingleLocalizedPolicyVersion1Params) (*RetrieveSingleLocalizedPolicyVersion1OK, *RetrieveSingleLocalizedPolicyVersion1NotFound, error)
	RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params) (*RetrieveSingleLocalizedPolicyVersion1OK, error)
	SetDefaultPolicy(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error)
	SetDefaultPolicyShort(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error)
	UpdateLocalizedPolicyVersion(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, *UpdateLocalizedPolicyVersionBadRequest, error)
	UpdateLocalizedPolicyVersionShort(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, 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 API client.

type CreateLocalizedPolicyVersionBadRequest

type CreateLocalizedPolicyVersionBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

CreateLocalizedPolicyVersionBadRequest 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 NewCreateLocalizedPolicyVersionBadRequest

func NewCreateLocalizedPolicyVersionBadRequest() *CreateLocalizedPolicyVersionBadRequest

NewCreateLocalizedPolicyVersionBadRequest creates a CreateLocalizedPolicyVersionBadRequest with default headers values

func (*CreateLocalizedPolicyVersionBadRequest) Error

func (*CreateLocalizedPolicyVersionBadRequest) GetPayload

type CreateLocalizedPolicyVersionConflict

type CreateLocalizedPolicyVersionConflict struct {
	Payload *legalclientmodels.ErrorEntity
}

CreateLocalizedPolicyVersionConflict 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 NewCreateLocalizedPolicyVersionConflict

func NewCreateLocalizedPolicyVersionConflict() *CreateLocalizedPolicyVersionConflict

NewCreateLocalizedPolicyVersionConflict creates a CreateLocalizedPolicyVersionConflict with default headers values

func (*CreateLocalizedPolicyVersionConflict) Error

func (*CreateLocalizedPolicyVersionConflict) GetPayload

type CreateLocalizedPolicyVersionCreated

type CreateLocalizedPolicyVersionCreated struct {
	Payload *legalclientmodels.CreateLocalizedPolicyVersionResponse
}

CreateLocalizedPolicyVersionCreated handles this case with default header values.

successful operation

func NewCreateLocalizedPolicyVersionCreated

func NewCreateLocalizedPolicyVersionCreated() *CreateLocalizedPolicyVersionCreated

NewCreateLocalizedPolicyVersionCreated creates a CreateLocalizedPolicyVersionCreated with default headers values

func (*CreateLocalizedPolicyVersionCreated) Error

func (*CreateLocalizedPolicyVersionCreated) GetPayload

type CreateLocalizedPolicyVersionParams

type CreateLocalizedPolicyVersionParams struct {

	/*Body*/
	Body *legalclientmodels.CreateLocalizedPolicyVersionRequest
	/*PolicyVersionID
	  Policy Version Id

	*/
	PolicyVersionID string

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

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

func NewCreateLocalizedPolicyVersionParams

func NewCreateLocalizedPolicyVersionParams() *CreateLocalizedPolicyVersionParams

NewCreateLocalizedPolicyVersionParams creates a new CreateLocalizedPolicyVersionParams object with the default values initialized.

func NewCreateLocalizedPolicyVersionParamsWithContext

func NewCreateLocalizedPolicyVersionParamsWithContext(ctx context.Context) *CreateLocalizedPolicyVersionParams

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

func NewCreateLocalizedPolicyVersionParamsWithHTTPClient

func NewCreateLocalizedPolicyVersionParamsWithHTTPClient(client *http.Client) *CreateLocalizedPolicyVersionParams

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

func NewCreateLocalizedPolicyVersionParamsWithTimeout

func NewCreateLocalizedPolicyVersionParamsWithTimeout(timeout time.Duration) *CreateLocalizedPolicyVersionParams

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

func (*CreateLocalizedPolicyVersionParams) SetBody

SetBody adds the body to the create localized policy version params

func (*CreateLocalizedPolicyVersionParams) SetContext

SetContext adds the context to the create localized policy version params

func (*CreateLocalizedPolicyVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create localized policy version params

func (*CreateLocalizedPolicyVersionParams) SetPolicyVersionID

func (o *CreateLocalizedPolicyVersionParams) SetPolicyVersionID(policyVersionID string)

SetPolicyVersionID adds the policyVersionId to the create localized policy version params

func (*CreateLocalizedPolicyVersionParams) SetTimeout

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

SetTimeout adds the timeout to the create localized policy version params

func (*CreateLocalizedPolicyVersionParams) WithBody

WithBody adds the body to the create localized policy version params

func (*CreateLocalizedPolicyVersionParams) WithContext

WithContext adds the context to the create localized policy version params

func (*CreateLocalizedPolicyVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create localized policy version params

func (*CreateLocalizedPolicyVersionParams) WithPolicyVersionID

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

WithPolicyVersionID adds the policyVersionID to the create localized policy version params

func (*CreateLocalizedPolicyVersionParams) WithTimeout

WithTimeout adds the timeout to the create localized policy version params

func (*CreateLocalizedPolicyVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateLocalizedPolicyVersionReader

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

CreateLocalizedPolicyVersionReader is a Reader for the CreateLocalizedPolicyVersion structure.

func (*CreateLocalizedPolicyVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RequestPresignedURLBadRequest

type RequestPresignedURLBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

RequestPresignedURLBadRequest 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 NewRequestPresignedURLBadRequest

func NewRequestPresignedURLBadRequest() *RequestPresignedURLBadRequest

NewRequestPresignedURLBadRequest creates a RequestPresignedURLBadRequest with default headers values

func (*RequestPresignedURLBadRequest) Error

func (*RequestPresignedURLBadRequest) GetPayload

type RequestPresignedURLCreated

type RequestPresignedURLCreated struct {
	Payload *legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse
}

RequestPresignedURLCreated handles this case with default header values.

successful operation

func NewRequestPresignedURLCreated

func NewRequestPresignedURLCreated() *RequestPresignedURLCreated

NewRequestPresignedURLCreated creates a RequestPresignedURLCreated with default headers values

func (*RequestPresignedURLCreated) Error

type RequestPresignedURLParams

type RequestPresignedURLParams struct {

	/*Body*/
	Body *legalclientmodels.UploadPolicyVersionAttachmentRequest
	/*LocalizedPolicyVersionID
	  Localized Policy Version Id

	*/
	LocalizedPolicyVersionID string

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

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

func NewRequestPresignedURLParams

func NewRequestPresignedURLParams() *RequestPresignedURLParams

NewRequestPresignedURLParams creates a new RequestPresignedURLParams object with the default values initialized.

func NewRequestPresignedURLParamsWithContext

func NewRequestPresignedURLParamsWithContext(ctx context.Context) *RequestPresignedURLParams

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

func NewRequestPresignedURLParamsWithHTTPClient

func NewRequestPresignedURLParamsWithHTTPClient(client *http.Client) *RequestPresignedURLParams

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

func NewRequestPresignedURLParamsWithTimeout

func NewRequestPresignedURLParamsWithTimeout(timeout time.Duration) *RequestPresignedURLParams

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

func (*RequestPresignedURLParams) SetBody

SetBody adds the body to the request presigned URL params

func (*RequestPresignedURLParams) SetContext

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

SetContext adds the context to the request presigned URL params

func (*RequestPresignedURLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the request presigned URL params

func (*RequestPresignedURLParams) SetLocalizedPolicyVersionID

func (o *RequestPresignedURLParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the request presigned URL params

func (*RequestPresignedURLParams) SetTimeout

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

SetTimeout adds the timeout to the request presigned URL params

func (*RequestPresignedURLParams) WithBody

WithBody adds the body to the request presigned URL params

func (*RequestPresignedURLParams) WithContext

WithContext adds the context to the request presigned URL params

func (*RequestPresignedURLParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the request presigned URL params

func (*RequestPresignedURLParams) WithLocalizedPolicyVersionID

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

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the request presigned URL params

func (*RequestPresignedURLParams) WithTimeout

WithTimeout adds the timeout to the request presigned URL params

func (*RequestPresignedURLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestPresignedURLReader

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

RequestPresignedURLReader is a Reader for the RequestPresignedURL structure.

func (*RequestPresignedURLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveLocalizedPolicyVersionsOK

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

RetrieveLocalizedPolicyVersionsOK handles this case with default header values.

successful operation

func NewRetrieveLocalizedPolicyVersionsOK

func NewRetrieveLocalizedPolicyVersionsOK() *RetrieveLocalizedPolicyVersionsOK

NewRetrieveLocalizedPolicyVersionsOK creates a RetrieveLocalizedPolicyVersionsOK with default headers values

func (*RetrieveLocalizedPolicyVersionsOK) Error

func (*RetrieveLocalizedPolicyVersionsOK) GetPayload

type RetrieveLocalizedPolicyVersionsParams

type RetrieveLocalizedPolicyVersionsParams struct {

	/*PolicyVersionID
	  Policy Version Id

	*/
	PolicyVersionID string

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

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

func NewRetrieveLocalizedPolicyVersionsParams

func NewRetrieveLocalizedPolicyVersionsParams() *RetrieveLocalizedPolicyVersionsParams

NewRetrieveLocalizedPolicyVersionsParams creates a new RetrieveLocalizedPolicyVersionsParams object with the default values initialized.

func NewRetrieveLocalizedPolicyVersionsParamsWithContext

func NewRetrieveLocalizedPolicyVersionsParamsWithContext(ctx context.Context) *RetrieveLocalizedPolicyVersionsParams

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

func NewRetrieveLocalizedPolicyVersionsParamsWithHTTPClient

func NewRetrieveLocalizedPolicyVersionsParamsWithHTTPClient(client *http.Client) *RetrieveLocalizedPolicyVersionsParams

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

func NewRetrieveLocalizedPolicyVersionsParamsWithTimeout

func NewRetrieveLocalizedPolicyVersionsParamsWithTimeout(timeout time.Duration) *RetrieveLocalizedPolicyVersionsParams

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

func (*RetrieveLocalizedPolicyVersionsParams) SetContext

SetContext adds the context to the retrieve localized policy versions params

func (*RetrieveLocalizedPolicyVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve localized policy versions params

func (*RetrieveLocalizedPolicyVersionsParams) SetPolicyVersionID

func (o *RetrieveLocalizedPolicyVersionsParams) SetPolicyVersionID(policyVersionID string)

SetPolicyVersionID adds the policyVersionId to the retrieve localized policy versions params

func (*RetrieveLocalizedPolicyVersionsParams) SetTimeout

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

SetTimeout adds the timeout to the retrieve localized policy versions params

func (*RetrieveLocalizedPolicyVersionsParams) WithContext

WithContext adds the context to the retrieve localized policy versions params

func (*RetrieveLocalizedPolicyVersionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve localized policy versions params

func (*RetrieveLocalizedPolicyVersionsParams) WithPolicyVersionID

WithPolicyVersionID adds the policyVersionID to the retrieve localized policy versions params

func (*RetrieveLocalizedPolicyVersionsParams) WithTimeout

WithTimeout adds the timeout to the retrieve localized policy versions params

func (*RetrieveLocalizedPolicyVersionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveLocalizedPolicyVersionsReader

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

RetrieveLocalizedPolicyVersionsReader is a Reader for the RetrieveLocalizedPolicyVersions structure.

func (*RetrieveLocalizedPolicyVersionsReader) ReadResponse

func (o *RetrieveLocalizedPolicyVersionsReader) 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>40038</td><td>errors.net.accelbyte.platform.legal.localized_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

type RetrieveSingleLocalizedPolicyVersion1OK

type RetrieveSingleLocalizedPolicyVersion1OK struct {
	Payload *legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse
}

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

type RetrieveSingleLocalizedPolicyVersion1Params

type RetrieveSingleLocalizedPolicyVersion1Params struct {

	/*LocalizedPolicyVersionID
	  Localized Policy Version Id

	*/
	LocalizedPolicyVersionID string

	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) 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) SetLocalizedPolicyVersionID

func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId 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) 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 RetrieveSingleLocalizedPolicyVersionBadRequest

type RetrieveSingleLocalizedPolicyVersionBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveSingleLocalizedPolicyVersionBadRequest 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.invalid_policy_version</td></tr></table>

func NewRetrieveSingleLocalizedPolicyVersionBadRequest

func NewRetrieveSingleLocalizedPolicyVersionBadRequest() *RetrieveSingleLocalizedPolicyVersionBadRequest

NewRetrieveSingleLocalizedPolicyVersionBadRequest creates a RetrieveSingleLocalizedPolicyVersionBadRequest with default headers values

func (*RetrieveSingleLocalizedPolicyVersionBadRequest) Error

func (*RetrieveSingleLocalizedPolicyVersionBadRequest) GetPayload

type RetrieveSingleLocalizedPolicyVersionOK

type RetrieveSingleLocalizedPolicyVersionOK struct {
	Payload *legalclientmodels.UpdateLocalizedPolicyVersionResponse
}

RetrieveSingleLocalizedPolicyVersionOK handles this case with default header values.

successful operation

func NewRetrieveSingleLocalizedPolicyVersionOK

func NewRetrieveSingleLocalizedPolicyVersionOK() *RetrieveSingleLocalizedPolicyVersionOK

NewRetrieveSingleLocalizedPolicyVersionOK creates a RetrieveSingleLocalizedPolicyVersionOK with default headers values

func (*RetrieveSingleLocalizedPolicyVersionOK) Error

func (*RetrieveSingleLocalizedPolicyVersionOK) GetPayload

type RetrieveSingleLocalizedPolicyVersionParams

type RetrieveSingleLocalizedPolicyVersionParams struct {

	/*LocalizedPolicyVersionID
	  Localized Policy Version Id

	*/
	LocalizedPolicyVersionID string

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

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

func NewRetrieveSingleLocalizedPolicyVersionParams

func NewRetrieveSingleLocalizedPolicyVersionParams() *RetrieveSingleLocalizedPolicyVersionParams

NewRetrieveSingleLocalizedPolicyVersionParams creates a new RetrieveSingleLocalizedPolicyVersionParams object with the default values initialized.

func NewRetrieveSingleLocalizedPolicyVersionParamsWithContext

func NewRetrieveSingleLocalizedPolicyVersionParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersionParams

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

func NewRetrieveSingleLocalizedPolicyVersionParamsWithHTTPClient

func NewRetrieveSingleLocalizedPolicyVersionParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersionParams

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

func NewRetrieveSingleLocalizedPolicyVersionParamsWithTimeout

func NewRetrieveSingleLocalizedPolicyVersionParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersionParams

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

func (*RetrieveSingleLocalizedPolicyVersionParams) SetContext

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

func (*RetrieveSingleLocalizedPolicyVersionParams) SetHTTPClient

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

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

func (*RetrieveSingleLocalizedPolicyVersionParams) SetLocalizedPolicyVersionID

func (o *RetrieveSingleLocalizedPolicyVersionParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

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

func (*RetrieveSingleLocalizedPolicyVersionParams) SetTimeout

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

func (*RetrieveSingleLocalizedPolicyVersionParams) WithContext

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

func (*RetrieveSingleLocalizedPolicyVersionParams) WithHTTPClient

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

func (*RetrieveSingleLocalizedPolicyVersionParams) WithLocalizedPolicyVersionID

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

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

func (*RetrieveSingleLocalizedPolicyVersionParams) WithTimeout

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

func (*RetrieveSingleLocalizedPolicyVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveSingleLocalizedPolicyVersionReader

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

RetrieveSingleLocalizedPolicyVersionReader is a Reader for the RetrieveSingleLocalizedPolicyVersion structure.

func (*RetrieveSingleLocalizedPolicyVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetDefaultPolicyOK

type SetDefaultPolicyOK struct {
}

SetDefaultPolicyOK handles this case with default header values.

successful operation

func NewSetDefaultPolicyOK

func NewSetDefaultPolicyOK() *SetDefaultPolicyOK

NewSetDefaultPolicyOK creates a SetDefaultPolicyOK with default headers values

func (*SetDefaultPolicyOK) Error

func (o *SetDefaultPolicyOK) Error() string

type SetDefaultPolicyParams

type SetDefaultPolicyParams struct {

	/*LocalizedPolicyVersionID
	  Localized Policy Version Id

	*/
	LocalizedPolicyVersionID string

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

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

func NewSetDefaultPolicyParams

func NewSetDefaultPolicyParams() *SetDefaultPolicyParams

NewSetDefaultPolicyParams creates a new SetDefaultPolicyParams object with the default values initialized.

func NewSetDefaultPolicyParamsWithContext

func NewSetDefaultPolicyParamsWithContext(ctx context.Context) *SetDefaultPolicyParams

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

func NewSetDefaultPolicyParamsWithHTTPClient

func NewSetDefaultPolicyParamsWithHTTPClient(client *http.Client) *SetDefaultPolicyParams

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

func NewSetDefaultPolicyParamsWithTimeout

func NewSetDefaultPolicyParamsWithTimeout(timeout time.Duration) *SetDefaultPolicyParams

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

func (*SetDefaultPolicyParams) SetContext

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

SetContext adds the context to the set default policy params

func (*SetDefaultPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set default policy params

func (*SetDefaultPolicyParams) SetLocalizedPolicyVersionID

func (o *SetDefaultPolicyParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the set default policy params

func (*SetDefaultPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the set default policy params

func (*SetDefaultPolicyParams) WithContext

WithContext adds the context to the set default policy params

func (*SetDefaultPolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set default policy params

func (*SetDefaultPolicyParams) WithLocalizedPolicyVersionID

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

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the set default policy params

func (*SetDefaultPolicyParams) WithTimeout

WithTimeout adds the timeout to the set default policy params

func (*SetDefaultPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetDefaultPolicyReader

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

SetDefaultPolicyReader is a Reader for the SetDefaultPolicy structure.

func (*SetDefaultPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateLocalizedPolicyVersionBadRequest

type UpdateLocalizedPolicyVersionBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

UpdateLocalizedPolicyVersionBadRequest 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 NewUpdateLocalizedPolicyVersionBadRequest

func NewUpdateLocalizedPolicyVersionBadRequest() *UpdateLocalizedPolicyVersionBadRequest

NewUpdateLocalizedPolicyVersionBadRequest creates a UpdateLocalizedPolicyVersionBadRequest with default headers values

func (*UpdateLocalizedPolicyVersionBadRequest) Error

func (*UpdateLocalizedPolicyVersionBadRequest) GetPayload

type UpdateLocalizedPolicyVersionOK

type UpdateLocalizedPolicyVersionOK struct {
	Payload *legalclientmodels.UpdateLocalizedPolicyVersionResponse
}

UpdateLocalizedPolicyVersionOK handles this case with default header values.

successful operation

func NewUpdateLocalizedPolicyVersionOK

func NewUpdateLocalizedPolicyVersionOK() *UpdateLocalizedPolicyVersionOK

NewUpdateLocalizedPolicyVersionOK creates a UpdateLocalizedPolicyVersionOK with default headers values

func (*UpdateLocalizedPolicyVersionOK) Error

func (*UpdateLocalizedPolicyVersionOK) GetPayload

type UpdateLocalizedPolicyVersionParams

type UpdateLocalizedPolicyVersionParams struct {

	/*Body*/
	Body *legalclientmodels.UpdateLocalizedPolicyVersionRequest
	/*LocalizedPolicyVersionID
	  Localized Policy Version Id

	*/
	LocalizedPolicyVersionID string

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

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

func NewUpdateLocalizedPolicyVersionParams

func NewUpdateLocalizedPolicyVersionParams() *UpdateLocalizedPolicyVersionParams

NewUpdateLocalizedPolicyVersionParams creates a new UpdateLocalizedPolicyVersionParams object with the default values initialized.

func NewUpdateLocalizedPolicyVersionParamsWithContext

func NewUpdateLocalizedPolicyVersionParamsWithContext(ctx context.Context) *UpdateLocalizedPolicyVersionParams

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

func NewUpdateLocalizedPolicyVersionParamsWithHTTPClient

func NewUpdateLocalizedPolicyVersionParamsWithHTTPClient(client *http.Client) *UpdateLocalizedPolicyVersionParams

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

func NewUpdateLocalizedPolicyVersionParamsWithTimeout

func NewUpdateLocalizedPolicyVersionParamsWithTimeout(timeout time.Duration) *UpdateLocalizedPolicyVersionParams

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

func (*UpdateLocalizedPolicyVersionParams) SetBody

SetBody adds the body to the update localized policy version params

func (*UpdateLocalizedPolicyVersionParams) SetContext

SetContext adds the context to the update localized policy version params

func (*UpdateLocalizedPolicyVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update localized policy version params

func (*UpdateLocalizedPolicyVersionParams) SetLocalizedPolicyVersionID

func (o *UpdateLocalizedPolicyVersionParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the update localized policy version params

func (*UpdateLocalizedPolicyVersionParams) SetTimeout

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

SetTimeout adds the timeout to the update localized policy version params

func (*UpdateLocalizedPolicyVersionParams) WithBody

WithBody adds the body to the update localized policy version params

func (*UpdateLocalizedPolicyVersionParams) WithContext

WithContext adds the context to the update localized policy version params

func (*UpdateLocalizedPolicyVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update localized policy version params

func (*UpdateLocalizedPolicyVersionParams) WithLocalizedPolicyVersionID

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

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the update localized policy version params

func (*UpdateLocalizedPolicyVersionParams) WithTimeout

WithTimeout adds the timeout to the update localized policy version params

func (*UpdateLocalizedPolicyVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateLocalizedPolicyVersionReader

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

UpdateLocalizedPolicyVersionReader is a Reader for the UpdateLocalizedPolicyVersion structure.

func (*UpdateLocalizedPolicyVersionReader) ReadResponse

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