Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBaseRatesServiceServer(s grpc.ServiceRegistrar, srv BaseRatesServiceServer)
- type BaseRatesServiceClient
- type BaseRatesServiceServer
- type GetBaseRatesByCountryRequest
- func (*GetBaseRatesByCountryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBaseRatesByCountryRequest) GetCountry() string
- func (x *GetBaseRatesByCountryRequest) GetEffectiveAt() string
- func (x *GetBaseRatesByCountryRequest) GetProvider() string
- func (x *GetBaseRatesByCountryRequest) GetSimType() string
- func (*GetBaseRatesByCountryRequest) ProtoMessage()
- func (x *GetBaseRatesByCountryRequest) ProtoReflect() protoreflect.Message
- func (x *GetBaseRatesByCountryRequest) Reset()
- func (x *GetBaseRatesByCountryRequest) String() string
- func (this *GetBaseRatesByCountryRequest) Validate() error
- type GetBaseRatesByIdRequest
- func (*GetBaseRatesByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBaseRatesByIdRequest) GetUuid() string
- func (*GetBaseRatesByIdRequest) ProtoMessage()
- func (x *GetBaseRatesByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetBaseRatesByIdRequest) Reset()
- func (x *GetBaseRatesByIdRequest) String() string
- func (this *GetBaseRatesByIdRequest) Validate() error
- type GetBaseRatesByIdResponse
- func (*GetBaseRatesByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBaseRatesByIdResponse) GetRate() *Rate
- func (*GetBaseRatesByIdResponse) ProtoMessage()
- func (x *GetBaseRatesByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetBaseRatesByIdResponse) Reset()
- func (x *GetBaseRatesByIdResponse) String() string
- func (this *GetBaseRatesByIdResponse) Validate() error
- type GetBaseRatesByPeriodRequest
- func (*GetBaseRatesByPeriodRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBaseRatesByPeriodRequest) GetCountry() string
- func (x *GetBaseRatesByPeriodRequest) GetFrom() string
- func (x *GetBaseRatesByPeriodRequest) GetProvider() string
- func (x *GetBaseRatesByPeriodRequest) GetSimType() string
- func (x *GetBaseRatesByPeriodRequest) GetTo() string
- func (*GetBaseRatesByPeriodRequest) ProtoMessage()
- func (x *GetBaseRatesByPeriodRequest) ProtoReflect() protoreflect.Message
- func (x *GetBaseRatesByPeriodRequest) Reset()
- func (x *GetBaseRatesByPeriodRequest) String() string
- func (this *GetBaseRatesByPeriodRequest) Validate() error
- type GetBaseRatesResponse
- func (*GetBaseRatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBaseRatesResponse) GetRates() []*Rate
- func (*GetBaseRatesResponse) ProtoMessage()
- func (x *GetBaseRatesResponse) ProtoReflect() protoreflect.Message
- func (x *GetBaseRatesResponse) Reset()
- func (x *GetBaseRatesResponse) String() string
- func (this *GetBaseRatesResponse) Validate() error
- type Rate
- func (*Rate) Descriptor() ([]byte, []int)deprecated
- func (x *Rate) GetApn() string
- func (x *Rate) GetCountry() string
- func (x *Rate) GetCreatedAt() string
- func (x *Rate) GetCurrency() string
- func (x *Rate) GetData() float64
- func (x *Rate) GetDeletedAt() string
- func (x *Rate) GetEffectiveAt() string
- func (x *Rate) GetEndAt() string
- func (x *Rate) GetImsi() int64
- func (x *Rate) GetLte() bool
- func (x *Rate) GetLteM() bool
- func (x *Rate) GetProvider() string
- func (x *Rate) GetSimType() string
- func (x *Rate) GetSmsMo() float64
- func (x *Rate) GetSmsMt() float64
- func (x *Rate) GetUpdatedAt() string
- func (x *Rate) GetUuid() string
- func (x *Rate) GetVpmn() string
- func (x *Rate) GetX2G() bool
- func (x *Rate) GetX3G() bool
- func (x *Rate) GetX5G() bool
- func (*Rate) ProtoMessage()
- func (x *Rate) ProtoReflect() protoreflect.Message
- func (x *Rate) Reset()
- func (x *Rate) String() string
- func (this *Rate) Validate() error
- type UnimplementedBaseRatesServiceServer
- func (UnimplementedBaseRatesServiceServer) GetBaseRatesByCountry(context.Context, *GetBaseRatesByCountryRequest) (*GetBaseRatesResponse, error)
- func (UnimplementedBaseRatesServiceServer) GetBaseRatesById(context.Context, *GetBaseRatesByIdRequest) (*GetBaseRatesByIdResponse, error)
- func (UnimplementedBaseRatesServiceServer) GetBaseRatesForPackage(context.Context, *GetBaseRatesByPeriodRequest) (*GetBaseRatesResponse, error)
- func (UnimplementedBaseRatesServiceServer) GetBaseRatesForPeriod(context.Context, *GetBaseRatesByPeriodRequest) (*GetBaseRatesResponse, error)
- func (UnimplementedBaseRatesServiceServer) GetBaseRatesHistoryByCountry(context.Context, *GetBaseRatesByCountryRequest) (*GetBaseRatesResponse, error)
- func (UnimplementedBaseRatesServiceServer) UploadBaseRates(context.Context, *UploadBaseRatesRequest) (*UploadBaseRatesResponse, error)
- type UnsafeBaseRatesServiceServer
- type UploadBaseRatesRequest
- func (*UploadBaseRatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadBaseRatesRequest) GetEffectiveAt() string
- func (x *UploadBaseRatesRequest) GetEndAt() string
- func (x *UploadBaseRatesRequest) GetFileURL() string
- func (x *UploadBaseRatesRequest) GetSimType() string
- func (*UploadBaseRatesRequest) ProtoMessage()
- func (x *UploadBaseRatesRequest) ProtoReflect() protoreflect.Message
- func (x *UploadBaseRatesRequest) Reset()
- func (x *UploadBaseRatesRequest) String() string
- func (this *UploadBaseRatesRequest) Validate() error
- type UploadBaseRatesResponse
- func (*UploadBaseRatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadBaseRatesResponse) GetRate() []*Rate
- func (*UploadBaseRatesResponse) ProtoMessage()
- func (x *UploadBaseRatesResponse) ProtoReflect() protoreflect.Message
- func (x *UploadBaseRatesResponse) Reset()
- func (x *UploadBaseRatesResponse) String() string
- func (this *UploadBaseRatesResponse) Validate() error
Constants ¶
const ( BaseRatesService_GetBaseRatesById_FullMethodName = "/ukama.dataplan.baserate.v1.BaseRatesService/GetBaseRatesById" BaseRatesService_GetBaseRatesByCountry_FullMethodName = "/ukama.dataplan.baserate.v1.BaseRatesService/GetBaseRatesByCountry" BaseRatesService_GetBaseRatesForPeriod_FullMethodName = "/ukama.dataplan.baserate.v1.BaseRatesService/GetBaseRatesForPeriod" BaseRatesService_GetBaseRatesForPackage_FullMethodName = "/ukama.dataplan.baserate.v1.BaseRatesService/GetBaseRatesForPackage" BaseRatesService_GetBaseRatesHistoryByCountry_FullMethodName = "/ukama.dataplan.baserate.v1.BaseRatesService/GetBaseRatesHistoryByCountry" BaseRatesService_UploadBaseRates_FullMethodName = "/ukama.dataplan.baserate.v1.BaseRatesService/UploadBaseRates" )
Variables ¶
var BaseRatesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ukama.dataplan.baserate.v1.BaseRatesService", HandlerType: (*BaseRatesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetBaseRatesById", Handler: _BaseRatesService_GetBaseRatesById_Handler, }, { MethodName: "GetBaseRatesByCountry", Handler: _BaseRatesService_GetBaseRatesByCountry_Handler, }, { MethodName: "GetBaseRatesForPeriod", Handler: _BaseRatesService_GetBaseRatesForPeriod_Handler, }, { MethodName: "GetBaseRatesForPackage", Handler: _BaseRatesService_GetBaseRatesForPackage_Handler, }, { MethodName: "GetBaseRatesHistoryByCountry", Handler: _BaseRatesService_GetBaseRatesHistoryByCountry_Handler, }, { MethodName: "UploadBaseRates", Handler: _BaseRatesService_UploadBaseRates_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "baserate.proto", }
BaseRatesService_ServiceDesc is the grpc.ServiceDesc for BaseRatesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_baserate_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBaseRatesServiceServer ¶
func RegisterBaseRatesServiceServer(s grpc.ServiceRegistrar, srv BaseRatesServiceServer)
Types ¶
type BaseRatesServiceClient ¶
type BaseRatesServiceClient interface { GetBaseRatesById(ctx context.Context, in *GetBaseRatesByIdRequest, opts ...grpc.CallOption) (*GetBaseRatesByIdResponse, error) GetBaseRatesByCountry(ctx context.Context, in *GetBaseRatesByCountryRequest, opts ...grpc.CallOption) (*GetBaseRatesResponse, error) GetBaseRatesForPeriod(ctx context.Context, in *GetBaseRatesByPeriodRequest, opts ...grpc.CallOption) (*GetBaseRatesResponse, error) GetBaseRatesForPackage(ctx context.Context, in *GetBaseRatesByPeriodRequest, opts ...grpc.CallOption) (*GetBaseRatesResponse, error) GetBaseRatesHistoryByCountry(ctx context.Context, in *GetBaseRatesByCountryRequest, opts ...grpc.CallOption) (*GetBaseRatesResponse, error) UploadBaseRates(ctx context.Context, in *UploadBaseRatesRequest, opts ...grpc.CallOption) (*UploadBaseRatesResponse, error) }
BaseRatesServiceClient is the client API for BaseRatesService 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.
func NewBaseRatesServiceClient ¶
func NewBaseRatesServiceClient(cc grpc.ClientConnInterface) BaseRatesServiceClient
type BaseRatesServiceServer ¶
type BaseRatesServiceServer interface { GetBaseRatesById(context.Context, *GetBaseRatesByIdRequest) (*GetBaseRatesByIdResponse, error) GetBaseRatesByCountry(context.Context, *GetBaseRatesByCountryRequest) (*GetBaseRatesResponse, error) GetBaseRatesForPeriod(context.Context, *GetBaseRatesByPeriodRequest) (*GetBaseRatesResponse, error) GetBaseRatesForPackage(context.Context, *GetBaseRatesByPeriodRequest) (*GetBaseRatesResponse, error) GetBaseRatesHistoryByCountry(context.Context, *GetBaseRatesByCountryRequest) (*GetBaseRatesResponse, error) UploadBaseRates(context.Context, *UploadBaseRatesRequest) (*UploadBaseRatesResponse, error) // contains filtered or unexported methods }
BaseRatesServiceServer is the server API for BaseRatesService service. All implementations must embed UnimplementedBaseRatesServiceServer for forward compatibility
type GetBaseRatesByCountryRequest ¶
type GetBaseRatesByCountryRequest struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` SimType string `protobuf:"bytes,5,opt,name=simType,json=sim_type,proto3" json:"simType,omitempty"` EffectiveAt string `protobuf:"bytes,6,opt,name=effectiveAt,json=effective_at,proto3" json:"effectiveAt,omitempty"` // contains filtered or unexported fields }
func (*GetBaseRatesByCountryRequest) Descriptor
deprecated
func (*GetBaseRatesByCountryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBaseRatesByCountryRequest.ProtoReflect.Descriptor instead.
func (*GetBaseRatesByCountryRequest) GetCountry ¶
func (x *GetBaseRatesByCountryRequest) GetCountry() string
func (*GetBaseRatesByCountryRequest) GetEffectiveAt ¶
func (x *GetBaseRatesByCountryRequest) GetEffectiveAt() string
func (*GetBaseRatesByCountryRequest) GetProvider ¶
func (x *GetBaseRatesByCountryRequest) GetProvider() string
func (*GetBaseRatesByCountryRequest) GetSimType ¶
func (x *GetBaseRatesByCountryRequest) GetSimType() string
func (*GetBaseRatesByCountryRequest) ProtoMessage ¶
func (*GetBaseRatesByCountryRequest) ProtoMessage()
func (*GetBaseRatesByCountryRequest) ProtoReflect ¶
func (x *GetBaseRatesByCountryRequest) ProtoReflect() protoreflect.Message
func (*GetBaseRatesByCountryRequest) Reset ¶
func (x *GetBaseRatesByCountryRequest) Reset()
func (*GetBaseRatesByCountryRequest) String ¶
func (x *GetBaseRatesByCountryRequest) String() string
func (*GetBaseRatesByCountryRequest) Validate ¶
func (this *GetBaseRatesByCountryRequest) Validate() error
type GetBaseRatesByIdRequest ¶
type GetBaseRatesByIdRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*GetBaseRatesByIdRequest) Descriptor
deprecated
func (*GetBaseRatesByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBaseRatesByIdRequest.ProtoReflect.Descriptor instead.
func (*GetBaseRatesByIdRequest) GetUuid ¶
func (x *GetBaseRatesByIdRequest) GetUuid() string
func (*GetBaseRatesByIdRequest) ProtoMessage ¶
func (*GetBaseRatesByIdRequest) ProtoMessage()
func (*GetBaseRatesByIdRequest) ProtoReflect ¶
func (x *GetBaseRatesByIdRequest) ProtoReflect() protoreflect.Message
func (*GetBaseRatesByIdRequest) Reset ¶
func (x *GetBaseRatesByIdRequest) Reset()
func (*GetBaseRatesByIdRequest) String ¶
func (x *GetBaseRatesByIdRequest) String() string
func (*GetBaseRatesByIdRequest) Validate ¶
func (this *GetBaseRatesByIdRequest) Validate() error
type GetBaseRatesByIdResponse ¶
type GetBaseRatesByIdResponse struct { Rate *Rate `protobuf:"bytes,1,opt,name=rate,proto3" json:"rate,omitempty"` // contains filtered or unexported fields }
func (*GetBaseRatesByIdResponse) Descriptor
deprecated
func (*GetBaseRatesByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBaseRatesByIdResponse.ProtoReflect.Descriptor instead.
func (*GetBaseRatesByIdResponse) GetRate ¶
func (x *GetBaseRatesByIdResponse) GetRate() *Rate
func (*GetBaseRatesByIdResponse) ProtoMessage ¶
func (*GetBaseRatesByIdResponse) ProtoMessage()
func (*GetBaseRatesByIdResponse) ProtoReflect ¶
func (x *GetBaseRatesByIdResponse) ProtoReflect() protoreflect.Message
func (*GetBaseRatesByIdResponse) Reset ¶
func (x *GetBaseRatesByIdResponse) Reset()
func (*GetBaseRatesByIdResponse) String ¶
func (x *GetBaseRatesByIdResponse) String() string
func (*GetBaseRatesByIdResponse) Validate ¶
func (this *GetBaseRatesByIdResponse) Validate() error
type GetBaseRatesByPeriodRequest ¶
type GetBaseRatesByPeriodRequest struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` From string `protobuf:"bytes,3,opt,name=From,json=from,proto3" json:"From,omitempty"` To string `protobuf:"bytes,4,opt,name=To,json=to,proto3" json:"To,omitempty"` SimType string `protobuf:"bytes,5,opt,name=simType,json=sim_type,proto3" json:"simType,omitempty"` // contains filtered or unexported fields }
func (*GetBaseRatesByPeriodRequest) Descriptor
deprecated
func (*GetBaseRatesByPeriodRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBaseRatesByPeriodRequest.ProtoReflect.Descriptor instead.
func (*GetBaseRatesByPeriodRequest) GetCountry ¶
func (x *GetBaseRatesByPeriodRequest) GetCountry() string
func (*GetBaseRatesByPeriodRequest) GetFrom ¶
func (x *GetBaseRatesByPeriodRequest) GetFrom() string
func (*GetBaseRatesByPeriodRequest) GetProvider ¶
func (x *GetBaseRatesByPeriodRequest) GetProvider() string
func (*GetBaseRatesByPeriodRequest) GetSimType ¶
func (x *GetBaseRatesByPeriodRequest) GetSimType() string
func (*GetBaseRatesByPeriodRequest) GetTo ¶
func (x *GetBaseRatesByPeriodRequest) GetTo() string
func (*GetBaseRatesByPeriodRequest) ProtoMessage ¶
func (*GetBaseRatesByPeriodRequest) ProtoMessage()
func (*GetBaseRatesByPeriodRequest) ProtoReflect ¶
func (x *GetBaseRatesByPeriodRequest) ProtoReflect() protoreflect.Message
func (*GetBaseRatesByPeriodRequest) Reset ¶
func (x *GetBaseRatesByPeriodRequest) Reset()
func (*GetBaseRatesByPeriodRequest) String ¶
func (x *GetBaseRatesByPeriodRequest) String() string
func (*GetBaseRatesByPeriodRequest) Validate ¶
func (this *GetBaseRatesByPeriodRequest) Validate() error
type GetBaseRatesResponse ¶
type GetBaseRatesResponse struct { Rates []*Rate `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"` // contains filtered or unexported fields }
func (*GetBaseRatesResponse) Descriptor
deprecated
func (*GetBaseRatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBaseRatesResponse.ProtoReflect.Descriptor instead.
func (*GetBaseRatesResponse) GetRates ¶
func (x *GetBaseRatesResponse) GetRates() []*Rate
func (*GetBaseRatesResponse) ProtoMessage ¶
func (*GetBaseRatesResponse) ProtoMessage()
func (*GetBaseRatesResponse) ProtoReflect ¶
func (x *GetBaseRatesResponse) ProtoReflect() protoreflect.Message
func (*GetBaseRatesResponse) Reset ¶
func (x *GetBaseRatesResponse) Reset()
func (*GetBaseRatesResponse) String ¶
func (x *GetBaseRatesResponse) String() string
func (*GetBaseRatesResponse) Validate ¶
func (this *GetBaseRatesResponse) Validate() error
type Rate ¶
type Rate struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` Vpmn string `protobuf:"bytes,4,opt,name=vpmn,proto3" json:"vpmn,omitempty"` Imsi int64 `protobuf:"varint,5,opt,name=imsi,proto3" json:"imsi,omitempty"` SmsMo float64 `protobuf:"fixed64,6,opt,name=smsMo,json=sms_mo,proto3" json:"smsMo,omitempty"` SmsMt float64 `protobuf:"fixed64,7,opt,name=smsMt,json=sms_mt,proto3" json:"smsMt,omitempty"` Data float64 `protobuf:"fixed64,8,opt,name=data,proto3" json:"data,omitempty"` X2G bool `protobuf:"varint,9,opt,name=_2g,json=2g,proto3" json:"_2g,omitempty"` X3G bool `protobuf:"varint,10,opt,name=_3g,json=3g,proto3" json:"_3g,omitempty"` X5G bool `protobuf:"varint,11,opt,name=_5g,json=5g,proto3" json:"_5g,omitempty"` Lte bool `protobuf:"varint,12,opt,name=lte,proto3" json:"lte,omitempty"` LteM bool `protobuf:"varint,13,opt,name=lteM,json=lte_m,proto3" json:"lteM,omitempty"` Apn string `protobuf:"bytes,14,opt,name=apn,proto3" json:"apn,omitempty"` CreatedAt string `protobuf:"bytes,15,opt,name=createdAt,json=created_at,proto3" json:"createdAt,omitempty"` DeletedAt string `protobuf:"bytes,16,opt,name=deletedAt,json=deleted_at,proto3" json:"deletedAt,omitempty"` UpdatedAt string `protobuf:"bytes,17,opt,name=updatedAt,json=updated_at,proto3" json:"updatedAt,omitempty"` EffectiveAt string `protobuf:"bytes,18,opt,name=effectiveAt,json=effective_at,proto3" json:"effectiveAt,omitempty"` EndAt string `protobuf:"bytes,19,opt,name=endAt,json=end_at,proto3" json:"endAt,omitempty"` SimType string `protobuf:"bytes,20,opt,name=simType,json=sim_type,proto3" json:"simType,omitempty"` Currency string `protobuf:"bytes,21,opt,name=currency,proto3" json:"currency,omitempty"` // contains filtered or unexported fields }
func (*Rate) Descriptor
deprecated
func (*Rate) GetCountry ¶
func (*Rate) GetCreatedAt ¶
func (*Rate) GetCurrency ¶
func (*Rate) GetDeletedAt ¶
func (*Rate) GetEffectiveAt ¶
func (*Rate) GetProvider ¶
func (*Rate) GetSimType ¶
func (*Rate) GetUpdatedAt ¶
func (*Rate) ProtoMessage ¶
func (*Rate) ProtoMessage()
func (*Rate) ProtoReflect ¶
func (x *Rate) ProtoReflect() protoreflect.Message
type UnimplementedBaseRatesServiceServer ¶
type UnimplementedBaseRatesServiceServer struct { }
UnimplementedBaseRatesServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBaseRatesServiceServer) GetBaseRatesByCountry ¶
func (UnimplementedBaseRatesServiceServer) GetBaseRatesByCountry(context.Context, *GetBaseRatesByCountryRequest) (*GetBaseRatesResponse, error)
func (UnimplementedBaseRatesServiceServer) GetBaseRatesById ¶
func (UnimplementedBaseRatesServiceServer) GetBaseRatesById(context.Context, *GetBaseRatesByIdRequest) (*GetBaseRatesByIdResponse, error)
func (UnimplementedBaseRatesServiceServer) GetBaseRatesForPackage ¶
func (UnimplementedBaseRatesServiceServer) GetBaseRatesForPackage(context.Context, *GetBaseRatesByPeriodRequest) (*GetBaseRatesResponse, error)
func (UnimplementedBaseRatesServiceServer) GetBaseRatesForPeriod ¶
func (UnimplementedBaseRatesServiceServer) GetBaseRatesForPeriod(context.Context, *GetBaseRatesByPeriodRequest) (*GetBaseRatesResponse, error)
func (UnimplementedBaseRatesServiceServer) GetBaseRatesHistoryByCountry ¶
func (UnimplementedBaseRatesServiceServer) GetBaseRatesHistoryByCountry(context.Context, *GetBaseRatesByCountryRequest) (*GetBaseRatesResponse, error)
func (UnimplementedBaseRatesServiceServer) UploadBaseRates ¶
func (UnimplementedBaseRatesServiceServer) UploadBaseRates(context.Context, *UploadBaseRatesRequest) (*UploadBaseRatesResponse, error)
type UnsafeBaseRatesServiceServer ¶
type UnsafeBaseRatesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBaseRatesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BaseRatesServiceServer will result in compilation errors.
type UploadBaseRatesRequest ¶
type UploadBaseRatesRequest struct { FileURL string `protobuf:"bytes,1,opt,name=fileURL,json=file_url,proto3" json:"fileURL,omitempty"` EffectiveAt string `protobuf:"bytes,2,opt,name=effectiveAt,json=effective_at,proto3" json:"effectiveAt,omitempty"` EndAt string `protobuf:"bytes,3,opt,name=endAt,json=end_at,proto3" json:"endAt,omitempty"` SimType string `protobuf:"bytes,4,opt,name=simType,json=sim_type,proto3" json:"simType,omitempty"` // contains filtered or unexported fields }
func (*UploadBaseRatesRequest) Descriptor
deprecated
func (*UploadBaseRatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadBaseRatesRequest.ProtoReflect.Descriptor instead.
func (*UploadBaseRatesRequest) GetEffectiveAt ¶
func (x *UploadBaseRatesRequest) GetEffectiveAt() string
func (*UploadBaseRatesRequest) GetEndAt ¶
func (x *UploadBaseRatesRequest) GetEndAt() string
func (*UploadBaseRatesRequest) GetFileURL ¶
func (x *UploadBaseRatesRequest) GetFileURL() string
func (*UploadBaseRatesRequest) GetSimType ¶
func (x *UploadBaseRatesRequest) GetSimType() string
func (*UploadBaseRatesRequest) ProtoMessage ¶
func (*UploadBaseRatesRequest) ProtoMessage()
func (*UploadBaseRatesRequest) ProtoReflect ¶
func (x *UploadBaseRatesRequest) ProtoReflect() protoreflect.Message
func (*UploadBaseRatesRequest) Reset ¶
func (x *UploadBaseRatesRequest) Reset()
func (*UploadBaseRatesRequest) String ¶
func (x *UploadBaseRatesRequest) String() string
func (*UploadBaseRatesRequest) Validate ¶
func (this *UploadBaseRatesRequest) Validate() error
type UploadBaseRatesResponse ¶
type UploadBaseRatesResponse struct { Rate []*Rate `protobuf:"bytes,1,rep,name=rate,proto3" json:"rate,omitempty"` // contains filtered or unexported fields }
func (*UploadBaseRatesResponse) Descriptor
deprecated
func (*UploadBaseRatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadBaseRatesResponse.ProtoReflect.Descriptor instead.
func (*UploadBaseRatesResponse) GetRate ¶
func (x *UploadBaseRatesResponse) GetRate() []*Rate
func (*UploadBaseRatesResponse) ProtoMessage ¶
func (*UploadBaseRatesResponse) ProtoMessage()
func (*UploadBaseRatesResponse) ProtoReflect ¶
func (x *UploadBaseRatesResponse) ProtoReflect() protoreflect.Message
func (*UploadBaseRatesResponse) Reset ¶
func (x *UploadBaseRatesResponse) Reset()
func (*UploadBaseRatesResponse) String ¶
func (x *UploadBaseRatesResponse) String() string
func (*UploadBaseRatesResponse) Validate ¶
func (this *UploadBaseRatesResponse) Validate() error