Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePolicy1(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, *CreatePolicy1BadRequest, *CreatePolicy1Conflict, ...)deprecated
- func (a *Client) CreatePolicy1Short(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, error)
- func (a *Client) PartialUpdatePolicy1(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, *PartialUpdatePolicy1BadRequest, error)deprecated
- func (a *Client) PartialUpdatePolicy1Short(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, error)
- func (a *Client) RetrieveAllLegalPoliciesByNamespace(params *RetrieveAllLegalPoliciesByNamespaceParams, ...) (*RetrieveAllLegalPoliciesByNamespaceOK, error)deprecated
- func (a *Client) RetrieveAllLegalPoliciesByNamespaceShort(params *RetrieveAllLegalPoliciesByNamespaceParams, ...) (*RetrieveAllLegalPoliciesByNamespaceOK, error)
- func (a *Client) RetrieveAllPolicyTypes1(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, error)deprecated
- func (a *Client) RetrieveAllPolicyTypes1Short(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, error)
- func (a *Client) RetrievePolicyCountry1(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, *RetrievePolicyCountry1NotFound, error)deprecated
- func (a *Client) RetrievePolicyCountry1Short(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, error)
- func (a *Client) RetrieveSinglePolicy1(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, *RetrieveSinglePolicy1NotFound, error)deprecated
- func (a *Client) RetrieveSinglePolicy1Short(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreatePolicy1BadRequest
- type CreatePolicy1Conflict
- type CreatePolicy1Created
- type CreatePolicy1Params
- func (o *CreatePolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreatePolicy1Params) SetBody(body *legalclientmodels.CreateBasePolicyRequestV2)
- func (o *CreatePolicy1Params) SetContext(ctx context.Context)
- func (o *CreatePolicy1Params) SetHTTPClient(client *http.Client)
- func (o *CreatePolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreatePolicy1Params) SetNamespace(namespace string)
- func (o *CreatePolicy1Params) SetTimeout(timeout time.Duration)
- func (o *CreatePolicy1Params) WithBody(body *legalclientmodels.CreateBasePolicyRequestV2) *CreatePolicy1Params
- func (o *CreatePolicy1Params) WithContext(ctx context.Context) *CreatePolicy1Params
- func (o *CreatePolicy1Params) WithHTTPClient(client *http.Client) *CreatePolicy1Params
- func (o *CreatePolicy1Params) WithNamespace(namespace string) *CreatePolicy1Params
- func (o *CreatePolicy1Params) WithTimeout(timeout time.Duration) *CreatePolicy1Params
- func (o *CreatePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePolicy1Reader
- type CreatePolicy1UnprocessableEntity
- type PartialUpdatePolicy1BadRequest
- type PartialUpdatePolicy1OK
- type PartialUpdatePolicy1Params
- func NewPartialUpdatePolicy1Params() *PartialUpdatePolicy1Params
- func NewPartialUpdatePolicy1ParamsWithContext(ctx context.Context) *PartialUpdatePolicy1Params
- func NewPartialUpdatePolicy1ParamsWithHTTPClient(client *http.Client) *PartialUpdatePolicy1Params
- func NewPartialUpdatePolicy1ParamsWithTimeout(timeout time.Duration) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PartialUpdatePolicy1Params) SetBasePolicyID(basePolicyID string)
- func (o *PartialUpdatePolicy1Params) SetBody(body *legalclientmodels.UpdateBasePolicyRequestV2)
- func (o *PartialUpdatePolicy1Params) SetContext(ctx context.Context)
- func (o *PartialUpdatePolicy1Params) SetHTTPClient(client *http.Client)
- func (o *PartialUpdatePolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PartialUpdatePolicy1Params) SetNamespace(namespace string)
- func (o *PartialUpdatePolicy1Params) SetTimeout(timeout time.Duration)
- func (o *PartialUpdatePolicy1Params) WithBasePolicyID(basePolicyID string) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WithBody(body *legalclientmodels.UpdateBasePolicyRequestV2) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WithContext(ctx context.Context) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WithHTTPClient(client *http.Client) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WithNamespace(namespace string) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WithTimeout(timeout time.Duration) *PartialUpdatePolicy1Params
- func (o *PartialUpdatePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PartialUpdatePolicy1Reader
- type RetrieveAllLegalPoliciesByNamespaceOK
- type RetrieveAllLegalPoliciesByNamespaceParams
- func NewRetrieveAllLegalPoliciesByNamespaceParams() *RetrieveAllLegalPoliciesByNamespaceParams
- func NewRetrieveAllLegalPoliciesByNamespaceParamsWithContext(ctx context.Context) *RetrieveAllLegalPoliciesByNamespaceParams
- func NewRetrieveAllLegalPoliciesByNamespaceParamsWithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesByNamespaceParams
- func NewRetrieveAllLegalPoliciesByNamespaceParamsWithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetContext(ctx context.Context)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetNamespace(namespace string)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithContext(ctx context.Context) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithNamespace(namespace string) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesByNamespaceParams
- func (o *RetrieveAllLegalPoliciesByNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAllLegalPoliciesByNamespaceReader
- type RetrieveAllPolicyTypes1OK
- type RetrieveAllPolicyTypes1Params
- func NewRetrieveAllPolicyTypes1Params() *RetrieveAllPolicyTypes1Params
- func NewRetrieveAllPolicyTypes1ParamsWithContext(ctx context.Context) *RetrieveAllPolicyTypes1Params
- func NewRetrieveAllPolicyTypes1ParamsWithHTTPClient(client *http.Client) *RetrieveAllPolicyTypes1Params
- func NewRetrieveAllPolicyTypes1ParamsWithTimeout(timeout time.Duration) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveAllPolicyTypes1Params) SetContext(ctx context.Context)
- func (o *RetrieveAllPolicyTypes1Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveAllPolicyTypes1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveAllPolicyTypes1Params) SetLimit(limit int32)
- func (o *RetrieveAllPolicyTypes1Params) SetNamespace(namespace string)
- func (o *RetrieveAllPolicyTypes1Params) SetOffset(offset *int32)
- func (o *RetrieveAllPolicyTypes1Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveAllPolicyTypes1Params) WithContext(ctx context.Context) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WithHTTPClient(client *http.Client) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WithLimit(limit int32) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WithNamespace(namespace string) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WithOffset(offset *int32) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WithTimeout(timeout time.Duration) *RetrieveAllPolicyTypes1Params
- func (o *RetrieveAllPolicyTypes1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAllPolicyTypes1Reader
- type RetrievePolicyCountry1NotFound
- type RetrievePolicyCountry1OK
- type RetrievePolicyCountry1Params
- func NewRetrievePolicyCountry1Params() *RetrievePolicyCountry1Params
- func NewRetrievePolicyCountry1ParamsWithContext(ctx context.Context) *RetrievePolicyCountry1Params
- func NewRetrievePolicyCountry1ParamsWithHTTPClient(client *http.Client) *RetrievePolicyCountry1Params
- func NewRetrievePolicyCountry1ParamsWithTimeout(timeout time.Duration) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrievePolicyCountry1Params) SetBasePolicyID(basePolicyID string)
- func (o *RetrievePolicyCountry1Params) SetContext(ctx context.Context)
- func (o *RetrievePolicyCountry1Params) SetCountryCode(countryCode string)
- func (o *RetrievePolicyCountry1Params) SetHTTPClient(client *http.Client)
- func (o *RetrievePolicyCountry1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrievePolicyCountry1Params) SetNamespace(namespace string)
- func (o *RetrievePolicyCountry1Params) SetTimeout(timeout time.Duration)
- func (o *RetrievePolicyCountry1Params) WithBasePolicyID(basePolicyID string) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WithContext(ctx context.Context) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WithCountryCode(countryCode string) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WithHTTPClient(client *http.Client) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WithNamespace(namespace string) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WithTimeout(timeout time.Duration) *RetrievePolicyCountry1Params
- func (o *RetrievePolicyCountry1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrievePolicyCountry1Reader
- type RetrieveSinglePolicy1NotFound
- type RetrieveSinglePolicy1OK
- type RetrieveSinglePolicy1Params
- func NewRetrieveSinglePolicy1Params() *RetrieveSinglePolicy1Params
- func NewRetrieveSinglePolicy1ParamsWithContext(ctx context.Context) *RetrieveSinglePolicy1Params
- func NewRetrieveSinglePolicy1ParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicy1Params
- func NewRetrieveSinglePolicy1ParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveSinglePolicy1Params) SetBasePolicyID(basePolicyID string)
- func (o *RetrieveSinglePolicy1Params) SetContext(ctx context.Context)
- func (o *RetrieveSinglePolicy1Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveSinglePolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveSinglePolicy1Params) SetNamespace(namespace string)
- func (o *RetrieveSinglePolicy1Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveSinglePolicy1Params) WithBasePolicyID(basePolicyID string) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) WithContext(ctx context.Context) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) WithHTTPClient(client *http.Client) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) WithNamespace(namespace string) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) WithTimeout(timeout time.Duration) *RetrieveSinglePolicy1Params
- func (o *RetrieveSinglePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveSinglePolicy1Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for base legal policies with namespace API
func (*Client) CreatePolicy1
deprecated
func (a *Client) CreatePolicy1(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, *CreatePolicy1BadRequest, *CreatePolicy1Conflict, *CreatePolicy1UnprocessableEntity, error)
Deprecated: 2022-08-10 - Use CreatePolicy1Short instead.
CreatePolicy1 create a base legal policy Create a legal policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)
func (*Client) CreatePolicy1Short ¶
func (a *Client) CreatePolicy1Short(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, error)
CreatePolicy1Short create a base legal policy Create a legal policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)
func (*Client) PartialUpdatePolicy1
deprecated
func (a *Client) PartialUpdatePolicy1(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, *PartialUpdatePolicy1BadRequest, error)
Deprecated: 2022-08-10 - Use PartialUpdatePolicy1Short instead.
PartialUpdatePolicy1 update base legal policy Update an existing base policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=4 (UPDATE)
func (*Client) PartialUpdatePolicy1Short ¶
func (a *Client) PartialUpdatePolicy1Short(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, error)
PartialUpdatePolicy1Short update base legal policy Update an existing base policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=4 (UPDATE)
func (*Client) RetrieveAllLegalPoliciesByNamespace
deprecated
func (a *Client) RetrieveAllLegalPoliciesByNamespace(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error)
Deprecated: 2022-08-10 - Use RetrieveAllLegalPoliciesByNamespaceShort instead.
RetrieveAllLegalPoliciesByNamespace retrieve all base legal policy in the namespace Retrieve all base policies in the namespace. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveAllLegalPoliciesByNamespaceShort ¶
func (a *Client) RetrieveAllLegalPoliciesByNamespaceShort(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error)
RetrieveAllLegalPoliciesByNamespaceShort retrieve all base legal policy in the namespace Retrieve all base policies in the namespace. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveAllPolicyTypes1
deprecated
func (a *Client) RetrieveAllPolicyTypes1(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, error)
Deprecated: 2022-08-10 - Use RetrieveAllPolicyTypes1Short instead.
RetrieveAllPolicyTypes1 retrieve all policy type Retrieve all supported policy types. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveAllPolicyTypes1Short ¶
func (a *Client) RetrieveAllPolicyTypes1Short(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, error)
RetrieveAllPolicyTypes1Short retrieve all policy type Retrieve all supported policy types. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrievePolicyCountry1
deprecated
func (a *Client) RetrievePolicyCountry1(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, *RetrievePolicyCountry1NotFound, error)
Deprecated: 2022-08-10 - Use RetrievePolicyCountry1Short instead.
RetrievePolicyCountry1 retrieve a base legal policy based on a particular country Retrieve a Base Legal Policy based on a Particular Country. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrievePolicyCountry1Short ¶
func (a *Client) RetrievePolicyCountry1Short(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, error)
RetrievePolicyCountry1Short retrieve a base legal policy based on a particular country Retrieve a Base Legal Policy based on a Particular Country. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveSinglePolicy1
deprecated
func (a *Client) RetrieveSinglePolicy1(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, *RetrieveSinglePolicy1NotFound, error)
Deprecated: 2022-08-10 - Use RetrieveSinglePolicy1Short instead.
RetrieveSinglePolicy1 retrieve a base legal policy Retrieve a base policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveSinglePolicy1Short ¶
func (a *Client) RetrieveSinglePolicy1Short(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, error)
RetrieveSinglePolicy1Short retrieve a base legal policy Retrieve a base policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { RetrieveAllLegalPoliciesByNamespace(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error) RetrieveAllLegalPoliciesByNamespaceShort(params *RetrieveAllLegalPoliciesByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllLegalPoliciesByNamespaceOK, error) CreatePolicy1(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, *CreatePolicy1BadRequest, *CreatePolicy1Conflict, *CreatePolicy1UnprocessableEntity, error) CreatePolicy1Short(params *CreatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicy1Created, error) RetrieveSinglePolicy1(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, *RetrieveSinglePolicy1NotFound, error) RetrieveSinglePolicy1Short(params *RetrieveSinglePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicy1OK, error) PartialUpdatePolicy1(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, *PartialUpdatePolicy1BadRequest, error) PartialUpdatePolicy1Short(params *PartialUpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdatePolicy1OK, error) RetrievePolicyCountry1(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, *RetrievePolicyCountry1NotFound, error) RetrievePolicyCountry1Short(params *RetrievePolicyCountry1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyCountry1OK, error) RetrieveAllPolicyTypes1(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, error) RetrieveAllPolicyTypes1Short(params *RetrieveAllPolicyTypes1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllPolicyTypes1OK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new base legal policies with namespace API client.
type CreatePolicy1BadRequest ¶
type CreatePolicy1BadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
CreatePolicy1BadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40032</td><td>errors.net.accelbyte.platform.legal.base_policy_namespace_not_match</td></tr></table>
func NewCreatePolicy1BadRequest ¶
func NewCreatePolicy1BadRequest() *CreatePolicy1BadRequest
NewCreatePolicy1BadRequest creates a CreatePolicy1BadRequest with default headers values
func (*CreatePolicy1BadRequest) Error ¶
func (o *CreatePolicy1BadRequest) Error() string
func (*CreatePolicy1BadRequest) GetPayload ¶
func (o *CreatePolicy1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*CreatePolicy1BadRequest) ToJSONString ¶
func (o *CreatePolicy1BadRequest) ToJSONString() string
type CreatePolicy1Conflict ¶
type CreatePolicy1Conflict struct {
Payload *legalclientmodels.ErrorEntity
}
CreatePolicy1Conflict handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40030</td><td>errors.net.accelbyte.platform.legal.invalid_policy_type</td></tr></table>
func NewCreatePolicy1Conflict ¶
func NewCreatePolicy1Conflict() *CreatePolicy1Conflict
NewCreatePolicy1Conflict creates a CreatePolicy1Conflict with default headers values
func (*CreatePolicy1Conflict) Error ¶
func (o *CreatePolicy1Conflict) Error() string
func (*CreatePolicy1Conflict) GetPayload ¶
func (o *CreatePolicy1Conflict) GetPayload() *legalclientmodels.ErrorEntity
func (*CreatePolicy1Conflict) ToJSONString ¶
func (o *CreatePolicy1Conflict) ToJSONString() string
type CreatePolicy1Created ¶
type CreatePolicy1Created struct {
Payload *legalclientmodels.CreateBasePolicyResponse
}
CreatePolicy1Created handles this case with default header values.
successful operation
func NewCreatePolicy1Created ¶
func NewCreatePolicy1Created() *CreatePolicy1Created
NewCreatePolicy1Created creates a CreatePolicy1Created with default headers values
func (*CreatePolicy1Created) Error ¶
func (o *CreatePolicy1Created) Error() string
func (*CreatePolicy1Created) GetPayload ¶
func (o *CreatePolicy1Created) GetPayload() *legalclientmodels.CreateBasePolicyResponse
func (*CreatePolicy1Created) ToJSONString ¶
func (o *CreatePolicy1Created) ToJSONString() string
type CreatePolicy1Params ¶
type CreatePolicy1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.CreateBasePolicyRequestV2 /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePolicy1Params contains all the parameters to send to the API endpoint for the create policy 1 operation typically these are written to a http.Request
func NewCreatePolicy1Params ¶
func NewCreatePolicy1Params() *CreatePolicy1Params
NewCreatePolicy1Params creates a new CreatePolicy1Params object with the default values initialized.
func NewCreatePolicy1ParamsWithContext ¶
func NewCreatePolicy1ParamsWithContext(ctx context.Context) *CreatePolicy1Params
NewCreatePolicy1ParamsWithContext creates a new CreatePolicy1Params object with the default values initialized, and the ability to set a context for a request
func NewCreatePolicy1ParamsWithHTTPClient ¶
func NewCreatePolicy1ParamsWithHTTPClient(client *http.Client) *CreatePolicy1Params
NewCreatePolicy1ParamsWithHTTPClient creates a new CreatePolicy1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePolicy1ParamsWithTimeout ¶
func NewCreatePolicy1ParamsWithTimeout(timeout time.Duration) *CreatePolicy1Params
NewCreatePolicy1ParamsWithTimeout creates a new CreatePolicy1Params object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePolicy1Params) SetAuthInfoWriter ¶
func (o *CreatePolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create policy 1 params
func (*CreatePolicy1Params) SetBody ¶
func (o *CreatePolicy1Params) SetBody(body *legalclientmodels.CreateBasePolicyRequestV2)
SetBody adds the body to the create policy 1 params
func (*CreatePolicy1Params) SetContext ¶
func (o *CreatePolicy1Params) SetContext(ctx context.Context)
SetContext adds the context to the create policy 1 params
func (*CreatePolicy1Params) SetHTTPClient ¶
func (o *CreatePolicy1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create policy 1 params
func (*CreatePolicy1Params) SetHTTPClientTransport ¶
func (o *CreatePolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create policy 1 params
func (*CreatePolicy1Params) SetNamespace ¶
func (o *CreatePolicy1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the create policy 1 params
func (*CreatePolicy1Params) SetTimeout ¶
func (o *CreatePolicy1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create policy 1 params
func (*CreatePolicy1Params) WithBody ¶
func (o *CreatePolicy1Params) WithBody(body *legalclientmodels.CreateBasePolicyRequestV2) *CreatePolicy1Params
WithBody adds the body to the create policy 1 params
func (*CreatePolicy1Params) WithContext ¶
func (o *CreatePolicy1Params) WithContext(ctx context.Context) *CreatePolicy1Params
WithContext adds the context to the create policy 1 params
func (*CreatePolicy1Params) WithHTTPClient ¶
func (o *CreatePolicy1Params) WithHTTPClient(client *http.Client) *CreatePolicy1Params
WithHTTPClient adds the HTTPClient to the create policy 1 params
func (*CreatePolicy1Params) WithNamespace ¶
func (o *CreatePolicy1Params) WithNamespace(namespace string) *CreatePolicy1Params
WithNamespace adds the namespace to the create policy 1 params
func (*CreatePolicy1Params) WithTimeout ¶
func (o *CreatePolicy1Params) WithTimeout(timeout time.Duration) *CreatePolicy1Params
WithTimeout adds the timeout to the create policy 1 params
func (*CreatePolicy1Params) WriteToRequest ¶
func (o *CreatePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePolicy1Reader ¶
type CreatePolicy1Reader struct {
// contains filtered or unexported fields
}
CreatePolicy1Reader is a Reader for the CreatePolicy1 structure.
func (*CreatePolicy1Reader) ReadResponse ¶
func (o *CreatePolicy1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePolicy1UnprocessableEntity ¶
type CreatePolicy1UnprocessableEntity struct {
Payload *legalclientmodels.ValidationErrorEntity
}
CreatePolicy1UnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewCreatePolicy1UnprocessableEntity ¶
func NewCreatePolicy1UnprocessableEntity() *CreatePolicy1UnprocessableEntity
NewCreatePolicy1UnprocessableEntity creates a CreatePolicy1UnprocessableEntity with default headers values
func (*CreatePolicy1UnprocessableEntity) Error ¶
func (o *CreatePolicy1UnprocessableEntity) Error() string
func (*CreatePolicy1UnprocessableEntity) GetPayload ¶
func (o *CreatePolicy1UnprocessableEntity) GetPayload() *legalclientmodels.ValidationErrorEntity
func (*CreatePolicy1UnprocessableEntity) ToJSONString ¶
func (o *CreatePolicy1UnprocessableEntity) ToJSONString() string
type PartialUpdatePolicy1BadRequest ¶
type PartialUpdatePolicy1BadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
PartialUpdatePolicy1BadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40032</td><td>errors.net.accelbyte.platform.legal.invalid_base_policy</td></tr></table>
func NewPartialUpdatePolicy1BadRequest ¶
func NewPartialUpdatePolicy1BadRequest() *PartialUpdatePolicy1BadRequest
NewPartialUpdatePolicy1BadRequest creates a PartialUpdatePolicy1BadRequest with default headers values
func (*PartialUpdatePolicy1BadRequest) Error ¶
func (o *PartialUpdatePolicy1BadRequest) Error() string
func (*PartialUpdatePolicy1BadRequest) GetPayload ¶
func (o *PartialUpdatePolicy1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*PartialUpdatePolicy1BadRequest) ToJSONString ¶
func (o *PartialUpdatePolicy1BadRequest) ToJSONString() string
type PartialUpdatePolicy1OK ¶
type PartialUpdatePolicy1OK struct {
Payload *legalclientmodels.UpdateBasePolicyResponse
}
PartialUpdatePolicy1OK handles this case with default header values.
successful operation
func NewPartialUpdatePolicy1OK ¶
func NewPartialUpdatePolicy1OK() *PartialUpdatePolicy1OK
NewPartialUpdatePolicy1OK creates a PartialUpdatePolicy1OK with default headers values
func (*PartialUpdatePolicy1OK) Error ¶
func (o *PartialUpdatePolicy1OK) Error() string
func (*PartialUpdatePolicy1OK) GetPayload ¶
func (o *PartialUpdatePolicy1OK) GetPayload() *legalclientmodels.UpdateBasePolicyResponse
func (*PartialUpdatePolicy1OK) ToJSONString ¶
func (o *PartialUpdatePolicy1OK) ToJSONString() string
type PartialUpdatePolicy1Params ¶
type PartialUpdatePolicy1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.UpdateBasePolicyRequestV2 /*BasePolicyID BasePolicy Id */ BasePolicyID string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PartialUpdatePolicy1Params contains all the parameters to send to the API endpoint for the partial update policy 1 operation typically these are written to a http.Request
func NewPartialUpdatePolicy1Params ¶
func NewPartialUpdatePolicy1Params() *PartialUpdatePolicy1Params
NewPartialUpdatePolicy1Params creates a new PartialUpdatePolicy1Params object with the default values initialized.
func NewPartialUpdatePolicy1ParamsWithContext ¶
func NewPartialUpdatePolicy1ParamsWithContext(ctx context.Context) *PartialUpdatePolicy1Params
NewPartialUpdatePolicy1ParamsWithContext creates a new PartialUpdatePolicy1Params object with the default values initialized, and the ability to set a context for a request
func NewPartialUpdatePolicy1ParamsWithHTTPClient ¶
func NewPartialUpdatePolicy1ParamsWithHTTPClient(client *http.Client) *PartialUpdatePolicy1Params
NewPartialUpdatePolicy1ParamsWithHTTPClient creates a new PartialUpdatePolicy1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPartialUpdatePolicy1ParamsWithTimeout ¶
func NewPartialUpdatePolicy1ParamsWithTimeout(timeout time.Duration) *PartialUpdatePolicy1Params
NewPartialUpdatePolicy1ParamsWithTimeout creates a new PartialUpdatePolicy1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PartialUpdatePolicy1Params) SetAuthInfoWriter ¶
func (o *PartialUpdatePolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) SetBasePolicyID ¶
func (o *PartialUpdatePolicy1Params) SetBasePolicyID(basePolicyID string)
SetBasePolicyID adds the basePolicyId to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) SetBody ¶
func (o *PartialUpdatePolicy1Params) SetBody(body *legalclientmodels.UpdateBasePolicyRequestV2)
SetBody adds the body to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) SetContext ¶
func (o *PartialUpdatePolicy1Params) SetContext(ctx context.Context)
SetContext adds the context to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) SetHTTPClient ¶
func (o *PartialUpdatePolicy1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) SetHTTPClientTransport ¶
func (o *PartialUpdatePolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) SetNamespace ¶
func (o *PartialUpdatePolicy1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) SetTimeout ¶
func (o *PartialUpdatePolicy1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) WithBasePolicyID ¶
func (o *PartialUpdatePolicy1Params) WithBasePolicyID(basePolicyID string) *PartialUpdatePolicy1Params
WithBasePolicyID adds the basePolicyID to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) WithBody ¶
func (o *PartialUpdatePolicy1Params) WithBody(body *legalclientmodels.UpdateBasePolicyRequestV2) *PartialUpdatePolicy1Params
WithBody adds the body to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) WithContext ¶
func (o *PartialUpdatePolicy1Params) WithContext(ctx context.Context) *PartialUpdatePolicy1Params
WithContext adds the context to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) WithHTTPClient ¶
func (o *PartialUpdatePolicy1Params) WithHTTPClient(client *http.Client) *PartialUpdatePolicy1Params
WithHTTPClient adds the HTTPClient to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) WithNamespace ¶
func (o *PartialUpdatePolicy1Params) WithNamespace(namespace string) *PartialUpdatePolicy1Params
WithNamespace adds the namespace to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) WithTimeout ¶
func (o *PartialUpdatePolicy1Params) WithTimeout(timeout time.Duration) *PartialUpdatePolicy1Params
WithTimeout adds the timeout to the partial update policy 1 params
func (*PartialUpdatePolicy1Params) WriteToRequest ¶
func (o *PartialUpdatePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PartialUpdatePolicy1Reader ¶
type PartialUpdatePolicy1Reader struct {
// contains filtered or unexported fields
}
PartialUpdatePolicy1Reader is a Reader for the PartialUpdatePolicy1 structure.
func (*PartialUpdatePolicy1Reader) ReadResponse ¶
func (o *PartialUpdatePolicy1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveAllLegalPoliciesByNamespaceOK ¶
type RetrieveAllLegalPoliciesByNamespaceOK struct {
Payload []*legalclientmodels.RetrieveBasePolicyResponse
}
RetrieveAllLegalPoliciesByNamespaceOK handles this case with default header values.
successful operation
func NewRetrieveAllLegalPoliciesByNamespaceOK ¶
func NewRetrieveAllLegalPoliciesByNamespaceOK() *RetrieveAllLegalPoliciesByNamespaceOK
NewRetrieveAllLegalPoliciesByNamespaceOK creates a RetrieveAllLegalPoliciesByNamespaceOK with default headers values
func (*RetrieveAllLegalPoliciesByNamespaceOK) Error ¶
func (o *RetrieveAllLegalPoliciesByNamespaceOK) Error() string
func (*RetrieveAllLegalPoliciesByNamespaceOK) GetPayload ¶
func (o *RetrieveAllLegalPoliciesByNamespaceOK) GetPayload() []*legalclientmodels.RetrieveBasePolicyResponse
func (*RetrieveAllLegalPoliciesByNamespaceOK) ToJSONString ¶
func (o *RetrieveAllLegalPoliciesByNamespaceOK) ToJSONString() string
type RetrieveAllLegalPoliciesByNamespaceParams ¶
type RetrieveAllLegalPoliciesByNamespaceParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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) SetHTTPClient ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) SetHTTPClientTransport ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) SetNamespace ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) SetTimeout ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) WithContext ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithContext(ctx context.Context) *RetrieveAllLegalPoliciesByNamespaceParams
WithContext adds the context to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) WithHTTPClient ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithHTTPClient(client *http.Client) *RetrieveAllLegalPoliciesByNamespaceParams
WithHTTPClient adds the HTTPClient to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) WithNamespace ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithNamespace(namespace string) *RetrieveAllLegalPoliciesByNamespaceParams
WithNamespace adds the namespace to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) WithTimeout ¶
func (o *RetrieveAllLegalPoliciesByNamespaceParams) WithTimeout(timeout time.Duration) *RetrieveAllLegalPoliciesByNamespaceParams
WithTimeout adds the timeout to the retrieve all legal policies by namespace params
func (*RetrieveAllLegalPoliciesByNamespaceParams) 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 RetrieveAllPolicyTypes1OK ¶
type RetrieveAllPolicyTypes1OK struct {
Payload []*legalclientmodels.RetrievePolicyTypeResponse
}
RetrieveAllPolicyTypes1OK handles this case with default header values.
successful operation
func NewRetrieveAllPolicyTypes1OK ¶
func NewRetrieveAllPolicyTypes1OK() *RetrieveAllPolicyTypes1OK
NewRetrieveAllPolicyTypes1OK creates a RetrieveAllPolicyTypes1OK with default headers values
func (*RetrieveAllPolicyTypes1OK) Error ¶
func (o *RetrieveAllPolicyTypes1OK) Error() string
func (*RetrieveAllPolicyTypes1OK) GetPayload ¶
func (o *RetrieveAllPolicyTypes1OK) GetPayload() []*legalclientmodels.RetrievePolicyTypeResponse
func (*RetrieveAllPolicyTypes1OK) ToJSONString ¶
func (o *RetrieveAllPolicyTypes1OK) ToJSONString() string
type RetrieveAllPolicyTypes1Params ¶
type RetrieveAllPolicyTypes1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*Offset Offset */ Offset *int32 /*Limit Limit */ Limit int32 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveAllPolicyTypes1Params contains all the parameters to send to the API endpoint for the retrieve all policy types 1 operation typically these are written to a http.Request
func NewRetrieveAllPolicyTypes1Params ¶
func NewRetrieveAllPolicyTypes1Params() *RetrieveAllPolicyTypes1Params
NewRetrieveAllPolicyTypes1Params creates a new RetrieveAllPolicyTypes1Params object with the default values initialized.
func NewRetrieveAllPolicyTypes1ParamsWithContext ¶
func NewRetrieveAllPolicyTypes1ParamsWithContext(ctx context.Context) *RetrieveAllPolicyTypes1Params
NewRetrieveAllPolicyTypes1ParamsWithContext creates a new RetrieveAllPolicyTypes1Params object with the default values initialized, and the ability to set a context for a request
func NewRetrieveAllPolicyTypes1ParamsWithHTTPClient ¶
func NewRetrieveAllPolicyTypes1ParamsWithHTTPClient(client *http.Client) *RetrieveAllPolicyTypes1Params
NewRetrieveAllPolicyTypes1ParamsWithHTTPClient creates a new RetrieveAllPolicyTypes1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveAllPolicyTypes1ParamsWithTimeout ¶
func NewRetrieveAllPolicyTypes1ParamsWithTimeout(timeout time.Duration) *RetrieveAllPolicyTypes1Params
NewRetrieveAllPolicyTypes1ParamsWithTimeout creates a new RetrieveAllPolicyTypes1Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveAllPolicyTypes1Params) SetAuthInfoWriter ¶
func (o *RetrieveAllPolicyTypes1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) SetContext ¶
func (o *RetrieveAllPolicyTypes1Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) SetHTTPClient ¶
func (o *RetrieveAllPolicyTypes1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) SetHTTPClientTransport ¶
func (o *RetrieveAllPolicyTypes1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) SetLimit ¶
func (o *RetrieveAllPolicyTypes1Params) SetLimit(limit int32)
SetLimit adds the limit to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) SetNamespace ¶
func (o *RetrieveAllPolicyTypes1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) SetOffset ¶
func (o *RetrieveAllPolicyTypes1Params) SetOffset(offset *int32)
SetOffset adds the offset to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) SetTimeout ¶
func (o *RetrieveAllPolicyTypes1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WithContext ¶
func (o *RetrieveAllPolicyTypes1Params) WithContext(ctx context.Context) *RetrieveAllPolicyTypes1Params
WithContext adds the context to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WithHTTPClient ¶
func (o *RetrieveAllPolicyTypes1Params) WithHTTPClient(client *http.Client) *RetrieveAllPolicyTypes1Params
WithHTTPClient adds the HTTPClient to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WithLimit ¶
func (o *RetrieveAllPolicyTypes1Params) WithLimit(limit int32) *RetrieveAllPolicyTypes1Params
WithLimit adds the limit to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WithNamespace ¶
func (o *RetrieveAllPolicyTypes1Params) WithNamespace(namespace string) *RetrieveAllPolicyTypes1Params
WithNamespace adds the namespace to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WithOffset ¶
func (o *RetrieveAllPolicyTypes1Params) WithOffset(offset *int32) *RetrieveAllPolicyTypes1Params
WithOffset adds the offset to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WithTimeout ¶
func (o *RetrieveAllPolicyTypes1Params) WithTimeout(timeout time.Duration) *RetrieveAllPolicyTypes1Params
WithTimeout adds the timeout to the retrieve all policy types 1 params
func (*RetrieveAllPolicyTypes1Params) WriteToRequest ¶
func (o *RetrieveAllPolicyTypes1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveAllPolicyTypes1Reader ¶
type RetrieveAllPolicyTypes1Reader struct {
// contains filtered or unexported fields
}
RetrieveAllPolicyTypes1Reader is a Reader for the RetrieveAllPolicyTypes1 structure.
func (*RetrieveAllPolicyTypes1Reader) ReadResponse ¶
func (o *RetrieveAllPolicyTypes1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrievePolicyCountry1NotFound ¶
type RetrievePolicyCountry1NotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrievePolicyCountry1NotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40031</td><td>errors.net.accelbyte.platform.legal.base_policy_not_found</td></tr></table>
func NewRetrievePolicyCountry1NotFound ¶
func NewRetrievePolicyCountry1NotFound() *RetrievePolicyCountry1NotFound
NewRetrievePolicyCountry1NotFound creates a RetrievePolicyCountry1NotFound with default headers values
func (*RetrievePolicyCountry1NotFound) Error ¶
func (o *RetrievePolicyCountry1NotFound) Error() string
func (*RetrievePolicyCountry1NotFound) GetPayload ¶
func (o *RetrievePolicyCountry1NotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrievePolicyCountry1NotFound) ToJSONString ¶
func (o *RetrievePolicyCountry1NotFound) ToJSONString() string
type RetrievePolicyCountry1OK ¶
type RetrievePolicyCountry1OK struct {
Payload *legalclientmodels.RetrievePolicyResponse
}
RetrievePolicyCountry1OK handles this case with default header values.
successful operation
func NewRetrievePolicyCountry1OK ¶
func NewRetrievePolicyCountry1OK() *RetrievePolicyCountry1OK
NewRetrievePolicyCountry1OK creates a RetrievePolicyCountry1OK with default headers values
func (*RetrievePolicyCountry1OK) Error ¶
func (o *RetrievePolicyCountry1OK) Error() string
func (*RetrievePolicyCountry1OK) GetPayload ¶
func (o *RetrievePolicyCountry1OK) GetPayload() *legalclientmodels.RetrievePolicyResponse
func (*RetrievePolicyCountry1OK) ToJSONString ¶
func (o *RetrievePolicyCountry1OK) ToJSONString() string
type RetrievePolicyCountry1Params ¶
type RetrievePolicyCountry1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*BasePolicyID BasePolicy Id */ BasePolicyID string /*CountryCode Country Code */ CountryCode string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrievePolicyCountry1Params contains all the parameters to send to the API endpoint for the retrieve policy country 1 operation typically these are written to a http.Request
func NewRetrievePolicyCountry1Params ¶
func NewRetrievePolicyCountry1Params() *RetrievePolicyCountry1Params
NewRetrievePolicyCountry1Params creates a new RetrievePolicyCountry1Params object with the default values initialized.
func NewRetrievePolicyCountry1ParamsWithContext ¶
func NewRetrievePolicyCountry1ParamsWithContext(ctx context.Context) *RetrievePolicyCountry1Params
NewRetrievePolicyCountry1ParamsWithContext creates a new RetrievePolicyCountry1Params object with the default values initialized, and the ability to set a context for a request
func NewRetrievePolicyCountry1ParamsWithHTTPClient ¶
func NewRetrievePolicyCountry1ParamsWithHTTPClient(client *http.Client) *RetrievePolicyCountry1Params
NewRetrievePolicyCountry1ParamsWithHTTPClient creates a new RetrievePolicyCountry1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrievePolicyCountry1ParamsWithTimeout ¶
func NewRetrievePolicyCountry1ParamsWithTimeout(timeout time.Duration) *RetrievePolicyCountry1Params
NewRetrievePolicyCountry1ParamsWithTimeout creates a new RetrievePolicyCountry1Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrievePolicyCountry1Params) SetAuthInfoWriter ¶
func (o *RetrievePolicyCountry1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) SetBasePolicyID ¶
func (o *RetrievePolicyCountry1Params) SetBasePolicyID(basePolicyID string)
SetBasePolicyID adds the basePolicyId to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) SetContext ¶
func (o *RetrievePolicyCountry1Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) SetCountryCode ¶
func (o *RetrievePolicyCountry1Params) SetCountryCode(countryCode string)
SetCountryCode adds the countryCode to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) SetHTTPClient ¶
func (o *RetrievePolicyCountry1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) SetHTTPClientTransport ¶
func (o *RetrievePolicyCountry1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) SetNamespace ¶
func (o *RetrievePolicyCountry1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) SetTimeout ¶
func (o *RetrievePolicyCountry1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) WithBasePolicyID ¶
func (o *RetrievePolicyCountry1Params) WithBasePolicyID(basePolicyID string) *RetrievePolicyCountry1Params
WithBasePolicyID adds the basePolicyID to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) WithContext ¶
func (o *RetrievePolicyCountry1Params) WithContext(ctx context.Context) *RetrievePolicyCountry1Params
WithContext adds the context to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) WithCountryCode ¶
func (o *RetrievePolicyCountry1Params) WithCountryCode(countryCode string) *RetrievePolicyCountry1Params
WithCountryCode adds the countryCode to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) WithHTTPClient ¶
func (o *RetrievePolicyCountry1Params) WithHTTPClient(client *http.Client) *RetrievePolicyCountry1Params
WithHTTPClient adds the HTTPClient to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) WithNamespace ¶
func (o *RetrievePolicyCountry1Params) WithNamespace(namespace string) *RetrievePolicyCountry1Params
WithNamespace adds the namespace to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) WithTimeout ¶
func (o *RetrievePolicyCountry1Params) WithTimeout(timeout time.Duration) *RetrievePolicyCountry1Params
WithTimeout adds the timeout to the retrieve policy country 1 params
func (*RetrievePolicyCountry1Params) WriteToRequest ¶
func (o *RetrievePolicyCountry1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrievePolicyCountry1Reader ¶
type RetrievePolicyCountry1Reader struct {
// contains filtered or unexported fields
}
RetrievePolicyCountry1Reader is a Reader for the RetrievePolicyCountry1 structure.
func (*RetrievePolicyCountry1Reader) ReadResponse ¶
func (o *RetrievePolicyCountry1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveSinglePolicy1NotFound ¶
type RetrieveSinglePolicy1NotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSinglePolicy1NotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40041</td><td>errors.net.accelbyte.platform.legal.policy_not_found</td></tr></table>
func NewRetrieveSinglePolicy1NotFound ¶
func NewRetrieveSinglePolicy1NotFound() *RetrieveSinglePolicy1NotFound
NewRetrieveSinglePolicy1NotFound creates a RetrieveSinglePolicy1NotFound with default headers values
func (*RetrieveSinglePolicy1NotFound) Error ¶
func (o *RetrieveSinglePolicy1NotFound) Error() string
func (*RetrieveSinglePolicy1NotFound) GetPayload ¶
func (o *RetrieveSinglePolicy1NotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveSinglePolicy1NotFound) ToJSONString ¶
func (o *RetrieveSinglePolicy1NotFound) ToJSONString() string
type RetrieveSinglePolicy1OK ¶
type RetrieveSinglePolicy1OK struct {
Payload *legalclientmodels.RetrieveBasePolicyResponse
}
RetrieveSinglePolicy1OK handles this case with default header values.
successful operation
func NewRetrieveSinglePolicy1OK ¶
func NewRetrieveSinglePolicy1OK() *RetrieveSinglePolicy1OK
NewRetrieveSinglePolicy1OK creates a RetrieveSinglePolicy1OK with default headers values
func (*RetrieveSinglePolicy1OK) Error ¶
func (o *RetrieveSinglePolicy1OK) Error() string
func (*RetrieveSinglePolicy1OK) GetPayload ¶
func (o *RetrieveSinglePolicy1OK) GetPayload() *legalclientmodels.RetrieveBasePolicyResponse
func (*RetrieveSinglePolicy1OK) ToJSONString ¶
func (o *RetrieveSinglePolicy1OK) ToJSONString() string
type RetrieveSinglePolicy1Params ¶
type RetrieveSinglePolicy1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*BasePolicyID BasePolicy Id */ BasePolicyID string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveSinglePolicy1Params contains all the parameters to send to the API endpoint for the retrieve single policy 1 operation typically these are written to a http.Request
func NewRetrieveSinglePolicy1Params ¶
func NewRetrieveSinglePolicy1Params() *RetrieveSinglePolicy1Params
NewRetrieveSinglePolicy1Params creates a new RetrieveSinglePolicy1Params object with the default values initialized.
func NewRetrieveSinglePolicy1ParamsWithContext ¶
func NewRetrieveSinglePolicy1ParamsWithContext(ctx context.Context) *RetrieveSinglePolicy1Params
NewRetrieveSinglePolicy1ParamsWithContext creates a new RetrieveSinglePolicy1Params object with the default values initialized, and the ability to set a context for a request
func NewRetrieveSinglePolicy1ParamsWithHTTPClient ¶
func NewRetrieveSinglePolicy1ParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicy1Params
NewRetrieveSinglePolicy1ParamsWithHTTPClient creates a new RetrieveSinglePolicy1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveSinglePolicy1ParamsWithTimeout ¶
func NewRetrieveSinglePolicy1ParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicy1Params
NewRetrieveSinglePolicy1ParamsWithTimeout creates a new RetrieveSinglePolicy1Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveSinglePolicy1Params) SetAuthInfoWriter ¶
func (o *RetrieveSinglePolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) SetBasePolicyID ¶
func (o *RetrieveSinglePolicy1Params) SetBasePolicyID(basePolicyID string)
SetBasePolicyID adds the basePolicyId to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) SetContext ¶
func (o *RetrieveSinglePolicy1Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) SetHTTPClient ¶
func (o *RetrieveSinglePolicy1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) SetHTTPClientTransport ¶
func (o *RetrieveSinglePolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) SetNamespace ¶
func (o *RetrieveSinglePolicy1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) SetTimeout ¶
func (o *RetrieveSinglePolicy1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) WithBasePolicyID ¶
func (o *RetrieveSinglePolicy1Params) WithBasePolicyID(basePolicyID string) *RetrieveSinglePolicy1Params
WithBasePolicyID adds the basePolicyID to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) WithContext ¶
func (o *RetrieveSinglePolicy1Params) WithContext(ctx context.Context) *RetrieveSinglePolicy1Params
WithContext adds the context to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) WithHTTPClient ¶
func (o *RetrieveSinglePolicy1Params) WithHTTPClient(client *http.Client) *RetrieveSinglePolicy1Params
WithHTTPClient adds the HTTPClient to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) WithNamespace ¶
func (o *RetrieveSinglePolicy1Params) WithNamespace(namespace string) *RetrieveSinglePolicy1Params
WithNamespace adds the namespace to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) WithTimeout ¶
func (o *RetrieveSinglePolicy1Params) WithTimeout(timeout time.Duration) *RetrieveSinglePolicy1Params
WithTimeout adds the timeout to the retrieve single policy 1 params
func (*RetrieveSinglePolicy1Params) WriteToRequest ¶
func (o *RetrieveSinglePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveSinglePolicy1Reader ¶
type RetrieveSinglePolicy1Reader struct {
// contains filtered or unexported fields
}
RetrieveSinglePolicy1Reader is a Reader for the RetrieveSinglePolicy1 structure.
func (*RetrieveSinglePolicy1Reader) ReadResponse ¶
func (o *RetrieveSinglePolicy1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- base_legal_policies_with_namespace_client.go
- create_policy_1_parameters.go
- create_policy_1_responses.go
- partial_update_policy_1_parameters.go
- partial_update_policy_1_responses.go
- retrieve_all_legal_policies_by_namespace_parameters.go
- retrieve_all_legal_policies_by_namespace_responses.go
- retrieve_all_policy_types_1_parameters.go
- retrieve_all_policy_types_1_responses.go
- retrieve_policy_country_1_parameters.go
- retrieve_policy_country_1_responses.go
- retrieve_single_policy_1_parameters.go
- retrieve_single_policy_1_responses.go