v1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_wgtwo_common_v1_phonenumber_proto protoreflect.FileDescriptor
View Source
var File_wgtwo_common_v1_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Country

type Country struct {

	// ISO 3166-1 alpha-2 code. Examples: US, NO, SE
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// Human readable name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Country information

All programmatic use should depend on the alpha-2 code, and NOT the human readable name

func (*Country) Descriptor deprecated

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

Deprecated: Use Country.ProtoReflect.Descriptor instead.

func (*Country) GetCode

func (x *Country) GetCode() string

func (*Country) GetName

func (x *Country) GetName() string

func (*Country) ProtoMessage

func (*Country) ProtoMessage()

func (*Country) ProtoReflect

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

func (*Country) Reset

func (x *Country) Reset()

func (*Country) String

func (x *Country) String() string

type E164

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

Phone number formatted as E.164 with leading plus sign

This contains three components: - The plus prefix - Country code, max 3 digits - Subscriber number

func (*E164) Descriptor deprecated

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

Deprecated: Use E164.ProtoReflect.Descriptor instead.

func (*E164) GetE164

func (x *E164) GetE164() string

func (*E164) ProtoMessage

func (*E164) ProtoMessage()

func (*E164) ProtoReflect

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

func (*E164) Reset

func (x *E164) Reset()

func (*E164) String

func (x *E164) String() string

type ImeiSv

type ImeiSv struct {
	Imei            string `protobuf:"bytes,1,opt,name=imei,proto3" json:"imei,omitempty"`
	SoftwareVersion string `protobuf:"bytes,2,opt,name=software_version,json=softwareVersion,proto3" json:"software_version,omitempty"`
	// contains filtered or unexported fields
}

International Mobile station Equipment Identity and Software Version number An IMEI is composed of four parts:

  1. an 8 digit Type Allocation Code (TAC);
  2. a 6 digit Serial Number (SNR);
  3. an optional Check Digit (CD); and
  4. an optional 2 digit Software Version Number (handled separately).

For more information see ETSI 123.003 Chapter 6 and Appendix B.

func (*ImeiSv) Descriptor deprecated

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

Deprecated: Use ImeiSv.ProtoReflect.Descriptor instead.

func (*ImeiSv) GetImei

func (x *ImeiSv) GetImei() string

func (*ImeiSv) GetSoftwareVersion

func (x *ImeiSv) GetSoftwareVersion() string

func (*ImeiSv) ProtoMessage

func (*ImeiSv) ProtoMessage()

func (*ImeiSv) ProtoReflect

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

func (*ImeiSv) Reset

func (x *ImeiSv) Reset()

func (*ImeiSv) String

func (x *ImeiSv) String() string

type Imsi

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

International Mobile Subscription Identity An IMSI is composed of three parts:

  1. Mobile Country Code (MCC) consisting of three digits. The MCC is 3 digits long and identifies uniquely the country of domicile of the mobile subscription;
  2. Mobile Network Code (MNC), 2 or 3 digits for 3GPP network applications. The MNC identifies the home PLMN of the mobile subscription. The length of the MNC depends on the value of the MCC. A mixture of two and three digit MNC codes within a single MCC area is not recommended.
  3. Mobile Subscriber Identification Number (MSIN) identifying the mobile subscription within a PLMN. Normally there are 10 digits, but can be fewer in the case of a 3-digit MNC or if national regulations indicate that the total length of the IMSI should be less than 15 digits.

func (*Imsi) Descriptor deprecated

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

Deprecated: Use Imsi.ProtoReflect.Descriptor instead.

func (*Imsi) GetValue

func (x *Imsi) GetValue() string

func (*Imsi) ProtoMessage

func (*Imsi) ProtoMessage()

func (*Imsi) ProtoReflect

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

func (*Imsi) Reset

func (x *Imsi) Reset()

func (*Imsi) String

func (x *Imsi) String() string

type SubscriptionIdentifier

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

This is identification of the subscription

Our OAuth 2.0 server is configured to use Pairwise Pseudonymous Identifiers for its sub field, where all client of a product will share the same identifier for a single subscription.

This message contains this subject, given by the product your OAuth 2.0 client belongs to.

func (*SubscriptionIdentifier) Descriptor deprecated

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

Deprecated: Use SubscriptionIdentifier.ProtoReflect.Descriptor instead.

func (*SubscriptionIdentifier) GetValue

func (x *SubscriptionIdentifier) GetValue() string

func (*SubscriptionIdentifier) ProtoMessage

func (*SubscriptionIdentifier) ProtoMessage()

func (*SubscriptionIdentifier) ProtoReflect

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

func (*SubscriptionIdentifier) Reset

func (x *SubscriptionIdentifier) Reset()

func (*SubscriptionIdentifier) String

func (x *SubscriptionIdentifier) String() string

Jump to

Keyboard shortcuts

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