Class NcInternationalTelephoneNumberType
A data type for an international telephone number.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcInternationalTelephoneNumberType : IEquatable<NcInternationalTelephoneNumberType>
Properties
Context
ncInternationalTelephoneNumberType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcInternationalTelephoneNumberType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcInternationalTelephoneNumberType.ContextEnum> | ncInternationalTelephoneNumberType JSON-LD context |
TelephoneCountryCodeId
An international dialing code for a country. NIEM reference is nc:TelephoneCountryCodeID
Declaration
[DataMember(Name = "telephoneCountryCodeId")]
public List<NiemXsstring> TelephoneCountryCodeId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An international dialing code for a country. NIEM reference is nc:TelephoneCountryCodeID |
TelephoneNumberId
A telephone number. NIEM reference is nc:TelephoneNumberID
Declaration
[DataMember(Name = "telephoneNumberId")]
public List<NiemXsstring> TelephoneNumberId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | A telephone number. NIEM reference is nc:TelephoneNumberID |
TelephoneSuffixId
An additional sequence of numbers to be entered after a call connects to be directed to the appropriate place. NIEM reference is nc:TelephoneSuffixID
Declaration
[DataMember(Name = "telephoneSuffixId")]
public List<NiemXsstring> TelephoneSuffixId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An additional sequence of numbers to be entered after a call connects to be directed to the appropriate place. NIEM reference is nc:TelephoneSuffixID |
Methods
Equals(NcInternationalTelephoneNumberType)
Returns true if NcInternationalTelephoneNumberType instances are equal
Declaration
public bool Equals(NcInternationalTelephoneNumberType other)
Parameters
Type | Name | Description |
---|---|---|
NcInternationalTelephoneNumberType | other | Instance of NcInternationalTelephoneNumberType 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(NcInternationalTelephoneNumberType, NcInternationalTelephoneNumberType)
Declaration
public static bool operator ==(NcInternationalTelephoneNumberType left, NcInternationalTelephoneNumberType right)
Parameters
Type | Name | Description |
---|---|---|
NcInternationalTelephoneNumberType | left | |
NcInternationalTelephoneNumberType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcInternationalTelephoneNumberType, NcInternationalTelephoneNumberType)
Declaration
public static bool operator !=(NcInternationalTelephoneNumberType left, NcInternationalTelephoneNumberType right)
Parameters
Type | Name | Description |
---|---|---|
NcInternationalTelephoneNumberType | left | |
NcInternationalTelephoneNumberType | right |
Returns
Type | Description |
---|---|
System.Boolean |