localized_policy_versions

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 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 API

func (*Client) CreateLocalizedPolicyVersion deprecated

Deprecated: 2022-08-10 - Use CreateLocalizedPolicyVersionShort instead.

CreateLocalizedPolicyVersion create a localized version from country-specific policy Create a version of a particular country-specific policy.

func (*Client) CreateLocalizedPolicyVersionShort added in v0.8.0

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

CreateLocalizedPolicyVersionShort create a localized version from country-specific policy Create a version of a particular country-specific policy.

func (*Client) RequestPresignedURL deprecated

Deprecated: 2022-08-10 - Use RequestPresignedURLShort instead.

RequestPresignedURL request presigned url for upload document Request presigned URL for upload attachment for a particular localized version of base policy.

func (*Client) RequestPresignedURLShort added in v0.8.0

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

RequestPresignedURLShort request presigned url for upload document Request presigned URL for upload attachment for a particular localized version of base policy.

func (*Client) RetrieveLocalizedPolicyVersions deprecated

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

Deprecated: 2022-08-10 - Use RetrieveLocalizedPolicyVersionsShort instead.

RetrieveLocalizedPolicyVersions retrieve versions from country-specific policy Retrieve versions of a particular country-specific policy.

func (*Client) RetrieveLocalizedPolicyVersionsShort added in v0.8.0

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

RetrieveLocalizedPolicyVersionsShort retrieve versions from country-specific policy Retrieve versions of a particular country-specific policy.

func (*Client) RetrieveSingleLocalizedPolicyVersion deprecated

Deprecated: 2022-08-10 - Use RetrieveSingleLocalizedPolicyVersionShort instead.

RetrieveSingleLocalizedPolicyVersion retrieve a localized version from country-specific policy Retrieve a version of a particular country-specific policy.

func (*Client) RetrieveSingleLocalizedPolicyVersion2 deprecated added in v0.38.0

Deprecated: 2022-08-10 - Use RetrieveSingleLocalizedPolicyVersion2Short instead.

RetrieveSingleLocalizedPolicyVersion2 retrieve a localized version Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located. Other detail info:

func (*Client) RetrieveSingleLocalizedPolicyVersion2Short added in v0.38.0

func (a *Client) RetrieveSingleLocalizedPolicyVersion2Short(params *RetrieveSingleLocalizedPolicyVersion2Params) (*RetrieveSingleLocalizedPolicyVersion2OK, error)

RetrieveSingleLocalizedPolicyVersion2Short retrieve a localized version Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located. Other detail info:

func (*Client) RetrieveSingleLocalizedPolicyVersionShort added in v0.8.0

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

RetrieveSingleLocalizedPolicyVersionShort retrieve a localized version from country-specific policy Retrieve a version of a particular country-specific policy.

func (*Client) SetDefaultPolicy deprecated

Deprecated: 2022-08-10 - Use SetDefaultPolicyShort instead.

SetDefaultPolicy set default localized policy Update a localized version policy to be the default.

func (*Client) SetDefaultPolicyShort added in v0.8.0

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

SetDefaultPolicyShort set default localized policy Update a localized version policy to be the default.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateLocalizedPolicyVersion deprecated

Deprecated: 2022-08-10 - Use UpdateLocalizedPolicyVersionShort instead.

UpdateLocalizedPolicyVersion update a localized version from country-specific policy Update a version of a particular country-specific policy.

func (*Client) UpdateLocalizedPolicyVersionShort added in v0.8.0

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

UpdateLocalizedPolicyVersionShort update a localized version from country-specific policy Update a version of a particular country-specific policy.

type ClientService

type ClientService interface {
	RetrieveLocalizedPolicyVersions(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error)
	RetrieveLocalizedPolicyVersionsShort(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error)
	CreateLocalizedPolicyVersion(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, *CreateLocalizedPolicyVersionBadRequest, *CreateLocalizedPolicyVersionConflict, error)
	CreateLocalizedPolicyVersionShort(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, error)
	RetrieveSingleLocalizedPolicyVersion(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, *RetrieveSingleLocalizedPolicyVersionNotFound, error)
	RetrieveSingleLocalizedPolicyVersionShort(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, error)
	UpdateLocalizedPolicyVersion(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, *UpdateLocalizedPolicyVersionBadRequest, error)
	UpdateLocalizedPolicyVersionShort(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, error)
	RequestPresignedURL(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, *RequestPresignedURLBadRequest, error)
	RequestPresignedURLShort(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, error)
	SetDefaultPolicy(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, *SetDefaultPolicyBadRequest, error)
	SetDefaultPolicyShort(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error)
	RetrieveSingleLocalizedPolicyVersion2(params *RetrieveSingleLocalizedPolicyVersion2Params) (*RetrieveSingleLocalizedPolicyVersion2OK, *RetrieveSingleLocalizedPolicyVersion2NotFound, error)
	RetrieveSingleLocalizedPolicyVersion2Short(params *RetrieveSingleLocalizedPolicyVersion2Params) (*RetrieveSingleLocalizedPolicyVersion2OK, 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

func (*CreateLocalizedPolicyVersionBadRequest) ToJSONString added in v0.25.0

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

func (*CreateLocalizedPolicyVersionConflict) ToJSONString added in v0.25.0

func (o *CreateLocalizedPolicyVersionConflict) ToJSONString() string

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

func (*CreateLocalizedPolicyVersionCreated) ToJSONString added in v0.25.0

func (o *CreateLocalizedPolicyVersionCreated) ToJSONString() string

type CreateLocalizedPolicyVersionParams

type CreateLocalizedPolicyVersionParams struct {

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

	*/
	PolicyVersionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the create localized policy version params

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) SetFlightId added in v0.63.0

func (o *CreateLocalizedPolicyVersionParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CreateLocalizedPolicyVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create localized policy version params

func (*CreateLocalizedPolicyVersionParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport 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

func (*RequestPresignedURLBadRequest) ToJSONString added in v0.25.0

func (o *RequestPresignedURLBadRequest) ToJSONString() string

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

func (*RequestPresignedURLCreated) ToJSONString added in v0.25.0

func (o *RequestPresignedURLCreated) ToJSONString() string

type RequestPresignedURLParams

type RequestPresignedURLParams struct {

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

	*/
	LocalizedPolicyVersionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the request presigned url params

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) SetFlightId added in v0.63.0

func (o *RequestPresignedURLParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RequestPresignedURLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the request presigned url params

func (*RequestPresignedURLParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport 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

func (*RetrieveLocalizedPolicyVersionsOK) ToJSONString added in v0.25.0

func (o *RetrieveLocalizedPolicyVersionsOK) ToJSONString() string

type RetrieveLocalizedPolicyVersionsParams

type RetrieveLocalizedPolicyVersionsParams struct {

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

	*/
	PolicyVersionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve localized policy versions params

func (*RetrieveLocalizedPolicyVersionsParams) SetContext

SetContext adds the context to the retrieve localized policy versions params

func (*RetrieveLocalizedPolicyVersionsParams) SetFlightId added in v0.63.0

func (o *RetrieveLocalizedPolicyVersionsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RetrieveLocalizedPolicyVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve localized policy versions params

func (*RetrieveLocalizedPolicyVersionsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport 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 RetrieveSingleLocalizedPolicyVersion2NotFound added in v0.38.0

type RetrieveSingleLocalizedPolicyVersion2NotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveSingleLocalizedPolicyVersion2NotFound 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 NewRetrieveSingleLocalizedPolicyVersion2NotFound added in v0.38.0

func NewRetrieveSingleLocalizedPolicyVersion2NotFound() *RetrieveSingleLocalizedPolicyVersion2NotFound

NewRetrieveSingleLocalizedPolicyVersion2NotFound creates a RetrieveSingleLocalizedPolicyVersion2NotFound with default headers values

func (*RetrieveSingleLocalizedPolicyVersion2NotFound) Error added in v0.38.0

func (*RetrieveSingleLocalizedPolicyVersion2NotFound) GetPayload added in v0.38.0

func (*RetrieveSingleLocalizedPolicyVersion2NotFound) ToJSONString added in v0.38.0

type RetrieveSingleLocalizedPolicyVersion2OK added in v0.38.0

type RetrieveSingleLocalizedPolicyVersion2OK struct {
	Payload *legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse
}

RetrieveSingleLocalizedPolicyVersion2OK handles this case with default header values.

successful operation

func NewRetrieveSingleLocalizedPolicyVersion2OK added in v0.38.0

func NewRetrieveSingleLocalizedPolicyVersion2OK() *RetrieveSingleLocalizedPolicyVersion2OK

NewRetrieveSingleLocalizedPolicyVersion2OK creates a RetrieveSingleLocalizedPolicyVersion2OK with default headers values

func (*RetrieveSingleLocalizedPolicyVersion2OK) Error added in v0.38.0

func (*RetrieveSingleLocalizedPolicyVersion2OK) GetPayload added in v0.38.0

func (*RetrieveSingleLocalizedPolicyVersion2OK) ToJSONString added in v0.38.0

type RetrieveSingleLocalizedPolicyVersion2Params added in v0.38.0

type RetrieveSingleLocalizedPolicyVersion2Params struct {

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

	*/
	LocalizedPolicyVersionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewRetrieveSingleLocalizedPolicyVersion2Params added in v0.38.0

func NewRetrieveSingleLocalizedPolicyVersion2Params() *RetrieveSingleLocalizedPolicyVersion2Params

NewRetrieveSingleLocalizedPolicyVersion2Params creates a new RetrieveSingleLocalizedPolicyVersion2Params object with the default values initialized.

func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithContext added in v0.38.0

func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion2Params

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

func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithHTTPClient added in v0.38.0

func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion2Params

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

func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithTimeout added in v0.38.0

func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion2Params

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

func (*RetrieveSingleLocalizedPolicyVersion2Params) SetAuthInfoWriter added in v0.38.0

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

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

func (*RetrieveSingleLocalizedPolicyVersion2Params) SetContext added in v0.38.0

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

func (*RetrieveSingleLocalizedPolicyVersion2Params) SetFlightId added in v0.63.0

func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RetrieveSingleLocalizedPolicyVersion2Params) SetHTTPClient added in v0.38.0

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

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

func (*RetrieveSingleLocalizedPolicyVersion2Params) SetHTTPClientTransport added in v0.38.0

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

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

func (*RetrieveSingleLocalizedPolicyVersion2Params) SetLocalizedPolicyVersionID added in v0.38.0

func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

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

func (*RetrieveSingleLocalizedPolicyVersion2Params) SetTimeout added in v0.38.0

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

func (*RetrieveSingleLocalizedPolicyVersion2Params) WithContext added in v0.38.0

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

func (*RetrieveSingleLocalizedPolicyVersion2Params) WithHTTPClient added in v0.38.0

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

func (*RetrieveSingleLocalizedPolicyVersion2Params) WithLocalizedPolicyVersionID added in v0.38.0

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

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

func (*RetrieveSingleLocalizedPolicyVersion2Params) WithTimeout added in v0.38.0

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

func (*RetrieveSingleLocalizedPolicyVersion2Params) WriteToRequest added in v0.38.0

WriteToRequest writes these params to a swagger request

type RetrieveSingleLocalizedPolicyVersion2Reader added in v0.38.0

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

RetrieveSingleLocalizedPolicyVersion2Reader is a Reader for the RetrieveSingleLocalizedPolicyVersion2 structure.

func (*RetrieveSingleLocalizedPolicyVersion2Reader) ReadResponse added in v0.38.0

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

ReadResponse reads a server response into the received o.

type RetrieveSingleLocalizedPolicyVersionNotFound added in v0.34.0

type RetrieveSingleLocalizedPolicyVersionNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveSingleLocalizedPolicyVersionNotFound 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 NewRetrieveSingleLocalizedPolicyVersionNotFound added in v0.34.0

func NewRetrieveSingleLocalizedPolicyVersionNotFound() *RetrieveSingleLocalizedPolicyVersionNotFound

NewRetrieveSingleLocalizedPolicyVersionNotFound creates a RetrieveSingleLocalizedPolicyVersionNotFound with default headers values

func (*RetrieveSingleLocalizedPolicyVersionNotFound) Error added in v0.34.0

func (*RetrieveSingleLocalizedPolicyVersionNotFound) GetPayload added in v0.34.0

func (*RetrieveSingleLocalizedPolicyVersionNotFound) ToJSONString added in v0.34.0

type RetrieveSingleLocalizedPolicyVersionOK

type RetrieveSingleLocalizedPolicyVersionOK struct {
	Payload *legalclientmodels.RetrieveLocalizedPolicyVersionResponse
}

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

func (*RetrieveSingleLocalizedPolicyVersionOK) ToJSONString added in v0.25.0

type RetrieveSingleLocalizedPolicyVersionParams

type RetrieveSingleLocalizedPolicyVersionParams struct {

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

	*/
	LocalizedPolicyVersionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

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

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

func (*RetrieveSingleLocalizedPolicyVersionParams) SetContext

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

func (*RetrieveSingleLocalizedPolicyVersionParams) SetFlightId added in v0.63.0

func (o *RetrieveSingleLocalizedPolicyVersionParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RetrieveSingleLocalizedPolicyVersionParams) SetHTTPClient

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

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

func (*RetrieveSingleLocalizedPolicyVersionParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport 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 SetDefaultPolicyBadRequest added in v0.34.0

type SetDefaultPolicyBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

SetDefaultPolicyBadRequest 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_localize_policy_version</td></tr></table>

func NewSetDefaultPolicyBadRequest added in v0.34.0

func NewSetDefaultPolicyBadRequest() *SetDefaultPolicyBadRequest

NewSetDefaultPolicyBadRequest creates a SetDefaultPolicyBadRequest with default headers values

func (*SetDefaultPolicyBadRequest) Error added in v0.34.0

func (*SetDefaultPolicyBadRequest) GetPayload added in v0.34.0

func (*SetDefaultPolicyBadRequest) ToJSONString added in v0.34.0

func (o *SetDefaultPolicyBadRequest) ToJSONString() string

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 {

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

	*/
	LocalizedPolicyVersionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the set default policy params

func (*SetDefaultPolicyParams) SetContext

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

SetContext adds the context to the set default policy params

func (*SetDefaultPolicyParams) SetFlightId added in v0.63.0

func (o *SetDefaultPolicyParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*SetDefaultPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set default policy params

func (*SetDefaultPolicyParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport 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

func (*UpdateLocalizedPolicyVersionBadRequest) ToJSONString added in v0.25.0

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

func (*UpdateLocalizedPolicyVersionOK) ToJSONString added in v0.25.0

func (o *UpdateLocalizedPolicyVersionOK) ToJSONString() string

type UpdateLocalizedPolicyVersionParams

type UpdateLocalizedPolicyVersionParams struct {

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

	*/
	LocalizedPolicyVersionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the update localized policy version params

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) SetFlightId added in v0.63.0

func (o *UpdateLocalizedPolicyVersionParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateLocalizedPolicyVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update localized policy version params

func (*UpdateLocalizedPolicyVersionParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport 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