policies

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RetrieveLatestPoliciesByNamespaceAndCountryPublicLEGALDOCUMENTTYPEConstant       = "LEGAL_DOCUMENT_TYPE"
	RetrieveLatestPoliciesByNamespaceAndCountryPublicMARKETINGPREFERENCETYPEConstant = "MARKETING_PREFERENCE_TYPE"
)

Get the enum in RetrieveLatestPoliciesByNamespaceAndCountryPublicParams

View Source
const (
	RetrieveLatestPoliciesLEGALDOCUMENTTYPEConstant       = "LEGAL_DOCUMENT_TYPE"
	RetrieveLatestPoliciesMARKETINGPREFERENCETYPEConstant = "MARKETING_PREFERENCE_TYPE"
)

Get the enum in RetrieveLatestPoliciesParams

View Source
const (
	RetrieveLatestPoliciesPublicLEGALDOCUMENTTYPEConstant       = "LEGAL_DOCUMENT_TYPE"
	RetrieveLatestPoliciesPublicMARKETINGPREFERENCETYPEConstant = "MARKETING_PREFERENCE_TYPE"
)

Get the enum in RetrieveLatestPoliciesPublicParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for policies API

func (*Client) RetrieveCountryListWithPolicies deprecated added in v0.67.0

func (a *Client) RetrieveCountryListWithPolicies(params *RetrieveCountryListWithPoliciesParams) (*RetrieveCountryListWithPoliciesOK, error)

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

RetrieveCountryListWithPolicies retrieve list of countries that have active legal policies Retrieve List of Countries that have Active and Visible Legal Policies.

func (*Client) RetrieveCountryListWithPoliciesShort added in v0.67.0

func (a *Client) RetrieveCountryListWithPoliciesShort(params *RetrieveCountryListWithPoliciesParams) (*RetrieveCountryListWithPoliciesOK, error)

RetrieveCountryListWithPoliciesShort retrieve list of countries that have active legal policies Retrieve List of Countries that have Active and Visible Legal Policies.

func (*Client) RetrieveLatestPolicies deprecated

func (a *Client) RetrieveLatestPolicies(params *RetrieveLatestPoliciesParams) (*RetrieveLatestPoliciesOK, error)

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

RetrieveLatestPolicies retrieve latest policies by country Retrieve all active latest policies based on a country. Other detail info:

  • Leave the policyType empty if you want to be responded with all policy type
  • Fill the tags if you want to filter the responded policy by tags
  • Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist

func (*Client) RetrieveLatestPoliciesByNamespaceAndCountryPublic deprecated

func (a *Client) RetrieveLatestPoliciesByNamespaceAndCountryPublic(params *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) (*RetrieveLatestPoliciesByNamespaceAndCountryPublicOK, error)

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

RetrieveLatestPoliciesByNamespaceAndCountryPublic retrieve latest policies by namespace and country Retrieve all active latest policies based on a namespace and country. Other detail info:

  • Leave the policyType empty if you want to be responded with all policy type
  • Fill the tags if you want to filter the responded policy by tags
  • Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist
  • Fill the alwaysIncludeDefault with true if you want to be responded with always include default policy. If there are duplicate policies (default policies and country specific policies with same base policy) it'll include policy with same country code, for example:
  • Document 1 (default): Region US (default), UA
  • Document 2 (default): Region US (default)
  • Document 3 (default): Region US (default)
  • User: Region UA
  • Query: alwaysIncludeDefault: true
  • Response: Document 1 (UA), Document 2 (US), Document 3 (US)

func (*Client) RetrieveLatestPoliciesByNamespaceAndCountryPublicShort added in v0.8.0

func (a *Client) RetrieveLatestPoliciesByNamespaceAndCountryPublicShort(params *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) (*RetrieveLatestPoliciesByNamespaceAndCountryPublicOK, error)

RetrieveLatestPoliciesByNamespaceAndCountryPublicShort retrieve latest policies by namespace and country Retrieve all active latest policies based on a namespace and country. Other detail info:

  • Leave the policyType empty if you want to be responded with all policy type
  • Fill the tags if you want to filter the responded policy by tags
  • Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist
  • Fill the alwaysIncludeDefault with true if you want to be responded with always include default policy. If there are duplicate policies (default policies and country specific policies with same base policy) it'll include policy with same country code, for example:
  • Document 1 (default): Region US (default), UA
  • Document 2 (default): Region US (default)
  • Document 3 (default): Region US (default)
  • User: Region UA
  • Query: alwaysIncludeDefault: true
  • Response: Document 1 (UA), Document 2 (US), Document 3 (US)

func (*Client) RetrieveLatestPoliciesPublic deprecated

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

RetrieveLatestPoliciesPublic retrieve latest policies by namespace and country Retrieve all active latest policies based on a namespace and country. The country will be read from user token. Other detail info:

  • Leave the policyType empty if you want to be responded with all policy type
  • Fill the tags if you want to filter the responded policy by tags
  • Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist
  • Fill the alwaysIncludeDefault with true if you want to be responded with always include default policy. If there are duplicate policies (default policies and country specific policies with same base policy) it'll include policy with same country code, for example:
  • Document 1 (default): Region US (default), UA
  • Document 2 (default): Region US (default)
  • Document 3 (default): Region US (default)
  • User: Region UA
  • Query: alwaysIncludeDefault: true
  • Response: Document 1 (UA), Document 2 (US), Document 3 (US)

func (*Client) RetrieveLatestPoliciesPublicShort added in v0.8.0

func (a *Client) RetrieveLatestPoliciesPublicShort(params *RetrieveLatestPoliciesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLatestPoliciesPublicOK, error)

RetrieveLatestPoliciesPublicShort retrieve latest policies by namespace and country Retrieve all active latest policies based on a namespace and country. The country will be read from user token. Other detail info:

  • Leave the policyType empty if you want to be responded with all policy type
  • Fill the tags if you want to filter the responded policy by tags
  • Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist
  • Fill the alwaysIncludeDefault with true if you want to be responded with always include default policy. If there are duplicate policies (default policies and country specific policies with same base policy) it'll include policy with same country code, for example:
  • Document 1 (default): Region US (default), UA
  • Document 2 (default): Region US (default)
  • Document 3 (default): Region US (default)
  • User: Region UA
  • Query: alwaysIncludeDefault: true
  • Response: Document 1 (UA), Document 2 (US), Document 3 (US)

func (*Client) RetrieveLatestPoliciesShort added in v0.8.0

func (a *Client) RetrieveLatestPoliciesShort(params *RetrieveLatestPoliciesParams) (*RetrieveLatestPoliciesOK, error)

RetrieveLatestPoliciesShort retrieve latest policies by country Retrieve all active latest policies based on a country. Other detail info:

  • Leave the policyType empty if you want to be responded with all policy type
  • Fill the tags if you want to filter the responded policy by tags
  • Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist

func (*Client) RetrievePolicies deprecated

func (a *Client) RetrievePolicies(params *RetrievePoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePoliciesOK, error)

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

RetrievePolicies retrieve policies by country Retrieve all active policies based on a country.

func (*Client) RetrievePoliciesShort added in v0.8.0

func (a *Client) RetrievePoliciesShort(params *RetrievePoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePoliciesOK, error)

RetrievePoliciesShort retrieve policies by country Retrieve all active policies based on a country.

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

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

SetDefaultPolicy2 set default policy Update a policy to be the default.

func (*Client) SetDefaultPolicy2Short added in v0.38.0

func (a *Client) SetDefaultPolicy2Short(params *SetDefaultPolicy2Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy2OK, error)

SetDefaultPolicy2Short set default policy Update a policy to be the default.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePolicy deprecated

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

UpdatePolicy update country-specific policy Update country-specific policy.

func (*Client) UpdatePolicyShort added in v0.8.0

func (a *Client) UpdatePolicyShort(params *UpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyOK, error)

UpdatePolicyShort update country-specific policy Update country-specific policy.

type ClientService

type ClientService interface {
	RetrievePolicies(params *RetrievePoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePoliciesOK, error)
	RetrievePoliciesShort(params *RetrievePoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePoliciesOK, error)
	UpdatePolicy(params *UpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyOK, *UpdatePolicyBadRequest, error)
	UpdatePolicyShort(params *UpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyOK, error)
	SetDefaultPolicy2(params *SetDefaultPolicy2Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy2OK, *SetDefaultPolicy2BadRequest, error)
	SetDefaultPolicy2Short(params *SetDefaultPolicy2Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy2OK, error)
	RetrieveCountryListWithPolicies(params *RetrieveCountryListWithPoliciesParams) (*RetrieveCountryListWithPoliciesOK, error)
	RetrieveCountryListWithPoliciesShort(params *RetrieveCountryListWithPoliciesParams) (*RetrieveCountryListWithPoliciesOK, error)
	RetrieveLatestPolicies(params *RetrieveLatestPoliciesParams) (*RetrieveLatestPoliciesOK, error)
	RetrieveLatestPoliciesShort(params *RetrieveLatestPoliciesParams) (*RetrieveLatestPoliciesOK, error)
	RetrieveLatestPoliciesPublic(params *RetrieveLatestPoliciesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLatestPoliciesPublicOK, *RetrieveLatestPoliciesPublicNotFound, error)
	RetrieveLatestPoliciesPublicShort(params *RetrieveLatestPoliciesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLatestPoliciesPublicOK, error)
	RetrieveLatestPoliciesByNamespaceAndCountryPublic(params *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) (*RetrieveLatestPoliciesByNamespaceAndCountryPublicOK, error)
	RetrieveLatestPoliciesByNamespaceAndCountryPublicShort(params *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) (*RetrieveLatestPoliciesByNamespaceAndCountryPublicOK, 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 policies API client.

type RetrieveCountryListWithPoliciesOK added in v0.67.0

type RetrieveCountryListWithPoliciesOK struct {
	Payload []string
}

RetrieveCountryListWithPoliciesOK handles this case with default header values.

successful operation

func NewRetrieveCountryListWithPoliciesOK added in v0.67.0

func NewRetrieveCountryListWithPoliciesOK() *RetrieveCountryListWithPoliciesOK

NewRetrieveCountryListWithPoliciesOK creates a RetrieveCountryListWithPoliciesOK with default headers values

func (*RetrieveCountryListWithPoliciesOK) Error added in v0.67.0

func (*RetrieveCountryListWithPoliciesOK) GetPayload added in v0.67.0

func (o *RetrieveCountryListWithPoliciesOK) GetPayload() []string

func (*RetrieveCountryListWithPoliciesOK) ToJSONString added in v0.67.0

func (o *RetrieveCountryListWithPoliciesOK) ToJSONString() string

type RetrieveCountryListWithPoliciesParams added in v0.67.0

type RetrieveCountryListWithPoliciesParams 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
}

RetrieveCountryListWithPoliciesParams contains all the parameters to send to the API endpoint for the retrieve country list with policies operation typically these are written to a http.Request

func NewRetrieveCountryListWithPoliciesParams added in v0.67.0

func NewRetrieveCountryListWithPoliciesParams() *RetrieveCountryListWithPoliciesParams

NewRetrieveCountryListWithPoliciesParams creates a new RetrieveCountryListWithPoliciesParams object with the default values initialized.

func NewRetrieveCountryListWithPoliciesParamsWithContext added in v0.67.0

func NewRetrieveCountryListWithPoliciesParamsWithContext(ctx context.Context) *RetrieveCountryListWithPoliciesParams

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

func NewRetrieveCountryListWithPoliciesParamsWithHTTPClient added in v0.67.0

func NewRetrieveCountryListWithPoliciesParamsWithHTTPClient(client *http.Client) *RetrieveCountryListWithPoliciesParams

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

func NewRetrieveCountryListWithPoliciesParamsWithTimeout added in v0.67.0

func NewRetrieveCountryListWithPoliciesParamsWithTimeout(timeout time.Duration) *RetrieveCountryListWithPoliciesParams

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

func (*RetrieveCountryListWithPoliciesParams) SetAuthInfoWriter added in v0.67.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve country list with policies params

func (*RetrieveCountryListWithPoliciesParams) SetContext added in v0.67.0

SetContext adds the context to the retrieve country list with policies params

func (*RetrieveCountryListWithPoliciesParams) SetFlightId added in v0.67.0

func (o *RetrieveCountryListWithPoliciesParams) SetFlightId(flightId string)

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

func (*RetrieveCountryListWithPoliciesParams) SetHTTPClient added in v0.67.0

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

SetHTTPClient adds the HTTPClient to the retrieve country list with policies params

func (*RetrieveCountryListWithPoliciesParams) SetHTTPClientTransport added in v0.67.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve country list with policies params

func (*RetrieveCountryListWithPoliciesParams) SetTimeout added in v0.67.0

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

SetTimeout adds the timeout to the retrieve country list with policies params

func (*RetrieveCountryListWithPoliciesParams) WithContext added in v0.67.0

WithContext adds the context to the retrieve country list with policies params

func (*RetrieveCountryListWithPoliciesParams) WithHTTPClient added in v0.67.0

WithHTTPClient adds the HTTPClient to the retrieve country list with policies params

func (*RetrieveCountryListWithPoliciesParams) WithTimeout added in v0.67.0

WithTimeout adds the timeout to the retrieve country list with policies params

func (*RetrieveCountryListWithPoliciesParams) WriteToRequest added in v0.67.0

WriteToRequest writes these params to a swagger request

type RetrieveCountryListWithPoliciesReader added in v0.67.0

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

RetrieveCountryListWithPoliciesReader is a Reader for the RetrieveCountryListWithPolicies structure.

func (*RetrieveCountryListWithPoliciesReader) ReadResponse added in v0.67.0

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

ReadResponse reads a server response into the received o.

type RetrieveLatestPoliciesByNamespaceAndCountryPublicOK

type RetrieveLatestPoliciesByNamespaceAndCountryPublicOK struct {
	Payload []*legalclientmodels.RetrievePolicyPublicResponse
}

RetrieveLatestPoliciesByNamespaceAndCountryPublicOK handles this case with default header values.

successful operation

func NewRetrieveLatestPoliciesByNamespaceAndCountryPublicOK

func NewRetrieveLatestPoliciesByNamespaceAndCountryPublicOK() *RetrieveLatestPoliciesByNamespaceAndCountryPublicOK

NewRetrieveLatestPoliciesByNamespaceAndCountryPublicOK creates a RetrieveLatestPoliciesByNamespaceAndCountryPublicOK with default headers values

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicOK) Error

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicOK) GetPayload

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicOK) ToJSONString added in v0.25.0

type RetrieveLatestPoliciesByNamespaceAndCountryPublicParams

type RetrieveLatestPoliciesByNamespaceAndCountryPublicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CountryCode
	  Country Code

	*/
	CountryCode string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*AlwaysIncludeDefault
	  Always include default

	*/
	AlwaysIncludeDefault *bool
	/*DefaultOnEmpty
	  Default On Empty

	*/
	DefaultOnEmpty *bool
	/*PolicyType
	  Policy Type

	*/
	PolicyType *string
	/*Tags
	  tags, separate multiple value by commas parameter

	*/
	Tags *string
	/*VisibleOnly*/
	VisibleOnly *bool

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

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

RetrieveLatestPoliciesByNamespaceAndCountryPublicParams contains all the parameters to send to the API endpoint for the retrieve latest policies by namespace and country public operation typically these are written to a http.Request

func NewRetrieveLatestPoliciesByNamespaceAndCountryPublicParams

func NewRetrieveLatestPoliciesByNamespaceAndCountryPublicParams() *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams

NewRetrieveLatestPoliciesByNamespaceAndCountryPublicParams creates a new RetrieveLatestPoliciesByNamespaceAndCountryPublicParams object with the default values initialized.

func NewRetrieveLatestPoliciesByNamespaceAndCountryPublicParamsWithContext

func NewRetrieveLatestPoliciesByNamespaceAndCountryPublicParamsWithContext(ctx context.Context) *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams

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

func NewRetrieveLatestPoliciesByNamespaceAndCountryPublicParamsWithHTTPClient

func NewRetrieveLatestPoliciesByNamespaceAndCountryPublicParamsWithHTTPClient(client *http.Client) *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams

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

func NewRetrieveLatestPoliciesByNamespaceAndCountryPublicParamsWithTimeout

func NewRetrieveLatestPoliciesByNamespaceAndCountryPublicParamsWithTimeout(timeout time.Duration) *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams

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

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetAlwaysIncludeDefault

func (o *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetAlwaysIncludeDefault(alwaysIncludeDefault *bool)

SetAlwaysIncludeDefault adds the alwaysIncludeDefault to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetContext

SetContext adds the context to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetCountryCode

func (o *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetCountryCode(countryCode string)

SetCountryCode adds the countryCode to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetDefaultOnEmpty

func (o *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetDefaultOnEmpty(defaultOnEmpty *bool)

SetDefaultOnEmpty adds the defaultOnEmpty to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetFlightId added in v0.63.0

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

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetNamespace

SetNamespace adds the namespace to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetPolicyType

SetPolicyType adds the policyType to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetTags

SetTags adds the tags to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetTimeout

SetTimeout adds the timeout to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetVisibleOnly added in v0.70.0

func (o *RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) SetVisibleOnly(visibleOnly *bool)

SetVisibleOnly adds the visibleOnly to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) WithAlwaysIncludeDefault

WithAlwaysIncludeDefault adds the alwaysIncludeDefault to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) WithContext

WithContext adds the context to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) WithCountryCode

WithCountryCode adds the countryCode to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) WithDefaultOnEmpty

WithDefaultOnEmpty adds the defaultOnEmpty to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) WithNamespace

WithNamespace adds the namespace to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) WithPolicyType

WithPolicyType adds the policyType to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) WithTags

WithTags adds the tags to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) WithTimeout

WithTimeout adds the timeout to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) WithVisibleOnly added in v0.70.0

WithVisibleOnly adds the visibleOnly to the retrieve latest policies by namespace and country public params

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveLatestPoliciesByNamespaceAndCountryPublicReader

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

RetrieveLatestPoliciesByNamespaceAndCountryPublicReader is a Reader for the RetrieveLatestPoliciesByNamespaceAndCountryPublic structure.

func (*RetrieveLatestPoliciesByNamespaceAndCountryPublicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveLatestPoliciesOK

type RetrieveLatestPoliciesOK struct {
	Payload []*legalclientmodels.RetrievePolicyPublicResponse
}

RetrieveLatestPoliciesOK handles this case with default header values.

successful operation

func NewRetrieveLatestPoliciesOK

func NewRetrieveLatestPoliciesOK() *RetrieveLatestPoliciesOK

NewRetrieveLatestPoliciesOK creates a RetrieveLatestPoliciesOK with default headers values

func (*RetrieveLatestPoliciesOK) Error

func (o *RetrieveLatestPoliciesOK) Error() string

func (*RetrieveLatestPoliciesOK) GetPayload

func (*RetrieveLatestPoliciesOK) ToJSONString added in v0.25.0

func (o *RetrieveLatestPoliciesOK) ToJSONString() string

type RetrieveLatestPoliciesParams

type RetrieveLatestPoliciesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CountryCode
	  Country Code

	*/
	CountryCode string
	/*DefaultOnEmpty
	  Default On Empty

	*/
	DefaultOnEmpty *bool
	/*PolicyType
	  Policy Type

	*/
	PolicyType *string
	/*Tags
	  tags, separate multiple value by commas parameter

	*/
	Tags *string
	/*VisibleOnly*/
	VisibleOnly *bool

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

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

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

func NewRetrieveLatestPoliciesParams

func NewRetrieveLatestPoliciesParams() *RetrieveLatestPoliciesParams

NewRetrieveLatestPoliciesParams creates a new RetrieveLatestPoliciesParams object with the default values initialized.

func NewRetrieveLatestPoliciesParamsWithContext

func NewRetrieveLatestPoliciesParamsWithContext(ctx context.Context) *RetrieveLatestPoliciesParams

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

func NewRetrieveLatestPoliciesParamsWithHTTPClient

func NewRetrieveLatestPoliciesParamsWithHTTPClient(client *http.Client) *RetrieveLatestPoliciesParams

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

func NewRetrieveLatestPoliciesParamsWithTimeout

func NewRetrieveLatestPoliciesParamsWithTimeout(timeout time.Duration) *RetrieveLatestPoliciesParams

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

func (*RetrieveLatestPoliciesParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) SetContext

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

SetContext adds the context to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) SetCountryCode

func (o *RetrieveLatestPoliciesParams) SetCountryCode(countryCode string)

SetCountryCode adds the countryCode to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) SetDefaultOnEmpty

func (o *RetrieveLatestPoliciesParams) SetDefaultOnEmpty(defaultOnEmpty *bool)

SetDefaultOnEmpty adds the defaultOnEmpty to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) SetFlightId added in v0.63.0

func (o *RetrieveLatestPoliciesParams) SetFlightId(flightId string)

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

func (*RetrieveLatestPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) SetPolicyType

func (o *RetrieveLatestPoliciesParams) SetPolicyType(policyType *string)

SetPolicyType adds the policyType to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) SetTags

func (o *RetrieveLatestPoliciesParams) SetTags(tags *string)

SetTags adds the tags to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) SetVisibleOnly added in v0.70.0

func (o *RetrieveLatestPoliciesParams) SetVisibleOnly(visibleOnly *bool)

SetVisibleOnly adds the visibleOnly to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) WithContext

WithContext adds the context to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) WithCountryCode

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

WithCountryCode adds the countryCode to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) WithDefaultOnEmpty

func (o *RetrieveLatestPoliciesParams) WithDefaultOnEmpty(defaultOnEmpty *bool) *RetrieveLatestPoliciesParams

WithDefaultOnEmpty adds the defaultOnEmpty to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) WithPolicyType

func (o *RetrieveLatestPoliciesParams) WithPolicyType(policyType *string) *RetrieveLatestPoliciesParams

WithPolicyType adds the policyType to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) WithTags

WithTags adds the tags to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) WithTimeout

WithTimeout adds the timeout to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) WithVisibleOnly added in v0.70.0

func (o *RetrieveLatestPoliciesParams) WithVisibleOnly(visibleOnly *bool) *RetrieveLatestPoliciesParams

WithVisibleOnly adds the visibleOnly to the retrieve latest policies params

func (*RetrieveLatestPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveLatestPoliciesPublicNotFound

type RetrieveLatestPoliciesPublicNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveLatestPoliciesPublicNotFound handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40040</td><td>errors.net.accelbyte.platform.legal.user_has_no_country</td></tr></table>

func NewRetrieveLatestPoliciesPublicNotFound

func NewRetrieveLatestPoliciesPublicNotFound() *RetrieveLatestPoliciesPublicNotFound

NewRetrieveLatestPoliciesPublicNotFound creates a RetrieveLatestPoliciesPublicNotFound with default headers values

func (*RetrieveLatestPoliciesPublicNotFound) Error

func (*RetrieveLatestPoliciesPublicNotFound) GetPayload

func (*RetrieveLatestPoliciesPublicNotFound) ToJSONString added in v0.25.0

func (o *RetrieveLatestPoliciesPublicNotFound) ToJSONString() string

type RetrieveLatestPoliciesPublicOK

type RetrieveLatestPoliciesPublicOK struct {
	Payload []*legalclientmodels.RetrievePolicyPublicResponse
}

RetrieveLatestPoliciesPublicOK handles this case with default header values.

successful operation

func NewRetrieveLatestPoliciesPublicOK

func NewRetrieveLatestPoliciesPublicOK() *RetrieveLatestPoliciesPublicOK

NewRetrieveLatestPoliciesPublicOK creates a RetrieveLatestPoliciesPublicOK with default headers values

func (*RetrieveLatestPoliciesPublicOK) Error

func (*RetrieveLatestPoliciesPublicOK) GetPayload

func (*RetrieveLatestPoliciesPublicOK) ToJSONString added in v0.25.0

func (o *RetrieveLatestPoliciesPublicOK) ToJSONString() string

type RetrieveLatestPoliciesPublicParams

type RetrieveLatestPoliciesPublicParams struct {

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

	*/
	Namespace string
	/*AlwaysIncludeDefault
	  Always include default

	*/
	AlwaysIncludeDefault *bool
	/*DefaultOnEmpty
	  Default On Empty

	*/
	DefaultOnEmpty *bool
	/*PolicyType
	  Policy Type

	*/
	PolicyType *string
	/*Tags
	  tags, separate multiple value by commas parameter

	*/
	Tags *string
	/*VisibleOnly*/
	VisibleOnly *bool

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

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

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

func NewRetrieveLatestPoliciesPublicParams

func NewRetrieveLatestPoliciesPublicParams() *RetrieveLatestPoliciesPublicParams

NewRetrieveLatestPoliciesPublicParams creates a new RetrieveLatestPoliciesPublicParams object with the default values initialized.

func NewRetrieveLatestPoliciesPublicParamsWithContext

func NewRetrieveLatestPoliciesPublicParamsWithContext(ctx context.Context) *RetrieveLatestPoliciesPublicParams

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

func NewRetrieveLatestPoliciesPublicParamsWithHTTPClient

func NewRetrieveLatestPoliciesPublicParamsWithHTTPClient(client *http.Client) *RetrieveLatestPoliciesPublicParams

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

func NewRetrieveLatestPoliciesPublicParamsWithTimeout

func NewRetrieveLatestPoliciesPublicParamsWithTimeout(timeout time.Duration) *RetrieveLatestPoliciesPublicParams

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

func (*RetrieveLatestPoliciesPublicParams) SetAlwaysIncludeDefault

func (o *RetrieveLatestPoliciesPublicParams) SetAlwaysIncludeDefault(alwaysIncludeDefault *bool)

SetAlwaysIncludeDefault adds the alwaysIncludeDefault to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) SetContext

SetContext adds the context to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) SetDefaultOnEmpty

func (o *RetrieveLatestPoliciesPublicParams) SetDefaultOnEmpty(defaultOnEmpty *bool)

SetDefaultOnEmpty adds the defaultOnEmpty to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) SetFlightId added in v0.63.0

func (o *RetrieveLatestPoliciesPublicParams) SetFlightId(flightId string)

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

func (*RetrieveLatestPoliciesPublicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) SetNamespace

func (o *RetrieveLatestPoliciesPublicParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) SetPolicyType

func (o *RetrieveLatestPoliciesPublicParams) SetPolicyType(policyType *string)

SetPolicyType adds the policyType to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) SetTags

func (o *RetrieveLatestPoliciesPublicParams) SetTags(tags *string)

SetTags adds the tags to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) SetTimeout

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

SetTimeout adds the timeout to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) SetVisibleOnly added in v0.70.0

func (o *RetrieveLatestPoliciesPublicParams) SetVisibleOnly(visibleOnly *bool)

SetVisibleOnly adds the visibleOnly to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) WithAlwaysIncludeDefault

func (o *RetrieveLatestPoliciesPublicParams) WithAlwaysIncludeDefault(alwaysIncludeDefault *bool) *RetrieveLatestPoliciesPublicParams

WithAlwaysIncludeDefault adds the alwaysIncludeDefault to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) WithContext

WithContext adds the context to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) WithDefaultOnEmpty

func (o *RetrieveLatestPoliciesPublicParams) WithDefaultOnEmpty(defaultOnEmpty *bool) *RetrieveLatestPoliciesPublicParams

WithDefaultOnEmpty adds the defaultOnEmpty to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) WithNamespace

WithNamespace adds the namespace to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) WithPolicyType

WithPolicyType adds the policyType to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) WithTags

WithTags adds the tags to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) WithTimeout

WithTimeout adds the timeout to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) WithVisibleOnly added in v0.70.0

WithVisibleOnly adds the visibleOnly to the retrieve latest policies public params

func (*RetrieveLatestPoliciesPublicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveLatestPoliciesPublicReader

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

RetrieveLatestPoliciesPublicReader is a Reader for the RetrieveLatestPoliciesPublic structure.

func (*RetrieveLatestPoliciesPublicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveLatestPoliciesReader

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

RetrieveLatestPoliciesReader is a Reader for the RetrieveLatestPolicies structure.

func (*RetrieveLatestPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrievePoliciesOK

type RetrievePoliciesOK struct {
	Payload []*legalclientmodels.RetrievePolicyResponse
}

RetrievePoliciesOK handles this case with default header values.

successful operation

func NewRetrievePoliciesOK

func NewRetrievePoliciesOK() *RetrievePoliciesOK

NewRetrievePoliciesOK creates a RetrievePoliciesOK with default headers values

func (*RetrievePoliciesOK) Error

func (o *RetrievePoliciesOK) Error() string

func (*RetrievePoliciesOK) GetPayload

func (*RetrievePoliciesOK) ToJSONString added in v0.25.0

func (o *RetrievePoliciesOK) ToJSONString() string

type RetrievePoliciesParams

type RetrievePoliciesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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
}

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

func NewRetrievePoliciesParams

func NewRetrievePoliciesParams() *RetrievePoliciesParams

NewRetrievePoliciesParams creates a new RetrievePoliciesParams object with the default values initialized.

func NewRetrievePoliciesParamsWithContext

func NewRetrievePoliciesParamsWithContext(ctx context.Context) *RetrievePoliciesParams

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

func NewRetrievePoliciesParamsWithHTTPClient

func NewRetrievePoliciesParamsWithHTTPClient(client *http.Client) *RetrievePoliciesParams

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

func NewRetrievePoliciesParamsWithTimeout

func NewRetrievePoliciesParamsWithTimeout(timeout time.Duration) *RetrievePoliciesParams

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

func (*RetrievePoliciesParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve policies params

func (*RetrievePoliciesParams) SetContext

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

SetContext adds the context to the retrieve policies params

func (*RetrievePoliciesParams) SetCountryCode

func (o *RetrievePoliciesParams) SetCountryCode(countryCode string)

SetCountryCode adds the countryCode to the retrieve policies params

func (*RetrievePoliciesParams) SetFlightId added in v0.63.0

func (o *RetrievePoliciesParams) SetFlightId(flightId string)

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

func (*RetrievePoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve policies params

func (*RetrievePoliciesParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve policies params

func (*RetrievePoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the retrieve policies params

func (*RetrievePoliciesParams) WithContext

WithContext adds the context to the retrieve policies params

func (*RetrievePoliciesParams) WithCountryCode

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

WithCountryCode adds the countryCode to the retrieve policies params

func (*RetrievePoliciesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the retrieve policies params

func (*RetrievePoliciesParams) WithTimeout

WithTimeout adds the timeout to the retrieve policies params

func (*RetrievePoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrievePoliciesReader

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

RetrievePoliciesReader is a Reader for the RetrievePolicies structure.

func (*RetrievePoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetDefaultPolicy2BadRequest added in v0.38.0

type SetDefaultPolicy2BadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

SetDefaultPolicy2BadRequest 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_id</td></tr></table>

func NewSetDefaultPolicy2BadRequest added in v0.38.0

func NewSetDefaultPolicy2BadRequest() *SetDefaultPolicy2BadRequest

NewSetDefaultPolicy2BadRequest creates a SetDefaultPolicy2BadRequest with default headers values

func (*SetDefaultPolicy2BadRequest) Error added in v0.38.0

func (*SetDefaultPolicy2BadRequest) GetPayload added in v0.38.0

func (*SetDefaultPolicy2BadRequest) ToJSONString added in v0.38.0

func (o *SetDefaultPolicy2BadRequest) ToJSONString() string

type SetDefaultPolicy2OK added in v0.38.0

type SetDefaultPolicy2OK struct {
}

SetDefaultPolicy2OK handles this case with default header values.

operation successful

func NewSetDefaultPolicy2OK added in v0.38.0

func NewSetDefaultPolicy2OK() *SetDefaultPolicy2OK

NewSetDefaultPolicy2OK creates a SetDefaultPolicy2OK with default headers values

func (*SetDefaultPolicy2OK) Error added in v0.38.0

func (o *SetDefaultPolicy2OK) Error() string

type SetDefaultPolicy2Params added in v0.38.0

type SetDefaultPolicy2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*PolicyID
	  Policy Id

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

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

func NewSetDefaultPolicy2Params added in v0.38.0

func NewSetDefaultPolicy2Params() *SetDefaultPolicy2Params

NewSetDefaultPolicy2Params creates a new SetDefaultPolicy2Params object with the default values initialized.

func NewSetDefaultPolicy2ParamsWithContext added in v0.38.0

func NewSetDefaultPolicy2ParamsWithContext(ctx context.Context) *SetDefaultPolicy2Params

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

func NewSetDefaultPolicy2ParamsWithHTTPClient added in v0.38.0

func NewSetDefaultPolicy2ParamsWithHTTPClient(client *http.Client) *SetDefaultPolicy2Params

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

func NewSetDefaultPolicy2ParamsWithTimeout added in v0.38.0

func NewSetDefaultPolicy2ParamsWithTimeout(timeout time.Duration) *SetDefaultPolicy2Params

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

func (*SetDefaultPolicy2Params) SetAuthInfoWriter added in v0.38.0

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

SetAuthInfoWriter adds the authInfoWriter to the set default policy 2 params

func (*SetDefaultPolicy2Params) SetContext added in v0.38.0

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

SetContext adds the context to the set default policy 2 params

func (*SetDefaultPolicy2Params) SetFlightId added in v0.63.0

func (o *SetDefaultPolicy2Params) SetFlightId(flightId string)

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

func (*SetDefaultPolicy2Params) SetHTTPClient added in v0.38.0

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

SetHTTPClient adds the HTTPClient to the set default policy 2 params

func (*SetDefaultPolicy2Params) SetHTTPClientTransport added in v0.38.0

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

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

func (*SetDefaultPolicy2Params) SetPolicyID added in v0.38.0

func (o *SetDefaultPolicy2Params) SetPolicyID(policyID string)

SetPolicyID adds the policyId to the set default policy 2 params

func (*SetDefaultPolicy2Params) SetTimeout added in v0.38.0

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

SetTimeout adds the timeout to the set default policy 2 params

func (*SetDefaultPolicy2Params) WithContext added in v0.38.0

WithContext adds the context to the set default policy 2 params

func (*SetDefaultPolicy2Params) WithHTTPClient added in v0.38.0

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

WithHTTPClient adds the HTTPClient to the set default policy 2 params

func (*SetDefaultPolicy2Params) WithPolicyID added in v0.38.0

func (o *SetDefaultPolicy2Params) WithPolicyID(policyID string) *SetDefaultPolicy2Params

WithPolicyID adds the policyID to the set default policy 2 params

func (*SetDefaultPolicy2Params) WithTimeout added in v0.38.0

WithTimeout adds the timeout to the set default policy 2 params

func (*SetDefaultPolicy2Params) WriteToRequest added in v0.38.0

WriteToRequest writes these params to a swagger request

type SetDefaultPolicy2Reader added in v0.38.0

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

SetDefaultPolicy2Reader is a Reader for the SetDefaultPolicy2 structure.

func (*SetDefaultPolicy2Reader) ReadResponse added in v0.38.0

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

ReadResponse reads a server response into the received o.

type UpdatePolicyBadRequest added in v0.34.0

type UpdatePolicyBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

UpdatePolicyBadRequest 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_id</td></tr></table>

func NewUpdatePolicyBadRequest added in v0.34.0

func NewUpdatePolicyBadRequest() *UpdatePolicyBadRequest

NewUpdatePolicyBadRequest creates a UpdatePolicyBadRequest with default headers values

func (*UpdatePolicyBadRequest) Error added in v0.34.0

func (o *UpdatePolicyBadRequest) Error() string

func (*UpdatePolicyBadRequest) GetPayload added in v0.34.0

func (*UpdatePolicyBadRequest) ToJSONString added in v0.34.0

func (o *UpdatePolicyBadRequest) ToJSONString() string

type UpdatePolicyOK

type UpdatePolicyOK struct {
}

UpdatePolicyOK handles this case with default header values.

operation successful

func NewUpdatePolicyOK

func NewUpdatePolicyOK() *UpdatePolicyOK

NewUpdatePolicyOK creates a UpdatePolicyOK with default headers values

func (*UpdatePolicyOK) Error

func (o *UpdatePolicyOK) Error() string

type UpdatePolicyParams

type UpdatePolicyParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *legalclientmodels.UpdatePolicyRequest
	/*PolicyID
	  Policy Id

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

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

func NewUpdatePolicyParams

func NewUpdatePolicyParams() *UpdatePolicyParams

NewUpdatePolicyParams creates a new UpdatePolicyParams object with the default values initialized.

func NewUpdatePolicyParamsWithContext

func NewUpdatePolicyParamsWithContext(ctx context.Context) *UpdatePolicyParams

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

func NewUpdatePolicyParamsWithHTTPClient

func NewUpdatePolicyParamsWithHTTPClient(client *http.Client) *UpdatePolicyParams

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

func NewUpdatePolicyParamsWithTimeout

func NewUpdatePolicyParamsWithTimeout(timeout time.Duration) *UpdatePolicyParams

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

func (*UpdatePolicyParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the update policy params

func (*UpdatePolicyParams) SetBody

SetBody adds the body to the update policy params

func (*UpdatePolicyParams) SetContext

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

SetContext adds the context to the update policy params

func (*UpdatePolicyParams) SetFlightId added in v0.63.0

func (o *UpdatePolicyParams) SetFlightId(flightId string)

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

func (*UpdatePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update policy params

func (*UpdatePolicyParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the update policy params

func (*UpdatePolicyParams) SetPolicyID

func (o *UpdatePolicyParams) SetPolicyID(policyID string)

SetPolicyID adds the policyId to the update policy params

func (*UpdatePolicyParams) SetTimeout

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

SetTimeout adds the timeout to the update policy params

func (*UpdatePolicyParams) WithBody

WithBody adds the body to the update policy params

func (*UpdatePolicyParams) WithContext

WithContext adds the context to the update policy params

func (*UpdatePolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update policy params

func (*UpdatePolicyParams) WithPolicyID

func (o *UpdatePolicyParams) WithPolicyID(policyID string) *UpdatePolicyParams

WithPolicyID adds the policyID to the update policy params

func (*UpdatePolicyParams) WithTimeout

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

WithTimeout adds the timeout to the update policy params

func (*UpdatePolicyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdatePolicyReader

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

UpdatePolicyReader is a Reader for the UpdatePolicy structure.

func (*UpdatePolicyReader) ReadResponse

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