customer_tenants

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 AddExistingOK

type AddExistingOK struct {
	Payload *models.CustomerTenantDetailed
}
AddExistingOK describes a response with status code 200, with default header values.

Success

func NewAddExistingOK

func NewAddExistingOK() *AddExistingOK

NewAddExistingOK creates a AddExistingOK with default headers values

func (*AddExistingOK) Error

func (o *AddExistingOK) Error() string

func (*AddExistingOK) GetPayload

func (o *AddExistingOK) GetPayload() *models.CustomerTenantDetailed

type AddExistingParams

type AddExistingParams struct {

	// ExistingTenant.
	ExistingTenant *models.CustomerTenantDetailed

	// SyncFromPublisher.
	SyncFromPublisher *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddExistingParams contains all the parameters to send to the API endpoint

for the add existing operation.

Typically these are written to a http.Request.

func NewAddExistingParams

func NewAddExistingParams() *AddExistingParams

NewAddExistingParams creates a new AddExistingParams 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 NewAddExistingParamsWithContext

func NewAddExistingParamsWithContext(ctx context.Context) *AddExistingParams

NewAddExistingParamsWithContext creates a new AddExistingParams object with the ability to set a context for a request.

func NewAddExistingParamsWithHTTPClient

func NewAddExistingParamsWithHTTPClient(client *http.Client) *AddExistingParams

NewAddExistingParamsWithHTTPClient creates a new AddExistingParams object with the ability to set a custom HTTPClient for a request.

func NewAddExistingParamsWithTimeout

func NewAddExistingParamsWithTimeout(timeout time.Duration) *AddExistingParams

NewAddExistingParamsWithTimeout creates a new AddExistingParams object with the ability to set a timeout on a request.

func (*AddExistingParams) SetContext

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

SetContext adds the context to the add existing params

func (*AddExistingParams) SetDefaults

func (o *AddExistingParams) SetDefaults()

SetDefaults hydrates default values in the add existing params (not the query body).

All values with no default are reset to their zero value.

func (*AddExistingParams) SetExistingTenant

func (o *AddExistingParams) SetExistingTenant(existingTenant *models.CustomerTenantDetailed)

SetExistingTenant adds the existingTenant to the add existing params

func (*AddExistingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add existing params

func (*AddExistingParams) SetSyncFromPublisher

func (o *AddExistingParams) SetSyncFromPublisher(syncFromPublisher *bool)

SetSyncFromPublisher adds the syncFromPublisher to the add existing params

func (*AddExistingParams) SetTimeout

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

SetTimeout adds the timeout to the add existing params

func (*AddExistingParams) WithContext

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

WithContext adds the context to the add existing params

func (*AddExistingParams) WithDefaults

func (o *AddExistingParams) WithDefaults() *AddExistingParams

WithDefaults hydrates default values in the add existing params (not the query body).

All values with no default are reset to their zero value.

func (*AddExistingParams) WithExistingTenant

func (o *AddExistingParams) WithExistingTenant(existingTenant *models.CustomerTenantDetailed) *AddExistingParams

WithExistingTenant adds the existingTenant to the add existing params

func (*AddExistingParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add existing params

func (*AddExistingParams) WithSyncFromPublisher

func (o *AddExistingParams) WithSyncFromPublisher(syncFromPublisher *bool) *AddExistingParams

WithSyncFromPublisher adds the syncFromPublisher to the add existing params

func (*AddExistingParams) WithTimeout

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

WithTimeout adds the timeout to the add existing params

func (*AddExistingParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddExistingReader

type AddExistingReader struct {
	// contains filtered or unexported fields
}

AddExistingReader is a Reader for the AddExisting structure.

func (*AddExistingReader) ReadResponse

func (o *AddExistingReader) 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 tenants API

func (*Client) AddExisting

func (a *Client) AddExisting(params *AddExistingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddExistingOK, error)

AddExisting add existing API

func (*Client) DeleteCustomerByID

func (a *Client) DeleteCustomerByID(params *DeleteCustomerByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCustomerByIDOK, error)

DeleteCustomerByID delete customer by Id API

func (*Client) GetAzurePlan

func (a *Client) GetAzurePlan(params *GetAzurePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAzurePlanOK, error)

GetAzurePlan get azure plan API

func (*Client) GetCustomerTenantByID

func (a *Client) GetCustomerTenantByID(params *GetCustomerTenantByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCustomerTenantByIDOK, error)

GetCustomerTenantByID get customer tenant by Id API

func (*Client) GetCustomerTenantDetailedByID

func (a *Client) GetCustomerTenantDetailedByID(params *GetCustomerTenantDetailedByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCustomerTenantDetailedByIDOK, error)

GetCustomerTenantDetailedByID get customer tenant detailed by Id API

func (*Client) GetCustomerTenants

func (a *Client) GetCustomerTenants(params *GetCustomerTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCustomerTenantsOK, error)

GetCustomerTenants get customer tenants API

func (*Client) PostCustomerTenant

func (a *Client) PostCustomerTenant(params *PostCustomerTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostCustomerTenantOK, error)

PostCustomerTenant post customer tenant API

func (*Client) PutCustomerTenant

func (a *Client) PutCustomerTenant(params *PutCustomerTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutCustomerTenantOK, error)

PutCustomerTenant put customer tenant 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 {
	AddExisting(params *AddExistingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddExistingOK, error)

	DeleteCustomerByID(params *DeleteCustomerByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCustomerByIDOK, error)

	GetAzurePlan(params *GetAzurePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAzurePlanOK, error)

	GetCustomerTenantByID(params *GetCustomerTenantByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCustomerTenantByIDOK, error)

	GetCustomerTenantDetailedByID(params *GetCustomerTenantDetailedByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCustomerTenantDetailedByIDOK, error)

	GetCustomerTenants(params *GetCustomerTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCustomerTenantsOK, error)

	PostCustomerTenant(params *PostCustomerTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostCustomerTenantOK, error)

	PutCustomerTenant(params *PutCustomerTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutCustomerTenantOK, 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 tenants API client.

type DeleteCustomerByIDOK

type DeleteCustomerByIDOK struct {
}
DeleteCustomerByIDOK describes a response with status code 200, with default header values.

Success

func NewDeleteCustomerByIDOK

func NewDeleteCustomerByIDOK() *DeleteCustomerByIDOK

NewDeleteCustomerByIDOK creates a DeleteCustomerByIDOK with default headers values

func (*DeleteCustomerByIDOK) Error

func (o *DeleteCustomerByIDOK) Error() string

type DeleteCustomerByIDParams

type DeleteCustomerByIDParams struct {

	// ID.
	//
	// Format: int32
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteCustomerByIDParams contains all the parameters to send to the API endpoint

for the delete customer by Id operation.

Typically these are written to a http.Request.

func NewDeleteCustomerByIDParams

func NewDeleteCustomerByIDParams() *DeleteCustomerByIDParams

NewDeleteCustomerByIDParams creates a new DeleteCustomerByIDParams 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 NewDeleteCustomerByIDParamsWithContext

func NewDeleteCustomerByIDParamsWithContext(ctx context.Context) *DeleteCustomerByIDParams

NewDeleteCustomerByIDParamsWithContext creates a new DeleteCustomerByIDParams object with the ability to set a context for a request.

func NewDeleteCustomerByIDParamsWithHTTPClient

func NewDeleteCustomerByIDParamsWithHTTPClient(client *http.Client) *DeleteCustomerByIDParams

NewDeleteCustomerByIDParamsWithHTTPClient creates a new DeleteCustomerByIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCustomerByIDParamsWithTimeout

func NewDeleteCustomerByIDParamsWithTimeout(timeout time.Duration) *DeleteCustomerByIDParams

NewDeleteCustomerByIDParamsWithTimeout creates a new DeleteCustomerByIDParams object with the ability to set a timeout on a request.

func (*DeleteCustomerByIDParams) SetContext

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

SetContext adds the context to the delete customer by Id params

func (*DeleteCustomerByIDParams) SetDefaults

func (o *DeleteCustomerByIDParams) SetDefaults()

SetDefaults hydrates default values in the delete customer by Id params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCustomerByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete customer by Id params

func (*DeleteCustomerByIDParams) SetID

func (o *DeleteCustomerByIDParams) SetID(id int32)

SetID adds the id to the delete customer by Id params

func (*DeleteCustomerByIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete customer by Id params

func (*DeleteCustomerByIDParams) WithContext

WithContext adds the context to the delete customer by Id params

func (*DeleteCustomerByIDParams) WithDefaults

WithDefaults hydrates default values in the delete customer by Id params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCustomerByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete customer by Id params

func (*DeleteCustomerByIDParams) WithID

WithID adds the id to the delete customer by Id params

func (*DeleteCustomerByIDParams) WithTimeout

WithTimeout adds the timeout to the delete customer by Id params

func (*DeleteCustomerByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCustomerByIDReader

type DeleteCustomerByIDReader struct {
	// contains filtered or unexported fields
}

DeleteCustomerByIDReader is a Reader for the DeleteCustomerByID structure.

func (*DeleteCustomerByIDReader) ReadResponse

func (o *DeleteCustomerByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAzurePlanOK

type GetAzurePlanOK struct {
	Payload *models.AzurePlan
}
GetAzurePlanOK describes a response with status code 200, with default header values.

Success

func NewGetAzurePlanOK

func NewGetAzurePlanOK() *GetAzurePlanOK

NewGetAzurePlanOK creates a GetAzurePlanOK with default headers values

func (*GetAzurePlanOK) Error

func (o *GetAzurePlanOK) Error() string

func (*GetAzurePlanOK) GetPayload

func (o *GetAzurePlanOK) GetPayload() *models.AzurePlan

type GetAzurePlanParams

type GetAzurePlanParams struct {

	// CustomerTenantID.
	//
	// Format: int32
	CustomerTenantID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAzurePlanParams contains all the parameters to send to the API endpoint

for the get azure plan operation.

Typically these are written to a http.Request.

func NewGetAzurePlanParams

func NewGetAzurePlanParams() *GetAzurePlanParams

NewGetAzurePlanParams creates a new GetAzurePlanParams 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 NewGetAzurePlanParamsWithContext

func NewGetAzurePlanParamsWithContext(ctx context.Context) *GetAzurePlanParams

NewGetAzurePlanParamsWithContext creates a new GetAzurePlanParams object with the ability to set a context for a request.

func NewGetAzurePlanParamsWithHTTPClient

func NewGetAzurePlanParamsWithHTTPClient(client *http.Client) *GetAzurePlanParams

NewGetAzurePlanParamsWithHTTPClient creates a new GetAzurePlanParams object with the ability to set a custom HTTPClient for a request.

func NewGetAzurePlanParamsWithTimeout

func NewGetAzurePlanParamsWithTimeout(timeout time.Duration) *GetAzurePlanParams

NewGetAzurePlanParamsWithTimeout creates a new GetAzurePlanParams object with the ability to set a timeout on a request.

func (*GetAzurePlanParams) SetContext

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

SetContext adds the context to the get azure plan params

func (*GetAzurePlanParams) SetCustomerTenantID

func (o *GetAzurePlanParams) SetCustomerTenantID(customerTenantID int32)

SetCustomerTenantID adds the customerTenantId to the get azure plan params

func (*GetAzurePlanParams) SetDefaults

func (o *GetAzurePlanParams) SetDefaults()

SetDefaults hydrates default values in the get azure plan params (not the query body).

All values with no default are reset to their zero value.

func (*GetAzurePlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get azure plan params

func (*GetAzurePlanParams) SetTimeout

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

SetTimeout adds the timeout to the get azure plan params

func (*GetAzurePlanParams) WithContext

WithContext adds the context to the get azure plan params

func (*GetAzurePlanParams) WithCustomerTenantID

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

WithCustomerTenantID adds the customerTenantID to the get azure plan params

func (*GetAzurePlanParams) WithDefaults

func (o *GetAzurePlanParams) WithDefaults() *GetAzurePlanParams

WithDefaults hydrates default values in the get azure plan params (not the query body).

All values with no default are reset to their zero value.

func (*GetAzurePlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get azure plan params

func (*GetAzurePlanParams) WithTimeout

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

WithTimeout adds the timeout to the get azure plan params

func (*GetAzurePlanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAzurePlanReader

type GetAzurePlanReader struct {
	// contains filtered or unexported fields
}

GetAzurePlanReader is a Reader for the GetAzurePlan structure.

func (*GetAzurePlanReader) ReadResponse

func (o *GetAzurePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCustomerTenantByIDOK

type GetCustomerTenantByIDOK struct {
	Payload *models.CustomerTenant
}
GetCustomerTenantByIDOK describes a response with status code 200, with default header values.

Success

func NewGetCustomerTenantByIDOK

func NewGetCustomerTenantByIDOK() *GetCustomerTenantByIDOK

NewGetCustomerTenantByIDOK creates a GetCustomerTenantByIDOK with default headers values

func (*GetCustomerTenantByIDOK) Error

func (o *GetCustomerTenantByIDOK) Error() string

func (*GetCustomerTenantByIDOK) GetPayload

type GetCustomerTenantByIDParams

type GetCustomerTenantByIDParams struct {

	// ID.
	//
	// Format: int32
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCustomerTenantByIDParams contains all the parameters to send to the API endpoint

for the get customer tenant by Id operation.

Typically these are written to a http.Request.

func NewGetCustomerTenantByIDParams

func NewGetCustomerTenantByIDParams() *GetCustomerTenantByIDParams

NewGetCustomerTenantByIDParams creates a new GetCustomerTenantByIDParams 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 NewGetCustomerTenantByIDParamsWithContext

func NewGetCustomerTenantByIDParamsWithContext(ctx context.Context) *GetCustomerTenantByIDParams

NewGetCustomerTenantByIDParamsWithContext creates a new GetCustomerTenantByIDParams object with the ability to set a context for a request.

func NewGetCustomerTenantByIDParamsWithHTTPClient

func NewGetCustomerTenantByIDParamsWithHTTPClient(client *http.Client) *GetCustomerTenantByIDParams

NewGetCustomerTenantByIDParamsWithHTTPClient creates a new GetCustomerTenantByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetCustomerTenantByIDParamsWithTimeout

func NewGetCustomerTenantByIDParamsWithTimeout(timeout time.Duration) *GetCustomerTenantByIDParams

NewGetCustomerTenantByIDParamsWithTimeout creates a new GetCustomerTenantByIDParams object with the ability to set a timeout on a request.

func (*GetCustomerTenantByIDParams) SetContext

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

SetContext adds the context to the get customer tenant by Id params

func (*GetCustomerTenantByIDParams) SetDefaults

func (o *GetCustomerTenantByIDParams) SetDefaults()

SetDefaults hydrates default values in the get customer tenant by Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomerTenantByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get customer tenant by Id params

func (*GetCustomerTenantByIDParams) SetID

func (o *GetCustomerTenantByIDParams) SetID(id int32)

SetID adds the id to the get customer tenant by Id params

func (*GetCustomerTenantByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get customer tenant by Id params

func (*GetCustomerTenantByIDParams) WithContext

WithContext adds the context to the get customer tenant by Id params

func (*GetCustomerTenantByIDParams) WithDefaults

WithDefaults hydrates default values in the get customer tenant by Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomerTenantByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get customer tenant by Id params

func (*GetCustomerTenantByIDParams) WithID

WithID adds the id to the get customer tenant by Id params

func (*GetCustomerTenantByIDParams) WithTimeout

WithTimeout adds the timeout to the get customer tenant by Id params

func (*GetCustomerTenantByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCustomerTenantByIDReader

type GetCustomerTenantByIDReader struct {
	// contains filtered or unexported fields
}

GetCustomerTenantByIDReader is a Reader for the GetCustomerTenantByID structure.

func (*GetCustomerTenantByIDReader) ReadResponse

func (o *GetCustomerTenantByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCustomerTenantDetailedByIDOK

type GetCustomerTenantDetailedByIDOK struct {
	Payload *models.CustomerTenantDetailed
}
GetCustomerTenantDetailedByIDOK describes a response with status code 200, with default header values.

Success

func NewGetCustomerTenantDetailedByIDOK

func NewGetCustomerTenantDetailedByIDOK() *GetCustomerTenantDetailedByIDOK

NewGetCustomerTenantDetailedByIDOK creates a GetCustomerTenantDetailedByIDOK with default headers values

func (*GetCustomerTenantDetailedByIDOK) Error

func (*GetCustomerTenantDetailedByIDOK) GetPayload

type GetCustomerTenantDetailedByIDParams

type GetCustomerTenantDetailedByIDParams struct {

	// ID.
	//
	// Format: int32
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCustomerTenantDetailedByIDParams contains all the parameters to send to the API endpoint

for the get customer tenant detailed by Id operation.

Typically these are written to a http.Request.

func NewGetCustomerTenantDetailedByIDParams

func NewGetCustomerTenantDetailedByIDParams() *GetCustomerTenantDetailedByIDParams

NewGetCustomerTenantDetailedByIDParams creates a new GetCustomerTenantDetailedByIDParams 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 NewGetCustomerTenantDetailedByIDParamsWithContext

func NewGetCustomerTenantDetailedByIDParamsWithContext(ctx context.Context) *GetCustomerTenantDetailedByIDParams

NewGetCustomerTenantDetailedByIDParamsWithContext creates a new GetCustomerTenantDetailedByIDParams object with the ability to set a context for a request.

func NewGetCustomerTenantDetailedByIDParamsWithHTTPClient

func NewGetCustomerTenantDetailedByIDParamsWithHTTPClient(client *http.Client) *GetCustomerTenantDetailedByIDParams

NewGetCustomerTenantDetailedByIDParamsWithHTTPClient creates a new GetCustomerTenantDetailedByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetCustomerTenantDetailedByIDParamsWithTimeout

func NewGetCustomerTenantDetailedByIDParamsWithTimeout(timeout time.Duration) *GetCustomerTenantDetailedByIDParams

NewGetCustomerTenantDetailedByIDParamsWithTimeout creates a new GetCustomerTenantDetailedByIDParams object with the ability to set a timeout on a request.

func (*GetCustomerTenantDetailedByIDParams) SetContext

SetContext adds the context to the get customer tenant detailed by Id params

func (*GetCustomerTenantDetailedByIDParams) SetDefaults

func (o *GetCustomerTenantDetailedByIDParams) SetDefaults()

SetDefaults hydrates default values in the get customer tenant detailed by Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomerTenantDetailedByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get customer tenant detailed by Id params

func (*GetCustomerTenantDetailedByIDParams) SetID

SetID adds the id to the get customer tenant detailed by Id params

func (*GetCustomerTenantDetailedByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get customer tenant detailed by Id params

func (*GetCustomerTenantDetailedByIDParams) WithContext

WithContext adds the context to the get customer tenant detailed by Id params

func (*GetCustomerTenantDetailedByIDParams) WithDefaults

WithDefaults hydrates default values in the get customer tenant detailed by Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomerTenantDetailedByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get customer tenant detailed by Id params

func (*GetCustomerTenantDetailedByIDParams) WithID

WithID adds the id to the get customer tenant detailed by Id params

func (*GetCustomerTenantDetailedByIDParams) WithTimeout

WithTimeout adds the timeout to the get customer tenant detailed by Id params

func (*GetCustomerTenantDetailedByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCustomerTenantDetailedByIDReader

type GetCustomerTenantDetailedByIDReader struct {
	// contains filtered or unexported fields
}

GetCustomerTenantDetailedByIDReader is a Reader for the GetCustomerTenantDetailedByID structure.

func (*GetCustomerTenantDetailedByIDReader) ReadResponse

func (o *GetCustomerTenantDetailedByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCustomerTenantsOK

type GetCustomerTenantsOK struct {
	Payload *models.APICollectionOfCustomerTenant
}
GetCustomerTenantsOK describes a response with status code 200, with default header values.

Success

func NewGetCustomerTenantsOK

func NewGetCustomerTenantsOK() *GetCustomerTenantsOK

NewGetCustomerTenantsOK creates a GetCustomerTenantsOK with default headers values

func (*GetCustomerTenantsOK) Error

func (o *GetCustomerTenantsOK) Error() string

func (*GetCustomerTenantsOK) GetPayload

type GetCustomerTenantsParams

type GetCustomerTenantsParams struct {

	// ConsumerID.
	//
	// Format: int32
	ConsumerID *int32

	// CustomerTenantType.
	CustomerTenantType *string

	// Domain.
	Domain *string

	// DomainPrefix.
	DomainPrefix *string

	// InvoiceProfileID.
	//
	// Format: int32
	InvoiceProfileID *int32

	// OrganizationID.
	//
	// Format: int32
	OrganizationID *int32

	// Page.
	//
	// Format: int32
	Page *int32

	// PageSize.
	//
	// Format: int32
	PageSize *int32

	// ProgramID.
	//
	// Format: int32
	ProgramID *int32

	// PublisherID.
	//
	// Format: int32
	PublisherID *int32

	// Search.
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCustomerTenantsParams contains all the parameters to send to the API endpoint

for the get customer tenants operation.

Typically these are written to a http.Request.

func NewGetCustomerTenantsParams

func NewGetCustomerTenantsParams() *GetCustomerTenantsParams

NewGetCustomerTenantsParams creates a new GetCustomerTenantsParams 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 NewGetCustomerTenantsParamsWithContext

func NewGetCustomerTenantsParamsWithContext(ctx context.Context) *GetCustomerTenantsParams

NewGetCustomerTenantsParamsWithContext creates a new GetCustomerTenantsParams object with the ability to set a context for a request.

func NewGetCustomerTenantsParamsWithHTTPClient

func NewGetCustomerTenantsParamsWithHTTPClient(client *http.Client) *GetCustomerTenantsParams

NewGetCustomerTenantsParamsWithHTTPClient creates a new GetCustomerTenantsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCustomerTenantsParamsWithTimeout

func NewGetCustomerTenantsParamsWithTimeout(timeout time.Duration) *GetCustomerTenantsParams

NewGetCustomerTenantsParamsWithTimeout creates a new GetCustomerTenantsParams object with the ability to set a timeout on a request.

func (*GetCustomerTenantsParams) SetConsumerID

func (o *GetCustomerTenantsParams) SetConsumerID(consumerID *int32)

SetConsumerID adds the consumerId to the get customer tenants params

func (*GetCustomerTenantsParams) SetContext

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

SetContext adds the context to the get customer tenants params

func (*GetCustomerTenantsParams) SetCustomerTenantType

func (o *GetCustomerTenantsParams) SetCustomerTenantType(customerTenantType *string)

SetCustomerTenantType adds the customerTenantType to the get customer tenants params

func (*GetCustomerTenantsParams) SetDefaults

func (o *GetCustomerTenantsParams) SetDefaults()

SetDefaults hydrates default values in the get customer tenants params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomerTenantsParams) SetDomain

func (o *GetCustomerTenantsParams) SetDomain(domain *string)

SetDomain adds the domain to the get customer tenants params

func (*GetCustomerTenantsParams) SetDomainPrefix

func (o *GetCustomerTenantsParams) SetDomainPrefix(domainPrefix *string)

SetDomainPrefix adds the domainPrefix to the get customer tenants params

func (*GetCustomerTenantsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get customer tenants params

func (*GetCustomerTenantsParams) SetInvoiceProfileID

func (o *GetCustomerTenantsParams) SetInvoiceProfileID(invoiceProfileID *int32)

SetInvoiceProfileID adds the invoiceProfileId to the get customer tenants params

func (*GetCustomerTenantsParams) SetOrganizationID

func (o *GetCustomerTenantsParams) SetOrganizationID(organizationID *int32)

SetOrganizationID adds the organizationId to the get customer tenants params

func (*GetCustomerTenantsParams) SetPage

func (o *GetCustomerTenantsParams) SetPage(page *int32)

SetPage adds the page to the get customer tenants params

func (*GetCustomerTenantsParams) SetPageSize

func (o *GetCustomerTenantsParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get customer tenants params

func (*GetCustomerTenantsParams) SetProgramID

func (o *GetCustomerTenantsParams) SetProgramID(programID *int32)

SetProgramID adds the programId to the get customer tenants params

func (*GetCustomerTenantsParams) SetPublisherID

func (o *GetCustomerTenantsParams) SetPublisherID(publisherID *int32)

SetPublisherID adds the publisherId to the get customer tenants params

func (*GetCustomerTenantsParams) SetSearch

func (o *GetCustomerTenantsParams) SetSearch(search *string)

SetSearch adds the search to the get customer tenants params

func (*GetCustomerTenantsParams) SetTimeout

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

SetTimeout adds the timeout to the get customer tenants params

func (*GetCustomerTenantsParams) WithConsumerID

func (o *GetCustomerTenantsParams) WithConsumerID(consumerID *int32) *GetCustomerTenantsParams

WithConsumerID adds the consumerID to the get customer tenants params

func (*GetCustomerTenantsParams) WithContext

WithContext adds the context to the get customer tenants params

func (*GetCustomerTenantsParams) WithCustomerTenantType

func (o *GetCustomerTenantsParams) WithCustomerTenantType(customerTenantType *string) *GetCustomerTenantsParams

WithCustomerTenantType adds the customerTenantType to the get customer tenants params

func (*GetCustomerTenantsParams) WithDefaults

WithDefaults hydrates default values in the get customer tenants params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomerTenantsParams) WithDomain

WithDomain adds the domain to the get customer tenants params

func (*GetCustomerTenantsParams) WithDomainPrefix

func (o *GetCustomerTenantsParams) WithDomainPrefix(domainPrefix *string) *GetCustomerTenantsParams

WithDomainPrefix adds the domainPrefix to the get customer tenants params

func (*GetCustomerTenantsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get customer tenants params

func (*GetCustomerTenantsParams) WithInvoiceProfileID

func (o *GetCustomerTenantsParams) WithInvoiceProfileID(invoiceProfileID *int32) *GetCustomerTenantsParams

WithInvoiceProfileID adds the invoiceProfileID to the get customer tenants params

func (*GetCustomerTenantsParams) WithOrganizationID

func (o *GetCustomerTenantsParams) WithOrganizationID(organizationID *int32) *GetCustomerTenantsParams

WithOrganizationID adds the organizationID to the get customer tenants params

func (*GetCustomerTenantsParams) WithPage

WithPage adds the page to the get customer tenants params

func (*GetCustomerTenantsParams) WithPageSize

func (o *GetCustomerTenantsParams) WithPageSize(pageSize *int32) *GetCustomerTenantsParams

WithPageSize adds the pageSize to the get customer tenants params

func (*GetCustomerTenantsParams) WithProgramID

func (o *GetCustomerTenantsParams) WithProgramID(programID *int32) *GetCustomerTenantsParams

WithProgramID adds the programID to the get customer tenants params

func (*GetCustomerTenantsParams) WithPublisherID

func (o *GetCustomerTenantsParams) WithPublisherID(publisherID *int32) *GetCustomerTenantsParams

WithPublisherID adds the publisherID to the get customer tenants params

func (*GetCustomerTenantsParams) WithSearch

WithSearch adds the search to the get customer tenants params

func (*GetCustomerTenantsParams) WithTimeout

WithTimeout adds the timeout to the get customer tenants params

func (*GetCustomerTenantsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCustomerTenantsReader

type GetCustomerTenantsReader struct {
	// contains filtered or unexported fields
}

GetCustomerTenantsReader is a Reader for the GetCustomerTenants structure.

func (*GetCustomerTenantsReader) ReadResponse

func (o *GetCustomerTenantsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostCustomerTenantOK

type PostCustomerTenantOK struct {
	Payload *models.CustomerTenantDetailed
}
PostCustomerTenantOK describes a response with status code 200, with default header values.

Success

func NewPostCustomerTenantOK

func NewPostCustomerTenantOK() *PostCustomerTenantOK

NewPostCustomerTenantOK creates a PostCustomerTenantOK with default headers values

func (*PostCustomerTenantOK) Error

func (o *PostCustomerTenantOK) Error() string

func (*PostCustomerTenantOK) GetPayload

type PostCustomerTenantParams

type PostCustomerTenantParams struct {

	// CustomerTenant.
	CustomerTenant *models.CustomerTenantDetailed

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostCustomerTenantParams contains all the parameters to send to the API endpoint

for the post customer tenant operation.

Typically these are written to a http.Request.

func NewPostCustomerTenantParams

func NewPostCustomerTenantParams() *PostCustomerTenantParams

NewPostCustomerTenantParams creates a new PostCustomerTenantParams 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 NewPostCustomerTenantParamsWithContext

func NewPostCustomerTenantParamsWithContext(ctx context.Context) *PostCustomerTenantParams

NewPostCustomerTenantParamsWithContext creates a new PostCustomerTenantParams object with the ability to set a context for a request.

func NewPostCustomerTenantParamsWithHTTPClient

func NewPostCustomerTenantParamsWithHTTPClient(client *http.Client) *PostCustomerTenantParams

NewPostCustomerTenantParamsWithHTTPClient creates a new PostCustomerTenantParams object with the ability to set a custom HTTPClient for a request.

func NewPostCustomerTenantParamsWithTimeout

func NewPostCustomerTenantParamsWithTimeout(timeout time.Duration) *PostCustomerTenantParams

NewPostCustomerTenantParamsWithTimeout creates a new PostCustomerTenantParams object with the ability to set a timeout on a request.

func (*PostCustomerTenantParams) SetContext

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

SetContext adds the context to the post customer tenant params

func (*PostCustomerTenantParams) SetCustomerTenant

func (o *PostCustomerTenantParams) SetCustomerTenant(customerTenant *models.CustomerTenantDetailed)

SetCustomerTenant adds the customerTenant to the post customer tenant params

func (*PostCustomerTenantParams) SetDefaults

func (o *PostCustomerTenantParams) SetDefaults()

SetDefaults hydrates default values in the post customer tenant params (not the query body).

All values with no default are reset to their zero value.

func (*PostCustomerTenantParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post customer tenant params

func (*PostCustomerTenantParams) SetTimeout

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

SetTimeout adds the timeout to the post customer tenant params

func (*PostCustomerTenantParams) WithContext

WithContext adds the context to the post customer tenant params

func (*PostCustomerTenantParams) WithCustomerTenant

func (o *PostCustomerTenantParams) WithCustomerTenant(customerTenant *models.CustomerTenantDetailed) *PostCustomerTenantParams

WithCustomerTenant adds the customerTenant to the post customer tenant params

func (*PostCustomerTenantParams) WithDefaults

WithDefaults hydrates default values in the post customer tenant params (not the query body).

All values with no default are reset to their zero value.

func (*PostCustomerTenantParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post customer tenant params

func (*PostCustomerTenantParams) WithTimeout

WithTimeout adds the timeout to the post customer tenant params

func (*PostCustomerTenantParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostCustomerTenantReader

type PostCustomerTenantReader struct {
	// contains filtered or unexported fields
}

PostCustomerTenantReader is a Reader for the PostCustomerTenant structure.

func (*PostCustomerTenantReader) ReadResponse

func (o *PostCustomerTenantReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutCustomerTenantOK

type PutCustomerTenantOK struct {
	Payload *models.CustomerTenantDetailed
}
PutCustomerTenantOK describes a response with status code 200, with default header values.

Success

func NewPutCustomerTenantOK

func NewPutCustomerTenantOK() *PutCustomerTenantOK

NewPutCustomerTenantOK creates a PutCustomerTenantOK with default headers values

func (*PutCustomerTenantOK) Error

func (o *PutCustomerTenantOK) Error() string

func (*PutCustomerTenantOK) GetPayload

type PutCustomerTenantParams

type PutCustomerTenantParams struct {

	// CustomerTenant.
	CustomerTenant *models.CustomerTenantDetailed

	// ID.
	//
	// Format: int32
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutCustomerTenantParams contains all the parameters to send to the API endpoint

for the put customer tenant operation.

Typically these are written to a http.Request.

func NewPutCustomerTenantParams

func NewPutCustomerTenantParams() *PutCustomerTenantParams

NewPutCustomerTenantParams creates a new PutCustomerTenantParams 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 NewPutCustomerTenantParamsWithContext

func NewPutCustomerTenantParamsWithContext(ctx context.Context) *PutCustomerTenantParams

NewPutCustomerTenantParamsWithContext creates a new PutCustomerTenantParams object with the ability to set a context for a request.

func NewPutCustomerTenantParamsWithHTTPClient

func NewPutCustomerTenantParamsWithHTTPClient(client *http.Client) *PutCustomerTenantParams

NewPutCustomerTenantParamsWithHTTPClient creates a new PutCustomerTenantParams object with the ability to set a custom HTTPClient for a request.

func NewPutCustomerTenantParamsWithTimeout

func NewPutCustomerTenantParamsWithTimeout(timeout time.Duration) *PutCustomerTenantParams

NewPutCustomerTenantParamsWithTimeout creates a new PutCustomerTenantParams object with the ability to set a timeout on a request.

func (*PutCustomerTenantParams) SetContext

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

SetContext adds the context to the put customer tenant params

func (*PutCustomerTenantParams) SetCustomerTenant

func (o *PutCustomerTenantParams) SetCustomerTenant(customerTenant *models.CustomerTenantDetailed)

SetCustomerTenant adds the customerTenant to the put customer tenant params

func (*PutCustomerTenantParams) SetDefaults

func (o *PutCustomerTenantParams) SetDefaults()

SetDefaults hydrates default values in the put customer tenant params (not the query body).

All values with no default are reset to their zero value.

func (*PutCustomerTenantParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put customer tenant params

func (*PutCustomerTenantParams) SetID

func (o *PutCustomerTenantParams) SetID(id int32)

SetID adds the id to the put customer tenant params

func (*PutCustomerTenantParams) SetTimeout

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

SetTimeout adds the timeout to the put customer tenant params

func (*PutCustomerTenantParams) WithContext

WithContext adds the context to the put customer tenant params

func (*PutCustomerTenantParams) WithCustomerTenant

func (o *PutCustomerTenantParams) WithCustomerTenant(customerTenant *models.CustomerTenantDetailed) *PutCustomerTenantParams

WithCustomerTenant adds the customerTenant to the put customer tenant params

func (*PutCustomerTenantParams) WithDefaults

WithDefaults hydrates default values in the put customer tenant params (not the query body).

All values with no default are reset to their zero value.

func (*PutCustomerTenantParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put customer tenant params

func (*PutCustomerTenantParams) WithID

WithID adds the id to the put customer tenant params

func (*PutCustomerTenantParams) WithTimeout

WithTimeout adds the timeout to the put customer tenant params

func (*PutCustomerTenantParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutCustomerTenantReader

type PutCustomerTenantReader struct {
	// contains filtered or unexported fields
}

PutCustomerTenantReader is a Reader for the PutCustomerTenant structure.

func (*PutCustomerTenantReader) ReadResponse

func (o *PutCustomerTenantReader) 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