admin_user_agreement

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 12 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

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) 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) (*IndirectBulkAcceptVersionedPolicyOK, error)
	IndirectBulkAcceptVersionedPolicyShort(params *IndirectBulkAcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicyOK, 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 IndirectBulkAcceptVersionedPolicyOK

type IndirectBulkAcceptVersionedPolicyOK struct {
	Payload *legalclientmodels.AcceptAgreementResponse
}

IndirectBulkAcceptVersionedPolicyOK handles this case with default header values.

successful operation

func NewIndirectBulkAcceptVersionedPolicyOK

func NewIndirectBulkAcceptVersionedPolicyOK() *IndirectBulkAcceptVersionedPolicyOK

NewIndirectBulkAcceptVersionedPolicyOK creates a IndirectBulkAcceptVersionedPolicyOK with default headers values

func (*IndirectBulkAcceptVersionedPolicyOK) Error

func (*IndirectBulkAcceptVersionedPolicyOK) GetPayload

type IndirectBulkAcceptVersionedPolicyParams

type IndirectBulkAcceptVersionedPolicyParams struct {

	/*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

	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) 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) 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