Class JEnforcementOfficialType
A data type for a person involved in the enforcement of law.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JEnforcementOfficialType : IEquatable<JEnforcementOfficialType>
Properties
ActivityCategory
A kind of activity or circumstance in which an enforcement official was engaged. NIEM reference is j:EnforcementOfficialActivityCategoryText
Declaration
[DataMember(Name = "activityCategory")]
public List<NcTextType> ActivityCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of activity or circumstance in which an enforcement official was engaged. NIEM reference is j:EnforcementOfficialActivityCategoryText |
ActivityCategoryCode
A kind of activity or circumstance in which an enforcement official was engaged. NIEM reference is j:EnforcementOfficialActivityCategoryCode
Declaration
[DataMember(Name = "activityCategoryCode")]
public List<UcrLEOKAActivityCategoryCodeType> ActivityCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrLEOKAActivityCategoryCodeType> | A kind of activity or circumstance in which an enforcement official was engaged. NIEM reference is j:EnforcementOfficialActivityCategoryCode |
ActivityNdExCategoryCode
A kind of activity or circumstance in which an enforcement official was engaged. NIEM reference is j:EnforcementOfficialActivityNDExCategoryCode
Declaration
[DataMember(Name = "activityNdExCategoryCode")]
public List<NdexLEOKAActivityCategoryNDExCodeType> ActivityNdExCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexLEOKAActivityCategoryNDExCodeType> | A kind of activity or circumstance in which an enforcement official was engaged. NIEM reference is j:EnforcementOfficialActivityNDExCategoryCode |
AssignmentCategory
A kind of assignment of an enforcement official. NIEM reference is j:EnforcementOfficialAssignmentCategoryText
Declaration
[DataMember(Name = "assignmentCategory")]
public List<NcTextType> AssignmentCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of assignment of an enforcement official. NIEM reference is j:EnforcementOfficialAssignmentCategoryText |
AssignmentCategoryCode
A kind of assignment of an enforcement official. NIEM reference is j:EnforcementOfficialAssignmentCategoryCode
Declaration
[DataMember(Name = "assignmentCategoryCode")]
public List<UcrLEOKAOfficerAssignmentCategoryCodeType> AssignmentCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrLEOKAOfficerAssignmentCategoryCodeType> | A kind of assignment of an enforcement official. NIEM reference is j:EnforcementOfficialAssignmentCategoryCode |
BadgeIdentification
An identification used to refer to an enforcement official. NIEM reference is j:EnforcementOfficialBadgeIdentification
Declaration
[DataMember(Name = "badgeIdentification")]
public List<NcIdentificationType> BadgeIdentification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | An identification used to refer to an enforcement official. NIEM reference is j:EnforcementOfficialBadgeIdentification |
Category
A kind of enforcement official. NIEM reference is j:EnforcementOfficialCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of enforcement official. NIEM reference is j:EnforcementOfficialCategoryText |
Context
jEnforcementOfficialType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JEnforcementOfficialType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JEnforcementOfficialType.ContextEnum> | jEnforcementOfficialType JSON-LD context |
LeokaCircumstanceCategoryCode
A LEOKA (Law Enforcement Officer Killed or Assaulted) classification of an incident. NIEM reference is j:LEOKACircumstanceCategoryCode
Declaration
[DataMember(Name = "leokaCircumstanceCategoryCode")]
public List<JLEOKACircumstanceCategoryCodeType> LeokaCircumstanceCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JLEOKACircumstanceCategoryCodeType> | A LEOKA (Law Enforcement Officer Killed or Assaulted) classification of an incident. NIEM reference is j:LEOKACircumstanceCategoryCode |
PostLicenseIdentification
A Peace Official Standards and Training identification. NIEM reference is j:EnforcementOfficialPOSTLicenseIdentification
Declaration
[DataMember(Name = "postLicenseIdentification")]
public List<NcIdentificationType> PostLicenseIdentification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | A Peace Official Standards and Training identification. NIEM reference is j:EnforcementOfficialPOSTLicenseIdentification |
RoleOfPerson
A person of whom the role object is a function. NIEM reference is nc:RoleOfPerson
Declaration
[DataMember(Name = "roleOfPerson")]
public List<NcPersonType> RoleOfPerson { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person of whom the role object is a function. NIEM reference is nc:RoleOfPerson |
UnavailableSchedule
A set of dates and times an enforcement official is unavailable for scheduling. NIEM reference is j:EnforcementOfficialUnavailableSchedule
Declaration
[DataMember(Name = "unavailableSchedule")]
public List<NcScheduleDayType> UnavailableSchedule { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcScheduleDayType> | A set of dates and times an enforcement official is unavailable for scheduling. NIEM reference is j:EnforcementOfficialUnavailableSchedule |
Unit
An enforcement unit to which an enforcement officer is assigned. NIEM reference is j:EnforcementOfficialUnit
Declaration
[DataMember(Name = "unit")]
public List<JEnforcementUnitType> Unit { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JEnforcementUnitType> | An enforcement unit to which an enforcement officer is assigned. NIEM reference is j:EnforcementOfficialUnit |
Methods
Equals(JEnforcementOfficialType)
Returns true if JEnforcementOfficialType instances are equal
Declaration
public bool Equals(JEnforcementOfficialType other)
Parameters
Type | Name | Description |
---|---|---|
JEnforcementOfficialType | other | Instance of JEnforcementOfficialType 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(JEnforcementOfficialType, JEnforcementOfficialType)
Declaration
public static bool operator ==(JEnforcementOfficialType left, JEnforcementOfficialType right)
Parameters
Type | Name | Description |
---|---|---|
JEnforcementOfficialType | left | |
JEnforcementOfficialType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JEnforcementOfficialType, JEnforcementOfficialType)
Declaration
public static bool operator !=(JEnforcementOfficialType left, JEnforcementOfficialType right)
Parameters
Type | Name | Description |
---|---|---|
JEnforcementOfficialType | left | |
JEnforcementOfficialType | right |
Returns
Type | Description |
---|---|
System.Boolean |