Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateLocalizedPolicyVersion(params *CreateLocalizedPolicyVersionParams, ...) (*CreateLocalizedPolicyVersionCreated, *CreateLocalizedPolicyVersionBadRequest, ...)
- func (a *Client) CreateLocalizedPolicyVersionShort(params *CreateLocalizedPolicyVersionParams, ...) (*CreateLocalizedPolicyVersionCreated, error)
- func (a *Client) RequestPresignedURL(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, *RequestPresignedURLBadRequest, error)
- func (a *Client) RequestPresignedURLShort(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, error)
- func (a *Client) RetrieveLocalizedPolicyVersions(params *RetrieveLocalizedPolicyVersionsParams, ...) (*RetrieveLocalizedPolicyVersionsOK, error)
- func (a *Client) RetrieveLocalizedPolicyVersionsShort(params *RetrieveLocalizedPolicyVersionsParams, ...) (*RetrieveLocalizedPolicyVersionsOK, error)
- func (a *Client) RetrieveSingleLocalizedPolicyVersion(params *RetrieveSingleLocalizedPolicyVersionParams, ...) (*RetrieveSingleLocalizedPolicyVersionOK, ...)
- func (a *Client) RetrieveSingleLocalizedPolicyVersion1(params *RetrieveSingleLocalizedPolicyVersion1Params) (*RetrieveSingleLocalizedPolicyVersion1OK, ...)
- func (a *Client) RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params) (*RetrieveSingleLocalizedPolicyVersion1OK, error)
- func (a *Client) RetrieveSingleLocalizedPolicyVersionShort(params *RetrieveSingleLocalizedPolicyVersionParams, ...) (*RetrieveSingleLocalizedPolicyVersionOK, error)
- func (a *Client) SetDefaultPolicy(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error)
- 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, ...)
- 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) 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) 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) 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 RetrieveSingleLocalizedPolicyVersion1NotFound
- type RetrieveSingleLocalizedPolicyVersion1OK
- type RetrieveSingleLocalizedPolicyVersion1Params
- func NewRetrieveSingleLocalizedPolicyVersion1Params() *RetrieveSingleLocalizedPolicyVersion1Params
- func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion1Params
- func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion1Params
- func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion1Params
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetContext(ctx context.Context)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) 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) WithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion1Params
- func (o *RetrieveSingleLocalizedPolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveSingleLocalizedPolicyVersion1Reader
- type RetrieveSingleLocalizedPolicyVersionBadRequest
- 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) 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 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) 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) 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 ¶
func (a *Client) CreateLocalizedPolicyVersion(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, *CreateLocalizedPolicyVersionBadRequest, *CreateLocalizedPolicyVersionConflict, error)
CreateLocalizedPolicyVersion creates a localized version from country specific policy
Create a version of a particular country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=1 (CREATE)</li></ul>
func (*Client) CreateLocalizedPolicyVersionShort ¶ added in v0.8.0
func (a *Client) CreateLocalizedPolicyVersionShort(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, error)
func (*Client) RequestPresignedURL ¶
func (a *Client) RequestPresignedURL(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, *RequestPresignedURLBadRequest, error)
RequestPresignedURL requests presigned URL for upload document
Request presigned URL for upload attachment for a particular localized version of base policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=1 (CREATE)</li></ul>
func (*Client) RequestPresignedURLShort ¶ added in v0.8.0
func (a *Client) RequestPresignedURLShort(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, error)
func (*Client) RetrieveLocalizedPolicyVersions ¶
func (a *Client) RetrieveLocalizedPolicyVersions(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error)
RetrieveLocalizedPolicyVersions retrieves versions from country specific policy
Retrieve versions of a particular country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>
func (*Client) RetrieveLocalizedPolicyVersionsShort ¶ added in v0.8.0
func (a *Client) RetrieveLocalizedPolicyVersionsShort(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error)
func (*Client) RetrieveSingleLocalizedPolicyVersion ¶
func (a *Client) RetrieveSingleLocalizedPolicyVersion(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, *RetrieveSingleLocalizedPolicyVersionBadRequest, error)
RetrieveSingleLocalizedPolicyVersion retrieves a localized version from country specific policy
Retrieve a version of a particular country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>
func (*Client) RetrieveSingleLocalizedPolicyVersion1 ¶
func (a *Client) RetrieveSingleLocalizedPolicyVersion1(params *RetrieveSingleLocalizedPolicyVersion1Params) (*RetrieveSingleLocalizedPolicyVersion1OK, *RetrieveSingleLocalizedPolicyVersion1NotFound, error)
RetrieveSingleLocalizedPolicyVersion1 retrieves a localized version
Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.<br>Other detail info: <ul></ul>
func (*Client) RetrieveSingleLocalizedPolicyVersion1Short ¶ added in v0.8.0
func (a *Client) RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params) (*RetrieveSingleLocalizedPolicyVersion1OK, error)
func (*Client) RetrieveSingleLocalizedPolicyVersionShort ¶ added in v0.8.0
func (a *Client) RetrieveSingleLocalizedPolicyVersionShort(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, error)
func (*Client) SetDefaultPolicy ¶
func (a *Client) SetDefaultPolicy(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error)
SetDefaultPolicy sets default localized policy
Update a localized version policy to be the default.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=4 (UPDATE)</li></ul>
func (*Client) SetDefaultPolicyShort ¶ added in v0.8.0
func (a *Client) SetDefaultPolicyShort(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLocalizedPolicyVersion ¶
func (a *Client) UpdateLocalizedPolicyVersion(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, *UpdateLocalizedPolicyVersionBadRequest, error)
UpdateLocalizedPolicyVersion updates a localized version from country specific policy
Update a version of a particular country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=4 (UPDATE)</li></ul>
func (*Client) UpdateLocalizedPolicyVersionShort ¶ added in v0.8.0
func (a *Client) UpdateLocalizedPolicyVersionShort(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, error)
type ClientService ¶
type ClientService interface { CreateLocalizedPolicyVersion(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, *CreateLocalizedPolicyVersionBadRequest, *CreateLocalizedPolicyVersionConflict, error) CreateLocalizedPolicyVersionShort(params *CreateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocalizedPolicyVersionCreated, error) RequestPresignedURL(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, *RequestPresignedURLBadRequest, error) RequestPresignedURLShort(params *RequestPresignedURLParams, authInfo runtime.ClientAuthInfoWriter) (*RequestPresignedURLCreated, error) RetrieveLocalizedPolicyVersions(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error) RetrieveLocalizedPolicyVersionsShort(params *RetrieveLocalizedPolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveLocalizedPolicyVersionsOK, error) RetrieveSingleLocalizedPolicyVersion(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, *RetrieveSingleLocalizedPolicyVersionBadRequest, error) RetrieveSingleLocalizedPolicyVersionShort(params *RetrieveSingleLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSingleLocalizedPolicyVersionOK, error) RetrieveSingleLocalizedPolicyVersion1(params *RetrieveSingleLocalizedPolicyVersion1Params) (*RetrieveSingleLocalizedPolicyVersion1OK, *RetrieveSingleLocalizedPolicyVersion1NotFound, error) RetrieveSingleLocalizedPolicyVersion1Short(params *RetrieveSingleLocalizedPolicyVersion1Params) (*RetrieveSingleLocalizedPolicyVersion1OK, error) SetDefaultPolicy(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error) SetDefaultPolicyShort(params *SetDefaultPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicyOK, error) UpdateLocalizedPolicyVersion(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, *UpdateLocalizedPolicyVersionBadRequest, error) UpdateLocalizedPolicyVersionShort(params *UpdateLocalizedPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizedPolicyVersionOK, 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
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
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
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 // 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) 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
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
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 // 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) 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
type RetrieveLocalizedPolicyVersionsParams ¶
type RetrieveLocalizedPolicyVersionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*PolicyVersionID Policy Version Id */ PolicyVersionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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) 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 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>40038</td><td>errors.net.accelbyte.platform.legal.localized_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
type RetrieveSingleLocalizedPolicyVersion1OK ¶
type RetrieveSingleLocalizedPolicyVersion1OK struct {
Payload *legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse
}
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.RetrieveLocalizedPolicyVersionPublicResponse
type RetrieveSingleLocalizedPolicyVersion1Params ¶
type RetrieveSingleLocalizedPolicyVersion1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveSingleLocalizedPolicyVersion1Params contains all the parameters to send to the API endpoint for the retrieve single localized policy version 1 operation typically these are written to a http.Request
func NewRetrieveSingleLocalizedPolicyVersion1Params ¶
func NewRetrieveSingleLocalizedPolicyVersion1Params() *RetrieveSingleLocalizedPolicyVersion1Params
NewRetrieveSingleLocalizedPolicyVersion1Params creates a new RetrieveSingleLocalizedPolicyVersion1Params object with the default values initialized.
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext ¶
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext(ctx context.Context) *RetrieveSingleLocalizedPolicyVersion1Params
NewRetrieveSingleLocalizedPolicyVersion1ParamsWithContext creates a new RetrieveSingleLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a context for a request
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient ¶
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient(client *http.Client) *RetrieveSingleLocalizedPolicyVersion1Params
NewRetrieveSingleLocalizedPolicyVersion1ParamsWithHTTPClient creates a new RetrieveSingleLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout ¶
func NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout(timeout time.Duration) *RetrieveSingleLocalizedPolicyVersion1Params
NewRetrieveSingleLocalizedPolicyVersion1ParamsWithTimeout creates a new RetrieveSingleLocalizedPolicyVersion1Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveSingleLocalizedPolicyVersion1Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) SetContext ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClient ¶
func (o *RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve single localized policy version 1 params
func (*RetrieveSingleLocalizedPolicyVersion1Params) SetHTTPClientTransport ¶ added in v0.19.0
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) 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) 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 RetrieveSingleLocalizedPolicyVersionBadRequest ¶
type RetrieveSingleLocalizedPolicyVersionBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSingleLocalizedPolicyVersionBadRequest 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.invalid_policy_version</td></tr></table>
func NewRetrieveSingleLocalizedPolicyVersionBadRequest ¶
func NewRetrieveSingleLocalizedPolicyVersionBadRequest() *RetrieveSingleLocalizedPolicyVersionBadRequest
NewRetrieveSingleLocalizedPolicyVersionBadRequest creates a RetrieveSingleLocalizedPolicyVersionBadRequest with default headers values
func (*RetrieveSingleLocalizedPolicyVersionBadRequest) Error ¶
func (o *RetrieveSingleLocalizedPolicyVersionBadRequest) Error() string
func (*RetrieveSingleLocalizedPolicyVersionBadRequest) GetPayload ¶
func (o *RetrieveSingleLocalizedPolicyVersionBadRequest) GetPayload() *legalclientmodels.ErrorEntity
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
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 // 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) 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 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 // 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) 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
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
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 // 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) 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_version1_parameters.go
- retrieve_single_localized_policy_version1_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