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) 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) 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
- 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) 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) 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 handles this case with default header values.
Success
func (*AddOK) GetPayload ¶
func (o *AddOK) GetPayload() *models.ServiceAccountAgreement
type AddParams ¶
type AddParams struct { /*Agreement*/ Agreement *models.ServiceAccountAgreement /*CustomerTenantID*/ 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 values initialized.
func NewAddParamsWithContext ¶
NewAddParamsWithContext creates a new AddParams object with the default values initialized, and the ability to set a context for a request
func NewAddParamsWithHTTPClient ¶
NewAddParamsWithHTTPClient creates a new AddParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddParamsWithTimeout ¶
NewAddParamsWithTimeout creates a new AddParams object with the default values initialized, and 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) 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) 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) GetCustomerTenantAgreements ¶ added in v1.1.0
func (a *Client) GetCustomerTenantAgreements(params *GetCustomerTenantAgreementsParams, authInfo runtime.ClientAuthInfoWriter) (*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 ClientService ¶
type ClientService interface { Add(params *AddParams, authInfo runtime.ClientAuthInfoWriter) (*AddOK, error) GetCustomerTenantAgreements(params *GetCustomerTenantAgreementsParams, authInfo runtime.ClientAuthInfoWriter) (*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 ¶ added in v1.1.0
type GetCustomerTenantAgreementsOK struct {
Payload *models.APICollectionOfServiceAccountAgreement
}
GetCustomerTenantAgreementsOK handles this case with default header values.
Success
func NewGetCustomerTenantAgreementsOK ¶ added in v1.1.0
func NewGetCustomerTenantAgreementsOK() *GetCustomerTenantAgreementsOK
NewGetCustomerTenantAgreementsOK creates a GetCustomerTenantAgreementsOK with default headers values
func (*GetCustomerTenantAgreementsOK) Error ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsOK) Error() string
func (*GetCustomerTenantAgreementsOK) GetPayload ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsOK) GetPayload() *models.APICollectionOfServiceAccountAgreement
type GetCustomerTenantAgreementsParams ¶ added in v1.1.0
type GetCustomerTenantAgreementsParams struct { /*AgreementTypeConsent*/ AgreementTypeConsent *string /*CustomerTenantID*/ 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 ¶ added in v1.1.0
func NewGetCustomerTenantAgreementsParams() *GetCustomerTenantAgreementsParams
NewGetCustomerTenantAgreementsParams creates a new GetCustomerTenantAgreementsParams object with the default values initialized.
func NewGetCustomerTenantAgreementsParamsWithContext ¶ added in v1.1.0
func NewGetCustomerTenantAgreementsParamsWithContext(ctx context.Context) *GetCustomerTenantAgreementsParams
NewGetCustomerTenantAgreementsParamsWithContext creates a new GetCustomerTenantAgreementsParams object with the default values initialized, and the ability to set a context for a request
func NewGetCustomerTenantAgreementsParamsWithHTTPClient ¶ added in v1.1.0
func NewGetCustomerTenantAgreementsParamsWithHTTPClient(client *http.Client) *GetCustomerTenantAgreementsParams
NewGetCustomerTenantAgreementsParamsWithHTTPClient creates a new GetCustomerTenantAgreementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCustomerTenantAgreementsParamsWithTimeout ¶ added in v1.1.0
func NewGetCustomerTenantAgreementsParamsWithTimeout(timeout time.Duration) *GetCustomerTenantAgreementsParams
NewGetCustomerTenantAgreementsParamsWithTimeout creates a new GetCustomerTenantAgreementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCustomerTenantAgreementsParams) SetAgreementTypeConsent ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsParams) SetAgreementTypeConsent(agreementTypeConsent *string)
SetAgreementTypeConsent adds the agreementTypeConsent to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) SetContext ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsParams) SetContext(ctx context.Context)
SetContext adds the context to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) SetCustomerTenantID ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsParams) SetCustomerTenantID(customerTenantID int32)
SetCustomerTenantID adds the customerTenantId to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) SetHTTPClient ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) SetTimeout ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WithAgreementTypeConsent ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsParams) WithAgreementTypeConsent(agreementTypeConsent *string) *GetCustomerTenantAgreementsParams
WithAgreementTypeConsent adds the agreementTypeConsent to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WithContext ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsParams) WithContext(ctx context.Context) *GetCustomerTenantAgreementsParams
WithContext adds the context to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WithCustomerTenantID ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsParams) WithCustomerTenantID(customerTenantID int32) *GetCustomerTenantAgreementsParams
WithCustomerTenantID adds the customerTenantID to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WithHTTPClient ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsParams) WithHTTPClient(client *http.Client) *GetCustomerTenantAgreementsParams
WithHTTPClient adds the HTTPClient to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WithTimeout ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsParams) WithTimeout(timeout time.Duration) *GetCustomerTenantAgreementsParams
WithTimeout adds the timeout to the get customer tenant agreements params
func (*GetCustomerTenantAgreementsParams) WriteToRequest ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCustomerTenantAgreementsReader ¶ added in v1.1.0
type GetCustomerTenantAgreementsReader struct {
// contains filtered or unexported fields
}
GetCustomerTenantAgreementsReader is a Reader for the GetCustomerTenantAgreements structure.
func (*GetCustomerTenantAgreementsReader) ReadResponse ¶ added in v1.1.0
func (o *GetCustomerTenantAgreementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.