base_legal_policies

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 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: 2022-08-10 - Use CreatePolicyShort instead.

CreatePolicy create a base legal policy Create a legal policy. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=1 (CREATE)

func (*Client) CreatePolicyShort

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

CreatePolicyShort create a base legal policy Create a legal policy. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=1 (CREATE)

func (*Client) PartialUpdatePolicy deprecated

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

PartialUpdatePolicy update base legal policy Update an existing base policy. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=4 (UPDATE)

func (*Client) PartialUpdatePolicyShort

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

PartialUpdatePolicyShort update base legal policy Update an existing base policy. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=4 (UPDATE)

func (*Client) RetrieveAllLegalPolicies deprecated

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

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

RetrieveAllLegalPolicies retrieve all base legal policy Retrieve all base policies. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) RetrieveAllLegalPoliciesShort

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

RetrieveAllLegalPoliciesShort retrieve all base legal policy Retrieve all base policies. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) RetrieveAllPolicyTypes deprecated

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

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

RetrieveAllPolicyTypes retrieve all policy type Retrieve all supported policy types. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) RetrieveAllPolicyTypesShort

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

RetrieveAllPolicyTypesShort retrieve all policy type Retrieve all supported policy types. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) RetrievePolicyCountry deprecated

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

RetrievePolicyCountry retrieve a base legal policy based on a particular country Retrieve a Base Legal Policy based on a Particular Country. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) RetrievePolicyCountryShort

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

RetrievePolicyCountryShort retrieve a base legal policy based on a particular country Retrieve a Base Legal Policy based on a Particular Country. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) RetrieveSinglePolicy deprecated

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

RetrieveSinglePolicy retrieve a base legal policy Retrieve a base policy. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) RetrieveSinglePolicyShort

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

RetrieveSinglePolicyShort retrieve a base legal policy Retrieve a base policy. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

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

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><tr><td>40026</td><td>errors.net.accelbyte.platform.legal.not_allow_create_studio_policy</td></tr></table>

func NewCreatePolicyBadRequest

func NewCreatePolicyBadRequest() *CreatePolicyBadRequest

NewCreatePolicyBadRequest creates a CreatePolicyBadRequest with default headers values

func (*CreatePolicyBadRequest) Error

func (o *CreatePolicyBadRequest) Error() string

func (*CreatePolicyBadRequest) GetPayload

func (*CreatePolicyBadRequest) ToJSONString

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

func (o *CreatePolicyCreated) ToJSONString() string

type CreatePolicyNotFound

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

func NewCreatePolicyNotFound() *CreatePolicyNotFound

NewCreatePolicyNotFound creates a CreatePolicyNotFound with default headers values

func (*CreatePolicyNotFound) Error

func (o *CreatePolicyNotFound) Error() string

func (*CreatePolicyNotFound) GetPayload

func (*CreatePolicyNotFound) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *CreatePolicyParams) SetFlightId(flightId string)

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

func (*CreatePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create policy params

func (*CreatePolicyParams) SetHTTPClientTransport

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

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

func (o *PartialUpdatePolicyBadRequest) ToJSONString() string

type PartialUpdatePolicyNotFound

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

func NewPartialUpdatePolicyNotFound() *PartialUpdatePolicyNotFound

NewPartialUpdatePolicyNotFound creates a PartialUpdatePolicyNotFound with default headers values

func (*PartialUpdatePolicyNotFound) Error

func (*PartialUpdatePolicyNotFound) GetPayload

func (*PartialUpdatePolicyNotFound) ToJSONString

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

func (o *PartialUpdatePolicyOK) ToJSONString() string

type PartialUpdatePolicyParams

type PartialUpdatePolicyParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *legalclientmodels.UpdateBasePolicyRequest
	/*BasePolicyID
	  BasePolicy Id

	*/
	BasePolicyID 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
}

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

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

func (o *PartialUpdatePolicyParams) SetFlightId(flightId string)

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

func (*PartialUpdatePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the partial update policy params

func (*PartialUpdatePolicyParams) SetHTTPClientTransport

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

func (o *RetrieveAllLegalPoliciesOK) ToJSONString() string

type RetrieveAllLegalPoliciesParams

type RetrieveAllLegalPoliciesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *RetrieveAllLegalPoliciesParams) SetFlightId(flightId string)

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

func (*RetrieveAllLegalPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve all legal policies params

func (*RetrieveAllLegalPoliciesParams) SetHTTPClientTransport

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

func (o *RetrieveAllPolicyTypesOK) ToJSONString() string

type RetrieveAllPolicyTypesParams

type RetrieveAllPolicyTypesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Offset
	  Offset

	*/
	Offset *int32
	/*Limit
	  Limit

	*/
	Limit int32

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *RetrieveAllPolicyTypesParams) SetFlightId(flightId string)

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

func (*RetrieveAllPolicyTypesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetHTTPClientTransport

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *RetrievePolicyCountryParams) SetFlightId(flightId string)

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

func (*RetrievePolicyCountryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetHTTPClientTransport

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *RetrieveSinglePolicyParams) SetFlightId(flightId string)

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

func (*RetrieveSinglePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetHTTPClientTransport

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