gen

package
v0.0.0-...-a382051 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MPL-2.0 Imports: 15 Imported by: 7

Documentation

Index

Constants

View Source
const (
	RegistryService_Get_FullMethodName             = "/ukama.subscriber.registry.v1.RegistryService/Get"
	RegistryService_Add_FullMethodName             = "/ukama.subscriber.registry.v1.RegistryService/Add"
	RegistryService_Update_FullMethodName          = "/ukama.subscriber.registry.v1.RegistryService/Update"
	RegistryService_Delete_FullMethodName          = "/ukama.subscriber.registry.v1.RegistryService/Delete"
	RegistryService_GetByNetwork_FullMethodName    = "/ukama.subscriber.registry.v1.RegistryService/GetByNetwork"
	RegistryService_ListSubscribers_FullMethodName = "/ukama.subscriber.registry.v1.RegistryService/ListSubscribers"
)

Variables

View Source
var File_subscriber_proto protoreflect.FileDescriptor
View Source
var RegistryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ukama.subscriber.registry.v1.RegistryService",
	HandlerType: (*RegistryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _RegistryService_Get_Handler,
		},
		{
			MethodName: "Add",
			Handler:    _RegistryService_Add_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _RegistryService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _RegistryService_Delete_Handler,
		},
		{
			MethodName: "GetByNetwork",
			Handler:    _RegistryService_GetByNetwork_Handler,
		},
		{
			MethodName: "ListSubscribers",
			Handler:    _RegistryService_ListSubscribers_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "subscriber.proto",
}

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

Functions

func RegisterRegistryServiceServer

func RegisterRegistryServiceServer(s grpc.ServiceRegistrar, srv RegistryServiceServer)

Types

type AddSubscriberRequest

type AddSubscriberRequest struct {

	// first name of the subscriber, must not be empty and have a length greater than 1
	FirstName string `protobuf:"bytes,1,opt,name=firstName,json=first_name,proto3" json:"firstName,omitempty"`
	// last name of the subscriber, must not be empty and have a length greater than 1
	LastName string `protobuf:"bytes,2,opt,name=lastName,json=last_name,proto3" json:"lastName,omitempty"`
	// email of the subscriber, must be in email format
	Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// phone number of the subscriber, must be in phone number format
	PhoneNumber string `protobuf:"bytes,4,opt,name=phoneNumber,json=phone_number,proto3" json:"phoneNumber,omitempty"`
	// address of the subscriber
	Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	// idSerial of the subscriber
	IdSerial string `protobuf:"bytes,6,opt,name=idSerial,proto3" json:"idSerial,omitempty"`
	// network ID of the subscriber, must be a UUID and not empty
	NetworkId string `protobuf:"bytes,7,opt,name=networkId,json=network_id,proto3" json:"networkId,omitempty"`
	// proof of identification of the subscriber, must not be empty and have a length greater than 1
	ProofOfIdentification string `protobuf:"bytes,8,opt,name=proofOfIdentification,proto3" json:"proofOfIdentification,omitempty"`
	// date of birth of the subscriber
	Dob string `protobuf:"bytes,9,opt,name=dob,proto3" json:"dob,omitempty"`
	// gender of the subscriber, must not be empty and have a length greater than 1
	Gender string `protobuf:"bytes,10,opt,name=gender,proto3" json:"gender,omitempty"`
	// org ID of the subscriber, must be a UUID and not empty
	OrgId string `protobuf:"bytes,11,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*AddSubscriberRequest) Descriptor deprecated

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

Deprecated: Use AddSubscriberRequest.ProtoReflect.Descriptor instead.

func (*AddSubscriberRequest) GetAddress

func (x *AddSubscriberRequest) GetAddress() string

func (*AddSubscriberRequest) GetDob

func (x *AddSubscriberRequest) GetDob() string

func (*AddSubscriberRequest) GetEmail

func (x *AddSubscriberRequest) GetEmail() string

func (*AddSubscriberRequest) GetFirstName

func (x *AddSubscriberRequest) GetFirstName() string

func (*AddSubscriberRequest) GetGender

func (x *AddSubscriberRequest) GetGender() string

func (*AddSubscriberRequest) GetIdSerial

func (x *AddSubscriberRequest) GetIdSerial() string

func (*AddSubscriberRequest) GetLastName

func (x *AddSubscriberRequest) GetLastName() string

func (*AddSubscriberRequest) GetNetworkId

func (x *AddSubscriberRequest) GetNetworkId() string

func (*AddSubscriberRequest) GetOrgId

func (x *AddSubscriberRequest) GetOrgId() string

func (*AddSubscriberRequest) GetPhoneNumber

func (x *AddSubscriberRequest) GetPhoneNumber() string

func (*AddSubscriberRequest) GetProofOfIdentification

func (x *AddSubscriberRequest) GetProofOfIdentification() string

func (*AddSubscriberRequest) ProtoMessage

func (*AddSubscriberRequest) ProtoMessage()

func (*AddSubscriberRequest) ProtoReflect

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

func (*AddSubscriberRequest) Reset

func (x *AddSubscriberRequest) Reset()

func (*AddSubscriberRequest) String

func (x *AddSubscriberRequest) String() string

func (*AddSubscriberRequest) Validate

func (this *AddSubscriberRequest) Validate() error

type AddSubscriberResponse

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

func (*AddSubscriberResponse) Descriptor deprecated

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

Deprecated: Use AddSubscriberResponse.ProtoReflect.Descriptor instead.

func (*AddSubscriberResponse) GetSubscriber

func (x *AddSubscriberResponse) GetSubscriber() *Subscriber

func (*AddSubscriberResponse) ProtoMessage

func (*AddSubscriberResponse) ProtoMessage()

func (*AddSubscriberResponse) ProtoReflect

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

func (*AddSubscriberResponse) Reset

func (x *AddSubscriberResponse) Reset()

func (*AddSubscriberResponse) String

func (x *AddSubscriberResponse) String() string

func (*AddSubscriberResponse) Validate

func (this *AddSubscriberResponse) Validate() error

type DeleteSubscriberRequest

type DeleteSubscriberRequest struct {

	// subscriberId field to be deleted
	SubscriberId string `protobuf:"bytes,1,opt,name=subscriberId,json=subscriber_id,proto3" json:"subscriberId,omitempty"`
	// contains filtered or unexported fields
}

DeleteSubscriberRequest message is used to delete a subscriber

func (*DeleteSubscriberRequest) Descriptor deprecated

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

Deprecated: Use DeleteSubscriberRequest.ProtoReflect.Descriptor instead.

func (*DeleteSubscriberRequest) GetSubscriberId

func (x *DeleteSubscriberRequest) GetSubscriberId() string

func (*DeleteSubscriberRequest) ProtoMessage

func (*DeleteSubscriberRequest) ProtoMessage()

func (*DeleteSubscriberRequest) ProtoReflect

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

func (*DeleteSubscriberRequest) Reset

func (x *DeleteSubscriberRequest) Reset()

func (*DeleteSubscriberRequest) String

func (x *DeleteSubscriberRequest) String() string

func (*DeleteSubscriberRequest) Validate

func (this *DeleteSubscriberRequest) Validate() error

type DeleteSubscriberResponse

type DeleteSubscriberResponse struct {
	// contains filtered or unexported fields
}

DeleteSubscriberResponse message is used to delete a subscriber

func (*DeleteSubscriberResponse) Descriptor deprecated

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

Deprecated: Use DeleteSubscriberResponse.ProtoReflect.Descriptor instead.

func (*DeleteSubscriberResponse) ProtoMessage

func (*DeleteSubscriberResponse) ProtoMessage()

func (*DeleteSubscriberResponse) ProtoReflect

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

func (*DeleteSubscriberResponse) Reset

func (x *DeleteSubscriberResponse) Reset()

func (*DeleteSubscriberResponse) String

func (x *DeleteSubscriberResponse) String() string

func (*DeleteSubscriberResponse) Validate

func (this *DeleteSubscriberResponse) Validate() error

type GetByNetworkRequest

type GetByNetworkRequest struct {

	// networkId field is used to specify the network id for getting subscribers
	NetworkId string `protobuf:"bytes,1,opt,name=networkId,json=network_id,proto3" json:"networkId,omitempty"`
	// contains filtered or unexported fields
}

GetByNetworkRequest message is used to get all subscribers by network id

func (*GetByNetworkRequest) Descriptor deprecated

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

Deprecated: Use GetByNetworkRequest.ProtoReflect.Descriptor instead.

func (*GetByNetworkRequest) GetNetworkId

func (x *GetByNetworkRequest) GetNetworkId() string

func (*GetByNetworkRequest) ProtoMessage

func (*GetByNetworkRequest) ProtoMessage()

func (*GetByNetworkRequest) ProtoReflect

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

func (*GetByNetworkRequest) Reset

func (x *GetByNetworkRequest) Reset()

func (*GetByNetworkRequest) String

func (x *GetByNetworkRequest) String() string

func (*GetByNetworkRequest) Validate

func (this *GetByNetworkRequest) Validate() error

type GetByNetworkResponse

type GetByNetworkResponse struct {

	// Repeated field of Subscriber message
	Subscribers []*Subscriber `protobuf:"bytes,1,rep,name=subscribers,proto3" json:"subscribers,omitempty"`
	// contains filtered or unexported fields
}

GetByNetworkResponse message is used to get all subscribers by network id

func (*GetByNetworkResponse) Descriptor deprecated

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

Deprecated: Use GetByNetworkResponse.ProtoReflect.Descriptor instead.

func (*GetByNetworkResponse) GetSubscribers

func (x *GetByNetworkResponse) GetSubscribers() []*Subscriber

func (*GetByNetworkResponse) ProtoMessage

func (*GetByNetworkResponse) ProtoMessage()

func (*GetByNetworkResponse) ProtoReflect

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

func (*GetByNetworkResponse) Reset

func (x *GetByNetworkResponse) Reset()

func (*GetByNetworkResponse) String

func (x *GetByNetworkResponse) String() string

func (*GetByNetworkResponse) Validate

func (this *GetByNetworkResponse) Validate() error

type GetSubscriberRequest

type GetSubscriberRequest struct {

	// subscriberId field is used to specify the subscriber id for getting
	SubscriberId string `protobuf:"bytes,1,opt,name=subscriberId,json=subscriber_id,proto3" json:"subscriberId,omitempty"`
	// contains filtered or unexported fields
}

GetSubscriberRequest message is used to get a subscriber by subscriber ID

func (*GetSubscriberRequest) Descriptor deprecated

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

Deprecated: Use GetSubscriberRequest.ProtoReflect.Descriptor instead.

func (*GetSubscriberRequest) GetSubscriberId

func (x *GetSubscriberRequest) GetSubscriberId() string

func (*GetSubscriberRequest) ProtoMessage

func (*GetSubscriberRequest) ProtoMessage()

func (*GetSubscriberRequest) ProtoReflect

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

func (*GetSubscriberRequest) Reset

func (x *GetSubscriberRequest) Reset()

func (*GetSubscriberRequest) String

func (x *GetSubscriberRequest) String() string

func (*GetSubscriberRequest) Validate

func (this *GetSubscriberRequest) Validate() error

type GetSubscriberResponse

type GetSubscriberResponse struct {

	// Subscriber field contains the subscriber information
	Subscriber *Subscriber `protobuf:"bytes,1,opt,name=subscriber,proto3" json:"subscriber,omitempty"`
	// contains filtered or unexported fields
}

GetSubscriberResponse message is used to get a subscriber by subscriber ID

func (*GetSubscriberResponse) Descriptor deprecated

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

Deprecated: Use GetSubscriberResponse.ProtoReflect.Descriptor instead.

func (*GetSubscriberResponse) GetSubscriber

func (x *GetSubscriberResponse) GetSubscriber() *Subscriber

func (*GetSubscriberResponse) ProtoMessage

func (*GetSubscriberResponse) ProtoMessage()

func (*GetSubscriberResponse) ProtoReflect

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

func (*GetSubscriberResponse) Reset

func (x *GetSubscriberResponse) Reset()

func (*GetSubscriberResponse) String

func (x *GetSubscriberResponse) String() string

func (*GetSubscriberResponse) Validate

func (this *GetSubscriberResponse) Validate() error

type ListSubscribersRequest

type ListSubscribersRequest struct {
	// contains filtered or unexported fields
}

ListSubscribersRequest message is used to list all subscribers

func (*ListSubscribersRequest) Descriptor deprecated

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

Deprecated: Use ListSubscribersRequest.ProtoReflect.Descriptor instead.

func (*ListSubscribersRequest) ProtoMessage

func (*ListSubscribersRequest) ProtoMessage()

func (*ListSubscribersRequest) ProtoReflect

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

func (*ListSubscribersRequest) Reset

func (x *ListSubscribersRequest) Reset()

func (*ListSubscribersRequest) String

func (x *ListSubscribersRequest) String() string

func (*ListSubscribersRequest) Validate

func (this *ListSubscribersRequest) Validate() error

type ListSubscribersResponse

type ListSubscribersResponse struct {

	// Repeated field of Subscriber message
	Subscribers []*Subscriber `protobuf:"bytes,1,rep,name=subscribers,proto3" json:"subscribers,omitempty"`
	// contains filtered or unexported fields
}

ListSubscribersResponse message is used to list all subscribers

func (*ListSubscribersResponse) Descriptor deprecated

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

Deprecated: Use ListSubscribersResponse.ProtoReflect.Descriptor instead.

func (*ListSubscribersResponse) GetSubscribers

func (x *ListSubscribersResponse) GetSubscribers() []*Subscriber

func (*ListSubscribersResponse) ProtoMessage

func (*ListSubscribersResponse) ProtoMessage()

func (*ListSubscribersResponse) ProtoReflect

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

func (*ListSubscribersResponse) Reset

func (x *ListSubscribersResponse) Reset()

func (*ListSubscribersResponse) String

func (x *ListSubscribersResponse) String() string

func (*ListSubscribersResponse) Validate

func (this *ListSubscribersResponse) Validate() error

type Package

type Package struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	StartDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=startDate,json=start_date,proto3" json:"startDate,omitempty"`
	EndDate   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=endDate,json=end_date,proto3" json:"endDate,omitempty"`
	// contains filtered or unexported fields
}

Package message defines the structure for a package object

func (*Package) Descriptor deprecated

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

Deprecated: Use Package.ProtoReflect.Descriptor instead.

func (*Package) GetEndDate

func (x *Package) GetEndDate() *timestamppb.Timestamp

func (*Package) GetId

func (x *Package) GetId() string

func (*Package) GetStartDate

func (x *Package) GetStartDate() *timestamppb.Timestamp

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 RegistryServiceClient

type RegistryServiceClient interface {
	// Get method to retrieve a subscriber by subscriber ID
	Get(ctx context.Context, in *GetSubscriberRequest, opts ...grpc.CallOption) (*GetSubscriberResponse, error)
	// Add method to add a new subscriber
	Add(ctx context.Context, in *AddSubscriberRequest, opts ...grpc.CallOption) (*AddSubscriberResponse, error)
	// Update method to update an existing subscriber
	Update(ctx context.Context, in *UpdateSubscriberRequest, opts ...grpc.CallOption) (*UpdateSubscriberResponse, error)
	// Delete method to delete a subscriber by subscriber ID
	Delete(ctx context.Context, in *DeleteSubscriberRequest, opts ...grpc.CallOption) (*DeleteSubscriberResponse, error)
	// GetByNetwork method to retrieve subscribers by network ID
	GetByNetwork(ctx context.Context, in *GetByNetworkRequest, opts ...grpc.CallOption) (*GetByNetworkResponse, error)
	// ListSubscribers method to retrieve a list of all subscribers
	ListSubscribers(ctx context.Context, in *ListSubscribersRequest, opts ...grpc.CallOption) (*ListSubscribersResponse, error)
}

RegistryServiceClient is the client API for RegistryService 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 RegistryServiceServer

type RegistryServiceServer interface {
	// Get method to retrieve a subscriber by subscriber ID
	Get(context.Context, *GetSubscriberRequest) (*GetSubscriberResponse, error)
	// Add method to add a new subscriber
	Add(context.Context, *AddSubscriberRequest) (*AddSubscriberResponse, error)
	// Update method to update an existing subscriber
	Update(context.Context, *UpdateSubscriberRequest) (*UpdateSubscriberResponse, error)
	// Delete method to delete a subscriber by subscriber ID
	Delete(context.Context, *DeleteSubscriberRequest) (*DeleteSubscriberResponse, error)
	// GetByNetwork method to retrieve subscribers by network ID
	GetByNetwork(context.Context, *GetByNetworkRequest) (*GetByNetworkResponse, error)
	// ListSubscribers method to retrieve a list of all subscribers
	ListSubscribers(context.Context, *ListSubscribersRequest) (*ListSubscribersResponse, error)
	// contains filtered or unexported methods
}

RegistryServiceServer is the server API for RegistryService service. All implementations must embed UnimplementedRegistryServiceServer for forward compatibility

type Sim

type Sim struct {
	Id                 string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SubscriberId       string                 `protobuf:"bytes,2,opt,name=subscriberId,json=subscriber_id,proto3" json:"subscriberId,omitempty"`
	NetworkId          string                 `protobuf:"bytes,3,opt,name=networkId,json=network_id,proto3" json:"networkId,omitempty"`
	OrgId              string                 `protobuf:"bytes,4,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"`
	Package            *Package               `protobuf:"bytes,5,opt,name=package,proto3" json:"package,omitempty"`
	Iccid              string                 `protobuf:"bytes,6,opt,name=iccid,proto3" json:"iccid,omitempty"`
	Msisdn             string                 `protobuf:"bytes,7,opt,name=msisdn,proto3" json:"msisdn,omitempty"`
	Imsi               string                 `protobuf:"bytes,8,opt,name=imsi,proto3" json:"imsi,omitempty"`
	Type               string                 `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty"`
	Status             string                 `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	IsPhysical         bool                   `protobuf:"varint,11,opt,name=isPhysical,json=is_physical,proto3" json:"isPhysical,omitempty"`
	FirstActivatedOn   *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=firstActivatedOn,json=first_activated_on,proto3" json:"firstActivatedOn,omitempty"`
	LastActivatedOn    *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=lastActivatedOn,json=last_activated_on,proto3" json:"lastActivatedOn,omitempty"`
	ActivationsCount   uint64                 `protobuf:"varint,14,opt,name=activationsCount,json=activations_count,proto3" json:"activationsCount,omitempty"`
	DeactivationsCount uint64                 `protobuf:"varint,15,opt,name=deactivationsCount,json=deactivations_count,proto3" json:"deactivationsCount,omitempty"`
	AllocatedAt        *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=allocatedAt,json=allocated_at,proto3" json:"allocatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*Sim) Descriptor deprecated

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

Deprecated: Use Sim.ProtoReflect.Descriptor instead.

func (*Sim) GetActivationsCount

func (x *Sim) GetActivationsCount() uint64

func (*Sim) GetAllocatedAt

func (x *Sim) GetAllocatedAt() *timestamppb.Timestamp

func (*Sim) GetDeactivationsCount

func (x *Sim) GetDeactivationsCount() uint64

func (*Sim) GetFirstActivatedOn

func (x *Sim) GetFirstActivatedOn() *timestamppb.Timestamp

func (*Sim) GetIccid

func (x *Sim) GetIccid() string

func (*Sim) GetId

func (x *Sim) GetId() string

func (*Sim) GetImsi

func (x *Sim) GetImsi() string

func (*Sim) GetIsPhysical

func (x *Sim) GetIsPhysical() bool

func (*Sim) GetLastActivatedOn

func (x *Sim) GetLastActivatedOn() *timestamppb.Timestamp

func (*Sim) GetMsisdn

func (x *Sim) GetMsisdn() string

func (*Sim) GetNetworkId

func (x *Sim) GetNetworkId() string

func (*Sim) GetOrgId

func (x *Sim) GetOrgId() string

func (*Sim) GetPackage

func (x *Sim) GetPackage() *Package

func (*Sim) GetStatus

func (x *Sim) GetStatus() string

func (*Sim) GetSubscriberId

func (x *Sim) GetSubscriberId() string

func (*Sim) GetType

func (x *Sim) GetType() string

func (*Sim) ProtoMessage

func (*Sim) ProtoMessage()

func (*Sim) ProtoReflect

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

func (*Sim) Reset

func (x *Sim) Reset()

func (*Sim) String

func (x *Sim) String() string

func (*Sim) Validate

func (this *Sim) Validate() error

type Subscriber

type Subscriber struct {
	OrgId                 string `protobuf:"bytes,1,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"`
	FirstName             string `protobuf:"bytes,2,opt,name=firstName,json=first_name,proto3" json:"firstName,omitempty"`
	LastName              string `protobuf:"bytes,3,opt,name=lastName,json=last_name,proto3" json:"lastName,omitempty"`
	SubscriberId          string `protobuf:"bytes,4,opt,name=subscriberId,json=subscriber_id,proto3" json:"subscriberId,omitempty"`
	NetworkId             string `protobuf:"bytes,5,opt,name=networkId,json=network_id,proto3" json:"networkId,omitempty"`
	Email                 string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
	PhoneNumber           string `protobuf:"bytes,7,opt,name=phoneNumber,json=phone_number,proto3" json:"phoneNumber,omitempty"`
	Address               string `protobuf:"bytes,8,opt,name=address,proto3" json:"address,omitempty"`
	ProofOfIdentification string `protobuf:"bytes,9,opt,name=proofOfIdentification,json=proof_of_identification,proto3" json:"proofOfIdentification,omitempty"`
	CreatedAt             string `protobuf:"bytes,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	DeletedAt             string `protobuf:"bytes,11,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	UpdatedAt             string `protobuf:"bytes,12,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Sim                   []*Sim `protobuf:"bytes,13,rep,name=sim,proto3" json:"sim,omitempty"`
	Dob                   string `protobuf:"bytes,14,opt,name=dob,json=date_of_birth,proto3" json:"dob,omitempty"`
	IdSerial              string `protobuf:"bytes,15,opt,name=idSerial,json=id_serial,proto3" json:"idSerial,omitempty"`
	Gender                string `protobuf:"bytes,16,opt,name=gender,proto3" json:"gender,omitempty"`
	// contains filtered or unexported fields
}

func (*Subscriber) Descriptor deprecated

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

Deprecated: Use Subscriber.ProtoReflect.Descriptor instead.

func (*Subscriber) GetAddress

func (x *Subscriber) GetAddress() string

func (*Subscriber) GetCreatedAt

func (x *Subscriber) GetCreatedAt() string

func (*Subscriber) GetDeletedAt

func (x *Subscriber) GetDeletedAt() string

func (*Subscriber) GetDob

func (x *Subscriber) GetDob() string

func (*Subscriber) GetEmail

func (x *Subscriber) GetEmail() string

func (*Subscriber) GetFirstName

func (x *Subscriber) GetFirstName() string

func (*Subscriber) GetGender

func (x *Subscriber) GetGender() string

func (*Subscriber) GetIdSerial

func (x *Subscriber) GetIdSerial() string

func (*Subscriber) GetLastName

func (x *Subscriber) GetLastName() string

func (*Subscriber) GetNetworkId

func (x *Subscriber) GetNetworkId() string

func (*Subscriber) GetOrgId

func (x *Subscriber) GetOrgId() string

func (*Subscriber) GetPhoneNumber

func (x *Subscriber) GetPhoneNumber() string

func (*Subscriber) GetProofOfIdentification

func (x *Subscriber) GetProofOfIdentification() string

func (*Subscriber) GetSim

func (x *Subscriber) GetSim() []*Sim

func (*Subscriber) GetSubscriberId

func (x *Subscriber) GetSubscriberId() string

func (*Subscriber) GetUpdatedAt

func (x *Subscriber) GetUpdatedAt() string

func (*Subscriber) ProtoMessage

func (*Subscriber) ProtoMessage()

func (*Subscriber) ProtoReflect

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

func (*Subscriber) Reset

func (x *Subscriber) Reset()

func (*Subscriber) String

func (x *Subscriber) String() string

func (*Subscriber) Validate

func (this *Subscriber) Validate() error

type UnimplementedRegistryServiceServer

type UnimplementedRegistryServiceServer struct {
}

UnimplementedRegistryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRegistryServiceServer) Add

func (UnimplementedRegistryServiceServer) Delete

func (UnimplementedRegistryServiceServer) Get

func (UnimplementedRegistryServiceServer) GetByNetwork

func (UnimplementedRegistryServiceServer) ListSubscribers

func (UnimplementedRegistryServiceServer) Update

type UnsafeRegistryServiceServer

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

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

type UpdateSubscriberRequest

type UpdateSubscriberRequest struct {

	// subscriberId is the ID of the subscriber to update
	SubscriberId string `protobuf:"bytes,1,opt,name=subscriberId,json=subscriber_id,proto3" json:"subscriberId,omitempty"`
	// email is the new email address of the subscriber
	Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// phoneNumber is the new phone number of the subscriber
	PhoneNumber string `protobuf:"bytes,5,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"`
	// address is the new address of the subscriber
	Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	// idSerial is the new idSerial of the subscriber
	IdSerial string `protobuf:"bytes,8,opt,name=idSerial,proto3" json:"idSerial,omitempty"`
	// proofOfIdentification is the new proofOfIdentification of the subscriber
	ProofOfIdentification string `protobuf:"bytes,11,opt,name=proofOfIdentification,proto3" json:"proofOfIdentification,omitempty"`
	// contains filtered or unexported fields
}

UpdateSubscriberRequest defines the request to update a subscriber

func (*UpdateSubscriberRequest) Descriptor deprecated

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

Deprecated: Use UpdateSubscriberRequest.ProtoReflect.Descriptor instead.

func (*UpdateSubscriberRequest) GetAddress

func (x *UpdateSubscriberRequest) GetAddress() string

func (*UpdateSubscriberRequest) GetEmail

func (x *UpdateSubscriberRequest) GetEmail() string

func (*UpdateSubscriberRequest) GetIdSerial

func (x *UpdateSubscriberRequest) GetIdSerial() string

func (*UpdateSubscriberRequest) GetPhoneNumber

func (x *UpdateSubscriberRequest) GetPhoneNumber() string

func (*UpdateSubscriberRequest) GetProofOfIdentification

func (x *UpdateSubscriberRequest) GetProofOfIdentification() string

func (*UpdateSubscriberRequest) GetSubscriberId

func (x *UpdateSubscriberRequest) GetSubscriberId() string

func (*UpdateSubscriberRequest) ProtoMessage

func (*UpdateSubscriberRequest) ProtoMessage()

func (*UpdateSubscriberRequest) ProtoReflect

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

func (*UpdateSubscriberRequest) Reset

func (x *UpdateSubscriberRequest) Reset()

func (*UpdateSubscriberRequest) String

func (x *UpdateSubscriberRequest) String() string

func (*UpdateSubscriberRequest) Validate

func (this *UpdateSubscriberRequest) Validate() error

type UpdateSubscriberResponse

type UpdateSubscriberResponse struct {
	// contains filtered or unexported fields
}

UpdateSubscriberResponse defines the response when updating a subscriber

func (*UpdateSubscriberResponse) Descriptor deprecated

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

Deprecated: Use UpdateSubscriberResponse.ProtoReflect.Descriptor instead.

func (*UpdateSubscriberResponse) ProtoMessage

func (*UpdateSubscriberResponse) ProtoMessage()

func (*UpdateSubscriberResponse) ProtoReflect

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

func (*UpdateSubscriberResponse) Reset

func (x *UpdateSubscriberResponse) Reset()

func (*UpdateSubscriberResponse) String

func (x *UpdateSubscriberResponse) String() string

func (*UpdateSubscriberResponse) Validate

func (this *UpdateSubscriberResponse) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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