customer_tenant_agreements

package
v0.0.0-...-4ac4f36 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 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 describes a response with status code 200, 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.
	//
	// 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

func NewAddParamsWithContext(ctx context.Context) *AddParams

NewAddParamsWithContext creates a new AddParams object with 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 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 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) 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

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

func (o *AddParams) WithDefaults() *AddParams

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

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, 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 (*GetCustomerTenantAgreementsOK) GetPayload

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

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

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

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

WithHTTPClient adds the HTTPClient to the get customer tenant agreements params

func (*GetCustomerTenantAgreementsParams) WithTimeout

WithTimeout adds the timeout to the get customer tenant agreements params

func (*GetCustomerTenantAgreementsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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