Documentation ¶
Index ¶
- type Client
- func (a *Client) IndirectBulkAcceptVersionedPolicy(params *IndirectBulkAcceptVersionedPolicyParams, ...) (*IndirectBulkAcceptVersionedPolicyCreated, error)deprecated
- func (a *Client) IndirectBulkAcceptVersionedPolicyShort(params *IndirectBulkAcceptVersionedPolicyParams, ...) (*IndirectBulkAcceptVersionedPolicyCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type IndirectBulkAcceptVersionedPolicyCreated
- type IndirectBulkAcceptVersionedPolicyParams
- func NewIndirectBulkAcceptVersionedPolicyParams() *IndirectBulkAcceptVersionedPolicyParams
- func NewIndirectBulkAcceptVersionedPolicyParamsWithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicyParams
- func NewIndirectBulkAcceptVersionedPolicyParamsWithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicyParams
- func NewIndirectBulkAcceptVersionedPolicyParamsWithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicyParams
- func (o *IndirectBulkAcceptVersionedPolicyParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *IndirectBulkAcceptVersionedPolicyParams) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
- func (o *IndirectBulkAcceptVersionedPolicyParams) SetClientID(clientID string)
- func (o *IndirectBulkAcceptVersionedPolicyParams) SetContext(ctx context.Context)
- func (o *IndirectBulkAcceptVersionedPolicyParams) SetCountryCode(countryCode string)
- func (o *IndirectBulkAcceptVersionedPolicyParams) SetHTTPClient(client *http.Client)
- func (o *IndirectBulkAcceptVersionedPolicyParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *IndirectBulkAcceptVersionedPolicyParams) SetNamespace(namespace string)
- func (o *IndirectBulkAcceptVersionedPolicyParams) SetPublisherUserID(publisherUserID *string)
- func (o *IndirectBulkAcceptVersionedPolicyParams) SetTimeout(timeout time.Duration)
- func (o *IndirectBulkAcceptVersionedPolicyParams) SetUserID(userID string)
- func (o *IndirectBulkAcceptVersionedPolicyParams) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *IndirectBulkAcceptVersionedPolicyParams
- func (o *IndirectBulkAcceptVersionedPolicyParams) WithClientID(clientID string) *IndirectBulkAcceptVersionedPolicyParams
- func (o *IndirectBulkAcceptVersionedPolicyParams) WithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicyParams
- func (o *IndirectBulkAcceptVersionedPolicyParams) WithCountryCode(countryCode string) *IndirectBulkAcceptVersionedPolicyParams
- func (o *IndirectBulkAcceptVersionedPolicyParams) WithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicyParams
- func (o *IndirectBulkAcceptVersionedPolicyParams) WithNamespace(namespace string) *IndirectBulkAcceptVersionedPolicyParams
- func (o *IndirectBulkAcceptVersionedPolicyParams) WithPublisherUserID(publisherUserID *string) *IndirectBulkAcceptVersionedPolicyParams
- func (o *IndirectBulkAcceptVersionedPolicyParams) WithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicyParams
- func (o *IndirectBulkAcceptVersionedPolicyParams) WithUserID(userID string) *IndirectBulkAcceptVersionedPolicyParams
- func (o *IndirectBulkAcceptVersionedPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IndirectBulkAcceptVersionedPolicyReader
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
func (a *Client) IndirectBulkAcceptVersionedPolicy(params *IndirectBulkAcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicyCreated, error)
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 (o *IndirectBulkAcceptVersionedPolicyCreated) Error() string
func (*IndirectBulkAcceptVersionedPolicyCreated) GetPayload ¶ added in v0.22.0
func (o *IndirectBulkAcceptVersionedPolicyCreated) GetPayload() *legalclientmodels.AcceptAgreementResponse
func (*IndirectBulkAcceptVersionedPolicyCreated) ToJSONString ¶ added in v0.25.0
func (o *IndirectBulkAcceptVersionedPolicyCreated) ToJSONString() string
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 ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
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 ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *IndirectBulkAcceptVersionedPolicyParams
WithBody adds the body to the indirect bulk accept versioned policy params
func (*IndirectBulkAcceptVersionedPolicyParams) WithClientID ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) WithClientID(clientID string) *IndirectBulkAcceptVersionedPolicyParams
WithClientID adds the clientID to the indirect bulk accept versioned policy params
func (*IndirectBulkAcceptVersionedPolicyParams) WithContext ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) WithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicyParams
WithContext adds the context to the indirect bulk accept versioned policy params
func (*IndirectBulkAcceptVersionedPolicyParams) WithCountryCode ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) WithCountryCode(countryCode string) *IndirectBulkAcceptVersionedPolicyParams
WithCountryCode adds the countryCode to the indirect bulk accept versioned policy params
func (*IndirectBulkAcceptVersionedPolicyParams) WithHTTPClient ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) WithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicyParams
WithHTTPClient adds the HTTPClient to the indirect bulk accept versioned policy params
func (*IndirectBulkAcceptVersionedPolicyParams) WithNamespace ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) WithNamespace(namespace string) *IndirectBulkAcceptVersionedPolicyParams
WithNamespace adds the namespace to the indirect bulk accept versioned policy params
func (*IndirectBulkAcceptVersionedPolicyParams) WithPublisherUserID ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) WithPublisherUserID(publisherUserID *string) *IndirectBulkAcceptVersionedPolicyParams
WithPublisherUserID adds the publisherUserID to the indirect bulk accept versioned policy params
func (*IndirectBulkAcceptVersionedPolicyParams) WithTimeout ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) WithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicyParams
WithTimeout adds the timeout to the indirect bulk accept versioned policy params
func (*IndirectBulkAcceptVersionedPolicyParams) WithUserID ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) WithUserID(userID string) *IndirectBulkAcceptVersionedPolicyParams
WithUserID adds the userID to the indirect bulk accept versioned policy params
func (*IndirectBulkAcceptVersionedPolicyParams) WriteToRequest ¶
func (o *IndirectBulkAcceptVersionedPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.