Documentation
¶
Index ¶
- type Client
- func (a *Client) DeletePolicyShort(params *DeletePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePolicyResponse, error)
- func (a *Client) SetDefaultPolicy3Short(params *SetDefaultPolicy3Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy3Response, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePolicy1Short(params *UpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicy1Response, error)
- type ClientService
- type DeletePolicyBadRequest
- type DeletePolicyNoContent
- type DeletePolicyParams
- func (o *DeletePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeletePolicyParams) SetContext(ctx context.Context)
- func (o *DeletePolicyParams) SetFlightId(flightId string)
- func (o *DeletePolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeletePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeletePolicyParams) SetNamespace(namespace string)
- func (o *DeletePolicyParams) SetPolicyID(policyID string)
- func (o *DeletePolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeletePolicyParams) WithContext(ctx context.Context) *DeletePolicyParams
- func (o *DeletePolicyParams) WithHTTPClient(client *http.Client) *DeletePolicyParams
- func (o *DeletePolicyParams) WithNamespace(namespace string) *DeletePolicyParams
- func (o *DeletePolicyParams) WithPolicyID(policyID string) *DeletePolicyParams
- func (o *DeletePolicyParams) WithTimeout(timeout time.Duration) *DeletePolicyParams
- func (o *DeletePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePolicyReader
- type DeletePolicyResponse
- type SetDefaultPolicy3BadRequest
- type SetDefaultPolicy3OK
- type SetDefaultPolicy3Params
- func NewSetDefaultPolicy3Params() *SetDefaultPolicy3Params
- func NewSetDefaultPolicy3ParamsWithContext(ctx context.Context) *SetDefaultPolicy3Params
- func NewSetDefaultPolicy3ParamsWithHTTPClient(client *http.Client) *SetDefaultPolicy3Params
- func NewSetDefaultPolicy3ParamsWithTimeout(timeout time.Duration) *SetDefaultPolicy3Params
- func (o *SetDefaultPolicy3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SetDefaultPolicy3Params) SetContext(ctx context.Context)
- func (o *SetDefaultPolicy3Params) SetFlightId(flightId string)
- func (o *SetDefaultPolicy3Params) SetHTTPClient(client *http.Client)
- func (o *SetDefaultPolicy3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SetDefaultPolicy3Params) SetNamespace(namespace string)
- func (o *SetDefaultPolicy3Params) SetPolicyID(policyID string)
- func (o *SetDefaultPolicy3Params) SetTimeout(timeout time.Duration)
- func (o *SetDefaultPolicy3Params) WithContext(ctx context.Context) *SetDefaultPolicy3Params
- func (o *SetDefaultPolicy3Params) WithHTTPClient(client *http.Client) *SetDefaultPolicy3Params
- func (o *SetDefaultPolicy3Params) WithNamespace(namespace string) *SetDefaultPolicy3Params
- func (o *SetDefaultPolicy3Params) WithPolicyID(policyID string) *SetDefaultPolicy3Params
- func (o *SetDefaultPolicy3Params) WithTimeout(timeout time.Duration) *SetDefaultPolicy3Params
- func (o *SetDefaultPolicy3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetDefaultPolicy3Reader
- type SetDefaultPolicy3Response
- type UpdatePolicy1BadRequest
- type UpdatePolicy1OK
- type UpdatePolicy1Params
- func (o *UpdatePolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdatePolicy1Params) SetBody(body *legalclientmodels.UpdatePolicyRequest)
- func (o *UpdatePolicy1Params) SetContext(ctx context.Context)
- func (o *UpdatePolicy1Params) SetFlightId(flightId string)
- func (o *UpdatePolicy1Params) SetHTTPClient(client *http.Client)
- func (o *UpdatePolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdatePolicy1Params) SetNamespace(namespace string)
- func (o *UpdatePolicy1Params) SetPolicyID(policyID string)
- func (o *UpdatePolicy1Params) SetTimeout(timeout time.Duration)
- func (o *UpdatePolicy1Params) WithBody(body *legalclientmodels.UpdatePolicyRequest) *UpdatePolicy1Params
- func (o *UpdatePolicy1Params) WithContext(ctx context.Context) *UpdatePolicy1Params
- func (o *UpdatePolicy1Params) WithHTTPClient(client *http.Client) *UpdatePolicy1Params
- func (o *UpdatePolicy1Params) WithNamespace(namespace string) *UpdatePolicy1Params
- func (o *UpdatePolicy1Params) WithPolicyID(policyID string) *UpdatePolicy1Params
- func (o *UpdatePolicy1Params) WithTimeout(timeout time.Duration) *UpdatePolicy1Params
- func (o *UpdatePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePolicy1Reader
- type UpdatePolicy1Response
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 policies with namespace API
func (*Client) DeletePolicyShort ¶
func (a *Client) DeletePolicyShort(params *DeletePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePolicyResponse, error)
DeletePolicyShort delete policy Delete policy.Can only be deleted if match these criteria:
- Policy is not default policy
- Policy version under policy has never been accepted by any user
func (*Client) SetDefaultPolicy3Short ¶
func (a *Client) SetDefaultPolicy3Short(params *SetDefaultPolicy3Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy3Response, error)
SetDefaultPolicy3Short set default policy Update a policy to be the default.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePolicy1Short ¶
func (a *Client) UpdatePolicy1Short(params *UpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicy1Response, error)
UpdatePolicy1Short update country-specific policy Update country-specific and country-group policy.
type ClientService ¶
type ClientService interface { DeletePolicyShort(params *DeletePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePolicyResponse, error) UpdatePolicy1Short(params *UpdatePolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicy1Response, error) SetDefaultPolicy3Short(params *SetDefaultPolicy3Params, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultPolicy3Response, 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 policies with namespace API client.
type DeletePolicyBadRequest ¶
type DeletePolicyBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
DeletePolicyBadRequest 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_id</td></tr><tr><td>40072</td><td>errors.net.accelbyte.platform.legal.policy_have_published_policy_version</td></tr><tr><td>40073</td><td>errors.net.accelbyte.platform.legal.policy_have_published_policy_version_and_already_accepted_by_user</td></tr><tr><td>40074</td><td>errors.net.accelbyte.platform.legal.policy_is_default_policy</td></tr></table>
func NewDeletePolicyBadRequest ¶
func NewDeletePolicyBadRequest() *DeletePolicyBadRequest
NewDeletePolicyBadRequest creates a DeletePolicyBadRequest with default headers values
func (*DeletePolicyBadRequest) Error ¶
func (o *DeletePolicyBadRequest) Error() string
func (*DeletePolicyBadRequest) GetPayload ¶
func (o *DeletePolicyBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*DeletePolicyBadRequest) ToJSONString ¶
func (o *DeletePolicyBadRequest) ToJSONString() string
type DeletePolicyNoContent ¶
type DeletePolicyNoContent struct { }
DeletePolicyNoContent handles this case with default header values.
Successful operation
func NewDeletePolicyNoContent ¶
func NewDeletePolicyNoContent() *DeletePolicyNoContent
NewDeletePolicyNoContent creates a DeletePolicyNoContent with default headers values
func (*DeletePolicyNoContent) Error ¶
func (o *DeletePolicyNoContent) Error() string
type DeletePolicyParams ¶
type DeletePolicyParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*PolicyID Policy Id */ PolicyID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
DeletePolicyParams contains all the parameters to send to the API endpoint for the delete policy operation typically these are written to a http.Request
func NewDeletePolicyParams ¶
func NewDeletePolicyParams() *DeletePolicyParams
NewDeletePolicyParams creates a new DeletePolicyParams object with the default values initialized.
func NewDeletePolicyParamsWithContext ¶
func NewDeletePolicyParamsWithContext(ctx context.Context) *DeletePolicyParams
NewDeletePolicyParamsWithContext creates a new DeletePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePolicyParamsWithHTTPClient ¶
func NewDeletePolicyParamsWithHTTPClient(client *http.Client) *DeletePolicyParams
NewDeletePolicyParamsWithHTTPClient creates a new DeletePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePolicyParamsWithTimeout ¶
func NewDeletePolicyParamsWithTimeout(timeout time.Duration) *DeletePolicyParams
NewDeletePolicyParamsWithTimeout creates a new DeletePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePolicyParams) SetAuthInfoWriter ¶
func (o *DeletePolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete policy params
func (*DeletePolicyParams) SetContext ¶
func (o *DeletePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete policy params
func (*DeletePolicyParams) SetFlightId ¶
func (o *DeletePolicyParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeletePolicyParams) SetHTTPClient ¶
func (o *DeletePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete policy params
func (*DeletePolicyParams) SetHTTPClientTransport ¶
func (o *DeletePolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete policy params
func (*DeletePolicyParams) SetNamespace ¶
func (o *DeletePolicyParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete policy params
func (*DeletePolicyParams) SetPolicyID ¶
func (o *DeletePolicyParams) SetPolicyID(policyID string)
SetPolicyID adds the policyId to the delete policy params
func (*DeletePolicyParams) SetTimeout ¶
func (o *DeletePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete policy params
func (*DeletePolicyParams) WithContext ¶
func (o *DeletePolicyParams) WithContext(ctx context.Context) *DeletePolicyParams
WithContext adds the context to the delete policy params
func (*DeletePolicyParams) WithHTTPClient ¶
func (o *DeletePolicyParams) WithHTTPClient(client *http.Client) *DeletePolicyParams
WithHTTPClient adds the HTTPClient to the delete policy params
func (*DeletePolicyParams) WithNamespace ¶
func (o *DeletePolicyParams) WithNamespace(namespace string) *DeletePolicyParams
WithNamespace adds the namespace to the delete policy params
func (*DeletePolicyParams) WithPolicyID ¶
func (o *DeletePolicyParams) WithPolicyID(policyID string) *DeletePolicyParams
WithPolicyID adds the policyID to the delete policy params
func (*DeletePolicyParams) WithTimeout ¶
func (o *DeletePolicyParams) WithTimeout(timeout time.Duration) *DeletePolicyParams
WithTimeout adds the timeout to the delete policy params
func (*DeletePolicyParams) WriteToRequest ¶
func (o *DeletePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePolicyReader ¶
type DeletePolicyReader struct {
// contains filtered or unexported fields
}
DeletePolicyReader is a Reader for the DeletePolicy structure.
func (*DeletePolicyReader) ReadResponse ¶
func (o *DeletePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePolicyResponse ¶
type DeletePolicyResponse struct { legalclientmodels.ApiResponse Error400 *legalclientmodels.ErrorEntity }
func (*DeletePolicyResponse) Unpack ¶
func (m *DeletePolicyResponse) Unpack() *legalclientmodels.ApiError
type SetDefaultPolicy3BadRequest ¶
type SetDefaultPolicy3BadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
SetDefaultPolicy3BadRequest 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_id</td></tr></table>
func NewSetDefaultPolicy3BadRequest ¶
func NewSetDefaultPolicy3BadRequest() *SetDefaultPolicy3BadRequest
NewSetDefaultPolicy3BadRequest creates a SetDefaultPolicy3BadRequest with default headers values
func (*SetDefaultPolicy3BadRequest) Error ¶
func (o *SetDefaultPolicy3BadRequest) Error() string
func (*SetDefaultPolicy3BadRequest) GetPayload ¶
func (o *SetDefaultPolicy3BadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*SetDefaultPolicy3BadRequest) ToJSONString ¶
func (o *SetDefaultPolicy3BadRequest) ToJSONString() string
type SetDefaultPolicy3OK ¶
type SetDefaultPolicy3OK struct { }
SetDefaultPolicy3OK handles this case with default header values.
operation successful
func NewSetDefaultPolicy3OK ¶
func NewSetDefaultPolicy3OK() *SetDefaultPolicy3OK
NewSetDefaultPolicy3OK creates a SetDefaultPolicy3OK with default headers values
func (*SetDefaultPolicy3OK) Error ¶
func (o *SetDefaultPolicy3OK) Error() string
type SetDefaultPolicy3Params ¶
type SetDefaultPolicy3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*PolicyID Policy Id */ PolicyID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
SetDefaultPolicy3Params contains all the parameters to send to the API endpoint for the set default policy 3 operation typically these are written to a http.Request
func NewSetDefaultPolicy3Params ¶
func NewSetDefaultPolicy3Params() *SetDefaultPolicy3Params
NewSetDefaultPolicy3Params creates a new SetDefaultPolicy3Params object with the default values initialized.
func NewSetDefaultPolicy3ParamsWithContext ¶
func NewSetDefaultPolicy3ParamsWithContext(ctx context.Context) *SetDefaultPolicy3Params
NewSetDefaultPolicy3ParamsWithContext creates a new SetDefaultPolicy3Params object with the default values initialized, and the ability to set a context for a request
func NewSetDefaultPolicy3ParamsWithHTTPClient ¶
func NewSetDefaultPolicy3ParamsWithHTTPClient(client *http.Client) *SetDefaultPolicy3Params
NewSetDefaultPolicy3ParamsWithHTTPClient creates a new SetDefaultPolicy3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetDefaultPolicy3ParamsWithTimeout ¶
func NewSetDefaultPolicy3ParamsWithTimeout(timeout time.Duration) *SetDefaultPolicy3Params
NewSetDefaultPolicy3ParamsWithTimeout creates a new SetDefaultPolicy3Params object with the default values initialized, and the ability to set a timeout on a request
func (*SetDefaultPolicy3Params) SetAuthInfoWriter ¶
func (o *SetDefaultPolicy3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the set default policy 3 params
func (*SetDefaultPolicy3Params) SetContext ¶
func (o *SetDefaultPolicy3Params) SetContext(ctx context.Context)
SetContext adds the context to the set default policy 3 params
func (*SetDefaultPolicy3Params) SetFlightId ¶
func (o *SetDefaultPolicy3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*SetDefaultPolicy3Params) SetHTTPClient ¶
func (o *SetDefaultPolicy3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set default policy 3 params
func (*SetDefaultPolicy3Params) SetHTTPClientTransport ¶
func (o *SetDefaultPolicy3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the set default policy 3 params
func (*SetDefaultPolicy3Params) SetNamespace ¶
func (o *SetDefaultPolicy3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the set default policy 3 params
func (*SetDefaultPolicy3Params) SetPolicyID ¶
func (o *SetDefaultPolicy3Params) SetPolicyID(policyID string)
SetPolicyID adds the policyId to the set default policy 3 params
func (*SetDefaultPolicy3Params) SetTimeout ¶
func (o *SetDefaultPolicy3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set default policy 3 params
func (*SetDefaultPolicy3Params) WithContext ¶
func (o *SetDefaultPolicy3Params) WithContext(ctx context.Context) *SetDefaultPolicy3Params
WithContext adds the context to the set default policy 3 params
func (*SetDefaultPolicy3Params) WithHTTPClient ¶
func (o *SetDefaultPolicy3Params) WithHTTPClient(client *http.Client) *SetDefaultPolicy3Params
WithHTTPClient adds the HTTPClient to the set default policy 3 params
func (*SetDefaultPolicy3Params) WithNamespace ¶
func (o *SetDefaultPolicy3Params) WithNamespace(namespace string) *SetDefaultPolicy3Params
WithNamespace adds the namespace to the set default policy 3 params
func (*SetDefaultPolicy3Params) WithPolicyID ¶
func (o *SetDefaultPolicy3Params) WithPolicyID(policyID string) *SetDefaultPolicy3Params
WithPolicyID adds the policyID to the set default policy 3 params
func (*SetDefaultPolicy3Params) WithTimeout ¶
func (o *SetDefaultPolicy3Params) WithTimeout(timeout time.Duration) *SetDefaultPolicy3Params
WithTimeout adds the timeout to the set default policy 3 params
func (*SetDefaultPolicy3Params) WriteToRequest ¶
func (o *SetDefaultPolicy3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetDefaultPolicy3Reader ¶
type SetDefaultPolicy3Reader struct {
// contains filtered or unexported fields
}
SetDefaultPolicy3Reader is a Reader for the SetDefaultPolicy3 structure.
func (*SetDefaultPolicy3Reader) ReadResponse ¶
func (o *SetDefaultPolicy3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetDefaultPolicy3Response ¶
type SetDefaultPolicy3Response struct { legalclientmodels.ApiResponse Error400 *legalclientmodels.ErrorEntity }
func (*SetDefaultPolicy3Response) Unpack ¶
func (m *SetDefaultPolicy3Response) Unpack() *legalclientmodels.ApiError
type UpdatePolicy1BadRequest ¶
type UpdatePolicy1BadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
UpdatePolicy1BadRequest 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_id</td></tr></table>
func NewUpdatePolicy1BadRequest ¶
func NewUpdatePolicy1BadRequest() *UpdatePolicy1BadRequest
NewUpdatePolicy1BadRequest creates a UpdatePolicy1BadRequest with default headers values
func (*UpdatePolicy1BadRequest) Error ¶
func (o *UpdatePolicy1BadRequest) Error() string
func (*UpdatePolicy1BadRequest) GetPayload ¶
func (o *UpdatePolicy1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*UpdatePolicy1BadRequest) ToJSONString ¶
func (o *UpdatePolicy1BadRequest) ToJSONString() string
type UpdatePolicy1OK ¶
type UpdatePolicy1OK struct { }
UpdatePolicy1OK handles this case with default header values.
operation successful
func NewUpdatePolicy1OK ¶
func NewUpdatePolicy1OK() *UpdatePolicy1OK
NewUpdatePolicy1OK creates a UpdatePolicy1OK with default headers values
func (*UpdatePolicy1OK) Error ¶
func (o *UpdatePolicy1OK) Error() string
type UpdatePolicy1Params ¶
type UpdatePolicy1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.UpdatePolicyRequest /*Namespace Namespace */ Namespace string /*PolicyID Policy Id */ PolicyID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UpdatePolicy1Params contains all the parameters to send to the API endpoint for the update policy 1 operation typically these are written to a http.Request
func NewUpdatePolicy1Params ¶
func NewUpdatePolicy1Params() *UpdatePolicy1Params
NewUpdatePolicy1Params creates a new UpdatePolicy1Params object with the default values initialized.
func NewUpdatePolicy1ParamsWithContext ¶
func NewUpdatePolicy1ParamsWithContext(ctx context.Context) *UpdatePolicy1Params
NewUpdatePolicy1ParamsWithContext creates a new UpdatePolicy1Params object with the default values initialized, and the ability to set a context for a request
func NewUpdatePolicy1ParamsWithHTTPClient ¶
func NewUpdatePolicy1ParamsWithHTTPClient(client *http.Client) *UpdatePolicy1Params
NewUpdatePolicy1ParamsWithHTTPClient creates a new UpdatePolicy1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePolicy1ParamsWithTimeout ¶
func NewUpdatePolicy1ParamsWithTimeout(timeout time.Duration) *UpdatePolicy1Params
NewUpdatePolicy1ParamsWithTimeout creates a new UpdatePolicy1Params object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePolicy1Params) SetAuthInfoWriter ¶
func (o *UpdatePolicy1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update policy 1 params
func (*UpdatePolicy1Params) SetBody ¶
func (o *UpdatePolicy1Params) SetBody(body *legalclientmodels.UpdatePolicyRequest)
SetBody adds the body to the update policy 1 params
func (*UpdatePolicy1Params) SetContext ¶
func (o *UpdatePolicy1Params) SetContext(ctx context.Context)
SetContext adds the context to the update policy 1 params
func (*UpdatePolicy1Params) SetFlightId ¶
func (o *UpdatePolicy1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdatePolicy1Params) SetHTTPClient ¶
func (o *UpdatePolicy1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update policy 1 params
func (*UpdatePolicy1Params) SetHTTPClientTransport ¶
func (o *UpdatePolicy1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update policy 1 params
func (*UpdatePolicy1Params) SetNamespace ¶
func (o *UpdatePolicy1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the update policy 1 params
func (*UpdatePolicy1Params) SetPolicyID ¶
func (o *UpdatePolicy1Params) SetPolicyID(policyID string)
SetPolicyID adds the policyId to the update policy 1 params
func (*UpdatePolicy1Params) SetTimeout ¶
func (o *UpdatePolicy1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update policy 1 params
func (*UpdatePolicy1Params) WithBody ¶
func (o *UpdatePolicy1Params) WithBody(body *legalclientmodels.UpdatePolicyRequest) *UpdatePolicy1Params
WithBody adds the body to the update policy 1 params
func (*UpdatePolicy1Params) WithContext ¶
func (o *UpdatePolicy1Params) WithContext(ctx context.Context) *UpdatePolicy1Params
WithContext adds the context to the update policy 1 params
func (*UpdatePolicy1Params) WithHTTPClient ¶
func (o *UpdatePolicy1Params) WithHTTPClient(client *http.Client) *UpdatePolicy1Params
WithHTTPClient adds the HTTPClient to the update policy 1 params
func (*UpdatePolicy1Params) WithNamespace ¶
func (o *UpdatePolicy1Params) WithNamespace(namespace string) *UpdatePolicy1Params
WithNamespace adds the namespace to the update policy 1 params
func (*UpdatePolicy1Params) WithPolicyID ¶
func (o *UpdatePolicy1Params) WithPolicyID(policyID string) *UpdatePolicy1Params
WithPolicyID adds the policyID to the update policy 1 params
func (*UpdatePolicy1Params) WithTimeout ¶
func (o *UpdatePolicy1Params) WithTimeout(timeout time.Duration) *UpdatePolicy1Params
WithTimeout adds the timeout to the update policy 1 params
func (*UpdatePolicy1Params) WriteToRequest ¶
func (o *UpdatePolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePolicy1Reader ¶
type UpdatePolicy1Reader struct {
// contains filtered or unexported fields
}
UpdatePolicy1Reader is a Reader for the UpdatePolicy1 structure.
func (*UpdatePolicy1Reader) ReadResponse ¶
func (o *UpdatePolicy1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePolicy1Response ¶
type UpdatePolicy1Response struct { legalclientmodels.ApiResponse Error400 *legalclientmodels.ErrorEntity }
func (*UpdatePolicy1Response) Unpack ¶
func (m *UpdatePolicy1Response) Unpack() *legalclientmodels.ApiError