Class JIncidentFormType
A data type for an electronic or paper form to be completed for an incident.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JIncidentFormType : IEquatable<JIncidentFormType>
Properties
Comment
A note or comment about a form associated with an incident. NIEM reference is j:IncidentFormCommentText
Declaration
[DataMember(Name = "comment")]
public List<NcTextType> Comment { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A note or comment about a form associated with an incident. NIEM reference is j:IncidentFormCommentText |
Context
jIncidentFormType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JIncidentFormType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JIncidentFormType.ContextEnum> | jIncidentFormType JSON-LD context |
IsSubmitted
True if a form has been submitted; false otherwise. NIEM reference is j:IncidentFormSubmittedIndicator
Declaration
[DataMember(Name = "isSubmitted")]
public List<NiemXsboolean> IsSubmitted { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a form has been submitted; false otherwise. NIEM reference is j:IncidentFormSubmittedIndicator |
Name
A name of an incident report form. NIEM reference is j:IncidentFormName
Declaration
[DataMember(Name = "name")]
public List<NcTextType> Name { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of an incident report form. NIEM reference is j:IncidentFormName |
Methods
Equals(JIncidentFormType)
Returns true if JIncidentFormType instances are equal
Declaration
public bool Equals(JIncidentFormType other)
Parameters
Type | Name | Description |
---|---|---|
JIncidentFormType | other | Instance of JIncidentFormType 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(JIncidentFormType, JIncidentFormType)
Declaration
public static bool operator ==(JIncidentFormType left, JIncidentFormType right)
Parameters
Type | Name | Description |
---|---|---|
JIncidentFormType | left | |
JIncidentFormType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JIncidentFormType, JIncidentFormType)
Declaration
public static bool operator !=(JIncidentFormType left, JIncidentFormType right)
Parameters
Type | Name | Description |
---|---|---|
JIncidentFormType | left | |
JIncidentFormType | right |
Returns
Type | Description |
---|---|
System.Boolean |