Class EmIncidentNotificationType
A data type to represent a incident notification to broadcast
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class EmIncidentNotificationType : IEquatable<EmIncidentNotificationType>
Properties
Context
emIncidentNotificationType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public EmIncidentNotificationType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<EmIncidentNotificationType.ContextEnum> | emIncidentNotificationType JSON-LD context |
EmergencyIncident
An element for an emergency incident NIEM reference is em:EmergencyIncident
Declaration
[DataMember(Name = "emergencyIncident")]
public List<EmEmergencyIncidentType> EmergencyIncident { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<EmEmergencyIncidentType> | An element for an emergency incident NIEM reference is em:EmergencyIncident |
NotificationMessage
An element for notification message text NIEM reference is em:NotificationMessageText
Declaration
[DataMember(Name = "notificationMessage")]
public List<NcTextType> NotificationMessage { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | An element for notification message text NIEM reference is em:NotificationMessageText |
Methods
Equals(EmIncidentNotificationType)
Returns true if EmIncidentNotificationType instances are equal
Declaration
public bool Equals(EmIncidentNotificationType other)
Parameters
Type | Name | Description |
---|---|---|
EmIncidentNotificationType | other | Instance of EmIncidentNotificationType 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(EmIncidentNotificationType, EmIncidentNotificationType)
Declaration
public static bool operator ==(EmIncidentNotificationType left, EmIncidentNotificationType right)
Parameters
Type | Name | Description |
---|---|---|
EmIncidentNotificationType | left | |
EmIncidentNotificationType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(EmIncidentNotificationType, EmIncidentNotificationType)
Declaration
public static bool operator !=(EmIncidentNotificationType left, EmIncidentNotificationType right)
Parameters
Type | Name | Description |
---|---|---|
EmIncidentNotificationType | left | |
EmIncidentNotificationType | right |
Returns
Type | Description |
---|---|
System.Boolean |