Documentation
¶
Index ¶
- type Client
- func (a *Client) CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, *CreatePolicyBadRequest, *CreatePolicyConflict, ...)deprecated
- func (a *Client) CreatePolicyShort(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, 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) PartialUpdatePolicy(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, *PartialUpdatePolicyBadRequest, error)deprecated
- func (a *Client) PartialUpdatePolicyShort(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, 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) RetrieveAllPolicyTypes(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)deprecated
- func (a *Client) RetrieveAllPolicyTypesShort(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)
- func (a *Client) RetrievePolicyCountry(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, *RetrievePolicyCountryNotFound, error)deprecated
- func (a *Client) RetrievePolicyCountryShort(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, error)
- func (a *Client) RetrieveSinglePolicy(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, *RetrieveSinglePolicyNotFound, error)deprecated
- func (a *Client) RetrieveSinglePolicyShort(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreatePolicyBadRequest
- type CreatePolicyConflict
- type CreatePolicyCreated
- type CreatePolicyParams
- func (o *CreatePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreatePolicyParams) SetBody(body *legalclientmodels.CreateBasePolicyRequestV2)
- func (o *CreatePolicyParams) SetContext(ctx context.Context)
- func (o *CreatePolicyParams) SetFlightId(flightId string)
- func (o *CreatePolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreatePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreatePolicyParams) SetNamespace(namespace string)
- func (o *CreatePolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreatePolicyParams) WithBody(body *legalclientmodels.CreateBasePolicyRequestV2) *CreatePolicyParams
- func (o *CreatePolicyParams) WithContext(ctx context.Context) *CreatePolicyParams
- func (o *CreatePolicyParams) WithHTTPClient(client *http.Client) *CreatePolicyParams
- func (o *CreatePolicyParams) WithNamespace(namespace string) *CreatePolicyParams
- func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams
- func (o *CreatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePolicyReader
- 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 CreatePolicyUnprocessableEntity
- 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 PartialUpdatePolicyBadRequest
- type PartialUpdatePolicyOK
- type PartialUpdatePolicyParams
- func NewPartialUpdatePolicyParams() *PartialUpdatePolicyParams
- func NewPartialUpdatePolicyParamsWithContext(ctx context.Context) *PartialUpdatePolicyParams
- func NewPartialUpdatePolicyParamsWithHTTPClient(client *http.Client) *PartialUpdatePolicyParams
- func NewPartialUpdatePolicyParamsWithTimeout(timeout time.Duration) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PartialUpdatePolicyParams) SetBasePolicyID(basePolicyID string)
- func (o *PartialUpdatePolicyParams) SetBody(body *legalclientmodels.UpdateBasePolicyRequestV2)
- func (o *PartialUpdatePolicyParams) SetContext(ctx context.Context)
- func (o *PartialUpdatePolicyParams) SetFlightId(flightId string)
- func (o *PartialUpdatePolicyParams) SetHTTPClient(client *http.Client)
- func (o *PartialUpdatePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PartialUpdatePolicyParams) SetNamespace(namespace string)
- func (o *PartialUpdatePolicyParams) SetTimeout(timeout time.Duration)
- func (o *PartialUpdatePolicyParams) WithBasePolicyID(basePolicyID string) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) WithBody(body *legalclientmodels.UpdateBasePolicyRequestV2) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) WithContext(ctx context.Context) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) WithHTTPClient(client *http.Client) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) WithNamespace(namespace string) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) WithTimeout(timeout time.Duration) *PartialUpdatePolicyParams
- func (o *PartialUpdatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PartialUpdatePolicyReader
- 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) SetLimit(limit *int32)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetNamespace(namespace string)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetOffset(offset *int32)
- 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) WithLimit(limit *int32) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithNamespace(namespace string) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithOffset(offset *int32) *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 RetrieveAllPolicyTypesOK
- type RetrieveAllPolicyTypesParams
- func NewRetrieveAllPolicyTypesParams() *RetrieveAllPolicyTypesParams
- func NewRetrieveAllPolicyTypesParamsWithContext(ctx context.Context) *RetrieveAllPolicyTypesParams
- func NewRetrieveAllPolicyTypesParamsWithHTTPClient(client *http.Client) *RetrieveAllPolicyTypesParams
- func NewRetrieveAllPolicyTypesParamsWithTimeout(timeout time.Duration) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveAllPolicyTypesParams) SetContext(ctx context.Context)
- func (o *RetrieveAllPolicyTypesParams) SetFlightId(flightId string)
- func (o *RetrieveAllPolicyTypesParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveAllPolicyTypesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveAllPolicyTypesParams) SetLimit(limit int32)
- func (o *RetrieveAllPolicyTypesParams) SetNamespace(namespace string)
- func (o *RetrieveAllPolicyTypesParams) SetOffset(offset *int32)
- func (o *RetrieveAllPolicyTypesParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveAllPolicyTypesParams) WithContext(ctx context.Context) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) WithHTTPClient(client *http.Client) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) WithLimit(limit int32) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) WithNamespace(namespace string) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) WithOffset(offset *int32) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) WithTimeout(timeout time.Duration) *RetrieveAllPolicyTypesParams
- func (o *RetrieveAllPolicyTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAllPolicyTypesReader
- type RetrievePolicyCountryNotFound
- type RetrievePolicyCountryOK
- type RetrievePolicyCountryParams
- func NewRetrievePolicyCountryParams() *RetrievePolicyCountryParams
- func NewRetrievePolicyCountryParamsWithContext(ctx context.Context) *RetrievePolicyCountryParams
- func NewRetrievePolicyCountryParamsWithHTTPClient(client *http.Client) *RetrievePolicyCountryParams
- func NewRetrievePolicyCountryParamsWithTimeout(timeout time.Duration) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrievePolicyCountryParams) SetBasePolicyID(basePolicyID string)
- func (o *RetrievePolicyCountryParams) SetContext(ctx context.Context)
- func (o *RetrievePolicyCountryParams) SetCountryCode(countryCode string)
- func (o *RetrievePolicyCountryParams) SetFlightId(flightId string)
- func (o *RetrievePolicyCountryParams) SetHTTPClient(client *http.Client)
- func (o *RetrievePolicyCountryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrievePolicyCountryParams) SetNamespace(namespace string)
- func (o *RetrievePolicyCountryParams) SetTimeout(timeout time.Duration)
- func (o *RetrievePolicyCountryParams) WithBasePolicyID(basePolicyID string) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) WithContext(ctx context.Context) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) WithCountryCode(countryCode string) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) WithHTTPClient(client *http.Client) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) WithNamespace(namespace string) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) WithTimeout(timeout time.Duration) *RetrievePolicyCountryParams
- func (o *RetrievePolicyCountryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrievePolicyCountryReader
- type RetrieveSinglePolicyNotFound
- type RetrieveSinglePolicyOK
- type RetrieveSinglePolicyParams
- func NewRetrieveSinglePolicyParams() *RetrieveSinglePolicyParams
- func NewRetrieveSinglePolicyParamsWithContext(ctx context.Context) *RetrieveSinglePolicyParams
- func NewRetrieveSinglePolicyParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicyParams
- func NewRetrieveSinglePolicyParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicyParams
- func (o *RetrieveSinglePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveSinglePolicyParams) SetBasePolicyID(basePolicyID string)
- func (o *RetrieveSinglePolicyParams) SetContext(ctx context.Context)
- func (o *RetrieveSinglePolicyParams) SetFlightId(flightId string)
- func (o *RetrieveSinglePolicyParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveSinglePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveSinglePolicyParams) SetNamespace(namespace string)
- func (o *RetrieveSinglePolicyParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveSinglePolicyParams) WithBasePolicyID(basePolicyID string) *RetrieveSinglePolicyParams
- func (o *RetrieveSinglePolicyParams) WithContext(ctx context.Context) *RetrieveSinglePolicyParams
- func (o *RetrieveSinglePolicyParams) WithHTTPClient(client *http.Client) *RetrieveSinglePolicyParams
- func (o *RetrieveSinglePolicyParams) WithNamespace(namespace string) *RetrieveSinglePolicyParams
- func (o *RetrieveSinglePolicyParams) WithTimeout(timeout time.Duration) *RetrieveSinglePolicyParams
- func (o *RetrieveSinglePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveSinglePolicyReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for base legal policies with namespace API
func (*Client) CreatePolicy
deprecated
added in
v0.84.0
func (a *Client) CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, *CreatePolicyBadRequest, *CreatePolicyConflict, *CreatePolicyUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use CreatePolicyShort instead.
CreatePolicy create a base legal policy Create a legal policy. Note:
- countryType field only accept COUNTRY or COUNTRY_GROUP.
- COUNTRY_GROUP countryType requires the countryGroupName and affectedCountries fields to be provided.
* policy with COUNTRY_GROUP type include multiple countries and apply the same policy across the entire list of countries
func (*Client) CreatePolicyShort ¶ added in v0.84.0
func (a *Client) CreatePolicyShort(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, error)
CreatePolicyShort create a base legal policy Create a legal policy. Note:
- countryType field only accept COUNTRY or COUNTRY_GROUP.
- COUNTRY_GROUP countryType requires the countryGroupName and affectedCountries fields to be provided.
* policy with COUNTRY_GROUP type include multiple countries and apply the same policy across the entire list of countries
func (*Client) CreatePolicyUnderBasePolicy
deprecated
added in
v0.75.0
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) PartialUpdatePolicy
deprecated
added in
v0.84.0
func (a *Client) PartialUpdatePolicy(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, *PartialUpdatePolicyBadRequest, error)
Deprecated: 2022-08-10 - Use PartialUpdatePolicyShort instead.
PartialUpdatePolicy update base legal policy Update an existing base policy. Note:
- countryType field only accept COUNTRY or COUNTRY_GROUP.
- COUNTRY_GROUP countryType requires the countryGroupName and affectedCountries fields to be provided.
* policy with COUNTRY_GROUP type include multiple countries and apply the same policy across the entire list of countries
func (*Client) PartialUpdatePolicyShort ¶ added in v0.84.0
func (a *Client) PartialUpdatePolicyShort(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, error)
PartialUpdatePolicyShort update base legal policy Update an existing base policy. Note:
- countryType field only accept COUNTRY or COUNTRY_GROUP.
- COUNTRY_GROUP countryType requires the countryGroupName and affectedCountries fields to be provided.
* policy with COUNTRY_GROUP type include multiple countries and apply the same policy across the entire list of countries
func (*Client) RetrieveAllLegalPoliciesByNamespace
deprecated
func (a *Client) RetrieveAllLegalPoliciesByNamespace(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error)
Deprecated: 2022-08-10 - Use RetrieveAllLegalPoliciesByNamespaceShort instead.
RetrieveAllLegalPoliciesByNamespace retrieve base legal policy in the namespace Retrieve base policies in the namespace. Set `limit = -1` to retrieve all records
func (*Client) RetrieveAllLegalPoliciesByNamespaceShort ¶
func (a *Client) RetrieveAllLegalPoliciesByNamespaceShort(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error)
RetrieveAllLegalPoliciesByNamespaceShort retrieve base legal policy in the namespace Retrieve base policies in the namespace. Set `limit = -1` to retrieve all records
func (*Client) RetrieveAllPoliciesFromBasePolicy
deprecated
added in
v0.75.0
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) RetrieveAllPolicyTypes
deprecated
added in
v0.84.0
func (a *Client) RetrieveAllPolicyTypes(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)
Deprecated: 2022-08-10 - Use RetrieveAllPolicyTypesShort instead.
RetrieveAllPolicyTypes retrieve all policy type Retrieve all supported policy types.
func (*Client) RetrieveAllPolicyTypesShort ¶ added in v0.84.0
func (a *Client) RetrieveAllPolicyTypesShort(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)
RetrieveAllPolicyTypesShort retrieve all policy type Retrieve all supported policy types.
func (*Client) RetrievePolicyCountry
deprecated
added in
v0.84.0
func (a *Client) RetrievePolicyCountry(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, *RetrievePolicyCountryNotFound, error)
Deprecated: 2022-08-10 - Use RetrievePolicyCountryShort instead.
RetrievePolicyCountry retrieve a base legal policy based on a particular country Retrieve a Base Legal Policy based on a Particular Country.
func (*Client) RetrievePolicyCountryShort ¶ added in v0.84.0
func (a *Client) RetrievePolicyCountryShort(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, error)
RetrievePolicyCountryShort retrieve a base legal policy based on a particular country Retrieve a Base Legal Policy based on a Particular Country.
func (*Client) RetrieveSinglePolicy
deprecated
added in
v0.84.0
func (a *Client) RetrieveSinglePolicy(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, *RetrieveSinglePolicyNotFound, error)
Deprecated: 2022-08-10 - Use RetrieveSinglePolicyShort instead.
RetrieveSinglePolicy retrieve a base legal policy Retrieve a base policy.
func (*Client) RetrieveSinglePolicyShort ¶ added in v0.84.0
func (a *Client) RetrieveSinglePolicyShort(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, error)
RetrieveSinglePolicyShort retrieve a base legal policy Retrieve a base policy.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface {
RetrieveAllLegalPoliciesByNamespace(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error)
RetrieveAllLegalPoliciesByNamespaceShort(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error)
CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, *CreatePolicyBadRequest, *CreatePolicyConflict, *CreatePolicyUnprocessableEntity, error)
CreatePolicyShort(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, error)
RetrieveSinglePolicy(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, *RetrieveSinglePolicyNotFound, error)
RetrieveSinglePolicyShort(params *RetrieveSinglePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyOK, error)
DeleteBasePolicy(params *DeleteBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBasePolicyNoContent, *DeleteBasePolicyBadRequest, error)
DeleteBasePolicyShort(params *DeleteBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBasePolicyNoContent, error)
PartialUpdatePolicy(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, *PartialUpdatePolicyBadRequest, error)
PartialUpdatePolicyShort(params *PartialUpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicyOK, error)
RetrievePolicyCountry(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, *RetrievePolicyCountryNotFound, error)
RetrievePolicyCountryShort(params *RetrievePolicyCountryParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountryOK, error)
RetrieveAllPoliciesFromBasePolicy(params *RetrieveAllPoliciesFromBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPoliciesFromBasePolicyOK, *RetrieveAllPoliciesFromBasePolicyNotFound, error)
RetrieveAllPoliciesFromBasePolicyShort(params *RetrieveAllPoliciesFromBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPoliciesFromBasePolicyOK, error)
CreatePolicyUnderBasePolicy(params *CreatePolicyUnderBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyUnderBasePolicyCreated, *CreatePolicyUnderBasePolicyBadRequest, error)
CreatePolicyUnderBasePolicyShort(params *CreatePolicyUnderBasePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyUnderBasePolicyCreated, error)
RetrieveAllPolicyTypes(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)
RetrieveAllPolicyTypesShort(params *RetrieveAllPolicyTypesParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypesOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new base legal policies with namespace API client.
type CreatePolicyBadRequest ¶ added in v0.84.0
type CreatePolicyBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
CreatePolicyBadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40032</td><td>errors.net.accelbyte.platform.legal.base_policy_namespace_not_match</td></tr><tr><td>40026</td><td>errors.net.accelbyte.platform.legal.not_allow_create_studio_policy</td></tr></table>
func NewCreatePolicyBadRequest ¶ added in v0.84.0
func NewCreatePolicyBadRequest() *CreatePolicyBadRequest
NewCreatePolicyBadRequest creates a CreatePolicyBadRequest with default headers values
func (*CreatePolicyBadRequest) Error ¶ added in v0.84.0
func (o *CreatePolicyBadRequest) Error() string
func (*CreatePolicyBadRequest) GetPayload ¶ added in v0.84.0
func (o *CreatePolicyBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*CreatePolicyBadRequest) ToJSONString ¶ added in v0.84.0
func (o *CreatePolicyBadRequest) ToJSONString() string
type CreatePolicyConflict ¶ added in v0.84.0
type CreatePolicyConflict struct {
Payload *legalclientmodels.ErrorEntity
}
CreatePolicyConflict handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40030</td><td>errors.net.accelbyte.platform.legal.invalid_policy_type</td></tr></table>
func NewCreatePolicyConflict ¶ added in v0.84.0
func NewCreatePolicyConflict() *CreatePolicyConflict
NewCreatePolicyConflict creates a CreatePolicyConflict with default headers values
func (*CreatePolicyConflict) Error ¶ added in v0.84.0
func (o *CreatePolicyConflict) Error() string
func (*CreatePolicyConflict) GetPayload ¶ added in v0.84.0
func (o *CreatePolicyConflict) GetPayload() *legalclientmodels.ErrorEntity
func (*CreatePolicyConflict) ToJSONString ¶ added in v0.84.0
func (o *CreatePolicyConflict) ToJSONString() string
type CreatePolicyCreated ¶ added in v0.84.0
type CreatePolicyCreated struct {
Payload *legalclientmodels.CreateBasePolicyResponse
}
CreatePolicyCreated handles this case with default header values.
successful operation
func NewCreatePolicyCreated ¶ added in v0.84.0
func NewCreatePolicyCreated() *CreatePolicyCreated
NewCreatePolicyCreated creates a CreatePolicyCreated with default headers values
func (*CreatePolicyCreated) Error ¶ added in v0.84.0
func (o *CreatePolicyCreated) Error() string
func (*CreatePolicyCreated) GetPayload ¶ added in v0.84.0
func (o *CreatePolicyCreated) GetPayload() *legalclientmodels.CreateBasePolicyResponse
func (*CreatePolicyCreated) ToJSONString ¶ added in v0.84.0
func (o *CreatePolicyCreated) ToJSONString() string
type CreatePolicyParams ¶ added in v0.84.0
type CreatePolicyParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *legalclientmodels.CreateBasePolicyRequestV2
/*Namespace
Namespace
*/
Namespace string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
CreatePolicyParams contains all the parameters to send to the API endpoint for the create policy operation typically these are written to a http.Request
func NewCreatePolicyParams ¶ added in v0.84.0
func NewCreatePolicyParams() *CreatePolicyParams
NewCreatePolicyParams creates a new CreatePolicyParams object with the default values initialized.
func NewCreatePolicyParamsWithContext ¶ added in v0.84.0
func NewCreatePolicyParamsWithContext(ctx context.Context) *CreatePolicyParams
NewCreatePolicyParamsWithContext creates a new CreatePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePolicyParamsWithHTTPClient ¶ added in v0.84.0
func NewCreatePolicyParamsWithHTTPClient(client *http.Client) *CreatePolicyParams
NewCreatePolicyParamsWithHTTPClient creates a new CreatePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePolicyParamsWithTimeout ¶ added in v0.84.0
func NewCreatePolicyParamsWithTimeout(timeout time.Duration) *CreatePolicyParams
NewCreatePolicyParamsWithTimeout creates a new CreatePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePolicyParams) SetAuthInfoWriter ¶ added in v0.84.0
func (o *CreatePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create policy params
func (*CreatePolicyParams) SetBody ¶ added in v0.84.0
func (o *CreatePolicyParams) SetBody(body *legalclientmodels.CreateBasePolicyRequestV2)
SetBody adds the body to the create policy params
func (*CreatePolicyParams) SetContext ¶ added in v0.84.0
func (o *CreatePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create policy params
func (*CreatePolicyParams) SetFlightId ¶ added in v0.84.0
func (o *CreatePolicyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*CreatePolicyParams) SetHTTPClient ¶ added in v0.84.0
func (o *CreatePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create policy params
func (*CreatePolicyParams) SetHTTPClientTransport ¶ added in v0.84.0
func (o *CreatePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create policy params
func (*CreatePolicyParams) SetNamespace ¶ added in v0.84.0
func (o *CreatePolicyParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create policy params
func (*CreatePolicyParams) SetTimeout ¶ added in v0.84.0
func (o *CreatePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create policy params
func (*CreatePolicyParams) WithBody ¶ added in v0.84.0
func (o *CreatePolicyParams) WithBody(body *legalclientmodels.CreateBasePolicyRequestV2) *CreatePolicyParams
WithBody adds the body to the create policy params
func (*CreatePolicyParams) WithContext ¶ added in v0.84.0
func (o *CreatePolicyParams) WithContext(ctx context.Context) *CreatePolicyParams
WithContext adds the context to the create policy params
func (*CreatePolicyParams) WithHTTPClient ¶ added in v0.84.0
func (o *CreatePolicyParams) WithHTTPClient(client *http.Client) *CreatePolicyParams
WithHTTPClient adds the HTTPClient to the create policy params
func (*CreatePolicyParams) WithNamespace ¶ added in v0.84.0
func (o *CreatePolicyParams) WithNamespace(namespace string) *CreatePolicyParams
WithNamespace adds the namespace to the create policy params
func (*CreatePolicyParams) WithTimeout ¶ added in v0.84.0
func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams
WithTimeout adds the timeout to the create policy params
func (*CreatePolicyParams) WriteToRequest ¶ added in v0.84.0
func (o *CreatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePolicyReader ¶ added in v0.84.0
type CreatePolicyReader struct {
// contains filtered or unexported fields
}
CreatePolicyReader is a Reader for the CreatePolicy structure.
func (*CreatePolicyReader) ReadResponse ¶ added in v0.84.0
func (o *CreatePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePolicyUnderBasePolicyBadRequest ¶ added in v0.75.0
type CreatePolicyUnderBasePolicyBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
CreatePolicyUnderBasePolicyBadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40032</td><td>errors.net.accelbyte.platform.legal.invalid_base_policy</td></tr></table>
func NewCreatePolicyUnderBasePolicyBadRequest ¶ added in v0.75.0
func NewCreatePolicyUnderBasePolicyBadRequest() *CreatePolicyUnderBasePolicyBadRequest
NewCreatePolicyUnderBasePolicyBadRequest creates a CreatePolicyUnderBasePolicyBadRequest with default headers values
func (*CreatePolicyUnderBasePolicyBadRequest) Error ¶ added in v0.75.0
func (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 CreatePolicyUnprocessableEntity ¶ added in v0.84.0
type CreatePolicyUnprocessableEntity struct {
Payload *legalclientmodels.ValidationErrorEntity
}
CreatePolicyUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewCreatePolicyUnprocessableEntity ¶ added in v0.84.0
func NewCreatePolicyUnprocessableEntity() *CreatePolicyUnprocessableEntity
NewCreatePolicyUnprocessableEntity creates a CreatePolicyUnprocessableEntity with default headers values
func (*CreatePolicyUnprocessableEntity) Error ¶ added in v0.84.0
func (o *CreatePolicyUnprocessableEntity) Error() string
func (*CreatePolicyUnprocessableEntity) GetPayload ¶ added in v0.84.0
func (o *CreatePolicyUnprocessableEntity) GetPayload() *legalclientmodels.ValidationErrorEntity
func (*CreatePolicyUnprocessableEntity) ToJSONString ¶ added in v0.84.0
func (o *CreatePolicyUnprocessableEntity) ToJSONString() string
type DeleteBasePolicyBadRequest ¶ added in v0.75.0
type DeleteBasePolicyBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
DeleteBasePolicyBadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40032</td><td>errors.net.accelbyte.platform.legal.invalid_base_policy</td></tr><tr><td>40068</td><td>errors.net.accelbyte.platform.legal.base_policy_have_published_policy_version_and_already_accepted_by_user</td></tr><tr><td>40069</td><td>errors.net.accelbyte.platform.legal.base_policy_already_have_published_policy_version</td></tr></table>
func NewDeleteBasePolicyBadRequest ¶ added in v0.75.0
func NewDeleteBasePolicyBadRequest() *DeleteBasePolicyBadRequest
NewDeleteBasePolicyBadRequest creates a DeleteBasePolicyBadRequest with default headers values
func (*DeleteBasePolicyBadRequest) Error ¶ added in v0.75.0
func (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 PartialUpdatePolicyBadRequest ¶ added in v0.84.0
type PartialUpdatePolicyBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
PartialUpdatePolicyBadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40032</td><td>errors.net.accelbyte.platform.legal.invalid_base_policy</td></tr></table>
func NewPartialUpdatePolicyBadRequest ¶ added in v0.84.0
func NewPartialUpdatePolicyBadRequest() *PartialUpdatePolicyBadRequest
NewPartialUpdatePolicyBadRequest creates a PartialUpdatePolicyBadRequest with default headers values
func (*PartialUpdatePolicyBadRequest) Error ¶ added in v0.84.0
func (o *PartialUpdatePolicyBadRequest) Error() string
func (*PartialUpdatePolicyBadRequest) GetPayload ¶ added in v0.84.0
func (o *PartialUpdatePolicyBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*PartialUpdatePolicyBadRequest) ToJSONString ¶ added in v0.84.0
func (o *PartialUpdatePolicyBadRequest) ToJSONString() string
type PartialUpdatePolicyOK ¶ added in v0.84.0
type PartialUpdatePolicyOK struct {
Payload *legalclientmodels.UpdateBasePolicyResponse
}
PartialUpdatePolicyOK handles this case with default header values.
successful operation
func NewPartialUpdatePolicyOK ¶ added in v0.84.0
func NewPartialUpdatePolicyOK() *PartialUpdatePolicyOK
NewPartialUpdatePolicyOK creates a PartialUpdatePolicyOK with default headers values
func (*PartialUpdatePolicyOK) Error ¶ added in v0.84.0
func (o *PartialUpdatePolicyOK) Error() string
func (*PartialUpdatePolicyOK) GetPayload ¶ added in v0.84.0
func (o *PartialUpdatePolicyOK) GetPayload() *legalclientmodels.UpdateBasePolicyResponse
func (*PartialUpdatePolicyOK) ToJSONString ¶ added in v0.84.0
func (o *PartialUpdatePolicyOK) ToJSONString() string
type PartialUpdatePolicyParams ¶ added in v0.84.0
type PartialUpdatePolicyParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *legalclientmodels.UpdateBasePolicyRequestV2
/*BasePolicyID
BasePolicy Id
*/
BasePolicyID string
/*Namespace
Namespace
*/
Namespace string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
PartialUpdatePolicyParams contains all the parameters to send to the API endpoint for the partial update policy operation typically these are written to a http.Request
func NewPartialUpdatePolicyParams ¶ added in v0.84.0
func NewPartialUpdatePolicyParams() *PartialUpdatePolicyParams
NewPartialUpdatePolicyParams creates a new PartialUpdatePolicyParams object with the default values initialized.
func NewPartialUpdatePolicyParamsWithContext ¶ added in v0.84.0
func NewPartialUpdatePolicyParamsWithContext(ctx context.Context) *PartialUpdatePolicyParams
NewPartialUpdatePolicyParamsWithContext creates a new PartialUpdatePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewPartialUpdatePolicyParamsWithHTTPClient ¶ added in v0.84.0
func NewPartialUpdatePolicyParamsWithHTTPClient(client *http.Client) *PartialUpdatePolicyParams
NewPartialUpdatePolicyParamsWithHTTPClient creates a new PartialUpdatePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPartialUpdatePolicyParamsWithTimeout ¶ added in v0.84.0
func NewPartialUpdatePolicyParamsWithTimeout(timeout time.Duration) *PartialUpdatePolicyParams
NewPartialUpdatePolicyParamsWithTimeout creates a new PartialUpdatePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*PartialUpdatePolicyParams) SetAuthInfoWriter ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the partial update policy params
func (*PartialUpdatePolicyParams) SetBasePolicyID ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) SetBasePolicyID(basePolicyID string)
SetBasePolicyID adds the basePolicyId to the partial update policy params
func (*PartialUpdatePolicyParams) SetBody ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) SetBody(body *legalclientmodels.UpdateBasePolicyRequestV2)
SetBody adds the body to the partial update policy params
func (*PartialUpdatePolicyParams) SetContext ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the partial update policy params
func (*PartialUpdatePolicyParams) SetFlightId ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PartialUpdatePolicyParams) SetHTTPClient ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the partial update policy params
func (*PartialUpdatePolicyParams) SetHTTPClientTransport ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the partial update policy params
func (*PartialUpdatePolicyParams) SetNamespace ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the partial update policy params
func (*PartialUpdatePolicyParams) SetTimeout ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the partial update policy params
func (*PartialUpdatePolicyParams) WithBasePolicyID ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) WithBasePolicyID(basePolicyID string) *PartialUpdatePolicyParams
WithBasePolicyID adds the basePolicyID to the partial update policy params
func (*PartialUpdatePolicyParams) WithBody ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) WithBody(body *legalclientmodels.UpdateBasePolicyRequestV2) *PartialUpdatePolicyParams
WithBody adds the body to the partial update policy params
func (*PartialUpdatePolicyParams) WithContext ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) WithContext(ctx context.Context) *PartialUpdatePolicyParams
WithContext adds the context to the partial update policy params
func (*PartialUpdatePolicyParams) WithHTTPClient ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) WithHTTPClient(client *http.Client) *PartialUpdatePolicyParams
WithHTTPClient adds the HTTPClient to the partial update policy params
func (*PartialUpdatePolicyParams) WithNamespace ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) WithNamespace(namespace string) *PartialUpdatePolicyParams
WithNamespace adds the namespace to the partial update policy params
func (*PartialUpdatePolicyParams) WithTimeout ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) WithTimeout(timeout time.Duration) *PartialUpdatePolicyParams
WithTimeout adds the timeout to the partial update policy params
func (*PartialUpdatePolicyParams) WriteToRequest ¶ added in v0.84.0
func (o *PartialUpdatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PartialUpdatePolicyReader ¶ added in v0.84.0
type PartialUpdatePolicyReader struct {
// contains filtered or unexported fields
}
PartialUpdatePolicyReader is a Reader for the PartialUpdatePolicy structure.
func (*PartialUpdatePolicyReader) ReadResponse ¶ added in v0.84.0
func (o *PartialUpdatePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveAllLegalPoliciesByNamespaceOK ¶
type RetrieveAllLegalPoliciesByNamespaceOK struct {
Payload []*legalclientmodels.RetrieveBasePolicyResponse
}
RetrieveAllLegalPoliciesByNamespaceOK handles this case with default header values.
successful operation
func NewRetrieveAllLegalPoliciesByNamespaceOK ¶
func NewRetrieveAllLegalPoliciesByNamespaceOK() *RetrieveAllLegalPoliciesByNamespaceOK
NewRetrieveAllLegalPoliciesByNamespaceOK creates a RetrieveAllLegalPoliciesByNamespaceOK with default headers values
func (*RetrieveAllLegalPoliciesByNamespaceOK) Error ¶
func (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
/*Limit
Limit
*/
Limit *int32
/*Offset
Offset
*/
Offset *int32
/*VisibleOnly*/
VisibleOnly *bool
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
RetrieveAllLegalPoliciesByNamespaceParams contains all the parameters to send to the API endpoint for the retrieve all legal policies by namespace operation typically these are written to a http.Request
func NewRetrieveAllLegalPoliciesByNamespaceParams ¶
func NewRetrieveAllLegalPoliciesByNamespaceParams() *RetrieveAllLegalPoliciesByNamespaceParams
NewRetrieveAllLegalPoliciesByNamespaceParams creates a new RetrieveAllLegalPoliciesByNamespaceParams object with the default values initialized.
func NewRetrieveAllLegalPoliciesByNamespaceParamsWithContext ¶
func NewRetrieveAllLegalPoliciesByNamespaceParamsWithContext(ctx context.Context) *RetrieveAllLegalPoliciesByNamespaceParams
NewRetrieveAllLegalPoliciesByNamespaceParamsWithContext creates a new RetrieveAllLegalPoliciesByNamespaceParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveAllLegalPoliciesByNamespaceParamsWithHTTPClient ¶
func NewRetrieveAllLegalPoliciesByNamespaceParamsWithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesByNamespaceParams
NewRetrieveAllLegalPoliciesByNamespaceParamsWithHTTPClient creates a new RetrieveAllLegalPoliciesByNamespaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveAllLegalPoliciesByNamespaceParamsWithTimeout ¶
func NewRetrieveAllLegalPoliciesByNamespaceParamsWithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesByNamespaceParams
NewRetrieveAllLegalPoliciesByNamespaceParamsWithTimeout creates a new RetrieveAllLegalPoliciesByNamespaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveAllLegalPoliciesByNamespaceParams) SetAuthInfoWriter ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) SetContext ¶
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) SetLimit ¶ added in v0.85.0
func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetLimit(limit *int32)
SetLimit adds the limit to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) SetNamespace ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) SetOffset ¶ added in v0.85.0
func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetOffset(offset *int32)
SetOffset adds the offset to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) SetTimeout ¶
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) WithLimit ¶ added in v0.85.0
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithLimit(limit *int32) *RetrieveAllLegalPoliciesByNamespaceParams
WithLimit adds the limit 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) WithOffset ¶ added in v0.85.0
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithOffset(offset *int32) *RetrieveAllLegalPoliciesByNamespaceParams
WithOffset adds the offset 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 RetrieveAllPolicyTypesOK ¶ added in v0.84.0
type RetrieveAllPolicyTypesOK struct {
Payload []*legalclientmodels.RetrievePolicyTypeResponse
}
RetrieveAllPolicyTypesOK handles this case with default header values.
successful operation
func NewRetrieveAllPolicyTypesOK ¶ added in v0.84.0
func NewRetrieveAllPolicyTypesOK() *RetrieveAllPolicyTypesOK
NewRetrieveAllPolicyTypesOK creates a RetrieveAllPolicyTypesOK with default headers values
func (*RetrieveAllPolicyTypesOK) Error ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesOK) Error() string
func (*RetrieveAllPolicyTypesOK) GetPayload ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesOK) GetPayload() []*legalclientmodels.RetrievePolicyTypeResponse
func (*RetrieveAllPolicyTypesOK) ToJSONString ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesOK) ToJSONString() string
type RetrieveAllPolicyTypesParams ¶ added in v0.84.0
type RetrieveAllPolicyTypesParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Namespace
Namespace
*/
Namespace string
/*Offset
Offset
*/
Offset *int32
/*Limit
Limit
*/
Limit int32
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
RetrieveAllPolicyTypesParams contains all the parameters to send to the API endpoint for the retrieve all policy types operation typically these are written to a http.Request
func NewRetrieveAllPolicyTypesParams ¶ added in v0.84.0
func NewRetrieveAllPolicyTypesParams() *RetrieveAllPolicyTypesParams
NewRetrieveAllPolicyTypesParams creates a new RetrieveAllPolicyTypesParams object with the default values initialized.
func NewRetrieveAllPolicyTypesParamsWithContext ¶ added in v0.84.0
func NewRetrieveAllPolicyTypesParamsWithContext(ctx context.Context) *RetrieveAllPolicyTypesParams
NewRetrieveAllPolicyTypesParamsWithContext creates a new RetrieveAllPolicyTypesParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveAllPolicyTypesParamsWithHTTPClient ¶ added in v0.84.0
func NewRetrieveAllPolicyTypesParamsWithHTTPClient(client *http.Client) *RetrieveAllPolicyTypesParams
NewRetrieveAllPolicyTypesParamsWithHTTPClient creates a new RetrieveAllPolicyTypesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveAllPolicyTypesParamsWithTimeout ¶ added in v0.84.0
func NewRetrieveAllPolicyTypesParamsWithTimeout(timeout time.Duration) *RetrieveAllPolicyTypesParams
NewRetrieveAllPolicyTypesParamsWithTimeout creates a new RetrieveAllPolicyTypesParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveAllPolicyTypesParams) SetAuthInfoWriter ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetContext ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetFlightId ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrieveAllPolicyTypesParams) SetHTTPClient ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetHTTPClientTransport ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetLimit ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) SetLimit(limit int32)
SetLimit adds the limit to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetNamespace ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetOffset ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) SetOffset(offset *int32)
SetOffset adds the offset to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) SetTimeout ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WithContext ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) WithContext(ctx context.Context) *RetrieveAllPolicyTypesParams
WithContext adds the context to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WithHTTPClient ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) WithHTTPClient(client *http.Client) *RetrieveAllPolicyTypesParams
WithHTTPClient adds the HTTPClient to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WithLimit ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) WithLimit(limit int32) *RetrieveAllPolicyTypesParams
WithLimit adds the limit to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WithNamespace ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) WithNamespace(namespace string) *RetrieveAllPolicyTypesParams
WithNamespace adds the namespace to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WithOffset ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) WithOffset(offset *int32) *RetrieveAllPolicyTypesParams
WithOffset adds the offset to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WithTimeout ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) WithTimeout(timeout time.Duration) *RetrieveAllPolicyTypesParams
WithTimeout adds the timeout to the retrieve all policy types params
func (*RetrieveAllPolicyTypesParams) WriteToRequest ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveAllPolicyTypesReader ¶ added in v0.84.0
type RetrieveAllPolicyTypesReader struct {
// contains filtered or unexported fields
}
RetrieveAllPolicyTypesReader is a Reader for the RetrieveAllPolicyTypes structure.
func (*RetrieveAllPolicyTypesReader) ReadResponse ¶ added in v0.84.0
func (o *RetrieveAllPolicyTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrievePolicyCountryNotFound ¶ added in v0.84.0
type RetrievePolicyCountryNotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrievePolicyCountryNotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40031</td><td>errors.net.accelbyte.platform.legal.base_policy_not_found</td></tr></table>
func NewRetrievePolicyCountryNotFound ¶ added in v0.84.0
func NewRetrievePolicyCountryNotFound() *RetrievePolicyCountryNotFound
NewRetrievePolicyCountryNotFound creates a RetrievePolicyCountryNotFound with default headers values
func (*RetrievePolicyCountryNotFound) Error ¶ added in v0.84.0
func (o *RetrievePolicyCountryNotFound) Error() string
func (*RetrievePolicyCountryNotFound) GetPayload ¶ added in v0.84.0
func (o *RetrievePolicyCountryNotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrievePolicyCountryNotFound) ToJSONString ¶ added in v0.84.0
func (o *RetrievePolicyCountryNotFound) ToJSONString() string
type RetrievePolicyCountryOK ¶ added in v0.84.0
type RetrievePolicyCountryOK struct {
Payload *legalclientmodels.RetrievePolicyResponse
}
RetrievePolicyCountryOK handles this case with default header values.
successful operation
func NewRetrievePolicyCountryOK ¶ added in v0.84.0
func NewRetrievePolicyCountryOK() *RetrievePolicyCountryOK
NewRetrievePolicyCountryOK creates a RetrievePolicyCountryOK with default headers values
func (*RetrievePolicyCountryOK) Error ¶ added in v0.84.0
func (o *RetrievePolicyCountryOK) Error() string
func (*RetrievePolicyCountryOK) GetPayload ¶ added in v0.84.0
func (o *RetrievePolicyCountryOK) GetPayload() *legalclientmodels.RetrievePolicyResponse
func (*RetrievePolicyCountryOK) ToJSONString ¶ added in v0.84.0
func (o *RetrievePolicyCountryOK) ToJSONString() string
type RetrievePolicyCountryParams ¶ added in v0.84.0
type RetrievePolicyCountryParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*BasePolicyID
BasePolicy Id
*/
BasePolicyID string
/*CountryCode
Country Code
*/
CountryCode string
/*Namespace
Namespace
*/
Namespace string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
RetrievePolicyCountryParams contains all the parameters to send to the API endpoint for the retrieve policy country operation typically these are written to a http.Request
func NewRetrievePolicyCountryParams ¶ added in v0.84.0
func NewRetrievePolicyCountryParams() *RetrievePolicyCountryParams
NewRetrievePolicyCountryParams creates a new RetrievePolicyCountryParams object with the default values initialized.
func NewRetrievePolicyCountryParamsWithContext ¶ added in v0.84.0
func NewRetrievePolicyCountryParamsWithContext(ctx context.Context) *RetrievePolicyCountryParams
NewRetrievePolicyCountryParamsWithContext creates a new RetrievePolicyCountryParams object with the default values initialized, and the ability to set a context for a request
func NewRetrievePolicyCountryParamsWithHTTPClient ¶ added in v0.84.0
func NewRetrievePolicyCountryParamsWithHTTPClient(client *http.Client) *RetrievePolicyCountryParams
NewRetrievePolicyCountryParamsWithHTTPClient creates a new RetrievePolicyCountryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrievePolicyCountryParamsWithTimeout ¶ added in v0.84.0
func NewRetrievePolicyCountryParamsWithTimeout(timeout time.Duration) *RetrievePolicyCountryParams
NewRetrievePolicyCountryParamsWithTimeout creates a new RetrievePolicyCountryParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrievePolicyCountryParams) SetAuthInfoWriter ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetBasePolicyID ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) SetBasePolicyID(basePolicyID string)
SetBasePolicyID adds the basePolicyId to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetContext ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetCountryCode ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) SetCountryCode(countryCode string)
SetCountryCode adds the countryCode to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetFlightId ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrievePolicyCountryParams) SetHTTPClient ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetHTTPClientTransport ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetNamespace ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve policy country params
func (*RetrievePolicyCountryParams) SetTimeout ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve policy country params
func (*RetrievePolicyCountryParams) WithBasePolicyID ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) WithBasePolicyID(basePolicyID string) *RetrievePolicyCountryParams
WithBasePolicyID adds the basePolicyID to the retrieve policy country params
func (*RetrievePolicyCountryParams) WithContext ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) WithContext(ctx context.Context) *RetrievePolicyCountryParams
WithContext adds the context to the retrieve policy country params
func (*RetrievePolicyCountryParams) WithCountryCode ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) WithCountryCode(countryCode string) *RetrievePolicyCountryParams
WithCountryCode adds the countryCode to the retrieve policy country params
func (*RetrievePolicyCountryParams) WithHTTPClient ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) WithHTTPClient(client *http.Client) *RetrievePolicyCountryParams
WithHTTPClient adds the HTTPClient to the retrieve policy country params
func (*RetrievePolicyCountryParams) WithNamespace ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) WithNamespace(namespace string) *RetrievePolicyCountryParams
WithNamespace adds the namespace to the retrieve policy country params
func (*RetrievePolicyCountryParams) WithTimeout ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) WithTimeout(timeout time.Duration) *RetrievePolicyCountryParams
WithTimeout adds the timeout to the retrieve policy country params
func (*RetrievePolicyCountryParams) WriteToRequest ¶ added in v0.84.0
func (o *RetrievePolicyCountryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrievePolicyCountryReader ¶ added in v0.84.0
type RetrievePolicyCountryReader struct {
// contains filtered or unexported fields
}
RetrievePolicyCountryReader is a Reader for the RetrievePolicyCountry structure.
func (*RetrievePolicyCountryReader) ReadResponse ¶ added in v0.84.0
func (o *RetrievePolicyCountryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveSinglePolicyNotFound ¶ added in v0.84.0
type RetrieveSinglePolicyNotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSinglePolicyNotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40041</td><td>errors.net.accelbyte.platform.legal.policy_not_found</td></tr></table>
func NewRetrieveSinglePolicyNotFound ¶ added in v0.84.0
func NewRetrieveSinglePolicyNotFound() *RetrieveSinglePolicyNotFound
NewRetrieveSinglePolicyNotFound creates a RetrieveSinglePolicyNotFound with default headers values
func (*RetrieveSinglePolicyNotFound) Error ¶ added in v0.84.0
func (o *RetrieveSinglePolicyNotFound) Error() string
func (*RetrieveSinglePolicyNotFound) GetPayload ¶ added in v0.84.0
func (o *RetrieveSinglePolicyNotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveSinglePolicyNotFound) ToJSONString ¶ added in v0.84.0
func (o *RetrieveSinglePolicyNotFound) ToJSONString() string
type RetrieveSinglePolicyOK ¶ added in v0.84.0
type RetrieveSinglePolicyOK struct {
Payload *legalclientmodels.RetrieveBasePolicyResponse
}
RetrieveSinglePolicyOK handles this case with default header values.
successful operation
func NewRetrieveSinglePolicyOK ¶ added in v0.84.0
func NewRetrieveSinglePolicyOK() *RetrieveSinglePolicyOK
NewRetrieveSinglePolicyOK creates a RetrieveSinglePolicyOK with default headers values
func (*RetrieveSinglePolicyOK) Error ¶ added in v0.84.0
func (o *RetrieveSinglePolicyOK) Error() string
func (*RetrieveSinglePolicyOK) GetPayload ¶ added in v0.84.0
func (o *RetrieveSinglePolicyOK) GetPayload() *legalclientmodels.RetrieveBasePolicyResponse
func (*RetrieveSinglePolicyOK) ToJSONString ¶ added in v0.84.0
func (o *RetrieveSinglePolicyOK) ToJSONString() string
type RetrieveSinglePolicyParams ¶ added in v0.84.0
type RetrieveSinglePolicyParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*BasePolicyID
BasePolicy Id
*/
BasePolicyID string
/*Namespace
Namespace
*/
Namespace string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
RetrieveSinglePolicyParams contains all the parameters to send to the API endpoint for the retrieve single policy operation typically these are written to a http.Request
func NewRetrieveSinglePolicyParams ¶ added in v0.84.0
func NewRetrieveSinglePolicyParams() *RetrieveSinglePolicyParams
NewRetrieveSinglePolicyParams creates a new RetrieveSinglePolicyParams object with the default values initialized.
func NewRetrieveSinglePolicyParamsWithContext ¶ added in v0.84.0
func NewRetrieveSinglePolicyParamsWithContext(ctx context.Context) *RetrieveSinglePolicyParams
NewRetrieveSinglePolicyParamsWithContext creates a new RetrieveSinglePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveSinglePolicyParamsWithHTTPClient ¶ added in v0.84.0
func NewRetrieveSinglePolicyParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicyParams
NewRetrieveSinglePolicyParamsWithHTTPClient creates a new RetrieveSinglePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveSinglePolicyParamsWithTimeout ¶ added in v0.84.0
func NewRetrieveSinglePolicyParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicyParams
NewRetrieveSinglePolicyParamsWithTimeout creates a new RetrieveSinglePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveSinglePolicyParams) SetAuthInfoWriter ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve single policy params
func (*RetrieveSinglePolicyParams) SetBasePolicyID ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) SetBasePolicyID(basePolicyID string)
SetBasePolicyID adds the basePolicyId to the retrieve single policy params
func (*RetrieveSinglePolicyParams) SetContext ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve single policy params
func (*RetrieveSinglePolicyParams) SetFlightId ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrieveSinglePolicyParams) SetHTTPClient ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve single policy params
func (*RetrieveSinglePolicyParams) SetHTTPClientTransport ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve single policy params
func (*RetrieveSinglePolicyParams) SetNamespace ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve single policy params
func (*RetrieveSinglePolicyParams) SetTimeout ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve single policy params
func (*RetrieveSinglePolicyParams) WithBasePolicyID ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) WithBasePolicyID(basePolicyID string) *RetrieveSinglePolicyParams
WithBasePolicyID adds the basePolicyID to the retrieve single policy params
func (*RetrieveSinglePolicyParams) WithContext ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) WithContext(ctx context.Context) *RetrieveSinglePolicyParams
WithContext adds the context to the retrieve single policy params
func (*RetrieveSinglePolicyParams) WithHTTPClient ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) WithHTTPClient(client *http.Client) *RetrieveSinglePolicyParams
WithHTTPClient adds the HTTPClient to the retrieve single policy params
func (*RetrieveSinglePolicyParams) WithNamespace ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) WithNamespace(namespace string) *RetrieveSinglePolicyParams
WithNamespace adds the namespace to the retrieve single policy params
func (*RetrieveSinglePolicyParams) WithTimeout ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) WithTimeout(timeout time.Duration) *RetrieveSinglePolicyParams
WithTimeout adds the timeout to the retrieve single policy params
func (*RetrieveSinglePolicyParams) WriteToRequest ¶ added in v0.84.0
func (o *RetrieveSinglePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveSinglePolicyReader ¶ added in v0.84.0
type RetrieveSinglePolicyReader struct {
// contains filtered or unexported fields
}
RetrieveSinglePolicyReader is a Reader for the RetrieveSinglePolicy structure.
func (*RetrieveSinglePolicyReader) ReadResponse ¶ added in v0.84.0
func (o *RetrieveSinglePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- base_legal_policies_with_namespace_client.go
- create_policy_parameters.go
- create_policy_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_parameters.go
- partial_update_policy_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_parameters.go
- retrieve_all_policy_types_responses.go
- retrieve_policy_country_parameters.go
- retrieve_policy_country_responses.go
- retrieve_single_policy_parameters.go
- retrieve_single_policy_responses.go