CreateGsmSubscription extends CreateInternetSubscription
Information about cellular internet subscription
Table of Contents
- GSM_CONNECTION_TYPE_DONGLE_USB = 0
 - DONGLE_USB
 - GSM_CONNECTION_TYPE_ROUTER_ETH = 1
 - ROUTER_ETH
 - PRIORITY_PRIMARY = 0
 - PRIMARY
 - PRIORITY_SECONDARY = 1
 - SECONDARY
 - PRIORITY_TERMINATED = 2
 - TERMINATED
 - TYPE_ADSL = 1
 - ADSL
 - TYPE_GSM = 0
 - GSM
 - TYPE_LAN = 3
 - LAN
 - TYPE_SATELLITE = 2
 - SATELLITE
 - TYPE_WIFI = 4
 - WIFI
 - $comments : string|null
 - The comments about this internet subscription. This field can be unset when updating.
 - $contacts : array<string|int, mixed>|null
 - $dataNumber : string|null
 - The data number of this internet subscription. This field can be unset when updating.
 - $endTime : int|null
 - The end time this internet subscription. This field can be unset when updating.
 - $gsmConnectionType : int|null
 - GSM subscription connection type
 - $id : string|null
 - The identifier of this internet subscription
 - $imei : string|null
 - The IMEI of this internet subscription. This field can be unset when updating.
 - $modem : string|null
 - The modem of this internet subscription. This field can be unset when updating.
 - $modemSerialNumber : string|null
 - The serial number of the modem of this internet subscription
 - $priority : int|null
 - Internet subscription priority.
 - $provider : MinProvider|null
 - $simCardNumber : string|null
 - The sim card number of this internet subscription. This field can be unset when updating.
 - $startTime : int|null
 - The start time of this internet subscription
 - $type : int|null
 - Internet subscription type
 - from() : static
 - Initializing a model from an array
 - getComments() : string
 - Getter for comments
 - getContacts() : array<string|int, MinContact>
 - Getter for contacts
 - getDataNumber() : string
 - Getter for dataNumber
 - getEndTime() : int
 - Getter for endTime
 - getGsmConnectionType() : int
 - Getter for gsmConnectionType
 - getId() : string
 - Getter for id
 - getImei() : string
 - Getter for imei
 - getModem() : string
 - Getter for modem
 - getModemSerialNumber() : string
 - Getter for modemSerialNumber
 - getPriority() : int
 - Getter for priority
 - getProvider() : MinProvider
 - Getter for provider
 - getSimCardNumber() : string
 - Getter for simCardNumber
 - getStartTime() : int
 - Getter for startTime
 - getType() : int
 - Getter for type
 - jsonSerialize() : array<string|int, mixed>
 - setComments() : static
 - Setter for comments
 - setContacts() : static
 - Setter for contacts
 - setDataNumber() : static
 - Setter for dataNumber
 - setEndTime() : static
 - Setter for endTime
 - setGsmConnectionType() : static
 - Setter for gsmConnectionType
 - setId() : static
 - Setter for id
 - setImei() : static
 - Setter for imei
 - setModem() : static
 - Setter for modem
 - setModemSerialNumber() : static
 - Setter for modemSerialNumber
 - setPriority() : static
 - Setter for priority
 - setProvider() : static
 - Setter for provider
 - setSimCardNumber() : static
 - Setter for simCardNumber
 - setStartTime() : static
 - Setter for startTime
 - setType() : static
 - Setter for type
 
Constants
GSM_CONNECTION_TYPE_DONGLE_USB
DONGLE_USB
    public
    mixed
    GSM_CONNECTION_TYPE_DONGLE_USB
    = 0
    
        
    
GSM_CONNECTION_TYPE_ROUTER_ETH
ROUTER_ETH
    public
    mixed
    GSM_CONNECTION_TYPE_ROUTER_ETH
    = 1
    
        
    
PRIORITY_PRIMARY
PRIMARY
    public
    mixed
    PRIORITY_PRIMARY
    = 0
    
        
    
PRIORITY_SECONDARY
SECONDARY
    public
    mixed
    PRIORITY_SECONDARY
    = 1
    
        
    
PRIORITY_TERMINATED
TERMINATED
    public
    mixed
    PRIORITY_TERMINATED
    = 2
    
        
    
TYPE_ADSL
ADSL
    public
    mixed
    TYPE_ADSL
    = 1
    
        
    
TYPE_GSM
GSM
    public
    mixed
    TYPE_GSM
    = 0
    
        
    
TYPE_LAN
LAN
    public
    mixed
    TYPE_LAN
    = 3
    
        
    
TYPE_SATELLITE
SATELLITE
    public
    mixed
    TYPE_SATELLITE
    = 2
    
        
    
TYPE_WIFI
WIFI
    public
    mixed
    TYPE_WIFI
    = 4
    
        
    
Properties
$comments
The comments about this internet subscription. This field can be unset when updating.
    protected
        string|null
    $comments
     = null
    
    
    
$contacts
    protected
        array<string|int, mixed>|null
    $contacts
     = null
    
    
    
$dataNumber
The data number of this internet subscription. This field can be unset when updating.
    protected
        string|null
    $dataNumber
     = null
    
    
    
$endTime
The end time this internet subscription. This field can be unset when updating.
    protected
        int|null
    $endTime
     = null
    
    
    
$gsmConnectionType
GSM subscription connection type
    protected
        int|null
    $gsmConnectionType
     = null
        $id
The identifier of this internet subscription
    protected
        string|null
    $id
     = null
    
    
    
$imei
The IMEI of this internet subscription. This field can be unset when updating.
    protected
        string|null
    $imei
     = null
    
    
    
$modem
The modem of this internet subscription. This field can be unset when updating.
    protected
        string|null
    $modem
     = null
    
    
    
$modemSerialNumber
The serial number of the modem of this internet subscription
    protected
        string|null
    $modemSerialNumber
     = null
    
    
    
$priority
Internet subscription priority.
    protected
        int|null
    $priority
     = null
        $provider
    protected
        MinProvider|null
    $provider
     = null
    
    
    
$simCardNumber
The sim card number of this internet subscription. This field can be unset when updating.
    protected
        string|null
    $simCardNumber
     = null
    
    
    
$startTime
The start time of this internet subscription
    protected
        int|null
    $startTime
     = null
    
    
    
$type
Internet subscription type
    protected
        int|null
    $type
     = null
        Methods
from()
Initializing a model from an array
    public
            static    from(array<string|int, mixed> $params) : static
    
        Parameters
- $params : array<string|int, mixed>
 - 
                    
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
 
Tags
Return values
static —getComments()
Getter for comments
    public
                getComments() : string
    
    
    
        Return values
string —The comments about this internet subscription. This field can be unset when updating.
getContacts()
Getter for contacts
    public
                getContacts() : array<string|int, MinContact>
    
    
    
        Return values
array<string|int, MinContact> —getDataNumber()
Getter for dataNumber
    public
                getDataNumber() : string
    
    
    
        Return values
string —The data number of this internet subscription. This field can be unset when updating.
getEndTime()
Getter for endTime
    public
                getEndTime() : int
    
    
    
        Return values
int —The end time this internet subscription. This field can be unset when updating.
getGsmConnectionType()
Getter for gsmConnectionType
    public
                getGsmConnectionType() : int
    
    
    
        Return values
int —GSM subscription connection type
getId()
Getter for id
    public
                getId() : string
    
    
    
        Return values
string —The identifier of this internet subscription
getImei()
Getter for imei
    public
                getImei() : string
    
    
    
        Return values
string —The IMEI of this internet subscription. This field can be unset when updating.
getModem()
Getter for modem
    public
                getModem() : string
    
    
    
        Return values
string —The modem of this internet subscription. This field can be unset when updating.
getModemSerialNumber()
Getter for modemSerialNumber
    public
                getModemSerialNumber() : string
    
    
    
        Return values
string —The serial number of the modem of this internet subscription
getPriority()
Getter for priority
    public
                getPriority() : int
    
    
    
        Return values
int —Internet subscription priority.
getProvider()
Getter for provider
    public
                getProvider() : MinProvider
    
    
    
        Return values
MinProvider —getSimCardNumber()
Getter for simCardNumber
    public
                getSimCardNumber() : string
    
    
    
        Return values
string —The sim card number of this internet subscription. This field can be unset when updating.
getStartTime()
Getter for startTime
    public
                getStartTime() : int
    
    
    
        Return values
int —The start time of this internet subscription
getType()
Getter for type
    public
                getType() : int
    
    
    
        Return values
int —Internet subscription type
jsonSerialize()
    public
                jsonSerialize() : array<string|int, mixed>
    
    
    
    Tags
Return values
array<string|int, mixed> —setComments()
Setter for comments
    public
                setComments(string $comments) : static
    
        Parameters
- $comments : string
 - 
                    
The comments about this internet subscription. This field can be unset when updating.
 
Return values
static —To use in method chains
setContacts()
Setter for contacts
    public
                setContacts(array<string|int, MinContact> $contacts) : static
    
        Parameters
- $contacts : array<string|int, MinContact>
 
Return values
static —To use in method chains
setDataNumber()
Setter for dataNumber
    public
                setDataNumber(string $dataNumber) : static
    
        Parameters
- $dataNumber : string
 - 
                    
The data number of this internet subscription. This field can be unset when updating.
 
Return values
static —To use in method chains
setEndTime()
Setter for endTime
    public
                setEndTime(int $endTime) : static
    
        Parameters
- $endTime : int
 - 
                    
The end time this internet subscription. This field can be unset when updating.
 
Return values
static —To use in method chains
setGsmConnectionType()
Setter for gsmConnectionType
    public
                setGsmConnectionType(int $gsmConnectionType) : static
    
        Parameters
- $gsmConnectionType : int
 - 
                    
GSM subscription connection type
 
Return values
static —To use in method chains
setId()
Setter for id
    public
                setId(string $id) : static
    
        Parameters
- $id : string
 - 
                    
The identifier of this internet subscription
 
Return values
static —To use in method chains
setImei()
Setter for imei
    public
                setImei(string $imei) : static
    
        Parameters
- $imei : string
 - 
                    
The IMEI of this internet subscription. This field can be unset when updating.
 
Return values
static —To use in method chains
setModem()
Setter for modem
    public
                setModem(string $modem) : static
    
        Parameters
- $modem : string
 - 
                    
The modem of this internet subscription. This field can be unset when updating.
 
Return values
static —To use in method chains
setModemSerialNumber()
Setter for modemSerialNumber
    public
                setModemSerialNumber(string $modemSerialNumber) : static
    
        Parameters
- $modemSerialNumber : string
 - 
                    
The serial number of the modem of this internet subscription
 
Return values
static —To use in method chains
setPriority()
Setter for priority
    public
                setPriority(int $priority) : static
    
        Parameters
- $priority : int
 - 
                    
Internet subscription priority.
 
Return values
static —To use in method chains
setProvider()
Setter for provider
    public
                setProvider(MinProvider $provider) : static
    
        Parameters
- $provider : MinProvider
 
Return values
static —To use in method chains
setSimCardNumber()
Setter for simCardNumber
    public
                setSimCardNumber(string $simCardNumber) : static
    
        Parameters
- $simCardNumber : string
 - 
                    
The sim card number of this internet subscription. This field can be unset when updating.
 
Return values
static —To use in method chains
setStartTime()
Setter for startTime
    public
                setStartTime(int $startTime) : static
    
        Parameters
- $startTime : int
 - 
                    
The start time of this internet subscription
 
Return values
static —To use in method chains
setType()
Setter for type
    public
                setType(int $type) : static
    
        Parameters
- $type : int
 - 
                    
Internet subscription type
 
Return values
static —To use in method chains