hlr

package
v0.0.0-...-421306c Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HLR

type HLR struct {
	ID              string
	HRef            string
	MSISDN          int
	Network         int
	Reference       string
	Status          string
	Details         map[string]interface{}
	CreatedDatetime *time.Time
	StatusDatetime  *time.Time
}

HLR stands for Home Location Register. Contains information about the subscribers identity, telephone number, the associated services and general information about the location of the subscriber.

func Create

func Create(c messagebird.Client, msisdn string, reference string) (*HLR, error)

Create creates a new HLR object.

func Read

func Read(c messagebird.Client, id string) (*HLR, error)

Read looks up an existing HLR object for the specified id that was previously created by the NewHLR function.

type HLRList

type HLRList struct {
	Offset     int
	Limit      int
	Count      int
	TotalCount int
	Links      map[string]*string
	Items      []HLR
}

HLRList represents a list of HLR requests.

func List

func List(c messagebird.Client) (*HLRList, error)

List all HLR objects that were previously created by the Create function.

Jump to

Keyboard shortcuts

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