Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateLocalizedPolicyVersion1Short(params *CreateLocalizedPolicyVersion1Params, ...) (*CreateLocalizedPolicyVersion1Response, error)
- func (a *Client) DeleteLocalizedPolicyShort(params *DeleteLocalizedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalizedPolicyResponse, error)
- func (a *Client) RequestPresignedURL1Short(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURL1Response, error)
- func (a *Client) RetrieveLocalizedPolicyVersions1Short(params *RetrieveLocalizedPolicyVersions1Params, ...) (*RetrieveLocalizedPolicyVersions1Response, error)
- func (a *Client) RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params, ...) (*RetrieveSingleLocalizedPolicyVersion1Response, error)
- func (a *Client) RetrieveSingleLocalizedPolicyVersion3Short(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3Response, error)
- func (a *Client) SetDefaultPolicy1Short(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1Response, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLocalizedPolicyVersion1Short(params *UpdateLocalizedPolicyVersion1Params, ...) (*UpdateLocalizedPolicyVersion1Response, 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) SetFlightId(flightId string)
- 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 CreateLocalizedPolicyVersion1Response
- type DeleteLocalizedPolicyBadRequest
- type DeleteLocalizedPolicyNoContent
- type DeleteLocalizedPolicyParams
- func NewDeleteLocalizedPolicyParams() *DeleteLocalizedPolicyParams
- func NewDeleteLocalizedPolicyParamsWithContext(ctx context.Context) *DeleteLocalizedPolicyParams
- func NewDeleteLocalizedPolicyParamsWithHTTPClient(client *http.Client) *DeleteLocalizedPolicyParams
- func NewDeleteLocalizedPolicyParamsWithTimeout(timeout time.Duration) *DeleteLocalizedPolicyParams
- func (o *DeleteLocalizedPolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteLocalizedPolicyParams) SetContext(ctx context.Context)
- func (o *DeleteLocalizedPolicyParams) SetFlightId(flightId string)
- func (o *DeleteLocalizedPolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLocalizedPolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteLocalizedPolicyParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *DeleteLocalizedPolicyParams) SetNamespace(namespace string)
- func (o *DeleteLocalizedPolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLocalizedPolicyParams) WithContext(ctx context.Context) *DeleteLocalizedPolicyParams
- func (o *DeleteLocalizedPolicyParams) WithHTTPClient(client *http.Client) *DeleteLocalizedPolicyParams
- func (o *DeleteLocalizedPolicyParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *DeleteLocalizedPolicyParams
- func (o *DeleteLocalizedPolicyParams) WithNamespace(namespace string) *DeleteLocalizedPolicyParams
- func (o *DeleteLocalizedPolicyParams) WithTimeout(timeout time.Duration) *DeleteLocalizedPolicyParams
- func (o *DeleteLocalizedPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLocalizedPolicyReader
- type DeleteLocalizedPolicyResponse
- 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) SetFlightId(flightId string)
- 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 RequestPresignedURL1Response
- 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) SetFlightId(flightId string)
- 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 RetrieveLocalizedPolicyVersions1Response
- 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) SetFlightId(flightId string)
- 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 RetrieveSingleLocalizedPolicyVersion1Response
- type RetrieveSingleLocalizedPolicyVersion3Forbidden
- 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) SetFlightId(flightId string)
- 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 RetrieveSingleLocalizedPolicyVersion3Response
- 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) SetFlightId(flightId string)
- 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 SetDefaultPolicy1Response
- 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) SetFlightId(flightId string)
- 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
- type UpdateLocalizedPolicyVersion1Response
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) CreateLocalizedPolicyVersion1Short ¶
func (a *Client) CreateLocalizedPolicyVersion1Short(params *CreateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersion1Response, error)
CreateLocalizedPolicyVersion1Short create a localized version from country-specific policy Create a version of a particular country-specific policy.
func (*Client) DeleteLocalizedPolicyShort ¶
func (a *Client) DeleteLocalizedPolicyShort(params *DeleteLocalizedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalizedPolicyResponse, error)
DeleteLocalizedPolicyShort delete localized policy Delete localized version policy. Can only be deleted if match these criteria:
- Policy Version that this localized policy version belongs to is not active
- Has never been accepted by any user
func (*Client) RequestPresignedURL1Short ¶
func (a *Client) RequestPresignedURL1Short(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURL1Response, error)
RequestPresignedURL1Short request presigned url for upload document Request presigned URL for upload attachment for a particular localized version of base policy.
func (*Client) RetrieveLocalizedPolicyVersions1Short ¶
func (a *Client) RetrieveLocalizedPolicyVersions1Short(params *RetrieveLocalizedPolicyVersions1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersions1Response, error)
RetrieveLocalizedPolicyVersions1Short retrieve versions from country-specific policy Retrieve versions of a particular country-specific policy.
func (*Client) RetrieveSingleLocalizedPolicyVersion1Short ¶
func (a *Client) RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersion1Response, error)
RetrieveSingleLocalizedPolicyVersion1Short retrieve a localized version from country-specific policy Retrieve a version of a particular country-specific policy.
func (*Client) RetrieveSingleLocalizedPolicyVersion3Short ¶
func (a *Client) RetrieveSingleLocalizedPolicyVersion3Short(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3Response, 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) SetDefaultPolicy1Short ¶
func (a *Client) SetDefaultPolicy1Short(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1Response, error)
SetDefaultPolicy1Short set default localized policy Update a localized version policy to be the default.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLocalizedPolicyVersion1Short ¶
func (a *Client) UpdateLocalizedPolicyVersion1Short(params *UpdateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersion1Response, error)
UpdateLocalizedPolicyVersion1Short update a localized version from country-specific policy Update a version of a particular country-specific policy.
type ClientService ¶
type ClientService interface { DeleteLocalizedPolicyShort(params *DeleteLocalizedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalizedPolicyResponse, error) RetrieveLocalizedPolicyVersions1Short(params *RetrieveLocalizedPolicyVersions1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersions1Response, error) CreateLocalizedPolicyVersion1Short(params *CreateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersion1Response, error) RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersion1Response, error) UpdateLocalizedPolicyVersion1Short(params *UpdateLocalizedPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersion1Response, error) RequestPresignedURL1Short(params *RequestPresignedURL1Params, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURL1Response, error) SetDefaultPolicy1Short(params *SetDefaultPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy1Response, error) RetrieveSingleLocalizedPolicyVersion3Short(params *RetrieveSingleLocalizedPolicyVersion3Params) (*RetrieveSingleLocalizedPolicyVersion3Response, 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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶
func (o *CreateLocalizedPolicyVersion1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 CreateLocalizedPolicyVersion1Response ¶
type CreateLocalizedPolicyVersion1Response struct { legalclientmodels.ApiResponse Data *legalclientmodels.CreateLocalizedPolicyVersionResponse Error400 *legalclientmodels.ErrorEntity Error409 *legalclientmodels.ErrorEntity }
type DeleteLocalizedPolicyBadRequest ¶
type DeleteLocalizedPolicyBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
DeleteLocalizedPolicyBadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40075</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_is_published_and_already_accepted_by_user</td></tr><tr><td>40076</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_is_active</td></tr></table>
func NewDeleteLocalizedPolicyBadRequest ¶
func NewDeleteLocalizedPolicyBadRequest() *DeleteLocalizedPolicyBadRequest
NewDeleteLocalizedPolicyBadRequest creates a DeleteLocalizedPolicyBadRequest with default headers values
func (*DeleteLocalizedPolicyBadRequest) Error ¶
func (o *DeleteLocalizedPolicyBadRequest) Error() string
func (*DeleteLocalizedPolicyBadRequest) GetPayload ¶
func (o *DeleteLocalizedPolicyBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*DeleteLocalizedPolicyBadRequest) ToJSONString ¶
func (o *DeleteLocalizedPolicyBadRequest) ToJSONString() string
type DeleteLocalizedPolicyNoContent ¶
type DeleteLocalizedPolicyNoContent struct { }
DeleteLocalizedPolicyNoContent handles this case with default header values.
successful operation
func NewDeleteLocalizedPolicyNoContent ¶
func NewDeleteLocalizedPolicyNoContent() *DeleteLocalizedPolicyNoContent
NewDeleteLocalizedPolicyNoContent creates a DeleteLocalizedPolicyNoContent with default headers values
func (*DeleteLocalizedPolicyNoContent) Error ¶
func (o *DeleteLocalizedPolicyNoContent) Error() string
type DeleteLocalizedPolicyParams ¶
type DeleteLocalizedPolicyParams 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 // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
DeleteLocalizedPolicyParams contains all the parameters to send to the API endpoint for the delete localized policy operation typically these are written to a http.Request
func NewDeleteLocalizedPolicyParams ¶
func NewDeleteLocalizedPolicyParams() *DeleteLocalizedPolicyParams
NewDeleteLocalizedPolicyParams creates a new DeleteLocalizedPolicyParams object with the default values initialized.
func NewDeleteLocalizedPolicyParamsWithContext ¶
func NewDeleteLocalizedPolicyParamsWithContext(ctx context.Context) *DeleteLocalizedPolicyParams
NewDeleteLocalizedPolicyParamsWithContext creates a new DeleteLocalizedPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteLocalizedPolicyParamsWithHTTPClient ¶
func NewDeleteLocalizedPolicyParamsWithHTTPClient(client *http.Client) *DeleteLocalizedPolicyParams
NewDeleteLocalizedPolicyParamsWithHTTPClient creates a new DeleteLocalizedPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteLocalizedPolicyParamsWithTimeout ¶
func NewDeleteLocalizedPolicyParamsWithTimeout(timeout time.Duration) *DeleteLocalizedPolicyParams
NewDeleteLocalizedPolicyParamsWithTimeout creates a new DeleteLocalizedPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteLocalizedPolicyParams) SetAuthInfoWriter ¶
func (o *DeleteLocalizedPolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete localized policy params
func (*DeleteLocalizedPolicyParams) SetContext ¶
func (o *DeleteLocalizedPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete localized policy params
func (*DeleteLocalizedPolicyParams) SetFlightId ¶
func (o *DeleteLocalizedPolicyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteLocalizedPolicyParams) SetHTTPClient ¶
func (o *DeleteLocalizedPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete localized policy params
func (*DeleteLocalizedPolicyParams) SetHTTPClientTransport ¶
func (o *DeleteLocalizedPolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete localized policy params
func (*DeleteLocalizedPolicyParams) SetLocalizedPolicyVersionID ¶
func (o *DeleteLocalizedPolicyParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the delete localized policy params
func (*DeleteLocalizedPolicyParams) SetNamespace ¶
func (o *DeleteLocalizedPolicyParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete localized policy params
func (*DeleteLocalizedPolicyParams) SetTimeout ¶
func (o *DeleteLocalizedPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete localized policy params
func (*DeleteLocalizedPolicyParams) WithContext ¶
func (o *DeleteLocalizedPolicyParams) WithContext(ctx context.Context) *DeleteLocalizedPolicyParams
WithContext adds the context to the delete localized policy params
func (*DeleteLocalizedPolicyParams) WithHTTPClient ¶
func (o *DeleteLocalizedPolicyParams) WithHTTPClient(client *http.Client) *DeleteLocalizedPolicyParams
WithHTTPClient adds the HTTPClient to the delete localized policy params
func (*DeleteLocalizedPolicyParams) WithLocalizedPolicyVersionID ¶
func (o *DeleteLocalizedPolicyParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *DeleteLocalizedPolicyParams
WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the delete localized policy params
func (*DeleteLocalizedPolicyParams) WithNamespace ¶
func (o *DeleteLocalizedPolicyParams) WithNamespace(namespace string) *DeleteLocalizedPolicyParams
WithNamespace adds the namespace to the delete localized policy params
func (*DeleteLocalizedPolicyParams) WithTimeout ¶
func (o *DeleteLocalizedPolicyParams) WithTimeout(timeout time.Duration) *DeleteLocalizedPolicyParams
WithTimeout adds the timeout to the delete localized policy params
func (*DeleteLocalizedPolicyParams) WriteToRequest ¶
func (o *DeleteLocalizedPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLocalizedPolicyReader ¶
type DeleteLocalizedPolicyReader struct {
// contains filtered or unexported fields
}
DeleteLocalizedPolicyReader is a Reader for the DeleteLocalizedPolicy structure.
func (*DeleteLocalizedPolicyReader) ReadResponse ¶
func (o *DeleteLocalizedPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLocalizedPolicyResponse ¶
type DeleteLocalizedPolicyResponse struct { legalclientmodels.ApiResponse Error400 *legalclientmodels.ErrorEntity }
func (*DeleteLocalizedPolicyResponse) Unpack ¶
func (m *DeleteLocalizedPolicyResponse) Unpack() *legalclientmodels.ApiError
type RequestPresignedURL1BadRequest ¶
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 ¶
func NewRequestPresignedURL1BadRequest() *RequestPresignedURL1BadRequest
NewRequestPresignedURL1BadRequest creates a RequestPresignedURL1BadRequest with default headers values
func (*RequestPresignedURL1BadRequest) Error ¶
func (o *RequestPresignedURL1BadRequest) Error() string
func (*RequestPresignedURL1BadRequest) GetPayload ¶
func (o *RequestPresignedURL1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*RequestPresignedURL1BadRequest) ToJSONString ¶
func (o *RequestPresignedURL1BadRequest) ToJSONString() string
type RequestPresignedURL1Created ¶
type RequestPresignedURL1Created struct {
Payload *legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse
}
RequestPresignedURL1Created handles this case with default header values.
successful operation
func NewRequestPresignedURL1Created ¶
func NewRequestPresignedURL1Created() *RequestPresignedURL1Created
NewRequestPresignedURL1Created creates a RequestPresignedURL1Created with default headers values
func (*RequestPresignedURL1Created) Error ¶
func (o *RequestPresignedURL1Created) Error() string
func (*RequestPresignedURL1Created) GetPayload ¶
func (o *RequestPresignedURL1Created) GetPayload() *legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse
func (*RequestPresignedURL1Created) ToJSONString ¶
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶
func (o *RequestPresignedURL1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 RequestPresignedURL1Response ¶
type RequestPresignedURL1Response struct { legalclientmodels.ApiResponse Data *legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse Error400 *legalclientmodels.ErrorEntity }
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶
func (o *RetrieveLocalizedPolicyVersions1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 RetrieveLocalizedPolicyVersions1Response ¶
type RetrieveLocalizedPolicyVersions1Response struct { legalclientmodels.ApiResponse Data []*legalclientmodels.RetrieveLocalizedPolicyVersionResponse }
func (*RetrieveLocalizedPolicyVersions1Response) Unpack ¶
func (m *RetrieveLocalizedPolicyVersions1Response) Unpack() ([]*legalclientmodels.RetrieveLocalizedPolicyVersionResponse, *legalclientmodels.ApiError)
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 RetrieveSingleLocalizedPolicyVersion1Response ¶
type RetrieveSingleLocalizedPolicyVersion1Response struct { legalclientmodels.ApiResponse Data *legalclientmodels.RetrieveLocalizedPolicyVersionResponse Error404 *legalclientmodels.ErrorEntity }
type RetrieveSingleLocalizedPolicyVersion3Forbidden ¶
type RetrieveSingleLocalizedPolicyVersion3Forbidden struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSingleLocalizedPolicyVersion3Forbidden handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40081</td><td>errors.net.accelbyte.platform.legal.policy_not_accessible</td></tr></table>
func NewRetrieveSingleLocalizedPolicyVersion3Forbidden ¶
func NewRetrieveSingleLocalizedPolicyVersion3Forbidden() *RetrieveSingleLocalizedPolicyVersion3Forbidden
NewRetrieveSingleLocalizedPolicyVersion3Forbidden creates a RetrieveSingleLocalizedPolicyVersion3Forbidden with default headers values
func (*RetrieveSingleLocalizedPolicyVersion3Forbidden) Error ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Forbidden) Error() string
func (*RetrieveSingleLocalizedPolicyVersion3Forbidden) GetPayload ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Forbidden) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveSingleLocalizedPolicyVersion3Forbidden) ToJSONString ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Forbidden) ToJSONString() string
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶
func (o *RetrieveSingleLocalizedPolicyVersion3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 RetrieveSingleLocalizedPolicyVersion3Response ¶
type RetrieveSingleLocalizedPolicyVersion3Response struct { legalclientmodels.ApiResponse Data *legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse Error403 *legalclientmodels.ErrorEntity Error404 *legalclientmodels.ErrorEntity }
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶
func (o *SetDefaultPolicy1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 SetDefaultPolicy1Response ¶
type SetDefaultPolicy1Response struct {
legalclientmodels.ApiResponse
}
func (*SetDefaultPolicy1Response) Unpack ¶
func (m *SetDefaultPolicy1Response) Unpack() *legalclientmodels.ApiError
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶
func (o *UpdateLocalizedPolicyVersion1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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.
type UpdateLocalizedPolicyVersion1Response ¶
type UpdateLocalizedPolicyVersion1Response struct { legalclientmodels.ApiResponse Data *legalclientmodels.UpdateLocalizedPolicyVersionResponse Error400 *legalclientmodels.ErrorEntity }
Source Files
¶
- create_localized_policy_version_1_parameters.go
- create_localized_policy_version_1_responses.go
- delete_localized_policy_parameters.go
- delete_localized_policy_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