gen

package
v0.0.0-...-2119b44 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

View Source
const (
	PackagesService_Get_FullMethodName        = "/ukama.data_plan.package.v1.PackagesService/Get"
	PackagesService_GetDetails_FullMethodName = "/ukama.data_plan.package.v1.PackagesService/GetDetails"
	PackagesService_Add_FullMethodName        = "/ukama.data_plan.package.v1.PackagesService/Add"
	PackagesService_Delete_FullMethodName     = "/ukama.data_plan.package.v1.PackagesService/Delete"
	PackagesService_Update_FullMethodName     = "/ukama.data_plan.package.v1.PackagesService/Update"
	PackagesService_GetByOrg_FullMethodName   = "/ukama.data_plan.package.v1.PackagesService/GetByOrg"
)

Variables

View Source
var File_package_proto protoreflect.FileDescriptor
View Source
var PackagesService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ukama.data_plan.package.v1.PackagesService",
	HandlerType: (*PackagesServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _PackagesService_Get_Handler,
		},
		{
			MethodName: "GetDetails",
			Handler:    _PackagesService_GetDetails_Handler,
		},
		{
			MethodName: "Add",
			Handler:    _PackagesService_Add_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _PackagesService_Delete_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _PackagesService_Update_Handler,
		},
		{
			MethodName: "GetByOrg",
			Handler:    _PackagesService_GetByOrg_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "package.proto",
}

PackagesService_ServiceDesc is the grpc.ServiceDesc for PackagesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPackagesServiceServer

func RegisterPackagesServiceServer(s grpc.ServiceRegistrar, srv PackagesServiceServer)

Types

type AddPackageRequest

type AddPackageRequest struct {
	Uuid          string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name          string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	OrgId         string   `protobuf:"bytes,3,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"`
	Active        bool     `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
	Duration      uint64   `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty"`
	SimType       string   `protobuf:"bytes,6,opt,name=simType,json=sim_type,proto3" json:"simType,omitempty"`
	SmsVolume     int64    `protobuf:"varint,7,opt,name=smsVolume,json=sms_volume,proto3" json:"smsVolume,omitempty"`
	DataVolume    int64    `protobuf:"varint,8,opt,name=dataVolume,json=data_volume,proto3" json:"dataVolume,omitempty"`
	VoiceVolume   int64    `protobuf:"varint,9,opt,name=voiceVolume,json=voice_volume,proto3" json:"voiceVolume,omitempty"`
	Dlbr          int64    `protobuf:"varint,10,opt,name=dlbr,proto3" json:"dlbr,omitempty"`
	Ulbr          int64    `protobuf:"varint,11,opt,name=ulbr,proto3" json:"ulbr,omitempty"`
	Markup        float64  `protobuf:"fixed64,12,opt,name=markup,proto3" json:"markup,omitempty"`
	Type          string   `protobuf:"bytes,13,opt,name=type,proto3" json:"type,omitempty"`
	DataUnit      string   `protobuf:"bytes,14,opt,name=dataUnit,json=data_unit,proto3" json:"dataUnit,omitempty"`
	VoiceUnit     string   `protobuf:"bytes,15,opt,name=voiceUnit,json=voice_unit,proto3" json:"voiceUnit,omitempty"`
	MessageUnit   string   `protobuf:"bytes,16,opt,name=messageUnit,json=message_unit,proto3" json:"messageUnit,omitempty"`
	Flatrate      bool     `protobuf:"varint,17,opt,name=flatrate,proto3" json:"flatrate,omitempty"`
	Amount        float64  `protobuf:"fixed64,18,opt,name=amount,proto3" json:"amount,omitempty"`
	EffectiveAt   string   `protobuf:"bytes,19,opt,name=effectiveAt,json=effective_at,proto3" json:"effectiveAt,omitempty"`
	EndAt         string   `protobuf:"bytes,20,opt,name=endAt,json=end_at,proto3" json:"endAt,omitempty"`
	Country       string   `protobuf:"bytes,21,opt,name=country,proto3" json:"country,omitempty"`
	Provider      string   `protobuf:"bytes,22,opt,name=provider,proto3" json:"provider,omitempty"`
	Apn           string   `protobuf:"bytes,23,opt,name=apn,proto3" json:"apn,omitempty"`
	BaserateId    string   `protobuf:"bytes,24,opt,name=baserateId,json=baserate_id,proto3" json:"baserateId,omitempty"`
	OwnerId       string   `protobuf:"bytes,25,opt,name=ownerId,json=owner_id,proto3" json:"ownerId,omitempty"`
	From          string   `protobuf:"bytes,26,opt,name=from,proto3" json:"from,omitempty"`
	To            string   `protobuf:"bytes,27,opt,name=to,proto3" json:"to,omitempty"`
	Overdraft     float64  `protobuf:"fixed64,28,opt,name=overdraft,proto3" json:"overdraft,omitempty"`
	TrafficPolicy uint32   `protobuf:"varint,29,opt,name=trafficPolicy,json=traffic_policy,proto3" json:"trafficPolicy,omitempty"`
	Networks      []string `protobuf:"bytes,30,rep,name=networks,proto3" json:"networks,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPackageRequest) Descriptor deprecated

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

Deprecated: Use AddPackageRequest.ProtoReflect.Descriptor instead.

func (*AddPackageRequest) GetActive

func (x *AddPackageRequest) GetActive() bool

func (*AddPackageRequest) GetAmount

func (x *AddPackageRequest) GetAmount() float64

func (*AddPackageRequest) GetApn

func (x *AddPackageRequest) GetApn() string

func (*AddPackageRequest) GetBaserateId

func (x *AddPackageRequest) GetBaserateId() string

func (*AddPackageRequest) GetCountry

func (x *AddPackageRequest) GetCountry() string

func (*AddPackageRequest) GetDataUnit

func (x *AddPackageRequest) GetDataUnit() string

func (*AddPackageRequest) GetDataVolume

func (x *AddPackageRequest) GetDataVolume() int64

func (*AddPackageRequest) GetDlbr

func (x *AddPackageRequest) GetDlbr() int64

func (*AddPackageRequest) GetDuration

func (x *AddPackageRequest) GetDuration() uint64

func (*AddPackageRequest) GetEffectiveAt

func (x *AddPackageRequest) GetEffectiveAt() string

func (*AddPackageRequest) GetEndAt

func (x *AddPackageRequest) GetEndAt() string

func (*AddPackageRequest) GetFlatrate

func (x *AddPackageRequest) GetFlatrate() bool

func (*AddPackageRequest) GetFrom

func (x *AddPackageRequest) GetFrom() string

func (*AddPackageRequest) GetMarkup

func (x *AddPackageRequest) GetMarkup() float64

func (*AddPackageRequest) GetMessageUnit

func (x *AddPackageRequest) GetMessageUnit() string

func (*AddPackageRequest) GetName

func (x *AddPackageRequest) GetName() string

func (*AddPackageRequest) GetNetworks

func (x *AddPackageRequest) GetNetworks() []string

func (*AddPackageRequest) GetOrgId

func (x *AddPackageRequest) GetOrgId() string

func (*AddPackageRequest) GetOverdraft

func (x *AddPackageRequest) GetOverdraft() float64

func (*AddPackageRequest) GetOwnerId

func (x *AddPackageRequest) GetOwnerId() string

func (*AddPackageRequest) GetProvider

func (x *AddPackageRequest) GetProvider() string

func (*AddPackageRequest) GetSimType

func (x *AddPackageRequest) GetSimType() string

func (*AddPackageRequest) GetSmsVolume

func (x *AddPackageRequest) GetSmsVolume() int64

func (*AddPackageRequest) GetTo

func (x *AddPackageRequest) GetTo() string

func (*AddPackageRequest) GetTrafficPolicy

func (x *AddPackageRequest) GetTrafficPolicy() uint32

func (*AddPackageRequest) GetType

func (x *AddPackageRequest) GetType() string

func (*AddPackageRequest) GetUlbr

func (x *AddPackageRequest) GetUlbr() int64

func (*AddPackageRequest) GetUuid

func (x *AddPackageRequest) GetUuid() string

func (*AddPackageRequest) GetVoiceUnit

func (x *AddPackageRequest) GetVoiceUnit() string

func (*AddPackageRequest) GetVoiceVolume

func (x *AddPackageRequest) GetVoiceVolume() int64

func (*AddPackageRequest) ProtoMessage

func (*AddPackageRequest) ProtoMessage()

func (*AddPackageRequest) ProtoReflect

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

func (*AddPackageRequest) Reset

func (x *AddPackageRequest) Reset()

func (*AddPackageRequest) String

func (x *AddPackageRequest) String() string

func (*AddPackageRequest) Validate

func (this *AddPackageRequest) Validate() error

type AddPackageResponse

type AddPackageResponse struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPackageResponse) Descriptor deprecated

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

Deprecated: Use AddPackageResponse.ProtoReflect.Descriptor instead.

func (*AddPackageResponse) GetPackage

func (x *AddPackageResponse) GetPackage() *Package

func (*AddPackageResponse) ProtoMessage

func (*AddPackageResponse) ProtoMessage()

func (*AddPackageResponse) ProtoReflect

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

func (*AddPackageResponse) Reset

func (x *AddPackageResponse) Reset()

func (*AddPackageResponse) String

func (x *AddPackageResponse) String() string

func (*AddPackageResponse) Validate

func (this *AddPackageResponse) Validate() error

type DeletePackageRequest

type DeletePackageRequest struct {
	Uuid  string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	OrgId string `protobuf:"bytes,2,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePackageRequest) Descriptor deprecated

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

Deprecated: Use DeletePackageRequest.ProtoReflect.Descriptor instead.

func (*DeletePackageRequest) GetOrgId

func (x *DeletePackageRequest) GetOrgId() string

func (*DeletePackageRequest) GetUuid

func (x *DeletePackageRequest) GetUuid() string

func (*DeletePackageRequest) ProtoMessage

func (*DeletePackageRequest) ProtoMessage()

func (*DeletePackageRequest) ProtoReflect

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

func (*DeletePackageRequest) Reset

func (x *DeletePackageRequest) Reset()

func (*DeletePackageRequest) String

func (x *DeletePackageRequest) String() string

func (*DeletePackageRequest) Validate

func (this *DeletePackageRequest) Validate() error

type DeletePackageResponse

type DeletePackageResponse struct {
	Uuid  string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	OrgId string `protobuf:"bytes,2,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePackageResponse) Descriptor deprecated

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

Deprecated: Use DeletePackageResponse.ProtoReflect.Descriptor instead.

func (*DeletePackageResponse) GetOrgId

func (x *DeletePackageResponse) GetOrgId() string

func (*DeletePackageResponse) GetUuid

func (x *DeletePackageResponse) GetUuid() string

func (*DeletePackageResponse) ProtoMessage

func (*DeletePackageResponse) ProtoMessage()

func (*DeletePackageResponse) ProtoReflect

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

func (*DeletePackageResponse) Reset

func (x *DeletePackageResponse) Reset()

func (*DeletePackageResponse) String

func (x *DeletePackageResponse) String() string

func (*DeletePackageResponse) Validate

func (this *DeletePackageResponse) Validate() error

type GetByOrgPackageRequest

type GetByOrgPackageRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByOrgPackageRequest) Descriptor deprecated

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

Deprecated: Use GetByOrgPackageRequest.ProtoReflect.Descriptor instead.

func (*GetByOrgPackageRequest) GetOrgId

func (x *GetByOrgPackageRequest) GetOrgId() string

func (*GetByOrgPackageRequest) ProtoMessage

func (*GetByOrgPackageRequest) ProtoMessage()

func (*GetByOrgPackageRequest) ProtoReflect

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

func (*GetByOrgPackageRequest) Reset

func (x *GetByOrgPackageRequest) Reset()

func (*GetByOrgPackageRequest) String

func (x *GetByOrgPackageRequest) String() string

func (*GetByOrgPackageRequest) Validate

func (this *GetByOrgPackageRequest) Validate() error

type GetByOrgPackageResponse

type GetByOrgPackageResponse struct {
	Packages []*Package `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByOrgPackageResponse) Descriptor deprecated

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

Deprecated: Use GetByOrgPackageResponse.ProtoReflect.Descriptor instead.

func (*GetByOrgPackageResponse) GetPackages

func (x *GetByOrgPackageResponse) GetPackages() []*Package

func (*GetByOrgPackageResponse) ProtoMessage

func (*GetByOrgPackageResponse) ProtoMessage()

func (*GetByOrgPackageResponse) ProtoReflect

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

func (*GetByOrgPackageResponse) Reset

func (x *GetByOrgPackageResponse) Reset()

func (*GetByOrgPackageResponse) String

func (x *GetByOrgPackageResponse) String() string

func (*GetByOrgPackageResponse) Validate

func (this *GetByOrgPackageResponse) Validate() error

type GetPackageRequest

type GetPackageRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPackageRequest) Descriptor deprecated

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

Deprecated: Use GetPackageRequest.ProtoReflect.Descriptor instead.

func (*GetPackageRequest) GetUuid

func (x *GetPackageRequest) GetUuid() string

func (*GetPackageRequest) ProtoMessage

func (*GetPackageRequest) ProtoMessage()

func (*GetPackageRequest) ProtoReflect

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

func (*GetPackageRequest) Reset

func (x *GetPackageRequest) Reset()

func (*GetPackageRequest) String

func (x *GetPackageRequest) String() string

func (*GetPackageRequest) Validate

func (this *GetPackageRequest) Validate() error

type GetPackageResponse

type GetPackageResponse struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPackageResponse) Descriptor deprecated

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

Deprecated: Use GetPackageResponse.ProtoReflect.Descriptor instead.

func (*GetPackageResponse) GetPackage

func (x *GetPackageResponse) GetPackage() *Package

func (*GetPackageResponse) ProtoMessage

func (*GetPackageResponse) ProtoMessage()

func (*GetPackageResponse) ProtoReflect

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

func (*GetPackageResponse) Reset

func (x *GetPackageResponse) Reset()

func (*GetPackageResponse) String

func (x *GetPackageResponse) String() string

func (*GetPackageResponse) Validate

func (this *GetPackageResponse) Validate() error

type Package

type Package struct {
	Uuid          string         `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name          string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	OrgId         string         `protobuf:"bytes,3,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"`
	Active        bool           `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
	Duration      uint64         `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty"`
	SimType       string         `protobuf:"bytes,6,opt,name=simType,json=sim_type,proto3" json:"simType,omitempty"`
	CreatedAt     string         `protobuf:"bytes,7,opt,name=createdAt,json=created_at,proto3" json:"createdAt,omitempty"`
	DeletedAt     string         `protobuf:"bytes,8,opt,name=deletedAt,json=deleted_at,proto3" json:"deletedAt,omitempty"`
	UpdatedAt     string         `protobuf:"bytes,9,opt,name=updatedAt,json=updated_at,proto3" json:"updatedAt,omitempty"`
	SmsVolume     int64          `protobuf:"varint,10,opt,name=smsVolume,json=sms_volume,proto3" json:"smsVolume,omitempty"`
	DataVolume    int64          `protobuf:"varint,11,opt,name=dataVolume,json=data_volume,proto3" json:"dataVolume,omitempty"`
	VoiceVolume   int64          `protobuf:"varint,12,opt,name=voiceVolume,json=voice_volume,proto3" json:"voiceVolume,omitempty"`
	Dlbr          int64          `protobuf:"varint,13,opt,name=dlbr,proto3" json:"dlbr,omitempty"`
	Ulbr          int64          `protobuf:"varint,14,opt,name=ulbr,proto3" json:"ulbr,omitempty"`
	Rate          *PackageRates  `protobuf:"bytes,15,opt,name=rate,proto3" json:"rate,omitempty"`
	Markup        *PackageMarkup `protobuf:"bytes,16,opt,name=markup,proto3" json:"markup,omitempty"`
	Type          string         `protobuf:"bytes,17,opt,name=type,proto3" json:"type,omitempty"`
	DataUnit      string         `protobuf:"bytes,18,opt,name=dataUnit,json=data_unit,proto3" json:"dataUnit,omitempty"`
	VoiceUnit     string         `protobuf:"bytes,19,opt,name=voiceUnit,json=voice_unit,proto3" json:"voiceUnit,omitempty"`
	MessageUnit   string         `protobuf:"bytes,20,opt,name=messageUnit,json=message_unit,proto3" json:"messageUnit,omitempty"`
	Flatrate      bool           `protobuf:"varint,21,opt,name=flatrate,proto3" json:"flatrate,omitempty"`
	Currency      string         `protobuf:"bytes,22,opt,name=currency,proto3" json:"currency,omitempty"`
	From          string         `protobuf:"bytes,23,opt,name=from,proto3" json:"from,omitempty"`
	To            string         `protobuf:"bytes,24,opt,name=to,proto3" json:"to,omitempty"`
	Country       string         `protobuf:"bytes,25,opt,name=country,proto3" json:"country,omitempty"`
	Provider      string         `protobuf:"bytes,26,opt,name=provider,proto3" json:"provider,omitempty"`
	Apn           string         `protobuf:"bytes,27,opt,name=apn,proto3" json:"apn,omitempty"`
	OwnerId       string         `protobuf:"bytes,28,opt,name=ownerId,json=owner_id,proto3" json:"ownerId,omitempty"`
	Amount        float64        `protobuf:"fixed64,29,opt,name=amount,proto3" json:"amount,omitempty"`
	Overdraft     float64        `protobuf:"fixed64,30,opt,name=overdraft,proto3" json:"overdraft,omitempty"`
	TrafficPolicy uint32         `protobuf:"varint,31,opt,name=trafficPolicy,json=traffic_policy,proto3" json:"trafficPolicy,omitempty"`
	Networks      []string       `protobuf:"bytes,32,rep,name=networks,proto3" json:"networks,omitempty"`
	SyncStatus    string         `protobuf:"bytes,33,opt,name=syncStatus,json=sync_status,proto3" json:"syncStatus,omitempty"`
	// contains filtered or unexported fields
}

func (*Package) Descriptor deprecated

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

Deprecated: Use Package.ProtoReflect.Descriptor instead.

func (*Package) GetActive

func (x *Package) GetActive() bool

func (*Package) GetAmount

func (x *Package) GetAmount() float64

func (*Package) GetApn

func (x *Package) GetApn() string

func (*Package) GetCountry

func (x *Package) GetCountry() string

func (*Package) GetCreatedAt

func (x *Package) GetCreatedAt() string

func (*Package) GetCurrency

func (x *Package) GetCurrency() string

func (*Package) GetDataUnit

func (x *Package) GetDataUnit() string

func (*Package) GetDataVolume

func (x *Package) GetDataVolume() int64

func (*Package) GetDeletedAt

func (x *Package) GetDeletedAt() string

func (*Package) GetDlbr

func (x *Package) GetDlbr() int64

func (*Package) GetDuration

func (x *Package) GetDuration() uint64

func (*Package) GetFlatrate

func (x *Package) GetFlatrate() bool

func (*Package) GetFrom

func (x *Package) GetFrom() string

func (*Package) GetMarkup

func (x *Package) GetMarkup() *PackageMarkup

func (*Package) GetMessageUnit

func (x *Package) GetMessageUnit() string

func (*Package) GetName

func (x *Package) GetName() string

func (*Package) GetNetworks

func (x *Package) GetNetworks() []string

func (*Package) GetOrgId

func (x *Package) GetOrgId() string

func (*Package) GetOverdraft

func (x *Package) GetOverdraft() float64

func (*Package) GetOwnerId

func (x *Package) GetOwnerId() string

func (*Package) GetProvider

func (x *Package) GetProvider() string

func (*Package) GetRate

func (x *Package) GetRate() *PackageRates

func (*Package) GetSimType

func (x *Package) GetSimType() string

func (*Package) GetSmsVolume

func (x *Package) GetSmsVolume() int64

func (*Package) GetSyncStatus

func (x *Package) GetSyncStatus() string

func (*Package) GetTo

func (x *Package) GetTo() string

func (*Package) GetTrafficPolicy

func (x *Package) GetTrafficPolicy() uint32

func (*Package) GetType

func (x *Package) GetType() string

func (*Package) GetUlbr

func (x *Package) GetUlbr() int64

func (*Package) GetUpdatedAt

func (x *Package) GetUpdatedAt() string

func (*Package) GetUuid

func (x *Package) GetUuid() string

func (*Package) GetVoiceUnit

func (x *Package) GetVoiceUnit() string

func (*Package) GetVoiceVolume

func (x *Package) GetVoiceVolume() int64

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) ProtoReflect

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

func (*Package) Reset

func (x *Package) Reset()

func (*Package) String

func (x *Package) String() string

func (*Package) Validate

func (this *Package) Validate() error

type PackageMarkup

type PackageMarkup struct {
	Baserate string  `protobuf:"bytes,1,opt,name=baserate,proto3" json:"baserate,omitempty"`
	Markup   float64 `protobuf:"fixed64,2,opt,name=markup,proto3" json:"markup,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageMarkup) Descriptor deprecated

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

Deprecated: Use PackageMarkup.ProtoReflect.Descriptor instead.

func (*PackageMarkup) GetBaserate

func (x *PackageMarkup) GetBaserate() string

func (*PackageMarkup) GetMarkup

func (x *PackageMarkup) GetMarkup() float64

func (*PackageMarkup) ProtoMessage

func (*PackageMarkup) ProtoMessage()

func (*PackageMarkup) ProtoReflect

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

func (*PackageMarkup) Reset

func (x *PackageMarkup) Reset()

func (*PackageMarkup) String

func (x *PackageMarkup) String() string

func (*PackageMarkup) Validate

func (this *PackageMarkup) Validate() error

type PackageRates

type PackageRates struct {
	SmsMo  float64 `protobuf:"fixed64,1,opt,name=smsMo,json=sms_mo,proto3" json:"smsMo,omitempty"`
	SmsMt  float64 `protobuf:"fixed64,2,opt,name=smsMt,json=sms_mt,proto3" json:"smsMt,omitempty"`
	Data   float64 `protobuf:"fixed64,3,opt,name=data,proto3" json:"data,omitempty"`
	Amount float64 `protobuf:"fixed64,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageRates) Descriptor deprecated

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

Deprecated: Use PackageRates.ProtoReflect.Descriptor instead.

func (*PackageRates) GetAmount

func (x *PackageRates) GetAmount() float64

func (*PackageRates) GetData

func (x *PackageRates) GetData() float64

func (*PackageRates) GetSmsMo

func (x *PackageRates) GetSmsMo() float64

func (*PackageRates) GetSmsMt

func (x *PackageRates) GetSmsMt() float64

func (*PackageRates) ProtoMessage

func (*PackageRates) ProtoMessage()

func (*PackageRates) ProtoReflect

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

func (*PackageRates) Reset

func (x *PackageRates) Reset()

func (*PackageRates) String

func (x *PackageRates) String() string

func (*PackageRates) Validate

func (this *PackageRates) Validate() error

type PackagesServiceClient

PackagesServiceClient is the client API for PackagesService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PackagesServiceServer

PackagesServiceServer is the server API for PackagesService service. All implementations must embed UnimplementedPackagesServiceServer for forward compatibility

type UnimplementedPackagesServiceServer

type UnimplementedPackagesServiceServer struct {
}

UnimplementedPackagesServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPackagesServiceServer) Add

func (UnimplementedPackagesServiceServer) Delete

func (UnimplementedPackagesServiceServer) Get

func (UnimplementedPackagesServiceServer) GetByOrg

func (UnimplementedPackagesServiceServer) GetDetails

func (UnimplementedPackagesServiceServer) Update

type UnsafePackagesServiceServer

type UnsafePackagesServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePackagesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PackagesServiceServer will result in compilation errors.

type UpdatePackageRequest

type UpdatePackageRequest struct {
	Uuid   string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	OrgId  string `protobuf:"bytes,2,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"`
	Name   string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Active bool   `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePackageRequest) Descriptor deprecated

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

Deprecated: Use UpdatePackageRequest.ProtoReflect.Descriptor instead.

func (*UpdatePackageRequest) GetActive

func (x *UpdatePackageRequest) GetActive() bool

func (*UpdatePackageRequest) GetName

func (x *UpdatePackageRequest) GetName() string

func (*UpdatePackageRequest) GetOrgId

func (x *UpdatePackageRequest) GetOrgId() string

func (*UpdatePackageRequest) GetUuid

func (x *UpdatePackageRequest) GetUuid() string

func (*UpdatePackageRequest) ProtoMessage

func (*UpdatePackageRequest) ProtoMessage()

func (*UpdatePackageRequest) ProtoReflect

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

func (*UpdatePackageRequest) Reset

func (x *UpdatePackageRequest) Reset()

func (*UpdatePackageRequest) String

func (x *UpdatePackageRequest) String() string

func (*UpdatePackageRequest) Validate

func (this *UpdatePackageRequest) Validate() error

type UpdatePackageResponse

type UpdatePackageResponse struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePackageResponse) Descriptor deprecated

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

Deprecated: Use UpdatePackageResponse.ProtoReflect.Descriptor instead.

func (*UpdatePackageResponse) GetPackage

func (x *UpdatePackageResponse) GetPackage() *Package

func (*UpdatePackageResponse) ProtoMessage

func (*UpdatePackageResponse) ProtoMessage()

func (*UpdatePackageResponse) ProtoReflect

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

func (*UpdatePackageResponse) Reset

func (x *UpdatePackageResponse) Reset()

func (*UpdatePackageResponse) String

func (x *UpdatePackageResponse) String() string

func (*UpdatePackageResponse) Validate

func (this *UpdatePackageResponse) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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