Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePolicyVersion1(params *CreatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersion1Created, *CreatePolicyVersion1BadRequest, error)deprecated
- func (a *Client) CreatePolicyVersion1Short(params *CreatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersion1Created, error)
- func (a *Client) PublishPolicyVersion1(params *PublishPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersion1OK, *PublishPolicyVersion1BadRequest, ...)deprecated
- func (a *Client) PublishPolicyVersion1Short(params *PublishPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersion1OK, error)
- func (a *Client) RetrieveSinglePolicyVersion1(params *RetrieveSinglePolicyVersion1Params, ...) (*RetrieveSinglePolicyVersion1OK, *RetrieveSinglePolicyVersion1NotFound, error)deprecated
- func (a *Client) RetrieveSinglePolicyVersion1Short(params *RetrieveSinglePolicyVersion1Params, ...) (*RetrieveSinglePolicyVersion1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePolicyVersion1(params *UpdatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersion1OK, *UpdatePolicyVersion1BadRequest, ...)deprecated
- func (a *Client) UpdatePolicyVersion1Short(params *UpdatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersion1OK, error)
- type ClientService
- type CreatePolicyVersion1BadRequest
- type CreatePolicyVersion1Created
- type CreatePolicyVersion1Params
- func NewCreatePolicyVersion1Params() *CreatePolicyVersion1Params
- func NewCreatePolicyVersion1ParamsWithContext(ctx context.Context) *CreatePolicyVersion1Params
- func NewCreatePolicyVersion1ParamsWithHTTPClient(client *http.Client) *CreatePolicyVersion1Params
- func NewCreatePolicyVersion1ParamsWithTimeout(timeout time.Duration) *CreatePolicyVersion1Params
- func (o *CreatePolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreatePolicyVersion1Params) SetBody(body *legalclientmodels.CreatePolicyVersionRequest)
- func (o *CreatePolicyVersion1Params) SetContext(ctx context.Context)
- func (o *CreatePolicyVersion1Params) SetHTTPClient(client *http.Client)
- func (o *CreatePolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreatePolicyVersion1Params) SetNamespace(namespace string)
- func (o *CreatePolicyVersion1Params) SetPolicyID(policyID string)
- func (o *CreatePolicyVersion1Params) SetTimeout(timeout time.Duration)
- func (o *CreatePolicyVersion1Params) WithBody(body *legalclientmodels.CreatePolicyVersionRequest) *CreatePolicyVersion1Params
- func (o *CreatePolicyVersion1Params) WithContext(ctx context.Context) *CreatePolicyVersion1Params
- func (o *CreatePolicyVersion1Params) WithHTTPClient(client *http.Client) *CreatePolicyVersion1Params
- func (o *CreatePolicyVersion1Params) WithNamespace(namespace string) *CreatePolicyVersion1Params
- func (o *CreatePolicyVersion1Params) WithPolicyID(policyID string) *CreatePolicyVersion1Params
- func (o *CreatePolicyVersion1Params) WithTimeout(timeout time.Duration) *CreatePolicyVersion1Params
- func (o *CreatePolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePolicyVersion1Reader
- type PublishPolicyVersion1BadRequest
- type PublishPolicyVersion1Conflict
- type PublishPolicyVersion1OK
- type PublishPolicyVersion1Params
- func NewPublishPolicyVersion1Params() *PublishPolicyVersion1Params
- func NewPublishPolicyVersion1ParamsWithContext(ctx context.Context) *PublishPolicyVersion1Params
- func NewPublishPolicyVersion1ParamsWithHTTPClient(client *http.Client) *PublishPolicyVersion1Params
- func NewPublishPolicyVersion1ParamsWithTimeout(timeout time.Duration) *PublishPolicyVersion1Params
- func (o *PublishPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublishPolicyVersion1Params) SetContext(ctx context.Context)
- func (o *PublishPolicyVersion1Params) SetHTTPClient(client *http.Client)
- func (o *PublishPolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublishPolicyVersion1Params) SetNamespace(namespace string)
- func (o *PublishPolicyVersion1Params) SetPolicyVersionID(policyVersionID string)
- func (o *PublishPolicyVersion1Params) SetShouldNotify(shouldNotify *bool)
- func (o *PublishPolicyVersion1Params) SetTimeout(timeout time.Duration)
- func (o *PublishPolicyVersion1Params) WithContext(ctx context.Context) *PublishPolicyVersion1Params
- func (o *PublishPolicyVersion1Params) WithHTTPClient(client *http.Client) *PublishPolicyVersion1Params
- func (o *PublishPolicyVersion1Params) WithNamespace(namespace string) *PublishPolicyVersion1Params
- func (o *PublishPolicyVersion1Params) WithPolicyVersionID(policyVersionID string) *PublishPolicyVersion1Params
- func (o *PublishPolicyVersion1Params) WithShouldNotify(shouldNotify *bool) *PublishPolicyVersion1Params
- func (o *PublishPolicyVersion1Params) WithTimeout(timeout time.Duration) *PublishPolicyVersion1Params
- func (o *PublishPolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublishPolicyVersion1Reader
- type RetrieveSinglePolicyVersion1NotFound
- type RetrieveSinglePolicyVersion1OK
- type RetrieveSinglePolicyVersion1Params
- func NewRetrieveSinglePolicyVersion1Params() *RetrieveSinglePolicyVersion1Params
- func NewRetrieveSinglePolicyVersion1ParamsWithContext(ctx context.Context) *RetrieveSinglePolicyVersion1Params
- func NewRetrieveSinglePolicyVersion1ParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicyVersion1Params
- func NewRetrieveSinglePolicyVersion1ParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicyVersion1Params
- func (o *RetrieveSinglePolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveSinglePolicyVersion1Params) SetContext(ctx context.Context)
- func (o *RetrieveSinglePolicyVersion1Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveSinglePolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveSinglePolicyVersion1Params) SetNamespace(namespace string)
- func (o *RetrieveSinglePolicyVersion1Params) SetPolicyID(policyID string)
- func (o *RetrieveSinglePolicyVersion1Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveSinglePolicyVersion1Params) SetVersionID(versionID *string)
- func (o *RetrieveSinglePolicyVersion1Params) WithContext(ctx context.Context) *RetrieveSinglePolicyVersion1Params
- func (o *RetrieveSinglePolicyVersion1Params) WithHTTPClient(client *http.Client) *RetrieveSinglePolicyVersion1Params
- func (o *RetrieveSinglePolicyVersion1Params) WithNamespace(namespace string) *RetrieveSinglePolicyVersion1Params
- func (o *RetrieveSinglePolicyVersion1Params) WithPolicyID(policyID string) *RetrieveSinglePolicyVersion1Params
- func (o *RetrieveSinglePolicyVersion1Params) WithTimeout(timeout time.Duration) *RetrieveSinglePolicyVersion1Params
- func (o *RetrieveSinglePolicyVersion1Params) WithVersionID(versionID *string) *RetrieveSinglePolicyVersion1Params
- func (o *RetrieveSinglePolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveSinglePolicyVersion1Reader
- type UpdatePolicyVersion1BadRequest
- type UpdatePolicyVersion1Conflict
- type UpdatePolicyVersion1OK
- type UpdatePolicyVersion1Params
- func NewUpdatePolicyVersion1Params() *UpdatePolicyVersion1Params
- func NewUpdatePolicyVersion1ParamsWithContext(ctx context.Context) *UpdatePolicyVersion1Params
- func NewUpdatePolicyVersion1ParamsWithHTTPClient(client *http.Client) *UpdatePolicyVersion1Params
- func NewUpdatePolicyVersion1ParamsWithTimeout(timeout time.Duration) *UpdatePolicyVersion1Params
- func (o *UpdatePolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdatePolicyVersion1Params) SetBody(body *legalclientmodels.UpdatePolicyVersionRequest)
- func (o *UpdatePolicyVersion1Params) SetContext(ctx context.Context)
- func (o *UpdatePolicyVersion1Params) SetHTTPClient(client *http.Client)
- func (o *UpdatePolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdatePolicyVersion1Params) SetNamespace(namespace string)
- func (o *UpdatePolicyVersion1Params) SetPolicyVersionID(policyVersionID string)
- func (o *UpdatePolicyVersion1Params) SetTimeout(timeout time.Duration)
- func (o *UpdatePolicyVersion1Params) WithBody(body *legalclientmodels.UpdatePolicyVersionRequest) *UpdatePolicyVersion1Params
- func (o *UpdatePolicyVersion1Params) WithContext(ctx context.Context) *UpdatePolicyVersion1Params
- func (o *UpdatePolicyVersion1Params) WithHTTPClient(client *http.Client) *UpdatePolicyVersion1Params
- func (o *UpdatePolicyVersion1Params) WithNamespace(namespace string) *UpdatePolicyVersion1Params
- func (o *UpdatePolicyVersion1Params) WithPolicyVersionID(policyVersionID string) *UpdatePolicyVersion1Params
- func (o *UpdatePolicyVersion1Params) WithTimeout(timeout time.Duration) *UpdatePolicyVersion1Params
- func (o *UpdatePolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePolicyVersion1Reader
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 with namespace API
func (*Client) CreatePolicyVersion1
deprecated
func (a *Client) CreatePolicyVersion1(params *CreatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersion1Created, *CreatePolicyVersion1BadRequest, error)
Deprecated: 2022-08-10 - Use CreatePolicyVersion1Short instead.
CreatePolicyVersion1 create a version from country-specific policy Create a version of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=1 (CREATE)
func (*Client) CreatePolicyVersion1Short ¶
func (a *Client) CreatePolicyVersion1Short(params *CreatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersion1Created, error)
CreatePolicyVersion1Short create a version from country-specific policy Create a version of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=1 (CREATE)
func (*Client) PublishPolicyVersion1
deprecated
func (a *Client) PublishPolicyVersion1(params *PublishPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersion1OK, *PublishPolicyVersion1BadRequest, *PublishPolicyVersion1Conflict, error)
Deprecated: 2022-08-10 - Use PublishPolicyVersion1Short instead.
PublishPolicyVersion1 manually publish a version from country-specific policy Manually publish a version of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=4 (UPDATE)
func (*Client) PublishPolicyVersion1Short ¶
func (a *Client) PublishPolicyVersion1Short(params *PublishPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersion1OK, error)
PublishPolicyVersion1Short manually publish a version from country-specific policy Manually publish a version of a particular country-specific policy. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=4 (UPDATE)
func (*Client) RetrieveSinglePolicyVersion1
deprecated
func (a *Client) RetrieveSinglePolicyVersion1(params *RetrieveSinglePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyVersion1OK, *RetrieveSinglePolicyVersion1NotFound, error)
Deprecated: 2022-08-10 - Use RetrieveSinglePolicyVersion1Short instead.
RetrieveSinglePolicyVersion1 retrieve 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. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)
func (*Client) RetrieveSinglePolicyVersion1Short ¶
func (a *Client) RetrieveSinglePolicyVersion1Short(params *RetrieveSinglePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyVersion1OK, error)
RetrieveSinglePolicyVersion1Short retrieve 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. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePolicyVersion1
deprecated
func (a *Client) UpdatePolicyVersion1(params *UpdatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersion1OK, *UpdatePolicyVersion1BadRequest, *UpdatePolicyVersion1Conflict, error)
Deprecated: 2022-08-10 - Use UpdatePolicyVersion1Short instead.
UpdatePolicyVersion1 update a version of policy Update a particular policy version. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=4 (UPDATE)
func (*Client) UpdatePolicyVersion1Short ¶
func (a *Client) UpdatePolicyVersion1Short(params *UpdatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersion1OK, error)
UpdatePolicyVersion1Short update a version of policy Update a particular policy version. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=4 (UPDATE)
type ClientService ¶
type ClientService interface { UpdatePolicyVersion1(params *UpdatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersion1OK, *UpdatePolicyVersion1BadRequest, *UpdatePolicyVersion1Conflict, error) UpdatePolicyVersion1Short(params *UpdatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyVersion1OK, error) PublishPolicyVersion1(params *PublishPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersion1OK, *PublishPolicyVersion1BadRequest, *PublishPolicyVersion1Conflict, error) PublishPolicyVersion1Short(params *PublishPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*PublishPolicyVersion1OK, error) RetrieveSinglePolicyVersion1(params *RetrieveSinglePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyVersion1OK, *RetrieveSinglePolicyVersion1NotFound, error) RetrieveSinglePolicyVersion1Short(params *RetrieveSinglePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveSinglePolicyVersion1OK, error) CreatePolicyVersion1(params *CreatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersion1Created, *CreatePolicyVersion1BadRequest, error) CreatePolicyVersion1Short(params *CreatePolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyVersion1Created, 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 with namespace API client.
type CreatePolicyVersion1BadRequest ¶
type CreatePolicyVersion1BadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
CreatePolicyVersion1BadRequest 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 NewCreatePolicyVersion1BadRequest ¶
func NewCreatePolicyVersion1BadRequest() *CreatePolicyVersion1BadRequest
NewCreatePolicyVersion1BadRequest creates a CreatePolicyVersion1BadRequest with default headers values
func (*CreatePolicyVersion1BadRequest) Error ¶
func (o *CreatePolicyVersion1BadRequest) Error() string
func (*CreatePolicyVersion1BadRequest) GetPayload ¶
func (o *CreatePolicyVersion1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*CreatePolicyVersion1BadRequest) ToJSONString ¶
func (o *CreatePolicyVersion1BadRequest) ToJSONString() string
type CreatePolicyVersion1Created ¶
type CreatePolicyVersion1Created struct {
Payload *legalclientmodels.CreatePolicyVersionResponse
}
CreatePolicyVersion1Created handles this case with default header values.
successful operation
func NewCreatePolicyVersion1Created ¶
func NewCreatePolicyVersion1Created() *CreatePolicyVersion1Created
NewCreatePolicyVersion1Created creates a CreatePolicyVersion1Created with default headers values
func (*CreatePolicyVersion1Created) Error ¶
func (o *CreatePolicyVersion1Created) Error() string
func (*CreatePolicyVersion1Created) GetPayload ¶
func (o *CreatePolicyVersion1Created) GetPayload() *legalclientmodels.CreatePolicyVersionResponse
func (*CreatePolicyVersion1Created) ToJSONString ¶
func (o *CreatePolicyVersion1Created) ToJSONString() string
type CreatePolicyVersion1Params ¶
type CreatePolicyVersion1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.CreatePolicyVersionRequest /*Namespace Namespace */ Namespace string /*PolicyID Policy Id */ PolicyID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePolicyVersion1Params contains all the parameters to send to the API endpoint for the create policy version 1 operation typically these are written to a http.Request
func NewCreatePolicyVersion1Params ¶
func NewCreatePolicyVersion1Params() *CreatePolicyVersion1Params
NewCreatePolicyVersion1Params creates a new CreatePolicyVersion1Params object with the default values initialized.
func NewCreatePolicyVersion1ParamsWithContext ¶
func NewCreatePolicyVersion1ParamsWithContext(ctx context.Context) *CreatePolicyVersion1Params
NewCreatePolicyVersion1ParamsWithContext creates a new CreatePolicyVersion1Params object with the default values initialized, and the ability to set a context for a request
func NewCreatePolicyVersion1ParamsWithHTTPClient ¶
func NewCreatePolicyVersion1ParamsWithHTTPClient(client *http.Client) *CreatePolicyVersion1Params
NewCreatePolicyVersion1ParamsWithHTTPClient creates a new CreatePolicyVersion1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePolicyVersion1ParamsWithTimeout ¶
func NewCreatePolicyVersion1ParamsWithTimeout(timeout time.Duration) *CreatePolicyVersion1Params
NewCreatePolicyVersion1ParamsWithTimeout creates a new CreatePolicyVersion1Params object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePolicyVersion1Params) SetAuthInfoWriter ¶
func (o *CreatePolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create policy version 1 params
func (*CreatePolicyVersion1Params) SetBody ¶
func (o *CreatePolicyVersion1Params) SetBody(body *legalclientmodels.CreatePolicyVersionRequest)
SetBody adds the body to the create policy version 1 params
func (*CreatePolicyVersion1Params) SetContext ¶
func (o *CreatePolicyVersion1Params) SetContext(ctx context.Context)
SetContext adds the context to the create policy version 1 params
func (*CreatePolicyVersion1Params) SetHTTPClient ¶
func (o *CreatePolicyVersion1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create policy version 1 params
func (*CreatePolicyVersion1Params) SetHTTPClientTransport ¶
func (o *CreatePolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create policy version 1 params
func (*CreatePolicyVersion1Params) SetNamespace ¶
func (o *CreatePolicyVersion1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the create policy version 1 params
func (*CreatePolicyVersion1Params) SetPolicyID ¶
func (o *CreatePolicyVersion1Params) SetPolicyID(policyID string)
SetPolicyID adds the policyId to the create policy version 1 params
func (*CreatePolicyVersion1Params) SetTimeout ¶
func (o *CreatePolicyVersion1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create policy version 1 params
func (*CreatePolicyVersion1Params) WithBody ¶
func (o *CreatePolicyVersion1Params) WithBody(body *legalclientmodels.CreatePolicyVersionRequest) *CreatePolicyVersion1Params
WithBody adds the body to the create policy version 1 params
func (*CreatePolicyVersion1Params) WithContext ¶
func (o *CreatePolicyVersion1Params) WithContext(ctx context.Context) *CreatePolicyVersion1Params
WithContext adds the context to the create policy version 1 params
func (*CreatePolicyVersion1Params) WithHTTPClient ¶
func (o *CreatePolicyVersion1Params) WithHTTPClient(client *http.Client) *CreatePolicyVersion1Params
WithHTTPClient adds the HTTPClient to the create policy version 1 params
func (*CreatePolicyVersion1Params) WithNamespace ¶
func (o *CreatePolicyVersion1Params) WithNamespace(namespace string) *CreatePolicyVersion1Params
WithNamespace adds the namespace to the create policy version 1 params
func (*CreatePolicyVersion1Params) WithPolicyID ¶
func (o *CreatePolicyVersion1Params) WithPolicyID(policyID string) *CreatePolicyVersion1Params
WithPolicyID adds the policyID to the create policy version 1 params
func (*CreatePolicyVersion1Params) WithTimeout ¶
func (o *CreatePolicyVersion1Params) WithTimeout(timeout time.Duration) *CreatePolicyVersion1Params
WithTimeout adds the timeout to the create policy version 1 params
func (*CreatePolicyVersion1Params) WriteToRequest ¶
func (o *CreatePolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePolicyVersion1Reader ¶
type CreatePolicyVersion1Reader struct {
// contains filtered or unexported fields
}
CreatePolicyVersion1Reader is a Reader for the CreatePolicyVersion1 structure.
func (*CreatePolicyVersion1Reader) ReadResponse ¶
func (o *CreatePolicyVersion1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublishPolicyVersion1BadRequest ¶
type PublishPolicyVersion1BadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
PublishPolicyVersion1BadRequest 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>40046</td><td>errors.net.accelbyte.platform.legal.default_selection_not_provided</td></tr><tr><td>40030</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_not_provided</td></tr></table>
func NewPublishPolicyVersion1BadRequest ¶
func NewPublishPolicyVersion1BadRequest() *PublishPolicyVersion1BadRequest
NewPublishPolicyVersion1BadRequest creates a PublishPolicyVersion1BadRequest with default headers values
func (*PublishPolicyVersion1BadRequest) Error ¶
func (o *PublishPolicyVersion1BadRequest) Error() string
func (*PublishPolicyVersion1BadRequest) GetPayload ¶
func (o *PublishPolicyVersion1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*PublishPolicyVersion1BadRequest) ToJSONString ¶
func (o *PublishPolicyVersion1BadRequest) ToJSONString() string
type PublishPolicyVersion1Conflict ¶
type PublishPolicyVersion1Conflict struct {
Payload *legalclientmodels.ErrorEntity
}
PublishPolicyVersion1Conflict handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40039</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_already_latest</td></tr><tr><td>40043</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_already_publish</td></tr></table>
func NewPublishPolicyVersion1Conflict ¶
func NewPublishPolicyVersion1Conflict() *PublishPolicyVersion1Conflict
NewPublishPolicyVersion1Conflict creates a PublishPolicyVersion1Conflict with default headers values
func (*PublishPolicyVersion1Conflict) Error ¶
func (o *PublishPolicyVersion1Conflict) Error() string
func (*PublishPolicyVersion1Conflict) GetPayload ¶
func (o *PublishPolicyVersion1Conflict) GetPayload() *legalclientmodels.ErrorEntity
func (*PublishPolicyVersion1Conflict) ToJSONString ¶
func (o *PublishPolicyVersion1Conflict) ToJSONString() string
type PublishPolicyVersion1OK ¶
type PublishPolicyVersion1OK struct { }
PublishPolicyVersion1OK handles this case with default header values.
operation successful
func NewPublishPolicyVersion1OK ¶
func NewPublishPolicyVersion1OK() *PublishPolicyVersion1OK
NewPublishPolicyVersion1OK creates a PublishPolicyVersion1OK with default headers values
func (*PublishPolicyVersion1OK) Error ¶
func (o *PublishPolicyVersion1OK) Error() string
type PublishPolicyVersion1Params ¶
type PublishPolicyVersion1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*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 }
PublishPolicyVersion1Params contains all the parameters to send to the API endpoint for the publish policy version 1 operation typically these are written to a http.Request
func NewPublishPolicyVersion1Params ¶
func NewPublishPolicyVersion1Params() *PublishPolicyVersion1Params
NewPublishPolicyVersion1Params creates a new PublishPolicyVersion1Params object with the default values initialized.
func NewPublishPolicyVersion1ParamsWithContext ¶
func NewPublishPolicyVersion1ParamsWithContext(ctx context.Context) *PublishPolicyVersion1Params
NewPublishPolicyVersion1ParamsWithContext creates a new PublishPolicyVersion1Params object with the default values initialized, and the ability to set a context for a request
func NewPublishPolicyVersion1ParamsWithHTTPClient ¶
func NewPublishPolicyVersion1ParamsWithHTTPClient(client *http.Client) *PublishPolicyVersion1Params
NewPublishPolicyVersion1ParamsWithHTTPClient creates a new PublishPolicyVersion1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublishPolicyVersion1ParamsWithTimeout ¶
func NewPublishPolicyVersion1ParamsWithTimeout(timeout time.Duration) *PublishPolicyVersion1Params
NewPublishPolicyVersion1ParamsWithTimeout creates a new PublishPolicyVersion1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublishPolicyVersion1Params) SetAuthInfoWriter ¶
func (o *PublishPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the publish policy version 1 params
func (*PublishPolicyVersion1Params) SetContext ¶
func (o *PublishPolicyVersion1Params) SetContext(ctx context.Context)
SetContext adds the context to the publish policy version 1 params
func (*PublishPolicyVersion1Params) SetHTTPClient ¶
func (o *PublishPolicyVersion1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the publish policy version 1 params
func (*PublishPolicyVersion1Params) SetHTTPClientTransport ¶
func (o *PublishPolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the publish policy version 1 params
func (*PublishPolicyVersion1Params) SetNamespace ¶
func (o *PublishPolicyVersion1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the publish policy version 1 params
func (*PublishPolicyVersion1Params) SetPolicyVersionID ¶
func (o *PublishPolicyVersion1Params) SetPolicyVersionID(policyVersionID string)
SetPolicyVersionID adds the policyVersionId to the publish policy version 1 params
func (*PublishPolicyVersion1Params) SetShouldNotify ¶
func (o *PublishPolicyVersion1Params) SetShouldNotify(shouldNotify *bool)
SetShouldNotify adds the shouldNotify to the publish policy version 1 params
func (*PublishPolicyVersion1Params) SetTimeout ¶
func (o *PublishPolicyVersion1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the publish policy version 1 params
func (*PublishPolicyVersion1Params) WithContext ¶
func (o *PublishPolicyVersion1Params) WithContext(ctx context.Context) *PublishPolicyVersion1Params
WithContext adds the context to the publish policy version 1 params
func (*PublishPolicyVersion1Params) WithHTTPClient ¶
func (o *PublishPolicyVersion1Params) WithHTTPClient(client *http.Client) *PublishPolicyVersion1Params
WithHTTPClient adds the HTTPClient to the publish policy version 1 params
func (*PublishPolicyVersion1Params) WithNamespace ¶
func (o *PublishPolicyVersion1Params) WithNamespace(namespace string) *PublishPolicyVersion1Params
WithNamespace adds the namespace to the publish policy version 1 params
func (*PublishPolicyVersion1Params) WithPolicyVersionID ¶
func (o *PublishPolicyVersion1Params) WithPolicyVersionID(policyVersionID string) *PublishPolicyVersion1Params
WithPolicyVersionID adds the policyVersionID to the publish policy version 1 params
func (*PublishPolicyVersion1Params) WithShouldNotify ¶
func (o *PublishPolicyVersion1Params) WithShouldNotify(shouldNotify *bool) *PublishPolicyVersion1Params
WithShouldNotify adds the shouldNotify to the publish policy version 1 params
func (*PublishPolicyVersion1Params) WithTimeout ¶
func (o *PublishPolicyVersion1Params) WithTimeout(timeout time.Duration) *PublishPolicyVersion1Params
WithTimeout adds the timeout to the publish policy version 1 params
func (*PublishPolicyVersion1Params) WriteToRequest ¶
func (o *PublishPolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublishPolicyVersion1Reader ¶
type PublishPolicyVersion1Reader struct {
// contains filtered or unexported fields
}
PublishPolicyVersion1Reader is a Reader for the PublishPolicyVersion1 structure.
func (*PublishPolicyVersion1Reader) ReadResponse ¶
func (o *PublishPolicyVersion1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveSinglePolicyVersion1NotFound ¶
type RetrieveSinglePolicyVersion1NotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveSinglePolicyVersion1NotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40036</td><td>errors.net.accelbyte.platform.legal.policy_version_id_not_found</td></tr></table>
func NewRetrieveSinglePolicyVersion1NotFound ¶
func NewRetrieveSinglePolicyVersion1NotFound() *RetrieveSinglePolicyVersion1NotFound
NewRetrieveSinglePolicyVersion1NotFound creates a RetrieveSinglePolicyVersion1NotFound with default headers values
func (*RetrieveSinglePolicyVersion1NotFound) Error ¶
func (o *RetrieveSinglePolicyVersion1NotFound) Error() string
func (*RetrieveSinglePolicyVersion1NotFound) GetPayload ¶
func (o *RetrieveSinglePolicyVersion1NotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveSinglePolicyVersion1NotFound) ToJSONString ¶
func (o *RetrieveSinglePolicyVersion1NotFound) ToJSONString() string
type RetrieveSinglePolicyVersion1OK ¶
type RetrieveSinglePolicyVersion1OK struct {
Payload []*legalclientmodels.RetrievePolicyVersionResponse
}
RetrieveSinglePolicyVersion1OK handles this case with default header values.
successful operation
func NewRetrieveSinglePolicyVersion1OK ¶
func NewRetrieveSinglePolicyVersion1OK() *RetrieveSinglePolicyVersion1OK
NewRetrieveSinglePolicyVersion1OK creates a RetrieveSinglePolicyVersion1OK with default headers values
func (*RetrieveSinglePolicyVersion1OK) Error ¶
func (o *RetrieveSinglePolicyVersion1OK) Error() string
func (*RetrieveSinglePolicyVersion1OK) GetPayload ¶
func (o *RetrieveSinglePolicyVersion1OK) GetPayload() []*legalclientmodels.RetrievePolicyVersionResponse
func (*RetrieveSinglePolicyVersion1OK) ToJSONString ¶
func (o *RetrieveSinglePolicyVersion1OK) ToJSONString() string
type RetrieveSinglePolicyVersion1Params ¶
type RetrieveSinglePolicyVersion1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*PolicyID Policy Id */ PolicyID string /*VersionID Version Id */ VersionID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveSinglePolicyVersion1Params contains all the parameters to send to the API endpoint for the retrieve single policy version 1 operation typically these are written to a http.Request
func NewRetrieveSinglePolicyVersion1Params ¶
func NewRetrieveSinglePolicyVersion1Params() *RetrieveSinglePolicyVersion1Params
NewRetrieveSinglePolicyVersion1Params creates a new RetrieveSinglePolicyVersion1Params object with the default values initialized.
func NewRetrieveSinglePolicyVersion1ParamsWithContext ¶
func NewRetrieveSinglePolicyVersion1ParamsWithContext(ctx context.Context) *RetrieveSinglePolicyVersion1Params
NewRetrieveSinglePolicyVersion1ParamsWithContext creates a new RetrieveSinglePolicyVersion1Params object with the default values initialized, and the ability to set a context for a request
func NewRetrieveSinglePolicyVersion1ParamsWithHTTPClient ¶
func NewRetrieveSinglePolicyVersion1ParamsWithHTTPClient(client *http.Client) *RetrieveSinglePolicyVersion1Params
NewRetrieveSinglePolicyVersion1ParamsWithHTTPClient creates a new RetrieveSinglePolicyVersion1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveSinglePolicyVersion1ParamsWithTimeout ¶
func NewRetrieveSinglePolicyVersion1ParamsWithTimeout(timeout time.Duration) *RetrieveSinglePolicyVersion1Params
NewRetrieveSinglePolicyVersion1ParamsWithTimeout creates a new RetrieveSinglePolicyVersion1Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveSinglePolicyVersion1Params) SetAuthInfoWriter ¶
func (o *RetrieveSinglePolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) SetContext ¶
func (o *RetrieveSinglePolicyVersion1Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) SetHTTPClient ¶
func (o *RetrieveSinglePolicyVersion1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) SetHTTPClientTransport ¶
func (o *RetrieveSinglePolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) SetNamespace ¶
func (o *RetrieveSinglePolicyVersion1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) SetPolicyID ¶
func (o *RetrieveSinglePolicyVersion1Params) SetPolicyID(policyID string)
SetPolicyID adds the policyId to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) SetTimeout ¶
func (o *RetrieveSinglePolicyVersion1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) SetVersionID ¶
func (o *RetrieveSinglePolicyVersion1Params) SetVersionID(versionID *string)
SetVersionID adds the versionId to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) WithContext ¶
func (o *RetrieveSinglePolicyVersion1Params) WithContext(ctx context.Context) *RetrieveSinglePolicyVersion1Params
WithContext adds the context to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) WithHTTPClient ¶
func (o *RetrieveSinglePolicyVersion1Params) WithHTTPClient(client *http.Client) *RetrieveSinglePolicyVersion1Params
WithHTTPClient adds the HTTPClient to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) WithNamespace ¶
func (o *RetrieveSinglePolicyVersion1Params) WithNamespace(namespace string) *RetrieveSinglePolicyVersion1Params
WithNamespace adds the namespace to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) WithPolicyID ¶
func (o *RetrieveSinglePolicyVersion1Params) WithPolicyID(policyID string) *RetrieveSinglePolicyVersion1Params
WithPolicyID adds the policyID to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) WithTimeout ¶
func (o *RetrieveSinglePolicyVersion1Params) WithTimeout(timeout time.Duration) *RetrieveSinglePolicyVersion1Params
WithTimeout adds the timeout to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) WithVersionID ¶
func (o *RetrieveSinglePolicyVersion1Params) WithVersionID(versionID *string) *RetrieveSinglePolicyVersion1Params
WithVersionID adds the versionID to the retrieve single policy version 1 params
func (*RetrieveSinglePolicyVersion1Params) WriteToRequest ¶
func (o *RetrieveSinglePolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveSinglePolicyVersion1Reader ¶
type RetrieveSinglePolicyVersion1Reader struct {
// contains filtered or unexported fields
}
RetrieveSinglePolicyVersion1Reader is a Reader for the RetrieveSinglePolicyVersion1 structure.
func (*RetrieveSinglePolicyVersion1Reader) ReadResponse ¶
func (o *RetrieveSinglePolicyVersion1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePolicyVersion1BadRequest ¶
type UpdatePolicyVersion1BadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
UpdatePolicyVersion1BadRequest 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 NewUpdatePolicyVersion1BadRequest ¶
func NewUpdatePolicyVersion1BadRequest() *UpdatePolicyVersion1BadRequest
NewUpdatePolicyVersion1BadRequest creates a UpdatePolicyVersion1BadRequest with default headers values
func (*UpdatePolicyVersion1BadRequest) Error ¶
func (o *UpdatePolicyVersion1BadRequest) Error() string
func (*UpdatePolicyVersion1BadRequest) GetPayload ¶
func (o *UpdatePolicyVersion1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*UpdatePolicyVersion1BadRequest) ToJSONString ¶
func (o *UpdatePolicyVersion1BadRequest) ToJSONString() string
type UpdatePolicyVersion1Conflict ¶
type UpdatePolicyVersion1Conflict struct {
Payload *legalclientmodels.ErrorEntity
}
UpdatePolicyVersion1Conflict handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40043</td><td>errors.net.accelbyte.platform.legal.localized_policy_version_already_exist</td></tr></table>
func NewUpdatePolicyVersion1Conflict ¶
func NewUpdatePolicyVersion1Conflict() *UpdatePolicyVersion1Conflict
NewUpdatePolicyVersion1Conflict creates a UpdatePolicyVersion1Conflict with default headers values
func (*UpdatePolicyVersion1Conflict) Error ¶
func (o *UpdatePolicyVersion1Conflict) Error() string
func (*UpdatePolicyVersion1Conflict) GetPayload ¶
func (o *UpdatePolicyVersion1Conflict) GetPayload() *legalclientmodels.ErrorEntity
func (*UpdatePolicyVersion1Conflict) ToJSONString ¶
func (o *UpdatePolicyVersion1Conflict) ToJSONString() string
type UpdatePolicyVersion1OK ¶
type UpdatePolicyVersion1OK struct {
Payload *legalclientmodels.UpdatePolicyVersionResponse
}
UpdatePolicyVersion1OK handles this case with default header values.
successful operation
func NewUpdatePolicyVersion1OK ¶
func NewUpdatePolicyVersion1OK() *UpdatePolicyVersion1OK
NewUpdatePolicyVersion1OK creates a UpdatePolicyVersion1OK with default headers values
func (*UpdatePolicyVersion1OK) Error ¶
func (o *UpdatePolicyVersion1OK) Error() string
func (*UpdatePolicyVersion1OK) GetPayload ¶
func (o *UpdatePolicyVersion1OK) GetPayload() *legalclientmodels.UpdatePolicyVersionResponse
func (*UpdatePolicyVersion1OK) ToJSONString ¶
func (o *UpdatePolicyVersion1OK) ToJSONString() string
type UpdatePolicyVersion1Params ¶
type UpdatePolicyVersion1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.UpdatePolicyVersionRequest /*Namespace Namespace */ Namespace string /*PolicyVersionID Policy Version Id */ PolicyVersionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePolicyVersion1Params contains all the parameters to send to the API endpoint for the update policy version 1 operation typically these are written to a http.Request
func NewUpdatePolicyVersion1Params ¶
func NewUpdatePolicyVersion1Params() *UpdatePolicyVersion1Params
NewUpdatePolicyVersion1Params creates a new UpdatePolicyVersion1Params object with the default values initialized.
func NewUpdatePolicyVersion1ParamsWithContext ¶
func NewUpdatePolicyVersion1ParamsWithContext(ctx context.Context) *UpdatePolicyVersion1Params
NewUpdatePolicyVersion1ParamsWithContext creates a new UpdatePolicyVersion1Params object with the default values initialized, and the ability to set a context for a request
func NewUpdatePolicyVersion1ParamsWithHTTPClient ¶
func NewUpdatePolicyVersion1ParamsWithHTTPClient(client *http.Client) *UpdatePolicyVersion1Params
NewUpdatePolicyVersion1ParamsWithHTTPClient creates a new UpdatePolicyVersion1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePolicyVersion1ParamsWithTimeout ¶
func NewUpdatePolicyVersion1ParamsWithTimeout(timeout time.Duration) *UpdatePolicyVersion1Params
NewUpdatePolicyVersion1ParamsWithTimeout creates a new UpdatePolicyVersion1Params object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePolicyVersion1Params) SetAuthInfoWriter ¶
func (o *UpdatePolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update policy version 1 params
func (*UpdatePolicyVersion1Params) SetBody ¶
func (o *UpdatePolicyVersion1Params) SetBody(body *legalclientmodels.UpdatePolicyVersionRequest)
SetBody adds the body to the update policy version 1 params
func (*UpdatePolicyVersion1Params) SetContext ¶
func (o *UpdatePolicyVersion1Params) SetContext(ctx context.Context)
SetContext adds the context to the update policy version 1 params
func (*UpdatePolicyVersion1Params) SetHTTPClient ¶
func (o *UpdatePolicyVersion1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update policy version 1 params
func (*UpdatePolicyVersion1Params) SetHTTPClientTransport ¶
func (o *UpdatePolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update policy version 1 params
func (*UpdatePolicyVersion1Params) SetNamespace ¶
func (o *UpdatePolicyVersion1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the update policy version 1 params
func (*UpdatePolicyVersion1Params) SetPolicyVersionID ¶
func (o *UpdatePolicyVersion1Params) SetPolicyVersionID(policyVersionID string)
SetPolicyVersionID adds the policyVersionId to the update policy version 1 params
func (*UpdatePolicyVersion1Params) SetTimeout ¶
func (o *UpdatePolicyVersion1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update policy version 1 params
func (*UpdatePolicyVersion1Params) WithBody ¶
func (o *UpdatePolicyVersion1Params) WithBody(body *legalclientmodels.UpdatePolicyVersionRequest) *UpdatePolicyVersion1Params
WithBody adds the body to the update policy version 1 params
func (*UpdatePolicyVersion1Params) WithContext ¶
func (o *UpdatePolicyVersion1Params) WithContext(ctx context.Context) *UpdatePolicyVersion1Params
WithContext adds the context to the update policy version 1 params
func (*UpdatePolicyVersion1Params) WithHTTPClient ¶
func (o *UpdatePolicyVersion1Params) WithHTTPClient(client *http.Client) *UpdatePolicyVersion1Params
WithHTTPClient adds the HTTPClient to the update policy version 1 params
func (*UpdatePolicyVersion1Params) WithNamespace ¶
func (o *UpdatePolicyVersion1Params) WithNamespace(namespace string) *UpdatePolicyVersion1Params
WithNamespace adds the namespace to the update policy version 1 params
func (*UpdatePolicyVersion1Params) WithPolicyVersionID ¶
func (o *UpdatePolicyVersion1Params) WithPolicyVersionID(policyVersionID string) *UpdatePolicyVersion1Params
WithPolicyVersionID adds the policyVersionID to the update policy version 1 params
func (*UpdatePolicyVersion1Params) WithTimeout ¶
func (o *UpdatePolicyVersion1Params) WithTimeout(timeout time.Duration) *UpdatePolicyVersion1Params
WithTimeout adds the timeout to the update policy version 1 params
func (*UpdatePolicyVersion1Params) WriteToRequest ¶
func (o *UpdatePolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePolicyVersion1Reader ¶
type UpdatePolicyVersion1Reader struct {
// contains filtered or unexported fields
}
UpdatePolicyVersion1Reader is a Reader for the UpdatePolicyVersion1 structure.
func (*UpdatePolicyVersion1Reader) ReadResponse ¶
func (o *UpdatePolicyVersion1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_policy_version_1_parameters.go
- create_policy_version_1_responses.go
- policy_versions_with_namespace_client.go
- publish_policy_version_1_parameters.go
- publish_policy_version_1_responses.go
- retrieve_single_policy_version_1_parameters.go
- retrieve_single_policy_version_1_responses.go
- update_policy_version_1_parameters.go
- update_policy_version_1_responses.go