admin_user_agreement

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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 admin user agreement API

func (*Client) IndirectBulkAcceptVersionedPolicy deprecated

Deprecated: Use IndirectBulkAcceptVersionedPolicyShort instead.

IndirectBulkAcceptVersionedPolicy admins bulk accept policy versions

Accepts many legal policy versions all at once. Supply with localized version policy id and userId to accept an agreement. Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:LEGAL", action=1 (CREATE)</li></ul>

func (*Client) IndirectBulkAcceptVersionedPolicyShort

func (a *Client) IndirectBulkAcceptVersionedPolicyShort(params *IndirectBulkAcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicyCreated, error)

IndirectBulkAcceptVersionedPolicyShort admins bulk accept policy versions

Accepts many legal policy versions all at once. Supply with localized version policy id and userId to accept an agreement. Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:LEGAL", action=1 (CREATE)</li></ul>

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	IndirectBulkAcceptVersionedPolicy(params *IndirectBulkAcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicyCreated, error)
	IndirectBulkAcceptVersionedPolicyShort(params *IndirectBulkAcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicyCreated, 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 admin user agreement API client.

type IndirectBulkAcceptVersionedPolicyCreated added in v0.22.0

type IndirectBulkAcceptVersionedPolicyCreated struct {
	Payload *legalclientmodels.AcceptAgreementResponse
}

IndirectBulkAcceptVersionedPolicyCreated handles this case with default header values.

successful operation

func NewIndirectBulkAcceptVersionedPolicyCreated added in v0.22.0

func NewIndirectBulkAcceptVersionedPolicyCreated() *IndirectBulkAcceptVersionedPolicyCreated

NewIndirectBulkAcceptVersionedPolicyCreated creates a IndirectBulkAcceptVersionedPolicyCreated with default headers values

func (*IndirectBulkAcceptVersionedPolicyCreated) Error added in v0.22.0

func (*IndirectBulkAcceptVersionedPolicyCreated) GetPayload added in v0.22.0

func (*IndirectBulkAcceptVersionedPolicyCreated) ToJSONString added in v0.25.0

type IndirectBulkAcceptVersionedPolicyParams

type IndirectBulkAcceptVersionedPolicyParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []*legalclientmodels.AcceptAgreementRequest
	/*ClientID
	  Client Id

	*/
	ClientID string
	/*CountryCode
	  Country Code

	*/
	CountryCode string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*PublisherUserID
	  Publisher user Id

	*/
	PublisherUserID *string
	/*UserID
	  User Id

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

IndirectBulkAcceptVersionedPolicyParams contains all the parameters to send to the API endpoint for the indirect bulk accept versioned policy operation typically these are written to a http.Request

func NewIndirectBulkAcceptVersionedPolicyParams

func NewIndirectBulkAcceptVersionedPolicyParams() *IndirectBulkAcceptVersionedPolicyParams

NewIndirectBulkAcceptVersionedPolicyParams creates a new IndirectBulkAcceptVersionedPolicyParams object with the default values initialized.

func NewIndirectBulkAcceptVersionedPolicyParamsWithContext

func NewIndirectBulkAcceptVersionedPolicyParamsWithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicyParams

NewIndirectBulkAcceptVersionedPolicyParamsWithContext creates a new IndirectBulkAcceptVersionedPolicyParams object with the default values initialized, and the ability to set a context for a request

func NewIndirectBulkAcceptVersionedPolicyParamsWithHTTPClient

func NewIndirectBulkAcceptVersionedPolicyParamsWithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicyParams

NewIndirectBulkAcceptVersionedPolicyParamsWithHTTPClient creates a new IndirectBulkAcceptVersionedPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewIndirectBulkAcceptVersionedPolicyParamsWithTimeout

func NewIndirectBulkAcceptVersionedPolicyParamsWithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicyParams

NewIndirectBulkAcceptVersionedPolicyParamsWithTimeout creates a new IndirectBulkAcceptVersionedPolicyParams object with the default values initialized, and the ability to set a timeout on a request

func (*IndirectBulkAcceptVersionedPolicyParams) SetAuthInfoWriter added in v0.17.0

func (o *IndirectBulkAcceptVersionedPolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) SetBody

SetBody adds the body to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) SetClientID

func (o *IndirectBulkAcceptVersionedPolicyParams) SetClientID(clientID string)

SetClientID adds the clientId to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) SetContext

SetContext adds the context to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) SetCountryCode

func (o *IndirectBulkAcceptVersionedPolicyParams) SetCountryCode(countryCode string)

SetCountryCode adds the countryCode to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) SetHTTPClient

func (o *IndirectBulkAcceptVersionedPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) SetHTTPClientTransport added in v0.19.0

func (o *IndirectBulkAcceptVersionedPolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) SetNamespace

func (o *IndirectBulkAcceptVersionedPolicyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) SetPublisherUserID

func (o *IndirectBulkAcceptVersionedPolicyParams) SetPublisherUserID(publisherUserID *string)

SetPublisherUserID adds the publisherUserId to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) SetTimeout

func (o *IndirectBulkAcceptVersionedPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) SetUserID

func (o *IndirectBulkAcceptVersionedPolicyParams) SetUserID(userID string)

SetUserID adds the userId to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) WithBody

WithBody adds the body to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) WithClientID

WithClientID adds the clientID to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) WithContext

WithContext adds the context to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) WithCountryCode

WithCountryCode adds the countryCode to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) WithNamespace

WithNamespace adds the namespace to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) WithPublisherUserID

WithPublisherUserID adds the publisherUserID to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) WithTimeout

WithTimeout adds the timeout to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) WithUserID

WithUserID adds the userID to the indirect bulk accept versioned policy params

func (*IndirectBulkAcceptVersionedPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type IndirectBulkAcceptVersionedPolicyReader

type IndirectBulkAcceptVersionedPolicyReader struct {
	// contains filtered or unexported fields
}

IndirectBulkAcceptVersionedPolicyReader is a Reader for the IndirectBulkAcceptVersionedPolicy structure.

func (*IndirectBulkAcceptVersionedPolicyReader) ReadResponse

func (o *IndirectBulkAcceptVersionedPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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