base_legal_policies_with_namespace

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for base legal policies with namespace API

func (*Client) CreatePolicy1 deprecated

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

CreatePolicy1 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) CreatePolicy1Short

func (a *Client) CreatePolicy1Short(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, error)

CreatePolicy1Short 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) PartialUpdatePolicy1 deprecated

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

PartialUpdatePolicy1 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) PartialUpdatePolicy1Short

func (a *Client) PartialUpdatePolicy1Short(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, error)

PartialUpdatePolicy1Short 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 all base legal policy in the namespace Retrieve all base policies in the namespace.

func (*Client) RetrieveAllLegalPoliciesByNamespaceShort

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

RetrieveAllLegalPoliciesByNamespaceShort retrieve all base legal policy in the namespace Retrieve all base policies in the namespace.

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) RetrieveAllPolicyTypes1 deprecated

func (a *Client) RetrieveAllPolicyTypes1(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, error)

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

RetrieveAllPolicyTypes1 retrieve all policy type Retrieve all supported policy types.

func (*Client) RetrieveAllPolicyTypes1Short

func (a *Client) RetrieveAllPolicyTypes1Short(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, error)

RetrieveAllPolicyTypes1Short retrieve all policy type Retrieve all supported policy types.

func (*Client) RetrievePolicyCountry1 deprecated

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

RetrievePolicyCountry1 retrieve a base legal policy based on a particular country Retrieve a Base Legal Policy based on a Particular Country.

func (*Client) RetrievePolicyCountry1Short

func (a *Client) RetrievePolicyCountry1Short(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, error)

RetrievePolicyCountry1Short retrieve a base legal policy based on a particular country Retrieve a Base Legal Policy based on a Particular Country.

func (*Client) RetrieveSinglePolicy1 deprecated

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

RetrieveSinglePolicy1 retrieve a base legal policy Retrieve a base policy.

func (*Client) RetrieveSinglePolicy1Short

func (a *Client) RetrieveSinglePolicy1Short(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, error)

RetrieveSinglePolicy1Short 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)
	CreatePolicy1(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, *CreatePolicy1BadRequest, *CreatePolicy1Conflict, *CreatePolicy1UnprocessableEntity, error)
	CreatePolicy1Short(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, error)
	RetrieveSinglePolicy1(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, *RetrieveSinglePolicy1NotFound, error)
	RetrieveSinglePolicy1Short(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, error)
	DeleteBasePolicy(params *DeleteBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBasePolicyNoContent, *DeleteBasePolicyBadRequest, error)
	DeleteBasePolicyShort(params *DeleteBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBasePolicyNoContent, error)
	PartialUpdatePolicy1(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, *PartialUpdatePolicy1BadRequest, error)
	PartialUpdatePolicy1Short(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, error)
	RetrievePolicyCountry1(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, *RetrievePolicyCountry1NotFound, error)
	RetrievePolicyCountry1Short(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, 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)
	RetrieveAllPolicyTypes1(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, error)
	RetrieveAllPolicyTypes1Short(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, 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 CreatePolicy1BadRequest

type CreatePolicy1BadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

CreatePolicy1BadRequest 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 NewCreatePolicy1BadRequest

func NewCreatePolicy1BadRequest() *CreatePolicy1BadRequest

NewCreatePolicy1BadRequest creates a CreatePolicy1BadRequest with default headers values

func (*CreatePolicy1BadRequest) Error

func (o *CreatePolicy1BadRequest) Error() string

func (*CreatePolicy1BadRequest) GetPayload

func (*CreatePolicy1BadRequest) ToJSONString

func (o *CreatePolicy1BadRequest) ToJSONString() string

type CreatePolicy1Conflict

type CreatePolicy1Conflict struct {
	Payload *legalclientmodels.ErrorEntity
}

CreatePolicy1Conflict 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 NewCreatePolicy1Conflict

func NewCreatePolicy1Conflict() *CreatePolicy1Conflict

NewCreatePolicy1Conflict creates a CreatePolicy1Conflict with default headers values

func (*CreatePolicy1Conflict) Error

func (o *CreatePolicy1Conflict) Error() string

func (*CreatePolicy1Conflict) GetPayload

func (*CreatePolicy1Conflict) ToJSONString

func (o *CreatePolicy1Conflict) ToJSONString() string

type CreatePolicy1Created

type CreatePolicy1Created struct {
	Payload *legalclientmodels.CreateBasePolicyResponse
}

CreatePolicy1Created handles this case with default header values.

successful operation

func NewCreatePolicy1Created

func NewCreatePolicy1Created() *CreatePolicy1Created

NewCreatePolicy1Created creates a CreatePolicy1Created with default headers values

func (*CreatePolicy1Created) Error

func (o *CreatePolicy1Created) Error() string

func (*CreatePolicy1Created) GetPayload

func (*CreatePolicy1Created) ToJSONString

func (o *CreatePolicy1Created) ToJSONString() string

type CreatePolicy1Params

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

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

func NewCreatePolicy1Params

func NewCreatePolicy1Params() *CreatePolicy1Params

NewCreatePolicy1Params creates a new CreatePolicy1Params object with the default values initialized.

func NewCreatePolicy1ParamsWithContext

func NewCreatePolicy1ParamsWithContext(ctx context.Context) *CreatePolicy1Params

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

func NewCreatePolicy1ParamsWithHTTPClient

func NewCreatePolicy1ParamsWithHTTPClient(client *http.Client) *CreatePolicy1Params

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

func NewCreatePolicy1ParamsWithTimeout

func NewCreatePolicy1ParamsWithTimeout(timeout time.Duration) *CreatePolicy1Params

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

func (*CreatePolicy1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create policy 1 params

func (*CreatePolicy1Params) SetBody

SetBody adds the body to the create policy 1 params

func (*CreatePolicy1Params) SetContext

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

SetContext adds the context to the create policy 1 params

func (*CreatePolicy1Params) SetFlightId added in v0.63.0

func (o *CreatePolicy1Params) SetFlightId(flightId string)

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

func (*CreatePolicy1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create policy 1 params

func (*CreatePolicy1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create policy 1 params

func (*CreatePolicy1Params) SetNamespace

func (o *CreatePolicy1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the create policy 1 params

func (*CreatePolicy1Params) SetTimeout

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

SetTimeout adds the timeout to the create policy 1 params

func (*CreatePolicy1Params) WithBody

WithBody adds the body to the create policy 1 params

func (*CreatePolicy1Params) WithContext

WithContext adds the context to the create policy 1 params

func (*CreatePolicy1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create policy 1 params

func (*CreatePolicy1Params) WithNamespace

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

WithNamespace adds the namespace to the create policy 1 params

func (*CreatePolicy1Params) WithTimeout

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

WithTimeout adds the timeout to the create policy 1 params

func (*CreatePolicy1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreatePolicy1Reader

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

CreatePolicy1Reader is a Reader for the CreatePolicy1 structure.

func (*CreatePolicy1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePolicy1UnprocessableEntity

type CreatePolicy1UnprocessableEntity struct {
	Payload *legalclientmodels.ValidationErrorEntity
}

CreatePolicy1UnprocessableEntity 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 NewCreatePolicy1UnprocessableEntity

func NewCreatePolicy1UnprocessableEntity() *CreatePolicy1UnprocessableEntity

NewCreatePolicy1UnprocessableEntity creates a CreatePolicy1UnprocessableEntity with default headers values

func (*CreatePolicy1UnprocessableEntity) Error

func (*CreatePolicy1UnprocessableEntity) GetPayload

func (*CreatePolicy1UnprocessableEntity) ToJSONString

func (o *CreatePolicy1UnprocessableEntity) ToJSONString() string

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 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 PartialUpdatePolicy1BadRequest

type PartialUpdatePolicy1BadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

PartialUpdatePolicy1BadRequest 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 NewPartialUpdatePolicy1BadRequest

func NewPartialUpdatePolicy1BadRequest() *PartialUpdatePolicy1BadRequest

NewPartialUpdatePolicy1BadRequest creates a PartialUpdatePolicy1BadRequest with default headers values

func (*PartialUpdatePolicy1BadRequest) Error

func (*PartialUpdatePolicy1BadRequest) GetPayload

func (*PartialUpdatePolicy1BadRequest) ToJSONString

func (o *PartialUpdatePolicy1BadRequest) ToJSONString() string

type PartialUpdatePolicy1OK

type PartialUpdatePolicy1OK struct {
	Payload *legalclientmodels.UpdateBasePolicyResponse
}

PartialUpdatePolicy1OK handles this case with default header values.

successful operation

func NewPartialUpdatePolicy1OK

func NewPartialUpdatePolicy1OK() *PartialUpdatePolicy1OK

NewPartialUpdatePolicy1OK creates a PartialUpdatePolicy1OK with default headers values

func (*PartialUpdatePolicy1OK) Error

func (o *PartialUpdatePolicy1OK) Error() string

func (*PartialUpdatePolicy1OK) GetPayload

func (*PartialUpdatePolicy1OK) ToJSONString

func (o *PartialUpdatePolicy1OK) ToJSONString() string

type PartialUpdatePolicy1Params

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

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

func NewPartialUpdatePolicy1Params

func NewPartialUpdatePolicy1Params() *PartialUpdatePolicy1Params

NewPartialUpdatePolicy1Params creates a new PartialUpdatePolicy1Params object with the default values initialized.

func NewPartialUpdatePolicy1ParamsWithContext

func NewPartialUpdatePolicy1ParamsWithContext(ctx context.Context) *PartialUpdatePolicy1Params

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

func NewPartialUpdatePolicy1ParamsWithHTTPClient

func NewPartialUpdatePolicy1ParamsWithHTTPClient(client *http.Client) *PartialUpdatePolicy1Params

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

func NewPartialUpdatePolicy1ParamsWithTimeout

func NewPartialUpdatePolicy1ParamsWithTimeout(timeout time.Duration) *PartialUpdatePolicy1Params

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

func (*PartialUpdatePolicy1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) SetBasePolicyID

func (o *PartialUpdatePolicy1Params) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) SetBody

SetBody adds the body to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) SetContext

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

SetContext adds the context to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) SetFlightId added in v0.63.0

func (o *PartialUpdatePolicy1Params) SetFlightId(flightId string)

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

func (*PartialUpdatePolicy1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) SetNamespace

func (o *PartialUpdatePolicy1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) SetTimeout

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

SetTimeout adds the timeout to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) WithBasePolicyID

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

WithBasePolicyID adds the basePolicyID to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) WithBody

WithBody adds the body to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) WithContext

WithContext adds the context to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) WithNamespace

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

WithNamespace adds the namespace to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) WithTimeout

WithTimeout adds the timeout to the partial update policy 1 params

func (*PartialUpdatePolicy1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PartialUpdatePolicy1Reader

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

PartialUpdatePolicy1Reader is a Reader for the PartialUpdatePolicy1 structure.

func (*PartialUpdatePolicy1Reader) ReadResponse

func (o *PartialUpdatePolicy1Reader) 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
	/*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) SetNamespace

func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetNamespace(namespace string)

SetNamespace adds the namespace 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) WithNamespace

WithNamespace adds the namespace 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 RetrieveAllPolicyTypes1OK

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

RetrieveAllPolicyTypes1OK handles this case with default header values.

successful operation

func NewRetrieveAllPolicyTypes1OK

func NewRetrieveAllPolicyTypes1OK() *RetrieveAllPolicyTypes1OK

NewRetrieveAllPolicyTypes1OK creates a RetrieveAllPolicyTypes1OK with default headers values

func (*RetrieveAllPolicyTypes1OK) Error

func (o *RetrieveAllPolicyTypes1OK) Error() string

func (*RetrieveAllPolicyTypes1OK) GetPayload

func (*RetrieveAllPolicyTypes1OK) ToJSONString

func (o *RetrieveAllPolicyTypes1OK) ToJSONString() string

type RetrieveAllPolicyTypes1Params

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

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

func NewRetrieveAllPolicyTypes1Params

func NewRetrieveAllPolicyTypes1Params() *RetrieveAllPolicyTypes1Params

NewRetrieveAllPolicyTypes1Params creates a new RetrieveAllPolicyTypes1Params object with the default values initialized.

func NewRetrieveAllPolicyTypes1ParamsWithContext

func NewRetrieveAllPolicyTypes1ParamsWithContext(ctx context.Context) *RetrieveAllPolicyTypes1Params

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

func NewRetrieveAllPolicyTypes1ParamsWithHTTPClient

func NewRetrieveAllPolicyTypes1ParamsWithHTTPClient(client *http.Client) *RetrieveAllPolicyTypes1Params

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

func NewRetrieveAllPolicyTypes1ParamsWithTimeout

func NewRetrieveAllPolicyTypes1ParamsWithTimeout(timeout time.Duration) *RetrieveAllPolicyTypes1Params

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

func (*RetrieveAllPolicyTypes1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) SetContext

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

SetContext adds the context to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) SetFlightId added in v0.63.0

func (o *RetrieveAllPolicyTypes1Params) SetFlightId(flightId string)

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

func (*RetrieveAllPolicyTypes1Params) SetHTTPClient

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

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

func (*RetrieveAllPolicyTypes1Params) SetHTTPClientTransport

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

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

func (*RetrieveAllPolicyTypes1Params) SetLimit

func (o *RetrieveAllPolicyTypes1Params) SetLimit(limit int32)

SetLimit adds the limit to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) SetNamespace

func (o *RetrieveAllPolicyTypes1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) SetOffset

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

SetOffset adds the offset to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) SetTimeout

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

SetTimeout adds the timeout to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) WithContext

WithContext adds the context to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) WithLimit

WithLimit adds the limit to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) WithNamespace

WithNamespace adds the namespace to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) WithOffset

WithOffset adds the offset to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) WithTimeout

WithTimeout adds the timeout to the retrieve all policy types 1 params

func (*RetrieveAllPolicyTypes1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveAllPolicyTypes1Reader

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

RetrieveAllPolicyTypes1Reader is a Reader for the RetrieveAllPolicyTypes1 structure.

func (*RetrieveAllPolicyTypes1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrievePolicyCountry1NotFound

type RetrievePolicyCountry1NotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrievePolicyCountry1NotFound 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 NewRetrievePolicyCountry1NotFound

func NewRetrievePolicyCountry1NotFound() *RetrievePolicyCountry1NotFound

NewRetrievePolicyCountry1NotFound creates a RetrievePolicyCountry1NotFound with default headers values

func (*RetrievePolicyCountry1NotFound) Error

func (*RetrievePolicyCountry1NotFound) GetPayload

func (*RetrievePolicyCountry1NotFound) ToJSONString

func (o *RetrievePolicyCountry1NotFound) ToJSONString() string

type RetrievePolicyCountry1OK

type RetrievePolicyCountry1OK struct {
	Payload *legalclientmodels.RetrievePolicyResponse
}

RetrievePolicyCountry1OK handles this case with default header values.

successful operation

func NewRetrievePolicyCountry1OK

func NewRetrievePolicyCountry1OK() *RetrievePolicyCountry1OK

NewRetrievePolicyCountry1OK creates a RetrievePolicyCountry1OK with default headers values

func (*RetrievePolicyCountry1OK) Error

func (o *RetrievePolicyCountry1OK) Error() string

func (*RetrievePolicyCountry1OK) GetPayload

func (*RetrievePolicyCountry1OK) ToJSONString

func (o *RetrievePolicyCountry1OK) ToJSONString() string

type RetrievePolicyCountry1Params

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

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

func NewRetrievePolicyCountry1Params

func NewRetrievePolicyCountry1Params() *RetrievePolicyCountry1Params

NewRetrievePolicyCountry1Params creates a new RetrievePolicyCountry1Params object with the default values initialized.

func NewRetrievePolicyCountry1ParamsWithContext

func NewRetrievePolicyCountry1ParamsWithContext(ctx context.Context) *RetrievePolicyCountry1Params

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

func NewRetrievePolicyCountry1ParamsWithHTTPClient

func NewRetrievePolicyCountry1ParamsWithHTTPClient(client *http.Client) *RetrievePolicyCountry1Params

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

func NewRetrievePolicyCountry1ParamsWithTimeout

func NewRetrievePolicyCountry1ParamsWithTimeout(timeout time.Duration) *RetrievePolicyCountry1Params

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

func (*RetrievePolicyCountry1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) SetBasePolicyID

func (o *RetrievePolicyCountry1Params) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) SetContext

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

SetContext adds the context to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) SetCountryCode

func (o *RetrievePolicyCountry1Params) SetCountryCode(countryCode string)

SetCountryCode adds the countryCode to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) SetFlightId added in v0.63.0

func (o *RetrievePolicyCountry1Params) SetFlightId(flightId string)

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

func (*RetrievePolicyCountry1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) SetNamespace

func (o *RetrievePolicyCountry1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) SetTimeout

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

SetTimeout adds the timeout to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) WithBasePolicyID

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

WithBasePolicyID adds the basePolicyID to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) WithContext

WithContext adds the context to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) WithCountryCode

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

WithCountryCode adds the countryCode to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) WithNamespace

WithNamespace adds the namespace to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) WithTimeout

WithTimeout adds the timeout to the retrieve policy country 1 params

func (*RetrievePolicyCountry1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrievePolicyCountry1Reader

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

RetrievePolicyCountry1Reader is a Reader for the RetrievePolicyCountry1 structure.

func (*RetrievePolicyCountry1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveSinglePolicy1NotFound

type RetrieveSinglePolicy1NotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveSinglePolicy1NotFound 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 NewRetrieveSinglePolicy1NotFound

func NewRetrieveSinglePolicy1NotFound() *RetrieveSinglePolicy1NotFound

NewRetrieveSinglePolicy1NotFound creates a RetrieveSinglePolicy1NotFound with default headers values

func (*RetrieveSinglePolicy1NotFound) Error

func (*RetrieveSinglePolicy1NotFound) GetPayload

func (*RetrieveSinglePolicy1NotFound) ToJSONString

func (o *RetrieveSinglePolicy1NotFound) ToJSONString() string

type RetrieveSinglePolicy1OK

type RetrieveSinglePolicy1OK struct {
	Payload *legalclientmodels.RetrieveBasePolicyResponse
}

RetrieveSinglePolicy1OK handles this case with default header values.

successful operation

func NewRetrieveSinglePolicy1OK

func NewRetrieveSinglePolicy1OK() *RetrieveSinglePolicy1OK

NewRetrieveSinglePolicy1OK creates a RetrieveSinglePolicy1OK with default headers values

func (*RetrieveSinglePolicy1OK) Error

func (o *RetrieveSinglePolicy1OK) Error() string

func (*RetrieveSinglePolicy1OK) GetPayload

func (*RetrieveSinglePolicy1OK) ToJSONString

func (o *RetrieveSinglePolicy1OK) ToJSONString() string

type RetrieveSinglePolicy1Params

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

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

func NewRetrieveSinglePolicy1Params

func NewRetrieveSinglePolicy1Params() *RetrieveSinglePolicy1Params

NewRetrieveSinglePolicy1Params creates a new RetrieveSinglePolicy1Params object with the default values initialized.

func NewRetrieveSinglePolicy1ParamsWithContext

func NewRetrieveSinglePolicy1ParamsWithContext(ctx context.Context) *RetrieveSinglePolicy1Params

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

func NewRetrieveSinglePolicy1ParamsWithHTTPClient

func NewRetrieveSinglePolicy1ParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicy1Params

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

func NewRetrieveSinglePolicy1ParamsWithTimeout

func NewRetrieveSinglePolicy1ParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicy1Params

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

func (*RetrieveSinglePolicy1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve single policy 1 params

func (*RetrieveSinglePolicy1Params) SetBasePolicyID

func (o *RetrieveSinglePolicy1Params) SetBasePolicyID(basePolicyID string)

SetBasePolicyID adds the basePolicyId to the retrieve single policy 1 params

func (*RetrieveSinglePolicy1Params) SetContext

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

SetContext adds the context to the retrieve single policy 1 params

func (*RetrieveSinglePolicy1Params) SetFlightId added in v0.63.0

func (o *RetrieveSinglePolicy1Params) SetFlightId(flightId string)

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

func (*RetrieveSinglePolicy1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve single policy 1 params

func (*RetrieveSinglePolicy1Params) SetHTTPClientTransport

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

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

func (*RetrieveSinglePolicy1Params) SetNamespace

func (o *RetrieveSinglePolicy1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve single policy 1 params

func (*RetrieveSinglePolicy1Params) SetTimeout

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

SetTimeout adds the timeout to the retrieve single policy 1 params

func (*RetrieveSinglePolicy1Params) WithBasePolicyID

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

WithBasePolicyID adds the basePolicyID to the retrieve single policy 1 params

func (*RetrieveSinglePolicy1Params) WithContext

WithContext adds the context to the retrieve single policy 1 params

func (*RetrieveSinglePolicy1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve single policy 1 params

func (*RetrieveSinglePolicy1Params) WithNamespace

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

WithNamespace adds the namespace to the retrieve single policy 1 params

func (*RetrieveSinglePolicy1Params) WithTimeout

WithTimeout adds the timeout to the retrieve single policy 1 params

func (*RetrieveSinglePolicy1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveSinglePolicy1Reader

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

RetrieveSinglePolicy1Reader is a Reader for the RetrieveSinglePolicy1 structure.

func (*RetrieveSinglePolicy1Reader) ReadResponse

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