models

package
v0.0.0-...-a81ce44 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PhoneNumber

type PhoneNumber struct {
	ID                    string                `json:"id"`
	RawPhoneNumber        string                `json:"rawPhoneNumber"`
	E164                  string                `json:"e164"`
	Source                common.Source         `json:"source"`
	CreatedAt             time.Time             `json:"createdAt"`
	UpdatedAt             time.Time             `json:"updatedAt"`
	PhoneNumberValidation PhoneNumberValidation `json:"phoneNumberValidation"`
	CountryCodeA2         string                `json:"countryCodeA2"`
}

func NewPhoneNumber

func NewPhoneNumber() *PhoneNumber

func (*PhoneNumber) String

func (p *PhoneNumber) String() string

type PhoneNumberValidation

type PhoneNumberValidation struct {
	ValidationError string `json:"validationError"`
	SkipReason      string `json:"skipReason"`
}

Jump to

Keyboard shortcuts

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