Documentation
¶
Index ¶
- type Client
- func (a *Client) CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, *CreatePolicyBadRequest, *CreatePolicyNotFound, ...)deprecated
- func (a *Client) CreatePolicyShort(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, error)
- func (a *Client) PartialUpdatePolicy(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, *PartialUpdatePolicyBadRequest, ...)deprecated
- func (a *Client) PartialUpdatePolicyShort(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, error)
- func (a *Client) RetrieveAllLegalPolicies(params *RetrieveAllLegalPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesOK, error)deprecated
- func (a *Client) RetrieveAllLegalPoliciesShort(params *RetrieveAllLegalPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesOK, error)
- func (a *Client) RetrieveAllPolicyTypes(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)deprecated
- func (a *Client) RetrieveAllPolicyTypesShort(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)
- func (a *Client) RetrievePolicyCountry(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, *RetrievePolicyCountryNotFound, error)deprecated
- func (a *Client) RetrievePolicyCountryShort(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, error)
- func (a *Client) RetrieveSinglePolicy(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, *RetrieveSinglePolicyNotFound, error)deprecated
- func (a *Client) RetrieveSinglePolicyShort(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreatePolicyBadRequest
- type CreatePolicyCreated
- type CreatePolicyNotFound
- type CreatePolicyParams
- func (o *CreatePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreatePolicyParams) SetBody(body *legalclientmodels.CreateBasePolicyRequest)
- func (o *CreatePolicyParams) SetContext(ctx context.Context)
- func (o *CreatePolicyParams) SetFlightId(flightId string)
- func (o *CreatePolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreatePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreatePolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreatePolicyParams) WithBody(body *legalclientmodels.CreateBasePolicyRequest) *CreatePolicyParams
- func (o *CreatePolicyParams) WithContext(ctx context.Context) *CreatePolicyParams
- func (o *CreatePolicyParams) WithHTTPClient(client *http.Client) *CreatePolicyParams
- func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams
- func (o *CreatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePolicyReader
- type CreatePolicyUnprocessableEntity
- type PartialUpdatePolicyBadRequest
- type PartialUpdatePolicyNotFound
- type PartialUpdatePolicyOK
- type PartialUpdatePolicyParams
- func NewPartialUpdatePolicyParams() *PartialUpdatePolicyParams
- func NewPartialUpdatePolicyParamsWithContext(ctx context.Context) *PartialUpdatePolicyParams
- func NewPartialUpdatePolicyParamsWithHTTPClient(client *http.Client) *PartialUpdatePolicyParams
- func NewPartialUpdatePolicyParamsWithTimeout(timeout time.Duration) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PartialUpdatePolicyParams) SetBasePolicyID(basePolicyID string)
- func (o *PartialUpdatePolicyParams) SetBody(body *legalclientmodels.UpdateBasePolicyRequest)
- func (o *PartialUpdatePolicyParams) SetContext(ctx context.Context)
- func (o *PartialUpdatePolicyParams) SetFlightId(flightId string)
- func (o *PartialUpdatePolicyParams) SetHTTPClient(client *http.Client)
- func (o *PartialUpdatePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PartialUpdatePolicyParams) SetTimeout(timeout time.Duration)
- func (o *PartialUpdatePolicyParams) WithBasePolicyID(basePolicyID string) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) WithBody(body *legalclientmodels.UpdateBasePolicyRequest) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) WithContext(ctx context.Context) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) WithHTTPClient(client *http.Client) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) WithTimeout(timeout time.Duration) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PartialUpdatePolicyReader
- type RetrieveAllLegalPoliciesOK
- type RetrieveAllLegalPoliciesParams
- func NewRetrieveAllLegalPoliciesParams() *RetrieveAllLegalPoliciesParams
- func NewRetrieveAllLegalPoliciesParamsWithContext(ctx context.Context) *RetrieveAllLegalPoliciesParams
- func NewRetrieveAllLegalPoliciesParamsWithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesParams
- func NewRetrieveAllLegalPoliciesParamsWithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesParams
- func (o *RetrieveAllLegalPoliciesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveAllLegalPoliciesParams) SetContext(ctx context.Context)
- func (o *RetrieveAllLegalPoliciesParams) SetFlightId(flightId string)
- func (o *RetrieveAllLegalPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveAllLegalPoliciesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveAllLegalPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveAllLegalPoliciesParams) SetVisibleOnly(visibleOnly *bool)
- func (o *RetrieveAllLegalPoliciesParams) WithContext(ctx context.Context) *RetrieveAllLegalPoliciesParams
- func (o *RetrieveAllLegalPoliciesParams) WithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesParams
- func (o *RetrieveAllLegalPoliciesParams) WithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesParams
- func (o *RetrieveAllLegalPoliciesParams) WithVisibleOnly(visibleOnly *bool) *RetrieveAllLegalPoliciesParams
- func (o *RetrieveAllLegalPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAllLegalPoliciesReader
- type RetrieveAllPolicyTypesOK
- type RetrieveAllPolicyTypesParams
- func NewRetrieveAllPolicyTypesParams() *RetrieveAllPolicyTypesParams
- func NewRetrieveAllPolicyTypesParamsWithContext(ctx context.Context) *RetrieveAllPolicyTypesParams
- func NewRetrieveAllPolicyTypesParamsWithHTTPClient(client *http.Client) *RetrieveAllPolicyTypesParams
- func NewRetrieveAllPolicyTypesParamsWithTimeout(timeout time.Duration) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveAllPolicyTypesParams) SetContext(ctx context.Context)
- func (o *RetrieveAllPolicyTypesParams) SetFlightId(flightId string)
- func (o *RetrieveAllPolicyTypesParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveAllPolicyTypesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveAllPolicyTypesParams) SetLimit(limit int32)
- func (o *RetrieveAllPolicyTypesParams) SetOffset(offset *int32)
- func (o *RetrieveAllPolicyTypesParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveAllPolicyTypesParams) WithContext(ctx context.Context) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) WithHTTPClient(client *http.Client) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) WithLimit(limit int32) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) WithOffset(offset *int32) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) WithTimeout(timeout time.Duration) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAllPolicyTypesReader
- type RetrievePolicyCountryNotFound
- type RetrievePolicyCountryOK
- type RetrievePolicyCountryParams
- func NewRetrievePolicyCountryParams() *RetrievePolicyCountryParams
- func NewRetrievePolicyCountryParamsWithContext(ctx context.Context) *RetrievePolicyCountryParams
- func NewRetrievePolicyCountryParamsWithHTTPClient(client *http.Client) *RetrievePolicyCountryParams
- func NewRetrievePolicyCountryParamsWithTimeout(timeout time.Duration) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrievePolicyCountryParams) SetBasePolicyID(basePolicyID string)
- func (o *RetrievePolicyCountryParams) SetContext(ctx context.Context)
- func (o *RetrievePolicyCountryParams) SetCountryCode(countryCode string)
- func (o *RetrievePolicyCountryParams) SetFlightId(flightId string)
- func (o *RetrievePolicyCountryParams) SetHTTPClient(client *http.Client)
- func (o *RetrievePolicyCountryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrievePolicyCountryParams) SetTimeout(timeout time.Duration)
- func (o *RetrievePolicyCountryParams) WithBasePolicyID(basePolicyID string) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) WithContext(ctx context.Context) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) WithCountryCode(countryCode string) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) WithHTTPClient(client *http.Client) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) WithTimeout(timeout time.Duration) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrievePolicyCountryReader
- type RetrieveSinglePolicyNotFound
- type RetrieveSinglePolicyOK
- type RetrieveSinglePolicyParams
- func NewRetrieveSinglePolicyParams() *RetrieveSinglePolicyParams
- func NewRetrieveSinglePolicyParamsWithContext(ctx context.Context) *RetrieveSinglePolicyParams
- func NewRetrieveSinglePolicyParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicyParams
- func NewRetrieveSinglePolicyParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicyParams
- func (o *RetrieveSinglePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveSinglePolicyParams) SetBasePolicyID(basePolicyID string)
- func (o *RetrieveSinglePolicyParams) SetContext(ctx context.Context)
- func (o *RetrieveSinglePolicyParams) SetFlightId(flightId string)
- func (o *RetrieveSinglePolicyParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveSinglePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveSinglePolicyParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveSinglePolicyParams) WithBasePolicyID(basePolicyID string) *RetrieveSinglePolicyParams
- func (o *RetrieveSinglePolicyParams) WithContext(ctx context.Context) *RetrieveSinglePolicyParams
- func (o *RetrieveSinglePolicyParams) WithHTTPClient(client *http.Client) *RetrieveSinglePolicyParams
- func (o *RetrieveSinglePolicyParams) WithTimeout(timeout time.Duration) *RetrieveSinglePolicyParams
- func (o *RetrieveSinglePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveSinglePolicyReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for base legal policies API
func (*Client) CreatePolicy
deprecated
func (a *Client) CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, *CreatePolicyBadRequest, *CreatePolicyNotFound, *CreatePolicyUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use CreatePolicyShort instead.
CreatePolicy create a base legal policy Create a legal policy.
func (*Client) CreatePolicyShort ¶ added in v0.8.0
func (a *Client) CreatePolicyShort(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, error)
CreatePolicyShort create a base legal policy Create a legal policy.
func (*Client) PartialUpdatePolicy
deprecated
func (a *Client) PartialUpdatePolicy(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, *PartialUpdatePolicyBadRequest, *PartialUpdatePolicyNotFound, error)
Deprecated: 2022-08-10 - Use PartialUpdatePolicyShort instead.
PartialUpdatePolicy update base legal policy Update an existing base policy.
func (*Client) PartialUpdatePolicyShort ¶ added in v0.8.0
func (a *Client) PartialUpdatePolicyShort(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, error)
PartialUpdatePolicyShort update base legal policy Update an existing base policy.
func (*Client) RetrieveAllLegalPolicies
deprecated
func (a *Client) RetrieveAllLegalPolicies(params *RetrieveAllLegalPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesOK, error)
Deprecated: 2022-08-10 - Use RetrieveAllLegalPoliciesShort instead.
RetrieveAllLegalPolicies retrieve all base legal policy Retrieve all base policies.
func (*Client) RetrieveAllLegalPoliciesShort ¶ added in v0.8.0
func (a *Client) RetrieveAllLegalPoliciesShort(params *RetrieveAllLegalPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesOK, error)
RetrieveAllLegalPoliciesShort retrieve all base legal policy Retrieve all base policies.
func (*Client) RetrieveAllPolicyTypes
deprecated
func (a *Client) RetrieveAllPolicyTypes(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)
Deprecated: 2022-08-10 - Use RetrieveAllPolicyTypesShort instead.
RetrieveAllPolicyTypes retrieve all policy type Retrieve all supported policy types.
func (*Client) RetrieveAllPolicyTypesShort ¶ added in v0.8.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
func (a *Client) RetrievePolicyCountry(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, *RetrievePolicyCountryNotFound, error)
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.8.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
func (a *Client) RetrieveSinglePolicy(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, *RetrieveSinglePolicyNotFound, error)
Deprecated: 2022-08-10 - Use RetrieveSinglePolicyShort instead.
RetrieveSinglePolicy retrieve a base legal policy Retrieve a base policy.
func (*Client) RetrieveSinglePolicyShort ¶ added in v0.8.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 { RetrieveAllLegalPolicies(params *RetrieveAllLegalPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesOK, error) RetrieveAllLegalPoliciesShort(params *RetrieveAllLegalPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesOK, error) CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, *CreatePolicyBadRequest, *CreatePolicyNotFound, *CreatePolicyUnprocessableEntity, error) CreatePolicyShort(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, error) RetrieveSinglePolicy(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, *RetrieveSinglePolicyNotFound, error) RetrieveSinglePolicyShort(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, error) PartialUpdatePolicy(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, *PartialUpdatePolicyBadRequest, *PartialUpdatePolicyNotFound, error) PartialUpdatePolicyShort(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, error) RetrievePolicyCountry(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, *RetrievePolicyCountryNotFound, error) RetrievePolicyCountryShort(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, error) RetrieveAllPolicyTypes(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error) RetrieveAllPolicyTypesShort(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new base legal policies API client.
type CreatePolicyBadRequest ¶ added in v0.34.0
type CreatePolicyBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
CreatePolicyBadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40038</td><td>errors.net.accelbyte.platform.legal.invalid_affected_client_id</td></tr><tr><td>40026</td><td>errors.net.accelbyte.platform.legal.not_allow_create_studio_policy</td></tr></table>
func NewCreatePolicyBadRequest ¶ added in v0.34.0
func NewCreatePolicyBadRequest() *CreatePolicyBadRequest
NewCreatePolicyBadRequest creates a CreatePolicyBadRequest with default headers values
func (*CreatePolicyBadRequest) Error ¶ added in v0.34.0
func (o *CreatePolicyBadRequest) Error() string
func (*CreatePolicyBadRequest) GetPayload ¶ added in v0.34.0
func (o *CreatePolicyBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*CreatePolicyBadRequest) ToJSONString ¶ added in v0.34.0
func (o *CreatePolicyBadRequest) ToJSONString() string
type CreatePolicyCreated ¶
type CreatePolicyCreated struct {
Payload *legalclientmodels.CreateBasePolicyResponse
}
CreatePolicyCreated handles this case with default header values.
successful operation
func NewCreatePolicyCreated ¶
func NewCreatePolicyCreated() *CreatePolicyCreated
NewCreatePolicyCreated creates a CreatePolicyCreated with default headers values
func (*CreatePolicyCreated) Error ¶
func (o *CreatePolicyCreated) Error() string
func (*CreatePolicyCreated) GetPayload ¶
func (o *CreatePolicyCreated) GetPayload() *legalclientmodels.CreateBasePolicyResponse
func (*CreatePolicyCreated) ToJSONString ¶ added in v0.25.0
func (o *CreatePolicyCreated) ToJSONString() string
type CreatePolicyNotFound ¶ added in v0.34.0
type CreatePolicyNotFound struct {
Payload *legalclientmodels.ErrorEntity
}
CreatePolicyNotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40030</td><td>errors.net.accelbyte.platform.legal.policy_type_not_exist</td></tr></table>
func NewCreatePolicyNotFound ¶ added in v0.34.0
func NewCreatePolicyNotFound() *CreatePolicyNotFound
NewCreatePolicyNotFound creates a CreatePolicyNotFound with default headers values
func (*CreatePolicyNotFound) Error ¶ added in v0.34.0
func (o *CreatePolicyNotFound) Error() string
func (*CreatePolicyNotFound) GetPayload ¶ added in v0.34.0
func (o *CreatePolicyNotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*CreatePolicyNotFound) ToJSONString ¶ added in v0.34.0
func (o *CreatePolicyNotFound) ToJSONString() string
type CreatePolicyParams ¶
type CreatePolicyParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.CreateBasePolicyRequest AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
CreatePolicyParams contains all the parameters to send to the API endpoint for the create policy operation typically these are written to a http.Request
func NewCreatePolicyParams ¶
func NewCreatePolicyParams() *CreatePolicyParams
NewCreatePolicyParams creates a new CreatePolicyParams object with the default values initialized.
func NewCreatePolicyParamsWithContext ¶
func NewCreatePolicyParamsWithContext(ctx context.Context) *CreatePolicyParams
NewCreatePolicyParamsWithContext creates a new CreatePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePolicyParamsWithHTTPClient ¶
func NewCreatePolicyParamsWithHTTPClient(client *http.Client) *CreatePolicyParams
NewCreatePolicyParamsWithHTTPClient creates a new CreatePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePolicyParamsWithTimeout ¶
func NewCreatePolicyParamsWithTimeout(timeout time.Duration) *CreatePolicyParams
NewCreatePolicyParamsWithTimeout creates a new CreatePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePolicyParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreatePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create policy params
func (*CreatePolicyParams) SetBody ¶
func (o *CreatePolicyParams) SetBody(body *legalclientmodels.CreateBasePolicyRequest)
SetBody adds the body to the create policy params
func (*CreatePolicyParams) SetContext ¶
func (o *CreatePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create policy params
func (*CreatePolicyParams) SetFlightId ¶ added in v0.63.0
func (o *CreatePolicyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*CreatePolicyParams) SetHTTPClient ¶
func (o *CreatePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create policy params
func (*CreatePolicyParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreatePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create policy params
func (*CreatePolicyParams) SetTimeout ¶
func (o *CreatePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create policy params
func (*CreatePolicyParams) WithBody ¶
func (o *CreatePolicyParams) WithBody(body *legalclientmodels.CreateBasePolicyRequest) *CreatePolicyParams
WithBody adds the body to the create policy params
func (*CreatePolicyParams) WithContext ¶
func (o *CreatePolicyParams) WithContext(ctx context.Context) *CreatePolicyParams
WithContext adds the context to the create policy params
func (*CreatePolicyParams) WithHTTPClient ¶
func (o *CreatePolicyParams) WithHTTPClient(client *http.Client) *CreatePolicyParams
WithHTTPClient adds the HTTPClient to the create policy params
func (*CreatePolicyParams) WithTimeout ¶
func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams
WithTimeout adds the timeout to the create policy params
func (*CreatePolicyParams) WriteToRequest ¶
func (o *CreatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePolicyReader ¶
type CreatePolicyReader struct {
// contains filtered or unexported fields
}
CreatePolicyReader is a Reader for the CreatePolicy structure.
func (*CreatePolicyReader) ReadResponse ¶
func (o *CreatePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePolicyUnprocessableEntity ¶
type CreatePolicyUnprocessableEntity struct {
Payload *legalclientmodels.ValidationErrorEntity
}
CreatePolicyUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewCreatePolicyUnprocessableEntity ¶
func NewCreatePolicyUnprocessableEntity() *CreatePolicyUnprocessableEntity
NewCreatePolicyUnprocessableEntity creates a CreatePolicyUnprocessableEntity with default headers values
func (*CreatePolicyUnprocessableEntity) Error ¶
func (o *CreatePolicyUnprocessableEntity) Error() string
func (*CreatePolicyUnprocessableEntity) GetPayload ¶
func (o *CreatePolicyUnprocessableEntity) GetPayload() *legalclientmodels.ValidationErrorEntity
func (*CreatePolicyUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *CreatePolicyUnprocessableEntity) ToJSONString() string
type PartialUpdatePolicyBadRequest ¶
type PartialUpdatePolicyBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
PartialUpdatePolicyBadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40032</td><td>errors.net.accelbyte.platform.legal.invalid_base_policy</td></tr><tr><td>40038</td><td>errors.net.accelbyte.platform.legal.invalid_affected_client_id</td></tr></table>
func NewPartialUpdatePolicyBadRequest ¶
func NewPartialUpdatePolicyBadRequest() *PartialUpdatePolicyBadRequest
NewPartialUpdatePolicyBadRequest creates a PartialUpdatePolicyBadRequest with default headers values
func (*PartialUpdatePolicyBadRequest) Error ¶
func (o *PartialUpdatePolicyBadRequest) Error() string
func (*PartialUpdatePolicyBadRequest) GetPayload ¶
func (o *PartialUpdatePolicyBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*PartialUpdatePolicyBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PartialUpdatePolicyBadRequest) ToJSONString() string
type PartialUpdatePolicyNotFound ¶ added in v0.34.0
type PartialUpdatePolicyNotFound struct {
Payload *legalclientmodels.ErrorEntity
}
PartialUpdatePolicyNotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40030</td><td>errors.net.accelbyte.platform.legal.policy_type_not_exist</td></tr></table>
func NewPartialUpdatePolicyNotFound ¶ added in v0.34.0
func NewPartialUpdatePolicyNotFound() *PartialUpdatePolicyNotFound
NewPartialUpdatePolicyNotFound creates a PartialUpdatePolicyNotFound with default headers values
func (*PartialUpdatePolicyNotFound) Error ¶ added in v0.34.0
func (o *PartialUpdatePolicyNotFound) Error() string
func (*PartialUpdatePolicyNotFound) GetPayload ¶ added in v0.34.0
func (o *PartialUpdatePolicyNotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*PartialUpdatePolicyNotFound) ToJSONString ¶ added in v0.34.0
func (o *PartialUpdatePolicyNotFound) ToJSONString() string
type PartialUpdatePolicyOK ¶
type PartialUpdatePolicyOK struct {
Payload *legalclientmodels.UpdateBasePolicyResponse
}
PartialUpdatePolicyOK handles this case with default header values.
successful operation
func NewPartialUpdatePolicyOK ¶
func NewPartialUpdatePolicyOK() *PartialUpdatePolicyOK
NewPartialUpdatePolicyOK creates a PartialUpdatePolicyOK with default headers values
func (*PartialUpdatePolicyOK) Error ¶
func (o *PartialUpdatePolicyOK) Error() string
func (*PartialUpdatePolicyOK) GetPayload ¶
func (o *PartialUpdatePolicyOK) GetPayload() *legalclientmodels.UpdateBasePolicyResponse
func (*PartialUpdatePolicyOK) ToJSONString ¶ added in v0.25.0
func (o *PartialUpdatePolicyOK) ToJSONString() string
type PartialUpdatePolicyParams ¶
type PartialUpdatePolicyParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.UpdateBasePolicyRequest /*BasePolicyID BasePolicy Id */ BasePolicyID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PartialUpdatePolicyParams contains all the parameters to send to the API endpoint for the partial update policy operation typically these are written to a http.Request
func NewPartialUpdatePolicyParams ¶
func NewPartialUpdatePolicyParams() *PartialUpdatePolicyParams
NewPartialUpdatePolicyParams creates a new PartialUpdatePolicyParams object with the default values initialized.
func NewPartialUpdatePolicyParamsWithContext ¶
func NewPartialUpdatePolicyParamsWithContext(ctx context.Context) *PartialUpdatePolicyParams
NewPartialUpdatePolicyParamsWithContext creates a new PartialUpdatePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewPartialUpdatePolicyParamsWithHTTPClient ¶
func NewPartialUpdatePolicyParamsWithHTTPClient(client *http.Client) *PartialUpdatePolicyParams
NewPartialUpdatePolicyParamsWithHTTPClient creates a new PartialUpdatePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPartialUpdatePolicyParamsWithTimeout ¶
func NewPartialUpdatePolicyParamsWithTimeout(timeout time.Duration) *PartialUpdatePolicyParams
NewPartialUpdatePolicyParamsWithTimeout creates a new PartialUpdatePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*PartialUpdatePolicyParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PartialUpdatePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the partial update policy params
func (*PartialUpdatePolicyParams) SetBasePolicyID ¶
func (o *PartialUpdatePolicyParams) SetBasePolicyID(basePolicyID string)
SetBasePolicyID adds the basePolicyId to the partial update policy params
func (*PartialUpdatePolicyParams) SetBody ¶
func (o *PartialUpdatePolicyParams) SetBody(body *legalclientmodels.UpdateBasePolicyRequest)
SetBody adds the body to the partial update policy params
func (*PartialUpdatePolicyParams) SetContext ¶
func (o *PartialUpdatePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the partial update policy params
func (*PartialUpdatePolicyParams) SetFlightId ¶ added in v0.63.0
func (o *PartialUpdatePolicyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PartialUpdatePolicyParams) SetHTTPClient ¶
func (o *PartialUpdatePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the partial update policy params
func (*PartialUpdatePolicyParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PartialUpdatePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the partial update policy params
func (*PartialUpdatePolicyParams) SetTimeout ¶
func (o *PartialUpdatePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the partial update policy params
func (*PartialUpdatePolicyParams) WithBasePolicyID ¶
func (o *PartialUpdatePolicyParams) WithBasePolicyID(basePolicyID string) *PartialUpdatePolicyParams
WithBasePolicyID adds the basePolicyID to the partial update policy params
func (*PartialUpdatePolicyParams) WithBody ¶
func (o *PartialUpdatePolicyParams) WithBody(body *legalclientmodels.UpdateBasePolicyRequest) *PartialUpdatePolicyParams
WithBody adds the body to the partial update policy params
func (*PartialUpdatePolicyParams) WithContext ¶
func (o *PartialUpdatePolicyParams) WithContext(ctx context.Context) *PartialUpdatePolicyParams
WithContext adds the context to the partial update policy params
func (*PartialUpdatePolicyParams) WithHTTPClient ¶
func (o *PartialUpdatePolicyParams) WithHTTPClient(client *http.Client) *PartialUpdatePolicyParams
WithHTTPClient adds the HTTPClient to the partial update policy params
func (*PartialUpdatePolicyParams) WithTimeout ¶
func (o *PartialUpdatePolicyParams) WithTimeout(timeout time.Duration) *PartialUpdatePolicyParams
WithTimeout adds the timeout to the partial update policy params
func (*PartialUpdatePolicyParams) WriteToRequest ¶
func (o *PartialUpdatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PartialUpdatePolicyReader ¶
type PartialUpdatePolicyReader struct {
// contains filtered or unexported fields
}
PartialUpdatePolicyReader is a Reader for the PartialUpdatePolicy structure.
func (*PartialUpdatePolicyReader) ReadResponse ¶
func (o *PartialUpdatePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveAllLegalPoliciesOK ¶
type RetrieveAllLegalPoliciesOK struct {
Payload []*legalclientmodels.RetrieveBasePolicyResponse
}
RetrieveAllLegalPoliciesOK handles this case with default header values.
successful operation
func NewRetrieveAllLegalPoliciesOK ¶
func NewRetrieveAllLegalPoliciesOK() *RetrieveAllLegalPoliciesOK
NewRetrieveAllLegalPoliciesOK creates a RetrieveAllLegalPoliciesOK with default headers values
func (*RetrieveAllLegalPoliciesOK) Error ¶
func (o *RetrieveAllLegalPoliciesOK) Error() string
func (*RetrieveAllLegalPoliciesOK) GetPayload ¶
func (o *RetrieveAllLegalPoliciesOK) GetPayload() []*legalclientmodels.RetrieveBasePolicyResponse
func (*RetrieveAllLegalPoliciesOK) ToJSONString ¶ added in v0.25.0
func (o *RetrieveAllLegalPoliciesOK) ToJSONString() string
type RetrieveAllLegalPoliciesParams ¶
type RetrieveAllLegalPoliciesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*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 }
RetrieveAllLegalPoliciesParams contains all the parameters to send to the API endpoint for the retrieve all legal policies operation typically these are written to a http.Request
func NewRetrieveAllLegalPoliciesParams ¶
func NewRetrieveAllLegalPoliciesParams() *RetrieveAllLegalPoliciesParams
NewRetrieveAllLegalPoliciesParams creates a new RetrieveAllLegalPoliciesParams object with the default values initialized.
func NewRetrieveAllLegalPoliciesParamsWithContext ¶
func NewRetrieveAllLegalPoliciesParamsWithContext(ctx context.Context) *RetrieveAllLegalPoliciesParams
NewRetrieveAllLegalPoliciesParamsWithContext creates a new RetrieveAllLegalPoliciesParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveAllLegalPoliciesParamsWithHTTPClient ¶
func NewRetrieveAllLegalPoliciesParamsWithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesParams
NewRetrieveAllLegalPoliciesParamsWithHTTPClient creates a new RetrieveAllLegalPoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveAllLegalPoliciesParamsWithTimeout ¶
func NewRetrieveAllLegalPoliciesParamsWithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesParams
NewRetrieveAllLegalPoliciesParamsWithTimeout creates a new RetrieveAllLegalPoliciesParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveAllLegalPoliciesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrieveAllLegalPoliciesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve all legal policies params
func (*RetrieveAllLegalPoliciesParams) SetContext ¶
func (o *RetrieveAllLegalPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve all legal policies params
func (*RetrieveAllLegalPoliciesParams) SetFlightId ¶ added in v0.63.0
func (o *RetrieveAllLegalPoliciesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrieveAllLegalPoliciesParams) SetHTTPClient ¶
func (o *RetrieveAllLegalPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve all legal policies params
func (*RetrieveAllLegalPoliciesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrieveAllLegalPoliciesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve all legal policies params
func (*RetrieveAllLegalPoliciesParams) SetTimeout ¶
func (o *RetrieveAllLegalPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve all legal policies params
func (*RetrieveAllLegalPoliciesParams) SetVisibleOnly ¶ added in v0.70.0
func (o *RetrieveAllLegalPoliciesParams) SetVisibleOnly(visibleOnly *bool)
SetVisibleOnly adds the visibleOnly to the retrieve all legal policies params
func (*RetrieveAllLegalPoliciesParams) WithContext ¶
func (o *RetrieveAllLegalPoliciesParams) WithContext(ctx context.Context) *RetrieveAllLegalPoliciesParams
WithContext adds the context to the retrieve all legal policies params
func (*RetrieveAllLegalPoliciesParams) WithHTTPClient ¶
func (o *RetrieveAllLegalPoliciesParams) WithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesParams
WithHTTPClient adds the HTTPClient to the retrieve all legal policies params
func (*RetrieveAllLegalPoliciesParams) WithTimeout ¶
func (o *RetrieveAllLegalPoliciesParams) WithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesParams
WithTimeout adds the timeout to the retrieve all legal policies params
func (*RetrieveAllLegalPoliciesParams) WithVisibleOnly ¶ added in v0.70.0
func (o *RetrieveAllLegalPoliciesParams) WithVisibleOnly(visibleOnly *bool) *RetrieveAllLegalPoliciesParams
WithVisibleOnly adds the visibleOnly to the retrieve all legal policies params
func (*RetrieveAllLegalPoliciesParams) WriteToRequest ¶
func (o *RetrieveAllLegalPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveAllLegalPoliciesReader ¶
type RetrieveAllLegalPoliciesReader struct {
// contains filtered or unexported fields
}
RetrieveAllLegalPoliciesReader is a Reader for the RetrieveAllLegalPolicies structure.
func (*RetrieveAllLegalPoliciesReader) ReadResponse ¶
func (o *RetrieveAllLegalPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveAllPolicyTypesOK ¶
type RetrieveAllPolicyTypesOK struct {
Payload []*legalclientmodels.RetrievePolicyTypeResponse
}
RetrieveAllPolicyTypesOK handles this case with default header values.
successful operation
func NewRetrieveAllPolicyTypesOK ¶
func NewRetrieveAllPolicyTypesOK() *RetrieveAllPolicyTypesOK
NewRetrieveAllPolicyTypesOK creates a RetrieveAllPolicyTypesOK with default headers values
func (*RetrieveAllPolicyTypesOK) Error ¶
func (o *RetrieveAllPolicyTypesOK) Error() string
func (*RetrieveAllPolicyTypesOK) GetPayload ¶
func (o *RetrieveAllPolicyTypesOK) GetPayload() []*legalclientmodels.RetrievePolicyTypeResponse
func (*RetrieveAllPolicyTypesOK) ToJSONString ¶ added in v0.25.0
func (o *RetrieveAllPolicyTypesOK) ToJSONString() string
type RetrieveAllPolicyTypesParams ¶
type RetrieveAllPolicyTypesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Offset Offset */ Offset *int32 /*Limit Limit */ Limit int32 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RetrieveAllPolicyTypesParams contains all the parameters to send to the API endpoint for the retrieve all policy types operation typically these are written to a http.Request
func NewRetrieveAllPolicyTypesParams ¶
func NewRetrieveAllPolicyTypesParams() *RetrieveAllPolicyTypesParams
NewRetrieveAllPolicyTypesParams creates a new RetrieveAllPolicyTypesParams object with the default values initialized.
func NewRetrieveAllPolicyTypesParamsWithContext ¶
func NewRetrieveAllPolicyTypesParamsWithContext(ctx context.Context) *RetrieveAllPolicyTypesParams
NewRetrieveAllPolicyTypesParamsWithContext creates a new RetrieveAllPolicyTypesParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveAllPolicyTypesParamsWithHTTPClient ¶
func NewRetrieveAllPolicyTypesParamsWithHTTPClient(client *http.Client) *RetrieveAllPolicyTypesParams
NewRetrieveAllPolicyTypesParamsWithHTTPClient creates a new RetrieveAllPolicyTypesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveAllPolicyTypesParamsWithTimeout ¶
func NewRetrieveAllPolicyTypesParamsWithTimeout(timeout time.Duration) *RetrieveAllPolicyTypesParams
NewRetrieveAllPolicyTypesParamsWithTimeout creates a new RetrieveAllPolicyTypesParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveAllPolicyTypesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrieveAllPolicyTypesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetContext ¶
func (o *RetrieveAllPolicyTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetFlightId ¶ added in v0.63.0
func (o *RetrieveAllPolicyTypesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrieveAllPolicyTypesParams) SetHTTPClient ¶
func (o *RetrieveAllPolicyTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrieveAllPolicyTypesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetLimit ¶
func (o *RetrieveAllPolicyTypesParams) SetLimit(limit int32)
SetLimit adds the limit to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetOffset ¶
func (o *RetrieveAllPolicyTypesParams) SetOffset(offset *int32)
SetOffset adds the offset to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetTimeout ¶
func (o *RetrieveAllPolicyTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WithContext ¶
func (o *RetrieveAllPolicyTypesParams) WithContext(ctx context.Context) *RetrieveAllPolicyTypesParams
WithContext adds the context to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WithHTTPClient ¶
func (o *RetrieveAllPolicyTypesParams) WithHTTPClient(client *http.Client) *RetrieveAllPolicyTypesParams
WithHTTPClient adds the HTTPClient to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WithLimit ¶
func (o *RetrieveAllPolicyTypesParams) WithLimit(limit int32) *RetrieveAllPolicyTypesParams
WithLimit adds the limit to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WithOffset ¶
func (o *RetrieveAllPolicyTypesParams) WithOffset(offset *int32) *RetrieveAllPolicyTypesParams
WithOffset adds the offset to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WithTimeout ¶
func (o *RetrieveAllPolicyTypesParams) WithTimeout(timeout time.Duration) *RetrieveAllPolicyTypesParams
WithTimeout adds the timeout to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WriteToRequest ¶
func (o *RetrieveAllPolicyTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveAllPolicyTypesReader ¶
type RetrieveAllPolicyTypesReader struct {
// contains filtered or unexported fields
}
RetrieveAllPolicyTypesReader is a Reader for the RetrieveAllPolicyTypes structure.
func (*RetrieveAllPolicyTypesReader) ReadResponse ¶
func (o *RetrieveAllPolicyTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrievePolicyCountryNotFound ¶
type RetrievePolicyCountryNotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrievePolicyCountryNotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40041</td><td>errors.net.accelbyte.platform.legal.policy_not_found</td></tr></table>
func NewRetrievePolicyCountryNotFound ¶
func NewRetrievePolicyCountryNotFound() *RetrievePolicyCountryNotFound
NewRetrievePolicyCountryNotFound creates a RetrievePolicyCountryNotFound with default headers values
func (*RetrievePolicyCountryNotFound) Error ¶
func (o *RetrievePolicyCountryNotFound) Error() string
func (*RetrievePolicyCountryNotFound) GetPayload ¶
func (o *RetrievePolicyCountryNotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrievePolicyCountryNotFound) ToJSONString ¶ added in v0.25.0
func (o *RetrievePolicyCountryNotFound) ToJSONString() string
type RetrievePolicyCountryOK ¶
type RetrievePolicyCountryOK struct {
Payload *legalclientmodels.RetrievePolicyResponse
}
RetrievePolicyCountryOK handles this case with default header values.
successful operation
func NewRetrievePolicyCountryOK ¶
func NewRetrievePolicyCountryOK() *RetrievePolicyCountryOK
NewRetrievePolicyCountryOK creates a RetrievePolicyCountryOK with default headers values
func (*RetrievePolicyCountryOK) Error ¶
func (o *RetrievePolicyCountryOK) Error() string
func (*RetrievePolicyCountryOK) GetPayload ¶
func (o *RetrievePolicyCountryOK) GetPayload() *legalclientmodels.RetrievePolicyResponse
func (*RetrievePolicyCountryOK) ToJSONString ¶ added in v0.25.0
func (o *RetrievePolicyCountryOK) ToJSONString() string
type RetrievePolicyCountryParams ¶
type RetrievePolicyCountryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*BasePolicyID BasePolicy Id */ BasePolicyID string /*CountryCode Country Code */ CountryCode string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RetrievePolicyCountryParams contains all the parameters to send to the API endpoint for the retrieve policy country operation typically these are written to a http.Request
func NewRetrievePolicyCountryParams ¶
func NewRetrievePolicyCountryParams() *RetrievePolicyCountryParams
NewRetrievePolicyCountryParams creates a new RetrievePolicyCountryParams object with the default values initialized.
func NewRetrievePolicyCountryParamsWithContext ¶
func NewRetrievePolicyCountryParamsWithContext(ctx context.Context) *RetrievePolicyCountryParams
NewRetrievePolicyCountryParamsWithContext creates a new RetrievePolicyCountryParams object with the default values initialized, and the ability to set a context for a request
func NewRetrievePolicyCountryParamsWithHTTPClient ¶
func NewRetrievePolicyCountryParamsWithHTTPClient(client *http.Client) *RetrievePolicyCountryParams
NewRetrievePolicyCountryParamsWithHTTPClient creates a new RetrievePolicyCountryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrievePolicyCountryParamsWithTimeout ¶
func NewRetrievePolicyCountryParamsWithTimeout(timeout time.Duration) *RetrievePolicyCountryParams
NewRetrievePolicyCountryParamsWithTimeout creates a new RetrievePolicyCountryParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrievePolicyCountryParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrievePolicyCountryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetBasePolicyID ¶
func (o *RetrievePolicyCountryParams) SetBasePolicyID(basePolicyID string)
SetBasePolicyID adds the basePolicyId to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetContext ¶
func (o *RetrievePolicyCountryParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetCountryCode ¶
func (o *RetrievePolicyCountryParams) SetCountryCode(countryCode string)
SetCountryCode adds the countryCode to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetFlightId ¶ added in v0.63.0
func (o *RetrievePolicyCountryParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrievePolicyCountryParams) SetHTTPClient ¶
func (o *RetrievePolicyCountryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrievePolicyCountryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetTimeout ¶
func (o *RetrievePolicyCountryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve policy country params
func (*RetrievePolicyCountryParams) WithBasePolicyID ¶
func (o *RetrievePolicyCountryParams) WithBasePolicyID(basePolicyID string) *RetrievePolicyCountryParams
WithBasePolicyID adds the basePolicyID to the retrieve policy country params
func (*RetrievePolicyCountryParams) WithContext ¶
func (o *RetrievePolicyCountryParams) WithContext(ctx context.Context) *RetrievePolicyCountryParams
WithContext adds the context to the retrieve policy country params
func (*RetrievePolicyCountryParams) WithCountryCode ¶
func (o *RetrievePolicyCountryParams) WithCountryCode(countryCode string) *RetrievePolicyCountryParams
WithCountryCode adds the countryCode to the retrieve policy country params
func (*RetrievePolicyCountryParams) WithHTTPClient ¶
func (o *RetrievePolicyCountryParams) WithHTTPClient(client *http.Client) *RetrievePolicyCountryParams
WithHTTPClient adds the HTTPClient to the retrieve policy country params
func (*RetrievePolicyCountryParams) WithTimeout ¶
func (o *RetrievePolicyCountryParams) WithTimeout(timeout time.Duration) *RetrievePolicyCountryParams
WithTimeout adds the timeout to the retrieve policy country params
func (*RetrievePolicyCountryParams) WriteToRequest ¶
func (o *RetrievePolicyCountryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrievePolicyCountryReader ¶
type RetrievePolicyCountryReader struct {
// contains filtered or unexported fields
}
RetrievePolicyCountryReader is a Reader for the RetrievePolicyCountry structure.
func (*RetrievePolicyCountryReader) ReadResponse ¶
func (o *RetrievePolicyCountryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveSinglePolicyNotFound ¶
type RetrieveSinglePolicyNotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSinglePolicyNotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40031</td><td>errors.net.accelbyte.platform.legal.base_policy_not_found</td></tr></table>
func NewRetrieveSinglePolicyNotFound ¶
func NewRetrieveSinglePolicyNotFound() *RetrieveSinglePolicyNotFound
NewRetrieveSinglePolicyNotFound creates a RetrieveSinglePolicyNotFound with default headers values
func (*RetrieveSinglePolicyNotFound) Error ¶
func (o *RetrieveSinglePolicyNotFound) Error() string
func (*RetrieveSinglePolicyNotFound) GetPayload ¶
func (o *RetrieveSinglePolicyNotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveSinglePolicyNotFound) ToJSONString ¶ added in v0.25.0
func (o *RetrieveSinglePolicyNotFound) ToJSONString() string
type RetrieveSinglePolicyOK ¶
type RetrieveSinglePolicyOK struct {
Payload *legalclientmodels.RetrieveBasePolicyResponse
}
RetrieveSinglePolicyOK handles this case with default header values.
successful operation
func NewRetrieveSinglePolicyOK ¶
func NewRetrieveSinglePolicyOK() *RetrieveSinglePolicyOK
NewRetrieveSinglePolicyOK creates a RetrieveSinglePolicyOK with default headers values
func (*RetrieveSinglePolicyOK) Error ¶
func (o *RetrieveSinglePolicyOK) Error() string
func (*RetrieveSinglePolicyOK) GetPayload ¶
func (o *RetrieveSinglePolicyOK) GetPayload() *legalclientmodels.RetrieveBasePolicyResponse
func (*RetrieveSinglePolicyOK) ToJSONString ¶ added in v0.25.0
func (o *RetrieveSinglePolicyOK) ToJSONString() string
type RetrieveSinglePolicyParams ¶
type RetrieveSinglePolicyParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*BasePolicyID BasePolicy Id */ BasePolicyID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RetrieveSinglePolicyParams contains all the parameters to send to the API endpoint for the retrieve single policy operation typically these are written to a http.Request
func NewRetrieveSinglePolicyParams ¶
func NewRetrieveSinglePolicyParams() *RetrieveSinglePolicyParams
NewRetrieveSinglePolicyParams creates a new RetrieveSinglePolicyParams object with the default values initialized.
func NewRetrieveSinglePolicyParamsWithContext ¶
func NewRetrieveSinglePolicyParamsWithContext(ctx context.Context) *RetrieveSinglePolicyParams
NewRetrieveSinglePolicyParamsWithContext creates a new RetrieveSinglePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveSinglePolicyParamsWithHTTPClient ¶
func NewRetrieveSinglePolicyParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicyParams
NewRetrieveSinglePolicyParamsWithHTTPClient creates a new RetrieveSinglePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveSinglePolicyParamsWithTimeout ¶
func NewRetrieveSinglePolicyParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicyParams
NewRetrieveSinglePolicyParamsWithTimeout creates a new RetrieveSinglePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveSinglePolicyParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrieveSinglePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve single policy params
func (*RetrieveSinglePolicyParams) SetBasePolicyID ¶
func (o *RetrieveSinglePolicyParams) SetBasePolicyID(basePolicyID string)
SetBasePolicyID adds the basePolicyId to the retrieve single policy params
func (*RetrieveSinglePolicyParams) SetContext ¶
func (o *RetrieveSinglePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve single policy params
func (*RetrieveSinglePolicyParams) SetFlightId ¶ added in v0.63.0
func (o *RetrieveSinglePolicyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrieveSinglePolicyParams) SetHTTPClient ¶
func (o *RetrieveSinglePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve single policy params
func (*RetrieveSinglePolicyParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrieveSinglePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve single policy params
func (*RetrieveSinglePolicyParams) SetTimeout ¶
func (o *RetrieveSinglePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve single policy params
func (*RetrieveSinglePolicyParams) WithBasePolicyID ¶
func (o *RetrieveSinglePolicyParams) WithBasePolicyID(basePolicyID string) *RetrieveSinglePolicyParams
WithBasePolicyID adds the basePolicyID to the retrieve single policy params
func (*RetrieveSinglePolicyParams) WithContext ¶
func (o *RetrieveSinglePolicyParams) WithContext(ctx context.Context) *RetrieveSinglePolicyParams
WithContext adds the context to the retrieve single policy params
func (*RetrieveSinglePolicyParams) WithHTTPClient ¶
func (o *RetrieveSinglePolicyParams) WithHTTPClient(client *http.Client) *RetrieveSinglePolicyParams
WithHTTPClient adds the HTTPClient to the retrieve single policy params
func (*RetrieveSinglePolicyParams) WithTimeout ¶
func (o *RetrieveSinglePolicyParams) WithTimeout(timeout time.Duration) *RetrieveSinglePolicyParams
WithTimeout adds the timeout to the retrieve single policy params
func (*RetrieveSinglePolicyParams) WriteToRequest ¶
func (o *RetrieveSinglePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveSinglePolicyReader ¶
type RetrieveSinglePolicyReader struct {
// contains filtered or unexported fields
}
RetrieveSinglePolicyReader is a Reader for the RetrieveSinglePolicy structure.
func (*RetrieveSinglePolicyReader) ReadResponse ¶
func (o *RetrieveSinglePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- base_legal_policies_client.go
- create_policy_parameters.go
- create_policy_responses.go
- partial_update_policy_parameters.go
- partial_update_policy_responses.go
- retrieve_all_legal_policies_parameters.go
- retrieve_all_legal_policies_responses.go
- retrieve_all_policy_types_parameters.go
- retrieve_all_policy_types_responses.go
- retrieve_policy_country_parameters.go
- retrieve_policy_country_responses.go
- retrieve_single_policy_parameters.go
- retrieve_single_policy_responses.go