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