import Subscription from 'opengate-js/src/collection/devices/collect/Subscription.js'Subscription
This is a base object that allows the user to create a Subscription.
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
composeElement(): * |
|
| public |
withAddressApn(addressApn: string): Subscription Set the addressApn attribute |
|
| public |
withAddressType(addressType: string): Subscription Set the addressType attribute |
|
| public |
withAddressValue(addressValue: string): Subscription Set the addressValue attribute |
|
| public |
withDescription(description: string): Subscription Set the description attribute |
|
| public |
withId(id: string): Subscription Set the id attribute |
|
| public |
withImsi(imsi: string): Subscription Set the imsi attribute |
|
| public |
withMsisdn(msisdn: string): Subscription Set the msisdn attribute |
|
| public |
withName(name: string): Subscription Set the name attribute |
|
| public |
withOperator(operator: string): Subscription Set the operator attribute |
|
| public |
withType(type: string): Subscription Set the type attribute |
|
Public Constructors
public constructor() source
Public Methods
public withAddressApn(addressApn: string): Subscription source
Set the addressApn attribute
Params:
| Name | Type | Attribute | Description |
| addressApn | string | optional field |
public withAddressType(addressType: string): Subscription source
Set the addressType attribute
Params:
| Name | Type | Attribute | Description |
| addressType | string | optional field |
public withAddressValue(addressValue: string): Subscription source
Set the addressValue attribute
Params:
| Name | Type | Attribute | Description |
| addressValue | string | optional field |
public withDescription(description: string): Subscription source
Set the description attribute
Params:
| Name | Type | Attribute | Description |
| description | string | optional field |
public withId(id: string): Subscription source
Set the id attribute
Params:
| Name | Type | Attribute | Description |
| id | string | optional field |
public withImsi(imsi: string): Subscription source
Set the imsi attribute
Params:
| Name | Type | Attribute | Description |
| imsi | string | optional field |
public withMsisdn(msisdn: string): Subscription source
Set the msisdn attribute
Params:
| Name | Type | Attribute | Description |
| msisdn | string | optional field |
public withName(name: string): Subscription source
Set the name attribute
Params:
| Name | Type | Attribute | Description |
| name | string | optional field |
public withOperator(operator: string): Subscription source
Set the operator attribute
Params:
| Name | Type | Attribute | Description |
| operator | string | optional field |
public withType(type: string): Subscription source
Set the type attribute
Params:
| Name | Type | Attribute | Description |
| type | string | optional field |