customer_tenant_agreements

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 NewAddOK

func NewAddOK() *AddOK

NewAddOK creates a AddOK with default headers values

func (*AddOK) Error

func (o *AddOK) Error() string

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

func NewAddParamsWithContext(ctx context.Context) *AddParams

NewAddParamsWithContext creates a new AddParams object with the default values initialized, and the ability to set a context for a request

func NewAddParamsWithHTTPClient

func NewAddParamsWithHTTPClient(client *http.Client) *AddParams

NewAddParamsWithHTTPClient creates a new AddParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddParamsWithTimeout

func NewAddParamsWithTimeout(timeout time.Duration) *AddParams

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

func (o *AddParams) SetContext(ctx context.Context)

SetContext adds the context to the add params

func (*AddParams) SetCustomerTenantID

func (o *AddParams) SetCustomerTenantID(customerTenantID int32)

SetCustomerTenantID adds the customerTenantId to the add params

func (*AddParams) SetHTTPClient

func (o *AddParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add params

func (*AddParams) SetTimeout

func (o *AddParams) SetTimeout(timeout time.Duration)

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

func (o *AddParams) WithContext(ctx context.Context) *AddParams

WithContext adds the context to the add params

func (*AddParams) WithCustomerTenantID

func (o *AddParams) WithCustomerTenantID(customerTenantID int32) *AddParams

WithCustomerTenantID adds the customerTenantID to the add params

func (*AddParams) WithHTTPClient

func (o *AddParams) WithHTTPClient(client *http.Client) *AddParams

WithHTTPClient adds the HTTPClient to the add params

func (*AddParams) WithTimeout

func (o *AddParams) WithTimeout(timeout time.Duration) *AddParams

WithTimeout adds the timeout to the add params

func (*AddParams) WriteToRequest

func (o *AddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

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) (*AddOK, error)

Add add 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 (*GetCustomerTenantAgreementsOK) GetPayload added in v1.1.0

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

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

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

WithHTTPClient adds the HTTPClient to the get customer tenant agreements params

func (*GetCustomerTenantAgreementsParams) WithTimeout added in v1.1.0

WithTimeout adds the timeout to the get customer tenant agreements params

func (*GetCustomerTenantAgreementsParams) WriteToRequest added in v1.1.0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL