Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateLocalizedPolicyVersion(params *CreateLocalizedPolicyVersionParams, ...) (*CreateLocalizedPolicyVersionCreated, *CreateLocalizedPolicyVersionBadRequest, ...)deprecated
- func (a *Client) CreateLocalizedPolicyVersionShort(params *CreateLocalizedPolicyVersionParams, ...) (*CreateLocalizedPolicyVersionCreated, error)
- func (a *Client) RequestPresignedURL(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, *RequestPresignedURLBadRequest, error)deprecated
- func (a *Client) RequestPresignedURLShort(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, error)
- func (a *Client) RetrieveLocalizedPolicyVersions(params *RetrieveLocalizedPolicyVersionsParams, ...) (*RetrieveLocalizedPolicyVersionsOK, error)deprecated
- func (a *Client) RetrieveLocalizedPolicyVersionsShort(params *RetrieveLocalizedPolicyVersionsParams, ...) (*RetrieveLocalizedPolicyVersionsOK, error)
- func (a *Client) RetrieveSingleLocalizedPolicyVersion(params *RetrieveSingleLocalizedPolicyVersionParams, ...) (*RetrieveSingleLocalizedPolicyVersionOK, ...)deprecated
- func (a *Client) RetrieveSingleLocalizedPolicyVersion2(params *RetrieveSingleLocalizedPolicyVersion2Params) (*RetrieveSingleLocalizedPolicyVersion2OK, ...)deprecated
- func (a *Client) RetrieveSingleLocalizedPolicyVersion2Short(params *RetrieveSingleLocalizedPolicyVersion2Params) (*RetrieveSingleLocalizedPolicyVersion2OK, error)
- func (a *Client) RetrieveSingleLocalizedPolicyVersionShort(params *RetrieveSingleLocalizedPolicyVersionParams, ...) (*RetrieveSingleLocalizedPolicyVersionOK, error)
- func (a *Client) SetDefaultPolicy(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, *SetDefaultPolicyBadRequest, error)deprecated
- func (a *Client) SetDefaultPolicyShort(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLocalizedPolicyVersion(params *UpdateLocalizedPolicyVersionParams, ...) (*UpdateLocalizedPolicyVersionOK, *UpdateLocalizedPolicyVersionBadRequest, ...)deprecated
- func (a *Client) UpdateLocalizedPolicyVersionShort(params *UpdateLocalizedPolicyVersionParams, ...) (*UpdateLocalizedPolicyVersionOK, error)
- type ClientService
- type CreateLocalizedPolicyVersionBadRequest
- type CreateLocalizedPolicyVersionConflict
- type CreateLocalizedPolicyVersionCreated
- type CreateLocalizedPolicyVersionParams
- func NewCreateLocalizedPolicyVersionParams() *CreateLocalizedPolicyVersionParams
- func NewCreateLocalizedPolicyVersionParamsWithContext(ctx context.Context) *CreateLocalizedPolicyVersionParams
- func NewCreateLocalizedPolicyVersionParamsWithHTTPClient(client *http.Client) *CreateLocalizedPolicyVersionParams
- func NewCreateLocalizedPolicyVersionParamsWithTimeout(timeout time.Duration) *CreateLocalizedPolicyVersionParams
- func (o *CreateLocalizedPolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateLocalizedPolicyVersionParams) SetBody(body *legalclientmodels.CreateLocalizedPolicyVersionRequest)
- func (o *CreateLocalizedPolicyVersionParams) SetContext(ctx context.Context)
- func (o *CreateLocalizedPolicyVersionParams) SetFlightId(flightId string)
- func (o *CreateLocalizedPolicyVersionParams) SetHTTPClient(client *http.Client)
- func (o *CreateLocalizedPolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateLocalizedPolicyVersionParams) SetPolicyVersionID(policyVersionID string)
- func (o *CreateLocalizedPolicyVersionParams) SetTimeout(timeout time.Duration)
- func (o *CreateLocalizedPolicyVersionParams) WithBody(body *legalclientmodels.CreateLocalizedPolicyVersionRequest) *CreateLocalizedPolicyVersionParams
- func (o *CreateLocalizedPolicyVersionParams) WithContext(ctx context.Context) *CreateLocalizedPolicyVersionParams
- func (o *CreateLocalizedPolicyVersionParams) WithHTTPClient(client *http.Client) *CreateLocalizedPolicyVersionParams
- func (o *CreateLocalizedPolicyVersionParams) WithPolicyVersionID(policyVersionID string) *CreateLocalizedPolicyVersionParams
- func (o *CreateLocalizedPolicyVersionParams) WithTimeout(timeout time.Duration) *CreateLocalizedPolicyVersionParams
- func (o *CreateLocalizedPolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLocalizedPolicyVersionReader
- type RequestPresignedURLBadRequest
- type RequestPresignedURLCreated
- type RequestPresignedURLParams
- func NewRequestPresignedURLParams() *RequestPresignedURLParams
- func NewRequestPresignedURLParamsWithContext(ctx context.Context) *RequestPresignedURLParams
- func NewRequestPresignedURLParamsWithHTTPClient(client *http.Client) *RequestPresignedURLParams
- func NewRequestPresignedURLParamsWithTimeout(timeout time.Duration) *RequestPresignedURLParams
- func (o *RequestPresignedURLParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RequestPresignedURLParams) SetBody(body *legalclientmodels.UploadPolicyVersionAttachmentRequest)
- func (o *RequestPresignedURLParams) SetContext(ctx context.Context)
- func (o *RequestPresignedURLParams) SetFlightId(flightId string)
- func (o *RequestPresignedURLParams) SetHTTPClient(client *http.Client)
- func (o *RequestPresignedURLParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RequestPresignedURLParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *RequestPresignedURLParams) SetTimeout(timeout time.Duration)
- func (o *RequestPresignedURLParams) WithBody(body *legalclientmodels.UploadPolicyVersionAttachmentRequest) *RequestPresignedURLParams
- func (o *RequestPresignedURLParams) WithContext(ctx context.Context) *RequestPresignedURLParams
- func (o *RequestPresignedURLParams) WithHTTPClient(client *http.Client) *RequestPresignedURLParams
- func (o *RequestPresignedURLParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RequestPresignedURLParams
- func (o *RequestPresignedURLParams) WithTimeout(timeout time.Duration) *RequestPresignedURLParams
- func (o *RequestPresignedURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestPresignedURLReader
- type RetrieveLocalizedPolicyVersionsOK
- type RetrieveLocalizedPolicyVersionsParams
- func NewRetrieveLocalizedPolicyVersionsParams() *RetrieveLocalizedPolicyVersionsParams
- func NewRetrieveLocalizedPolicyVersionsParamsWithContext(ctx context.Context) *RetrieveLocalizedPolicyVersionsParams
- func NewRetrieveLocalizedPolicyVersionsParamsWithHTTPClient(client *http.Client) *RetrieveLocalizedPolicyVersionsParams
- func NewRetrieveLocalizedPolicyVersionsParamsWithTimeout(timeout time.Duration) *RetrieveLocalizedPolicyVersionsParams
- func (o *RetrieveLocalizedPolicyVersionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveLocalizedPolicyVersionsParams) SetContext(ctx context.Context)
- func (o *RetrieveLocalizedPolicyVersionsParams) SetFlightId(flightId string)
- func (o *RetrieveLocalizedPolicyVersionsParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveLocalizedPolicyVersionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveLocalizedPolicyVersionsParams) SetPolicyVersionID(policyVersionID string)
- func (o *RetrieveLocalizedPolicyVersionsParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveLocalizedPolicyVersionsParams) WithContext(ctx context.Context) *RetrieveLocalizedPolicyVersionsParams
- func (o *RetrieveLocalizedPolicyVersionsParams) WithHTTPClient(client *http.Client) *RetrieveLocalizedPolicyVersionsParams
- func (o *RetrieveLocalizedPolicyVersionsParams) WithPolicyVersionID(policyVersionID string) *RetrieveLocalizedPolicyVersionsParams
- func (o *RetrieveLocalizedPolicyVersionsParams) WithTimeout(timeout time.Duration) *RetrieveLocalizedPolicyVersionsParams
- func (o *RetrieveLocalizedPolicyVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveLocalizedPolicyVersionsReader
- type RetrieveSingleLocalizedPolicyVersion2Forbidden
- type RetrieveSingleLocalizedPolicyVersion2NotFound
- type RetrieveSingleLocalizedPolicyVersion2OK
- type RetrieveSingleLocalizedPolicyVersion2Params
- func NewRetrieveSingleLocalizedPolicyVersion2Params() *RetrieveSingleLocalizedPolicyVersion2Params
- func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion2Params
- func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion2Params
- func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion2Params
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetContext(ctx context.Context)
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetFlightId(flightId string)
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) WithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion2Params
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) WithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion2Params
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RetrieveSingleLocalizedPolicyVersion2Params
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) WithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion2Params
- func (o *RetrieveSingleLocalizedPolicyVersion2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveSingleLocalizedPolicyVersion2Reader
- type RetrieveSingleLocalizedPolicyVersionNotFound
- type RetrieveSingleLocalizedPolicyVersionOK
- type RetrieveSingleLocalizedPolicyVersionParams
- func NewRetrieveSingleLocalizedPolicyVersionParams() *RetrieveSingleLocalizedPolicyVersionParams
- func NewRetrieveSingleLocalizedPolicyVersionParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersionParams
- func NewRetrieveSingleLocalizedPolicyVersionParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersionParams
- func NewRetrieveSingleLocalizedPolicyVersionParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersionParams
- func (o *RetrieveSingleLocalizedPolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveSingleLocalizedPolicyVersionParams) SetContext(ctx context.Context)
- func (o *RetrieveSingleLocalizedPolicyVersionParams) SetFlightId(flightId string)
- func (o *RetrieveSingleLocalizedPolicyVersionParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveSingleLocalizedPolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveSingleLocalizedPolicyVersionParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *RetrieveSingleLocalizedPolicyVersionParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveSingleLocalizedPolicyVersionParams) WithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersionParams
- func (o *RetrieveSingleLocalizedPolicyVersionParams) WithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersionParams
- func (o *RetrieveSingleLocalizedPolicyVersionParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RetrieveSingleLocalizedPolicyVersionParams
- func (o *RetrieveSingleLocalizedPolicyVersionParams) WithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersionParams
- func (o *RetrieveSingleLocalizedPolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveSingleLocalizedPolicyVersionReader
- type SetDefaultPolicyBadRequest
- type SetDefaultPolicyOK
- type SetDefaultPolicyParams
- func NewSetDefaultPolicyParams() *SetDefaultPolicyParams
- func NewSetDefaultPolicyParamsWithContext(ctx context.Context) *SetDefaultPolicyParams
- func NewSetDefaultPolicyParamsWithHTTPClient(client *http.Client) *SetDefaultPolicyParams
- func NewSetDefaultPolicyParamsWithTimeout(timeout time.Duration) *SetDefaultPolicyParams
- func (o *SetDefaultPolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SetDefaultPolicyParams) SetContext(ctx context.Context)
- func (o *SetDefaultPolicyParams) SetFlightId(flightId string)
- func (o *SetDefaultPolicyParams) SetHTTPClient(client *http.Client)
- func (o *SetDefaultPolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SetDefaultPolicyParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *SetDefaultPolicyParams) SetTimeout(timeout time.Duration)
- func (o *SetDefaultPolicyParams) WithContext(ctx context.Context) *SetDefaultPolicyParams
- func (o *SetDefaultPolicyParams) WithHTTPClient(client *http.Client) *SetDefaultPolicyParams
- func (o *SetDefaultPolicyParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *SetDefaultPolicyParams
- func (o *SetDefaultPolicyParams) WithTimeout(timeout time.Duration) *SetDefaultPolicyParams
- func (o *SetDefaultPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetDefaultPolicyReader
- type UpdateLocalizedPolicyVersionBadRequest
- type UpdateLocalizedPolicyVersionOK
- type UpdateLocalizedPolicyVersionParams
- func NewUpdateLocalizedPolicyVersionParams() *UpdateLocalizedPolicyVersionParams
- func NewUpdateLocalizedPolicyVersionParamsWithContext(ctx context.Context) *UpdateLocalizedPolicyVersionParams
- func NewUpdateLocalizedPolicyVersionParamsWithHTTPClient(client *http.Client) *UpdateLocalizedPolicyVersionParams
- func NewUpdateLocalizedPolicyVersionParamsWithTimeout(timeout time.Duration) *UpdateLocalizedPolicyVersionParams
- func (o *UpdateLocalizedPolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateLocalizedPolicyVersionParams) SetBody(body *legalclientmodels.UpdateLocalizedPolicyVersionRequest)
- func (o *UpdateLocalizedPolicyVersionParams) SetContext(ctx context.Context)
- func (o *UpdateLocalizedPolicyVersionParams) SetFlightId(flightId string)
- func (o *UpdateLocalizedPolicyVersionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateLocalizedPolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateLocalizedPolicyVersionParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *UpdateLocalizedPolicyVersionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateLocalizedPolicyVersionParams) WithBody(body *legalclientmodels.UpdateLocalizedPolicyVersionRequest) *UpdateLocalizedPolicyVersionParams
- func (o *UpdateLocalizedPolicyVersionParams) WithContext(ctx context.Context) *UpdateLocalizedPolicyVersionParams
- func (o *UpdateLocalizedPolicyVersionParams) WithHTTPClient(client *http.Client) *UpdateLocalizedPolicyVersionParams
- func (o *UpdateLocalizedPolicyVersionParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *UpdateLocalizedPolicyVersionParams
- func (o *UpdateLocalizedPolicyVersionParams) WithTimeout(timeout time.Duration) *UpdateLocalizedPolicyVersionParams
- func (o *UpdateLocalizedPolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLocalizedPolicyVersionReader
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 API
func (*Client) CreateLocalizedPolicyVersion
deprecated
func (a *Client) CreateLocalizedPolicyVersion(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, *CreateLocalizedPolicyVersionBadRequest, *CreateLocalizedPolicyVersionConflict, error)
Deprecated: 2022-08-10 - Use CreateLocalizedPolicyVersionShort instead.
CreateLocalizedPolicyVersion create a localized version from country-specific policy Create a version of a particular country-specific policy.
func (*Client) CreateLocalizedPolicyVersionShort ¶ added in v0.8.0
func (a *Client) CreateLocalizedPolicyVersionShort(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, error)
CreateLocalizedPolicyVersionShort create a localized version from country-specific policy Create a version of a particular country-specific policy.
func (*Client) RequestPresignedURL
deprecated
func (a *Client) RequestPresignedURL(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, *RequestPresignedURLBadRequest, error)
Deprecated: 2022-08-10 - Use RequestPresignedURLShort instead.
RequestPresignedURL request presigned url for upload document Request presigned URL for upload attachment for a particular localized version of base policy.
func (*Client) RequestPresignedURLShort ¶ added in v0.8.0
func (a *Client) RequestPresignedURLShort(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, error)
RequestPresignedURLShort request presigned url for upload document Request presigned URL for upload attachment for a particular localized version of base policy.
func (*Client) RetrieveLocalizedPolicyVersions
deprecated
func (a *Client) RetrieveLocalizedPolicyVersions(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error)
Deprecated: 2022-08-10 - Use RetrieveLocalizedPolicyVersionsShort instead.
RetrieveLocalizedPolicyVersions retrieve versions from country-specific policy Retrieve versions of a particular country-specific policy.
func (*Client) RetrieveLocalizedPolicyVersionsShort ¶ added in v0.8.0
func (a *Client) RetrieveLocalizedPolicyVersionsShort(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error)
RetrieveLocalizedPolicyVersionsShort retrieve versions from country-specific policy Retrieve versions of a particular country-specific policy.
func (*Client) RetrieveSingleLocalizedPolicyVersion
deprecated
func (a *Client) RetrieveSingleLocalizedPolicyVersion(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, *RetrieveSingleLocalizedPolicyVersionNotFound, error)
Deprecated: 2022-08-10 - Use RetrieveSingleLocalizedPolicyVersionShort instead.
RetrieveSingleLocalizedPolicyVersion retrieve a localized version from country-specific policy Retrieve a version of a particular country-specific policy.
func (*Client) RetrieveSingleLocalizedPolicyVersion2
deprecated
added in
v0.38.0
func (a *Client) RetrieveSingleLocalizedPolicyVersion2(params *RetrieveSingleLocalizedPolicyVersion2Params) (*RetrieveSingleLocalizedPolicyVersion2OK, *RetrieveSingleLocalizedPolicyVersion2Forbidden, *RetrieveSingleLocalizedPolicyVersion2NotFound, error)
Deprecated: 2022-08-10 - Use RetrieveSingleLocalizedPolicyVersion2Short instead.
RetrieveSingleLocalizedPolicyVersion2 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) RetrieveSingleLocalizedPolicyVersion2Short ¶ added in v0.38.0
func (a *Client) RetrieveSingleLocalizedPolicyVersion2Short(params *RetrieveSingleLocalizedPolicyVersion2Params) (*RetrieveSingleLocalizedPolicyVersion2OK, error)
RetrieveSingleLocalizedPolicyVersion2Short 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) RetrieveSingleLocalizedPolicyVersionShort ¶ added in v0.8.0
func (a *Client) RetrieveSingleLocalizedPolicyVersionShort(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, error)
RetrieveSingleLocalizedPolicyVersionShort retrieve a localized version from country-specific policy Retrieve a version of a particular country-specific policy.
func (*Client) SetDefaultPolicy
deprecated
func (a *Client) SetDefaultPolicy(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, *SetDefaultPolicyBadRequest, error)
Deprecated: 2022-08-10 - Use SetDefaultPolicyShort instead.
SetDefaultPolicy set default localized policy Update a localized version policy to be the default.
func (*Client) SetDefaultPolicyShort ¶ added in v0.8.0
func (a *Client) SetDefaultPolicyShort(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error)
SetDefaultPolicyShort 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) UpdateLocalizedPolicyVersion
deprecated
func (a *Client) UpdateLocalizedPolicyVersion(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, *UpdateLocalizedPolicyVersionBadRequest, error)
Deprecated: 2022-08-10 - Use UpdateLocalizedPolicyVersionShort instead.
UpdateLocalizedPolicyVersion update a localized version from country-specific policy Update a version of a particular country-specific policy.
func (*Client) UpdateLocalizedPolicyVersionShort ¶ added in v0.8.0
func (a *Client) UpdateLocalizedPolicyVersionShort(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, error)
UpdateLocalizedPolicyVersionShort update a localized version from country-specific policy Update a version of a particular country-specific policy.
type ClientService ¶
type ClientService interface { RetrieveLocalizedPolicyVersions(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error) RetrieveLocalizedPolicyVersionsShort(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error) CreateLocalizedPolicyVersion(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, *CreateLocalizedPolicyVersionBadRequest, *CreateLocalizedPolicyVersionConflict, error) CreateLocalizedPolicyVersionShort(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, error) RetrieveSingleLocalizedPolicyVersion(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, *RetrieveSingleLocalizedPolicyVersionNotFound, error) RetrieveSingleLocalizedPolicyVersionShort(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, error) UpdateLocalizedPolicyVersion(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, *UpdateLocalizedPolicyVersionBadRequest, error) UpdateLocalizedPolicyVersionShort(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, error) RequestPresignedURL(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, *RequestPresignedURLBadRequest, error) RequestPresignedURLShort(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, error) SetDefaultPolicy(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, *SetDefaultPolicyBadRequest, error) SetDefaultPolicyShort(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error) RetrieveSingleLocalizedPolicyVersion2(params *RetrieveSingleLocalizedPolicyVersion2Params) (*RetrieveSingleLocalizedPolicyVersion2OK, *RetrieveSingleLocalizedPolicyVersion2Forbidden, *RetrieveSingleLocalizedPolicyVersion2NotFound, error) RetrieveSingleLocalizedPolicyVersion2Short(params *RetrieveSingleLocalizedPolicyVersion2Params) (*RetrieveSingleLocalizedPolicyVersion2OK, 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 API client.
type CreateLocalizedPolicyVersionBadRequest ¶
type CreateLocalizedPolicyVersionBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
CreateLocalizedPolicyVersionBadRequest 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 NewCreateLocalizedPolicyVersionBadRequest ¶
func NewCreateLocalizedPolicyVersionBadRequest() *CreateLocalizedPolicyVersionBadRequest
NewCreateLocalizedPolicyVersionBadRequest creates a CreateLocalizedPolicyVersionBadRequest with default headers values
func (*CreateLocalizedPolicyVersionBadRequest) Error ¶
func (o *CreateLocalizedPolicyVersionBadRequest) Error() string
func (*CreateLocalizedPolicyVersionBadRequest) GetPayload ¶
func (o *CreateLocalizedPolicyVersionBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*CreateLocalizedPolicyVersionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *CreateLocalizedPolicyVersionBadRequest) ToJSONString() string
type CreateLocalizedPolicyVersionConflict ¶
type CreateLocalizedPolicyVersionConflict struct {
Payload *legalclientmodels.ErrorEntity
}
CreateLocalizedPolicyVersionConflict 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 NewCreateLocalizedPolicyVersionConflict ¶
func NewCreateLocalizedPolicyVersionConflict() *CreateLocalizedPolicyVersionConflict
NewCreateLocalizedPolicyVersionConflict creates a CreateLocalizedPolicyVersionConflict with default headers values
func (*CreateLocalizedPolicyVersionConflict) Error ¶
func (o *CreateLocalizedPolicyVersionConflict) Error() string
func (*CreateLocalizedPolicyVersionConflict) GetPayload ¶
func (o *CreateLocalizedPolicyVersionConflict) GetPayload() *legalclientmodels.ErrorEntity
func (*CreateLocalizedPolicyVersionConflict) ToJSONString ¶ added in v0.25.0
func (o *CreateLocalizedPolicyVersionConflict) ToJSONString() string
type CreateLocalizedPolicyVersionCreated ¶
type CreateLocalizedPolicyVersionCreated struct {
Payload *legalclientmodels.CreateLocalizedPolicyVersionResponse
}
CreateLocalizedPolicyVersionCreated handles this case with default header values.
successful operation
func NewCreateLocalizedPolicyVersionCreated ¶
func NewCreateLocalizedPolicyVersionCreated() *CreateLocalizedPolicyVersionCreated
NewCreateLocalizedPolicyVersionCreated creates a CreateLocalizedPolicyVersionCreated with default headers values
func (*CreateLocalizedPolicyVersionCreated) Error ¶
func (o *CreateLocalizedPolicyVersionCreated) Error() string
func (*CreateLocalizedPolicyVersionCreated) GetPayload ¶
func (o *CreateLocalizedPolicyVersionCreated) GetPayload() *legalclientmodels.CreateLocalizedPolicyVersionResponse
func (*CreateLocalizedPolicyVersionCreated) ToJSONString ¶ added in v0.25.0
func (o *CreateLocalizedPolicyVersionCreated) ToJSONString() string
type CreateLocalizedPolicyVersionParams ¶
type CreateLocalizedPolicyVersionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.CreateLocalizedPolicyVersionRequest /*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 }
CreateLocalizedPolicyVersionParams contains all the parameters to send to the API endpoint for the create localized policy version operation typically these are written to a http.Request
func NewCreateLocalizedPolicyVersionParams ¶
func NewCreateLocalizedPolicyVersionParams() *CreateLocalizedPolicyVersionParams
NewCreateLocalizedPolicyVersionParams creates a new CreateLocalizedPolicyVersionParams object with the default values initialized.
func NewCreateLocalizedPolicyVersionParamsWithContext ¶
func NewCreateLocalizedPolicyVersionParamsWithContext(ctx context.Context) *CreateLocalizedPolicyVersionParams
NewCreateLocalizedPolicyVersionParamsWithContext creates a new CreateLocalizedPolicyVersionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateLocalizedPolicyVersionParamsWithHTTPClient ¶
func NewCreateLocalizedPolicyVersionParamsWithHTTPClient(client *http.Client) *CreateLocalizedPolicyVersionParams
NewCreateLocalizedPolicyVersionParamsWithHTTPClient creates a new CreateLocalizedPolicyVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateLocalizedPolicyVersionParamsWithTimeout ¶
func NewCreateLocalizedPolicyVersionParamsWithTimeout(timeout time.Duration) *CreateLocalizedPolicyVersionParams
NewCreateLocalizedPolicyVersionParamsWithTimeout creates a new CreateLocalizedPolicyVersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateLocalizedPolicyVersionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreateLocalizedPolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) SetBody ¶
func (o *CreateLocalizedPolicyVersionParams) SetBody(body *legalclientmodels.CreateLocalizedPolicyVersionRequest)
SetBody adds the body to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) SetContext ¶
func (o *CreateLocalizedPolicyVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) SetFlightId ¶ added in v0.63.0
func (o *CreateLocalizedPolicyVersionParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*CreateLocalizedPolicyVersionParams) SetHTTPClient ¶
func (o *CreateLocalizedPolicyVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreateLocalizedPolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) SetPolicyVersionID ¶
func (o *CreateLocalizedPolicyVersionParams) SetPolicyVersionID(policyVersionID string)
SetPolicyVersionID adds the policyVersionId to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) SetTimeout ¶
func (o *CreateLocalizedPolicyVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) WithBody ¶
func (o *CreateLocalizedPolicyVersionParams) WithBody(body *legalclientmodels.CreateLocalizedPolicyVersionRequest) *CreateLocalizedPolicyVersionParams
WithBody adds the body to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) WithContext ¶
func (o *CreateLocalizedPolicyVersionParams) WithContext(ctx context.Context) *CreateLocalizedPolicyVersionParams
WithContext adds the context to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) WithHTTPClient ¶
func (o *CreateLocalizedPolicyVersionParams) WithHTTPClient(client *http.Client) *CreateLocalizedPolicyVersionParams
WithHTTPClient adds the HTTPClient to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) WithPolicyVersionID ¶
func (o *CreateLocalizedPolicyVersionParams) WithPolicyVersionID(policyVersionID string) *CreateLocalizedPolicyVersionParams
WithPolicyVersionID adds the policyVersionID to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) WithTimeout ¶
func (o *CreateLocalizedPolicyVersionParams) WithTimeout(timeout time.Duration) *CreateLocalizedPolicyVersionParams
WithTimeout adds the timeout to the create localized policy version params
func (*CreateLocalizedPolicyVersionParams) WriteToRequest ¶
func (o *CreateLocalizedPolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLocalizedPolicyVersionReader ¶
type CreateLocalizedPolicyVersionReader struct {
// contains filtered or unexported fields
}
CreateLocalizedPolicyVersionReader is a Reader for the CreateLocalizedPolicyVersion structure.
func (*CreateLocalizedPolicyVersionReader) ReadResponse ¶
func (o *CreateLocalizedPolicyVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RequestPresignedURLBadRequest ¶
type RequestPresignedURLBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
RequestPresignedURLBadRequest 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 NewRequestPresignedURLBadRequest ¶
func NewRequestPresignedURLBadRequest() *RequestPresignedURLBadRequest
NewRequestPresignedURLBadRequest creates a RequestPresignedURLBadRequest with default headers values
func (*RequestPresignedURLBadRequest) Error ¶
func (o *RequestPresignedURLBadRequest) Error() string
func (*RequestPresignedURLBadRequest) GetPayload ¶
func (o *RequestPresignedURLBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*RequestPresignedURLBadRequest) ToJSONString ¶ added in v0.25.0
func (o *RequestPresignedURLBadRequest) ToJSONString() string
type RequestPresignedURLCreated ¶
type RequestPresignedURLCreated struct {
Payload *legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse
}
RequestPresignedURLCreated handles this case with default header values.
successful operation
func NewRequestPresignedURLCreated ¶
func NewRequestPresignedURLCreated() *RequestPresignedURLCreated
NewRequestPresignedURLCreated creates a RequestPresignedURLCreated with default headers values
func (*RequestPresignedURLCreated) Error ¶
func (o *RequestPresignedURLCreated) Error() string
func (*RequestPresignedURLCreated) GetPayload ¶
func (o *RequestPresignedURLCreated) GetPayload() *legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse
func (*RequestPresignedURLCreated) ToJSONString ¶ added in v0.25.0
func (o *RequestPresignedURLCreated) ToJSONString() string
type RequestPresignedURLParams ¶
type RequestPresignedURLParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.UploadPolicyVersionAttachmentRequest /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID 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 }
RequestPresignedURLParams contains all the parameters to send to the API endpoint for the request presigned url operation typically these are written to a http.Request
func NewRequestPresignedURLParams ¶
func NewRequestPresignedURLParams() *RequestPresignedURLParams
NewRequestPresignedURLParams creates a new RequestPresignedURLParams object with the default values initialized.
func NewRequestPresignedURLParamsWithContext ¶
func NewRequestPresignedURLParamsWithContext(ctx context.Context) *RequestPresignedURLParams
NewRequestPresignedURLParamsWithContext creates a new RequestPresignedURLParams object with the default values initialized, and the ability to set a context for a request
func NewRequestPresignedURLParamsWithHTTPClient ¶
func NewRequestPresignedURLParamsWithHTTPClient(client *http.Client) *RequestPresignedURLParams
NewRequestPresignedURLParamsWithHTTPClient creates a new RequestPresignedURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRequestPresignedURLParamsWithTimeout ¶
func NewRequestPresignedURLParamsWithTimeout(timeout time.Duration) *RequestPresignedURLParams
NewRequestPresignedURLParamsWithTimeout creates a new RequestPresignedURLParams object with the default values initialized, and the ability to set a timeout on a request
func (*RequestPresignedURLParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RequestPresignedURLParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the request presigned url params
func (*RequestPresignedURLParams) SetBody ¶
func (o *RequestPresignedURLParams) SetBody(body *legalclientmodels.UploadPolicyVersionAttachmentRequest)
SetBody adds the body to the request presigned url params
func (*RequestPresignedURLParams) SetContext ¶
func (o *RequestPresignedURLParams) SetContext(ctx context.Context)
SetContext adds the context to the request presigned url params
func (*RequestPresignedURLParams) SetFlightId ¶ added in v0.63.0
func (o *RequestPresignedURLParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RequestPresignedURLParams) SetHTTPClient ¶
func (o *RequestPresignedURLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the request presigned url params
func (*RequestPresignedURLParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RequestPresignedURLParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the request presigned url params
func (*RequestPresignedURLParams) SetLocalizedPolicyVersionID ¶
func (o *RequestPresignedURLParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the request presigned url params
func (*RequestPresignedURLParams) SetTimeout ¶
func (o *RequestPresignedURLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the request presigned url params
func (*RequestPresignedURLParams) WithBody ¶
func (o *RequestPresignedURLParams) WithBody(body *legalclientmodels.UploadPolicyVersionAttachmentRequest) *RequestPresignedURLParams
WithBody adds the body to the request presigned url params
func (*RequestPresignedURLParams) WithContext ¶
func (o *RequestPresignedURLParams) WithContext(ctx context.Context) *RequestPresignedURLParams
WithContext adds the context to the request presigned url params
func (*RequestPresignedURLParams) WithHTTPClient ¶
func (o *RequestPresignedURLParams) WithHTTPClient(client *http.Client) *RequestPresignedURLParams
WithHTTPClient adds the HTTPClient to the request presigned url params
func (*RequestPresignedURLParams) WithLocalizedPolicyVersionID ¶
func (o *RequestPresignedURLParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RequestPresignedURLParams
WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the request presigned url params
func (*RequestPresignedURLParams) WithTimeout ¶
func (o *RequestPresignedURLParams) WithTimeout(timeout time.Duration) *RequestPresignedURLParams
WithTimeout adds the timeout to the request presigned url params
func (*RequestPresignedURLParams) WriteToRequest ¶
func (o *RequestPresignedURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RequestPresignedURLReader ¶
type RequestPresignedURLReader struct {
// contains filtered or unexported fields
}
RequestPresignedURLReader is a Reader for the RequestPresignedURL structure.
func (*RequestPresignedURLReader) ReadResponse ¶
func (o *RequestPresignedURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveLocalizedPolicyVersionsOK ¶
type RetrieveLocalizedPolicyVersionsOK struct {
Payload []*legalclientmodels.RetrieveLocalizedPolicyVersionResponse
}
RetrieveLocalizedPolicyVersionsOK handles this case with default header values.
successful operation
func NewRetrieveLocalizedPolicyVersionsOK ¶
func NewRetrieveLocalizedPolicyVersionsOK() *RetrieveLocalizedPolicyVersionsOK
NewRetrieveLocalizedPolicyVersionsOK creates a RetrieveLocalizedPolicyVersionsOK with default headers values
func (*RetrieveLocalizedPolicyVersionsOK) Error ¶
func (o *RetrieveLocalizedPolicyVersionsOK) Error() string
func (*RetrieveLocalizedPolicyVersionsOK) GetPayload ¶
func (o *RetrieveLocalizedPolicyVersionsOK) GetPayload() []*legalclientmodels.RetrieveLocalizedPolicyVersionResponse
func (*RetrieveLocalizedPolicyVersionsOK) ToJSONString ¶ added in v0.25.0
func (o *RetrieveLocalizedPolicyVersionsOK) ToJSONString() string
type RetrieveLocalizedPolicyVersionsParams ¶
type RetrieveLocalizedPolicyVersionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*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 }
RetrieveLocalizedPolicyVersionsParams contains all the parameters to send to the API endpoint for the retrieve localized policy versions operation typically these are written to a http.Request
func NewRetrieveLocalizedPolicyVersionsParams ¶
func NewRetrieveLocalizedPolicyVersionsParams() *RetrieveLocalizedPolicyVersionsParams
NewRetrieveLocalizedPolicyVersionsParams creates a new RetrieveLocalizedPolicyVersionsParams object with the default values initialized.
func NewRetrieveLocalizedPolicyVersionsParamsWithContext ¶
func NewRetrieveLocalizedPolicyVersionsParamsWithContext(ctx context.Context) *RetrieveLocalizedPolicyVersionsParams
NewRetrieveLocalizedPolicyVersionsParamsWithContext creates a new RetrieveLocalizedPolicyVersionsParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveLocalizedPolicyVersionsParamsWithHTTPClient ¶
func NewRetrieveLocalizedPolicyVersionsParamsWithHTTPClient(client *http.Client) *RetrieveLocalizedPolicyVersionsParams
NewRetrieveLocalizedPolicyVersionsParamsWithHTTPClient creates a new RetrieveLocalizedPolicyVersionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveLocalizedPolicyVersionsParamsWithTimeout ¶
func NewRetrieveLocalizedPolicyVersionsParamsWithTimeout(timeout time.Duration) *RetrieveLocalizedPolicyVersionsParams
NewRetrieveLocalizedPolicyVersionsParamsWithTimeout creates a new RetrieveLocalizedPolicyVersionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveLocalizedPolicyVersionsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrieveLocalizedPolicyVersionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve localized policy versions params
func (*RetrieveLocalizedPolicyVersionsParams) SetContext ¶
func (o *RetrieveLocalizedPolicyVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve localized policy versions params
func (*RetrieveLocalizedPolicyVersionsParams) SetFlightId ¶ added in v0.63.0
func (o *RetrieveLocalizedPolicyVersionsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrieveLocalizedPolicyVersionsParams) SetHTTPClient ¶
func (o *RetrieveLocalizedPolicyVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve localized policy versions params
func (*RetrieveLocalizedPolicyVersionsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrieveLocalizedPolicyVersionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve localized policy versions params
func (*RetrieveLocalizedPolicyVersionsParams) SetPolicyVersionID ¶
func (o *RetrieveLocalizedPolicyVersionsParams) SetPolicyVersionID(policyVersionID string)
SetPolicyVersionID adds the policyVersionId to the retrieve localized policy versions params
func (*RetrieveLocalizedPolicyVersionsParams) SetTimeout ¶
func (o *RetrieveLocalizedPolicyVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve localized policy versions params
func (*RetrieveLocalizedPolicyVersionsParams) WithContext ¶
func (o *RetrieveLocalizedPolicyVersionsParams) WithContext(ctx context.Context) *RetrieveLocalizedPolicyVersionsParams
WithContext adds the context to the retrieve localized policy versions params
func (*RetrieveLocalizedPolicyVersionsParams) WithHTTPClient ¶
func (o *RetrieveLocalizedPolicyVersionsParams) WithHTTPClient(client *http.Client) *RetrieveLocalizedPolicyVersionsParams
WithHTTPClient adds the HTTPClient to the retrieve localized policy versions params
func (*RetrieveLocalizedPolicyVersionsParams) WithPolicyVersionID ¶
func (o *RetrieveLocalizedPolicyVersionsParams) WithPolicyVersionID(policyVersionID string) *RetrieveLocalizedPolicyVersionsParams
WithPolicyVersionID adds the policyVersionID to the retrieve localized policy versions params
func (*RetrieveLocalizedPolicyVersionsParams) WithTimeout ¶
func (o *RetrieveLocalizedPolicyVersionsParams) WithTimeout(timeout time.Duration) *RetrieveLocalizedPolicyVersionsParams
WithTimeout adds the timeout to the retrieve localized policy versions params
func (*RetrieveLocalizedPolicyVersionsParams) WriteToRequest ¶
func (o *RetrieveLocalizedPolicyVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveLocalizedPolicyVersionsReader ¶
type RetrieveLocalizedPolicyVersionsReader struct {
// contains filtered or unexported fields
}
RetrieveLocalizedPolicyVersionsReader is a Reader for the RetrieveLocalizedPolicyVersions structure.
func (*RetrieveLocalizedPolicyVersionsReader) ReadResponse ¶
func (o *RetrieveLocalizedPolicyVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveSingleLocalizedPolicyVersion2Forbidden ¶ added in v0.73.0
type RetrieveSingleLocalizedPolicyVersion2Forbidden struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSingleLocalizedPolicyVersion2Forbidden 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 NewRetrieveSingleLocalizedPolicyVersion2Forbidden ¶ added in v0.73.0
func NewRetrieveSingleLocalizedPolicyVersion2Forbidden() *RetrieveSingleLocalizedPolicyVersion2Forbidden
NewRetrieveSingleLocalizedPolicyVersion2Forbidden creates a RetrieveSingleLocalizedPolicyVersion2Forbidden with default headers values
func (*RetrieveSingleLocalizedPolicyVersion2Forbidden) Error ¶ added in v0.73.0
func (o *RetrieveSingleLocalizedPolicyVersion2Forbidden) Error() string
func (*RetrieveSingleLocalizedPolicyVersion2Forbidden) GetPayload ¶ added in v0.73.0
func (o *RetrieveSingleLocalizedPolicyVersion2Forbidden) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveSingleLocalizedPolicyVersion2Forbidden) ToJSONString ¶ added in v0.73.0
func (o *RetrieveSingleLocalizedPolicyVersion2Forbidden) ToJSONString() string
type RetrieveSingleLocalizedPolicyVersion2NotFound ¶ added in v0.38.0
type RetrieveSingleLocalizedPolicyVersion2NotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSingleLocalizedPolicyVersion2NotFound 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 NewRetrieveSingleLocalizedPolicyVersion2NotFound ¶ added in v0.38.0
func NewRetrieveSingleLocalizedPolicyVersion2NotFound() *RetrieveSingleLocalizedPolicyVersion2NotFound
NewRetrieveSingleLocalizedPolicyVersion2NotFound creates a RetrieveSingleLocalizedPolicyVersion2NotFound with default headers values
func (*RetrieveSingleLocalizedPolicyVersion2NotFound) Error ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2NotFound) Error() string
func (*RetrieveSingleLocalizedPolicyVersion2NotFound) GetPayload ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2NotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveSingleLocalizedPolicyVersion2NotFound) ToJSONString ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2NotFound) ToJSONString() string
type RetrieveSingleLocalizedPolicyVersion2OK ¶ added in v0.38.0
type RetrieveSingleLocalizedPolicyVersion2OK struct {
Payload *legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse
}
RetrieveSingleLocalizedPolicyVersion2OK handles this case with default header values.
successful operation
func NewRetrieveSingleLocalizedPolicyVersion2OK ¶ added in v0.38.0
func NewRetrieveSingleLocalizedPolicyVersion2OK() *RetrieveSingleLocalizedPolicyVersion2OK
NewRetrieveSingleLocalizedPolicyVersion2OK creates a RetrieveSingleLocalizedPolicyVersion2OK with default headers values
func (*RetrieveSingleLocalizedPolicyVersion2OK) Error ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2OK) Error() string
func (*RetrieveSingleLocalizedPolicyVersion2OK) GetPayload ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2OK) GetPayload() *legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse
func (*RetrieveSingleLocalizedPolicyVersion2OK) ToJSONString ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2OK) ToJSONString() string
type RetrieveSingleLocalizedPolicyVersion2Params ¶ added in v0.38.0
type RetrieveSingleLocalizedPolicyVersion2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID 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 }
RetrieveSingleLocalizedPolicyVersion2Params contains all the parameters to send to the API endpoint for the retrieve single localized policy version 2 operation typically these are written to a http.Request
func NewRetrieveSingleLocalizedPolicyVersion2Params ¶ added in v0.38.0
func NewRetrieveSingleLocalizedPolicyVersion2Params() *RetrieveSingleLocalizedPolicyVersion2Params
NewRetrieveSingleLocalizedPolicyVersion2Params creates a new RetrieveSingleLocalizedPolicyVersion2Params object with the default values initialized.
func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithContext ¶ added in v0.38.0
func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion2Params
NewRetrieveSingleLocalizedPolicyVersion2ParamsWithContext creates a new RetrieveSingleLocalizedPolicyVersion2Params object with the default values initialized, and the ability to set a context for a request
func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithHTTPClient ¶ added in v0.38.0
func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion2Params
NewRetrieveSingleLocalizedPolicyVersion2ParamsWithHTTPClient creates a new RetrieveSingleLocalizedPolicyVersion2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithTimeout ¶ added in v0.38.0
func NewRetrieveSingleLocalizedPolicyVersion2ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion2Params
NewRetrieveSingleLocalizedPolicyVersion2ParamsWithTimeout creates a new RetrieveSingleLocalizedPolicyVersion2Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveSingleLocalizedPolicyVersion2Params) SetAuthInfoWriter ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve single localized policy version 2 params
func (*RetrieveSingleLocalizedPolicyVersion2Params) SetContext ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve single localized policy version 2 params
func (*RetrieveSingleLocalizedPolicyVersion2Params) SetFlightId ¶ added in v0.63.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrieveSingleLocalizedPolicyVersion2Params) SetHTTPClient ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve single localized policy version 2 params
func (*RetrieveSingleLocalizedPolicyVersion2Params) SetHTTPClientTransport ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve single localized policy version 2 params
func (*RetrieveSingleLocalizedPolicyVersion2Params) SetLocalizedPolicyVersionID ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the retrieve single localized policy version 2 params
func (*RetrieveSingleLocalizedPolicyVersion2Params) SetTimeout ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve single localized policy version 2 params
func (*RetrieveSingleLocalizedPolicyVersion2Params) WithContext ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) WithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion2Params
WithContext adds the context to the retrieve single localized policy version 2 params
func (*RetrieveSingleLocalizedPolicyVersion2Params) WithHTTPClient ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) WithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion2Params
WithHTTPClient adds the HTTPClient to the retrieve single localized policy version 2 params
func (*RetrieveSingleLocalizedPolicyVersion2Params) WithLocalizedPolicyVersionID ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RetrieveSingleLocalizedPolicyVersion2Params
WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the retrieve single localized policy version 2 params
func (*RetrieveSingleLocalizedPolicyVersion2Params) WithTimeout ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) WithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion2Params
WithTimeout adds the timeout to the retrieve single localized policy version 2 params
func (*RetrieveSingleLocalizedPolicyVersion2Params) WriteToRequest ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveSingleLocalizedPolicyVersion2Reader ¶ added in v0.38.0
type RetrieveSingleLocalizedPolicyVersion2Reader struct {
// contains filtered or unexported fields
}
RetrieveSingleLocalizedPolicyVersion2Reader is a Reader for the RetrieveSingleLocalizedPolicyVersion2 structure.
func (*RetrieveSingleLocalizedPolicyVersion2Reader) ReadResponse ¶ added in v0.38.0
func (o *RetrieveSingleLocalizedPolicyVersion2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveSingleLocalizedPolicyVersionNotFound ¶ added in v0.34.0
type RetrieveSingleLocalizedPolicyVersionNotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSingleLocalizedPolicyVersionNotFound 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 NewRetrieveSingleLocalizedPolicyVersionNotFound ¶ added in v0.34.0
func NewRetrieveSingleLocalizedPolicyVersionNotFound() *RetrieveSingleLocalizedPolicyVersionNotFound
NewRetrieveSingleLocalizedPolicyVersionNotFound creates a RetrieveSingleLocalizedPolicyVersionNotFound with default headers values
func (*RetrieveSingleLocalizedPolicyVersionNotFound) Error ¶ added in v0.34.0
func (o *RetrieveSingleLocalizedPolicyVersionNotFound) Error() string
func (*RetrieveSingleLocalizedPolicyVersionNotFound) GetPayload ¶ added in v0.34.0
func (o *RetrieveSingleLocalizedPolicyVersionNotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveSingleLocalizedPolicyVersionNotFound) ToJSONString ¶ added in v0.34.0
func (o *RetrieveSingleLocalizedPolicyVersionNotFound) ToJSONString() string
type RetrieveSingleLocalizedPolicyVersionOK ¶
type RetrieveSingleLocalizedPolicyVersionOK struct {
Payload *legalclientmodels.RetrieveLocalizedPolicyVersionResponse
}
RetrieveSingleLocalizedPolicyVersionOK handles this case with default header values.
successful operation
func NewRetrieveSingleLocalizedPolicyVersionOK ¶
func NewRetrieveSingleLocalizedPolicyVersionOK() *RetrieveSingleLocalizedPolicyVersionOK
NewRetrieveSingleLocalizedPolicyVersionOK creates a RetrieveSingleLocalizedPolicyVersionOK with default headers values
func (*RetrieveSingleLocalizedPolicyVersionOK) Error ¶
func (o *RetrieveSingleLocalizedPolicyVersionOK) Error() string
func (*RetrieveSingleLocalizedPolicyVersionOK) GetPayload ¶
func (o *RetrieveSingleLocalizedPolicyVersionOK) GetPayload() *legalclientmodels.RetrieveLocalizedPolicyVersionResponse
func (*RetrieveSingleLocalizedPolicyVersionOK) ToJSONString ¶ added in v0.25.0
func (o *RetrieveSingleLocalizedPolicyVersionOK) ToJSONString() string
type RetrieveSingleLocalizedPolicyVersionParams ¶
type RetrieveSingleLocalizedPolicyVersionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID 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 }
RetrieveSingleLocalizedPolicyVersionParams contains all the parameters to send to the API endpoint for the retrieve single localized policy version operation typically these are written to a http.Request
func NewRetrieveSingleLocalizedPolicyVersionParams ¶
func NewRetrieveSingleLocalizedPolicyVersionParams() *RetrieveSingleLocalizedPolicyVersionParams
NewRetrieveSingleLocalizedPolicyVersionParams creates a new RetrieveSingleLocalizedPolicyVersionParams object with the default values initialized.
func NewRetrieveSingleLocalizedPolicyVersionParamsWithContext ¶
func NewRetrieveSingleLocalizedPolicyVersionParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersionParams
NewRetrieveSingleLocalizedPolicyVersionParamsWithContext creates a new RetrieveSingleLocalizedPolicyVersionParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveSingleLocalizedPolicyVersionParamsWithHTTPClient ¶
func NewRetrieveSingleLocalizedPolicyVersionParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersionParams
NewRetrieveSingleLocalizedPolicyVersionParamsWithHTTPClient creates a new RetrieveSingleLocalizedPolicyVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveSingleLocalizedPolicyVersionParamsWithTimeout ¶
func NewRetrieveSingleLocalizedPolicyVersionParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersionParams
NewRetrieveSingleLocalizedPolicyVersionParamsWithTimeout creates a new RetrieveSingleLocalizedPolicyVersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveSingleLocalizedPolicyVersionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrieveSingleLocalizedPolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve single localized policy version params
func (*RetrieveSingleLocalizedPolicyVersionParams) SetContext ¶
func (o *RetrieveSingleLocalizedPolicyVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve single localized policy version params
func (*RetrieveSingleLocalizedPolicyVersionParams) SetFlightId ¶ added in v0.63.0
func (o *RetrieveSingleLocalizedPolicyVersionParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrieveSingleLocalizedPolicyVersionParams) SetHTTPClient ¶
func (o *RetrieveSingleLocalizedPolicyVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve single localized policy version params
func (*RetrieveSingleLocalizedPolicyVersionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrieveSingleLocalizedPolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve single localized policy version params
func (*RetrieveSingleLocalizedPolicyVersionParams) SetLocalizedPolicyVersionID ¶
func (o *RetrieveSingleLocalizedPolicyVersionParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the retrieve single localized policy version params
func (*RetrieveSingleLocalizedPolicyVersionParams) SetTimeout ¶
func (o *RetrieveSingleLocalizedPolicyVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve single localized policy version params
func (*RetrieveSingleLocalizedPolicyVersionParams) WithContext ¶
func (o *RetrieveSingleLocalizedPolicyVersionParams) WithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersionParams
WithContext adds the context to the retrieve single localized policy version params
func (*RetrieveSingleLocalizedPolicyVersionParams) WithHTTPClient ¶
func (o *RetrieveSingleLocalizedPolicyVersionParams) WithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersionParams
WithHTTPClient adds the HTTPClient to the retrieve single localized policy version params
func (*RetrieveSingleLocalizedPolicyVersionParams) WithLocalizedPolicyVersionID ¶
func (o *RetrieveSingleLocalizedPolicyVersionParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *RetrieveSingleLocalizedPolicyVersionParams
WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the retrieve single localized policy version params
func (*RetrieveSingleLocalizedPolicyVersionParams) WithTimeout ¶
func (o *RetrieveSingleLocalizedPolicyVersionParams) WithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersionParams
WithTimeout adds the timeout to the retrieve single localized policy version params
func (*RetrieveSingleLocalizedPolicyVersionParams) WriteToRequest ¶
func (o *RetrieveSingleLocalizedPolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveSingleLocalizedPolicyVersionReader ¶
type RetrieveSingleLocalizedPolicyVersionReader struct {
// contains filtered or unexported fields
}
RetrieveSingleLocalizedPolicyVersionReader is a Reader for the RetrieveSingleLocalizedPolicyVersion structure.
func (*RetrieveSingleLocalizedPolicyVersionReader) ReadResponse ¶
func (o *RetrieveSingleLocalizedPolicyVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetDefaultPolicyBadRequest ¶ added in v0.34.0
type SetDefaultPolicyBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
SetDefaultPolicyBadRequest 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_localize_policy_version</td></tr></table>
func NewSetDefaultPolicyBadRequest ¶ added in v0.34.0
func NewSetDefaultPolicyBadRequest() *SetDefaultPolicyBadRequest
NewSetDefaultPolicyBadRequest creates a SetDefaultPolicyBadRequest with default headers values
func (*SetDefaultPolicyBadRequest) Error ¶ added in v0.34.0
func (o *SetDefaultPolicyBadRequest) Error() string
func (*SetDefaultPolicyBadRequest) GetPayload ¶ added in v0.34.0
func (o *SetDefaultPolicyBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*SetDefaultPolicyBadRequest) ToJSONString ¶ added in v0.34.0
func (o *SetDefaultPolicyBadRequest) ToJSONString() string
type SetDefaultPolicyOK ¶
type SetDefaultPolicyOK struct { }
SetDefaultPolicyOK handles this case with default header values.
Successful operation
func NewSetDefaultPolicyOK ¶
func NewSetDefaultPolicyOK() *SetDefaultPolicyOK
NewSetDefaultPolicyOK creates a SetDefaultPolicyOK with default headers values
func (*SetDefaultPolicyOK) Error ¶
func (o *SetDefaultPolicyOK) Error() string
type SetDefaultPolicyParams ¶
type SetDefaultPolicyParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID 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 }
SetDefaultPolicyParams contains all the parameters to send to the API endpoint for the set default policy operation typically these are written to a http.Request
func NewSetDefaultPolicyParams ¶
func NewSetDefaultPolicyParams() *SetDefaultPolicyParams
NewSetDefaultPolicyParams creates a new SetDefaultPolicyParams object with the default values initialized.
func NewSetDefaultPolicyParamsWithContext ¶
func NewSetDefaultPolicyParamsWithContext(ctx context.Context) *SetDefaultPolicyParams
NewSetDefaultPolicyParamsWithContext creates a new SetDefaultPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewSetDefaultPolicyParamsWithHTTPClient ¶
func NewSetDefaultPolicyParamsWithHTTPClient(client *http.Client) *SetDefaultPolicyParams
NewSetDefaultPolicyParamsWithHTTPClient creates a new SetDefaultPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetDefaultPolicyParamsWithTimeout ¶
func NewSetDefaultPolicyParamsWithTimeout(timeout time.Duration) *SetDefaultPolicyParams
NewSetDefaultPolicyParamsWithTimeout creates a new SetDefaultPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetDefaultPolicyParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *SetDefaultPolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the set default policy params
func (*SetDefaultPolicyParams) SetContext ¶
func (o *SetDefaultPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the set default policy params
func (*SetDefaultPolicyParams) SetFlightId ¶ added in v0.63.0
func (o *SetDefaultPolicyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*SetDefaultPolicyParams) SetHTTPClient ¶
func (o *SetDefaultPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set default policy params
func (*SetDefaultPolicyParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *SetDefaultPolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the set default policy params
func (*SetDefaultPolicyParams) SetLocalizedPolicyVersionID ¶
func (o *SetDefaultPolicyParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the set default policy params
func (*SetDefaultPolicyParams) SetTimeout ¶
func (o *SetDefaultPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set default policy params
func (*SetDefaultPolicyParams) WithContext ¶
func (o *SetDefaultPolicyParams) WithContext(ctx context.Context) *SetDefaultPolicyParams
WithContext adds the context to the set default policy params
func (*SetDefaultPolicyParams) WithHTTPClient ¶
func (o *SetDefaultPolicyParams) WithHTTPClient(client *http.Client) *SetDefaultPolicyParams
WithHTTPClient adds the HTTPClient to the set default policy params
func (*SetDefaultPolicyParams) WithLocalizedPolicyVersionID ¶
func (o *SetDefaultPolicyParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *SetDefaultPolicyParams
WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the set default policy params
func (*SetDefaultPolicyParams) WithTimeout ¶
func (o *SetDefaultPolicyParams) WithTimeout(timeout time.Duration) *SetDefaultPolicyParams
WithTimeout adds the timeout to the set default policy params
func (*SetDefaultPolicyParams) WriteToRequest ¶
func (o *SetDefaultPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetDefaultPolicyReader ¶
type SetDefaultPolicyReader struct {
// contains filtered or unexported fields
}
SetDefaultPolicyReader is a Reader for the SetDefaultPolicy structure.
func (*SetDefaultPolicyReader) ReadResponse ¶
func (o *SetDefaultPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateLocalizedPolicyVersionBadRequest ¶
type UpdateLocalizedPolicyVersionBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
UpdateLocalizedPolicyVersionBadRequest 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 NewUpdateLocalizedPolicyVersionBadRequest ¶
func NewUpdateLocalizedPolicyVersionBadRequest() *UpdateLocalizedPolicyVersionBadRequest
NewUpdateLocalizedPolicyVersionBadRequest creates a UpdateLocalizedPolicyVersionBadRequest with default headers values
func (*UpdateLocalizedPolicyVersionBadRequest) Error ¶
func (o *UpdateLocalizedPolicyVersionBadRequest) Error() string
func (*UpdateLocalizedPolicyVersionBadRequest) GetPayload ¶
func (o *UpdateLocalizedPolicyVersionBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*UpdateLocalizedPolicyVersionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UpdateLocalizedPolicyVersionBadRequest) ToJSONString() string
type UpdateLocalizedPolicyVersionOK ¶
type UpdateLocalizedPolicyVersionOK struct {
Payload *legalclientmodels.UpdateLocalizedPolicyVersionResponse
}
UpdateLocalizedPolicyVersionOK handles this case with default header values.
successful operation
func NewUpdateLocalizedPolicyVersionOK ¶
func NewUpdateLocalizedPolicyVersionOK() *UpdateLocalizedPolicyVersionOK
NewUpdateLocalizedPolicyVersionOK creates a UpdateLocalizedPolicyVersionOK with default headers values
func (*UpdateLocalizedPolicyVersionOK) Error ¶
func (o *UpdateLocalizedPolicyVersionOK) Error() string
func (*UpdateLocalizedPolicyVersionOK) GetPayload ¶
func (o *UpdateLocalizedPolicyVersionOK) GetPayload() *legalclientmodels.UpdateLocalizedPolicyVersionResponse
func (*UpdateLocalizedPolicyVersionOK) ToJSONString ¶ added in v0.25.0
func (o *UpdateLocalizedPolicyVersionOK) ToJSONString() string
type UpdateLocalizedPolicyVersionParams ¶
type UpdateLocalizedPolicyVersionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.UpdateLocalizedPolicyVersionRequest /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID 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 }
UpdateLocalizedPolicyVersionParams contains all the parameters to send to the API endpoint for the update localized policy version operation typically these are written to a http.Request
func NewUpdateLocalizedPolicyVersionParams ¶
func NewUpdateLocalizedPolicyVersionParams() *UpdateLocalizedPolicyVersionParams
NewUpdateLocalizedPolicyVersionParams creates a new UpdateLocalizedPolicyVersionParams object with the default values initialized.
func NewUpdateLocalizedPolicyVersionParamsWithContext ¶
func NewUpdateLocalizedPolicyVersionParamsWithContext(ctx context.Context) *UpdateLocalizedPolicyVersionParams
NewUpdateLocalizedPolicyVersionParamsWithContext creates a new UpdateLocalizedPolicyVersionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateLocalizedPolicyVersionParamsWithHTTPClient ¶
func NewUpdateLocalizedPolicyVersionParamsWithHTTPClient(client *http.Client) *UpdateLocalizedPolicyVersionParams
NewUpdateLocalizedPolicyVersionParamsWithHTTPClient creates a new UpdateLocalizedPolicyVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateLocalizedPolicyVersionParamsWithTimeout ¶
func NewUpdateLocalizedPolicyVersionParamsWithTimeout(timeout time.Duration) *UpdateLocalizedPolicyVersionParams
NewUpdateLocalizedPolicyVersionParamsWithTimeout creates a new UpdateLocalizedPolicyVersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateLocalizedPolicyVersionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateLocalizedPolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) SetBody ¶
func (o *UpdateLocalizedPolicyVersionParams) SetBody(body *legalclientmodels.UpdateLocalizedPolicyVersionRequest)
SetBody adds the body to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) SetContext ¶
func (o *UpdateLocalizedPolicyVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) SetFlightId ¶ added in v0.63.0
func (o *UpdateLocalizedPolicyVersionParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateLocalizedPolicyVersionParams) SetHTTPClient ¶
func (o *UpdateLocalizedPolicyVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateLocalizedPolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) SetLocalizedPolicyVersionID ¶
func (o *UpdateLocalizedPolicyVersionParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) SetTimeout ¶
func (o *UpdateLocalizedPolicyVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) WithBody ¶
func (o *UpdateLocalizedPolicyVersionParams) WithBody(body *legalclientmodels.UpdateLocalizedPolicyVersionRequest) *UpdateLocalizedPolicyVersionParams
WithBody adds the body to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) WithContext ¶
func (o *UpdateLocalizedPolicyVersionParams) WithContext(ctx context.Context) *UpdateLocalizedPolicyVersionParams
WithContext adds the context to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) WithHTTPClient ¶
func (o *UpdateLocalizedPolicyVersionParams) WithHTTPClient(client *http.Client) *UpdateLocalizedPolicyVersionParams
WithHTTPClient adds the HTTPClient to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) WithLocalizedPolicyVersionID ¶
func (o *UpdateLocalizedPolicyVersionParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *UpdateLocalizedPolicyVersionParams
WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) WithTimeout ¶
func (o *UpdateLocalizedPolicyVersionParams) WithTimeout(timeout time.Duration) *UpdateLocalizedPolicyVersionParams
WithTimeout adds the timeout to the update localized policy version params
func (*UpdateLocalizedPolicyVersionParams) WriteToRequest ¶
func (o *UpdateLocalizedPolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateLocalizedPolicyVersionReader ¶
type UpdateLocalizedPolicyVersionReader struct {
// contains filtered or unexported fields
}
UpdateLocalizedPolicyVersionReader is a Reader for the UpdateLocalizedPolicyVersion structure.
func (*UpdateLocalizedPolicyVersionReader) ReadResponse ¶
func (o *UpdateLocalizedPolicyVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_localized_policy_version_parameters.go
- create_localized_policy_version_responses.go
- localized_policy_versions_client.go
- request_presigned_url_parameters.go
- request_presigned_url_responses.go
- retrieve_localized_policy_versions_parameters.go
- retrieve_localized_policy_versions_responses.go
- retrieve_single_localized_policy_version_2_parameters.go
- retrieve_single_localized_policy_version_2_responses.go
- retrieve_single_localized_policy_version_parameters.go
- retrieve_single_localized_policy_version_responses.go
- set_default_policy_parameters.go
- set_default_policy_responses.go
- update_localized_policy_version_parameters.go
- update_localized_policy_version_responses.go