pricing

package
v0.71.71 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_pricing_details_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PricingData added in v0.71.22

type PricingData struct {
	Vendor         string            `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	Service        string            `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	RegionCode     string            `protobuf:"bytes,3,opt,name=regionCode,proto3" json:"regionCode,omitempty"`
	Sku            string            `protobuf:"bytes,4,opt,name=sku,proto3" json:"sku,omitempty"`
	Unit           string            `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
	PricePerUnit   float64           `protobuf:"fixed64,6,opt,name=pricePerUnit,proto3" json:"pricePerUnit,omitempty"`
	ServiceDetails map[string]*Value `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Pricing details

func (*PricingData) Descriptor deprecated added in v0.71.22

func (*PricingData) Descriptor() ([]byte, []int)

Deprecated: Use PricingData.ProtoReflect.Descriptor instead.

func (*PricingData) GetPricePerUnit added in v0.71.22

func (x *PricingData) GetPricePerUnit() float64

func (*PricingData) GetRegionCode added in v0.71.22

func (x *PricingData) GetRegionCode() string

func (*PricingData) GetService added in v0.71.22

func (x *PricingData) GetService() string

func (*PricingData) GetServiceDetails added in v0.71.22

func (x *PricingData) GetServiceDetails() map[string]*Value

func (*PricingData) GetSku added in v0.71.22

func (x *PricingData) GetSku() string

func (*PricingData) GetUnit added in v0.71.22

func (x *PricingData) GetUnit() string

func (*PricingData) GetVendor added in v0.71.22

func (x *PricingData) GetVendor() string

func (*PricingData) ProtoMessage added in v0.71.22

func (*PricingData) ProtoMessage()

func (*PricingData) ProtoReflect added in v0.71.22

func (x *PricingData) ProtoReflect() protoreflect.Message

func (*PricingData) Reset added in v0.71.22

func (x *PricingData) Reset()

func (*PricingData) String added in v0.71.22

func (x *PricingData) String() string

type Value added in v0.71.68

type Value struct {

	// Types that are assignable to Value:
	//
	//	*Value_StrVal
	//	*Value_FloatVal
	Value isValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Value) Descriptor deprecated added in v0.71.68

func (*Value) Descriptor() ([]byte, []int)

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetFloatVal added in v0.71.68

func (x *Value) GetFloatVal() float32

func (*Value) GetStrVal added in v0.71.68

func (x *Value) GetStrVal() string

func (*Value) GetValue added in v0.71.68

func (m *Value) GetValue() isValue_Value

func (*Value) ProtoMessage added in v0.71.68

func (*Value) ProtoMessage()

func (*Value) ProtoReflect added in v0.71.68

func (x *Value) ProtoReflect() protoreflect.Message

func (*Value) Reset added in v0.71.68

func (x *Value) Reset()

func (*Value) String added in v0.71.68

func (x *Value) String() string

type Value_FloatVal added in v0.71.68

type Value_FloatVal struct {
	FloatVal float32 `protobuf:"fixed32,2,opt,name=floatVal,proto3,oneof"`
}

type Value_StrVal added in v0.71.68

type Value_StrVal struct {
	StrVal string `protobuf:"bytes,1,opt,name=strVal,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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