base_legal_policies_with_namespace

package
v0.85.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 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 with namespace API

func (*Client) CreatePolicy deprecated added in v0.84.0

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

CreatePolicy create a base legal policy Create a legal policy. Note:

  • countryType field only accept COUNTRY or COUNTRY_GROUP.
  • COUNTRY_GROUP countryType requires the countryGroupName and affectedCountries fields to be provided.

* policy with COUNTRY_GROUP type include multiple countries and apply the same policy across the entire list of countries

func (*Client) CreatePolicyShort added in v0.84.0

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

CreatePolicyShort create a base legal policy Create a legal policy. Note:

  • countryType field only accept COUNTRY or COUNTRY_GROUP.
  • COUNTRY_GROUP countryType requires the countryGroupName and affectedCountries fields to be provided.

* policy with COUNTRY_GROUP type include multiple countries and apply the same policy across the entire list of countries

func (*Client) CreatePolicyUnderBasePolicy deprecated added in v0.75.0

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

CreatePolicyUnderBasePolicy create policy under base policy Create policy under base policy. Note:

  • countryType field only accept COUNTRY or COUNTRY_GROUP.
  • COUNTRY_GROUP policy requires the countryGroupName and countries fields to be provided.

* policy with COUNTRY_GROUP type include multiple countries and apply the same policy across the entire list of countries

func (*Client) CreatePolicyUnderBasePolicyShort added in v0.75.0

func (a *Client) CreatePolicyUnderBasePolicyShort(params *CreatePolicyUnderBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyUnderBasePolicyCreated, error)

CreatePolicyUnderBasePolicyShort create policy under base policy Create policy under base policy. Note:

  • countryType field only accept COUNTRY or COUNTRY_GROUP.
  • COUNTRY_GROUP policy requires the countryGroupName and countries fields to be provided.

* policy with COUNTRY_GROUP type include multiple countries and apply the same policy across the entire list of countries

func (*Client) DeleteBasePolicy deprecated added in v0.75.0

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

DeleteBasePolicy delete base legal policy Delete base legal policy.Can only be deleted if match these criteria:

  • Base policy don't have published policy version
  • Policy version under base policy has never been accepted by any user

func (*Client) DeleteBasePolicyShort added in v0.75.0

func (a *Client) DeleteBasePolicyShort(params *DeleteBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBasePolicyNoContent, error)

DeleteBasePolicyShort delete base legal policy Delete base legal policy.Can only be deleted if match these criteria:

  • Base policy don't have published policy version
  • Policy version under base policy has never been accepted by any user

func (*Client) PartialUpdatePolicy deprecated added in v0.84.0

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

PartialUpdatePolicy update base legal policy Update an existing base policy. Note:

  • countryType field only accept COUNTRY or COUNTRY_GROUP.
  • COUNTRY_GROUP countryType requires the countryGroupName and affectedCountries fields to be provided.

* policy with COUNTRY_GROUP type include multiple countries and apply the same policy across the entire list of countries

func (*Client) PartialUpdatePolicyShort added in v0.84.0

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

PartialUpdatePolicyShort update base legal policy Update an existing base policy. Note:

  • countryType field only accept COUNTRY or COUNTRY_GROUP.
  • COUNTRY_GROUP countryType requires the countryGroupName and affectedCountries fields to be provided.

* policy with COUNTRY_GROUP type include multiple countries and apply the same policy across the entire list of countries

func (*Client) RetrieveAllLegalPoliciesByNamespace deprecated

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

RetrieveAllLegalPoliciesByNamespace retrieve base legal policy in the namespace Retrieve base policies in the namespace. Set `limit = -1` to retrieve all records

func (*Client) RetrieveAllLegalPoliciesByNamespaceShort

func (a *Client) RetrieveAllLegalPoliciesByNamespaceShort(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error)

RetrieveAllLegalPoliciesByNamespaceShort retrieve base legal policy in the namespace Retrieve base policies in the namespace. Set `limit = -1` to retrieve all records

func (*Client) RetrieveAllPoliciesFromBasePolicy deprecated added in v0.75.0

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

RetrieveAllPoliciesFromBasePolicy retrieve all policies from base legal policy Retrieve all policies from Base Legal Policy.

func (*Client) RetrieveAllPoliciesFromBasePolicyShort added in v0.75.0

func (a *Client) RetrieveAllPoliciesFromBasePolicyShort(params *RetrieveAllPoliciesFromBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPoliciesFromBasePolicyOK, error)

RetrieveAllPoliciesFromBasePolicyShort retrieve all policies from base legal policy Retrieve all policies from Base Legal Policy.

func (*Client) RetrieveAllPolicyTypes deprecated added in v0.84.0

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.

func (*Client) RetrieveAllPolicyTypesShort added in v0.84.0

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

RetrieveAllPolicyTypesShort retrieve all policy type Retrieve all supported policy types.

func (*Client) RetrievePolicyCountry deprecated added in v0.84.0

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.

func (*Client) RetrievePolicyCountryShort added in v0.84.0

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.

func (*Client) RetrieveSinglePolicy deprecated added in v0.84.0

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

RetrieveSinglePolicy retrieve a base legal policy Retrieve a base policy.

func (*Client) RetrieveSinglePolicyShort added in v0.84.0

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

RetrieveSinglePolicyShort retrieve a base legal policy Retrieve a base policy.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	RetrieveAllLegalPoliciesByNamespace(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error)
	RetrieveAllLegalPoliciesByNamespaceShort(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error)
	CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, *CreatePolicyBadRequest, *CreatePolicyConflict, *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)
	DeleteBasePolicy(params *DeleteBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBasePolicyNoContent, *DeleteBasePolicyBadRequest, error)
	DeleteBasePolicyShort(params *DeleteBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBasePolicyNoContent, error)
	PartialUpdatePolicy(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, *PartialUpdatePolicyBadRequest, 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)
	RetrieveAllPoliciesFromBasePolicy(params *RetrieveAllPoliciesFromBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPoliciesFromBasePolicyOK, *RetrieveAllPoliciesFromBasePolicyNotFound, error)
	RetrieveAllPoliciesFromBasePolicyShort(params *RetrieveAllPoliciesFromBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPoliciesFromBasePolicyOK, error)
	CreatePolicyUnderBasePolicy(params *CreatePolicyUnderBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyUnderBasePolicyCreated, *CreatePolicyUnderBasePolicyBadRequest, error)
	CreatePolicyUnderBasePolicyShort(params *CreatePolicyUnderBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyUnderBasePolicyCreated, 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 with namespace API client.

type CreatePolicyBadRequest added in v0.84.0

type CreatePolicyBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

CreatePolicyBadRequest handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40032</td><td>errors.net.accelbyte.platform.legal.base_policy_namespace_not_match</td></tr><tr><td>40026</td><td>errors.net.accelbyte.platform.legal.not_allow_create_studio_policy</td></tr></table>

func NewCreatePolicyBadRequest added in v0.84.0

func NewCreatePolicyBadRequest() *CreatePolicyBadRequest

NewCreatePolicyBadRequest creates a CreatePolicyBadRequest with default headers values

func (*CreatePolicyBadRequest) Error added in v0.84.0

func (o *CreatePolicyBadRequest) Error() string

func (*CreatePolicyBadRequest) GetPayload added in v0.84.0

func (*CreatePolicyBadRequest) ToJSONString added in v0.84.0

func (o *CreatePolicyBadRequest) ToJSONString() string

type CreatePolicyConflict added in v0.84.0

type CreatePolicyConflict struct {
	Payload *legalclientmodels.ErrorEntity
}

CreatePolicyConflict 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.invalid_policy_type</td></tr></table>

func NewCreatePolicyConflict added in v0.84.0

func NewCreatePolicyConflict() *CreatePolicyConflict

NewCreatePolicyConflict creates a CreatePolicyConflict with default headers values

func (*CreatePolicyConflict) Error added in v0.84.0

func (o *CreatePolicyConflict) Error() string

func (*CreatePolicyConflict) GetPayload added in v0.84.0

func (*CreatePolicyConflict) ToJSONString added in v0.84.0

func (o *CreatePolicyConflict) ToJSONString() string

type CreatePolicyCreated added in v0.84.0

type CreatePolicyCreated struct {
	Payload *legalclientmodels.CreateBasePolicyResponse
}

CreatePolicyCreated handles this case with default header values.

successful operation

func NewCreatePolicyCreated added in v0.84.0

func NewCreatePolicyCreated() *CreatePolicyCreated

NewCreatePolicyCreated creates a CreatePolicyCreated with default headers values

func (*CreatePolicyCreated) Error added in v0.84.0

func (o *CreatePolicyCreated) Error() string

func (*CreatePolicyCreated) GetPayload added in v0.84.0

func (*CreatePolicyCreated) ToJSONString added in v0.84.0

func (o *CreatePolicyCreated) ToJSONString() string

type CreatePolicyParams added in v0.84.0

type CreatePolicyParams struct {

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

	*/
	Namespace string

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

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

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 added in v0.84.0

func NewCreatePolicyParams() *CreatePolicyParams

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

func NewCreatePolicyParamsWithContext added in v0.84.0

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 added in v0.84.0

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 added in v0.84.0

func NewCreatePolicyParamsWithTimeout(timeout time.Duration) *CreatePolicyParams

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

func (*CreatePolicyParams) SetAuthInfoWriter added in v0.84.0

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

SetAuthInfoWriter adds the authInfoWriter to the create policy params

func (*CreatePolicyParams) SetBody added in v0.84.0

SetBody adds the body to the create policy params

func (*CreatePolicyParams) SetContext added in v0.84.0

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

SetContext adds the context to the create policy params

func (*CreatePolicyParams) SetFlightId added in v0.84.0

func (o *CreatePolicyParams) SetFlightId(flightId string)

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

func (*CreatePolicyParams) SetHTTPClient added in v0.84.0

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

SetHTTPClient adds the HTTPClient to the create policy params

func (*CreatePolicyParams) SetHTTPClientTransport added in v0.84.0

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

SetHTTPClient adds the HTTPClient Transport to the create policy params

func (*CreatePolicyParams) SetNamespace added in v0.84.0

func (o *CreatePolicyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create policy params

func (*CreatePolicyParams) SetTimeout added in v0.84.0

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

SetTimeout adds the timeout to the create policy params

func (*CreatePolicyParams) WithBody added in v0.84.0

WithBody adds the body to the create policy params

func (*CreatePolicyParams) WithContext added in v0.84.0

WithContext adds the context to the create policy params

func (*CreatePolicyParams) WithHTTPClient added in v0.84.0

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

WithHTTPClient adds the HTTPClient to the create policy params

func (*CreatePolicyParams) WithNamespace added in v0.84.0

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

WithNamespace adds the namespace to the create policy params

func (*CreatePolicyParams) WithTimeout added in v0.84.0

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

WithTimeout adds the timeout to the create policy params

func (*CreatePolicyParams) WriteToRequest added in v0.84.0

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

WriteToRequest writes these params to a swagger request

type CreatePolicyReader added in v0.84.0

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

CreatePolicyReader is a Reader for the CreatePolicy structure.

func (*CreatePolicyReader) ReadResponse added in v0.84.0

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

ReadResponse reads a server response into the received o.

type CreatePolicyUnderBasePolicyBadRequest added in v0.75.0

type CreatePolicyUnderBasePolicyBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

CreatePolicyUnderBasePolicyBadRequest 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></table>

func NewCreatePolicyUnderBasePolicyBadRequest added in v0.75.0

func NewCreatePolicyUnderBasePolicyBadRequest() *CreatePolicyUnderBasePolicyBadRequest

NewCreatePolicyUnderBasePolicyBadRequest creates a CreatePolicyUnderBasePolicyBadRequest with default headers values

func (*CreatePolicyUnderBasePolicyBadRequest) Error added in v0.75.0

func (*CreatePolicyUnderBasePolicyBadRequest) GetPayload added in v0.75.0

func (*CreatePolicyUnderBasePolicyBadRequest) ToJSONString added in v0.75.0

type CreatePolicyUnderBasePolicyCreated added in v0.75.0

type CreatePolicyUnderBasePolicyCreated struct {
	Payload *legalclientmodels.CreatePolicyResponse
}

CreatePolicyUnderBasePolicyCreated handles this case with default header values.

successful operation

func NewCreatePolicyUnderBasePolicyCreated added in v0.75.0

func NewCreatePolicyUnderBasePolicyCreated() *CreatePolicyUnderBasePolicyCreated

NewCreatePolicyUnderBasePolicyCreated creates a CreatePolicyUnderBasePolicyCreated with default headers values

func (*CreatePolicyUnderBasePolicyCreated) Error added in v0.75.0

func (*CreatePolicyUnderBasePolicyCreated) GetPayload added in v0.75.0

func (*CreatePolicyUnderBasePolicyCreated) ToJSONString added in v0.75.0

func (o *CreatePolicyUnderBasePolicyCreated) ToJSONString() string

type CreatePolicyUnderBasePolicyParams added in v0.75.0

type CreatePolicyUnderBasePolicyParams struct {

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

	*/
	BasePolicyID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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

func NewCreatePolicyUnderBasePolicyParams added in v0.75.0

func NewCreatePolicyUnderBasePolicyParams() *CreatePolicyUnderBasePolicyParams

NewCreatePolicyUnderBasePolicyParams creates a new CreatePolicyUnderBasePolicyParams object with the default values initialized.

func NewCreatePolicyUnderBasePolicyParamsWithContext added in v0.75.0

func NewCreatePolicyUnderBasePolicyParamsWithContext(ctx context.Context) *CreatePolicyUnderBasePolicyParams

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

func NewCreatePolicyUnderBasePolicyParamsWithHTTPClient added in v0.75.0

func NewCreatePolicyUnderBasePolicyParamsWithHTTPClient(client *http.Client) *CreatePolicyUnderBasePolicyParams

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

func NewCreatePolicyUnderBasePolicyParamsWithTimeout added in v0.75.0

func NewCreatePolicyUnderBasePolicyParamsWithTimeout(timeout time.Duration) *CreatePolicyUnderBasePolicyParams

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

func (*CreatePolicyUnderBasePolicyParams) SetAuthInfoWriter added in v0.75.0

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

SetAuthInfoWriter adds the authInfoWriter to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) SetBasePolicyID added in v0.75.0

func (o *CreatePolicyUnderBasePolicyParams) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) SetBody added in v0.75.0

SetBody adds the body to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) SetContext added in v0.75.0

SetContext adds the context to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) SetFlightId added in v0.75.0

func (o *CreatePolicyUnderBasePolicyParams) SetFlightId(flightId string)

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

func (*CreatePolicyUnderBasePolicyParams) SetHTTPClient added in v0.75.0

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

SetHTTPClient adds the HTTPClient to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) SetHTTPClientTransport added in v0.75.0

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

SetHTTPClient adds the HTTPClient Transport to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) SetNamespace added in v0.75.0

func (o *CreatePolicyUnderBasePolicyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) SetTimeout added in v0.75.0

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

SetTimeout adds the timeout to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) WithBasePolicyID added in v0.75.0

WithBasePolicyID adds the basePolicyID to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) WithBody added in v0.75.0

WithBody adds the body to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) WithContext added in v0.75.0

WithContext adds the context to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) WithHTTPClient added in v0.75.0

WithHTTPClient adds the HTTPClient to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) WithNamespace added in v0.75.0

WithNamespace adds the namespace to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) WithTimeout added in v0.75.0

WithTimeout adds the timeout to the create policy under base policy params

func (*CreatePolicyUnderBasePolicyParams) WriteToRequest added in v0.75.0

WriteToRequest writes these params to a swagger request

type CreatePolicyUnderBasePolicyReader added in v0.75.0

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

CreatePolicyUnderBasePolicyReader is a Reader for the CreatePolicyUnderBasePolicy structure.

func (*CreatePolicyUnderBasePolicyReader) ReadResponse added in v0.75.0

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

ReadResponse reads a server response into the received o.

type CreatePolicyUnprocessableEntity added in v0.84.0

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 added in v0.84.0

func NewCreatePolicyUnprocessableEntity() *CreatePolicyUnprocessableEntity

NewCreatePolicyUnprocessableEntity creates a CreatePolicyUnprocessableEntity with default headers values

func (*CreatePolicyUnprocessableEntity) Error added in v0.84.0

func (*CreatePolicyUnprocessableEntity) GetPayload added in v0.84.0

func (*CreatePolicyUnprocessableEntity) ToJSONString added in v0.84.0

func (o *CreatePolicyUnprocessableEntity) ToJSONString() string

type DeleteBasePolicyBadRequest added in v0.75.0

type DeleteBasePolicyBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

DeleteBasePolicyBadRequest 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>40068</td><td>errors.net.accelbyte.platform.legal.base_policy_have_published_policy_version_and_already_accepted_by_user</td></tr><tr><td>40069</td><td>errors.net.accelbyte.platform.legal.base_policy_already_have_published_policy_version</td></tr></table>

func NewDeleteBasePolicyBadRequest added in v0.75.0

func NewDeleteBasePolicyBadRequest() *DeleteBasePolicyBadRequest

NewDeleteBasePolicyBadRequest creates a DeleteBasePolicyBadRequest with default headers values

func (*DeleteBasePolicyBadRequest) Error added in v0.75.0

func (*DeleteBasePolicyBadRequest) GetPayload added in v0.75.0

func (*DeleteBasePolicyBadRequest) ToJSONString added in v0.75.0

func (o *DeleteBasePolicyBadRequest) ToJSONString() string

type DeleteBasePolicyNoContent added in v0.75.0

type DeleteBasePolicyNoContent struct {
}

DeleteBasePolicyNoContent handles this case with default header values.

Successful operation

func NewDeleteBasePolicyNoContent added in v0.75.0

func NewDeleteBasePolicyNoContent() *DeleteBasePolicyNoContent

NewDeleteBasePolicyNoContent creates a DeleteBasePolicyNoContent with default headers values

func (*DeleteBasePolicyNoContent) Error added in v0.75.0

func (o *DeleteBasePolicyNoContent) Error() string

type DeleteBasePolicyParams added in v0.75.0

type DeleteBasePolicyParams struct {

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

	*/
	BasePolicyID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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

func NewDeleteBasePolicyParams added in v0.75.0

func NewDeleteBasePolicyParams() *DeleteBasePolicyParams

NewDeleteBasePolicyParams creates a new DeleteBasePolicyParams object with the default values initialized.

func NewDeleteBasePolicyParamsWithContext added in v0.75.0

func NewDeleteBasePolicyParamsWithContext(ctx context.Context) *DeleteBasePolicyParams

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

func NewDeleteBasePolicyParamsWithHTTPClient added in v0.75.0

func NewDeleteBasePolicyParamsWithHTTPClient(client *http.Client) *DeleteBasePolicyParams

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

func NewDeleteBasePolicyParamsWithTimeout added in v0.75.0

func NewDeleteBasePolicyParamsWithTimeout(timeout time.Duration) *DeleteBasePolicyParams

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

func (*DeleteBasePolicyParams) SetAuthInfoWriter added in v0.75.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete base policy params

func (*DeleteBasePolicyParams) SetBasePolicyID added in v0.75.0

func (o *DeleteBasePolicyParams) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the delete base policy params

func (*DeleteBasePolicyParams) SetContext added in v0.75.0

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

SetContext adds the context to the delete base policy params

func (*DeleteBasePolicyParams) SetFlightId added in v0.75.0

func (o *DeleteBasePolicyParams) SetFlightId(flightId string)

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

func (*DeleteBasePolicyParams) SetHTTPClient added in v0.75.0

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

SetHTTPClient adds the HTTPClient to the delete base policy params

func (*DeleteBasePolicyParams) SetHTTPClientTransport added in v0.75.0

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

SetHTTPClient adds the HTTPClient Transport to the delete base policy params

func (*DeleteBasePolicyParams) SetNamespace added in v0.75.0

func (o *DeleteBasePolicyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete base policy params

func (*DeleteBasePolicyParams) SetTimeout added in v0.75.0

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

SetTimeout adds the timeout to the delete base policy params

func (*DeleteBasePolicyParams) WithBasePolicyID added in v0.75.0

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

WithBasePolicyID adds the basePolicyID to the delete base policy params

func (*DeleteBasePolicyParams) WithContext added in v0.75.0

WithContext adds the context to the delete base policy params

func (*DeleteBasePolicyParams) WithHTTPClient added in v0.75.0

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

WithHTTPClient adds the HTTPClient to the delete base policy params

func (*DeleteBasePolicyParams) WithNamespace added in v0.75.0

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

WithNamespace adds the namespace to the delete base policy params

func (*DeleteBasePolicyParams) WithTimeout added in v0.75.0

WithTimeout adds the timeout to the delete base policy params

func (*DeleteBasePolicyParams) WriteToRequest added in v0.75.0

WriteToRequest writes these params to a swagger request

type DeleteBasePolicyReader added in v0.75.0

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

DeleteBasePolicyReader is a Reader for the DeleteBasePolicy structure.

func (*DeleteBasePolicyReader) ReadResponse added in v0.75.0

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

ReadResponse reads a server response into the received o.

type PartialUpdatePolicyBadRequest added in v0.84.0

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></table>

func NewPartialUpdatePolicyBadRequest added in v0.84.0

func NewPartialUpdatePolicyBadRequest() *PartialUpdatePolicyBadRequest

NewPartialUpdatePolicyBadRequest creates a PartialUpdatePolicyBadRequest with default headers values

func (*PartialUpdatePolicyBadRequest) Error added in v0.84.0

func (*PartialUpdatePolicyBadRequest) GetPayload added in v0.84.0

func (*PartialUpdatePolicyBadRequest) ToJSONString added in v0.84.0

func (o *PartialUpdatePolicyBadRequest) ToJSONString() string

type PartialUpdatePolicyOK added in v0.84.0

type PartialUpdatePolicyOK struct {
	Payload *legalclientmodels.UpdateBasePolicyResponse
}

PartialUpdatePolicyOK handles this case with default header values.

successful operation

func NewPartialUpdatePolicyOK added in v0.84.0

func NewPartialUpdatePolicyOK() *PartialUpdatePolicyOK

NewPartialUpdatePolicyOK creates a PartialUpdatePolicyOK with default headers values

func (*PartialUpdatePolicyOK) Error added in v0.84.0

func (o *PartialUpdatePolicyOK) Error() string

func (*PartialUpdatePolicyOK) GetPayload added in v0.84.0

func (*PartialUpdatePolicyOK) ToJSONString added in v0.84.0

func (o *PartialUpdatePolicyOK) ToJSONString() string

type PartialUpdatePolicyParams added in v0.84.0

type PartialUpdatePolicyParams struct {

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

	*/
	BasePolicyID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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 added in v0.84.0

func NewPartialUpdatePolicyParams() *PartialUpdatePolicyParams

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

func NewPartialUpdatePolicyParamsWithContext added in v0.84.0

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 added in v0.84.0

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 added in v0.84.0

func NewPartialUpdatePolicyParamsWithTimeout(timeout time.Duration) *PartialUpdatePolicyParams

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

func (*PartialUpdatePolicyParams) SetAuthInfoWriter added in v0.84.0

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

SetAuthInfoWriter adds the authInfoWriter to the partial update policy params

func (*PartialUpdatePolicyParams) SetBasePolicyID added in v0.84.0

func (o *PartialUpdatePolicyParams) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the partial update policy params

func (*PartialUpdatePolicyParams) SetBody added in v0.84.0

SetBody adds the body to the partial update policy params

func (*PartialUpdatePolicyParams) SetContext added in v0.84.0

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

SetContext adds the context to the partial update policy params

func (*PartialUpdatePolicyParams) SetFlightId added in v0.84.0

func (o *PartialUpdatePolicyParams) SetFlightId(flightId string)

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

func (*PartialUpdatePolicyParams) SetHTTPClient added in v0.84.0

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

SetHTTPClient adds the HTTPClient to the partial update policy params

func (*PartialUpdatePolicyParams) SetHTTPClientTransport added in v0.84.0

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

SetHTTPClient adds the HTTPClient Transport to the partial update policy params

func (*PartialUpdatePolicyParams) SetNamespace added in v0.84.0

func (o *PartialUpdatePolicyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the partial update policy params

func (*PartialUpdatePolicyParams) SetTimeout added in v0.84.0

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

SetTimeout adds the timeout to the partial update policy params

func (*PartialUpdatePolicyParams) WithBasePolicyID added in v0.84.0

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

WithBasePolicyID adds the basePolicyID to the partial update policy params

func (*PartialUpdatePolicyParams) WithBody added in v0.84.0

WithBody adds the body to the partial update policy params

func (*PartialUpdatePolicyParams) WithContext added in v0.84.0

WithContext adds the context to the partial update policy params

func (*PartialUpdatePolicyParams) WithHTTPClient added in v0.84.0

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

WithHTTPClient adds the HTTPClient to the partial update policy params

func (*PartialUpdatePolicyParams) WithNamespace added in v0.84.0

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

WithNamespace adds the namespace to the partial update policy params

func (*PartialUpdatePolicyParams) WithTimeout added in v0.84.0

WithTimeout adds the timeout to the partial update policy params

func (*PartialUpdatePolicyParams) WriteToRequest added in v0.84.0

WriteToRequest writes these params to a swagger request

type PartialUpdatePolicyReader added in v0.84.0

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

PartialUpdatePolicyReader is a Reader for the PartialUpdatePolicy structure.

func (*PartialUpdatePolicyReader) ReadResponse added in v0.84.0

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

ReadResponse reads a server response into the received o.

type RetrieveAllLegalPoliciesByNamespaceOK

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

RetrieveAllLegalPoliciesByNamespaceOK handles this case with default header values.

successful operation

func NewRetrieveAllLegalPoliciesByNamespaceOK

func NewRetrieveAllLegalPoliciesByNamespaceOK() *RetrieveAllLegalPoliciesByNamespaceOK

NewRetrieveAllLegalPoliciesByNamespaceOK creates a RetrieveAllLegalPoliciesByNamespaceOK with default headers values

func (*RetrieveAllLegalPoliciesByNamespaceOK) Error

func (*RetrieveAllLegalPoliciesByNamespaceOK) GetPayload

func (*RetrieveAllLegalPoliciesByNamespaceOK) ToJSONString

type RetrieveAllLegalPoliciesByNamespaceParams

type RetrieveAllLegalPoliciesByNamespaceParams struct {

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

	*/
	Namespace string
	/*Limit
	  Limit

	*/
	Limit *int32
	/*Offset
	  Offset

	*/
	Offset *int32
	/*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
}

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

func NewRetrieveAllLegalPoliciesByNamespaceParams

func NewRetrieveAllLegalPoliciesByNamespaceParams() *RetrieveAllLegalPoliciesByNamespaceParams

NewRetrieveAllLegalPoliciesByNamespaceParams creates a new RetrieveAllLegalPoliciesByNamespaceParams object with the default values initialized.

func NewRetrieveAllLegalPoliciesByNamespaceParamsWithContext

func NewRetrieveAllLegalPoliciesByNamespaceParamsWithContext(ctx context.Context) *RetrieveAllLegalPoliciesByNamespaceParams

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

func NewRetrieveAllLegalPoliciesByNamespaceParamsWithHTTPClient

func NewRetrieveAllLegalPoliciesByNamespaceParamsWithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesByNamespaceParams

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

func NewRetrieveAllLegalPoliciesByNamespaceParamsWithTimeout

func NewRetrieveAllLegalPoliciesByNamespaceParamsWithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesByNamespaceParams

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

func (*RetrieveAllLegalPoliciesByNamespaceParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) SetContext

SetContext adds the context to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) SetFlightId added in v0.63.0

func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetFlightId(flightId string)

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

func (*RetrieveAllLegalPoliciesByNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) SetHTTPClientTransport

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

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

func (*RetrieveAllLegalPoliciesByNamespaceParams) SetLimit added in v0.85.0

SetLimit adds the limit to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) SetNamespace

func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) SetOffset added in v0.85.0

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

SetOffset adds the offset to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) SetTimeout

SetTimeout adds the timeout to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) SetVisibleOnly added in v0.70.0

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

SetVisibleOnly adds the visibleOnly to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) WithContext

WithContext adds the context to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) WithLimit added in v0.85.0

WithLimit adds the limit to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) WithNamespace

WithNamespace adds the namespace to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) WithOffset added in v0.85.0

WithOffset adds the offset to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) WithTimeout

WithTimeout adds the timeout to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) WithVisibleOnly added in v0.70.0

WithVisibleOnly adds the visibleOnly to the retrieve all legal policies by namespace params

func (*RetrieveAllLegalPoliciesByNamespaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveAllLegalPoliciesByNamespaceReader

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

RetrieveAllLegalPoliciesByNamespaceReader is a Reader for the RetrieveAllLegalPoliciesByNamespace structure.

func (*RetrieveAllLegalPoliciesByNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveAllPoliciesFromBasePolicyNotFound added in v0.75.0

type RetrieveAllPoliciesFromBasePolicyNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveAllPoliciesFromBasePolicyNotFound 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 NewRetrieveAllPoliciesFromBasePolicyNotFound added in v0.75.0

func NewRetrieveAllPoliciesFromBasePolicyNotFound() *RetrieveAllPoliciesFromBasePolicyNotFound

NewRetrieveAllPoliciesFromBasePolicyNotFound creates a RetrieveAllPoliciesFromBasePolicyNotFound with default headers values

func (*RetrieveAllPoliciesFromBasePolicyNotFound) Error added in v0.75.0

func (*RetrieveAllPoliciesFromBasePolicyNotFound) GetPayload added in v0.75.0

func (*RetrieveAllPoliciesFromBasePolicyNotFound) ToJSONString added in v0.75.0

type RetrieveAllPoliciesFromBasePolicyOK added in v0.75.0

type RetrieveAllPoliciesFromBasePolicyOK struct {
	Payload []*legalclientmodels.RetrievePoliciesFromBasePolicyResponse
}

RetrieveAllPoliciesFromBasePolicyOK handles this case with default header values.

successful operation

func NewRetrieveAllPoliciesFromBasePolicyOK added in v0.75.0

func NewRetrieveAllPoliciesFromBasePolicyOK() *RetrieveAllPoliciesFromBasePolicyOK

NewRetrieveAllPoliciesFromBasePolicyOK creates a RetrieveAllPoliciesFromBasePolicyOK with default headers values

func (*RetrieveAllPoliciesFromBasePolicyOK) Error added in v0.75.0

func (*RetrieveAllPoliciesFromBasePolicyOK) GetPayload added in v0.75.0

func (*RetrieveAllPoliciesFromBasePolicyOK) ToJSONString added in v0.75.0

func (o *RetrieveAllPoliciesFromBasePolicyOK) ToJSONString() string

type RetrieveAllPoliciesFromBasePolicyParams added in v0.75.0

type RetrieveAllPoliciesFromBasePolicyParams struct {

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

	*/
	BasePolicyID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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

func NewRetrieveAllPoliciesFromBasePolicyParams added in v0.75.0

func NewRetrieveAllPoliciesFromBasePolicyParams() *RetrieveAllPoliciesFromBasePolicyParams

NewRetrieveAllPoliciesFromBasePolicyParams creates a new RetrieveAllPoliciesFromBasePolicyParams object with the default values initialized.

func NewRetrieveAllPoliciesFromBasePolicyParamsWithContext added in v0.75.0

func NewRetrieveAllPoliciesFromBasePolicyParamsWithContext(ctx context.Context) *RetrieveAllPoliciesFromBasePolicyParams

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

func NewRetrieveAllPoliciesFromBasePolicyParamsWithHTTPClient added in v0.75.0

func NewRetrieveAllPoliciesFromBasePolicyParamsWithHTTPClient(client *http.Client) *RetrieveAllPoliciesFromBasePolicyParams

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

func NewRetrieveAllPoliciesFromBasePolicyParamsWithTimeout added in v0.75.0

func NewRetrieveAllPoliciesFromBasePolicyParamsWithTimeout(timeout time.Duration) *RetrieveAllPoliciesFromBasePolicyParams

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

func (*RetrieveAllPoliciesFromBasePolicyParams) SetAuthInfoWriter added in v0.75.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) SetBasePolicyID added in v0.75.0

func (o *RetrieveAllPoliciesFromBasePolicyParams) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) SetContext added in v0.75.0

SetContext adds the context to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) SetFlightId added in v0.75.0

func (o *RetrieveAllPoliciesFromBasePolicyParams) SetFlightId(flightId string)

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

func (*RetrieveAllPoliciesFromBasePolicyParams) SetHTTPClient added in v0.75.0

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

SetHTTPClient adds the HTTPClient to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) SetHTTPClientTransport added in v0.75.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) SetNamespace added in v0.75.0

func (o *RetrieveAllPoliciesFromBasePolicyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) SetTimeout added in v0.75.0

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

SetTimeout adds the timeout to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) WithBasePolicyID added in v0.75.0

WithBasePolicyID adds the basePolicyID to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) WithContext added in v0.75.0

WithContext adds the context to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) WithHTTPClient added in v0.75.0

WithHTTPClient adds the HTTPClient to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) WithNamespace added in v0.75.0

WithNamespace adds the namespace to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) WithTimeout added in v0.75.0

WithTimeout adds the timeout to the retrieve all policies from base policy params

func (*RetrieveAllPoliciesFromBasePolicyParams) WriteToRequest added in v0.75.0

WriteToRequest writes these params to a swagger request

type RetrieveAllPoliciesFromBasePolicyReader added in v0.75.0

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

RetrieveAllPoliciesFromBasePolicyReader is a Reader for the RetrieveAllPoliciesFromBasePolicy structure.

func (*RetrieveAllPoliciesFromBasePolicyReader) ReadResponse added in v0.75.0

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

ReadResponse reads a server response into the received o.

type RetrieveAllPolicyTypesOK added in v0.84.0

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

RetrieveAllPolicyTypesOK handles this case with default header values.

successful operation

func NewRetrieveAllPolicyTypesOK added in v0.84.0

func NewRetrieveAllPolicyTypesOK() *RetrieveAllPolicyTypesOK

NewRetrieveAllPolicyTypesOK creates a RetrieveAllPolicyTypesOK with default headers values

func (*RetrieveAllPolicyTypesOK) Error added in v0.84.0

func (o *RetrieveAllPolicyTypesOK) Error() string

func (*RetrieveAllPolicyTypesOK) GetPayload added in v0.84.0

func (*RetrieveAllPolicyTypesOK) ToJSONString added in v0.84.0

func (o *RetrieveAllPolicyTypesOK) ToJSONString() string

type RetrieveAllPolicyTypesParams added in v0.84.0

type RetrieveAllPolicyTypesParams struct {

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

	*/
	Namespace string
	/*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 added in v0.84.0

func NewRetrieveAllPolicyTypesParams() *RetrieveAllPolicyTypesParams

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

func NewRetrieveAllPolicyTypesParamsWithContext added in v0.84.0

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 added in v0.84.0

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 added in v0.84.0

func NewRetrieveAllPolicyTypesParamsWithTimeout(timeout time.Duration) *RetrieveAllPolicyTypesParams

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

func (*RetrieveAllPolicyTypesParams) SetAuthInfoWriter added in v0.84.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetContext added in v0.84.0

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

SetContext adds the context to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetFlightId added in v0.84.0

func (o *RetrieveAllPolicyTypesParams) SetFlightId(flightId string)

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

func (*RetrieveAllPolicyTypesParams) SetHTTPClient added in v0.84.0

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

SetHTTPClient adds the HTTPClient to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetHTTPClientTransport added in v0.84.0

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

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

func (*RetrieveAllPolicyTypesParams) SetLimit added in v0.84.0

func (o *RetrieveAllPolicyTypesParams) SetLimit(limit int32)

SetLimit adds the limit to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetNamespace added in v0.84.0

func (o *RetrieveAllPolicyTypesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetOffset added in v0.84.0

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

SetOffset adds the offset to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) SetTimeout added in v0.84.0

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

SetTimeout adds the timeout to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WithContext added in v0.84.0

WithContext adds the context to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WithHTTPClient added in v0.84.0

WithHTTPClient adds the HTTPClient to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WithLimit added in v0.84.0

WithLimit adds the limit to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WithNamespace added in v0.84.0

WithNamespace adds the namespace to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WithOffset added in v0.84.0

WithOffset adds the offset to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WithTimeout added in v0.84.0

WithTimeout adds the timeout to the retrieve all policy types params

func (*RetrieveAllPolicyTypesParams) WriteToRequest added in v0.84.0

WriteToRequest writes these params to a swagger request

type RetrieveAllPolicyTypesReader added in v0.84.0

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

RetrieveAllPolicyTypesReader is a Reader for the RetrieveAllPolicyTypes structure.

func (*RetrieveAllPolicyTypesReader) ReadResponse added in v0.84.0

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

ReadResponse reads a server response into the received o.

type RetrievePolicyCountryNotFound added in v0.84.0

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

func NewRetrievePolicyCountryNotFound added in v0.84.0

func NewRetrievePolicyCountryNotFound() *RetrievePolicyCountryNotFound

NewRetrievePolicyCountryNotFound creates a RetrievePolicyCountryNotFound with default headers values

func (*RetrievePolicyCountryNotFound) Error added in v0.84.0

func (*RetrievePolicyCountryNotFound) GetPayload added in v0.84.0

func (*RetrievePolicyCountryNotFound) ToJSONString added in v0.84.0

func (o *RetrievePolicyCountryNotFound) ToJSONString() string

type RetrievePolicyCountryOK added in v0.84.0

type RetrievePolicyCountryOK struct {
	Payload *legalclientmodels.RetrievePolicyResponse
}

RetrievePolicyCountryOK handles this case with default header values.

successful operation

func NewRetrievePolicyCountryOK added in v0.84.0

func NewRetrievePolicyCountryOK() *RetrievePolicyCountryOK

NewRetrievePolicyCountryOK creates a RetrievePolicyCountryOK with default headers values

func (*RetrievePolicyCountryOK) Error added in v0.84.0

func (o *RetrievePolicyCountryOK) Error() string

func (*RetrievePolicyCountryOK) GetPayload added in v0.84.0

func (*RetrievePolicyCountryOK) ToJSONString added in v0.84.0

func (o *RetrievePolicyCountryOK) ToJSONString() string

type RetrievePolicyCountryParams added in v0.84.0

type RetrievePolicyCountryParams struct {

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

	*/
	BasePolicyID string
	/*CountryCode
	  Country Code

	*/
	CountryCode string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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 added in v0.84.0

func NewRetrievePolicyCountryParams() *RetrievePolicyCountryParams

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

func NewRetrievePolicyCountryParamsWithContext added in v0.84.0

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 added in v0.84.0

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 added in v0.84.0

func NewRetrievePolicyCountryParamsWithTimeout(timeout time.Duration) *RetrievePolicyCountryParams

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

func (*RetrievePolicyCountryParams) SetAuthInfoWriter added in v0.84.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetBasePolicyID added in v0.84.0

func (o *RetrievePolicyCountryParams) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetContext added in v0.84.0

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

SetContext adds the context to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetCountryCode added in v0.84.0

func (o *RetrievePolicyCountryParams) SetCountryCode(countryCode string)

SetCountryCode adds the countryCode to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetFlightId added in v0.84.0

func (o *RetrievePolicyCountryParams) SetFlightId(flightId string)

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

func (*RetrievePolicyCountryParams) SetHTTPClient added in v0.84.0

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

SetHTTPClient adds the HTTPClient to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetHTTPClientTransport added in v0.84.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetNamespace added in v0.84.0

func (o *RetrievePolicyCountryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve policy country params

func (*RetrievePolicyCountryParams) SetTimeout added in v0.84.0

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

SetTimeout adds the timeout to the retrieve policy country params

func (*RetrievePolicyCountryParams) WithBasePolicyID added in v0.84.0

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

WithBasePolicyID adds the basePolicyID to the retrieve policy country params

func (*RetrievePolicyCountryParams) WithContext added in v0.84.0

WithContext adds the context to the retrieve policy country params

func (*RetrievePolicyCountryParams) WithCountryCode added in v0.84.0

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

WithCountryCode adds the countryCode to the retrieve policy country params

func (*RetrievePolicyCountryParams) WithHTTPClient added in v0.84.0

WithHTTPClient adds the HTTPClient to the retrieve policy country params

func (*RetrievePolicyCountryParams) WithNamespace added in v0.84.0

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

WithNamespace adds the namespace to the retrieve policy country params

func (*RetrievePolicyCountryParams) WithTimeout added in v0.84.0

WithTimeout adds the timeout to the retrieve policy country params

func (*RetrievePolicyCountryParams) WriteToRequest added in v0.84.0

WriteToRequest writes these params to a swagger request

type RetrievePolicyCountryReader added in v0.84.0

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

RetrievePolicyCountryReader is a Reader for the RetrievePolicyCountry structure.

func (*RetrievePolicyCountryReader) ReadResponse added in v0.84.0

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

ReadResponse reads a server response into the received o.

type RetrieveSinglePolicyNotFound added in v0.84.0

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

func NewRetrieveSinglePolicyNotFound added in v0.84.0

func NewRetrieveSinglePolicyNotFound() *RetrieveSinglePolicyNotFound

NewRetrieveSinglePolicyNotFound creates a RetrieveSinglePolicyNotFound with default headers values

func (*RetrieveSinglePolicyNotFound) Error added in v0.84.0

func (*RetrieveSinglePolicyNotFound) GetPayload added in v0.84.0

func (*RetrieveSinglePolicyNotFound) ToJSONString added in v0.84.0

func (o *RetrieveSinglePolicyNotFound) ToJSONString() string

type RetrieveSinglePolicyOK added in v0.84.0

type RetrieveSinglePolicyOK struct {
	Payload *legalclientmodels.RetrieveBasePolicyResponse
}

RetrieveSinglePolicyOK handles this case with default header values.

successful operation

func NewRetrieveSinglePolicyOK added in v0.84.0

func NewRetrieveSinglePolicyOK() *RetrieveSinglePolicyOK

NewRetrieveSinglePolicyOK creates a RetrieveSinglePolicyOK with default headers values

func (*RetrieveSinglePolicyOK) Error added in v0.84.0

func (o *RetrieveSinglePolicyOK) Error() string

func (*RetrieveSinglePolicyOK) GetPayload added in v0.84.0

func (*RetrieveSinglePolicyOK) ToJSONString added in v0.84.0

func (o *RetrieveSinglePolicyOK) ToJSONString() string

type RetrieveSinglePolicyParams added in v0.84.0

type RetrieveSinglePolicyParams struct {

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

	*/
	BasePolicyID string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

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 added in v0.84.0

func NewRetrieveSinglePolicyParams() *RetrieveSinglePolicyParams

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

func NewRetrieveSinglePolicyParamsWithContext added in v0.84.0

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 added in v0.84.0

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 added in v0.84.0

func NewRetrieveSinglePolicyParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicyParams

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

func (*RetrieveSinglePolicyParams) SetAuthInfoWriter added in v0.84.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetBasePolicyID added in v0.84.0

func (o *RetrieveSinglePolicyParams) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetContext added in v0.84.0

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

SetContext adds the context to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetFlightId added in v0.84.0

func (o *RetrieveSinglePolicyParams) SetFlightId(flightId string)

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

func (*RetrieveSinglePolicyParams) SetHTTPClient added in v0.84.0

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

SetHTTPClient adds the HTTPClient to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetHTTPClientTransport added in v0.84.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetNamespace added in v0.84.0

func (o *RetrieveSinglePolicyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve single policy params

func (*RetrieveSinglePolicyParams) SetTimeout added in v0.84.0

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

SetTimeout adds the timeout to the retrieve single policy params

func (*RetrieveSinglePolicyParams) WithBasePolicyID added in v0.84.0

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

WithBasePolicyID adds the basePolicyID to the retrieve single policy params

func (*RetrieveSinglePolicyParams) WithContext added in v0.84.0

WithContext adds the context to the retrieve single policy params

func (*RetrieveSinglePolicyParams) WithHTTPClient added in v0.84.0

WithHTTPClient adds the HTTPClient to the retrieve single policy params

func (*RetrieveSinglePolicyParams) WithNamespace added in v0.84.0

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

WithNamespace adds the namespace to the retrieve single policy params

func (*RetrieveSinglePolicyParams) WithTimeout added in v0.84.0

WithTimeout adds the timeout to the retrieve single policy params

func (*RetrieveSinglePolicyParams) WriteToRequest added in v0.84.0

WriteToRequest writes these params to a swagger request

type RetrieveSinglePolicyReader added in v0.84.0

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

RetrieveSinglePolicyReader is a Reader for the RetrieveSinglePolicy structure.

func (*RetrieveSinglePolicyReader) ReadResponse added in v0.84.0

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