Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateLocalizedPolicyVersion1(params *CreateLocalizedPolicyVersion1Params, ...) (*CreateLocalizedPolicyVersion1Created, ...)deprecated
- func (a *Client) CreateLocalizedPolicyVersion1Short(params *CreateLocalizedPolicyVersion1Params, ...) (*CreateLocalizedPolicyVersion1Created, error)
- func (a *Client) RequestPresignedURL1(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURL1Created, *RequestPresignedURL1BadRequest, error)deprecated
- func (a *Client) RequestPresignedURL1Short(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURL1Created, error)
- func (a *Client) RetrieveLocalizedPolicyVersions1(params *RetrieveLocalizedPolicyVersions1Params, ...) (*RetrieveLocalizedPolicyVersions1OK, error)deprecated
- func (a *Client) RetrieveLocalizedPolicyVersions1Short(params *RetrieveLocalizedPolicyVersions1Params, ...) (*RetrieveLocalizedPolicyVersions1OK, error)
- func (a *Client) RetrieveSingleLocalizedPolicyVersion1(params *RetrieveSingleLocalizedPolicyVersion1Params, ...) (*RetrieveSingleLocalizedPolicyVersion1OK, ...)deprecated
- func (a *Client) RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params, ...) (*RetrieveSingleLocalizedPolicyVersion1OK, error)
- func (a *Client) RetrieveSingleLocalizedPolicyVersion3(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3OK, ...)deprecated
- func (a *Client) RetrieveSingleLocalizedPolicyVersion3Short(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3OK, error)
- func (a *Client) SetDefaultPolicy1(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1OK, error)deprecated
- func (a *Client) SetDefaultPolicy1Short(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLocalizedPolicyVersion1(params *UpdateLocalizedPolicyVersion1Params, ...) (*UpdateLocalizedPolicyVersion1OK, *UpdateLocalizedPolicyVersion1BadRequest, ...)deprecated
- func (a *Client) UpdateLocalizedPolicyVersion1Short(params *UpdateLocalizedPolicyVersion1Params, ...) (*UpdateLocalizedPolicyVersion1OK, error)
- type ClientService
- type CreateLocalizedPolicyVersion1BadRequest
- type CreateLocalizedPolicyVersion1Conflict
- type CreateLocalizedPolicyVersion1Created
- type CreateLocalizedPolicyVersion1Params
- func NewCreateLocalizedPolicyVersion1Params() *CreateLocalizedPolicyVersion1Params
- func NewCreateLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *CreateLocalizedPolicyVersion1Params
- func NewCreateLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *CreateLocalizedPolicyVersion1Params
- func NewCreateLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *CreateLocalizedPolicyVersion1Params
- func (o *CreateLocalizedPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateLocalizedPolicyVersion1Params) SetBody(body *legalclientmodels.CreateLocalizedPolicyVersionRequest)
- func (o *CreateLocalizedPolicyVersion1Params) SetContext(ctx context.Context)
- func (o *CreateLocalizedPolicyVersion1Params) SetHTTPClient(client *http.Client)
- func (o *CreateLocalizedPolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateLocalizedPolicyVersion1Params) SetNamespace(namespace string)
- func (o *CreateLocalizedPolicyVersion1Params) SetPolicyVersionID(policyVersionID string)
- func (o *CreateLocalizedPolicyVersion1Params) SetTimeout(timeout time.Duration)
- func (o *CreateLocalizedPolicyVersion1Params) WithBody(body *legalclientmodels.CreateLocalizedPolicyVersionRequest) *CreateLocalizedPolicyVersion1Params
- func (o *CreateLocalizedPolicyVersion1Params) WithContext(ctx context.Context) *CreateLocalizedPolicyVersion1Params
- func (o *CreateLocalizedPolicyVersion1Params) WithHTTPClient(client *http.Client) *CreateLocalizedPolicyVersion1Params
- func (o *CreateLocalizedPolicyVersion1Params) WithNamespace(namespace string) *CreateLocalizedPolicyVersion1Params
- func (o *CreateLocalizedPolicyVersion1Params) WithPolicyVersionID(policyVersionID string) *CreateLocalizedPolicyVersion1Params
- func (o *CreateLocalizedPolicyVersion1Params) WithTimeout(timeout time.Duration) *CreateLocalizedPolicyVersion1Params
- func (o *CreateLocalizedPolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLocalizedPolicyVersion1Reader
- type RequestPresignedURL1BadRequest
- type RequestPresignedURL1Created
- type RequestPresignedURL1Params
- func NewRequestPresignedURL1Params() *RequestPresignedURL1Params
- func NewRequestPresignedURL1ParamsWithContext(ctx context.Context) *RequestPresignedURL1Params
- func NewRequestPresignedURL1ParamsWithHTTPClient(client *http.Client) *RequestPresignedURL1Params
- func NewRequestPresignedURL1ParamsWithTimeout(timeout time.Duration) *RequestPresignedURL1Params
- func (o *RequestPresignedURL1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RequestPresignedURL1Params) SetBody(body *legalclientmodels.UploadPolicyVersionAttachmentRequest)
- func (o *RequestPresignedURL1Params) SetContext(ctx context.Context)
- func (o *RequestPresignedURL1Params) SetHTTPClient(client *http.Client)
- func (o *RequestPresignedURL1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RequestPresignedURL1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *RequestPresignedURL1Params) SetNamespace(namespace string)
- func (o *RequestPresignedURL1Params) SetTimeout(timeout time.Duration)
- func (o *RequestPresignedURL1Params) WithBody(body *legalclientmodels.UploadPolicyVersionAttachmentRequest) *RequestPresignedURL1Params
- func (o *RequestPresignedURL1Params) WithContext(ctx context.Context) *RequestPresignedURL1Params
- func (o *RequestPresignedURL1Params) WithHTTPClient(client *http.Client) *RequestPresignedURL1Params
- func (o *RequestPresignedURL1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RequestPresignedURL1Params
- func (o *RequestPresignedURL1Params) WithNamespace(namespace string) *RequestPresignedURL1Params
- func (o *RequestPresignedURL1Params) WithTimeout(timeout time.Duration) *RequestPresignedURL1Params
- func (o *RequestPresignedURL1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestPresignedURL1Reader
- type RetrieveLocalizedPolicyVersions1OK
- type RetrieveLocalizedPolicyVersions1Params
- func NewRetrieveLocalizedPolicyVersions1Params() *RetrieveLocalizedPolicyVersions1Params
- func NewRetrieveLocalizedPolicyVersions1ParamsWithContext(ctx context.Context) *RetrieveLocalizedPolicyVersions1Params
- func NewRetrieveLocalizedPolicyVersions1ParamsWithHTTPClient(client *http.Client) *RetrieveLocalizedPolicyVersions1Params
- func NewRetrieveLocalizedPolicyVersions1ParamsWithTimeout(timeout time.Duration) *RetrieveLocalizedPolicyVersions1Params
- func (o *RetrieveLocalizedPolicyVersions1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveLocalizedPolicyVersions1Params) SetContext(ctx context.Context)
- func (o *RetrieveLocalizedPolicyVersions1Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveLocalizedPolicyVersions1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveLocalizedPolicyVersions1Params) SetNamespace(namespace string)
- func (o *RetrieveLocalizedPolicyVersions1Params) SetPolicyVersionID(policyVersionID string)
- func (o *RetrieveLocalizedPolicyVersions1Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveLocalizedPolicyVersions1Params) WithContext(ctx context.Context) *RetrieveLocalizedPolicyVersions1Params
- func (o *RetrieveLocalizedPolicyVersions1Params) WithHTTPClient(client *http.Client) *RetrieveLocalizedPolicyVersions1Params
- func (o *RetrieveLocalizedPolicyVersions1Params) WithNamespace(namespace string) *RetrieveLocalizedPolicyVersions1Params
- func (o *RetrieveLocalizedPolicyVersions1Params) WithPolicyVersionID(policyVersionID string) *RetrieveLocalizedPolicyVersions1Params
- func (o *RetrieveLocalizedPolicyVersions1Params) WithTimeout(timeout time.Duration) *RetrieveLocalizedPolicyVersions1Params
- func (o *RetrieveLocalizedPolicyVersions1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveLocalizedPolicyVersions1Reader
- type RetrieveSingleLocalizedPolicyVersion1NotFound
- type RetrieveSingleLocalizedPolicyVersion1OK
- type RetrieveSingleLocalizedPolicyVersion1Params
- func NewRetrieveSingleLocalizedPolicyVersion1Params() *RetrieveSingleLocalizedPolicyVersion1Params
- func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion1Params
- func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion1Params
- func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion1Params
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetContext(ctx context.Context)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetNamespace(namespace string)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) WithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion1Params
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) WithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion1Params
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RetrieveSingleLocalizedPolicyVersion1Params
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) WithNamespace(namespace string) *RetrieveSingleLocalizedPolicyVersion1Params
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) WithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion1Params
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveSingleLocalizedPolicyVersion1Reader
- type RetrieveSingleLocalizedPolicyVersion3NotFound
- type RetrieveSingleLocalizedPolicyVersion3OK
- type RetrieveSingleLocalizedPolicyVersion3Params
- func NewRetrieveSingleLocalizedPolicyVersion3Params() *RetrieveSingleLocalizedPolicyVersion3Params
- func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion3Params
- func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion3Params
- func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion3Params
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetContext(ctx context.Context)
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetNamespace(namespace string)
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) WithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion3Params
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) WithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion3Params
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RetrieveSingleLocalizedPolicyVersion3Params
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) WithNamespace(namespace string) *RetrieveSingleLocalizedPolicyVersion3Params
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) WithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion3Params
- func (o *RetrieveSingleLocalizedPolicyVersion3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveSingleLocalizedPolicyVersion3Reader
- type SetDefaultPolicy1OK
- type SetDefaultPolicy1Params
- func NewSetDefaultPolicy1Params() *SetDefaultPolicy1Params
- func NewSetDefaultPolicy1ParamsWithContext(ctx context.Context) *SetDefaultPolicy1Params
- func NewSetDefaultPolicy1ParamsWithHTTPClient(client *http.Client) *SetDefaultPolicy1Params
- func NewSetDefaultPolicy1ParamsWithTimeout(timeout time.Duration) *SetDefaultPolicy1Params
- func (o *SetDefaultPolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SetDefaultPolicy1Params) SetContext(ctx context.Context)
- func (o *SetDefaultPolicy1Params) SetHTTPClient(client *http.Client)
- func (o *SetDefaultPolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SetDefaultPolicy1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *SetDefaultPolicy1Params) SetNamespace(namespace string)
- func (o *SetDefaultPolicy1Params) SetTimeout(timeout time.Duration)
- func (o *SetDefaultPolicy1Params) WithContext(ctx context.Context) *SetDefaultPolicy1Params
- func (o *SetDefaultPolicy1Params) WithHTTPClient(client *http.Client) *SetDefaultPolicy1Params
- func (o *SetDefaultPolicy1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *SetDefaultPolicy1Params
- func (o *SetDefaultPolicy1Params) WithNamespace(namespace string) *SetDefaultPolicy1Params
- func (o *SetDefaultPolicy1Params) WithTimeout(timeout time.Duration) *SetDefaultPolicy1Params
- func (o *SetDefaultPolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetDefaultPolicy1Reader
- type UpdateLocalizedPolicyVersion1BadRequest
- type UpdateLocalizedPolicyVersion1OK
- type UpdateLocalizedPolicyVersion1Params
- func NewUpdateLocalizedPolicyVersion1Params() *UpdateLocalizedPolicyVersion1Params
- func NewUpdateLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *UpdateLocalizedPolicyVersion1Params
- func NewUpdateLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *UpdateLocalizedPolicyVersion1Params
- func NewUpdateLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *UpdateLocalizedPolicyVersion1Params
- func (o *UpdateLocalizedPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateLocalizedPolicyVersion1Params) SetBody(body *legalclientmodels.UpdateLocalizedPolicyVersionRequest)
- func (o *UpdateLocalizedPolicyVersion1Params) SetContext(ctx context.Context)
- func (o *UpdateLocalizedPolicyVersion1Params) SetHTTPClient(client *http.Client)
- func (o *UpdateLocalizedPolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *UpdateLocalizedPolicyVersion1Params) SetNamespace(namespace string)
- func (o *UpdateLocalizedPolicyVersion1Params) SetTimeout(timeout time.Duration)
- func (o *UpdateLocalizedPolicyVersion1Params) WithBody(body *legalclientmodels.UpdateLocalizedPolicyVersionRequest) *UpdateLocalizedPolicyVersion1Params
- func (o *UpdateLocalizedPolicyVersion1Params) WithContext(ctx context.Context) *UpdateLocalizedPolicyVersion1Params
- func (o *UpdateLocalizedPolicyVersion1Params) WithHTTPClient(client *http.Client) *UpdateLocalizedPolicyVersion1Params
- func (o *UpdateLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *UpdateLocalizedPolicyVersion1Params
- func (o *UpdateLocalizedPolicyVersion1Params) WithNamespace(namespace string) *UpdateLocalizedPolicyVersion1Params
- func (o *UpdateLocalizedPolicyVersion1Params) WithTimeout(timeout time.Duration) *UpdateLocalizedPolicyVersion1Params
- func (o *UpdateLocalizedPolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLocalizedPolicyVersion1Reader
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 localized policy versions with namespace API
func (*Client) CreateLocalizedPolicyVersion1
deprecated
func (a *Client) CreateLocalizedPolicyVersion1(params *CreateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersion1Created, *CreateLocalizedPolicyVersion1BadRequest, *CreateLocalizedPolicyVersion1Conflict, error)
Deprecated: 2022-08-10 - Use CreateLocalizedPolicyVersion1Short instead.
CreateLocalizedPolicyVersion1 create a localized version from country-specific policy Create a version of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)
func (*Client) CreateLocalizedPolicyVersion1Short ¶
func (a *Client) CreateLocalizedPolicyVersion1Short(params *CreateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersion1Created, error)
CreateLocalizedPolicyVersion1Short create a localized version from country-specific policy Create a version of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)
func (*Client) RequestPresignedURL1
deprecated
func (a *Client) RequestPresignedURL1(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURL1Created, *RequestPresignedURL1BadRequest, error)
Deprecated: 2022-08-10 - Use RequestPresignedURL1Short instead.
RequestPresignedURL1 request presigned url for upload document Request presigned URL for upload attachment for a particular localized version of base policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)
func (*Client) RequestPresignedURL1Short ¶
func (a *Client) RequestPresignedURL1Short(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURL1Created, error)
RequestPresignedURL1Short request presigned url for upload document Request presigned URL for upload attachment for a particular localized version of base policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)
func (*Client) RetrieveLocalizedPolicyVersions1
deprecated
func (a *Client) RetrieveLocalizedPolicyVersions1(params *RetrieveLocalizedPolicyVersions1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersions1OK, error)
Deprecated: 2022-08-10 - Use RetrieveLocalizedPolicyVersions1Short instead.
RetrieveLocalizedPolicyVersions1 retrieve versions from country-specific policy Retrieve versions of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveLocalizedPolicyVersions1Short ¶
func (a *Client) RetrieveLocalizedPolicyVersions1Short(params *RetrieveLocalizedPolicyVersions1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersions1OK, error)
RetrieveLocalizedPolicyVersions1Short retrieve versions from country-specific policy Retrieve versions of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveSingleLocalizedPolicyVersion1
deprecated
func (a *Client) RetrieveSingleLocalizedPolicyVersion1(params *RetrieveSingleLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersion1OK, *RetrieveSingleLocalizedPolicyVersion1NotFound, error)
Deprecated: 2022-08-10 - Use RetrieveSingleLocalizedPolicyVersion1Short instead.
RetrieveSingleLocalizedPolicyVersion1 retrieve a localized version from country-specific policy Retrieve a version of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveSingleLocalizedPolicyVersion1Short ¶
func (a *Client) RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersion1OK, error)
RetrieveSingleLocalizedPolicyVersion1Short retrieve a localized version from country-specific policy Retrieve a version of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveSingleLocalizedPolicyVersion3
deprecated
func (a *Client) RetrieveSingleLocalizedPolicyVersion3(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3OK, *RetrieveSingleLocalizedPolicyVersion3NotFound, error)
Deprecated: 2022-08-10 - Use RetrieveSingleLocalizedPolicyVersion3Short instead.
RetrieveSingleLocalizedPolicyVersion3 retrieve a localized version Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located. Other detail info:
func (*Client) RetrieveSingleLocalizedPolicyVersion3Short ¶
func (a *Client) RetrieveSingleLocalizedPolicyVersion3Short(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3OK, error)
RetrieveSingleLocalizedPolicyVersion3Short retrieve a localized version Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located. Other detail info:
func (*Client) SetDefaultPolicy1
deprecated
func (a *Client) SetDefaultPolicy1(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1OK, error)
Deprecated: 2022-08-10 - Use SetDefaultPolicy1Short instead.
SetDefaultPolicy1 set default localized policy Update a localized version policy to be the default. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=4 (UPDATE)
func (*Client) SetDefaultPolicy1Short ¶
func (a *Client) SetDefaultPolicy1Short(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1OK, error)
SetDefaultPolicy1Short set default localized policy Update a localized version policy to be the default. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=4 (UPDATE)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLocalizedPolicyVersion1
deprecated
func (a *Client) UpdateLocalizedPolicyVersion1(params *UpdateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersion1OK, *UpdateLocalizedPolicyVersion1BadRequest, error)
Deprecated: 2022-08-10 - Use UpdateLocalizedPolicyVersion1Short instead.
UpdateLocalizedPolicyVersion1 update a localized version from country-specific policy Update a version of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=4 (UPDATE)
func (*Client) UpdateLocalizedPolicyVersion1Short ¶
func (a *Client) UpdateLocalizedPolicyVersion1Short(params *UpdateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersion1OK, error)
UpdateLocalizedPolicyVersion1Short update a localized version from country-specific policy Update a version of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=4 (UPDATE)
type ClientService ¶
type ClientService interface { RetrieveLocalizedPolicyVersions1(params *RetrieveLocalizedPolicyVersions1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersions1OK, error) RetrieveLocalizedPolicyVersions1Short(params *RetrieveLocalizedPolicyVersions1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersions1OK, error) CreateLocalizedPolicyVersion1(params *CreateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersion1Created, *CreateLocalizedPolicyVersion1BadRequest, *CreateLocalizedPolicyVersion1Conflict, error) CreateLocalizedPolicyVersion1Short(params *CreateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersion1Created, error) RetrieveSingleLocalizedPolicyVersion1(params *RetrieveSingleLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersion1OK, *RetrieveSingleLocalizedPolicyVersion1NotFound, error) RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersion1OK, error) UpdateLocalizedPolicyVersion1(params *UpdateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersion1OK, *UpdateLocalizedPolicyVersion1BadRequest, error) UpdateLocalizedPolicyVersion1Short(params *UpdateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersion1OK, error) RequestPresignedURL1(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURL1Created, *RequestPresignedURL1BadRequest, error) RequestPresignedURL1Short(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURL1Created, error) SetDefaultPolicy1(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1OK, error) SetDefaultPolicy1Short(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1OK, error) RetrieveSingleLocalizedPolicyVersion3(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3OK, *RetrieveSingleLocalizedPolicyVersion3NotFound, error) RetrieveSingleLocalizedPolicyVersion3Short(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3OK, 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 localized policy versions with namespace API client.
type CreateLocalizedPolicyVersion1BadRequest ¶
type CreateLocalizedPolicyVersion1BadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
CreateLocalizedPolicyVersion1BadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40033</td><td>errors.net.accelbyte.platform.legal.invalid_policy_version</td></tr></table>
func NewCreateLocalizedPolicyVersion1BadRequest ¶
func NewCreateLocalizedPolicyVersion1BadRequest() *CreateLocalizedPolicyVersion1BadRequest
NewCreateLocalizedPolicyVersion1BadRequest creates a CreateLocalizedPolicyVersion1BadRequest with default headers values
func (*CreateLocalizedPolicyVersion1BadRequest) Error ¶
func (o *CreateLocalizedPolicyVersion1BadRequest) Error() string
func (*CreateLocalizedPolicyVersion1BadRequest) GetPayload ¶
func (o *CreateLocalizedPolicyVersion1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*CreateLocalizedPolicyVersion1BadRequest) ToJSONString ¶
func (o *CreateLocalizedPolicyVersion1BadRequest) ToJSONString() string
type CreateLocalizedPolicyVersion1Conflict ¶
type CreateLocalizedPolicyVersion1Conflict struct {
Payload *legalclientmodels.ErrorEntity
}
CreateLocalizedPolicyVersion1Conflict handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40044</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_already_exist</td></tr></table>
func NewCreateLocalizedPolicyVersion1Conflict ¶
func NewCreateLocalizedPolicyVersion1Conflict() *CreateLocalizedPolicyVersion1Conflict
NewCreateLocalizedPolicyVersion1Conflict creates a CreateLocalizedPolicyVersion1Conflict with default headers values
func (*CreateLocalizedPolicyVersion1Conflict) Error ¶
func (o *CreateLocalizedPolicyVersion1Conflict) Error() string
func (*CreateLocalizedPolicyVersion1Conflict) GetPayload ¶
func (o *CreateLocalizedPolicyVersion1Conflict) GetPayload() *legalclientmodels.ErrorEntity
func (*CreateLocalizedPolicyVersion1Conflict) ToJSONString ¶
func (o *CreateLocalizedPolicyVersion1Conflict) ToJSONString() string
type CreateLocalizedPolicyVersion1Created ¶
type CreateLocalizedPolicyVersion1Created struct {
Payload *legalclientmodels.CreateLocalizedPolicyVersionResponse
}
CreateLocalizedPolicyVersion1Created handles this case with default header values.
successful operation
func NewCreateLocalizedPolicyVersion1Created ¶
func NewCreateLocalizedPolicyVersion1Created() *CreateLocalizedPolicyVersion1Created
NewCreateLocalizedPolicyVersion1Created creates a CreateLocalizedPolicyVersion1Created with default headers values
func (*CreateLocalizedPolicyVersion1Created) Error ¶
func (o *CreateLocalizedPolicyVersion1Created) Error() string
func (*CreateLocalizedPolicyVersion1Created) GetPayload ¶
func (o *CreateLocalizedPolicyVersion1Created) GetPayload() *legalclientmodels.CreateLocalizedPolicyVersionResponse
func (*CreateLocalizedPolicyVersion1Created) ToJSONString ¶
func (o *CreateLocalizedPolicyVersion1Created) ToJSONString() string
type CreateLocalizedPolicyVersion1Params ¶
type CreateLocalizedPolicyVersion1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.CreateLocalizedPolicyVersionRequest /*Namespace Namespace */ Namespace string /*PolicyVersionID Policy Version Id */ PolicyVersionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLocalizedPolicyVersion1Params contains all the parameters to send to the API endpoint for the create localized policy version 1 operation typically these are written to a http.Request
func NewCreateLocalizedPolicyVersion1Params ¶
func NewCreateLocalizedPolicyVersion1Params() *CreateLocalizedPolicyVersion1Params
NewCreateLocalizedPolicyVersion1Params creates a new CreateLocalizedPolicyVersion1Params object with the default values initialized.
func NewCreateLocalizedPolicyVersion1ParamsWithContext ¶
func NewCreateLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *CreateLocalizedPolicyVersion1Params
NewCreateLocalizedPolicyVersion1ParamsWithContext creates a new CreateLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a context for a request
func NewCreateLocalizedPolicyVersion1ParamsWithHTTPClient ¶
func NewCreateLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *CreateLocalizedPolicyVersion1Params
NewCreateLocalizedPolicyVersion1ParamsWithHTTPClient creates a new CreateLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateLocalizedPolicyVersion1ParamsWithTimeout ¶
func NewCreateLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *CreateLocalizedPolicyVersion1Params
NewCreateLocalizedPolicyVersion1ParamsWithTimeout creates a new CreateLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a timeout on a request
func (*CreateLocalizedPolicyVersion1Params) SetAuthInfoWriter ¶
func (o *CreateLocalizedPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) SetBody ¶
func (o *CreateLocalizedPolicyVersion1Params) SetBody(body *legalclientmodels.CreateLocalizedPolicyVersionRequest)
SetBody adds the body to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) SetContext ¶
func (o *CreateLocalizedPolicyVersion1Params) SetContext(ctx context.Context)
SetContext adds the context to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) SetHTTPClient ¶
func (o *CreateLocalizedPolicyVersion1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) SetHTTPClientTransport ¶
func (o *CreateLocalizedPolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) SetNamespace ¶
func (o *CreateLocalizedPolicyVersion1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) SetPolicyVersionID ¶
func (o *CreateLocalizedPolicyVersion1Params) SetPolicyVersionID(policyVersionID string)
SetPolicyVersionID adds the policyVersionId to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) SetTimeout ¶
func (o *CreateLocalizedPolicyVersion1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) WithBody ¶
func (o *CreateLocalizedPolicyVersion1Params) WithBody(body *legalclientmodels.CreateLocalizedPolicyVersionRequest) *CreateLocalizedPolicyVersion1Params
WithBody adds the body to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) WithContext ¶
func (o *CreateLocalizedPolicyVersion1Params) WithContext(ctx context.Context) *CreateLocalizedPolicyVersion1Params
WithContext adds the context to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) WithHTTPClient ¶
func (o *CreateLocalizedPolicyVersion1Params) WithHTTPClient(client *http.Client) *CreateLocalizedPolicyVersion1Params
WithHTTPClient adds the HTTPClient to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) WithNamespace ¶
func (o *CreateLocalizedPolicyVersion1Params) WithNamespace(namespace string) *CreateLocalizedPolicyVersion1Params
WithNamespace adds the namespace to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) WithPolicyVersionID ¶
func (o *CreateLocalizedPolicyVersion1Params) WithPolicyVersionID(policyVersionID string) *CreateLocalizedPolicyVersion1Params
WithPolicyVersionID adds the policyVersionID to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) WithTimeout ¶
func (o *CreateLocalizedPolicyVersion1Params) WithTimeout(timeout time.Duration) *CreateLocalizedPolicyVersion1Params
WithTimeout adds the timeout to the create localized policy version 1 params
func (*CreateLocalizedPolicyVersion1Params) WriteToRequest ¶
func (o *CreateLocalizedPolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLocalizedPolicyVersion1Reader ¶
type CreateLocalizedPolicyVersion1Reader struct {
// contains filtered or unexported fields
}
CreateLocalizedPolicyVersion1Reader is a Reader for the CreateLocalizedPolicyVersion1 structure.
func (*CreateLocalizedPolicyVersion1Reader) ReadResponse ¶
func (o *CreateLocalizedPolicyVersion1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RequestPresignedURL1BadRequest ¶ added in v0.44.0
type RequestPresignedURL1BadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
RequestPresignedURL1BadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40034</td><td>errors.net.accelbyte.platform.legal.invalid_file_type</td></tr><tr><td>40037</td><td>errors.net.accelbyte.platform.legal.invalid_localized_policy_version</td></tr><tr><td>40042</td><td>errors.net.accelbyte.platform.legal.policy_version_freezed</td></tr></table>
func NewRequestPresignedURL1BadRequest ¶ added in v0.44.0
func NewRequestPresignedURL1BadRequest() *RequestPresignedURL1BadRequest
NewRequestPresignedURL1BadRequest creates a RequestPresignedURL1BadRequest with default headers values
func (*RequestPresignedURL1BadRequest) Error ¶ added in v0.44.0
func (o *RequestPresignedURL1BadRequest) Error() string
func (*RequestPresignedURL1BadRequest) GetPayload ¶ added in v0.44.0
func (o *RequestPresignedURL1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*RequestPresignedURL1BadRequest) ToJSONString ¶ added in v0.44.0
func (o *RequestPresignedURL1BadRequest) ToJSONString() string
type RequestPresignedURL1Created ¶ added in v0.44.0
type RequestPresignedURL1Created struct {
Payload *legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse
}
RequestPresignedURL1Created handles this case with default header values.
successful operation
func NewRequestPresignedURL1Created ¶ added in v0.44.0
func NewRequestPresignedURL1Created() *RequestPresignedURL1Created
NewRequestPresignedURL1Created creates a RequestPresignedURL1Created with default headers values
func (*RequestPresignedURL1Created) Error ¶ added in v0.44.0
func (o *RequestPresignedURL1Created) Error() string
func (*RequestPresignedURL1Created) GetPayload ¶ added in v0.44.0
func (o *RequestPresignedURL1Created) GetPayload() *legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse
func (*RequestPresignedURL1Created) ToJSONString ¶ added in v0.44.0
func (o *RequestPresignedURL1Created) ToJSONString() string
type RequestPresignedURL1Params ¶
type RequestPresignedURL1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.UploadPolicyVersionAttachmentRequest /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RequestPresignedURL1Params contains all the parameters to send to the API endpoint for the request presigned url 1 operation typically these are written to a http.Request
func NewRequestPresignedURL1Params ¶
func NewRequestPresignedURL1Params() *RequestPresignedURL1Params
NewRequestPresignedURL1Params creates a new RequestPresignedURL1Params object with the default values initialized.
func NewRequestPresignedURL1ParamsWithContext ¶
func NewRequestPresignedURL1ParamsWithContext(ctx context.Context) *RequestPresignedURL1Params
NewRequestPresignedURL1ParamsWithContext creates a new RequestPresignedURL1Params object with the default values initialized, and the ability to set a context for a request
func NewRequestPresignedURL1ParamsWithHTTPClient ¶
func NewRequestPresignedURL1ParamsWithHTTPClient(client *http.Client) *RequestPresignedURL1Params
NewRequestPresignedURL1ParamsWithHTTPClient creates a new RequestPresignedURL1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRequestPresignedURL1ParamsWithTimeout ¶
func NewRequestPresignedURL1ParamsWithTimeout(timeout time.Duration) *RequestPresignedURL1Params
NewRequestPresignedURL1ParamsWithTimeout creates a new RequestPresignedURL1Params object with the default values initialized, and the ability to set a timeout on a request
func (*RequestPresignedURL1Params) SetAuthInfoWriter ¶
func (o *RequestPresignedURL1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the request presigned url 1 params
func (*RequestPresignedURL1Params) SetBody ¶
func (o *RequestPresignedURL1Params) SetBody(body *legalclientmodels.UploadPolicyVersionAttachmentRequest)
SetBody adds the body to the request presigned url 1 params
func (*RequestPresignedURL1Params) SetContext ¶
func (o *RequestPresignedURL1Params) SetContext(ctx context.Context)
SetContext adds the context to the request presigned url 1 params
func (*RequestPresignedURL1Params) SetHTTPClient ¶
func (o *RequestPresignedURL1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the request presigned url 1 params
func (*RequestPresignedURL1Params) SetHTTPClientTransport ¶
func (o *RequestPresignedURL1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the request presigned url 1 params
func (*RequestPresignedURL1Params) SetLocalizedPolicyVersionID ¶
func (o *RequestPresignedURL1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the request presigned url 1 params
func (*RequestPresignedURL1Params) SetNamespace ¶
func (o *RequestPresignedURL1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the request presigned url 1 params
func (*RequestPresignedURL1Params) SetTimeout ¶
func (o *RequestPresignedURL1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the request presigned url 1 params
func (*RequestPresignedURL1Params) WithBody ¶
func (o *RequestPresignedURL1Params) WithBody(body *legalclientmodels.UploadPolicyVersionAttachmentRequest) *RequestPresignedURL1Params
WithBody adds the body to the request presigned url 1 params
func (*RequestPresignedURL1Params) WithContext ¶
func (o *RequestPresignedURL1Params) WithContext(ctx context.Context) *RequestPresignedURL1Params
WithContext adds the context to the request presigned url 1 params
func (*RequestPresignedURL1Params) WithHTTPClient ¶
func (o *RequestPresignedURL1Params) WithHTTPClient(client *http.Client) *RequestPresignedURL1Params
WithHTTPClient adds the HTTPClient to the request presigned url 1 params
func (*RequestPresignedURL1Params) WithLocalizedPolicyVersionID ¶
func (o *RequestPresignedURL1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RequestPresignedURL1Params
WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the request presigned url 1 params
func (*RequestPresignedURL1Params) WithNamespace ¶
func (o *RequestPresignedURL1Params) WithNamespace(namespace string) *RequestPresignedURL1Params
WithNamespace adds the namespace to the request presigned url 1 params
func (*RequestPresignedURL1Params) WithTimeout ¶
func (o *RequestPresignedURL1Params) WithTimeout(timeout time.Duration) *RequestPresignedURL1Params
WithTimeout adds the timeout to the request presigned url 1 params
func (*RequestPresignedURL1Params) WriteToRequest ¶
func (o *RequestPresignedURL1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RequestPresignedURL1Reader ¶
type RequestPresignedURL1Reader struct {
// contains filtered or unexported fields
}
RequestPresignedURL1Reader is a Reader for the RequestPresignedURL1 structure.
func (*RequestPresignedURL1Reader) ReadResponse ¶
func (o *RequestPresignedURL1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveLocalizedPolicyVersions1OK ¶
type RetrieveLocalizedPolicyVersions1OK struct {
Payload []*legalclientmodels.RetrieveLocalizedPolicyVersionResponse
}
RetrieveLocalizedPolicyVersions1OK handles this case with default header values.
successful operation
func NewRetrieveLocalizedPolicyVersions1OK ¶
func NewRetrieveLocalizedPolicyVersions1OK() *RetrieveLocalizedPolicyVersions1OK
NewRetrieveLocalizedPolicyVersions1OK creates a RetrieveLocalizedPolicyVersions1OK with default headers values
func (*RetrieveLocalizedPolicyVersions1OK) Error ¶
func (o *RetrieveLocalizedPolicyVersions1OK) Error() string
func (*RetrieveLocalizedPolicyVersions1OK) GetPayload ¶
func (o *RetrieveLocalizedPolicyVersions1OK) GetPayload() []*legalclientmodels.RetrieveLocalizedPolicyVersionResponse
func (*RetrieveLocalizedPolicyVersions1OK) ToJSONString ¶
func (o *RetrieveLocalizedPolicyVersions1OK) ToJSONString() string
type RetrieveLocalizedPolicyVersions1Params ¶
type RetrieveLocalizedPolicyVersions1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*PolicyVersionID Policy Version Id */ PolicyVersionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveLocalizedPolicyVersions1Params contains all the parameters to send to the API endpoint for the retrieve localized policy versions 1 operation typically these are written to a http.Request
func NewRetrieveLocalizedPolicyVersions1Params ¶
func NewRetrieveLocalizedPolicyVersions1Params() *RetrieveLocalizedPolicyVersions1Params
NewRetrieveLocalizedPolicyVersions1Params creates a new RetrieveLocalizedPolicyVersions1Params object with the default values initialized.
func NewRetrieveLocalizedPolicyVersions1ParamsWithContext ¶
func NewRetrieveLocalizedPolicyVersions1ParamsWithContext(ctx context.Context) *RetrieveLocalizedPolicyVersions1Params
NewRetrieveLocalizedPolicyVersions1ParamsWithContext creates a new RetrieveLocalizedPolicyVersions1Params object with the default values initialized, and the ability to set a context for a request
func NewRetrieveLocalizedPolicyVersions1ParamsWithHTTPClient ¶
func NewRetrieveLocalizedPolicyVersions1ParamsWithHTTPClient(client *http.Client) *RetrieveLocalizedPolicyVersions1Params
NewRetrieveLocalizedPolicyVersions1ParamsWithHTTPClient creates a new RetrieveLocalizedPolicyVersions1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveLocalizedPolicyVersions1ParamsWithTimeout ¶
func NewRetrieveLocalizedPolicyVersions1ParamsWithTimeout(timeout time.Duration) *RetrieveLocalizedPolicyVersions1Params
NewRetrieveLocalizedPolicyVersions1ParamsWithTimeout creates a new RetrieveLocalizedPolicyVersions1Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveLocalizedPolicyVersions1Params) SetAuthInfoWriter ¶
func (o *RetrieveLocalizedPolicyVersions1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) SetContext ¶
func (o *RetrieveLocalizedPolicyVersions1Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) SetHTTPClient ¶
func (o *RetrieveLocalizedPolicyVersions1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) SetHTTPClientTransport ¶
func (o *RetrieveLocalizedPolicyVersions1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) SetNamespace ¶
func (o *RetrieveLocalizedPolicyVersions1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) SetPolicyVersionID ¶
func (o *RetrieveLocalizedPolicyVersions1Params) SetPolicyVersionID(policyVersionID string)
SetPolicyVersionID adds the policyVersionId to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) SetTimeout ¶
func (o *RetrieveLocalizedPolicyVersions1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) WithContext ¶
func (o *RetrieveLocalizedPolicyVersions1Params) WithContext(ctx context.Context) *RetrieveLocalizedPolicyVersions1Params
WithContext adds the context to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) WithHTTPClient ¶
func (o *RetrieveLocalizedPolicyVersions1Params) WithHTTPClient(client *http.Client) *RetrieveLocalizedPolicyVersions1Params
WithHTTPClient adds the HTTPClient to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) WithNamespace ¶
func (o *RetrieveLocalizedPolicyVersions1Params) WithNamespace(namespace string) *RetrieveLocalizedPolicyVersions1Params
WithNamespace adds the namespace to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) WithPolicyVersionID ¶
func (o *RetrieveLocalizedPolicyVersions1Params) WithPolicyVersionID(policyVersionID string) *RetrieveLocalizedPolicyVersions1Params
WithPolicyVersionID adds the policyVersionID to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) WithTimeout ¶
func (o *RetrieveLocalizedPolicyVersions1Params) WithTimeout(timeout time.Duration) *RetrieveLocalizedPolicyVersions1Params
WithTimeout adds the timeout to the retrieve localized policy versions 1 params
func (*RetrieveLocalizedPolicyVersions1Params) WriteToRequest ¶
func (o *RetrieveLocalizedPolicyVersions1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveLocalizedPolicyVersions1Reader ¶
type RetrieveLocalizedPolicyVersions1Reader struct {
// contains filtered or unexported fields
}
RetrieveLocalizedPolicyVersions1Reader is a Reader for the RetrieveLocalizedPolicyVersions1 structure.
func (*RetrieveLocalizedPolicyVersions1Reader) ReadResponse ¶
func (o *RetrieveLocalizedPolicyVersions1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveSingleLocalizedPolicyVersion1NotFound ¶
type RetrieveSingleLocalizedPolicyVersion1NotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSingleLocalizedPolicyVersion1NotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>2912</td><td>errors.net.accelbyte.platform.legal.policy_version_not_found</td></tr></table>
func NewRetrieveSingleLocalizedPolicyVersion1NotFound ¶
func NewRetrieveSingleLocalizedPolicyVersion1NotFound() *RetrieveSingleLocalizedPolicyVersion1NotFound
NewRetrieveSingleLocalizedPolicyVersion1NotFound creates a RetrieveSingleLocalizedPolicyVersion1NotFound with default headers values
func (*RetrieveSingleLocalizedPolicyVersion1NotFound) Error ¶
func (o *RetrieveSingleLocalizedPolicyVersion1NotFound) Error() string
func (*RetrieveSingleLocalizedPolicyVersion1NotFound) GetPayload ¶
func (o *RetrieveSingleLocalizedPolicyVersion1NotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveSingleLocalizedPolicyVersion1NotFound) ToJSONString ¶
func (o *RetrieveSingleLocalizedPolicyVersion1NotFound) ToJSONString() string
type RetrieveSingleLocalizedPolicyVersion1OK ¶
type RetrieveSingleLocalizedPolicyVersion1OK struct {
Payload *legalclientmodels.RetrieveLocalizedPolicyVersionResponse
}
RetrieveSingleLocalizedPolicyVersion1OK handles this case with default header values.
successful operation
func NewRetrieveSingleLocalizedPolicyVersion1OK ¶
func NewRetrieveSingleLocalizedPolicyVersion1OK() *RetrieveSingleLocalizedPolicyVersion1OK
NewRetrieveSingleLocalizedPolicyVersion1OK creates a RetrieveSingleLocalizedPolicyVersion1OK with default headers values
func (*RetrieveSingleLocalizedPolicyVersion1OK) Error ¶
func (o *RetrieveSingleLocalizedPolicyVersion1OK) Error() string
func (*RetrieveSingleLocalizedPolicyVersion1OK) GetPayload ¶
func (o *RetrieveSingleLocalizedPolicyVersion1OK) GetPayload() *legalclientmodels.RetrieveLocalizedPolicyVersionResponse
func (*RetrieveSingleLocalizedPolicyVersion1OK) ToJSONString ¶
func (o *RetrieveSingleLocalizedPolicyVersion1OK) ToJSONString() string
type RetrieveSingleLocalizedPolicyVersion1Params ¶
type RetrieveSingleLocalizedPolicyVersion1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveSingleLocalizedPolicyVersion1Params contains all the parameters to send to the API endpoint for the retrieve single localized policy version 1 operation typically these are written to a http.Request
func NewRetrieveSingleLocalizedPolicyVersion1Params ¶
func NewRetrieveSingleLocalizedPolicyVersion1Params() *RetrieveSingleLocalizedPolicyVersion1Params
NewRetrieveSingleLocalizedPolicyVersion1Params creates a new RetrieveSingleLocalizedPolicyVersion1Params object with the default values initialized.
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext ¶
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion1Params
NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext creates a new RetrieveSingleLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a context for a request
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient ¶
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion1Params
NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient creates a new RetrieveSingleLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout ¶
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion1Params
NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout creates a new RetrieveSingleLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveSingleLocalizedPolicyVersion1Params) SetAuthInfoWriter ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) SetContext ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClient ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClientTransport ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) SetNamespace ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) SetTimeout ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) WithContext ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) WithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion1Params
WithContext adds the context to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) WithHTTPClient ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) WithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion1Params
WithHTTPClient adds the HTTPClient to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RetrieveSingleLocalizedPolicyVersion1Params
WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) WithNamespace ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) WithNamespace(namespace string) *RetrieveSingleLocalizedPolicyVersion1Params
WithNamespace adds the namespace to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) WithTimeout ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) WithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion1Params
WithTimeout adds the timeout to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) WriteToRequest ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveSingleLocalizedPolicyVersion1Reader ¶
type RetrieveSingleLocalizedPolicyVersion1Reader struct {
// contains filtered or unexported fields
}
RetrieveSingleLocalizedPolicyVersion1Reader is a Reader for the RetrieveSingleLocalizedPolicyVersion1 structure.
func (*RetrieveSingleLocalizedPolicyVersion1Reader) ReadResponse ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveSingleLocalizedPolicyVersion3NotFound ¶
type RetrieveSingleLocalizedPolicyVersion3NotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSingleLocalizedPolicyVersion3NotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40038</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_not_found</td></tr></table>
func NewRetrieveSingleLocalizedPolicyVersion3NotFound ¶
func NewRetrieveSingleLocalizedPolicyVersion3NotFound() *RetrieveSingleLocalizedPolicyVersion3NotFound
NewRetrieveSingleLocalizedPolicyVersion3NotFound creates a RetrieveSingleLocalizedPolicyVersion3NotFound with default headers values
func (*RetrieveSingleLocalizedPolicyVersion3NotFound) Error ¶
func (o *RetrieveSingleLocalizedPolicyVersion3NotFound) Error() string
func (*RetrieveSingleLocalizedPolicyVersion3NotFound) GetPayload ¶
func (o *RetrieveSingleLocalizedPolicyVersion3NotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveSingleLocalizedPolicyVersion3NotFound) ToJSONString ¶
func (o *RetrieveSingleLocalizedPolicyVersion3NotFound) ToJSONString() string
type RetrieveSingleLocalizedPolicyVersion3OK ¶
type RetrieveSingleLocalizedPolicyVersion3OK struct {
Payload *legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse
}
RetrieveSingleLocalizedPolicyVersion3OK handles this case with default header values.
successful operation
func NewRetrieveSingleLocalizedPolicyVersion3OK ¶
func NewRetrieveSingleLocalizedPolicyVersion3OK() *RetrieveSingleLocalizedPolicyVersion3OK
NewRetrieveSingleLocalizedPolicyVersion3OK creates a RetrieveSingleLocalizedPolicyVersion3OK with default headers values
func (*RetrieveSingleLocalizedPolicyVersion3OK) Error ¶
func (o *RetrieveSingleLocalizedPolicyVersion3OK) Error() string
func (*RetrieveSingleLocalizedPolicyVersion3OK) GetPayload ¶
func (o *RetrieveSingleLocalizedPolicyVersion3OK) GetPayload() *legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse
func (*RetrieveSingleLocalizedPolicyVersion3OK) ToJSONString ¶
func (o *RetrieveSingleLocalizedPolicyVersion3OK) ToJSONString() string
type RetrieveSingleLocalizedPolicyVersion3Params ¶
type RetrieveSingleLocalizedPolicyVersion3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveSingleLocalizedPolicyVersion3Params contains all the parameters to send to the API endpoint for the retrieve single localized policy version 3 operation typically these are written to a http.Request
func NewRetrieveSingleLocalizedPolicyVersion3Params ¶
func NewRetrieveSingleLocalizedPolicyVersion3Params() *RetrieveSingleLocalizedPolicyVersion3Params
NewRetrieveSingleLocalizedPolicyVersion3Params creates a new RetrieveSingleLocalizedPolicyVersion3Params object with the default values initialized.
func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithContext ¶
func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion3Params
NewRetrieveSingleLocalizedPolicyVersion3ParamsWithContext creates a new RetrieveSingleLocalizedPolicyVersion3Params object with the default values initialized, and the ability to set a context for a request
func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithHTTPClient ¶
func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion3Params
NewRetrieveSingleLocalizedPolicyVersion3ParamsWithHTTPClient creates a new RetrieveSingleLocalizedPolicyVersion3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithTimeout ¶
func NewRetrieveSingleLocalizedPolicyVersion3ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion3Params
NewRetrieveSingleLocalizedPolicyVersion3ParamsWithTimeout creates a new RetrieveSingleLocalizedPolicyVersion3Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveSingleLocalizedPolicyVersion3Params) SetAuthInfoWriter ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) SetContext ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) SetHTTPClient ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) SetHTTPClientTransport ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) SetLocalizedPolicyVersionID ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) SetNamespace ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) SetTimeout ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) WithContext ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) WithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion3Params
WithContext adds the context to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) WithHTTPClient ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) WithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion3Params
WithHTTPClient adds the HTTPClient to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) WithLocalizedPolicyVersionID ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RetrieveSingleLocalizedPolicyVersion3Params
WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) WithNamespace ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) WithNamespace(namespace string) *RetrieveSingleLocalizedPolicyVersion3Params
WithNamespace adds the namespace to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) WithTimeout ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) WithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion3Params
WithTimeout adds the timeout to the retrieve single localized policy version 3 params
func (*RetrieveSingleLocalizedPolicyVersion3Params) WriteToRequest ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveSingleLocalizedPolicyVersion3Reader ¶
type RetrieveSingleLocalizedPolicyVersion3Reader struct {
// contains filtered or unexported fields
}
RetrieveSingleLocalizedPolicyVersion3Reader is a Reader for the RetrieveSingleLocalizedPolicyVersion3 structure.
func (*RetrieveSingleLocalizedPolicyVersion3Reader) ReadResponse ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetDefaultPolicy1OK ¶
type SetDefaultPolicy1OK struct { }
SetDefaultPolicy1OK handles this case with default header values.
successful operation
func NewSetDefaultPolicy1OK ¶
func NewSetDefaultPolicy1OK() *SetDefaultPolicy1OK
NewSetDefaultPolicy1OK creates a SetDefaultPolicy1OK with default headers values
func (*SetDefaultPolicy1OK) Error ¶
func (o *SetDefaultPolicy1OK) Error() string
type SetDefaultPolicy1Params ¶
type SetDefaultPolicy1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetDefaultPolicy1Params contains all the parameters to send to the API endpoint for the set default policy 1 operation typically these are written to a http.Request
func NewSetDefaultPolicy1Params ¶
func NewSetDefaultPolicy1Params() *SetDefaultPolicy1Params
NewSetDefaultPolicy1Params creates a new SetDefaultPolicy1Params object with the default values initialized.
func NewSetDefaultPolicy1ParamsWithContext ¶
func NewSetDefaultPolicy1ParamsWithContext(ctx context.Context) *SetDefaultPolicy1Params
NewSetDefaultPolicy1ParamsWithContext creates a new SetDefaultPolicy1Params object with the default values initialized, and the ability to set a context for a request
func NewSetDefaultPolicy1ParamsWithHTTPClient ¶
func NewSetDefaultPolicy1ParamsWithHTTPClient(client *http.Client) *SetDefaultPolicy1Params
NewSetDefaultPolicy1ParamsWithHTTPClient creates a new SetDefaultPolicy1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetDefaultPolicy1ParamsWithTimeout ¶
func NewSetDefaultPolicy1ParamsWithTimeout(timeout time.Duration) *SetDefaultPolicy1Params
NewSetDefaultPolicy1ParamsWithTimeout creates a new SetDefaultPolicy1Params object with the default values initialized, and the ability to set a timeout on a request
func (*SetDefaultPolicy1Params) SetAuthInfoWriter ¶
func (o *SetDefaultPolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the set default policy 1 params
func (*SetDefaultPolicy1Params) SetContext ¶
func (o *SetDefaultPolicy1Params) SetContext(ctx context.Context)
SetContext adds the context to the set default policy 1 params
func (*SetDefaultPolicy1Params) SetHTTPClient ¶
func (o *SetDefaultPolicy1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set default policy 1 params
func (*SetDefaultPolicy1Params) SetHTTPClientTransport ¶
func (o *SetDefaultPolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the set default policy 1 params
func (*SetDefaultPolicy1Params) SetLocalizedPolicyVersionID ¶
func (o *SetDefaultPolicy1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the set default policy 1 params
func (*SetDefaultPolicy1Params) SetNamespace ¶
func (o *SetDefaultPolicy1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the set default policy 1 params
func (*SetDefaultPolicy1Params) SetTimeout ¶
func (o *SetDefaultPolicy1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set default policy 1 params
func (*SetDefaultPolicy1Params) WithContext ¶
func (o *SetDefaultPolicy1Params) WithContext(ctx context.Context) *SetDefaultPolicy1Params
WithContext adds the context to the set default policy 1 params
func (*SetDefaultPolicy1Params) WithHTTPClient ¶
func (o *SetDefaultPolicy1Params) WithHTTPClient(client *http.Client) *SetDefaultPolicy1Params
WithHTTPClient adds the HTTPClient to the set default policy 1 params
func (*SetDefaultPolicy1Params) WithLocalizedPolicyVersionID ¶
func (o *SetDefaultPolicy1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *SetDefaultPolicy1Params
WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the set default policy 1 params
func (*SetDefaultPolicy1Params) WithNamespace ¶
func (o *SetDefaultPolicy1Params) WithNamespace(namespace string) *SetDefaultPolicy1Params
WithNamespace adds the namespace to the set default policy 1 params
func (*SetDefaultPolicy1Params) WithTimeout ¶
func (o *SetDefaultPolicy1Params) WithTimeout(timeout time.Duration) *SetDefaultPolicy1Params
WithTimeout adds the timeout to the set default policy 1 params
func (*SetDefaultPolicy1Params) WriteToRequest ¶
func (o *SetDefaultPolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetDefaultPolicy1Reader ¶
type SetDefaultPolicy1Reader struct {
// contains filtered or unexported fields
}
SetDefaultPolicy1Reader is a Reader for the SetDefaultPolicy1 structure.
func (*SetDefaultPolicy1Reader) ReadResponse ¶
func (o *SetDefaultPolicy1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateLocalizedPolicyVersion1BadRequest ¶
type UpdateLocalizedPolicyVersion1BadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
UpdateLocalizedPolicyVersion1BadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40035</td><td>errors.net.accelbyte.platform.legal.invalid_policy_version</td></tr></table>
func NewUpdateLocalizedPolicyVersion1BadRequest ¶
func NewUpdateLocalizedPolicyVersion1BadRequest() *UpdateLocalizedPolicyVersion1BadRequest
NewUpdateLocalizedPolicyVersion1BadRequest creates a UpdateLocalizedPolicyVersion1BadRequest with default headers values
func (*UpdateLocalizedPolicyVersion1BadRequest) Error ¶
func (o *UpdateLocalizedPolicyVersion1BadRequest) Error() string
func (*UpdateLocalizedPolicyVersion1BadRequest) GetPayload ¶
func (o *UpdateLocalizedPolicyVersion1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*UpdateLocalizedPolicyVersion1BadRequest) ToJSONString ¶
func (o *UpdateLocalizedPolicyVersion1BadRequest) ToJSONString() string
type UpdateLocalizedPolicyVersion1OK ¶
type UpdateLocalizedPolicyVersion1OK struct {
Payload *legalclientmodels.UpdateLocalizedPolicyVersionResponse
}
UpdateLocalizedPolicyVersion1OK handles this case with default header values.
successful operation
func NewUpdateLocalizedPolicyVersion1OK ¶
func NewUpdateLocalizedPolicyVersion1OK() *UpdateLocalizedPolicyVersion1OK
NewUpdateLocalizedPolicyVersion1OK creates a UpdateLocalizedPolicyVersion1OK with default headers values
func (*UpdateLocalizedPolicyVersion1OK) Error ¶
func (o *UpdateLocalizedPolicyVersion1OK) Error() string
func (*UpdateLocalizedPolicyVersion1OK) GetPayload ¶
func (o *UpdateLocalizedPolicyVersion1OK) GetPayload() *legalclientmodels.UpdateLocalizedPolicyVersionResponse
func (*UpdateLocalizedPolicyVersion1OK) ToJSONString ¶
func (o *UpdateLocalizedPolicyVersion1OK) ToJSONString() string
type UpdateLocalizedPolicyVersion1Params ¶
type UpdateLocalizedPolicyVersion1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.UpdateLocalizedPolicyVersionRequest /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateLocalizedPolicyVersion1Params contains all the parameters to send to the API endpoint for the update localized policy version 1 operation typically these are written to a http.Request
func NewUpdateLocalizedPolicyVersion1Params ¶
func NewUpdateLocalizedPolicyVersion1Params() *UpdateLocalizedPolicyVersion1Params
NewUpdateLocalizedPolicyVersion1Params creates a new UpdateLocalizedPolicyVersion1Params object with the default values initialized.
func NewUpdateLocalizedPolicyVersion1ParamsWithContext ¶
func NewUpdateLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *UpdateLocalizedPolicyVersion1Params
NewUpdateLocalizedPolicyVersion1ParamsWithContext creates a new UpdateLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a context for a request
func NewUpdateLocalizedPolicyVersion1ParamsWithHTTPClient ¶
func NewUpdateLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *UpdateLocalizedPolicyVersion1Params
NewUpdateLocalizedPolicyVersion1ParamsWithHTTPClient creates a new UpdateLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateLocalizedPolicyVersion1ParamsWithTimeout ¶
func NewUpdateLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *UpdateLocalizedPolicyVersion1Params
NewUpdateLocalizedPolicyVersion1ParamsWithTimeout creates a new UpdateLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateLocalizedPolicyVersion1Params) SetAuthInfoWriter ¶
func (o *UpdateLocalizedPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) SetBody ¶
func (o *UpdateLocalizedPolicyVersion1Params) SetBody(body *legalclientmodels.UpdateLocalizedPolicyVersionRequest)
SetBody adds the body to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) SetContext ¶
func (o *UpdateLocalizedPolicyVersion1Params) SetContext(ctx context.Context)
SetContext adds the context to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) SetHTTPClient ¶
func (o *UpdateLocalizedPolicyVersion1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) SetHTTPClientTransport ¶
func (o *UpdateLocalizedPolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID ¶
func (o *UpdateLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) SetNamespace ¶
func (o *UpdateLocalizedPolicyVersion1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) SetTimeout ¶
func (o *UpdateLocalizedPolicyVersion1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) WithBody ¶
func (o *UpdateLocalizedPolicyVersion1Params) WithBody(body *legalclientmodels.UpdateLocalizedPolicyVersionRequest) *UpdateLocalizedPolicyVersion1Params
WithBody adds the body to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) WithContext ¶
func (o *UpdateLocalizedPolicyVersion1Params) WithContext(ctx context.Context) *UpdateLocalizedPolicyVersion1Params
WithContext adds the context to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) WithHTTPClient ¶
func (o *UpdateLocalizedPolicyVersion1Params) WithHTTPClient(client *http.Client) *UpdateLocalizedPolicyVersion1Params
WithHTTPClient adds the HTTPClient to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID ¶
func (o *UpdateLocalizedPolicyVersion1Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *UpdateLocalizedPolicyVersion1Params
WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) WithNamespace ¶
func (o *UpdateLocalizedPolicyVersion1Params) WithNamespace(namespace string) *UpdateLocalizedPolicyVersion1Params
WithNamespace adds the namespace to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) WithTimeout ¶
func (o *UpdateLocalizedPolicyVersion1Params) WithTimeout(timeout time.Duration) *UpdateLocalizedPolicyVersion1Params
WithTimeout adds the timeout to the update localized policy version 1 params
func (*UpdateLocalizedPolicyVersion1Params) WriteToRequest ¶
func (o *UpdateLocalizedPolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateLocalizedPolicyVersion1Reader ¶
type UpdateLocalizedPolicyVersion1Reader struct {
// contains filtered or unexported fields
}
UpdateLocalizedPolicyVersion1Reader is a Reader for the UpdateLocalizedPolicyVersion1 structure.
func (*UpdateLocalizedPolicyVersion1Reader) ReadResponse ¶
func (o *UpdateLocalizedPolicyVersion1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_localized_policy_version_1_parameters.go
- create_localized_policy_version_1_responses.go
- localized_policy_versions_with_namespace_client.go
- request_presigned_url_1_parameters.go
- request_presigned_url_1_responses.go
- retrieve_localized_policy_versions_1_parameters.go
- retrieve_localized_policy_versions_1_responses.go
- retrieve_single_localized_policy_version_1_parameters.go
- retrieve_single_localized_policy_version_1_responses.go
- retrieve_single_localized_policy_version_3_parameters.go
- retrieve_single_localized_policy_version_3_responses.go
- set_default_policy_1_parameters.go
- set_default_policy_1_responses.go
- update_localized_policy_version_1_parameters.go
- update_localized_policy_version_1_responses.go