ripple

package
v0.65.41 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Rounding_RoundingMethod_name = map[int32]string{
		0: "ROUND",
		1: "ROUNDUP",
		2: "ROUNDDOWN",
	}
	Rounding_RoundingMethod_value = map[string]int32{
		"ROUND":     0,
		"ROUNDUP":   1,
		"ROUNDDOWN": 2,
	}
)

Enum value maps for Rounding_RoundingMethod.

View Source
var File_api_ripple_exchangerate_proto protoreflect.FileDescriptor
View Source
var File_api_ripple_org_proto protoreflect.FileDescriptor
View Source
var File_api_ripple_payer_proto protoreflect.FileDescriptor
View Source
var File_api_ripple_reseller_proto protoreflect.FileDescriptor
View Source
var File_api_ripple_rounding_proto protoreflect.FileDescriptor
View Source
var File_api_ripple_yearmonth_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ExchangeRate added in v0.65.35

type ExchangeRate struct {

	// The currency code.
	Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	// The rate.
	Rate float64 `protobuf:"fixed64,2,opt,name=rate,proto3" json:"rate,omitempty"`
	// contains filtered or unexported fields
}

ExchangeRate resource definition.

func (*ExchangeRate) Descriptor deprecated added in v0.65.35

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

Deprecated: Use ExchangeRate.ProtoReflect.Descriptor instead.

func (*ExchangeRate) GetCurrency added in v0.65.35

func (x *ExchangeRate) GetCurrency() string

func (*ExchangeRate) GetRate added in v0.65.35

func (x *ExchangeRate) GetRate() float64

func (*ExchangeRate) ProtoMessage added in v0.65.35

func (*ExchangeRate) ProtoMessage()

func (*ExchangeRate) ProtoReflect added in v0.65.35

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

func (*ExchangeRate) Reset added in v0.65.35

func (x *ExchangeRate) Reset()

func (*ExchangeRate) String added in v0.65.35

func (x *ExchangeRate) String() string

type MonthlyExchangeRate added in v0.65.35

type MonthlyExchangeRate struct {

	// The year-month. format: yyyymm
	Month string `protobuf:"bytes,1,opt,name=month,proto3" json:"month,omitempty"`
	// The exchange rate.
	ExchangeRate []*ExchangeRate `protobuf:"bytes,2,rep,name=exchangeRate,proto3" json:"exchangeRate,omitempty"`
	// contains filtered or unexported fields
}

MonthlyExchangeRate resource definition.

func (*MonthlyExchangeRate) Descriptor deprecated added in v0.65.35

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

Deprecated: Use MonthlyExchangeRate.ProtoReflect.Descriptor instead.

func (*MonthlyExchangeRate) GetExchangeRate added in v0.65.35

func (x *MonthlyExchangeRate) GetExchangeRate() []*ExchangeRate

func (*MonthlyExchangeRate) GetMonth added in v0.65.35

func (x *MonthlyExchangeRate) GetMonth() string

func (*MonthlyExchangeRate) ProtoMessage added in v0.65.35

func (*MonthlyExchangeRate) ProtoMessage()

func (*MonthlyExchangeRate) ProtoReflect added in v0.65.35

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

func (*MonthlyExchangeRate) Reset added in v0.65.35

func (x *MonthlyExchangeRate) Reset()

func (*MonthlyExchangeRate) String added in v0.65.35

func (x *MonthlyExchangeRate) String() string

type Org

type Org struct {

	// The unique name (or id) of the organization.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The registered email of the organization.
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// The metadata (key/value pair) of the organization. If hierarchy is supported, it will be
	// separated by '/', such as 'metakey/subkey=value'. See https://alphauslabs.github.io/blueapi/
	// for the list of supported attributes.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Org resource definition.

func (*Org) Descriptor deprecated

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

Deprecated: Use Org.ProtoReflect.Descriptor instead.

func (*Org) GetEmail

func (x *Org) GetEmail() string

func (*Org) GetMetadata

func (x *Org) GetMetadata() map[string]string

func (*Org) GetName

func (x *Org) GetName() string

func (*Org) ProtoMessage

func (*Org) ProtoMessage()

func (*Org) ProtoReflect

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

func (*Org) Reset

func (x *Org) Reset()

func (*Org) String

func (x *Org) String() string

type Payer added in v0.47.3

type Payer struct {

	// The payer account id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The payer account name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The attributes (key/value pair) of the account.
	Metadata []*api.KeyValue `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// List of all members under this payer.
	Members []*api.Account `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

Payer resource definition.

func (*Payer) Descriptor deprecated added in v0.47.3

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

Deprecated: Use Payer.ProtoReflect.Descriptor instead.

func (*Payer) GetId added in v0.47.3

func (x *Payer) GetId() string

func (*Payer) GetMembers added in v0.47.4

func (x *Payer) GetMembers() []*api.Account

func (*Payer) GetMetadata added in v0.47.3

func (x *Payer) GetMetadata() []*api.KeyValue

func (*Payer) GetName added in v0.47.3

func (x *Payer) GetName() string

func (*Payer) ProtoMessage added in v0.47.3

func (*Payer) ProtoMessage()

func (*Payer) ProtoReflect added in v0.47.3

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

func (*Payer) Reset added in v0.47.3

func (x *Payer) Reset()

func (*Payer) String added in v0.47.3

func (x *Payer) String() string

type Reseller added in v0.48.2

type Reseller struct {

	// reseller id. Generated automatically.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// email
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// billing internal id
	BillingInternalId string `protobuf:"bytes,3,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// billing group id
	BillingGroupId string `protobuf:"bytes,4,opt,name=billingGroupId,proto3" json:"billingGroupId,omitempty"`
	// billing group name
	BillingGroupName string `protobuf:"bytes,5,opt,name=billingGroupName,proto3" json:"billingGroupName,omitempty"`
	// wave status
	WaveStatus string `protobuf:"bytes,6,opt,name=waveStatus,proto3" json:"waveStatus,omitempty"`
	// wave feature config
	WaveConfig []*ResellerConfig `protobuf:"bytes,7,rep,name=waveConfig,proto3" json:"waveConfig,omitempty"`
	// wave pro feature config
	WaveProConfig []*ResellerConfig `protobuf:"bytes,8,rep,name=waveProConfig,proto3" json:"waveProConfig,omitempty"`
	// aqua feature config
	AquaConfig []*ResellerConfig `protobuf:"bytes,9,rep,name=aquaConfig,proto3" json:"aquaConfig,omitempty"`
	// contains filtered or unexported fields
}

func (*Reseller) Descriptor deprecated added in v0.48.2

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

Deprecated: Use Reseller.ProtoReflect.Descriptor instead.

func (*Reseller) GetAquaConfig added in v0.65.35

func (x *Reseller) GetAquaConfig() []*ResellerConfig

func (*Reseller) GetBillingGroupId added in v0.65.35

func (x *Reseller) GetBillingGroupId() string

func (*Reseller) GetBillingGroupName added in v0.65.35

func (x *Reseller) GetBillingGroupName() string

func (*Reseller) GetBillingInternalId added in v0.65.35

func (x *Reseller) GetBillingInternalId() string

func (*Reseller) GetEmail added in v0.48.2

func (x *Reseller) GetEmail() string

func (*Reseller) GetId added in v0.65.35

func (x *Reseller) GetId() string

func (*Reseller) GetWaveConfig added in v0.65.35

func (x *Reseller) GetWaveConfig() []*ResellerConfig

func (*Reseller) GetWaveProConfig added in v0.65.35

func (x *Reseller) GetWaveProConfig() []*ResellerConfig

func (*Reseller) GetWaveStatus added in v0.48.2

func (x *Reseller) GetWaveStatus() string

func (*Reseller) ProtoMessage added in v0.48.2

func (*Reseller) ProtoMessage()

func (*Reseller) ProtoReflect added in v0.48.2

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

func (*Reseller) Reset added in v0.48.2

func (x *Reseller) Reset()

func (*Reseller) String added in v0.48.2

func (x *Reseller) String() string

type ResellerConfig added in v0.65.35

type ResellerConfig struct {

	// key
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// value
	Value bool `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ResellerConfig) Descriptor deprecated added in v0.65.35

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

Deprecated: Use ResellerConfig.ProtoReflect.Descriptor instead.

func (*ResellerConfig) GetKey added in v0.65.35

func (x *ResellerConfig) GetKey() string

func (*ResellerConfig) GetValue added in v0.65.35

func (x *ResellerConfig) GetValue() bool

func (*ResellerConfig) ProtoMessage added in v0.65.35

func (*ResellerConfig) ProtoMessage()

func (*ResellerConfig) ProtoReflect added in v0.65.35

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

func (*ResellerConfig) Reset added in v0.65.35

func (x *ResellerConfig) Reset()

func (*ResellerConfig) String added in v0.65.35

func (x *ResellerConfig) String() string

type Rounding added in v0.65.35

type Rounding struct {

	// The rounding method.
	Rounding Rounding_RoundingMethod `protobuf:"varint,1,opt,name=rounding,proto3,enum=blueapi.api.ripple.Rounding_RoundingMethod" json:"rounding,omitempty"`
	// contains filtered or unexported fields
}

Rounding resource definition.

func (*Rounding) Descriptor deprecated added in v0.65.35

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

Deprecated: Use Rounding.ProtoReflect.Descriptor instead.

func (*Rounding) GetRounding added in v0.65.35

func (x *Rounding) GetRounding() Rounding_RoundingMethod

func (*Rounding) ProtoMessage added in v0.65.35

func (*Rounding) ProtoMessage()

func (*Rounding) ProtoReflect added in v0.65.35

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

func (*Rounding) Reset added in v0.65.35

func (x *Rounding) Reset()

func (*Rounding) String added in v0.65.35

func (x *Rounding) String() string

type Rounding_RoundingMethod added in v0.65.35

type Rounding_RoundingMethod int32

RoundingMethod

const (
	// round
	Rounding_ROUND Rounding_RoundingMethod = 0
	// round up
	Rounding_ROUNDUP Rounding_RoundingMethod = 1
	// round down
	Rounding_ROUNDDOWN Rounding_RoundingMethod = 2
)

func (Rounding_RoundingMethod) Descriptor added in v0.65.35

func (Rounding_RoundingMethod) Enum added in v0.65.35

func (Rounding_RoundingMethod) EnumDescriptor deprecated added in v0.65.35

func (Rounding_RoundingMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use Rounding_RoundingMethod.Descriptor instead.

func (Rounding_RoundingMethod) Number added in v0.65.35

func (Rounding_RoundingMethod) String added in v0.65.35

func (x Rounding_RoundingMethod) String() string

func (Rounding_RoundingMethod) Type added in v0.65.35

type YearMonth added in v0.65.41

type YearMonth struct {

	// List of the yearmonth.
	YearMonth string `protobuf:"bytes,1,opt,name=yearMonth,proto3" json:"yearMonth,omitempty"`
	// contains filtered or unexported fields
}

YearMonth resource definition.

func (*YearMonth) Descriptor deprecated added in v0.65.41

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

Deprecated: Use YearMonth.ProtoReflect.Descriptor instead.

func (*YearMonth) GetYearMonth added in v0.65.41

func (x *YearMonth) GetYearMonth() string

func (*YearMonth) ProtoMessage added in v0.65.41

func (*YearMonth) ProtoMessage()

func (*YearMonth) ProtoReflect added in v0.65.41

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

func (*YearMonth) Reset added in v0.65.41

func (x *YearMonth) Reset()

func (*YearMonth) String added in v0.65.41

func (x *YearMonth) String() string

Jump to

Keyboard shortcuts

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