Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePolicy1(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, *CreatePolicy1BadRequest, *CreatePolicy1Conflict, ...)deprecated
- func (a *Client) CreatePolicy1Short(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, error)
- func (a *Client) CreatePolicyUnderBasePolicy(params *CreatePolicyUnderBasePolicyParams, ...) (*CreatePolicyUnderBasePolicyCreated, *CreatePolicyUnderBasePolicyBadRequest, ...)deprecated
- func (a *Client) CreatePolicyUnderBasePolicyShort(params *CreatePolicyUnderBasePolicyParams, ...) (*CreatePolicyUnderBasePolicyCreated, error)
- func (a *Client) DeleteBasePolicy(params *DeleteBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBasePolicyNoContent, *DeleteBasePolicyBadRequest, error)deprecated
- func (a *Client) DeleteBasePolicyShort(params *DeleteBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBasePolicyNoContent, error)
- func (a *Client) PartialUpdatePolicy1(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, *PartialUpdatePolicy1BadRequest, error)deprecated
- func (a *Client) PartialUpdatePolicy1Short(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, error)
- func (a *Client) RetrieveAllLegalPoliciesByNamespace(params *RetrieveAllLegalPoliciesByNamespaceParams, ...) (*RetrieveAllLegalPoliciesByNamespaceOK, error)deprecated
- func (a *Client) RetrieveAllLegalPoliciesByNamespaceShort(params *RetrieveAllLegalPoliciesByNamespaceParams, ...) (*RetrieveAllLegalPoliciesByNamespaceOK, error)
- func (a *Client) RetrieveAllPoliciesFromBasePolicy(params *RetrieveAllPoliciesFromBasePolicyParams, ...) (*RetrieveAllPoliciesFromBasePolicyOK, ...)deprecated
- func (a *Client) RetrieveAllPoliciesFromBasePolicyShort(params *RetrieveAllPoliciesFromBasePolicyParams, ...) (*RetrieveAllPoliciesFromBasePolicyOK, error)
- func (a *Client) RetrieveAllPolicyTypes1(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, error)deprecated
- func (a *Client) RetrieveAllPolicyTypes1Short(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, error)
- func (a *Client) RetrievePolicyCountry1(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, *RetrievePolicyCountry1NotFound, error)deprecated
- func (a *Client) RetrievePolicyCountry1Short(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, error)
- func (a *Client) RetrieveSinglePolicy1(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, *RetrieveSinglePolicy1NotFound, error)deprecated
- func (a *Client) RetrieveSinglePolicy1Short(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreatePolicy1BadRequest
- type CreatePolicy1Conflict
- type CreatePolicy1Created
- type CreatePolicy1Params
- func (o *CreatePolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreatePolicy1Params) SetBody(body *legalclientmodels.CreateBasePolicyRequestV2)
- func (o *CreatePolicy1Params) SetContext(ctx context.Context)
- func (o *CreatePolicy1Params) SetFlightId(flightId string)
- func (o *CreatePolicy1Params) SetHTTPClient(client *http.Client)
- func (o *CreatePolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreatePolicy1Params) SetNamespace(namespace string)
- func (o *CreatePolicy1Params) SetTimeout(timeout time.Duration)
- func (o *CreatePolicy1Params) WithBody(body *legalclientmodels.CreateBasePolicyRequestV2) *CreatePolicy1Params
- func (o *CreatePolicy1Params) WithContext(ctx context.Context) *CreatePolicy1Params
- func (o *CreatePolicy1Params) WithHTTPClient(client *http.Client) *CreatePolicy1Params
- func (o *CreatePolicy1Params) WithNamespace(namespace string) *CreatePolicy1Params
- func (o *CreatePolicy1Params) WithTimeout(timeout time.Duration) *CreatePolicy1Params
- func (o *CreatePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePolicy1Reader
- type CreatePolicy1UnprocessableEntity
- type CreatePolicyUnderBasePolicyBadRequest
- type CreatePolicyUnderBasePolicyCreated
- type CreatePolicyUnderBasePolicyParams
- func NewCreatePolicyUnderBasePolicyParams() *CreatePolicyUnderBasePolicyParams
- func NewCreatePolicyUnderBasePolicyParamsWithContext(ctx context.Context) *CreatePolicyUnderBasePolicyParams
- func NewCreatePolicyUnderBasePolicyParamsWithHTTPClient(client *http.Client) *CreatePolicyUnderBasePolicyParams
- func NewCreatePolicyUnderBasePolicyParamsWithTimeout(timeout time.Duration) *CreatePolicyUnderBasePolicyParams
- func (o *CreatePolicyUnderBasePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreatePolicyUnderBasePolicyParams) SetBasePolicyID(basePolicyID string)
- func (o *CreatePolicyUnderBasePolicyParams) SetBody(body *legalclientmodels.CreatePolicyRequest)
- func (o *CreatePolicyUnderBasePolicyParams) SetContext(ctx context.Context)
- func (o *CreatePolicyUnderBasePolicyParams) SetFlightId(flightId string)
- func (o *CreatePolicyUnderBasePolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreatePolicyUnderBasePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreatePolicyUnderBasePolicyParams) SetNamespace(namespace string)
- func (o *CreatePolicyUnderBasePolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreatePolicyUnderBasePolicyParams) WithBasePolicyID(basePolicyID string) *CreatePolicyUnderBasePolicyParams
- func (o *CreatePolicyUnderBasePolicyParams) WithBody(body *legalclientmodels.CreatePolicyRequest) *CreatePolicyUnderBasePolicyParams
- func (o *CreatePolicyUnderBasePolicyParams) WithContext(ctx context.Context) *CreatePolicyUnderBasePolicyParams
- func (o *CreatePolicyUnderBasePolicyParams) WithHTTPClient(client *http.Client) *CreatePolicyUnderBasePolicyParams
- func (o *CreatePolicyUnderBasePolicyParams) WithNamespace(namespace string) *CreatePolicyUnderBasePolicyParams
- func (o *CreatePolicyUnderBasePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyUnderBasePolicyParams
- func (o *CreatePolicyUnderBasePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePolicyUnderBasePolicyReader
- type DeleteBasePolicyBadRequest
- type DeleteBasePolicyNoContent
- type DeleteBasePolicyParams
- func NewDeleteBasePolicyParams() *DeleteBasePolicyParams
- func NewDeleteBasePolicyParamsWithContext(ctx context.Context) *DeleteBasePolicyParams
- func NewDeleteBasePolicyParamsWithHTTPClient(client *http.Client) *DeleteBasePolicyParams
- func NewDeleteBasePolicyParamsWithTimeout(timeout time.Duration) *DeleteBasePolicyParams
- func (o *DeleteBasePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteBasePolicyParams) SetBasePolicyID(basePolicyID string)
- func (o *DeleteBasePolicyParams) SetContext(ctx context.Context)
- func (o *DeleteBasePolicyParams) SetFlightId(flightId string)
- func (o *DeleteBasePolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBasePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteBasePolicyParams) SetNamespace(namespace string)
- func (o *DeleteBasePolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBasePolicyParams) WithBasePolicyID(basePolicyID string) *DeleteBasePolicyParams
- func (o *DeleteBasePolicyParams) WithContext(ctx context.Context) *DeleteBasePolicyParams
- func (o *DeleteBasePolicyParams) WithHTTPClient(client *http.Client) *DeleteBasePolicyParams
- func (o *DeleteBasePolicyParams) WithNamespace(namespace string) *DeleteBasePolicyParams
- func (o *DeleteBasePolicyParams) WithTimeout(timeout time.Duration) *DeleteBasePolicyParams
- func (o *DeleteBasePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBasePolicyReader
- type PartialUpdatePolicy1BadRequest
- type PartialUpdatePolicy1OK
- type PartialUpdatePolicy1Params
- func NewPartialUpdatePolicy1Params() *PartialUpdatePolicy1Params
- func NewPartialUpdatePolicy1ParamsWithContext(ctx context.Context) *PartialUpdatePolicy1Params
- func NewPartialUpdatePolicy1ParamsWithHTTPClient(client *http.Client) *PartialUpdatePolicy1Params
- func NewPartialUpdatePolicy1ParamsWithTimeout(timeout time.Duration) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PartialUpdatePolicy1Params) SetBasePolicyID(basePolicyID string)
- func (o *PartialUpdatePolicy1Params) SetBody(body *legalclientmodels.UpdateBasePolicyRequestV2)
- func (o *PartialUpdatePolicy1Params) SetContext(ctx context.Context)
- func (o *PartialUpdatePolicy1Params) SetFlightId(flightId string)
- func (o *PartialUpdatePolicy1Params) SetHTTPClient(client *http.Client)
- func (o *PartialUpdatePolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PartialUpdatePolicy1Params) SetNamespace(namespace string)
- func (o *PartialUpdatePolicy1Params) SetTimeout(timeout time.Duration)
- func (o *PartialUpdatePolicy1Params) WithBasePolicyID(basePolicyID string) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WithBody(body *legalclientmodels.UpdateBasePolicyRequestV2) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WithContext(ctx context.Context) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WithHTTPClient(client *http.Client) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WithNamespace(namespace string) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WithTimeout(timeout time.Duration) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PartialUpdatePolicy1Reader
- type RetrieveAllLegalPoliciesByNamespaceOK
- type RetrieveAllLegalPoliciesByNamespaceParams
- func NewRetrieveAllLegalPoliciesByNamespaceParams() *RetrieveAllLegalPoliciesByNamespaceParams
- func NewRetrieveAllLegalPoliciesByNamespaceParamsWithContext(ctx context.Context) *RetrieveAllLegalPoliciesByNamespaceParams
- func NewRetrieveAllLegalPoliciesByNamespaceParamsWithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesByNamespaceParams
- func NewRetrieveAllLegalPoliciesByNamespaceParamsWithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetContext(ctx context.Context)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetFlightId(flightId string)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetNamespace(namespace string)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetVisibleOnly(visibleOnly *bool)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithContext(ctx context.Context) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithNamespace(namespace string) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithVisibleOnly(visibleOnly *bool) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAllLegalPoliciesByNamespaceReader
- type RetrieveAllPoliciesFromBasePolicyNotFound
- type RetrieveAllPoliciesFromBasePolicyOK
- type RetrieveAllPoliciesFromBasePolicyParams
- func NewRetrieveAllPoliciesFromBasePolicyParams() *RetrieveAllPoliciesFromBasePolicyParams
- func NewRetrieveAllPoliciesFromBasePolicyParamsWithContext(ctx context.Context) *RetrieveAllPoliciesFromBasePolicyParams
- func NewRetrieveAllPoliciesFromBasePolicyParamsWithHTTPClient(client *http.Client) *RetrieveAllPoliciesFromBasePolicyParams
- func NewRetrieveAllPoliciesFromBasePolicyParamsWithTimeout(timeout time.Duration) *RetrieveAllPoliciesFromBasePolicyParams
- func (o *RetrieveAllPoliciesFromBasePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveAllPoliciesFromBasePolicyParams) SetBasePolicyID(basePolicyID string)
- func (o *RetrieveAllPoliciesFromBasePolicyParams) SetContext(ctx context.Context)
- func (o *RetrieveAllPoliciesFromBasePolicyParams) SetFlightId(flightId string)
- func (o *RetrieveAllPoliciesFromBasePolicyParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveAllPoliciesFromBasePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveAllPoliciesFromBasePolicyParams) SetNamespace(namespace string)
- func (o *RetrieveAllPoliciesFromBasePolicyParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveAllPoliciesFromBasePolicyParams) WithBasePolicyID(basePolicyID string) *RetrieveAllPoliciesFromBasePolicyParams
- func (o *RetrieveAllPoliciesFromBasePolicyParams) WithContext(ctx context.Context) *RetrieveAllPoliciesFromBasePolicyParams
- func (o *RetrieveAllPoliciesFromBasePolicyParams) WithHTTPClient(client *http.Client) *RetrieveAllPoliciesFromBasePolicyParams
- func (o *RetrieveAllPoliciesFromBasePolicyParams) WithNamespace(namespace string) *RetrieveAllPoliciesFromBasePolicyParams
- func (o *RetrieveAllPoliciesFromBasePolicyParams) WithTimeout(timeout time.Duration) *RetrieveAllPoliciesFromBasePolicyParams
- func (o *RetrieveAllPoliciesFromBasePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAllPoliciesFromBasePolicyReader
- type RetrieveAllPolicyTypes1OK
- type RetrieveAllPolicyTypes1Params
- func NewRetrieveAllPolicyTypes1Params() *RetrieveAllPolicyTypes1Params
- func NewRetrieveAllPolicyTypes1ParamsWithContext(ctx context.Context) *RetrieveAllPolicyTypes1Params
- func NewRetrieveAllPolicyTypes1ParamsWithHTTPClient(client *http.Client) *RetrieveAllPolicyTypes1Params
- func NewRetrieveAllPolicyTypes1ParamsWithTimeout(timeout time.Duration) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveAllPolicyTypes1Params) SetContext(ctx context.Context)
- func (o *RetrieveAllPolicyTypes1Params) SetFlightId(flightId string)
- func (o *RetrieveAllPolicyTypes1Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveAllPolicyTypes1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveAllPolicyTypes1Params) SetLimit(limit int32)
- func (o *RetrieveAllPolicyTypes1Params) SetNamespace(namespace string)
- func (o *RetrieveAllPolicyTypes1Params) SetOffset(offset *int32)
- func (o *RetrieveAllPolicyTypes1Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveAllPolicyTypes1Params) WithContext(ctx context.Context) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WithHTTPClient(client *http.Client) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WithLimit(limit int32) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WithNamespace(namespace string) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WithOffset(offset *int32) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WithTimeout(timeout time.Duration) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAllPolicyTypes1Reader
- type RetrievePolicyCountry1NotFound
- type RetrievePolicyCountry1OK
- type RetrievePolicyCountry1Params
- func NewRetrievePolicyCountry1Params() *RetrievePolicyCountry1Params
- func NewRetrievePolicyCountry1ParamsWithContext(ctx context.Context) *RetrievePolicyCountry1Params
- func NewRetrievePolicyCountry1ParamsWithHTTPClient(client *http.Client) *RetrievePolicyCountry1Params
- func NewRetrievePolicyCountry1ParamsWithTimeout(timeout time.Duration) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrievePolicyCountry1Params) SetBasePolicyID(basePolicyID string)
- func (o *RetrievePolicyCountry1Params) SetContext(ctx context.Context)
- func (o *RetrievePolicyCountry1Params) SetCountryCode(countryCode string)
- func (o *RetrievePolicyCountry1Params) SetFlightId(flightId string)
- func (o *RetrievePolicyCountry1Params) SetHTTPClient(client *http.Client)
- func (o *RetrievePolicyCountry1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrievePolicyCountry1Params) SetNamespace(namespace string)
- func (o *RetrievePolicyCountry1Params) SetTimeout(timeout time.Duration)
- func (o *RetrievePolicyCountry1Params) WithBasePolicyID(basePolicyID string) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WithContext(ctx context.Context) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WithCountryCode(countryCode string) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WithHTTPClient(client *http.Client) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WithNamespace(namespace string) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WithTimeout(timeout time.Duration) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrievePolicyCountry1Reader
- type RetrieveSinglePolicy1NotFound
- type RetrieveSinglePolicy1OK
- type RetrieveSinglePolicy1Params
- func NewRetrieveSinglePolicy1Params() *RetrieveSinglePolicy1Params
- func NewRetrieveSinglePolicy1ParamsWithContext(ctx context.Context) *RetrieveSinglePolicy1Params
- func NewRetrieveSinglePolicy1ParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicy1Params
- func NewRetrieveSinglePolicy1ParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveSinglePolicy1Params) SetBasePolicyID(basePolicyID string)
- func (o *RetrieveSinglePolicy1Params) SetContext(ctx context.Context)
- func (o *RetrieveSinglePolicy1Params) SetFlightId(flightId string)
- func (o *RetrieveSinglePolicy1Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveSinglePolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveSinglePolicy1Params) SetNamespace(namespace string)
- func (o *RetrieveSinglePolicy1Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveSinglePolicy1Params) WithBasePolicyID(basePolicyID string) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) WithContext(ctx context.Context) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) WithHTTPClient(client *http.Client) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) WithNamespace(namespace string) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) WithTimeout(timeout time.Duration) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveSinglePolicy1Reader
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
func (a *Client) CreatePolicy1(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, *CreatePolicy1BadRequest, *CreatePolicy1Conflict, *CreatePolicy1UnprocessableEntity, error)
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
func (a *Client) CreatePolicyUnderBasePolicy(params *CreatePolicyUnderBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyUnderBasePolicyCreated, *CreatePolicyUnderBasePolicyBadRequest, error)
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
func (a *Client) DeleteBasePolicy(params *DeleteBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBasePolicyNoContent, *DeleteBasePolicyBadRequest, error)
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
func (a *Client) PartialUpdatePolicy1(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, *PartialUpdatePolicy1BadRequest, error)
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
func (a *Client) RetrieveAllLegalPoliciesByNamespace(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error)
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
func (a *Client) RetrieveAllPoliciesFromBasePolicy(params *RetrieveAllPoliciesFromBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPoliciesFromBasePolicyOK, *RetrieveAllPoliciesFromBasePolicyNotFound, error)
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
func (a *Client) RetrievePolicyCountry1(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, *RetrievePolicyCountry1NotFound, error)
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
func (a *Client) RetrieveSinglePolicy1(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, *RetrieveSinglePolicy1NotFound, error)
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 (o *CreatePolicy1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
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 (o *CreatePolicy1Conflict) GetPayload() *legalclientmodels.ErrorEntity
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 (o *CreatePolicy1Created) GetPayload() *legalclientmodels.CreateBasePolicyResponse
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 ¶
func (o *CreatePolicy1Params) SetBody(body *legalclientmodels.CreateBasePolicyRequestV2)
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 ¶
func (o *CreatePolicy1Params) WithBody(body *legalclientmodels.CreateBasePolicyRequestV2) *CreatePolicy1Params
WithBody adds the body to the create policy 1 params
func (*CreatePolicy1Params) WithContext ¶
func (o *CreatePolicy1Params) WithContext(ctx context.Context) *CreatePolicy1Params
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 (o *CreatePolicy1UnprocessableEntity) Error() string
func (*CreatePolicy1UnprocessableEntity) GetPayload ¶
func (o *CreatePolicy1UnprocessableEntity) GetPayload() *legalclientmodels.ValidationErrorEntity
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 (o *CreatePolicyUnderBasePolicyBadRequest) Error() string
func (*CreatePolicyUnderBasePolicyBadRequest) GetPayload ¶ added in v0.75.0
func (o *CreatePolicyUnderBasePolicyBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*CreatePolicyUnderBasePolicyBadRequest) ToJSONString ¶ added in v0.75.0
func (o *CreatePolicyUnderBasePolicyBadRequest) ToJSONString() string
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 (o *CreatePolicyUnderBasePolicyCreated) Error() string
func (*CreatePolicyUnderBasePolicyCreated) GetPayload ¶ added in v0.75.0
func (o *CreatePolicyUnderBasePolicyCreated) GetPayload() *legalclientmodels.CreatePolicyResponse
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
func (o *CreatePolicyUnderBasePolicyParams) SetBody(body *legalclientmodels.CreatePolicyRequest)
SetBody adds the body to the create policy under base policy params
func (*CreatePolicyUnderBasePolicyParams) SetContext ¶ added in v0.75.0
func (o *CreatePolicyUnderBasePolicyParams) SetContext(ctx context.Context)
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
func (o *CreatePolicyUnderBasePolicyParams) WithBasePolicyID(basePolicyID string) *CreatePolicyUnderBasePolicyParams
WithBasePolicyID adds the basePolicyID to the create policy under base policy params
func (*CreatePolicyUnderBasePolicyParams) WithBody ¶ added in v0.75.0
func (o *CreatePolicyUnderBasePolicyParams) WithBody(body *legalclientmodels.CreatePolicyRequest) *CreatePolicyUnderBasePolicyParams
WithBody adds the body to the create policy under base policy params
func (*CreatePolicyUnderBasePolicyParams) WithContext ¶ added in v0.75.0
func (o *CreatePolicyUnderBasePolicyParams) WithContext(ctx context.Context) *CreatePolicyUnderBasePolicyParams
WithContext adds the context to the create policy under base policy params
func (*CreatePolicyUnderBasePolicyParams) WithHTTPClient ¶ added in v0.75.0
func (o *CreatePolicyUnderBasePolicyParams) WithHTTPClient(client *http.Client) *CreatePolicyUnderBasePolicyParams
WithHTTPClient adds the HTTPClient to the create policy under base policy params
func (*CreatePolicyUnderBasePolicyParams) WithNamespace ¶ added in v0.75.0
func (o *CreatePolicyUnderBasePolicyParams) WithNamespace(namespace string) *CreatePolicyUnderBasePolicyParams
WithNamespace adds the namespace to the create policy under base policy params
func (*CreatePolicyUnderBasePolicyParams) WithTimeout ¶ added in v0.75.0
func (o *CreatePolicyUnderBasePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyUnderBasePolicyParams
WithTimeout adds the timeout to the create policy under base policy params
func (*CreatePolicyUnderBasePolicyParams) WriteToRequest ¶ added in v0.75.0
func (o *CreatePolicyUnderBasePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteBasePolicyBadRequest) Error() string
func (*DeleteBasePolicyBadRequest) GetPayload ¶ added in v0.75.0
func (o *DeleteBasePolicyBadRequest) GetPayload() *legalclientmodels.ErrorEntity
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
func (o *DeleteBasePolicyParams) WithContext(ctx context.Context) *DeleteBasePolicyParams
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
func (o *DeleteBasePolicyParams) WithTimeout(timeout time.Duration) *DeleteBasePolicyParams
WithTimeout adds the timeout to the delete base policy params
func (*DeleteBasePolicyParams) WriteToRequest ¶ added in v0.75.0
func (o *DeleteBasePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PartialUpdatePolicy1BadRequest) Error() string
func (*PartialUpdatePolicy1BadRequest) GetPayload ¶
func (o *PartialUpdatePolicy1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
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 (o *PartialUpdatePolicy1OK) GetPayload() *legalclientmodels.UpdateBasePolicyResponse
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 ¶
func (o *PartialUpdatePolicy1Params) SetBody(body *legalclientmodels.UpdateBasePolicyRequestV2)
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 ¶
func (o *PartialUpdatePolicy1Params) WithBody(body *legalclientmodels.UpdateBasePolicyRequestV2) *PartialUpdatePolicy1Params
WithBody adds the body to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) WithContext ¶
func (o *PartialUpdatePolicy1Params) WithContext(ctx context.Context) *PartialUpdatePolicy1Params
WithContext adds the context to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) WithHTTPClient ¶
func (o *PartialUpdatePolicy1Params) WithHTTPClient(client *http.Client) *PartialUpdatePolicy1Params
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 ¶
func (o *PartialUpdatePolicy1Params) WithTimeout(timeout time.Duration) *PartialUpdatePolicy1Params
WithTimeout adds the timeout to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) WriteToRequest ¶
func (o *PartialUpdatePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *RetrieveAllLegalPoliciesByNamespaceOK) Error() string
func (*RetrieveAllLegalPoliciesByNamespaceOK) GetPayload ¶
func (o *RetrieveAllLegalPoliciesByNamespaceOK) GetPayload() []*legalclientmodels.RetrieveBasePolicyResponse
func (*RetrieveAllLegalPoliciesByNamespaceOK) ToJSONString ¶
func (o *RetrieveAllLegalPoliciesByNamespaceOK) ToJSONString() string
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 ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetContext(ctx context.Context)
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 ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithContext(ctx context.Context) *RetrieveAllLegalPoliciesByNamespaceParams
WithContext adds the context to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) WithHTTPClient ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesByNamespaceParams
WithHTTPClient adds the HTTPClient to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) WithNamespace ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithNamespace(namespace string) *RetrieveAllLegalPoliciesByNamespaceParams
WithNamespace adds the namespace to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) WithTimeout ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesByNamespaceParams
WithTimeout adds the timeout to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) WithVisibleOnly ¶ added in v0.70.0
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithVisibleOnly(visibleOnly *bool) *RetrieveAllLegalPoliciesByNamespaceParams
WithVisibleOnly adds the visibleOnly to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) WriteToRequest ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *RetrieveAllPoliciesFromBasePolicyNotFound) Error() string
func (*RetrieveAllPoliciesFromBasePolicyNotFound) GetPayload ¶ added in v0.75.0
func (o *RetrieveAllPoliciesFromBasePolicyNotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveAllPoliciesFromBasePolicyNotFound) ToJSONString ¶ added in v0.75.0
func (o *RetrieveAllPoliciesFromBasePolicyNotFound) ToJSONString() string
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 (o *RetrieveAllPoliciesFromBasePolicyOK) Error() string
func (*RetrieveAllPoliciesFromBasePolicyOK) GetPayload ¶ added in v0.75.0
func (o *RetrieveAllPoliciesFromBasePolicyOK) GetPayload() []*legalclientmodels.RetrievePoliciesFromBasePolicyResponse
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
func (o *RetrieveAllPoliciesFromBasePolicyParams) SetContext(ctx context.Context)
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
func (o *RetrieveAllPoliciesFromBasePolicyParams) WithBasePolicyID(basePolicyID string) *RetrieveAllPoliciesFromBasePolicyParams
WithBasePolicyID adds the basePolicyID to the retrieve all policies from base policy params
func (*RetrieveAllPoliciesFromBasePolicyParams) WithContext ¶ added in v0.75.0
func (o *RetrieveAllPoliciesFromBasePolicyParams) WithContext(ctx context.Context) *RetrieveAllPoliciesFromBasePolicyParams
WithContext adds the context to the retrieve all policies from base policy params
func (*RetrieveAllPoliciesFromBasePolicyParams) WithHTTPClient ¶ added in v0.75.0
func (o *RetrieveAllPoliciesFromBasePolicyParams) WithHTTPClient(client *http.Client) *RetrieveAllPoliciesFromBasePolicyParams
WithHTTPClient adds the HTTPClient to the retrieve all policies from base policy params
func (*RetrieveAllPoliciesFromBasePolicyParams) WithNamespace ¶ added in v0.75.0
func (o *RetrieveAllPoliciesFromBasePolicyParams) WithNamespace(namespace string) *RetrieveAllPoliciesFromBasePolicyParams
WithNamespace adds the namespace to the retrieve all policies from base policy params
func (*RetrieveAllPoliciesFromBasePolicyParams) WithTimeout ¶ added in v0.75.0
func (o *RetrieveAllPoliciesFromBasePolicyParams) WithTimeout(timeout time.Duration) *RetrieveAllPoliciesFromBasePolicyParams
WithTimeout adds the timeout to the retrieve all policies from base policy params
func (*RetrieveAllPoliciesFromBasePolicyParams) WriteToRequest ¶ added in v0.75.0
func (o *RetrieveAllPoliciesFromBasePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *RetrieveAllPolicyTypes1OK) GetPayload() []*legalclientmodels.RetrievePolicyTypeResponse
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 ¶
func (o *RetrieveAllPolicyTypes1Params) WithContext(ctx context.Context) *RetrieveAllPolicyTypes1Params
WithContext adds the context to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WithHTTPClient ¶
func (o *RetrieveAllPolicyTypes1Params) WithHTTPClient(client *http.Client) *RetrieveAllPolicyTypes1Params
WithHTTPClient adds the HTTPClient to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WithLimit ¶
func (o *RetrieveAllPolicyTypes1Params) WithLimit(limit int32) *RetrieveAllPolicyTypes1Params
WithLimit adds the limit to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WithNamespace ¶
func (o *RetrieveAllPolicyTypes1Params) WithNamespace(namespace string) *RetrieveAllPolicyTypes1Params
WithNamespace adds the namespace to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WithOffset ¶
func (o *RetrieveAllPolicyTypes1Params) WithOffset(offset *int32) *RetrieveAllPolicyTypes1Params
WithOffset adds the offset to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WithTimeout ¶
func (o *RetrieveAllPolicyTypes1Params) WithTimeout(timeout time.Duration) *RetrieveAllPolicyTypes1Params
WithTimeout adds the timeout to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WriteToRequest ¶
func (o *RetrieveAllPolicyTypes1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *RetrievePolicyCountry1NotFound) Error() string
func (*RetrievePolicyCountry1NotFound) GetPayload ¶
func (o *RetrievePolicyCountry1NotFound) GetPayload() *legalclientmodels.ErrorEntity
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 (o *RetrievePolicyCountry1OK) GetPayload() *legalclientmodels.RetrievePolicyResponse
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 ¶
func (o *RetrievePolicyCountry1Params) WithContext(ctx context.Context) *RetrievePolicyCountry1Params
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 ¶
func (o *RetrievePolicyCountry1Params) WithHTTPClient(client *http.Client) *RetrievePolicyCountry1Params
WithHTTPClient adds the HTTPClient to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) WithNamespace ¶
func (o *RetrievePolicyCountry1Params) WithNamespace(namespace string) *RetrievePolicyCountry1Params
WithNamespace adds the namespace to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) WithTimeout ¶
func (o *RetrievePolicyCountry1Params) WithTimeout(timeout time.Duration) *RetrievePolicyCountry1Params
WithTimeout adds the timeout to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) WriteToRequest ¶
func (o *RetrievePolicyCountry1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *RetrieveSinglePolicy1NotFound) Error() string
func (*RetrieveSinglePolicy1NotFound) GetPayload ¶
func (o *RetrieveSinglePolicy1NotFound) GetPayload() *legalclientmodels.ErrorEntity
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 (o *RetrieveSinglePolicy1OK) GetPayload() *legalclientmodels.RetrieveBasePolicyResponse
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 ¶
func (o *RetrieveSinglePolicy1Params) WithContext(ctx context.Context) *RetrieveSinglePolicy1Params
WithContext adds the context to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) WithHTTPClient ¶
func (o *RetrieveSinglePolicy1Params) WithHTTPClient(client *http.Client) *RetrieveSinglePolicy1Params
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 ¶
func (o *RetrieveSinglePolicy1Params) WithTimeout(timeout time.Duration) *RetrieveSinglePolicy1Params
WithTimeout adds the timeout to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) WriteToRequest ¶
func (o *RetrieveSinglePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- base_legal_policies_with_namespace_client.go
- create_policy_1_parameters.go
- create_policy_1_responses.go
- create_policy_under_base_policy_parameters.go
- create_policy_under_base_policy_responses.go
- delete_base_policy_parameters.go
- delete_base_policy_responses.go
- partial_update_policy_1_parameters.go
- partial_update_policy_1_responses.go
- retrieve_all_legal_policies_by_namespace_parameters.go
- retrieve_all_legal_policies_by_namespace_responses.go
- retrieve_all_policies_from_base_policy_parameters.go
- retrieve_all_policies_from_base_policy_responses.go
- retrieve_all_policy_types_1_parameters.go
- retrieve_all_policy_types_1_responses.go
- retrieve_policy_country_1_parameters.go
- retrieve_policy_country_1_responses.go
- retrieve_single_policy_1_parameters.go
- retrieve_single_policy_1_responses.go