anonymization

package
v0.0.0-...-f573b6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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

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

WithContext adds the context to the anonymize entitlement params

func (*AnonymizeEntitlementParams) WithHTTPClient

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

WithTimeout adds the timeout to the anonymize entitlement params

func (*AnonymizeEntitlementParams) WithUserID

WithUserID adds the userID to the anonymize entitlement params

func (*AnonymizeEntitlementParams) WriteToRequest

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

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

WithContext adds the context to the anonymize fulfillment params

func (*AnonymizeFulfillmentParams) WithHTTPClient

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

WithTimeout adds the timeout to the anonymize fulfillment params

func (*AnonymizeFulfillmentParams) WithUserID

WithUserID adds the userID to the anonymize fulfillment params

func (*AnonymizeFulfillmentParams) WriteToRequest

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL