Documentation ¶
Index ¶
- type AddOK
- type AddParams
- func (o *AddParams) SetAgreement(agreement *models.ServiceAccountAgreement)
- func (o *AddParams) SetContext(ctx context.Context)
- func (o *AddParams) SetCustomerTenantID(customerTenantID int32)
- func (o *AddParams) SetDefaults()
- func (o *AddParams) SetHTTPClient(client *http.Client)
- func (o *AddParams) SetTimeout(timeout time.Duration)
- func (o *AddParams) WithAgreement(agreement *models.ServiceAccountAgreement) *AddParams
- func (o *AddParams) WithContext(ctx context.Context) *AddParams
- func (o *AddParams) WithCustomerTenantID(customerTenantID int32) *AddParams
- func (o *AddParams) WithDefaults() *AddParams
- func (o *AddParams) WithHTTPClient(client *http.Client) *AddParams
- func (o *AddParams) WithTimeout(timeout time.Duration) *AddParams
- func (o *AddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddReader
- type Client
- func (a *Client) Add(params *AddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOK, error)
- func (a *Client) GetCustomerTenantAgreements(params *GetCustomerTenantAgreementsParams, ...) (*GetCustomerTenantAgreementsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCustomerTenantAgreementsOK
- type GetCustomerTenantAgreementsParams
- func NewGetCustomerTenantAgreementsParams() *GetCustomerTenantAgreementsParams
- func NewGetCustomerTenantAgreementsParamsWithContext(ctx context.Context) *GetCustomerTenantAgreementsParams
- func NewGetCustomerTenantAgreementsParamsWithHTTPClient(client *http.Client) *GetCustomerTenantAgreementsParams
- func NewGetCustomerTenantAgreementsParamsWithTimeout(timeout time.Duration) *GetCustomerTenantAgreementsParams
- func (o *GetCustomerTenantAgreementsParams) SetAgreementTypeConsent(agreementTypeConsent *string)
- func (o *GetCustomerTenantAgreementsParams) SetContext(ctx context.Context)
- func (o *GetCustomerTenantAgreementsParams) SetCustomerTenantID(customerTenantID int32)
- func (o *GetCustomerTenantAgreementsParams) SetDefaults()
- func (o *GetCustomerTenantAgreementsParams) SetHTTPClient(client *http.Client)
- func (o *GetCustomerTenantAgreementsParams) SetTimeout(timeout time.Duration)
- func (o *GetCustomerTenantAgreementsParams) WithAgreementTypeConsent(agreementTypeConsent *string) *GetCustomerTenantAgreementsParams
- func (o *GetCustomerTenantAgreementsParams) WithContext(ctx context.Context) *GetCustomerTenantAgreementsParams
- func (o *GetCustomerTenantAgreementsParams) WithCustomerTenantID(customerTenantID int32) *GetCustomerTenantAgreementsParams
- func (o *GetCustomerTenantAgreementsParams) WithDefaults() *GetCustomerTenantAgreementsParams
- func (o *GetCustomerTenantAgreementsParams) WithHTTPClient(client *http.Client) *GetCustomerTenantAgreementsParams
- func (o *GetCustomerTenantAgreementsParams) WithTimeout(timeout time.Duration) *GetCustomerTenantAgreementsParams
- func (o *GetCustomerTenantAgreementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCustomerTenantAgreementsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOK ¶
type AddOK struct {
Payload *models.ServiceAccountAgreement
}
AddOK describes a response with status code 200, with default header values.
Success
func (*AddOK) GetPayload ¶
func (o *AddOK) GetPayload() *models.ServiceAccountAgreement
type AddParams ¶
type AddParams struct { // Agreement. Agreement *models.ServiceAccountAgreement // CustomerTenantID. // // Format: int32 CustomerTenantID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddParams contains all the parameters to send to the API endpoint
for the add operation. Typically these are written to a http.Request.
func NewAddParams ¶
func NewAddParams() *AddParams
NewAddParams creates a new AddParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddParamsWithContext ¶
NewAddParamsWithContext creates a new AddParams object with the ability to set a context for a request.
func NewAddParamsWithHTTPClient ¶
NewAddParamsWithHTTPClient creates a new AddParams object with the ability to set a custom HTTPClient for a request.
func NewAddParamsWithTimeout ¶
NewAddParamsWithTimeout creates a new AddParams object with the ability to set a timeout on a request.
func (*AddParams) SetAgreement ¶
func (o *AddParams) SetAgreement(agreement *models.ServiceAccountAgreement)
SetAgreement adds the agreement to the add params
func (*AddParams) SetContext ¶
SetContext adds the context to the add params
func (*AddParams) SetCustomerTenantID ¶
SetCustomerTenantID adds the customerTenantId to the add params
func (*AddParams) SetDefaults ¶
func (o *AddParams) SetDefaults()
SetDefaults hydrates default values in the add params (not the query body).
All values with no default are reset to their zero value.
func (*AddParams) SetHTTPClient ¶
SetHTTPClient adds the HTTPClient to the add params
func (*AddParams) SetTimeout ¶
SetTimeout adds the timeout to the add params
func (*AddParams) WithAgreement ¶
func (o *AddParams) WithAgreement(agreement *models.ServiceAccountAgreement) *AddParams
WithAgreement adds the agreement to the add params
func (*AddParams) WithContext ¶
WithContext adds the context to the add params
func (*AddParams) WithCustomerTenantID ¶
WithCustomerTenantID adds the customerTenantID to the add params
func (*AddParams) WithDefaults ¶
WithDefaults hydrates default values in the add params (not the query body).
All values with no default are reset to their zero value.
func (*AddParams) WithHTTPClient ¶
WithHTTPClient adds the HTTPClient to the add params
func (*AddParams) WithTimeout ¶
WithTimeout adds the timeout to the add params
func (*AddParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type AddReader ¶
type AddReader struct {
// contains filtered or unexported fields
}
AddReader is a Reader for the Add structure.
func (*AddReader) ReadResponse ¶
func (o *AddReader) 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 customer tenant agreements API
func (*Client) Add ¶
func (a *Client) Add(params *AddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOK, error)
Add add API
func (*Client) GetCustomerTenantAgreements ¶
func (a *Client) GetCustomerTenantAgreements(params *GetCustomerTenantAgreementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCustomerTenantAgreementsOK, error)
GetCustomerTenantAgreements get customer tenant agreements API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { Add(params *AddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOK, error) GetCustomerTenantAgreements(params *GetCustomerTenantAgreementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCustomerTenantAgreementsOK, 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 customer tenant agreements API client.
type GetCustomerTenantAgreementsOK ¶
type GetCustomerTenantAgreementsOK struct {
Payload *models.APICollectionOfServiceAccountAgreement
}
GetCustomerTenantAgreementsOK describes a response with status code 200, with default header values.
Success
func NewGetCustomerTenantAgreementsOK ¶
func NewGetCustomerTenantAgreementsOK() *GetCustomerTenantAgreementsOK
NewGetCustomerTenantAgreementsOK creates a GetCustomerTenantAgreementsOK with default headers values
func (*GetCustomerTenantAgreementsOK) Error ¶
func (o *GetCustomerTenantAgreementsOK) Error() string
func (*GetCustomerTenantAgreementsOK) GetPayload ¶
func (o *GetCustomerTenantAgreementsOK) GetPayload() *models.APICollectionOfServiceAccountAgreement
type GetCustomerTenantAgreementsParams ¶
type GetCustomerTenantAgreementsParams struct { // AgreementTypeConsent. AgreementTypeConsent *string // CustomerTenantID. // // Format: int32 CustomerTenantID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCustomerTenantAgreementsParams contains all the parameters to send to the API endpoint
for the get customer tenant agreements operation. Typically these are written to a http.Request.
func NewGetCustomerTenantAgreementsParams ¶
func NewGetCustomerTenantAgreementsParams() *GetCustomerTenantAgreementsParams
NewGetCustomerTenantAgreementsParams creates a new GetCustomerTenantAgreementsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCustomerTenantAgreementsParamsWithContext ¶
func NewGetCustomerTenantAgreementsParamsWithContext(ctx context.Context) *GetCustomerTenantAgreementsParams
NewGetCustomerTenantAgreementsParamsWithContext creates a new GetCustomerTenantAgreementsParams object with the ability to set a context for a request.
func NewGetCustomerTenantAgreementsParamsWithHTTPClient ¶
func NewGetCustomerTenantAgreementsParamsWithHTTPClient(client *http.Client) *GetCustomerTenantAgreementsParams
NewGetCustomerTenantAgreementsParamsWithHTTPClient creates a new GetCustomerTenantAgreementsParams object with the ability to set a custom HTTPClient for a request.
func NewGetCustomerTenantAgreementsParamsWithTimeout ¶
func NewGetCustomerTenantAgreementsParamsWithTimeout(timeout time.Duration) *GetCustomerTenantAgreementsParams
NewGetCustomerTenantAgreementsParamsWithTimeout creates a new GetCustomerTenantAgreementsParams object with the ability to set a timeout on a request.
func (*GetCustomerTenantAgreementsParams) SetAgreementTypeConsent ¶
func (o *GetCustomerTenantAgreementsParams) SetAgreementTypeConsent(agreementTypeConsent *string)
SetAgreementTypeConsent adds the agreementTypeConsent to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) SetContext ¶
func (o *GetCustomerTenantAgreementsParams) SetContext(ctx context.Context)
SetContext adds the context to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) SetCustomerTenantID ¶
func (o *GetCustomerTenantAgreementsParams) SetCustomerTenantID(customerTenantID int32)
SetCustomerTenantID adds the customerTenantId to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) SetDefaults ¶
func (o *GetCustomerTenantAgreementsParams) SetDefaults()
SetDefaults hydrates default values in the get customer tenant agreements params (not the query body).
All values with no default are reset to their zero value.
func (*GetCustomerTenantAgreementsParams) SetHTTPClient ¶
func (o *GetCustomerTenantAgreementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) SetTimeout ¶
func (o *GetCustomerTenantAgreementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WithAgreementTypeConsent ¶
func (o *GetCustomerTenantAgreementsParams) WithAgreementTypeConsent(agreementTypeConsent *string) *GetCustomerTenantAgreementsParams
WithAgreementTypeConsent adds the agreementTypeConsent to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WithContext ¶
func (o *GetCustomerTenantAgreementsParams) WithContext(ctx context.Context) *GetCustomerTenantAgreementsParams
WithContext adds the context to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WithCustomerTenantID ¶
func (o *GetCustomerTenantAgreementsParams) WithCustomerTenantID(customerTenantID int32) *GetCustomerTenantAgreementsParams
WithCustomerTenantID adds the customerTenantID to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WithDefaults ¶
func (o *GetCustomerTenantAgreementsParams) WithDefaults() *GetCustomerTenantAgreementsParams
WithDefaults hydrates default values in the get customer tenant agreements params (not the query body).
All values with no default are reset to their zero value.
func (*GetCustomerTenantAgreementsParams) WithHTTPClient ¶
func (o *GetCustomerTenantAgreementsParams) WithHTTPClient(client *http.Client) *GetCustomerTenantAgreementsParams
WithHTTPClient adds the HTTPClient to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WithTimeout ¶
func (o *GetCustomerTenantAgreementsParams) WithTimeout(timeout time.Duration) *GetCustomerTenantAgreementsParams
WithTimeout adds the timeout to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WriteToRequest ¶
func (o *GetCustomerTenantAgreementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCustomerTenantAgreementsReader ¶
type GetCustomerTenantAgreementsReader struct {
// contains filtered or unexported fields
}
GetCustomerTenantAgreementsReader is a Reader for the GetCustomerTenantAgreements structure.
func (*GetCustomerTenantAgreementsReader) ReadResponse ¶
func (o *GetCustomerTenantAgreementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.