models

package
v1.1.49 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIDetails

type APIDetails struct {
	ID                 string `json:"id"`
	Name               string `json:"name"`
	Revision           int    `json:"revision,omitempty"`
	TeamID             string `json:"teamID,omitempty"`
	APIServiceInstance string `json:"apiServiceInstance,omitempty"`
}

APIDetails - Represents the api used in the transaction summary provider details event

type AppDetails

type AppDetails struct {
	ID            string `json:"id"`
	Name          string `json:"name"`
	ConsumerOrgID string `json:"consumerOrgId,omitempty"`
}

AppDetails - struct for app details to report

type AssetResource

type AssetResource struct {
	ID   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

AssetResource - Represents the asset resource used in transaction summary provider details event

type ConsumerDetails

type ConsumerDetails struct {
	Application      *AppDetails   `json:"application,omitempty"` // marketplace application
	PublishedProduct *Product      `json:"publishedProduct,omitempty"`
	Subscription     *Subscription `json:"subscription,omitempty"`
}

ConsumerDetails - Represents the consumer details in the transaction summary event

type Product

type Product struct {
	ID          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	VersionName string `json:"versionName,omitempty"`
	VersionID   string `json:"versionId,omitempty"`
}

Product - Represents the product used in the transaction summary provider details event

type ProductPlan

type ProductPlan struct {
	ID string `json:"id,omitempty"`
}

ProductPlan - Represents the plan used in the transaction summary provider details event

type Quota

type Quota struct {
	ID string `json:"id,omitempty"`
}

Quota - Represents the quota used in the transaction summary provider details event

type Subscription

type Subscription struct {
	ID   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

Subscription - Represents the subscription used in transaction summary consumer details

Jump to

Keyboard shortcuts

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