Class NcIncidentType
A data type for an occurrence or an event that may require a response.
Inheritance
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcIncidentType : NcActivityType, IEquatable<NcActivityType>, IEquatable<NcIncidentType>
Properties
_Event
An action or occurrence associated with an incident. NIEM reference is nc:IncidentEvent
Declaration
[DataMember(Name = "event")]
public List<NcActivityType> _Event { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcActivityType> | An action or occurrence associated with an incident. NIEM reference is nc:IncidentEvent |
Augmentation
Additional information about an incident. NIEM reference is j:IncidentAugmentation
Declaration
[DataMember(Name = "augmentation")]
public List<JIncidentAugmentationType> Augmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JIncidentAugmentationType> | Additional information about an incident. NIEM reference is j:IncidentAugmentation |
Context
ncIncidentType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcIncidentType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcIncidentType.ContextEnum> | ncIncidentType JSON-LD context |
DayPeriod
A general time of day during which an incident occurred. NIEM reference is nc:IncidentDayPeriodText
Declaration
[DataMember(Name = "dayPeriod")]
public List<NcTextType> DayPeriod { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A general time of day during which an incident occurred. NIEM reference is nc:IncidentDayPeriodText |
JurisdictionalOrganization
An organization or agency who has jurisdiction over an incident. NIEM reference is nc:IncidentJurisdictionalOrganization
Declaration
[DataMember(Name = "jurisdictionalOrganization")]
public List<NcOrganizationType> JurisdictionalOrganization { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcOrganizationType> | An organization or agency who has jurisdiction over an incident. NIEM reference is nc:IncidentJurisdictionalOrganization |
Location
A location where an incident occurred. NIEM reference is nc:IncidentLocation
Declaration
[DataMember(Name = "location")]
public List<NcLocationType> Location { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLocationType> | A location where an incident occurred. NIEM reference is nc:IncidentLocation |
Observation
A remark about something noticed with regards to an incident. NIEM reference is nc:IncidentObservationText
Declaration
[DataMember(Name = "observation")]
public List<NcTextType> Observation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A remark about something noticed with regards to an incident. NIEM reference is nc:IncidentObservationText |
ReportedNarrative
A document containing an account of the events that transpired in an incident. NIEM reference is nc:IncidentReportedNarrative
Declaration
[DataMember(Name = "reportedNarrative")]
public List<NcDocumentType> ReportedNarrative { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDocumentType> | A document containing an account of the events that transpired in an incident. NIEM reference is nc:IncidentReportedNarrative |
Methods
Equals(NcIncidentType)
Returns true if NcIncidentType instances are equal
Declaration
public bool Equals(NcIncidentType other)
Parameters
Type | Name | Description |
---|---|---|
NcIncidentType | other | Instance of NcIncidentType 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(NcIncidentType, NcIncidentType)
Declaration
public static bool operator ==(NcIncidentType left, NcIncidentType right)
Parameters
Type | Name | Description |
---|---|---|
NcIncidentType | left | |
NcIncidentType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcIncidentType, NcIncidentType)
Declaration
public static bool operator !=(NcIncidentType left, NcIncidentType right)
Parameters
Type | Name | Description |
---|---|---|
NcIncidentType | left | |
NcIncidentType | right |
Returns
Type | Description |
---|---|
System.Boolean |