Class JDriverLicenseEndorsementType
A data type for an endorsement on a driver license which authorizes the operation of specified types of vehicles carrying specified loads.
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JDriverLicenseEndorsementType : JDriverLicenseBaseEndorsementType, IEquatable<JDriverLicenseBaseEndorsementType>, IEquatable<JDriverLicenseEndorsementType>
Properties
Code
An endorsement on a driver license or driver license permit which authorizes the operation of specified types of vehicles carrying specified loads. NIEM reference is j:DriverLicenseEndorsementCode
Declaration
[DataMember(Name = "code")]
public List<AamvaD20DrivingEndorsementCodeType> Code { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AamvaD20DrivingEndorsementCodeType> | An endorsement on a driver license or driver license permit which authorizes the operation of specified types of vehicles carrying specified loads. NIEM reference is j:DriverLicenseEndorsementCode |
Context
jDriverLicenseEndorsementType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JDriverLicenseEndorsementType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JDriverLicenseEndorsementType.ContextEnum> | jDriverLicenseEndorsementType JSON-LD context |
Methods
Equals(JDriverLicenseEndorsementType)
Returns true if JDriverLicenseEndorsementType instances are equal
Declaration
public bool Equals(JDriverLicenseEndorsementType other)
Parameters
Type | Name | Description |
---|---|---|
JDriverLicenseEndorsementType | other | Instance of JDriverLicenseEndorsementType 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(JDriverLicenseEndorsementType, JDriverLicenseEndorsementType)
Declaration
public static bool operator ==(JDriverLicenseEndorsementType left, JDriverLicenseEndorsementType right)
Parameters
Type | Name | Description |
---|---|---|
JDriverLicenseEndorsementType | left | |
JDriverLicenseEndorsementType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JDriverLicenseEndorsementType, JDriverLicenseEndorsementType)
Declaration
public static bool operator !=(JDriverLicenseEndorsementType left, JDriverLicenseEndorsementType right)
Parameters
Type | Name | Description |
---|---|---|
JDriverLicenseEndorsementType | left | |
JDriverLicenseEndorsementType | right |
Returns
Type | Description |
---|---|
System.Boolean |