Documentation
¶
Index ¶
Constants ¶
const ( // DefaultHost is the default Host // found in Meta (info) section of spec file DefaultHost string = "apiv1.crayon.com" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/" )
Variables ¶
var Default = NewHTTPClient(nil)
Default crayon group customer API HTTP client.
var DefaultSchemes = []string{"https"}
DefaultSchemes are the default schemes found in Meta (info) section of spec file
Functions ¶
This section is empty.
Types ¶
type CrayonGroupCustomerAPI ¶
type CrayonGroupCustomerAPI struct {
ActivityLogs activity_logs.ClientService
Addresses addresses.ClientService
AgreementProducts agreement_products.ClientService
AgreementReports agreement_reports.ClientService
Agreements agreements.ClientService
Assets assets.ClientService
AwsAccounts aws_accounts.ClientService
AzurePlans azure_plans.ClientService
BillingCycles billing_cycles.ClientService
BillingStatements billing_statements.ClientService
BlogItems blog_items.ClientService
Clients clients.ClientService
Consumers consumers.ClientService
CrayonAccounts crayon_accounts.ClientService
CustomerTenantAgreements customer_tenant_agreements.ClientService
CustomerTenants customer_tenants.ClientService
CustomerToken customer_token.ClientService
GoogleOrders google_orders.ClientService
Groupings groupings.ClientService
InvoiceProfiles invoice_profiles.ClientService
ManagementLinks management_links.ClientService
Me me.ClientService
OrganizationAccess organization_access.ClientService
Organizations organizations.ClientService
Ping ping.ClientService
ProductContainers product_containers.ClientService
Programs programs.ClientService
Publishers publishers.ClientService
Regions regions.ClientService
ResellerSalesPrices reseller_sales_prices.ClientService
Secrets secrets.ClientService
Subscriptions subscriptions.ClientService
UsageCost usage_cost.ClientService
Users users.ClientService
Transport runtime.ClientTransport
}
CrayonGroupCustomerAPI is a client for crayon group customer API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *CrayonGroupCustomerAPI
New creates a new crayon group customer API client
func NewHTTPClient ¶
func NewHTTPClient(formats strfmt.Registry) *CrayonGroupCustomerAPI
NewHTTPClient creates a new crayon group customer API HTTP client.
func NewHTTPClientWithConfig ¶
func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *CrayonGroupCustomerAPI
NewHTTPClientWithConfig creates a new crayon group customer API HTTP client, using a customizable transport config.
func (*CrayonGroupCustomerAPI) SetTransport ¶
func (c *CrayonGroupCustomerAPI) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client and all its subresources
type TransportConfig ¶
TransportConfig contains the transport related info, found in the meta section of the spec file.
func DefaultTransportConfig ¶
func DefaultTransportConfig() *TransportConfig
DefaultTransportConfig creates a TransportConfig with the default settings taken from the meta section of the spec file.
func (*TransportConfig) WithBasePath ¶
func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig
WithBasePath overrides the default basePath, provided by the meta section of the spec file.
func (*TransportConfig) WithHost ¶
func (cfg *TransportConfig) WithHost(host string) *TransportConfig
WithHost overrides the default host, provided by the meta section of the spec file.
func (*TransportConfig) WithSchemes ¶
func (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig
WithSchemes overrides the default schemes, provided by the meta section of the spec file.