Class NcTelephoneNumberType
A data type for a telephone number for a telecommunication device.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcTelephoneNumberType : IEquatable<NcTelephoneNumberType>
Properties
Augmentation
Additional information about a telephone number. NIEM reference is scr:TelephoneNumberAugmentation
Declaration
[DataMember(Name = "augmentation")]
public List<ScrTelephoneNumberAugmentationType> Augmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ScrTelephoneNumberAugmentationType> | Additional information about a telephone number. NIEM reference is scr:TelephoneNumberAugmentation |
Category
A kind of telephone number. NIEM reference is nc:TelephoneNumberCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of telephone number. NIEM reference is nc:TelephoneNumberCategoryText |
Context
ncTelephoneNumberType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcTelephoneNumberType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcTelephoneNumberType.ContextEnum> | ncTelephoneNumberType JSON-LD context |
Description
A description of a telephone number. NIEM reference is nc:TelephoneNumberDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a telephone number. NIEM reference is nc:TelephoneNumberDescriptionText |
DirectDial
A telephone number consisting of a shortened sequence of numbers that can be used within a local telephone system, such as a particular network or a corporate phone system. NIEM reference is nc:DirectDialTelephoneNumber
Declaration
[DataMember(Name = "directDial")]
public List<NcDirectDialTelephoneNumberType> DirectDial { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDirectDialTelephoneNumberType> | A telephone number consisting of a shortened sequence of numbers that can be used within a local telephone system, such as a particular network or a corporate phone system. NIEM reference is nc:DirectDialTelephoneNumber |
Full
A full telephone number. NIEM reference is nc:FullTelephoneNumber
Declaration
[DataMember(Name = "full")]
public List<NcFullTelephoneNumberType> Full { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcFullTelephoneNumberType> | A full telephone number. NIEM reference is nc:FullTelephoneNumber |
International
An international telephone number. NIEM reference is nc:InternationalTelephoneNumber
Declaration
[DataMember(Name = "international")]
public List<NcInternationalTelephoneNumberType> International { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcInternationalTelephoneNumberType> | An international telephone number. NIEM reference is nc:InternationalTelephoneNumber |
JCategoryCode
A kind of telephone number. NIEM reference is j:TelephoneNumberCategoryCode
Declaration
[DataMember(Name = "jCategoryCode")]
public List<NdexTelephoneNumberCategoryCodeType> JCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexTelephoneNumberCategoryCodeType> | A kind of telephone number. NIEM reference is j:TelephoneNumberCategoryCode |
MoCategoryCode
A kind of telephone number. NIEM reference is mo:TelephoneNumberCategoryCode
Declaration
[DataMember(Name = "moCategoryCode")]
public List<string> MoCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | A kind of telephone number. NIEM reference is mo:TelephoneNumberCategoryCode |
Nanp
A North American Numbering Plan telephone number. NIEM reference is nc:NANPTelephoneNumber
Declaration
[DataMember(Name = "nanp")]
public List<NcNANPTelephoneNumberType> Nanp { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcNANPTelephoneNumberType> | A North American Numbering Plan telephone number. NIEM reference is nc:NANPTelephoneNumber |
NcCategoryCode
A kind of telephone number. NIEM reference is nc:TelephoneNumberCategoryCode
Declaration
[DataMember(Name = "ncCategoryCode")]
public List<XCardTelephoneCategoryCodeType> NcCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<XCardTelephoneCategoryCodeType> | A kind of telephone number. NIEM reference is nc:TelephoneNumberCategoryCode |
Methods
Equals(NcTelephoneNumberType)
Returns true if NcTelephoneNumberType instances are equal
Declaration
public bool Equals(NcTelephoneNumberType other)
Parameters
Type | Name | Description |
---|---|---|
NcTelephoneNumberType | other | Instance of NcTelephoneNumberType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(NcTelephoneNumberType, NcTelephoneNumberType)
Declaration
public static bool operator ==(NcTelephoneNumberType left, NcTelephoneNumberType right)
Parameters
Type | Name | Description |
---|---|---|
NcTelephoneNumberType | left | |
NcTelephoneNumberType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcTelephoneNumberType, NcTelephoneNumberType)
Declaration
public static bool operator !=(NcTelephoneNumberType left, NcTelephoneNumberType right)
Parameters
Type | Name | Description |
---|---|---|
NcTelephoneNumberType | left | |
NcTelephoneNumberType | right |
Returns
Type | Description |
---|---|
System.Boolean |