Class NcInstantMessengerType
A data type for a user account for an instant messaging program by which a person or organization may be contacted.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcInstantMessengerType : IEquatable<NcInstantMessengerType>
Properties
Context
ncInstantMessengerType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcInstantMessengerType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcInstantMessengerType.ContextEnum> | ncInstantMessengerType JSON-LD context |
ScreenId
An account identifier used to reference a person or organization within an instant messaging system. NIEM reference is nc:InstantMessengerScreenID
Declaration
[DataMember(Name = "screenId")]
public List<NiemXsstring> ScreenId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An account identifier used to reference a person or organization within an instant messaging system. NIEM reference is nc:InstantMessengerScreenID |
ServiceName
A name of an instant messaging service. NIEM reference is nc:InstantMessengerServiceName
Declaration
[DataMember(Name = "serviceName")]
public List<NcTextType> ServiceName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of an instant messaging service. NIEM reference is nc:InstantMessengerServiceName |
Methods
Equals(NcInstantMessengerType)
Returns true if NcInstantMessengerType instances are equal
Declaration
public bool Equals(NcInstantMessengerType other)
Parameters
Type | Name | Description |
---|---|---|
NcInstantMessengerType | other | Instance of NcInstantMessengerType 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(NcInstantMessengerType, NcInstantMessengerType)
Declaration
public static bool operator ==(NcInstantMessengerType left, NcInstantMessengerType right)
Parameters
Type | Name | Description |
---|---|---|
NcInstantMessengerType | left | |
NcInstantMessengerType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcInstantMessengerType, NcInstantMessengerType)
Declaration
public static bool operator !=(NcInstantMessengerType left, NcInstantMessengerType right)
Parameters
Type | Name | Description |
---|---|---|
NcInstantMessengerType | left | |
NcInstantMessengerType | right |
Returns
Type | Description |
---|---|
System.Boolean |