admin_user_agreement

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 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: 2022-08-10 - Use IndirectBulkAcceptVersionedPolicyShort instead.

IndirectBulkAcceptVersionedPolicy admin 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:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:LEGAL", action=1 (CREATE)

func (*Client) IndirectBulkAcceptVersionedPolicyShort

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

IndirectBulkAcceptVersionedPolicyShort admin 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:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:LEGAL", action=1 (CREATE)

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

type IndirectBulkAcceptVersionedPolicyCreated struct {
	Payload *legalclientmodels.AcceptAgreementResponse
}

IndirectBulkAcceptVersionedPolicyCreated handles this case with default header values.

successful operation

func NewIndirectBulkAcceptVersionedPolicyCreated

func NewIndirectBulkAcceptVersionedPolicyCreated() *IndirectBulkAcceptVersionedPolicyCreated

NewIndirectBulkAcceptVersionedPolicyCreated creates a IndirectBulkAcceptVersionedPolicyCreated with default headers values

func (*IndirectBulkAcceptVersionedPolicyCreated) Error

func (*IndirectBulkAcceptVersionedPolicyCreated) GetPayload

func (*IndirectBulkAcceptVersionedPolicyCreated) ToJSONString

type IndirectBulkAcceptVersionedPolicyParams

type IndirectBulkAcceptVersionedPolicyParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []*legalclientmodels.AcceptAgreementRequest
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  User Id

	*/
	UserID string
	/*PublisherUserID
	  Publisher user Id

	*/
	PublisherUserID *string
	/*ClientID
	  Client Id

	*/
	ClientID string
	/*CountryCode
	  Country Code

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

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

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

func (o *IndirectBulkAcceptVersionedPolicyParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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

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