models

package
v1.1.94 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 1 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"`
	Stage              string `json:"-"`
	Version            string `json:"-"`
}

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

func (APIDetails) GetLogFields added in v1.1.80

func (a APIDetails) GetLogFields(fields logrus.Fields) logrus.Fields

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

func (AppDetails) GetLogFields added in v1.1.80

func (a AppDetails) GetLogFields(fields logrus.Fields) logrus.Fields

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

func (AssetResource) GetLogFields added in v1.1.80

func (a AssetResource) GetLogFields(fields logrus.Fields) logrus.Fields

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

func (Product) GetLogFields added in v1.1.80

func (a Product) GetLogFields(fields logrus.Fields) logrus.Fields

type ProductPlan

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

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

func (ProductPlan) GetLogFields added in v1.1.80

func (a ProductPlan) GetLogFields(fields logrus.Fields) logrus.Fields

type Quota

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

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

func (Quota) GetLogFields added in v1.1.80

func (a Quota) GetLogFields(fields logrus.Fields) logrus.Fields

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

func (Subscription) GetLogFields added in v1.1.80

func (a Subscription) GetLogFields(fields logrus.Fields) logrus.Fields

Jump to

Keyboard shortcuts

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