Class EmIncidentAuthorType
A data type for information about the author of the incident
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class EmIncidentAuthorType : IEquatable<EmIncidentAuthorType>
Properties
AuthorName
A data element that is the name of an author of a publication NIEM reference is em:AuthorName
Declaration
[DataMember(Name = "authorName")]
public List<NcTextType> AuthorName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A data element that is the name of an author of a publication NIEM reference is em:AuthorName |
AuthorUri
An element for incident author's URI NIEM reference is em:AuthorURI
Declaration
[DataMember(Name = "authorUri")]
public List<NiemXsanyURI> AuthorUri { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsanyURI> | An element for incident author's URI NIEM reference is em:AuthorURI |
Context
emIncidentAuthorType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public EmIncidentAuthorType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<EmIncidentAuthorType.ContextEnum> | emIncidentAuthorType JSON-LD context |
Methods
Equals(EmIncidentAuthorType)
Returns true if EmIncidentAuthorType instances are equal
Declaration
public bool Equals(EmIncidentAuthorType other)
Parameters
Type | Name | Description |
---|---|---|
EmIncidentAuthorType | other | Instance of EmIncidentAuthorType 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(EmIncidentAuthorType, EmIncidentAuthorType)
Declaration
public static bool operator ==(EmIncidentAuthorType left, EmIncidentAuthorType right)
Parameters
Type | Name | Description |
---|---|---|
EmIncidentAuthorType | left | |
EmIncidentAuthorType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(EmIncidentAuthorType, EmIncidentAuthorType)
Declaration
public static bool operator !=(EmIncidentAuthorType left, EmIncidentAuthorType right)
Parameters
Type | Name | Description |
---|---|---|
EmIncidentAuthorType | left | |
EmIncidentAuthorType | right |
Returns
Type | Description |
---|---|
System.Boolean |