Documentation
¶
Index ¶
- type Client
- func (a *Client) CreatePolicyVersion(params *CreatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersionCreated, *CreatePolicyVersionBadRequest, error)
- func (a *Client) CreatePolicyVersionShort(params *CreatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersionCreated, error)
- func (a *Client) PublishPolicyVersion(params *PublishPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersionOK, *PublishPolicyVersionBadRequest, error)
- func (a *Client) PublishPolicyVersionShort(params *PublishPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersionOK, error)
- func (a *Client) RetrievePolicyVersions(params *RetrievePolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyVersionsOK, *RetrievePolicyVersionsNotFound, error)
- func (a *Client) RetrievePolicyVersionsShort(params *RetrievePolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyVersionsOK, error)
- func (a *Client) RetrieveSinglePolicyVersion(params *RetrieveSinglePolicyVersionParams, ...) (*RetrieveSinglePolicyVersionOK, *RetrieveSinglePolicyVersionNotFound, error)
- func (a *Client) RetrieveSinglePolicyVersionShort(params *RetrieveSinglePolicyVersionParams, ...) (*RetrieveSinglePolicyVersionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePolicyVersion(params *UpdatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersionOK, *UpdatePolicyVersionBadRequest, error)
- func (a *Client) UpdatePolicyVersionShort(params *UpdatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersionOK, error)
- type ClientService
- type CreatePolicyVersionBadRequest
- type CreatePolicyVersionCreated
- type CreatePolicyVersionParams
- func NewCreatePolicyVersionParams() *CreatePolicyVersionParams
- func NewCreatePolicyVersionParamsWithContext(ctx context.Context) *CreatePolicyVersionParams
- func NewCreatePolicyVersionParamsWithHTTPClient(client *http.Client) *CreatePolicyVersionParams
- func NewCreatePolicyVersionParamsWithTimeout(timeout time.Duration) *CreatePolicyVersionParams
- func (o *CreatePolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreatePolicyVersionParams) SetBody(body *legalclientmodels.CreatePolicyVersionRequest)
- func (o *CreatePolicyVersionParams) SetContext(ctx context.Context)
- func (o *CreatePolicyVersionParams) SetHTTPClient(client *http.Client)
- func (o *CreatePolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreatePolicyVersionParams) SetPolicyID(policyID string)
- func (o *CreatePolicyVersionParams) SetTimeout(timeout time.Duration)
- func (o *CreatePolicyVersionParams) WithBody(body *legalclientmodels.CreatePolicyVersionRequest) *CreatePolicyVersionParams
- func (o *CreatePolicyVersionParams) WithContext(ctx context.Context) *CreatePolicyVersionParams
- func (o *CreatePolicyVersionParams) WithHTTPClient(client *http.Client) *CreatePolicyVersionParams
- func (o *CreatePolicyVersionParams) WithPolicyID(policyID string) *CreatePolicyVersionParams
- func (o *CreatePolicyVersionParams) WithTimeout(timeout time.Duration) *CreatePolicyVersionParams
- func (o *CreatePolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePolicyVersionReader
- type PublishPolicyVersionBadRequest
- type PublishPolicyVersionOK
- type PublishPolicyVersionParams
- func NewPublishPolicyVersionParams() *PublishPolicyVersionParams
- func NewPublishPolicyVersionParamsWithContext(ctx context.Context) *PublishPolicyVersionParams
- func NewPublishPolicyVersionParamsWithHTTPClient(client *http.Client) *PublishPolicyVersionParams
- func NewPublishPolicyVersionParamsWithTimeout(timeout time.Duration) *PublishPolicyVersionParams
- func (o *PublishPolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublishPolicyVersionParams) SetContext(ctx context.Context)
- func (o *PublishPolicyVersionParams) SetHTTPClient(client *http.Client)
- func (o *PublishPolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublishPolicyVersionParams) SetPolicyVersionID(policyVersionID string)
- func (o *PublishPolicyVersionParams) SetShouldNotify(shouldNotify *bool)
- func (o *PublishPolicyVersionParams) SetTimeout(timeout time.Duration)
- func (o *PublishPolicyVersionParams) WithContext(ctx context.Context) *PublishPolicyVersionParams
- func (o *PublishPolicyVersionParams) WithHTTPClient(client *http.Client) *PublishPolicyVersionParams
- func (o *PublishPolicyVersionParams) WithPolicyVersionID(policyVersionID string) *PublishPolicyVersionParams
- func (o *PublishPolicyVersionParams) WithShouldNotify(shouldNotify *bool) *PublishPolicyVersionParams
- func (o *PublishPolicyVersionParams) WithTimeout(timeout time.Duration) *PublishPolicyVersionParams
- func (o *PublishPolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublishPolicyVersionReader
- type RetrievePolicyVersionsNotFound
- type RetrievePolicyVersionsOK
- type RetrievePolicyVersionsParams
- func NewRetrievePolicyVersionsParams() *RetrievePolicyVersionsParams
- func NewRetrievePolicyVersionsParamsWithContext(ctx context.Context) *RetrievePolicyVersionsParams
- func NewRetrievePolicyVersionsParamsWithHTTPClient(client *http.Client) *RetrievePolicyVersionsParams
- func NewRetrievePolicyVersionsParamsWithTimeout(timeout time.Duration) *RetrievePolicyVersionsParams
- func (o *RetrievePolicyVersionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrievePolicyVersionsParams) SetBasePolicyID(basePolicyID *string)
- func (o *RetrievePolicyVersionsParams) SetContext(ctx context.Context)
- func (o *RetrievePolicyVersionsParams) SetHTTPClient(client *http.Client)
- func (o *RetrievePolicyVersionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrievePolicyVersionsParams) SetLocaleID(localeID *string)
- func (o *RetrievePolicyVersionsParams) SetNamespace(namespace *string)
- func (o *RetrievePolicyVersionsParams) SetTimeout(timeout time.Duration)
- func (o *RetrievePolicyVersionsParams) WithBasePolicyID(basePolicyID *string) *RetrievePolicyVersionsParams
- func (o *RetrievePolicyVersionsParams) WithContext(ctx context.Context) *RetrievePolicyVersionsParams
- func (o *RetrievePolicyVersionsParams) WithHTTPClient(client *http.Client) *RetrievePolicyVersionsParams
- func (o *RetrievePolicyVersionsParams) WithLocaleID(localeID *string) *RetrievePolicyVersionsParams
- func (o *RetrievePolicyVersionsParams) WithNamespace(namespace *string) *RetrievePolicyVersionsParams
- func (o *RetrievePolicyVersionsParams) WithTimeout(timeout time.Duration) *RetrievePolicyVersionsParams
- func (o *RetrievePolicyVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrievePolicyVersionsReader
- type RetrieveSinglePolicyVersionNotFound
- type RetrieveSinglePolicyVersionOK
- type RetrieveSinglePolicyVersionParams
- func NewRetrieveSinglePolicyVersionParams() *RetrieveSinglePolicyVersionParams
- func NewRetrieveSinglePolicyVersionParamsWithContext(ctx context.Context) *RetrieveSinglePolicyVersionParams
- func NewRetrieveSinglePolicyVersionParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicyVersionParams
- func NewRetrieveSinglePolicyVersionParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicyVersionParams
- func (o *RetrieveSinglePolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveSinglePolicyVersionParams) SetContext(ctx context.Context)
- func (o *RetrieveSinglePolicyVersionParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveSinglePolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveSinglePolicyVersionParams) SetPolicyID(policyID string)
- func (o *RetrieveSinglePolicyVersionParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveSinglePolicyVersionParams) SetVersionID(versionID *string)
- func (o *RetrieveSinglePolicyVersionParams) WithContext(ctx context.Context) *RetrieveSinglePolicyVersionParams
- func (o *RetrieveSinglePolicyVersionParams) WithHTTPClient(client *http.Client) *RetrieveSinglePolicyVersionParams
- func (o *RetrieveSinglePolicyVersionParams) WithPolicyID(policyID string) *RetrieveSinglePolicyVersionParams
- func (o *RetrieveSinglePolicyVersionParams) WithTimeout(timeout time.Duration) *RetrieveSinglePolicyVersionParams
- func (o *RetrieveSinglePolicyVersionParams) WithVersionID(versionID *string) *RetrieveSinglePolicyVersionParams
- func (o *RetrieveSinglePolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveSinglePolicyVersionReader
- type UpdatePolicyVersionBadRequest
- type UpdatePolicyVersionOK
- type UpdatePolicyVersionParams
- func NewUpdatePolicyVersionParams() *UpdatePolicyVersionParams
- func NewUpdatePolicyVersionParamsWithContext(ctx context.Context) *UpdatePolicyVersionParams
- func NewUpdatePolicyVersionParamsWithHTTPClient(client *http.Client) *UpdatePolicyVersionParams
- func NewUpdatePolicyVersionParamsWithTimeout(timeout time.Duration) *UpdatePolicyVersionParams
- func (o *UpdatePolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdatePolicyVersionParams) SetBody(body *legalclientmodels.UpdatePolicyVersionRequest)
- func (o *UpdatePolicyVersionParams) SetContext(ctx context.Context)
- func (o *UpdatePolicyVersionParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdatePolicyVersionParams) SetPolicyVersionID(policyVersionID string)
- func (o *UpdatePolicyVersionParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePolicyVersionParams) WithBody(body *legalclientmodels.UpdatePolicyVersionRequest) *UpdatePolicyVersionParams
- func (o *UpdatePolicyVersionParams) WithContext(ctx context.Context) *UpdatePolicyVersionParams
- func (o *UpdatePolicyVersionParams) WithHTTPClient(client *http.Client) *UpdatePolicyVersionParams
- func (o *UpdatePolicyVersionParams) WithPolicyVersionID(policyVersionID string) *UpdatePolicyVersionParams
- func (o *UpdatePolicyVersionParams) WithTimeout(timeout time.Duration) *UpdatePolicyVersionParams
- func (o *UpdatePolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePolicyVersionReader
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 policy versions API
func (*Client) CreatePolicyVersion ¶
func (a *Client) CreatePolicyVersion(params *CreatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersionCreated, *CreatePolicyVersionBadRequest, error)
CreatePolicyVersion creates a 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) CreatePolicyVersionShort ¶ added in v0.8.0
func (a *Client) CreatePolicyVersionShort(params *CreatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersionCreated, error)
func (*Client) PublishPolicyVersion ¶
func (a *Client) PublishPolicyVersion(params *PublishPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersionOK, *PublishPolicyVersionBadRequest, error)
PublishPolicyVersion manuallies publish a version from country specific policy
Manually publish 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) PublishPolicyVersionShort ¶ added in v0.8.0
func (a *Client) PublishPolicyVersionShort(params *PublishPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersionOK, error)
func (*Client) RetrievePolicyVersions ¶
func (a *Client) RetrievePolicyVersions(params *RetrievePolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyVersionsOK, *RetrievePolicyVersionsNotFound, error)
RetrievePolicyVersions bulks retrieve version of base policy
[TODO] Retrieve one or more legal policies with its versions.<br>If the basePolicyId not supplied, then retrieve only all latest policies version with localeId matched.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>
func (*Client) RetrievePolicyVersionsShort ¶ added in v0.8.0
func (a *Client) RetrievePolicyVersionsShort(params *RetrievePolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyVersionsOK, error)
func (*Client) RetrieveSinglePolicyVersion ¶
func (a *Client) RetrieveSinglePolicyVersion(params *RetrieveSinglePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyVersionOK, *RetrieveSinglePolicyVersionNotFound, error)
RetrieveSinglePolicyVersion retrieves a version from country specific policy
Retrieve a version of a particular country specific policy. If version is not provided, the Legal Service will assume caller requesting all versions from country-specific policy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>
func (*Client) RetrieveSinglePolicyVersionShort ¶ added in v0.8.0
func (a *Client) RetrieveSinglePolicyVersionShort(params *RetrieveSinglePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyVersionOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePolicyVersion ¶
func (a *Client) UpdatePolicyVersion(params *UpdatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersionOK, *UpdatePolicyVersionBadRequest, error)
UpdatePolicyVersion updates a version of policy
Update a particular policy version.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=4 (UPDATE)</li></ul>
func (*Client) UpdatePolicyVersionShort ¶ added in v0.8.0
func (a *Client) UpdatePolicyVersionShort(params *UpdatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersionOK, error)
type ClientService ¶
type ClientService interface { CreatePolicyVersion(params *CreatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersionCreated, *CreatePolicyVersionBadRequest, error) CreatePolicyVersionShort(params *CreatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersionCreated, error) PublishPolicyVersion(params *PublishPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersionOK, *PublishPolicyVersionBadRequest, error) PublishPolicyVersionShort(params *PublishPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersionOK, error) RetrievePolicyVersions(params *RetrievePolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyVersionsOK, *RetrievePolicyVersionsNotFound, error) RetrievePolicyVersionsShort(params *RetrievePolicyVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePolicyVersionsOK, error) RetrieveSinglePolicyVersion(params *RetrieveSinglePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyVersionOK, *RetrieveSinglePolicyVersionNotFound, error) RetrieveSinglePolicyVersionShort(params *RetrieveSinglePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyVersionOK, error) UpdatePolicyVersion(params *UpdatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersionOK, *UpdatePolicyVersionBadRequest, error) UpdatePolicyVersionShort(params *UpdatePolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersionOK, 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 policy versions API client.
type CreatePolicyVersionBadRequest ¶
type CreatePolicyVersionBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
CreatePolicyVersionBadRequest 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</td></tr></table>
func NewCreatePolicyVersionBadRequest ¶
func NewCreatePolicyVersionBadRequest() *CreatePolicyVersionBadRequest
NewCreatePolicyVersionBadRequest creates a CreatePolicyVersionBadRequest with default headers values
func (*CreatePolicyVersionBadRequest) Error ¶
func (o *CreatePolicyVersionBadRequest) Error() string
func (*CreatePolicyVersionBadRequest) GetPayload ¶
func (o *CreatePolicyVersionBadRequest) GetPayload() *legalclientmodels.ErrorEntity
type CreatePolicyVersionCreated ¶
type CreatePolicyVersionCreated struct {
Payload *legalclientmodels.CreatePolicyVersionResponse
}
CreatePolicyVersionCreated handles this case with default header values.
successful operation
func NewCreatePolicyVersionCreated ¶
func NewCreatePolicyVersionCreated() *CreatePolicyVersionCreated
NewCreatePolicyVersionCreated creates a CreatePolicyVersionCreated with default headers values
func (*CreatePolicyVersionCreated) Error ¶
func (o *CreatePolicyVersionCreated) Error() string
func (*CreatePolicyVersionCreated) GetPayload ¶
func (o *CreatePolicyVersionCreated) GetPayload() *legalclientmodels.CreatePolicyVersionResponse
type CreatePolicyVersionParams ¶
type CreatePolicyVersionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.CreatePolicyVersionRequest /*PolicyID Policy Id */ PolicyID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePolicyVersionParams contains all the parameters to send to the API endpoint for the create policy version operation typically these are written to a http.Request
func NewCreatePolicyVersionParams ¶
func NewCreatePolicyVersionParams() *CreatePolicyVersionParams
NewCreatePolicyVersionParams creates a new CreatePolicyVersionParams object with the default values initialized.
func NewCreatePolicyVersionParamsWithContext ¶
func NewCreatePolicyVersionParamsWithContext(ctx context.Context) *CreatePolicyVersionParams
NewCreatePolicyVersionParamsWithContext creates a new CreatePolicyVersionParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePolicyVersionParamsWithHTTPClient ¶
func NewCreatePolicyVersionParamsWithHTTPClient(client *http.Client) *CreatePolicyVersionParams
NewCreatePolicyVersionParamsWithHTTPClient creates a new CreatePolicyVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePolicyVersionParamsWithTimeout ¶
func NewCreatePolicyVersionParamsWithTimeout(timeout time.Duration) *CreatePolicyVersionParams
NewCreatePolicyVersionParamsWithTimeout creates a new CreatePolicyVersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePolicyVersionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreatePolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create policy version params
func (*CreatePolicyVersionParams) SetBody ¶
func (o *CreatePolicyVersionParams) SetBody(body *legalclientmodels.CreatePolicyVersionRequest)
SetBody adds the body to the create policy version params
func (*CreatePolicyVersionParams) SetContext ¶
func (o *CreatePolicyVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the create policy version params
func (*CreatePolicyVersionParams) SetHTTPClient ¶
func (o *CreatePolicyVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create policy version params
func (*CreatePolicyVersionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreatePolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create policy version params
func (*CreatePolicyVersionParams) SetPolicyID ¶
func (o *CreatePolicyVersionParams) SetPolicyID(policyID string)
SetPolicyID adds the policyId to the create policy version params
func (*CreatePolicyVersionParams) SetTimeout ¶
func (o *CreatePolicyVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create policy version params
func (*CreatePolicyVersionParams) WithBody ¶
func (o *CreatePolicyVersionParams) WithBody(body *legalclientmodels.CreatePolicyVersionRequest) *CreatePolicyVersionParams
WithBody adds the body to the create policy version params
func (*CreatePolicyVersionParams) WithContext ¶
func (o *CreatePolicyVersionParams) WithContext(ctx context.Context) *CreatePolicyVersionParams
WithContext adds the context to the create policy version params
func (*CreatePolicyVersionParams) WithHTTPClient ¶
func (o *CreatePolicyVersionParams) WithHTTPClient(client *http.Client) *CreatePolicyVersionParams
WithHTTPClient adds the HTTPClient to the create policy version params
func (*CreatePolicyVersionParams) WithPolicyID ¶
func (o *CreatePolicyVersionParams) WithPolicyID(policyID string) *CreatePolicyVersionParams
WithPolicyID adds the policyID to the create policy version params
func (*CreatePolicyVersionParams) WithTimeout ¶
func (o *CreatePolicyVersionParams) WithTimeout(timeout time.Duration) *CreatePolicyVersionParams
WithTimeout adds the timeout to the create policy version params
func (*CreatePolicyVersionParams) WriteToRequest ¶
func (o *CreatePolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePolicyVersionReader ¶
type CreatePolicyVersionReader struct {
// contains filtered or unexported fields
}
CreatePolicyVersionReader is a Reader for the CreatePolicyVersion structure.
func (*CreatePolicyVersionReader) ReadResponse ¶
func (o *CreatePolicyVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublishPolicyVersionBadRequest ¶
type PublishPolicyVersionBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
PublishPolicyVersionBadRequest 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 NewPublishPolicyVersionBadRequest ¶
func NewPublishPolicyVersionBadRequest() *PublishPolicyVersionBadRequest
NewPublishPolicyVersionBadRequest creates a PublishPolicyVersionBadRequest with default headers values
func (*PublishPolicyVersionBadRequest) Error ¶
func (o *PublishPolicyVersionBadRequest) Error() string
func (*PublishPolicyVersionBadRequest) GetPayload ¶
func (o *PublishPolicyVersionBadRequest) GetPayload() *legalclientmodels.ErrorEntity
type PublishPolicyVersionOK ¶
type PublishPolicyVersionOK struct { }
PublishPolicyVersionOK handles this case with default header values.
successful operation
func NewPublishPolicyVersionOK ¶
func NewPublishPolicyVersionOK() *PublishPolicyVersionOK
NewPublishPolicyVersionOK creates a PublishPolicyVersionOK with default headers values
func (*PublishPolicyVersionOK) Error ¶
func (o *PublishPolicyVersionOK) Error() string
type PublishPolicyVersionParams ¶
type PublishPolicyVersionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*PolicyVersionID Policy Version Id */ PolicyVersionID string /*ShouldNotify Should Notify */ ShouldNotify *bool AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublishPolicyVersionParams contains all the parameters to send to the API endpoint for the publish policy version operation typically these are written to a http.Request
func NewPublishPolicyVersionParams ¶
func NewPublishPolicyVersionParams() *PublishPolicyVersionParams
NewPublishPolicyVersionParams creates a new PublishPolicyVersionParams object with the default values initialized.
func NewPublishPolicyVersionParamsWithContext ¶
func NewPublishPolicyVersionParamsWithContext(ctx context.Context) *PublishPolicyVersionParams
NewPublishPolicyVersionParamsWithContext creates a new PublishPolicyVersionParams object with the default values initialized, and the ability to set a context for a request
func NewPublishPolicyVersionParamsWithHTTPClient ¶
func NewPublishPolicyVersionParamsWithHTTPClient(client *http.Client) *PublishPolicyVersionParams
NewPublishPolicyVersionParamsWithHTTPClient creates a new PublishPolicyVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublishPolicyVersionParamsWithTimeout ¶
func NewPublishPolicyVersionParamsWithTimeout(timeout time.Duration) *PublishPolicyVersionParams
NewPublishPolicyVersionParamsWithTimeout creates a new PublishPolicyVersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublishPolicyVersionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublishPolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the publish policy version params
func (*PublishPolicyVersionParams) SetContext ¶
func (o *PublishPolicyVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the publish policy version params
func (*PublishPolicyVersionParams) SetHTTPClient ¶
func (o *PublishPolicyVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the publish policy version params
func (*PublishPolicyVersionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublishPolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the publish policy version params
func (*PublishPolicyVersionParams) SetPolicyVersionID ¶
func (o *PublishPolicyVersionParams) SetPolicyVersionID(policyVersionID string)
SetPolicyVersionID adds the policyVersionId to the publish policy version params
func (*PublishPolicyVersionParams) SetShouldNotify ¶
func (o *PublishPolicyVersionParams) SetShouldNotify(shouldNotify *bool)
SetShouldNotify adds the shouldNotify to the publish policy version params
func (*PublishPolicyVersionParams) SetTimeout ¶
func (o *PublishPolicyVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the publish policy version params
func (*PublishPolicyVersionParams) WithContext ¶
func (o *PublishPolicyVersionParams) WithContext(ctx context.Context) *PublishPolicyVersionParams
WithContext adds the context to the publish policy version params
func (*PublishPolicyVersionParams) WithHTTPClient ¶
func (o *PublishPolicyVersionParams) WithHTTPClient(client *http.Client) *PublishPolicyVersionParams
WithHTTPClient adds the HTTPClient to the publish policy version params
func (*PublishPolicyVersionParams) WithPolicyVersionID ¶
func (o *PublishPolicyVersionParams) WithPolicyVersionID(policyVersionID string) *PublishPolicyVersionParams
WithPolicyVersionID adds the policyVersionID to the publish policy version params
func (*PublishPolicyVersionParams) WithShouldNotify ¶
func (o *PublishPolicyVersionParams) WithShouldNotify(shouldNotify *bool) *PublishPolicyVersionParams
WithShouldNotify adds the shouldNotify to the publish policy version params
func (*PublishPolicyVersionParams) WithTimeout ¶
func (o *PublishPolicyVersionParams) WithTimeout(timeout time.Duration) *PublishPolicyVersionParams
WithTimeout adds the timeout to the publish policy version params
func (*PublishPolicyVersionParams) WriteToRequest ¶
func (o *PublishPolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublishPolicyVersionReader ¶
type PublishPolicyVersionReader struct {
// contains filtered or unexported fields
}
PublishPolicyVersionReader is a Reader for the PublishPolicyVersion structure.
func (*PublishPolicyVersionReader) ReadResponse ¶
func (o *PublishPolicyVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrievePolicyVersionsNotFound ¶
type RetrievePolicyVersionsNotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrievePolicyVersionsNotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>2920</td><td>errors.net.accelbyte.platform.legal.policy_not_found</td></tr></table>
func NewRetrievePolicyVersionsNotFound ¶
func NewRetrievePolicyVersionsNotFound() *RetrievePolicyVersionsNotFound
NewRetrievePolicyVersionsNotFound creates a RetrievePolicyVersionsNotFound with default headers values
func (*RetrievePolicyVersionsNotFound) Error ¶
func (o *RetrievePolicyVersionsNotFound) Error() string
func (*RetrievePolicyVersionsNotFound) GetPayload ¶
func (o *RetrievePolicyVersionsNotFound) GetPayload() *legalclientmodels.ErrorEntity
type RetrievePolicyVersionsOK ¶
type RetrievePolicyVersionsOK struct {
Payload []*legalclientmodels.RetrievePolicyVersionResponse
}
RetrievePolicyVersionsOK handles this case with default header values.
successful operation
func NewRetrievePolicyVersionsOK ¶
func NewRetrievePolicyVersionsOK() *RetrievePolicyVersionsOK
NewRetrievePolicyVersionsOK creates a RetrievePolicyVersionsOK with default headers values
func (*RetrievePolicyVersionsOK) Error ¶
func (o *RetrievePolicyVersionsOK) Error() string
func (*RetrievePolicyVersionsOK) GetPayload ¶
func (o *RetrievePolicyVersionsOK) GetPayload() []*legalclientmodels.RetrievePolicyVersionResponse
type RetrievePolicyVersionsParams ¶
type RetrievePolicyVersionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*BasePolicyID BasePolicy Id */ BasePolicyID *string /*LocaleID Locale Id */ LocaleID *string /*Namespace Namespace */ Namespace *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrievePolicyVersionsParams contains all the parameters to send to the API endpoint for the retrieve policy versions operation typically these are written to a http.Request
func NewRetrievePolicyVersionsParams ¶
func NewRetrievePolicyVersionsParams() *RetrievePolicyVersionsParams
NewRetrievePolicyVersionsParams creates a new RetrievePolicyVersionsParams object with the default values initialized.
func NewRetrievePolicyVersionsParamsWithContext ¶
func NewRetrievePolicyVersionsParamsWithContext(ctx context.Context) *RetrievePolicyVersionsParams
NewRetrievePolicyVersionsParamsWithContext creates a new RetrievePolicyVersionsParams object with the default values initialized, and the ability to set a context for a request
func NewRetrievePolicyVersionsParamsWithHTTPClient ¶
func NewRetrievePolicyVersionsParamsWithHTTPClient(client *http.Client) *RetrievePolicyVersionsParams
NewRetrievePolicyVersionsParamsWithHTTPClient creates a new RetrievePolicyVersionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrievePolicyVersionsParamsWithTimeout ¶
func NewRetrievePolicyVersionsParamsWithTimeout(timeout time.Duration) *RetrievePolicyVersionsParams
NewRetrievePolicyVersionsParamsWithTimeout creates a new RetrievePolicyVersionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrievePolicyVersionsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrievePolicyVersionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) SetBasePolicyID ¶
func (o *RetrievePolicyVersionsParams) SetBasePolicyID(basePolicyID *string)
SetBasePolicyID adds the basePolicyId to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) SetContext ¶
func (o *RetrievePolicyVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) SetHTTPClient ¶
func (o *RetrievePolicyVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrievePolicyVersionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) SetLocaleID ¶
func (o *RetrievePolicyVersionsParams) SetLocaleID(localeID *string)
SetLocaleID adds the localeId to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) SetNamespace ¶
func (o *RetrievePolicyVersionsParams) SetNamespace(namespace *string)
SetNamespace adds the namespace to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) SetTimeout ¶
func (o *RetrievePolicyVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) WithBasePolicyID ¶
func (o *RetrievePolicyVersionsParams) WithBasePolicyID(basePolicyID *string) *RetrievePolicyVersionsParams
WithBasePolicyID adds the basePolicyID to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) WithContext ¶
func (o *RetrievePolicyVersionsParams) WithContext(ctx context.Context) *RetrievePolicyVersionsParams
WithContext adds the context to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) WithHTTPClient ¶
func (o *RetrievePolicyVersionsParams) WithHTTPClient(client *http.Client) *RetrievePolicyVersionsParams
WithHTTPClient adds the HTTPClient to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) WithLocaleID ¶
func (o *RetrievePolicyVersionsParams) WithLocaleID(localeID *string) *RetrievePolicyVersionsParams
WithLocaleID adds the localeID to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) WithNamespace ¶
func (o *RetrievePolicyVersionsParams) WithNamespace(namespace *string) *RetrievePolicyVersionsParams
WithNamespace adds the namespace to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) WithTimeout ¶
func (o *RetrievePolicyVersionsParams) WithTimeout(timeout time.Duration) *RetrievePolicyVersionsParams
WithTimeout adds the timeout to the retrieve policy versions params
func (*RetrievePolicyVersionsParams) WriteToRequest ¶
func (o *RetrievePolicyVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrievePolicyVersionsReader ¶
type RetrievePolicyVersionsReader struct {
// contains filtered or unexported fields
}
RetrievePolicyVersionsReader is a Reader for the RetrievePolicyVersions structure.
func (*RetrievePolicyVersionsReader) ReadResponse ¶
func (o *RetrievePolicyVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveSinglePolicyVersionNotFound ¶
type RetrieveSinglePolicyVersionNotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSinglePolicyVersionNotFound 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.policy_version_not_found</td></tr></table>
func NewRetrieveSinglePolicyVersionNotFound ¶
func NewRetrieveSinglePolicyVersionNotFound() *RetrieveSinglePolicyVersionNotFound
NewRetrieveSinglePolicyVersionNotFound creates a RetrieveSinglePolicyVersionNotFound with default headers values
func (*RetrieveSinglePolicyVersionNotFound) Error ¶
func (o *RetrieveSinglePolicyVersionNotFound) Error() string
func (*RetrieveSinglePolicyVersionNotFound) GetPayload ¶
func (o *RetrieveSinglePolicyVersionNotFound) GetPayload() *legalclientmodels.ErrorEntity
type RetrieveSinglePolicyVersionOK ¶
type RetrieveSinglePolicyVersionOK struct {
Payload []*legalclientmodels.RetrievePolicyVersionResponse
}
RetrieveSinglePolicyVersionOK handles this case with default header values.
successful operation
func NewRetrieveSinglePolicyVersionOK ¶
func NewRetrieveSinglePolicyVersionOK() *RetrieveSinglePolicyVersionOK
NewRetrieveSinglePolicyVersionOK creates a RetrieveSinglePolicyVersionOK with default headers values
func (*RetrieveSinglePolicyVersionOK) Error ¶
func (o *RetrieveSinglePolicyVersionOK) Error() string
func (*RetrieveSinglePolicyVersionOK) GetPayload ¶
func (o *RetrieveSinglePolicyVersionOK) GetPayload() []*legalclientmodels.RetrievePolicyVersionResponse
type RetrieveSinglePolicyVersionParams ¶
type RetrieveSinglePolicyVersionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*PolicyID Policy Id */ PolicyID string /*VersionID Version Id */ VersionID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveSinglePolicyVersionParams contains all the parameters to send to the API endpoint for the retrieve single policy version operation typically these are written to a http.Request
func NewRetrieveSinglePolicyVersionParams ¶
func NewRetrieveSinglePolicyVersionParams() *RetrieveSinglePolicyVersionParams
NewRetrieveSinglePolicyVersionParams creates a new RetrieveSinglePolicyVersionParams object with the default values initialized.
func NewRetrieveSinglePolicyVersionParamsWithContext ¶
func NewRetrieveSinglePolicyVersionParamsWithContext(ctx context.Context) *RetrieveSinglePolicyVersionParams
NewRetrieveSinglePolicyVersionParamsWithContext creates a new RetrieveSinglePolicyVersionParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveSinglePolicyVersionParamsWithHTTPClient ¶
func NewRetrieveSinglePolicyVersionParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicyVersionParams
NewRetrieveSinglePolicyVersionParamsWithHTTPClient creates a new RetrieveSinglePolicyVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveSinglePolicyVersionParamsWithTimeout ¶
func NewRetrieveSinglePolicyVersionParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicyVersionParams
NewRetrieveSinglePolicyVersionParamsWithTimeout creates a new RetrieveSinglePolicyVersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveSinglePolicyVersionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrieveSinglePolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) SetContext ¶
func (o *RetrieveSinglePolicyVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) SetHTTPClient ¶
func (o *RetrieveSinglePolicyVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrieveSinglePolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) SetPolicyID ¶
func (o *RetrieveSinglePolicyVersionParams) SetPolicyID(policyID string)
SetPolicyID adds the policyId to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) SetTimeout ¶
func (o *RetrieveSinglePolicyVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) SetVersionID ¶
func (o *RetrieveSinglePolicyVersionParams) SetVersionID(versionID *string)
SetVersionID adds the versionId to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) WithContext ¶
func (o *RetrieveSinglePolicyVersionParams) WithContext(ctx context.Context) *RetrieveSinglePolicyVersionParams
WithContext adds the context to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) WithHTTPClient ¶
func (o *RetrieveSinglePolicyVersionParams) WithHTTPClient(client *http.Client) *RetrieveSinglePolicyVersionParams
WithHTTPClient adds the HTTPClient to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) WithPolicyID ¶
func (o *RetrieveSinglePolicyVersionParams) WithPolicyID(policyID string) *RetrieveSinglePolicyVersionParams
WithPolicyID adds the policyID to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) WithTimeout ¶
func (o *RetrieveSinglePolicyVersionParams) WithTimeout(timeout time.Duration) *RetrieveSinglePolicyVersionParams
WithTimeout adds the timeout to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) WithVersionID ¶
func (o *RetrieveSinglePolicyVersionParams) WithVersionID(versionID *string) *RetrieveSinglePolicyVersionParams
WithVersionID adds the versionID to the retrieve single policy version params
func (*RetrieveSinglePolicyVersionParams) WriteToRequest ¶
func (o *RetrieveSinglePolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveSinglePolicyVersionReader ¶
type RetrieveSinglePolicyVersionReader struct {
// contains filtered or unexported fields
}
RetrieveSinglePolicyVersionReader is a Reader for the RetrieveSinglePolicyVersion structure.
func (*RetrieveSinglePolicyVersionReader) ReadResponse ¶
func (o *RetrieveSinglePolicyVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePolicyVersionBadRequest ¶
type UpdatePolicyVersionBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
UpdatePolicyVersionBadRequest 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><tr><td>40042</td><td>errors.net.accelbyte.platform.legal.policy_version_freezed</td></tr></table>
func NewUpdatePolicyVersionBadRequest ¶
func NewUpdatePolicyVersionBadRequest() *UpdatePolicyVersionBadRequest
NewUpdatePolicyVersionBadRequest creates a UpdatePolicyVersionBadRequest with default headers values
func (*UpdatePolicyVersionBadRequest) Error ¶
func (o *UpdatePolicyVersionBadRequest) Error() string
func (*UpdatePolicyVersionBadRequest) GetPayload ¶
func (o *UpdatePolicyVersionBadRequest) GetPayload() *legalclientmodels.ErrorEntity
type UpdatePolicyVersionOK ¶
type UpdatePolicyVersionOK struct {
Payload *legalclientmodels.UpdatePolicyVersionResponse
}
UpdatePolicyVersionOK handles this case with default header values.
successful operation
func NewUpdatePolicyVersionOK ¶
func NewUpdatePolicyVersionOK() *UpdatePolicyVersionOK
NewUpdatePolicyVersionOK creates a UpdatePolicyVersionOK with default headers values
func (*UpdatePolicyVersionOK) Error ¶
func (o *UpdatePolicyVersionOK) Error() string
func (*UpdatePolicyVersionOK) GetPayload ¶
func (o *UpdatePolicyVersionOK) GetPayload() *legalclientmodels.UpdatePolicyVersionResponse
type UpdatePolicyVersionParams ¶
type UpdatePolicyVersionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.UpdatePolicyVersionRequest /*PolicyVersionID Policy Version Id */ PolicyVersionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePolicyVersionParams contains all the parameters to send to the API endpoint for the update policy version operation typically these are written to a http.Request
func NewUpdatePolicyVersionParams ¶
func NewUpdatePolicyVersionParams() *UpdatePolicyVersionParams
NewUpdatePolicyVersionParams creates a new UpdatePolicyVersionParams object with the default values initialized.
func NewUpdatePolicyVersionParamsWithContext ¶
func NewUpdatePolicyVersionParamsWithContext(ctx context.Context) *UpdatePolicyVersionParams
NewUpdatePolicyVersionParamsWithContext creates a new UpdatePolicyVersionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdatePolicyVersionParamsWithHTTPClient ¶
func NewUpdatePolicyVersionParamsWithHTTPClient(client *http.Client) *UpdatePolicyVersionParams
NewUpdatePolicyVersionParamsWithHTTPClient creates a new UpdatePolicyVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePolicyVersionParamsWithTimeout ¶
func NewUpdatePolicyVersionParamsWithTimeout(timeout time.Duration) *UpdatePolicyVersionParams
NewUpdatePolicyVersionParamsWithTimeout creates a new UpdatePolicyVersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePolicyVersionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdatePolicyVersionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update policy version params
func (*UpdatePolicyVersionParams) SetBody ¶
func (o *UpdatePolicyVersionParams) SetBody(body *legalclientmodels.UpdatePolicyVersionRequest)
SetBody adds the body to the update policy version params
func (*UpdatePolicyVersionParams) SetContext ¶
func (o *UpdatePolicyVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the update policy version params
func (*UpdatePolicyVersionParams) SetHTTPClient ¶
func (o *UpdatePolicyVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update policy version params
func (*UpdatePolicyVersionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdatePolicyVersionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update policy version params
func (*UpdatePolicyVersionParams) SetPolicyVersionID ¶
func (o *UpdatePolicyVersionParams) SetPolicyVersionID(policyVersionID string)
SetPolicyVersionID adds the policyVersionId to the update policy version params
func (*UpdatePolicyVersionParams) SetTimeout ¶
func (o *UpdatePolicyVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update policy version params
func (*UpdatePolicyVersionParams) WithBody ¶
func (o *UpdatePolicyVersionParams) WithBody(body *legalclientmodels.UpdatePolicyVersionRequest) *UpdatePolicyVersionParams
WithBody adds the body to the update policy version params
func (*UpdatePolicyVersionParams) WithContext ¶
func (o *UpdatePolicyVersionParams) WithContext(ctx context.Context) *UpdatePolicyVersionParams
WithContext adds the context to the update policy version params
func (*UpdatePolicyVersionParams) WithHTTPClient ¶
func (o *UpdatePolicyVersionParams) WithHTTPClient(client *http.Client) *UpdatePolicyVersionParams
WithHTTPClient adds the HTTPClient to the update policy version params
func (*UpdatePolicyVersionParams) WithPolicyVersionID ¶
func (o *UpdatePolicyVersionParams) WithPolicyVersionID(policyVersionID string) *UpdatePolicyVersionParams
WithPolicyVersionID adds the policyVersionID to the update policy version params
func (*UpdatePolicyVersionParams) WithTimeout ¶
func (o *UpdatePolicyVersionParams) WithTimeout(timeout time.Duration) *UpdatePolicyVersionParams
WithTimeout adds the timeout to the update policy version params
func (*UpdatePolicyVersionParams) WriteToRequest ¶
func (o *UpdatePolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePolicyVersionReader ¶
type UpdatePolicyVersionReader struct {
// contains filtered or unexported fields
}
UpdatePolicyVersionReader is a Reader for the UpdatePolicyVersion structure.
func (*UpdatePolicyVersionReader) ReadResponse ¶
func (o *UpdatePolicyVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_policy_version_parameters.go
- create_policy_version_responses.go
- policy_versions_client.go
- publish_policy_version_parameters.go
- publish_policy_version_responses.go
- retrieve_policy_versions_parameters.go
- retrieve_policy_versions_responses.go
- retrieve_single_policy_version_parameters.go
- retrieve_single_policy_version_responses.go
- update_policy_version_parameters.go
- update_policy_version_responses.go