Class NcDirectDialTelephoneNumberType
A data type for 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.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcDirectDialTelephoneNumberType : IEquatable<NcDirectDialTelephoneNumberType>
Properties
Context
ncDirectDialTelephoneNumberType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcDirectDialTelephoneNumberType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcDirectDialTelephoneNumberType.ContextEnum> | ncDirectDialTelephoneNumberType JSON-LD context |
DirectDialTelephoneNetwork
A network on which a shortened telephone number may be used. NIEM reference is nc:DirectDialTelephoneNetworkText
Declaration
[DataMember(Name = "directDialTelephoneNetwork")]
public List<NcTextType> DirectDialTelephoneNetwork { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A network on which a shortened telephone number may be used. NIEM reference is nc:DirectDialTelephoneNetworkText |
DirectDialTelephoneNumberId
A shortened sequence of numbers that can be used in place of a full telephone number within a local calling system such as a particular network or corporate phone system. NIEM reference is nc:DirectDialTelephoneNumberID
Declaration
[DataMember(Name = "directDialTelephoneNumberId")]
public List<NiemXsstring> DirectDialTelephoneNumberId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | A shortened sequence of numbers that can be used in place of a full telephone number within a local calling system such as a particular network or corporate phone system. NIEM reference is nc:DirectDialTelephoneNumberID |
Methods
Equals(NcDirectDialTelephoneNumberType)
Returns true if NcDirectDialTelephoneNumberType instances are equal
Declaration
public bool Equals(NcDirectDialTelephoneNumberType other)
Parameters
Type | Name | Description |
---|---|---|
NcDirectDialTelephoneNumberType | other | Instance of NcDirectDialTelephoneNumberType 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(NcDirectDialTelephoneNumberType, NcDirectDialTelephoneNumberType)
Declaration
public static bool operator ==(NcDirectDialTelephoneNumberType left, NcDirectDialTelephoneNumberType right)
Parameters
Type | Name | Description |
---|---|---|
NcDirectDialTelephoneNumberType | left | |
NcDirectDialTelephoneNumberType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcDirectDialTelephoneNumberType, NcDirectDialTelephoneNumberType)
Declaration
public static bool operator !=(NcDirectDialTelephoneNumberType left, NcDirectDialTelephoneNumberType right)
Parameters
Type | Name | Description |
---|---|---|
NcDirectDialTelephoneNumberType | left | |
NcDirectDialTelephoneNumberType | right |
Returns
Type | Description |
---|---|
System.Boolean |