Documentation ¶
Index ¶
- type AnonymizeEntitlementNoContent
- type AnonymizeEntitlementParams
- func NewAnonymizeEntitlementParams() *AnonymizeEntitlementParams
- func NewAnonymizeEntitlementParamsWithContext(ctx context.Context) *AnonymizeEntitlementParams
- func NewAnonymizeEntitlementParamsWithHTTPClient(client *http.Client) *AnonymizeEntitlementParams
- func NewAnonymizeEntitlementParamsWithTimeout(timeout time.Duration) *AnonymizeEntitlementParams
- func (o *AnonymizeEntitlementParams) SetContext(ctx context.Context)
- func (o *AnonymizeEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *AnonymizeEntitlementParams) SetNamespace(namespace string)
- func (o *AnonymizeEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *AnonymizeEntitlementParams) SetUserID(userID string)
- func (o *AnonymizeEntitlementParams) WithContext(ctx context.Context) *AnonymizeEntitlementParams
- func (o *AnonymizeEntitlementParams) WithHTTPClient(client *http.Client) *AnonymizeEntitlementParams
- func (o *AnonymizeEntitlementParams) WithNamespace(namespace string) *AnonymizeEntitlementParams
- func (o *AnonymizeEntitlementParams) WithTimeout(timeout time.Duration) *AnonymizeEntitlementParams
- func (o *AnonymizeEntitlementParams) WithUserID(userID string) *AnonymizeEntitlementParams
- func (o *AnonymizeEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AnonymizeEntitlementReader
- type AnonymizeFulfillmentNoContent
- type AnonymizeFulfillmentParams
- func NewAnonymizeFulfillmentParams() *AnonymizeFulfillmentParams
- func NewAnonymizeFulfillmentParamsWithContext(ctx context.Context) *AnonymizeFulfillmentParams
- func NewAnonymizeFulfillmentParamsWithHTTPClient(client *http.Client) *AnonymizeFulfillmentParams
- func NewAnonymizeFulfillmentParamsWithTimeout(timeout time.Duration) *AnonymizeFulfillmentParams
- func (o *AnonymizeFulfillmentParams) SetContext(ctx context.Context)
- func (o *AnonymizeFulfillmentParams) SetHTTPClient(client *http.Client)
- func (o *AnonymizeFulfillmentParams) SetNamespace(namespace string)
- func (o *AnonymizeFulfillmentParams) SetTimeout(timeout time.Duration)
- func (o *AnonymizeFulfillmentParams) SetUserID(userID string)
- func (o *AnonymizeFulfillmentParams) WithContext(ctx context.Context) *AnonymizeFulfillmentParams
- func (o *AnonymizeFulfillmentParams) WithHTTPClient(client *http.Client) *AnonymizeFulfillmentParams
- func (o *AnonymizeFulfillmentParams) WithNamespace(namespace string) *AnonymizeFulfillmentParams
- func (o *AnonymizeFulfillmentParams) WithTimeout(timeout time.Duration) *AnonymizeFulfillmentParams
- func (o *AnonymizeFulfillmentParams) WithUserID(userID string) *AnonymizeFulfillmentParams
- func (o *AnonymizeFulfillmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AnonymizeFulfillmentReader
- type AnonymizeWalletNoContent
- type AnonymizeWalletParams
- func NewAnonymizeWalletParams() *AnonymizeWalletParams
- func NewAnonymizeWalletParamsWithContext(ctx context.Context) *AnonymizeWalletParams
- func NewAnonymizeWalletParamsWithHTTPClient(client *http.Client) *AnonymizeWalletParams
- func NewAnonymizeWalletParamsWithTimeout(timeout time.Duration) *AnonymizeWalletParams
- func (o *AnonymizeWalletParams) SetContext(ctx context.Context)
- func (o *AnonymizeWalletParams) SetHTTPClient(client *http.Client)
- func (o *AnonymizeWalletParams) SetNamespace(namespace string)
- func (o *AnonymizeWalletParams) SetTimeout(timeout time.Duration)
- func (o *AnonymizeWalletParams) SetUserID(userID string)
- func (o *AnonymizeWalletParams) WithContext(ctx context.Context) *AnonymizeWalletParams
- func (o *AnonymizeWalletParams) WithHTTPClient(client *http.Client) *AnonymizeWalletParams
- func (o *AnonymizeWalletParams) WithNamespace(namespace string) *AnonymizeWalletParams
- func (o *AnonymizeWalletParams) WithTimeout(timeout time.Duration) *AnonymizeWalletParams
- func (o *AnonymizeWalletParams) WithUserID(userID string) *AnonymizeWalletParams
- func (o *AnonymizeWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AnonymizeWalletReader
- type Client
- func (a *Client) AnonymizeEntitlement(params *AnonymizeEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeEntitlementNoContent, error)
- func (a *Client) AnonymizeFulfillment(params *AnonymizeFulfillmentParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeFulfillmentNoContent, error)
- func (a *Client) AnonymizeWallet(params *AnonymizeWalletParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeWalletNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnonymizeEntitlementNoContent ¶
type AnonymizeEntitlementNoContent struct { }
AnonymizeEntitlementNoContent handles this case with default header values.
Anonymize successfully
func NewAnonymizeEntitlementNoContent ¶
func NewAnonymizeEntitlementNoContent() *AnonymizeEntitlementNoContent
NewAnonymizeEntitlementNoContent creates a AnonymizeEntitlementNoContent with default headers values
func (*AnonymizeEntitlementNoContent) Error ¶
func (o *AnonymizeEntitlementNoContent) Error() string
type AnonymizeEntitlementParams ¶
type AnonymizeEntitlementParams struct { /*Namespace*/ Namespace string /*UserID*/ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AnonymizeEntitlementParams contains all the parameters to send to the API endpoint for the anonymize entitlement operation typically these are written to a http.Request
func NewAnonymizeEntitlementParams ¶
func NewAnonymizeEntitlementParams() *AnonymizeEntitlementParams
NewAnonymizeEntitlementParams creates a new AnonymizeEntitlementParams object with the default values initialized.
func NewAnonymizeEntitlementParamsWithContext ¶
func NewAnonymizeEntitlementParamsWithContext(ctx context.Context) *AnonymizeEntitlementParams
NewAnonymizeEntitlementParamsWithContext creates a new AnonymizeEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewAnonymizeEntitlementParamsWithHTTPClient ¶
func NewAnonymizeEntitlementParamsWithHTTPClient(client *http.Client) *AnonymizeEntitlementParams
NewAnonymizeEntitlementParamsWithHTTPClient creates a new AnonymizeEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAnonymizeEntitlementParamsWithTimeout ¶
func NewAnonymizeEntitlementParamsWithTimeout(timeout time.Duration) *AnonymizeEntitlementParams
NewAnonymizeEntitlementParamsWithTimeout creates a new AnonymizeEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*AnonymizeEntitlementParams) SetContext ¶
func (o *AnonymizeEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the anonymize entitlement params
func (*AnonymizeEntitlementParams) SetHTTPClient ¶
func (o *AnonymizeEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the anonymize entitlement params
func (*AnonymizeEntitlementParams) SetNamespace ¶
func (o *AnonymizeEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the anonymize entitlement params
func (*AnonymizeEntitlementParams) SetTimeout ¶
func (o *AnonymizeEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the anonymize entitlement params
func (*AnonymizeEntitlementParams) SetUserID ¶
func (o *AnonymizeEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the anonymize entitlement params
func (*AnonymizeEntitlementParams) WithContext ¶
func (o *AnonymizeEntitlementParams) WithContext(ctx context.Context) *AnonymizeEntitlementParams
WithContext adds the context to the anonymize entitlement params
func (*AnonymizeEntitlementParams) WithHTTPClient ¶
func (o *AnonymizeEntitlementParams) WithHTTPClient(client *http.Client) *AnonymizeEntitlementParams
WithHTTPClient adds the HTTPClient to the anonymize entitlement params
func (*AnonymizeEntitlementParams) WithNamespace ¶
func (o *AnonymizeEntitlementParams) WithNamespace(namespace string) *AnonymizeEntitlementParams
WithNamespace adds the namespace to the anonymize entitlement params
func (*AnonymizeEntitlementParams) WithTimeout ¶
func (o *AnonymizeEntitlementParams) WithTimeout(timeout time.Duration) *AnonymizeEntitlementParams
WithTimeout adds the timeout to the anonymize entitlement params
func (*AnonymizeEntitlementParams) WithUserID ¶
func (o *AnonymizeEntitlementParams) WithUserID(userID string) *AnonymizeEntitlementParams
WithUserID adds the userID to the anonymize entitlement params
func (*AnonymizeEntitlementParams) WriteToRequest ¶
func (o *AnonymizeEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AnonymizeEntitlementReader ¶
type AnonymizeEntitlementReader struct {
// contains filtered or unexported fields
}
AnonymizeEntitlementReader is a Reader for the AnonymizeEntitlement structure.
func (*AnonymizeEntitlementReader) ReadResponse ¶
func (o *AnonymizeEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AnonymizeFulfillmentNoContent ¶
type AnonymizeFulfillmentNoContent struct { }
AnonymizeFulfillmentNoContent handles this case with default header values.
Anonymize successfully
func NewAnonymizeFulfillmentNoContent ¶
func NewAnonymizeFulfillmentNoContent() *AnonymizeFulfillmentNoContent
NewAnonymizeFulfillmentNoContent creates a AnonymizeFulfillmentNoContent with default headers values
func (*AnonymizeFulfillmentNoContent) Error ¶
func (o *AnonymizeFulfillmentNoContent) Error() string
type AnonymizeFulfillmentParams ¶
type AnonymizeFulfillmentParams struct { /*Namespace*/ Namespace string /*UserID*/ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AnonymizeFulfillmentParams contains all the parameters to send to the API endpoint for the anonymize fulfillment operation typically these are written to a http.Request
func NewAnonymizeFulfillmentParams ¶
func NewAnonymizeFulfillmentParams() *AnonymizeFulfillmentParams
NewAnonymizeFulfillmentParams creates a new AnonymizeFulfillmentParams object with the default values initialized.
func NewAnonymizeFulfillmentParamsWithContext ¶
func NewAnonymizeFulfillmentParamsWithContext(ctx context.Context) *AnonymizeFulfillmentParams
NewAnonymizeFulfillmentParamsWithContext creates a new AnonymizeFulfillmentParams object with the default values initialized, and the ability to set a context for a request
func NewAnonymizeFulfillmentParamsWithHTTPClient ¶
func NewAnonymizeFulfillmentParamsWithHTTPClient(client *http.Client) *AnonymizeFulfillmentParams
NewAnonymizeFulfillmentParamsWithHTTPClient creates a new AnonymizeFulfillmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAnonymizeFulfillmentParamsWithTimeout ¶
func NewAnonymizeFulfillmentParamsWithTimeout(timeout time.Duration) *AnonymizeFulfillmentParams
NewAnonymizeFulfillmentParamsWithTimeout creates a new AnonymizeFulfillmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*AnonymizeFulfillmentParams) SetContext ¶
func (o *AnonymizeFulfillmentParams) SetContext(ctx context.Context)
SetContext adds the context to the anonymize fulfillment params
func (*AnonymizeFulfillmentParams) SetHTTPClient ¶
func (o *AnonymizeFulfillmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the anonymize fulfillment params
func (*AnonymizeFulfillmentParams) SetNamespace ¶
func (o *AnonymizeFulfillmentParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the anonymize fulfillment params
func (*AnonymizeFulfillmentParams) SetTimeout ¶
func (o *AnonymizeFulfillmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the anonymize fulfillment params
func (*AnonymizeFulfillmentParams) SetUserID ¶
func (o *AnonymizeFulfillmentParams) SetUserID(userID string)
SetUserID adds the userId to the anonymize fulfillment params
func (*AnonymizeFulfillmentParams) WithContext ¶
func (o *AnonymizeFulfillmentParams) WithContext(ctx context.Context) *AnonymizeFulfillmentParams
WithContext adds the context to the anonymize fulfillment params
func (*AnonymizeFulfillmentParams) WithHTTPClient ¶
func (o *AnonymizeFulfillmentParams) WithHTTPClient(client *http.Client) *AnonymizeFulfillmentParams
WithHTTPClient adds the HTTPClient to the anonymize fulfillment params
func (*AnonymizeFulfillmentParams) WithNamespace ¶
func (o *AnonymizeFulfillmentParams) WithNamespace(namespace string) *AnonymizeFulfillmentParams
WithNamespace adds the namespace to the anonymize fulfillment params
func (*AnonymizeFulfillmentParams) WithTimeout ¶
func (o *AnonymizeFulfillmentParams) WithTimeout(timeout time.Duration) *AnonymizeFulfillmentParams
WithTimeout adds the timeout to the anonymize fulfillment params
func (*AnonymizeFulfillmentParams) WithUserID ¶
func (o *AnonymizeFulfillmentParams) WithUserID(userID string) *AnonymizeFulfillmentParams
WithUserID adds the userID to the anonymize fulfillment params
func (*AnonymizeFulfillmentParams) WriteToRequest ¶
func (o *AnonymizeFulfillmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AnonymizeFulfillmentReader ¶
type AnonymizeFulfillmentReader struct {
// contains filtered or unexported fields
}
AnonymizeFulfillmentReader is a Reader for the AnonymizeFulfillment structure.
func (*AnonymizeFulfillmentReader) ReadResponse ¶
func (o *AnonymizeFulfillmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AnonymizeWalletNoContent ¶
type AnonymizeWalletNoContent struct { }
AnonymizeWalletNoContent handles this case with default header values.
Anonymize successfully
func NewAnonymizeWalletNoContent ¶
func NewAnonymizeWalletNoContent() *AnonymizeWalletNoContent
NewAnonymizeWalletNoContent creates a AnonymizeWalletNoContent with default headers values
func (*AnonymizeWalletNoContent) Error ¶
func (o *AnonymizeWalletNoContent) Error() string
type AnonymizeWalletParams ¶
type AnonymizeWalletParams struct { /*Namespace*/ Namespace string /*UserID*/ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AnonymizeWalletParams contains all the parameters to send to the API endpoint for the anonymize wallet operation typically these are written to a http.Request
func NewAnonymizeWalletParams ¶
func NewAnonymizeWalletParams() *AnonymizeWalletParams
NewAnonymizeWalletParams creates a new AnonymizeWalletParams object with the default values initialized.
func NewAnonymizeWalletParamsWithContext ¶
func NewAnonymizeWalletParamsWithContext(ctx context.Context) *AnonymizeWalletParams
NewAnonymizeWalletParamsWithContext creates a new AnonymizeWalletParams object with the default values initialized, and the ability to set a context for a request
func NewAnonymizeWalletParamsWithHTTPClient ¶
func NewAnonymizeWalletParamsWithHTTPClient(client *http.Client) *AnonymizeWalletParams
NewAnonymizeWalletParamsWithHTTPClient creates a new AnonymizeWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAnonymizeWalletParamsWithTimeout ¶
func NewAnonymizeWalletParamsWithTimeout(timeout time.Duration) *AnonymizeWalletParams
NewAnonymizeWalletParamsWithTimeout creates a new AnonymizeWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*AnonymizeWalletParams) SetContext ¶
func (o *AnonymizeWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the anonymize wallet params
func (*AnonymizeWalletParams) SetHTTPClient ¶
func (o *AnonymizeWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the anonymize wallet params
func (*AnonymizeWalletParams) SetNamespace ¶
func (o *AnonymizeWalletParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the anonymize wallet params
func (*AnonymizeWalletParams) SetTimeout ¶
func (o *AnonymizeWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the anonymize wallet params
func (*AnonymizeWalletParams) SetUserID ¶
func (o *AnonymizeWalletParams) SetUserID(userID string)
SetUserID adds the userId to the anonymize wallet params
func (*AnonymizeWalletParams) WithContext ¶
func (o *AnonymizeWalletParams) WithContext(ctx context.Context) *AnonymizeWalletParams
WithContext adds the context to the anonymize wallet params
func (*AnonymizeWalletParams) WithHTTPClient ¶
func (o *AnonymizeWalletParams) WithHTTPClient(client *http.Client) *AnonymizeWalletParams
WithHTTPClient adds the HTTPClient to the anonymize wallet params
func (*AnonymizeWalletParams) WithNamespace ¶
func (o *AnonymizeWalletParams) WithNamespace(namespace string) *AnonymizeWalletParams
WithNamespace adds the namespace to the anonymize wallet params
func (*AnonymizeWalletParams) WithTimeout ¶
func (o *AnonymizeWalletParams) WithTimeout(timeout time.Duration) *AnonymizeWalletParams
WithTimeout adds the timeout to the anonymize wallet params
func (*AnonymizeWalletParams) WithUserID ¶
func (o *AnonymizeWalletParams) WithUserID(userID string) *AnonymizeWalletParams
WithUserID adds the userID to the anonymize wallet params
func (*AnonymizeWalletParams) WriteToRequest ¶
func (o *AnonymizeWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AnonymizeWalletReader ¶
type AnonymizeWalletReader struct {
// contains filtered or unexported fields
}
AnonymizeWalletReader is a Reader for the AnonymizeWallet structure.
func (*AnonymizeWalletReader) ReadResponse ¶
func (o *AnonymizeWalletReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for anonymization API
func (*Client) AnonymizeEntitlement ¶
func (a *Client) AnonymizeEntitlement(params *AnonymizeEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeEntitlementNoContent, error)
AnonymizeEntitlement anonymizes entitlement
Anonymize entitlement. At current it will only anonymize entitlement, entitlement history and distribution receiver.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ANONYMIZATION", action=8 (DELETE)</li></ul>
func (*Client) AnonymizeFulfillment ¶
func (a *Client) AnonymizeFulfillment(params *AnonymizeFulfillmentParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeFulfillmentNoContent, error)
AnonymizeFulfillment anonymizes fulfillment
Anonymize fulfillment. At current it will only anonymize fulfillment history.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ANONYMIZATION", action=8 (DELETE)</li></ul>
func (*Client) AnonymizeWallet ¶
func (a *Client) AnonymizeWallet(params *AnonymizeWalletParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeWalletNoContent, error)
AnonymizeWallet anonymizes wallet
Anonymize wallet. At current it will only anonymize wallet, wallet transaction.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ANONYMIZATION", action=8 (DELETE)</li></ul>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AnonymizeEntitlement(params *AnonymizeEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeEntitlementNoContent, error) AnonymizeFulfillment(params *AnonymizeFulfillmentParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeFulfillmentNoContent, error) AnonymizeWallet(params *AnonymizeWalletParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeWalletNoContent, 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 anonymization API client.