base_legal_policies

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 16 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 base legal policies API

func (*Client) CreatePolicy deprecated

Deprecated: Use CreatePolicyShort instead.

CreatePolicy creates a base legal policy

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

func (*Client) CreatePolicyShort added in v0.8.0

func (a *Client) CreatePolicyShort(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, error)

CreatePolicyShort creates a base legal policy

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

func (*Client) PartialUpdatePolicy deprecated

Deprecated: Use PartialUpdatePolicyShort instead.

PartialUpdatePolicy updates base legal policy

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

func (*Client) PartialUpdatePolicyShort added in v0.8.0

func (a *Client) PartialUpdatePolicyShort(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, error)

PartialUpdatePolicyShort updates base legal policy

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

func (*Client) RetrieveAllLegalPolicies deprecated

func (a *Client) RetrieveAllLegalPolicies(params *RetrieveAllLegalPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesOK, error)

Deprecated: Use RetrieveAllLegalPoliciesShort instead.

RetrieveAllLegalPolicies retrieves all base legal policy

Retrieve all base policies.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveAllLegalPoliciesShort added in v0.8.0

func (a *Client) RetrieveAllLegalPoliciesShort(params *RetrieveAllLegalPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesOK, error)

RetrieveAllLegalPoliciesShort retrieves all base legal policy

Retrieve all base policies.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveAllPolicyTypes deprecated

func (a *Client) RetrieveAllPolicyTypes(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)

Deprecated: Use RetrieveAllPolicyTypesShort instead.

RetrieveAllPolicyTypes retrieves all policy type

Retrieve all supported policy types.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveAllPolicyTypesShort added in v0.8.0

func (a *Client) RetrieveAllPolicyTypesShort(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)

RetrieveAllPolicyTypesShort retrieves all policy type

Retrieve all supported policy types.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrievePolicyCountry deprecated

Deprecated: Use RetrievePolicyCountryShort instead.

RetrievePolicyCountry retrieves a base legal policy based on a particular country

Retrieve a Base Legal Policy based on a Particular Country.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrievePolicyCountryShort added in v0.8.0

func (a *Client) RetrievePolicyCountryShort(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, error)

RetrievePolicyCountryShort retrieves a base legal policy based on a particular country

Retrieve a Base Legal Policy based on a Particular Country.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveSinglePolicy deprecated

Deprecated: Use RetrieveSinglePolicyShort instead.

RetrieveSinglePolicy retrieves a base legal policy

Retrieve a base policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>

func (*Client) RetrieveSinglePolicyShort added in v0.8.0

func (a *Client) RetrieveSinglePolicyShort(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, error)

RetrieveSinglePolicyShort retrieves a base legal policy

Retrieve a base policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, *CreatePolicyBadRequest, *CreatePolicyNotFound, *CreatePolicyUnprocessableEntity, error)
	CreatePolicyShort(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, error)
	PartialUpdatePolicy(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, *PartialUpdatePolicyBadRequest, *PartialUpdatePolicyNotFound, error)
	PartialUpdatePolicyShort(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, error)
	RetrieveAllLegalPolicies(params *RetrieveAllLegalPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesOK, error)
	RetrieveAllLegalPoliciesShort(params *RetrieveAllLegalPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesOK, error)
	RetrieveAllPolicyTypes(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)
	RetrieveAllPolicyTypesShort(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)
	RetrievePolicyCountry(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, *RetrievePolicyCountryNotFound, error)
	RetrievePolicyCountryShort(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, error)
	RetrieveSinglePolicy(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, *RetrieveSinglePolicyNotFound, error)
	RetrieveSinglePolicyShort(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, 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 base legal policies API client.

type CreatePolicyBadRequest added in v0.34.0

type CreatePolicyBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

CreatePolicyBadRequest 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.invalid_affected_client_id</td></tr></table>

func NewCreatePolicyBadRequest added in v0.34.0

func NewCreatePolicyBadRequest() *CreatePolicyBadRequest

NewCreatePolicyBadRequest creates a CreatePolicyBadRequest with default headers values

func (*CreatePolicyBadRequest) Error added in v0.34.0

func (o *CreatePolicyBadRequest) Error() string

func (*CreatePolicyBadRequest) GetPayload added in v0.34.0

func (*CreatePolicyBadRequest) ToJSONString added in v0.34.0

func (o *CreatePolicyBadRequest) ToJSONString() string

type CreatePolicyCreated

type CreatePolicyCreated struct {
	Payload *legalclientmodels.CreateBasePolicyResponse
}

CreatePolicyCreated handles this case with default header values.

successful operation

func NewCreatePolicyCreated

func NewCreatePolicyCreated() *CreatePolicyCreated

NewCreatePolicyCreated creates a CreatePolicyCreated with default headers values

func (*CreatePolicyCreated) Error

func (o *CreatePolicyCreated) Error() string

func (*CreatePolicyCreated) GetPayload

func (*CreatePolicyCreated) ToJSONString added in v0.25.0

func (o *CreatePolicyCreated) ToJSONString() string

type CreatePolicyNotFound added in v0.34.0

type CreatePolicyNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

CreatePolicyNotFound handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40030</td><td>errors.net.accelbyte.platform.legal.policy_type_not_exist</td></tr></table>

func NewCreatePolicyNotFound added in v0.34.0

func NewCreatePolicyNotFound() *CreatePolicyNotFound

NewCreatePolicyNotFound creates a CreatePolicyNotFound with default headers values

func (*CreatePolicyNotFound) Error added in v0.34.0

func (o *CreatePolicyNotFound) Error() string

func (*CreatePolicyNotFound) GetPayload added in v0.34.0

func (*CreatePolicyNotFound) ToJSONString added in v0.34.0

func (o *CreatePolicyNotFound) ToJSONString() string

type CreatePolicyParams

type CreatePolicyParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *legalclientmodels.CreateBasePolicyRequest

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

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

func NewCreatePolicyParams

func NewCreatePolicyParams() *CreatePolicyParams

NewCreatePolicyParams creates a new CreatePolicyParams object with the default values initialized.

func NewCreatePolicyParamsWithContext

func NewCreatePolicyParamsWithContext(ctx context.Context) *CreatePolicyParams

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

func NewCreatePolicyParamsWithHTTPClient

func NewCreatePolicyParamsWithHTTPClient(client *http.Client) *CreatePolicyParams

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

func NewCreatePolicyParamsWithTimeout

func NewCreatePolicyParamsWithTimeout(timeout time.Duration) *CreatePolicyParams

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

func (*CreatePolicyParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the create policy params

func (*CreatePolicyParams) SetBody

SetBody adds the body to the create policy params

func (*CreatePolicyParams) SetContext

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

SetContext adds the context to the create policy params

func (*CreatePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create policy params

func (*CreatePolicyParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the create policy params

func (*CreatePolicyParams) SetTimeout

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

SetTimeout adds the timeout to the create policy params

func (*CreatePolicyParams) WithBody

WithBody adds the body to the create policy params

func (*CreatePolicyParams) WithContext

WithContext adds the context to the create policy params

func (*CreatePolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create policy params

func (*CreatePolicyParams) WithTimeout

func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams

WithTimeout adds the timeout to the create policy params

func (*CreatePolicyParams) WriteToRequest

func (o *CreatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreatePolicyReader

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

CreatePolicyReader is a Reader for the CreatePolicy structure.

func (*CreatePolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePolicyUnprocessableEntity

type CreatePolicyUnprocessableEntity struct {
	Payload *legalclientmodels.ValidationErrorEntity
}

CreatePolicyUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewCreatePolicyUnprocessableEntity

func NewCreatePolicyUnprocessableEntity() *CreatePolicyUnprocessableEntity

NewCreatePolicyUnprocessableEntity creates a CreatePolicyUnprocessableEntity with default headers values

func (*CreatePolicyUnprocessableEntity) Error

func (*CreatePolicyUnprocessableEntity) GetPayload

func (*CreatePolicyUnprocessableEntity) ToJSONString added in v0.25.0

func (o *CreatePolicyUnprocessableEntity) ToJSONString() string

type PartialUpdatePolicyBadRequest

type PartialUpdatePolicyBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

PartialUpdatePolicyBadRequest handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40032</td><td>errors.net.accelbyte.platform.legal.invalid_base_policy</td></tr><tr><td>40038</td><td>errors.net.accelbyte.platform.legal.invalid_affected_client_id</td></tr></table>

func NewPartialUpdatePolicyBadRequest

func NewPartialUpdatePolicyBadRequest() *PartialUpdatePolicyBadRequest

NewPartialUpdatePolicyBadRequest creates a PartialUpdatePolicyBadRequest with default headers values

func (*PartialUpdatePolicyBadRequest) Error

func (*PartialUpdatePolicyBadRequest) GetPayload

func (*PartialUpdatePolicyBadRequest) ToJSONString added in v0.25.0

func (o *PartialUpdatePolicyBadRequest) ToJSONString() string

type PartialUpdatePolicyNotFound added in v0.34.0

type PartialUpdatePolicyNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

PartialUpdatePolicyNotFound handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40030</td><td>errors.net.accelbyte.platform.legal.policy_type_not_exist</td></tr></table>

func NewPartialUpdatePolicyNotFound added in v0.34.0

func NewPartialUpdatePolicyNotFound() *PartialUpdatePolicyNotFound

NewPartialUpdatePolicyNotFound creates a PartialUpdatePolicyNotFound with default headers values

func (*PartialUpdatePolicyNotFound) Error added in v0.34.0

func (*PartialUpdatePolicyNotFound) GetPayload added in v0.34.0

func (*PartialUpdatePolicyNotFound) ToJSONString added in v0.34.0

func (o *PartialUpdatePolicyNotFound) ToJSONString() string

type PartialUpdatePolicyOK

type PartialUpdatePolicyOK struct {
	Payload *legalclientmodels.UpdateBasePolicyResponse
}

PartialUpdatePolicyOK handles this case with default header values.

successful operation

func NewPartialUpdatePolicyOK

func NewPartialUpdatePolicyOK() *PartialUpdatePolicyOK

NewPartialUpdatePolicyOK creates a PartialUpdatePolicyOK with default headers values

func (*PartialUpdatePolicyOK) Error

func (o *PartialUpdatePolicyOK) Error() string

func (*PartialUpdatePolicyOK) GetPayload

func (*PartialUpdatePolicyOK) ToJSONString added in v0.25.0

func (o *PartialUpdatePolicyOK) ToJSONString() string

type PartialUpdatePolicyParams

type PartialUpdatePolicyParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*BasePolicyID
	  BasePolicy Id

	*/
	BasePolicyID string
	/*Body*/
	Body *legalclientmodels.UpdateBasePolicyRequest

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

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

func NewPartialUpdatePolicyParams

func NewPartialUpdatePolicyParams() *PartialUpdatePolicyParams

NewPartialUpdatePolicyParams creates a new PartialUpdatePolicyParams object with the default values initialized.

func NewPartialUpdatePolicyParamsWithContext

func NewPartialUpdatePolicyParamsWithContext(ctx context.Context) *PartialUpdatePolicyParams

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

func NewPartialUpdatePolicyParamsWithHTTPClient

func NewPartialUpdatePolicyParamsWithHTTPClient(client *http.Client) *PartialUpdatePolicyParams

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

func NewPartialUpdatePolicyParamsWithTimeout

func NewPartialUpdatePolicyParamsWithTimeout(timeout time.Duration) *PartialUpdatePolicyParams

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

func (*PartialUpdatePolicyParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the partial update policy params

func (*PartialUpdatePolicyParams) SetBasePolicyID

func (o *PartialUpdatePolicyParams) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the partial update policy params

func (*PartialUpdatePolicyParams) SetBody

SetBody adds the body to the partial update policy params

func (*PartialUpdatePolicyParams) SetContext

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

SetContext adds the context to the partial update policy params

func (*PartialUpdatePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the partial update policy params

func (*PartialUpdatePolicyParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the partial update policy params

func (*PartialUpdatePolicyParams) SetTimeout

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

SetTimeout adds the timeout to the partial update policy params

func (*PartialUpdatePolicyParams) WithBasePolicyID

func (o *PartialUpdatePolicyParams) WithBasePolicyID(basePolicyID string) *PartialUpdatePolicyParams

WithBasePolicyID adds the basePolicyID to the partial update policy params

func (*PartialUpdatePolicyParams) WithBody

WithBody adds the body to the partial update policy params

func (*PartialUpdatePolicyParams) WithContext

WithContext adds the context to the partial update policy params

func (*PartialUpdatePolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the partial update policy params

func (*PartialUpdatePolicyParams) WithTimeout

WithTimeout adds the timeout to the partial update policy params

func (*PartialUpdatePolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PartialUpdatePolicyReader

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

PartialUpdatePolicyReader is a Reader for the PartialUpdatePolicy structure.

func (*PartialUpdatePolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveAllLegalPoliciesOK

type RetrieveAllLegalPoliciesOK struct {
	Payload []*legalclientmodels.RetrieveBasePolicyResponse
}

RetrieveAllLegalPoliciesOK handles this case with default header values.

successful operation

func NewRetrieveAllLegalPoliciesOK

func NewRetrieveAllLegalPoliciesOK() *RetrieveAllLegalPoliciesOK

NewRetrieveAllLegalPoliciesOK creates a RetrieveAllLegalPoliciesOK with default headers values

func (*RetrieveAllLegalPoliciesOK) Error

func (*RetrieveAllLegalPoliciesOK) GetPayload

func (*RetrieveAllLegalPoliciesOK) ToJSONString added in v0.25.0

func (o *RetrieveAllLegalPoliciesOK) ToJSONString() string

type RetrieveAllLegalPoliciesParams

type RetrieveAllLegalPoliciesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

RetrieveAllLegalPoliciesParams contains all the parameters to send to the API endpoint for the retrieve all legal policies operation typically these are written to a http.Request

func NewRetrieveAllLegalPoliciesParams

func NewRetrieveAllLegalPoliciesParams() *RetrieveAllLegalPoliciesParams

NewRetrieveAllLegalPoliciesParams creates a new RetrieveAllLegalPoliciesParams object with the default values initialized.

func NewRetrieveAllLegalPoliciesParamsWithContext

func NewRetrieveAllLegalPoliciesParamsWithContext(ctx context.Context) *RetrieveAllLegalPoliciesParams

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

func NewRetrieveAllLegalPoliciesParamsWithHTTPClient

func NewRetrieveAllLegalPoliciesParamsWithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesParams

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

func NewRetrieveAllLegalPoliciesParamsWithTimeout

func NewRetrieveAllLegalPoliciesParamsWithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesParams

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

func (*RetrieveAllLegalPoliciesParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve all legal policies params

func (*RetrieveAllLegalPoliciesParams) SetContext

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

SetContext adds the context to the retrieve all legal policies params

func (*RetrieveAllLegalPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve all legal policies params

func (*RetrieveAllLegalPoliciesParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve all legal policies params

func (*RetrieveAllLegalPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the retrieve all legal policies params

func (*RetrieveAllLegalPoliciesParams) WithContext

WithContext adds the context to the retrieve all legal policies params

func (*RetrieveAllLegalPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve all legal policies params

func (*RetrieveAllLegalPoliciesParams) WithTimeout

WithTimeout adds the timeout to the retrieve all legal policies params

func (*RetrieveAllLegalPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveAllLegalPoliciesReader

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

RetrieveAllLegalPoliciesReader is a Reader for the RetrieveAllLegalPolicies structure.

func (*RetrieveAllLegalPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveAllPolicyTypesOK

type RetrieveAllPolicyTypesOK struct {
	Payload []*legalclientmodels.RetrievePolicyTypeResponse
}

RetrieveAllPolicyTypesOK handles this case with default header values.

successful operation

func NewRetrieveAllPolicyTypesOK

func NewRetrieveAllPolicyTypesOK() *RetrieveAllPolicyTypesOK

NewRetrieveAllPolicyTypesOK creates a RetrieveAllPolicyTypesOK with default headers values

func (*RetrieveAllPolicyTypesOK) Error

func (o *RetrieveAllPolicyTypesOK) Error() string

func (*RetrieveAllPolicyTypesOK) GetPayload

func (*RetrieveAllPolicyTypesOK) ToJSONString added in v0.25.0

func (o *RetrieveAllPolicyTypesOK) ToJSONString() string

type RetrieveAllPolicyTypesParams

type RetrieveAllPolicyTypesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit
	  Limit

	*/
	Limit int32
	/*Offset
	  Offset

	*/
	Offset *int32

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

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

func NewRetrieveAllPolicyTypesParams

func NewRetrieveAllPolicyTypesParams() *RetrieveAllPolicyTypesParams

NewRetrieveAllPolicyTypesParams creates a new RetrieveAllPolicyTypesParams object with the default values initialized.

func NewRetrieveAllPolicyTypesParamsWithContext

func NewRetrieveAllPolicyTypesParamsWithContext(ctx context.Context) *RetrieveAllPolicyTypesParams

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

func NewRetrieveAllPolicyTypesParamsWithHTTPClient

func NewRetrieveAllPolicyTypesParamsWithHTTPClient(client *http.Client) *RetrieveAllPolicyTypesParams

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

func NewRetrieveAllPolicyTypesParamsWithTimeout

func NewRetrieveAllPolicyTypesParamsWithTimeout(timeout time.Duration) *RetrieveAllPolicyTypesParams

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

func (*RetrieveAllPolicyTypesParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetContext

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

SetContext adds the context to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetLimit

func (o *RetrieveAllPolicyTypesParams) SetLimit(limit int32)

SetLimit adds the limit to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetOffset

func (o *RetrieveAllPolicyTypesParams) SetOffset(offset *int32)

SetOffset adds the offset to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetTimeout

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

SetTimeout adds the timeout to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WithContext

WithContext adds the context to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WithLimit

WithLimit adds the limit to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WithOffset

WithOffset adds the offset to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WithTimeout

WithTimeout adds the timeout to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveAllPolicyTypesReader

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

RetrieveAllPolicyTypesReader is a Reader for the RetrieveAllPolicyTypes structure.

func (*RetrieveAllPolicyTypesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrievePolicyCountryNotFound

type RetrievePolicyCountryNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrievePolicyCountryNotFound handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40041</td><td>errors.net.accelbyte.platform.legal.policy_not_found</td></tr></table>

func NewRetrievePolicyCountryNotFound

func NewRetrievePolicyCountryNotFound() *RetrievePolicyCountryNotFound

NewRetrievePolicyCountryNotFound creates a RetrievePolicyCountryNotFound with default headers values

func (*RetrievePolicyCountryNotFound) Error

func (*RetrievePolicyCountryNotFound) GetPayload

func (*RetrievePolicyCountryNotFound) ToJSONString added in v0.25.0

func (o *RetrievePolicyCountryNotFound) ToJSONString() string

type RetrievePolicyCountryOK

type RetrievePolicyCountryOK struct {
	Payload *legalclientmodels.RetrievePolicyResponse
}

RetrievePolicyCountryOK handles this case with default header values.

successful operation

func NewRetrievePolicyCountryOK

func NewRetrievePolicyCountryOK() *RetrievePolicyCountryOK

NewRetrievePolicyCountryOK creates a RetrievePolicyCountryOK with default headers values

func (*RetrievePolicyCountryOK) Error

func (o *RetrievePolicyCountryOK) Error() string

func (*RetrievePolicyCountryOK) GetPayload

func (*RetrievePolicyCountryOK) ToJSONString added in v0.25.0

func (o *RetrievePolicyCountryOK) ToJSONString() string

type RetrievePolicyCountryParams

type RetrievePolicyCountryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*BasePolicyID
	  BasePolicy Id

	*/
	BasePolicyID string
	/*CountryCode
	  Country Code

	*/
	CountryCode string

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

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

func NewRetrievePolicyCountryParams

func NewRetrievePolicyCountryParams() *RetrievePolicyCountryParams

NewRetrievePolicyCountryParams creates a new RetrievePolicyCountryParams object with the default values initialized.

func NewRetrievePolicyCountryParamsWithContext

func NewRetrievePolicyCountryParamsWithContext(ctx context.Context) *RetrievePolicyCountryParams

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

func NewRetrievePolicyCountryParamsWithHTTPClient

func NewRetrievePolicyCountryParamsWithHTTPClient(client *http.Client) *RetrievePolicyCountryParams

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

func NewRetrievePolicyCountryParamsWithTimeout

func NewRetrievePolicyCountryParamsWithTimeout(timeout time.Duration) *RetrievePolicyCountryParams

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

func (*RetrievePolicyCountryParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetBasePolicyID

func (o *RetrievePolicyCountryParams) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetContext

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

SetContext adds the context to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetCountryCode

func (o *RetrievePolicyCountryParams) SetCountryCode(countryCode string)

SetCountryCode adds the countryCode to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetTimeout

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

SetTimeout adds the timeout to the retrieve policy country params

func (*RetrievePolicyCountryParams) WithBasePolicyID

func (o *RetrievePolicyCountryParams) WithBasePolicyID(basePolicyID string) *RetrievePolicyCountryParams

WithBasePolicyID adds the basePolicyID to the retrieve policy country params

func (*RetrievePolicyCountryParams) WithContext

WithContext adds the context to the retrieve policy country params

func (*RetrievePolicyCountryParams) WithCountryCode

func (o *RetrievePolicyCountryParams) WithCountryCode(countryCode string) *RetrievePolicyCountryParams

WithCountryCode adds the countryCode to the retrieve policy country params

func (*RetrievePolicyCountryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve policy country params

func (*RetrievePolicyCountryParams) WithTimeout

WithTimeout adds the timeout to the retrieve policy country params

func (*RetrievePolicyCountryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrievePolicyCountryReader

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

RetrievePolicyCountryReader is a Reader for the RetrievePolicyCountry structure.

func (*RetrievePolicyCountryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveSinglePolicyNotFound

type RetrieveSinglePolicyNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveSinglePolicyNotFound handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40031</td><td>errors.net.accelbyte.platform.legal.base_policy_not_found</td></tr></table>

func NewRetrieveSinglePolicyNotFound

func NewRetrieveSinglePolicyNotFound() *RetrieveSinglePolicyNotFound

NewRetrieveSinglePolicyNotFound creates a RetrieveSinglePolicyNotFound with default headers values

func (*RetrieveSinglePolicyNotFound) Error

func (*RetrieveSinglePolicyNotFound) GetPayload

func (*RetrieveSinglePolicyNotFound) ToJSONString added in v0.25.0

func (o *RetrieveSinglePolicyNotFound) ToJSONString() string

type RetrieveSinglePolicyOK

type RetrieveSinglePolicyOK struct {
	Payload *legalclientmodels.RetrieveBasePolicyResponse
}

RetrieveSinglePolicyOK handles this case with default header values.

successful operation

func NewRetrieveSinglePolicyOK

func NewRetrieveSinglePolicyOK() *RetrieveSinglePolicyOK

NewRetrieveSinglePolicyOK creates a RetrieveSinglePolicyOK with default headers values

func (*RetrieveSinglePolicyOK) Error

func (o *RetrieveSinglePolicyOK) Error() string

func (*RetrieveSinglePolicyOK) GetPayload

func (*RetrieveSinglePolicyOK) ToJSONString added in v0.25.0

func (o *RetrieveSinglePolicyOK) ToJSONString() string

type RetrieveSinglePolicyParams

type RetrieveSinglePolicyParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*BasePolicyID
	  BasePolicy Id

	*/
	BasePolicyID string

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

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

func NewRetrieveSinglePolicyParams

func NewRetrieveSinglePolicyParams() *RetrieveSinglePolicyParams

NewRetrieveSinglePolicyParams creates a new RetrieveSinglePolicyParams object with the default values initialized.

func NewRetrieveSinglePolicyParamsWithContext

func NewRetrieveSinglePolicyParamsWithContext(ctx context.Context) *RetrieveSinglePolicyParams

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

func NewRetrieveSinglePolicyParamsWithHTTPClient

func NewRetrieveSinglePolicyParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicyParams

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

func NewRetrieveSinglePolicyParamsWithTimeout

func NewRetrieveSinglePolicyParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicyParams

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

func (*RetrieveSinglePolicyParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetBasePolicyID

func (o *RetrieveSinglePolicyParams) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetContext

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

SetContext adds the context to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetTimeout

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

SetTimeout adds the timeout to the retrieve single policy params

func (*RetrieveSinglePolicyParams) WithBasePolicyID

func (o *RetrieveSinglePolicyParams) WithBasePolicyID(basePolicyID string) *RetrieveSinglePolicyParams

WithBasePolicyID adds the basePolicyID to the retrieve single policy params

func (*RetrieveSinglePolicyParams) WithContext

WithContext adds the context to the retrieve single policy params

func (*RetrieveSinglePolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve single policy params

func (*RetrieveSinglePolicyParams) WithTimeout

WithTimeout adds the timeout to the retrieve single policy params

func (*RetrieveSinglePolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveSinglePolicyReader

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

RetrieveSinglePolicyReader is a Reader for the RetrieveSinglePolicy structure.

func (*RetrieveSinglePolicyReader) ReadResponse

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