Documentation
¶
Index ¶
- type AddExistingOK
- type AddExistingParams
- func (o *AddExistingParams) SetContext(ctx context.Context)
- func (o *AddExistingParams) SetDefaults()
- func (o *AddExistingParams) SetExistingTenant(existingTenant *models.CustomerTenantDetailed)
- func (o *AddExistingParams) SetHTTPClient(client *http.Client)
- func (o *AddExistingParams) SetSyncFromPublisher(syncFromPublisher *bool)
- func (o *AddExistingParams) SetTimeout(timeout time.Duration)
- func (o *AddExistingParams) WithContext(ctx context.Context) *AddExistingParams
- func (o *AddExistingParams) WithDefaults() *AddExistingParams
- func (o *AddExistingParams) WithExistingTenant(existingTenant *models.CustomerTenantDetailed) *AddExistingParams
- func (o *AddExistingParams) WithHTTPClient(client *http.Client) *AddExistingParams
- func (o *AddExistingParams) WithSyncFromPublisher(syncFromPublisher *bool) *AddExistingParams
- func (o *AddExistingParams) WithTimeout(timeout time.Duration) *AddExistingParams
- func (o *AddExistingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddExistingReader
- type Client
- func (a *Client) AddExisting(params *AddExistingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddExistingOK, error)
- func (a *Client) DeleteCustomerByID(params *DeleteCustomerByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCustomerByIDOK, error)
- func (a *Client) GetAzurePlan(params *GetAzurePlanParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAzurePlanOK, error)
- func (a *Client) GetCustomerTenantByID(params *GetCustomerTenantByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCustomerTenantByIDOK, error)
- func (a *Client) GetCustomerTenantDetailedByID(params *GetCustomerTenantDetailedByIDParams, ...) (*GetCustomerTenantDetailedByIDOK, error)
- func (a *Client) GetCustomerTenants(params *GetCustomerTenantsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCustomerTenantsOK, error)
- func (a *Client) PostCustomerTenant(params *PostCustomerTenantParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostCustomerTenantOK, error)
- func (a *Client) PutCustomerTenant(params *PutCustomerTenantParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutCustomerTenantOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteCustomerByIDOK
- type DeleteCustomerByIDParams
- func NewDeleteCustomerByIDParams() *DeleteCustomerByIDParams
- func NewDeleteCustomerByIDParamsWithContext(ctx context.Context) *DeleteCustomerByIDParams
- func NewDeleteCustomerByIDParamsWithHTTPClient(client *http.Client) *DeleteCustomerByIDParams
- func NewDeleteCustomerByIDParamsWithTimeout(timeout time.Duration) *DeleteCustomerByIDParams
- func (o *DeleteCustomerByIDParams) SetContext(ctx context.Context)
- func (o *DeleteCustomerByIDParams) SetDefaults()
- func (o *DeleteCustomerByIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCustomerByIDParams) SetID(id int32)
- func (o *DeleteCustomerByIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCustomerByIDParams) WithContext(ctx context.Context) *DeleteCustomerByIDParams
- func (o *DeleteCustomerByIDParams) WithDefaults() *DeleteCustomerByIDParams
- func (o *DeleteCustomerByIDParams) WithHTTPClient(client *http.Client) *DeleteCustomerByIDParams
- func (o *DeleteCustomerByIDParams) WithID(id int32) *DeleteCustomerByIDParams
- func (o *DeleteCustomerByIDParams) WithTimeout(timeout time.Duration) *DeleteCustomerByIDParams
- func (o *DeleteCustomerByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCustomerByIDReader
- type GetAzurePlanOK
- type GetAzurePlanParams
- func (o *GetAzurePlanParams) SetContext(ctx context.Context)
- func (o *GetAzurePlanParams) SetCustomerTenantID(customerTenantID int32)
- func (o *GetAzurePlanParams) SetDefaults()
- func (o *GetAzurePlanParams) SetHTTPClient(client *http.Client)
- func (o *GetAzurePlanParams) SetTimeout(timeout time.Duration)
- func (o *GetAzurePlanParams) WithContext(ctx context.Context) *GetAzurePlanParams
- func (o *GetAzurePlanParams) WithCustomerTenantID(customerTenantID int32) *GetAzurePlanParams
- func (o *GetAzurePlanParams) WithDefaults() *GetAzurePlanParams
- func (o *GetAzurePlanParams) WithHTTPClient(client *http.Client) *GetAzurePlanParams
- func (o *GetAzurePlanParams) WithTimeout(timeout time.Duration) *GetAzurePlanParams
- func (o *GetAzurePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAzurePlanReader
- type GetCustomerTenantByIDOK
- type GetCustomerTenantByIDParams
- func NewGetCustomerTenantByIDParams() *GetCustomerTenantByIDParams
- func NewGetCustomerTenantByIDParamsWithContext(ctx context.Context) *GetCustomerTenantByIDParams
- func NewGetCustomerTenantByIDParamsWithHTTPClient(client *http.Client) *GetCustomerTenantByIDParams
- func NewGetCustomerTenantByIDParamsWithTimeout(timeout time.Duration) *GetCustomerTenantByIDParams
- func (o *GetCustomerTenantByIDParams) SetContext(ctx context.Context)
- func (o *GetCustomerTenantByIDParams) SetDefaults()
- func (o *GetCustomerTenantByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetCustomerTenantByIDParams) SetID(id int32)
- func (o *GetCustomerTenantByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetCustomerTenantByIDParams) WithContext(ctx context.Context) *GetCustomerTenantByIDParams
- func (o *GetCustomerTenantByIDParams) WithDefaults() *GetCustomerTenantByIDParams
- func (o *GetCustomerTenantByIDParams) WithHTTPClient(client *http.Client) *GetCustomerTenantByIDParams
- func (o *GetCustomerTenantByIDParams) WithID(id int32) *GetCustomerTenantByIDParams
- func (o *GetCustomerTenantByIDParams) WithTimeout(timeout time.Duration) *GetCustomerTenantByIDParams
- func (o *GetCustomerTenantByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCustomerTenantByIDReader
- type GetCustomerTenantDetailedByIDOK
- type GetCustomerTenantDetailedByIDParams
- func NewGetCustomerTenantDetailedByIDParams() *GetCustomerTenantDetailedByIDParams
- func NewGetCustomerTenantDetailedByIDParamsWithContext(ctx context.Context) *GetCustomerTenantDetailedByIDParams
- func NewGetCustomerTenantDetailedByIDParamsWithHTTPClient(client *http.Client) *GetCustomerTenantDetailedByIDParams
- func NewGetCustomerTenantDetailedByIDParamsWithTimeout(timeout time.Duration) *GetCustomerTenantDetailedByIDParams
- func (o *GetCustomerTenantDetailedByIDParams) SetContext(ctx context.Context)
- func (o *GetCustomerTenantDetailedByIDParams) SetDefaults()
- func (o *GetCustomerTenantDetailedByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetCustomerTenantDetailedByIDParams) SetID(id int32)
- func (o *GetCustomerTenantDetailedByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetCustomerTenantDetailedByIDParams) WithContext(ctx context.Context) *GetCustomerTenantDetailedByIDParams
- func (o *GetCustomerTenantDetailedByIDParams) WithDefaults() *GetCustomerTenantDetailedByIDParams
- func (o *GetCustomerTenantDetailedByIDParams) WithHTTPClient(client *http.Client) *GetCustomerTenantDetailedByIDParams
- func (o *GetCustomerTenantDetailedByIDParams) WithID(id int32) *GetCustomerTenantDetailedByIDParams
- func (o *GetCustomerTenantDetailedByIDParams) WithTimeout(timeout time.Duration) *GetCustomerTenantDetailedByIDParams
- func (o *GetCustomerTenantDetailedByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCustomerTenantDetailedByIDReader
- type GetCustomerTenantsOK
- type GetCustomerTenantsParams
- func NewGetCustomerTenantsParams() *GetCustomerTenantsParams
- func NewGetCustomerTenantsParamsWithContext(ctx context.Context) *GetCustomerTenantsParams
- func NewGetCustomerTenantsParamsWithHTTPClient(client *http.Client) *GetCustomerTenantsParams
- func NewGetCustomerTenantsParamsWithTimeout(timeout time.Duration) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) SetConsumerID(consumerID *int32)
- func (o *GetCustomerTenantsParams) SetContext(ctx context.Context)
- func (o *GetCustomerTenantsParams) SetCustomerTenantType(customerTenantType *string)
- func (o *GetCustomerTenantsParams) SetDefaults()
- func (o *GetCustomerTenantsParams) SetDomain(domain *string)
- func (o *GetCustomerTenantsParams) SetDomainPrefix(domainPrefix *string)
- func (o *GetCustomerTenantsParams) SetHTTPClient(client *http.Client)
- func (o *GetCustomerTenantsParams) SetInvoiceProfileID(invoiceProfileID *int32)
- func (o *GetCustomerTenantsParams) SetOrganizationID(organizationID *int32)
- func (o *GetCustomerTenantsParams) SetPage(page *int32)
- func (o *GetCustomerTenantsParams) SetPageSize(pageSize *int32)
- func (o *GetCustomerTenantsParams) SetProgramID(programID *int32)
- func (o *GetCustomerTenantsParams) SetPublisherID(publisherID *int32)
- func (o *GetCustomerTenantsParams) SetSearch(search *string)
- func (o *GetCustomerTenantsParams) SetTimeout(timeout time.Duration)
- func (o *GetCustomerTenantsParams) WithConsumerID(consumerID *int32) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithContext(ctx context.Context) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithCustomerTenantType(customerTenantType *string) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithDefaults() *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithDomain(domain *string) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithDomainPrefix(domainPrefix *string) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithHTTPClient(client *http.Client) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithInvoiceProfileID(invoiceProfileID *int32) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithOrganizationID(organizationID *int32) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithPage(page *int32) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithPageSize(pageSize *int32) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithProgramID(programID *int32) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithPublisherID(publisherID *int32) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithSearch(search *string) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WithTimeout(timeout time.Duration) *GetCustomerTenantsParams
- func (o *GetCustomerTenantsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCustomerTenantsReader
- type PostCustomerTenantOK
- type PostCustomerTenantParams
- func NewPostCustomerTenantParams() *PostCustomerTenantParams
- func NewPostCustomerTenantParamsWithContext(ctx context.Context) *PostCustomerTenantParams
- func NewPostCustomerTenantParamsWithHTTPClient(client *http.Client) *PostCustomerTenantParams
- func NewPostCustomerTenantParamsWithTimeout(timeout time.Duration) *PostCustomerTenantParams
- func (o *PostCustomerTenantParams) SetContext(ctx context.Context)
- func (o *PostCustomerTenantParams) SetCustomerTenant(customerTenant *models.CustomerTenantDetailed)
- func (o *PostCustomerTenantParams) SetDefaults()
- func (o *PostCustomerTenantParams) SetHTTPClient(client *http.Client)
- func (o *PostCustomerTenantParams) SetTimeout(timeout time.Duration)
- func (o *PostCustomerTenantParams) WithContext(ctx context.Context) *PostCustomerTenantParams
- func (o *PostCustomerTenantParams) WithCustomerTenant(customerTenant *models.CustomerTenantDetailed) *PostCustomerTenantParams
- func (o *PostCustomerTenantParams) WithDefaults() *PostCustomerTenantParams
- func (o *PostCustomerTenantParams) WithHTTPClient(client *http.Client) *PostCustomerTenantParams
- func (o *PostCustomerTenantParams) WithTimeout(timeout time.Duration) *PostCustomerTenantParams
- func (o *PostCustomerTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostCustomerTenantReader
- type PutCustomerTenantOK
- type PutCustomerTenantParams
- func NewPutCustomerTenantParams() *PutCustomerTenantParams
- func NewPutCustomerTenantParamsWithContext(ctx context.Context) *PutCustomerTenantParams
- func NewPutCustomerTenantParamsWithHTTPClient(client *http.Client) *PutCustomerTenantParams
- func NewPutCustomerTenantParamsWithTimeout(timeout time.Duration) *PutCustomerTenantParams
- func (o *PutCustomerTenantParams) SetContext(ctx context.Context)
- func (o *PutCustomerTenantParams) SetCustomerTenant(customerTenant *models.CustomerTenantDetailed)
- func (o *PutCustomerTenantParams) SetDefaults()
- func (o *PutCustomerTenantParams) SetHTTPClient(client *http.Client)
- func (o *PutCustomerTenantParams) SetID(id int32)
- func (o *PutCustomerTenantParams) SetTimeout(timeout time.Duration)
- func (o *PutCustomerTenantParams) WithContext(ctx context.Context) *PutCustomerTenantParams
- func (o *PutCustomerTenantParams) WithCustomerTenant(customerTenant *models.CustomerTenantDetailed) *PutCustomerTenantParams
- func (o *PutCustomerTenantParams) WithDefaults() *PutCustomerTenantParams
- func (o *PutCustomerTenantParams) WithHTTPClient(client *http.Client) *PutCustomerTenantParams
- func (o *PutCustomerTenantParams) WithID(id int32) *PutCustomerTenantParams
- func (o *PutCustomerTenantParams) WithTimeout(timeout time.Duration) *PutCustomerTenantParams
- func (o *PutCustomerTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutCustomerTenantReader
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 ¶
func (o *DeleteCustomerByIDParams) WithContext(ctx context.Context) *DeleteCustomerByIDParams
WithContext adds the context to the delete customer by Id params
func (*DeleteCustomerByIDParams) WithDefaults ¶
func (o *DeleteCustomerByIDParams) WithDefaults() *DeleteCustomerByIDParams
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 ¶
func (o *DeleteCustomerByIDParams) WithID(id int32) *DeleteCustomerByIDParams
WithID adds the id to the delete customer by Id params
func (*DeleteCustomerByIDParams) WithTimeout ¶
func (o *DeleteCustomerByIDParams) WithTimeout(timeout time.Duration) *DeleteCustomerByIDParams
WithTimeout adds the timeout to the delete customer by Id params
func (*DeleteCustomerByIDParams) WriteToRequest ¶
func (o *DeleteCustomerByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetAzurePlanParams) WithContext(ctx context.Context) *GetAzurePlanParams
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 ¶
func (o *GetCustomerTenantByIDOK) GetPayload() *models.CustomerTenant
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 ¶
func (o *GetCustomerTenantByIDParams) WithContext(ctx context.Context) *GetCustomerTenantByIDParams
WithContext adds the context to the get customer tenant by Id params
func (*GetCustomerTenantByIDParams) WithDefaults ¶
func (o *GetCustomerTenantByIDParams) WithDefaults() *GetCustomerTenantByIDParams
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 ¶
func (o *GetCustomerTenantByIDParams) WithHTTPClient(client *http.Client) *GetCustomerTenantByIDParams
WithHTTPClient adds the HTTPClient to the get customer tenant by Id params
func (*GetCustomerTenantByIDParams) WithID ¶
func (o *GetCustomerTenantByIDParams) WithID(id int32) *GetCustomerTenantByIDParams
WithID adds the id to the get customer tenant by Id params
func (*GetCustomerTenantByIDParams) WithTimeout ¶
func (o *GetCustomerTenantByIDParams) WithTimeout(timeout time.Duration) *GetCustomerTenantByIDParams
WithTimeout adds the timeout to the get customer tenant by Id params
func (*GetCustomerTenantByIDParams) WriteToRequest ¶
func (o *GetCustomerTenantByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetCustomerTenantDetailedByIDOK) Error() string
func (*GetCustomerTenantDetailedByIDOK) GetPayload ¶
func (o *GetCustomerTenantDetailedByIDOK) GetPayload() *models.CustomerTenantDetailed
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 ¶
func (o *GetCustomerTenantDetailedByIDParams) SetContext(ctx context.Context)
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 ¶
func (o *GetCustomerTenantDetailedByIDParams) SetID(id int32)
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 ¶
func (o *GetCustomerTenantDetailedByIDParams) WithContext(ctx context.Context) *GetCustomerTenantDetailedByIDParams
WithContext adds the context to the get customer tenant detailed by Id params
func (*GetCustomerTenantDetailedByIDParams) WithDefaults ¶
func (o *GetCustomerTenantDetailedByIDParams) WithDefaults() *GetCustomerTenantDetailedByIDParams
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 ¶
func (o *GetCustomerTenantDetailedByIDParams) WithHTTPClient(client *http.Client) *GetCustomerTenantDetailedByIDParams
WithHTTPClient adds the HTTPClient to the get customer tenant detailed by Id params
func (*GetCustomerTenantDetailedByIDParams) WithID ¶
func (o *GetCustomerTenantDetailedByIDParams) WithID(id int32) *GetCustomerTenantDetailedByIDParams
WithID adds the id to the get customer tenant detailed by Id params
func (*GetCustomerTenantDetailedByIDParams) WithTimeout ¶
func (o *GetCustomerTenantDetailedByIDParams) WithTimeout(timeout time.Duration) *GetCustomerTenantDetailedByIDParams
WithTimeout adds the timeout to the get customer tenant detailed by Id params
func (*GetCustomerTenantDetailedByIDParams) WriteToRequest ¶
func (o *GetCustomerTenantDetailedByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetCustomerTenantsOK) GetPayload() *models.APICollectionOfCustomerTenant
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 ¶
func (o *GetCustomerTenantsParams) WithContext(ctx context.Context) *GetCustomerTenantsParams
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 ¶
func (o *GetCustomerTenantsParams) WithDefaults() *GetCustomerTenantsParams
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 ¶
func (o *GetCustomerTenantsParams) WithDomain(domain *string) *GetCustomerTenantsParams
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 ¶
func (o *GetCustomerTenantsParams) WithPage(page *int32) *GetCustomerTenantsParams
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 ¶
func (o *GetCustomerTenantsParams) WithSearch(search *string) *GetCustomerTenantsParams
WithSearch adds the search to the get customer tenants params
func (*GetCustomerTenantsParams) WithTimeout ¶
func (o *GetCustomerTenantsParams) WithTimeout(timeout time.Duration) *GetCustomerTenantsParams
WithTimeout adds the timeout to the get customer tenants params
func (*GetCustomerTenantsParams) WriteToRequest ¶
func (o *GetCustomerTenantsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostCustomerTenantOK) GetPayload() *models.CustomerTenantDetailed
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 ¶
func (o *PostCustomerTenantParams) WithContext(ctx context.Context) *PostCustomerTenantParams
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 ¶
func (o *PostCustomerTenantParams) WithDefaults() *PostCustomerTenantParams
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 ¶
func (o *PostCustomerTenantParams) WithTimeout(timeout time.Duration) *PostCustomerTenantParams
WithTimeout adds the timeout to the post customer tenant params
func (*PostCustomerTenantParams) WriteToRequest ¶
func (o *PostCustomerTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PutCustomerTenantOK) GetPayload() *models.CustomerTenantDetailed
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 ¶
func (o *PutCustomerTenantParams) WithContext(ctx context.Context) *PutCustomerTenantParams
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 ¶
func (o *PutCustomerTenantParams) WithDefaults() *PutCustomerTenantParams
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 ¶
func (o *PutCustomerTenantParams) WithID(id int32) *PutCustomerTenantParams
WithID adds the id to the put customer tenant params
func (*PutCustomerTenantParams) WithTimeout ¶
func (o *PutCustomerTenantParams) WithTimeout(timeout time.Duration) *PutCustomerTenantParams
WithTimeout adds the timeout to the put customer tenant params
func (*PutCustomerTenantParams) WriteToRequest ¶
func (o *PutCustomerTenantParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- add_existing_parameters.go
- add_existing_responses.go
- customer_tenants_client.go
- delete_customer_by_id_parameters.go
- delete_customer_by_id_responses.go
- get_azure_plan_parameters.go
- get_azure_plan_responses.go
- get_customer_tenant_by_id_parameters.go
- get_customer_tenant_by_id_responses.go
- get_customer_tenant_detailed_by_id_parameters.go
- get_customer_tenant_detailed_by_id_responses.go
- get_customer_tenants_parameters.go
- get_customer_tenants_responses.go
- post_customer_tenant_parameters.go
- post_customer_tenant_responses.go
- put_customer_tenant_parameters.go
- put_customer_tenant_responses.go