Class JDriverLicensePermitType
A data type for a driver license permit issued to a driver granting conditional or limited driving privileges.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JDriverLicensePermitType : JDriverLicenseBaseType, IEquatable<JDriverLicenseBaseType>, IEquatable<JDriverLicensePermitType>
Properties
Classification
A kind of commercial or non-commercial vehicle that a licensed driver has been examined on and approved to operate subject to a permit. NIEM reference is j:DriverLicensePermitClassificationText
Declaration
[DataMember(Name = "classification")]
public List<NcTextType> Classification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of commercial or non-commercial vehicle that a licensed driver has been examined on and approved to operate subject to a permit. NIEM reference is j:DriverLicensePermitClassificationText |
Context
jDriverLicensePermitType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JDriverLicensePermitType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JDriverLicensePermitType.ContextEnum> | jDriverLicensePermitType JSON-LD context |
CrashStatusCode
A current status of an individuals driver license at the time of the crash. NIEM reference is j:CrashDriverLicensePermitStatusCode
Declaration
[DataMember(Name = "crashStatusCode")]
public List<MmuccDriverLicensePermitStatusCodeType> CrashStatusCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MmuccDriverLicensePermitStatusCodeType> | A current status of an individuals driver license at the time of the crash. NIEM reference is j:CrashDriverLicensePermitStatusCode |
Endorsement
An endorsement on a driver license which authorizes the operation of specified types of vehicles carrying specified loads. NIEM reference is j:DriverLicensePermitEndorsement
Declaration
[DataMember(Name = "endorsement")]
public List<JDriverLicensePermitEndorsementType> Endorsement { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JDriverLicensePermitEndorsementType> | An endorsement on a driver license which authorizes the operation of specified types of vehicles carrying specified loads. NIEM reference is j:DriverLicensePermitEndorsement |
Restriction
A restriction on a driver license permit. NIEM reference is j:DriverLicensePermitRestriction
Declaration
[DataMember(Name = "restriction")]
public List<JDriverLicensePermitRestrictionType> Restriction { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JDriverLicensePermitRestrictionType> | A restriction on a driver license permit. NIEM reference is j:DriverLicensePermitRestriction |
Status
A current status of an individuals driver license permit. NIEM reference is j:DriverLicensePermitStatusText
Declaration
[DataMember(Name = "status")]
public List<NcTextType> Status { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A current status of an individuals driver license permit. NIEM reference is j:DriverLicensePermitStatusText |
StatusCode
A current status of an individuals driver license permit. NIEM reference is j:DriverLicensePermitStatusCode
Declaration
[DataMember(Name = "statusCode")]
public List<AamvaD20DrivingStatusCodeType> StatusCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AamvaD20DrivingStatusCodeType> | A current status of an individuals driver license permit. NIEM reference is j:DriverLicensePermitStatusCode |
Methods
Equals(JDriverLicensePermitType)
Returns true if JDriverLicensePermitType instances are equal
Declaration
public bool Equals(JDriverLicensePermitType other)
Parameters
Type | Name | Description |
---|---|---|
JDriverLicensePermitType | other | Instance of JDriverLicensePermitType 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(JDriverLicensePermitType, JDriverLicensePermitType)
Declaration
public static bool operator ==(JDriverLicensePermitType left, JDriverLicensePermitType right)
Parameters
Type | Name | Description |
---|---|---|
JDriverLicensePermitType | left | |
JDriverLicensePermitType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JDriverLicensePermitType, JDriverLicensePermitType)
Declaration
public static bool operator !=(JDriverLicensePermitType left, JDriverLicensePermitType right)
Parameters
Type | Name | Description |
---|---|---|
JDriverLicensePermitType | left | |
JDriverLicensePermitType | right |
Returns
Type | Description |
---|---|
System.Boolean |