swagger

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

type Body struct {
	IncludeActive bool `json:"include_active,omitempty"`

	IncludeArchived bool `json:"include_archived,omitempty"`

	IncludeDev bool `json:"include_dev,omitempty"`

	IncludeInactive bool `json:"include_inactive,omitempty"`

	IncludePaid bool `json:"include_paid,omitempty"`

	IncludeTrial bool `json:"include_trial,omitempty"`

	Offset int64 `json:"offset,omitempty"`

	PageSize int64 `json:"page_size,omitempty"`

	Query string `json:"query"`

	SortDirection string `json:"sort_direction,omitempty"`

	SortField string `json:"sort_field,omitempty"`
}

type Body1

type Body1 struct {

	// If activation is required this is the email the code will be sent to.
	ActivationEmail string `json:"activation_email"`

	// App Id that this license will be associated with.
	AppId string `json:"app_id"`

	// License Label name, ie name of customer who is using license.
	Assignee string `json:"assignee"`

	// Channel id that the license will be associated with (deprecated, use \"channels\").
	ChannelId string `json:"channel_id"`

	Channels *LicenseChannels `json:"channels,omitempty"`

	ConsoleAuthOptions []string `json:"console_auth_options,omitempty"`

	EnabledFeatures map[string]interface{} `json:"enabled_features,omitempty"`

	// Date that the license will expire, can be null for no expiration or formatted by year-month-day ex. 2016-02-02.
	ExpirationDate string `json:"expiration_date"`

	// Defines expiration policy for this license.  Values: ignore: replicated will take no action on a expired license noupdate-norestart: application updates will not be downloaded, and once the application is stopped, it will not be started again noupdate-stop: application updates will not be downloaded and the application will be stopped
	ExpirationPolicy string `json:"expiration_policy"`

	FieldValues *LicenseFieldValues `json:"field_values"`

	// LicenseType can be set to \"dev\", \"trial\", or \"prod\"
	LicenseType string `json:"license_type"`

	// If this license requires activation set to true, make sure to set activation email as well.
	RequireActivation bool `json:"require_activation"`

	// If set to automatic will auto update remote license installation with every release. If set to manual will update only when on-premise admin clicks the install update button.
	UpdatePolicy string `json:"update_policy"`
}

type Body2

type Body2 struct {

	// If activation is required this is the email the code will be sent to.
	ActivationEmail string `json:"activation_email"`

	// License Label name, ie name of customer who is using license.
	Assignee string `json:"assignee"`

	// Channel id that the license will be associated with.
	ChannelId string `json:"channel_id"`

	Channels *LicenseChannels `json:"channels,omitempty"`

	ConsoleAuthOptions []string `json:"console_auth_options,omitempty"`

	EnabledFeatures map[string]interface{} `json:"enabled_features,omitempty"`

	// Date that the license will expire, can be null for no expiration or formated by year-month-day ex. 2016-02-02.
	ExpirationDate string `json:"expiration_date"`

	// Defines expiration policy for this license.  Values: ignore: replicated will take no action on a expired license noupdate-norestart: application updates will not be downloaded, and once the application is stopped, it will not be started again noupdate-stop: application updates will not be downloaded and the application will be stopped
	ExpirationPolicy string `json:"expiration_policy"`

	FieldValues *LicenseFieldValues `json:"field_values"`

	// A license can be optionally locked to a specific release
	IsAppVersionLocked bool `json:"is_app_version_locked,omitempty"`

	// LicenseType can be set to \"dev\", \"trial\", or \"prod\"
	LicenseType string `json:"license_type"`

	// If app version is locked, this is the version to lock it to (sequence)
	LockedAppVersion int64 `json:"locked_app_version,omitempty"`

	// If this license requires activation set to true, make sure to set activation email as well.
	RequireActivation bool `json:"require_activation"`

	// If set to automatic will auto update remote license installation with every release. If set to manual will update only when on-premise admin clicks the install update button.
	UpdatePolicy string `json:"update_policy"`
}

type InlineResponse200

type InlineResponse200 struct {
	Licenses *LicensesV2 `json:"Licenses,omitempty"`
}

type InlineResponse2001

type InlineResponse2001 struct {
	Licenses *LicensesV2 `json:"licenses,omitempty"`

	Query string `json:"query,omitempty"`

	TotalHits int64 `json:"total_hits,omitempty"`
}

type InlineResponse2002

type InlineResponse2002 struct {
	License *LicenseV2 `json:"License"`
}

type InlineResponse2003

type InlineResponse2003 struct {
	Licenses []LicenseV2 `json:"Licenses,omitempty"`
}

type InlineResponse201

type InlineResponse201 struct {
	License *LicenseV2 `json:"License,omitempty"`
}

type LicenseChannel

type LicenseChannel struct {
	Description string `json:"description,omitempty"`

	Id string `json:"id,omitempty"`

	IsDefault bool `json:"is_default,omitempty"`

	Name string `json:"name,omitempty"`
}

type LicenseChannels

type LicenseChannels struct {
}

type LicenseFieldValue

type LicenseFieldValue struct {
	Field string `json:"field,omitempty"`

	Title string `json:"title,omitempty"`

	Type_ string `json:"type,omitempty"`

	Value string `json:"value,omitempty"`
}

type LicenseFieldValues

type LicenseFieldValues struct {
}

type LicenseV2

type LicenseV2 struct {
	ActivationEmail string `json:"activation_email,omitempty"`

	ActiveInstanceCount int64 `json:"active_instance_count,omitempty"`

	AppId string `json:"app_id,omitempty"`

	AppStatus string `json:"app_status,omitempty"`

	Assignee string `json:"assignee,omitempty"`

	BillingBeginDate time.Time `json:"billing_begin_date,omitempty"`

	BillingEndDate time.Time `json:"billing_end_date,omitempty"`

	BillingFrequency string `json:"billing_frequency,omitempty"`

	BillingRevenue string `json:"billing_revenue,omitempty"`

	ChannelId string `json:"channel_id,omitempty"`

	ChannelName string `json:"channel_name,omitempty"`

	Channels []LicenseChannel `json:"channels,omitempty"`

	CloudNetworks string `json:"cloud_networks,omitempty"`

	ConsoleAuthOptions []string `json:"console_auth_options,omitempty"`

	EnabledFeatures map[string]interface{} `json:"enabled_features,omitempty"`

	ExpirationDate time.Time `json:"expiration_date,omitempty"`

	ExpirationPolicy string `json:"expiration_policy,omitempty"`

	GrantDate time.Time `json:"grant_date,omitempty"`

	Id string `json:"id,omitempty"`

	InactiveInstanceCount int64 `json:"inactive_instance_count,omitempty"`

	InstalledReleaseSequence int64 `json:"installed_release_sequence,omitempty"`

	InstalledVersionLabel string `json:"installed_version_label,omitempty"`

	IsActive bool `json:"is_active,omitempty"`

	IsAnonymous bool `json:"is_anonymous,omitempty"`

	IsAppVersionLocked bool `json:"is_app_version_locked,omitempty"`

	IsArchived bool `json:"is_archived,omitempty"`

	IsInstanceTracked bool `json:"is_instance_tracked,omitempty"`

	LastSyncAt time.Time `json:"last_sync_at,omitempty"`

	LatestReleaseSequence int64 `json:"latest_release_sequence,omitempty"`

	LatestVersionLabel string `json:"latest_version_label,omitempty"`

	LicenseType string `json:"license_type,omitempty"`

	LockedAppVersion int64 `json:"locked_app_version,omitempty"`

	RequireActivation bool `json:"require_activation,omitempty"`

	RevocationDate time.Time `json:"revocation_date,omitempty"`

	UntrackedInstanceCount int64 `json:"untracked_instance_count,omitempty"`

	UpdatePolicy string `json:"update_policy,omitempty"`
}

type LicensesV2

type LicensesV2 struct {
}

Jump to

Keyboard shortcuts

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