localized_policy_versions_with_namespace

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for localized policy versions with namespace API

func (*Client) CreateLocalizedPolicyVersion1Short

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

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

func (*Client) DeleteLocalizedPolicyShort

func (a *Client) DeleteLocalizedPolicyShort(params *DeleteLocalizedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalizedPolicyResponse, error)

DeleteLocalizedPolicyShort delete localized policy Delete localized version policy. Can only be deleted if match these criteria:

  • Policy Version that this localized policy version belongs to is not active
  • Has never been accepted by any user

func (*Client) RequestPresignedURL1Short

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

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

func (*Client) RetrieveLocalizedPolicyVersions1Short

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

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

func (*Client) RetrieveSingleLocalizedPolicyVersion1Short

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

func (*Client) RetrieveSingleLocalizedPolicyVersion3Short

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

RetrieveSingleLocalizedPolicyVersion3Short 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) SetDefaultPolicy1Short

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

SetDefaultPolicy1Short 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) UpdateLocalizedPolicyVersion1Short

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

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

type ClientService

type ClientService interface {
	DeleteLocalizedPolicyShort(params *DeleteLocalizedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalizedPolicyResponse, error)
	RetrieveLocalizedPolicyVersions1Short(params *RetrieveLocalizedPolicyVersions1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersions1Response, error)
	CreateLocalizedPolicyVersion1Short(params *CreateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersion1Response, error)
	RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersion1Response, error)
	UpdateLocalizedPolicyVersion1Short(params *UpdateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersion1Response, error)
	RequestPresignedURL1Short(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURL1Response, error)
	SetDefaultPolicy1Short(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1Response, error)
	RetrieveSingleLocalizedPolicyVersion3Short(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3Response, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new localized policy versions with namespace API client.

type CreateLocalizedPolicyVersion1BadRequest

type CreateLocalizedPolicyVersion1BadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

CreateLocalizedPolicyVersion1BadRequest handles this case with default header values.

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

func NewCreateLocalizedPolicyVersion1BadRequest

func NewCreateLocalizedPolicyVersion1BadRequest() *CreateLocalizedPolicyVersion1BadRequest

NewCreateLocalizedPolicyVersion1BadRequest creates a CreateLocalizedPolicyVersion1BadRequest with default headers values

func (*CreateLocalizedPolicyVersion1BadRequest) Error

func (*CreateLocalizedPolicyVersion1BadRequest) GetPayload

func (*CreateLocalizedPolicyVersion1BadRequest) ToJSONString

type CreateLocalizedPolicyVersion1Conflict

type CreateLocalizedPolicyVersion1Conflict struct {
	Payload *legalclientmodels.ErrorEntity
}

CreateLocalizedPolicyVersion1Conflict handles this case with default header values.

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

func NewCreateLocalizedPolicyVersion1Conflict

func NewCreateLocalizedPolicyVersion1Conflict() *CreateLocalizedPolicyVersion1Conflict

NewCreateLocalizedPolicyVersion1Conflict creates a CreateLocalizedPolicyVersion1Conflict with default headers values

func (*CreateLocalizedPolicyVersion1Conflict) Error

func (*CreateLocalizedPolicyVersion1Conflict) GetPayload

func (*CreateLocalizedPolicyVersion1Conflict) ToJSONString

type CreateLocalizedPolicyVersion1Created

type CreateLocalizedPolicyVersion1Created struct {
	Payload *legalclientmodels.CreateLocalizedPolicyVersionResponse
}

CreateLocalizedPolicyVersion1Created handles this case with default header values.

successful operation

func NewCreateLocalizedPolicyVersion1Created

func NewCreateLocalizedPolicyVersion1Created() *CreateLocalizedPolicyVersion1Created

NewCreateLocalizedPolicyVersion1Created creates a CreateLocalizedPolicyVersion1Created with default headers values

func (*CreateLocalizedPolicyVersion1Created) Error

func (*CreateLocalizedPolicyVersion1Created) GetPayload

func (*CreateLocalizedPolicyVersion1Created) ToJSONString

func (o *CreateLocalizedPolicyVersion1Created) ToJSONString() string

type CreateLocalizedPolicyVersion1Params

type CreateLocalizedPolicyVersion1Params struct {

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

	*/
	Namespace string
	/*PolicyVersionID
	  Policy Version Id

	*/
	PolicyVersionID string

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

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

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

func NewCreateLocalizedPolicyVersion1Params

func NewCreateLocalizedPolicyVersion1Params() *CreateLocalizedPolicyVersion1Params

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

func NewCreateLocalizedPolicyVersion1ParamsWithContext

func NewCreateLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *CreateLocalizedPolicyVersion1Params

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

func NewCreateLocalizedPolicyVersion1ParamsWithHTTPClient

func NewCreateLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *CreateLocalizedPolicyVersion1Params

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

func NewCreateLocalizedPolicyVersion1ParamsWithTimeout

func NewCreateLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *CreateLocalizedPolicyVersion1Params

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

func (*CreateLocalizedPolicyVersion1Params) SetAuthInfoWriter

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

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

func (*CreateLocalizedPolicyVersion1Params) SetBody

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

func (*CreateLocalizedPolicyVersion1Params) SetContext

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

func (*CreateLocalizedPolicyVersion1Params) SetFlightId

func (o *CreateLocalizedPolicyVersion1Params) SetFlightId(flightId string)

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

func (*CreateLocalizedPolicyVersion1Params) SetHTTPClient

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

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

func (*CreateLocalizedPolicyVersion1Params) SetHTTPClientTransport

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

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

func (*CreateLocalizedPolicyVersion1Params) SetNamespace

func (o *CreateLocalizedPolicyVersion1Params) SetNamespace(namespace string)

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

func (*CreateLocalizedPolicyVersion1Params) SetPolicyVersionID

func (o *CreateLocalizedPolicyVersion1Params) SetPolicyVersionID(policyVersionID string)

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

func (*CreateLocalizedPolicyVersion1Params) SetTimeout

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

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

func (*CreateLocalizedPolicyVersion1Params) WithBody

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

func (*CreateLocalizedPolicyVersion1Params) WithContext

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

func (*CreateLocalizedPolicyVersion1Params) WithHTTPClient

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

func (*CreateLocalizedPolicyVersion1Params) WithNamespace

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

func (*CreateLocalizedPolicyVersion1Params) WithPolicyVersionID

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

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

func (*CreateLocalizedPolicyVersion1Params) WithTimeout

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

func (*CreateLocalizedPolicyVersion1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateLocalizedPolicyVersion1Reader

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

CreateLocalizedPolicyVersion1Reader is a Reader for the CreateLocalizedPolicyVersion1 structure.

func (*CreateLocalizedPolicyVersion1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLocalizedPolicyBadRequest

type DeleteLocalizedPolicyBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

DeleteLocalizedPolicyBadRequest handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40075</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_is_published_and_already_accepted_by_user</td></tr><tr><td>40076</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_is_active</td></tr></table>

func NewDeleteLocalizedPolicyBadRequest

func NewDeleteLocalizedPolicyBadRequest() *DeleteLocalizedPolicyBadRequest

NewDeleteLocalizedPolicyBadRequest creates a DeleteLocalizedPolicyBadRequest with default headers values

func (*DeleteLocalizedPolicyBadRequest) Error

func (*DeleteLocalizedPolicyBadRequest) GetPayload

func (*DeleteLocalizedPolicyBadRequest) ToJSONString

func (o *DeleteLocalizedPolicyBadRequest) ToJSONString() string

type DeleteLocalizedPolicyNoContent

type DeleteLocalizedPolicyNoContent struct {
}

DeleteLocalizedPolicyNoContent handles this case with default header values.

successful operation

func NewDeleteLocalizedPolicyNoContent

func NewDeleteLocalizedPolicyNoContent() *DeleteLocalizedPolicyNoContent

NewDeleteLocalizedPolicyNoContent creates a DeleteLocalizedPolicyNoContent with default headers values

func (*DeleteLocalizedPolicyNoContent) Error

type DeleteLocalizedPolicyParams

type DeleteLocalizedPolicyParams struct {

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

	*/
	LocalizedPolicyVersionID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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

func NewDeleteLocalizedPolicyParams

func NewDeleteLocalizedPolicyParams() *DeleteLocalizedPolicyParams

NewDeleteLocalizedPolicyParams creates a new DeleteLocalizedPolicyParams object with the default values initialized.

func NewDeleteLocalizedPolicyParamsWithContext

func NewDeleteLocalizedPolicyParamsWithContext(ctx context.Context) *DeleteLocalizedPolicyParams

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

func NewDeleteLocalizedPolicyParamsWithHTTPClient

func NewDeleteLocalizedPolicyParamsWithHTTPClient(client *http.Client) *DeleteLocalizedPolicyParams

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

func NewDeleteLocalizedPolicyParamsWithTimeout

func NewDeleteLocalizedPolicyParamsWithTimeout(timeout time.Duration) *DeleteLocalizedPolicyParams

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

func (*DeleteLocalizedPolicyParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete localized policy params

func (*DeleteLocalizedPolicyParams) SetContext

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

SetContext adds the context to the delete localized policy params

func (*DeleteLocalizedPolicyParams) SetFlightId

func (o *DeleteLocalizedPolicyParams) SetFlightId(flightId string)

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

func (*DeleteLocalizedPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete localized policy params

func (*DeleteLocalizedPolicyParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete localized policy params

func (*DeleteLocalizedPolicyParams) SetLocalizedPolicyVersionID

func (o *DeleteLocalizedPolicyParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the delete localized policy params

func (*DeleteLocalizedPolicyParams) SetNamespace

func (o *DeleteLocalizedPolicyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete localized policy params

func (*DeleteLocalizedPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the delete localized policy params

func (*DeleteLocalizedPolicyParams) WithContext

WithContext adds the context to the delete localized policy params

func (*DeleteLocalizedPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete localized policy params

func (*DeleteLocalizedPolicyParams) WithLocalizedPolicyVersionID

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

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the delete localized policy params

func (*DeleteLocalizedPolicyParams) WithNamespace

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

WithNamespace adds the namespace to the delete localized policy params

func (*DeleteLocalizedPolicyParams) WithTimeout

WithTimeout adds the timeout to the delete localized policy params

func (*DeleteLocalizedPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLocalizedPolicyReader

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

DeleteLocalizedPolicyReader is a Reader for the DeleteLocalizedPolicy structure.

func (*DeleteLocalizedPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLocalizedPolicyResponse

type DeleteLocalizedPolicyResponse struct {
	legalclientmodels.ApiResponse

	Error400 *legalclientmodels.ErrorEntity
}

func (*DeleteLocalizedPolicyResponse) Unpack

type RequestPresignedURL1BadRequest

type RequestPresignedURL1BadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

RequestPresignedURL1BadRequest handles this case with default header values.

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

func NewRequestPresignedURL1BadRequest

func NewRequestPresignedURL1BadRequest() *RequestPresignedURL1BadRequest

NewRequestPresignedURL1BadRequest creates a RequestPresignedURL1BadRequest with default headers values

func (*RequestPresignedURL1BadRequest) Error

func (*RequestPresignedURL1BadRequest) GetPayload

func (*RequestPresignedURL1BadRequest) ToJSONString

func (o *RequestPresignedURL1BadRequest) ToJSONString() string

type RequestPresignedURL1Created

type RequestPresignedURL1Created struct {
	Payload *legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse
}

RequestPresignedURL1Created handles this case with default header values.

successful operation

func NewRequestPresignedURL1Created

func NewRequestPresignedURL1Created() *RequestPresignedURL1Created

NewRequestPresignedURL1Created creates a RequestPresignedURL1Created with default headers values

func (*RequestPresignedURL1Created) Error

func (*RequestPresignedURL1Created) ToJSONString

func (o *RequestPresignedURL1Created) ToJSONString() string

type RequestPresignedURL1Params

type RequestPresignedURL1Params struct {

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

	*/
	LocalizedPolicyVersionID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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

func NewRequestPresignedURL1Params

func NewRequestPresignedURL1Params() *RequestPresignedURL1Params

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

func NewRequestPresignedURL1ParamsWithContext

func NewRequestPresignedURL1ParamsWithContext(ctx context.Context) *RequestPresignedURL1Params

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

func NewRequestPresignedURL1ParamsWithHTTPClient

func NewRequestPresignedURL1ParamsWithHTTPClient(client *http.Client) *RequestPresignedURL1Params

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

func NewRequestPresignedURL1ParamsWithTimeout

func NewRequestPresignedURL1ParamsWithTimeout(timeout time.Duration) *RequestPresignedURL1Params

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

func (*RequestPresignedURL1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the request presigned url 1 params

func (*RequestPresignedURL1Params) SetBody

SetBody adds the body to the request presigned url 1 params

func (*RequestPresignedURL1Params) SetContext

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

SetContext adds the context to the request presigned url 1 params

func (*RequestPresignedURL1Params) SetFlightId

func (o *RequestPresignedURL1Params) SetFlightId(flightId string)

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

func (*RequestPresignedURL1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the request presigned url 1 params

func (*RequestPresignedURL1Params) SetHTTPClientTransport

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

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

func (*RequestPresignedURL1Params) SetLocalizedPolicyVersionID

func (o *RequestPresignedURL1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the request presigned url 1 params

func (*RequestPresignedURL1Params) SetNamespace

func (o *RequestPresignedURL1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the request presigned url 1 params

func (*RequestPresignedURL1Params) SetTimeout

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

SetTimeout adds the timeout to the request presigned url 1 params

func (*RequestPresignedURL1Params) WithBody

WithBody adds the body to the request presigned url 1 params

func (*RequestPresignedURL1Params) WithContext

WithContext adds the context to the request presigned url 1 params

func (*RequestPresignedURL1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the request presigned url 1 params

func (*RequestPresignedURL1Params) WithLocalizedPolicyVersionID

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

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the request presigned url 1 params

func (*RequestPresignedURL1Params) WithNamespace

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

WithNamespace adds the namespace to the request presigned url 1 params

func (*RequestPresignedURL1Params) WithTimeout

WithTimeout adds the timeout to the request presigned url 1 params

func (*RequestPresignedURL1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestPresignedURL1Reader

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

RequestPresignedURL1Reader is a Reader for the RequestPresignedURL1 structure.

func (*RequestPresignedURL1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveLocalizedPolicyVersions1OK

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

RetrieveLocalizedPolicyVersions1OK handles this case with default header values.

successful operation

func NewRetrieveLocalizedPolicyVersions1OK

func NewRetrieveLocalizedPolicyVersions1OK() *RetrieveLocalizedPolicyVersions1OK

NewRetrieveLocalizedPolicyVersions1OK creates a RetrieveLocalizedPolicyVersions1OK with default headers values

func (*RetrieveLocalizedPolicyVersions1OK) Error

func (*RetrieveLocalizedPolicyVersions1OK) GetPayload

func (*RetrieveLocalizedPolicyVersions1OK) ToJSONString

func (o *RetrieveLocalizedPolicyVersions1OK) ToJSONString() string

type RetrieveLocalizedPolicyVersions1Params

type RetrieveLocalizedPolicyVersions1Params struct {

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

	*/
	Namespace string
	/*PolicyVersionID
	  Policy Version Id

	*/
	PolicyVersionID string

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

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

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

func NewRetrieveLocalizedPolicyVersions1Params

func NewRetrieveLocalizedPolicyVersions1Params() *RetrieveLocalizedPolicyVersions1Params

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

func NewRetrieveLocalizedPolicyVersions1ParamsWithContext

func NewRetrieveLocalizedPolicyVersions1ParamsWithContext(ctx context.Context) *RetrieveLocalizedPolicyVersions1Params

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

func NewRetrieveLocalizedPolicyVersions1ParamsWithHTTPClient

func NewRetrieveLocalizedPolicyVersions1ParamsWithHTTPClient(client *http.Client) *RetrieveLocalizedPolicyVersions1Params

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

func NewRetrieveLocalizedPolicyVersions1ParamsWithTimeout

func NewRetrieveLocalizedPolicyVersions1ParamsWithTimeout(timeout time.Duration) *RetrieveLocalizedPolicyVersions1Params

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

func (*RetrieveLocalizedPolicyVersions1Params) SetAuthInfoWriter

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

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

func (*RetrieveLocalizedPolicyVersions1Params) SetContext

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

func (*RetrieveLocalizedPolicyVersions1Params) SetFlightId

func (o *RetrieveLocalizedPolicyVersions1Params) SetFlightId(flightId string)

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

func (*RetrieveLocalizedPolicyVersions1Params) SetHTTPClient

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

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

func (*RetrieveLocalizedPolicyVersions1Params) SetHTTPClientTransport

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

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

func (*RetrieveLocalizedPolicyVersions1Params) SetNamespace

func (o *RetrieveLocalizedPolicyVersions1Params) SetNamespace(namespace string)

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

func (*RetrieveLocalizedPolicyVersions1Params) SetPolicyVersionID

func (o *RetrieveLocalizedPolicyVersions1Params) SetPolicyVersionID(policyVersionID string)

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

func (*RetrieveLocalizedPolicyVersions1Params) SetTimeout

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

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

func (*RetrieveLocalizedPolicyVersions1Params) WithContext

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

func (*RetrieveLocalizedPolicyVersions1Params) WithHTTPClient

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

func (*RetrieveLocalizedPolicyVersions1Params) WithNamespace

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

func (*RetrieveLocalizedPolicyVersions1Params) WithPolicyVersionID

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

func (*RetrieveLocalizedPolicyVersions1Params) WithTimeout

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

func (*RetrieveLocalizedPolicyVersions1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveLocalizedPolicyVersions1Reader

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

RetrieveLocalizedPolicyVersions1Reader is a Reader for the RetrieveLocalizedPolicyVersions1 structure.

func (*RetrieveLocalizedPolicyVersions1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveSingleLocalizedPolicyVersion1NotFound

type RetrieveSingleLocalizedPolicyVersion1NotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveSingleLocalizedPolicyVersion1NotFound handles this case with default header values.

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

func NewRetrieveSingleLocalizedPolicyVersion1NotFound

func NewRetrieveSingleLocalizedPolicyVersion1NotFound() *RetrieveSingleLocalizedPolicyVersion1NotFound

NewRetrieveSingleLocalizedPolicyVersion1NotFound creates a RetrieveSingleLocalizedPolicyVersion1NotFound with default headers values

func (*RetrieveSingleLocalizedPolicyVersion1NotFound) Error

func (*RetrieveSingleLocalizedPolicyVersion1NotFound) GetPayload

func (*RetrieveSingleLocalizedPolicyVersion1NotFound) ToJSONString

type RetrieveSingleLocalizedPolicyVersion1OK

type RetrieveSingleLocalizedPolicyVersion1OK struct {
	Payload *legalclientmodels.RetrieveLocalizedPolicyVersionResponse
}

RetrieveSingleLocalizedPolicyVersion1OK handles this case with default header values.

successful operation

func NewRetrieveSingleLocalizedPolicyVersion1OK

func NewRetrieveSingleLocalizedPolicyVersion1OK() *RetrieveSingleLocalizedPolicyVersion1OK

NewRetrieveSingleLocalizedPolicyVersion1OK creates a RetrieveSingleLocalizedPolicyVersion1OK with default headers values

func (*RetrieveSingleLocalizedPolicyVersion1OK) Error

func (*RetrieveSingleLocalizedPolicyVersion1OK) GetPayload

func (*RetrieveSingleLocalizedPolicyVersion1OK) ToJSONString

type RetrieveSingleLocalizedPolicyVersion1Params

type RetrieveSingleLocalizedPolicyVersion1Params struct {

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

	*/
	LocalizedPolicyVersionID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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

func NewRetrieveSingleLocalizedPolicyVersion1Params

func NewRetrieveSingleLocalizedPolicyVersion1Params() *RetrieveSingleLocalizedPolicyVersion1Params

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

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion1Params

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

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion1Params

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

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout

func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion1Params

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetAuthInfoWriter

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

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetContext

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetFlightId

func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetFlightId(flightId string)

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClient

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

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClientTransport

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

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID

func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetNamespace

func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetNamespace(namespace string)

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) SetTimeout

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) WithContext

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) WithHTTPClient

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID

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

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) WithNamespace

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) WithTimeout

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

func (*RetrieveSingleLocalizedPolicyVersion1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveSingleLocalizedPolicyVersion1Reader

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

RetrieveSingleLocalizedPolicyVersion1Reader is a Reader for the RetrieveSingleLocalizedPolicyVersion1 structure.

func (*RetrieveSingleLocalizedPolicyVersion1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveSingleLocalizedPolicyVersion3Forbidden

type RetrieveSingleLocalizedPolicyVersion3Forbidden struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveSingleLocalizedPolicyVersion3Forbidden handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40081</td><td>errors.net.accelbyte.platform.legal.policy_not_accessible</td></tr></table>

func NewRetrieveSingleLocalizedPolicyVersion3Forbidden

func NewRetrieveSingleLocalizedPolicyVersion3Forbidden() *RetrieveSingleLocalizedPolicyVersion3Forbidden

NewRetrieveSingleLocalizedPolicyVersion3Forbidden creates a RetrieveSingleLocalizedPolicyVersion3Forbidden with default headers values

func (*RetrieveSingleLocalizedPolicyVersion3Forbidden) Error

func (*RetrieveSingleLocalizedPolicyVersion3Forbidden) GetPayload

func (*RetrieveSingleLocalizedPolicyVersion3Forbidden) ToJSONString

type RetrieveSingleLocalizedPolicyVersion3NotFound

type RetrieveSingleLocalizedPolicyVersion3NotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveSingleLocalizedPolicyVersion3NotFound handles this case with default header values.

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

func NewRetrieveSingleLocalizedPolicyVersion3NotFound

func NewRetrieveSingleLocalizedPolicyVersion3NotFound() *RetrieveSingleLocalizedPolicyVersion3NotFound

NewRetrieveSingleLocalizedPolicyVersion3NotFound creates a RetrieveSingleLocalizedPolicyVersion3NotFound with default headers values

func (*RetrieveSingleLocalizedPolicyVersion3NotFound) Error

func (*RetrieveSingleLocalizedPolicyVersion3NotFound) GetPayload

func (*RetrieveSingleLocalizedPolicyVersion3NotFound) ToJSONString

type RetrieveSingleLocalizedPolicyVersion3OK

type RetrieveSingleLocalizedPolicyVersion3OK struct {
	Payload *legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse
}

RetrieveSingleLocalizedPolicyVersion3OK handles this case with default header values.

successful operation

func NewRetrieveSingleLocalizedPolicyVersion3OK

func NewRetrieveSingleLocalizedPolicyVersion3OK() *RetrieveSingleLocalizedPolicyVersion3OK

NewRetrieveSingleLocalizedPolicyVersion3OK creates a RetrieveSingleLocalizedPolicyVersion3OK with default headers values

func (*RetrieveSingleLocalizedPolicyVersion3OK) Error

func (*RetrieveSingleLocalizedPolicyVersion3OK) GetPayload

func (*RetrieveSingleLocalizedPolicyVersion3OK) ToJSONString

type RetrieveSingleLocalizedPolicyVersion3Params

type RetrieveSingleLocalizedPolicyVersion3Params struct {

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

	*/
	LocalizedPolicyVersionID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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

func NewRetrieveSingleLocalizedPolicyVersion3Params

func NewRetrieveSingleLocalizedPolicyVersion3Params() *RetrieveSingleLocalizedPolicyVersion3Params

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

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithContext

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion3Params

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

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithHTTPClient

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion3Params

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

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithTimeout

func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion3Params

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetAuthInfoWriter

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

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetContext

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetFlightId

func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetFlightId(flightId string)

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetHTTPClient

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

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetHTTPClientTransport

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

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetLocalizedPolicyVersionID

func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetNamespace

func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetNamespace(namespace string)

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) SetTimeout

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) WithContext

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) WithHTTPClient

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) WithLocalizedPolicyVersionID

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

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) WithNamespace

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) WithTimeout

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

func (*RetrieveSingleLocalizedPolicyVersion3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveSingleLocalizedPolicyVersion3Reader

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

RetrieveSingleLocalizedPolicyVersion3Reader is a Reader for the RetrieveSingleLocalizedPolicyVersion3 structure.

func (*RetrieveSingleLocalizedPolicyVersion3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetDefaultPolicy1OK

type SetDefaultPolicy1OK struct {
}

SetDefaultPolicy1OK handles this case with default header values.

successful operation

func NewSetDefaultPolicy1OK

func NewSetDefaultPolicy1OK() *SetDefaultPolicy1OK

NewSetDefaultPolicy1OK creates a SetDefaultPolicy1OK with default headers values

func (*SetDefaultPolicy1OK) Error

func (o *SetDefaultPolicy1OK) Error() string

type SetDefaultPolicy1Params

type SetDefaultPolicy1Params struct {

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

	*/
	LocalizedPolicyVersionID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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

func NewSetDefaultPolicy1Params

func NewSetDefaultPolicy1Params() *SetDefaultPolicy1Params

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

func NewSetDefaultPolicy1ParamsWithContext

func NewSetDefaultPolicy1ParamsWithContext(ctx context.Context) *SetDefaultPolicy1Params

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

func NewSetDefaultPolicy1ParamsWithHTTPClient

func NewSetDefaultPolicy1ParamsWithHTTPClient(client *http.Client) *SetDefaultPolicy1Params

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

func NewSetDefaultPolicy1ParamsWithTimeout

func NewSetDefaultPolicy1ParamsWithTimeout(timeout time.Duration) *SetDefaultPolicy1Params

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

func (*SetDefaultPolicy1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the set default policy 1 params

func (*SetDefaultPolicy1Params) SetContext

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

SetContext adds the context to the set default policy 1 params

func (*SetDefaultPolicy1Params) SetFlightId

func (o *SetDefaultPolicy1Params) SetFlightId(flightId string)

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

func (*SetDefaultPolicy1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set default policy 1 params

func (*SetDefaultPolicy1Params) SetHTTPClientTransport

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

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

func (*SetDefaultPolicy1Params) SetLocalizedPolicyVersionID

func (o *SetDefaultPolicy1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the set default policy 1 params

func (*SetDefaultPolicy1Params) SetNamespace

func (o *SetDefaultPolicy1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the set default policy 1 params

func (*SetDefaultPolicy1Params) SetTimeout

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

SetTimeout adds the timeout to the set default policy 1 params

func (*SetDefaultPolicy1Params) WithContext

WithContext adds the context to the set default policy 1 params

func (*SetDefaultPolicy1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set default policy 1 params

func (*SetDefaultPolicy1Params) WithLocalizedPolicyVersionID

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

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the set default policy 1 params

func (*SetDefaultPolicy1Params) WithNamespace

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

WithNamespace adds the namespace to the set default policy 1 params

func (*SetDefaultPolicy1Params) WithTimeout

WithTimeout adds the timeout to the set default policy 1 params

func (*SetDefaultPolicy1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetDefaultPolicy1Reader

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

SetDefaultPolicy1Reader is a Reader for the SetDefaultPolicy1 structure.

func (*SetDefaultPolicy1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetDefaultPolicy1Response

type SetDefaultPolicy1Response struct {
	legalclientmodels.ApiResponse
}

func (*SetDefaultPolicy1Response) Unpack

type UpdateLocalizedPolicyVersion1BadRequest

type UpdateLocalizedPolicyVersion1BadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

UpdateLocalizedPolicyVersion1BadRequest handles this case with default header values.

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

func NewUpdateLocalizedPolicyVersion1BadRequest

func NewUpdateLocalizedPolicyVersion1BadRequest() *UpdateLocalizedPolicyVersion1BadRequest

NewUpdateLocalizedPolicyVersion1BadRequest creates a UpdateLocalizedPolicyVersion1BadRequest with default headers values

func (*UpdateLocalizedPolicyVersion1BadRequest) Error

func (*UpdateLocalizedPolicyVersion1BadRequest) GetPayload

func (*UpdateLocalizedPolicyVersion1BadRequest) ToJSONString

type UpdateLocalizedPolicyVersion1OK

type UpdateLocalizedPolicyVersion1OK struct {
	Payload *legalclientmodels.UpdateLocalizedPolicyVersionResponse
}

UpdateLocalizedPolicyVersion1OK handles this case with default header values.

successful operation

func NewUpdateLocalizedPolicyVersion1OK

func NewUpdateLocalizedPolicyVersion1OK() *UpdateLocalizedPolicyVersion1OK

NewUpdateLocalizedPolicyVersion1OK creates a UpdateLocalizedPolicyVersion1OK with default headers values

func (*UpdateLocalizedPolicyVersion1OK) Error

func (*UpdateLocalizedPolicyVersion1OK) GetPayload

func (*UpdateLocalizedPolicyVersion1OK) ToJSONString

func (o *UpdateLocalizedPolicyVersion1OK) ToJSONString() string

type UpdateLocalizedPolicyVersion1Params

type UpdateLocalizedPolicyVersion1Params struct {

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

	*/
	LocalizedPolicyVersionID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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

func NewUpdateLocalizedPolicyVersion1Params

func NewUpdateLocalizedPolicyVersion1Params() *UpdateLocalizedPolicyVersion1Params

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

func NewUpdateLocalizedPolicyVersion1ParamsWithContext

func NewUpdateLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *UpdateLocalizedPolicyVersion1Params

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

func NewUpdateLocalizedPolicyVersion1ParamsWithHTTPClient

func NewUpdateLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *UpdateLocalizedPolicyVersion1Params

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

func NewUpdateLocalizedPolicyVersion1ParamsWithTimeout

func NewUpdateLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *UpdateLocalizedPolicyVersion1Params

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

func (*UpdateLocalizedPolicyVersion1Params) SetAuthInfoWriter

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

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

func (*UpdateLocalizedPolicyVersion1Params) SetBody

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

func (*UpdateLocalizedPolicyVersion1Params) SetContext

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

func (*UpdateLocalizedPolicyVersion1Params) SetFlightId

func (o *UpdateLocalizedPolicyVersion1Params) SetFlightId(flightId string)

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

func (*UpdateLocalizedPolicyVersion1Params) SetHTTPClient

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

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

func (*UpdateLocalizedPolicyVersion1Params) SetHTTPClientTransport

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

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

func (*UpdateLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID

func (o *UpdateLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

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

func (*UpdateLocalizedPolicyVersion1Params) SetNamespace

func (o *UpdateLocalizedPolicyVersion1Params) SetNamespace(namespace string)

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

func (*UpdateLocalizedPolicyVersion1Params) SetTimeout

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

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

func (*UpdateLocalizedPolicyVersion1Params) WithBody

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

func (*UpdateLocalizedPolicyVersion1Params) WithContext

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

func (*UpdateLocalizedPolicyVersion1Params) WithHTTPClient

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

func (*UpdateLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID

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

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

func (*UpdateLocalizedPolicyVersion1Params) WithNamespace

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

func (*UpdateLocalizedPolicyVersion1Params) WithTimeout

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

func (*UpdateLocalizedPolicyVersion1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateLocalizedPolicyVersion1Reader

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

UpdateLocalizedPolicyVersion1Reader is a Reader for the UpdateLocalizedPolicyVersion1 structure.

func (*UpdateLocalizedPolicyVersion1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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