Class JDriverLicensePermitRestrictionType
A data type for a restriction applicable to a driver permit.
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JDriverLicensePermitRestrictionType : JDrivingRestrictionType, IEquatable<JDrivingRestrictionType>, IEquatable<JDriverLicensePermitRestrictionType>
Properties
Code
A category of a driving restriction on a permit. NIEM reference is j:DriverLicensePermitRestrictionCode
Declaration
[DataMember(Name = "code")]
public List<AamvaD20DrivingPermitRestrictionCodeType> Code { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AamvaD20DrivingPermitRestrictionCodeType> | A category of a driving restriction on a permit. NIEM reference is j:DriverLicensePermitRestrictionCode |
Context
jDriverLicensePermitRestrictionType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JDriverLicensePermitRestrictionType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JDriverLicensePermitRestrictionType.ContextEnum> | jDriverLicensePermitRestrictionType JSON-LD context |
Methods
Equals(JDriverLicensePermitRestrictionType)
Returns true if JDriverLicensePermitRestrictionType instances are equal
Declaration
public bool Equals(JDriverLicensePermitRestrictionType other)
Parameters
Type | Name | Description |
---|---|---|
JDriverLicensePermitRestrictionType | other | Instance of JDriverLicensePermitRestrictionType 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(JDriverLicensePermitRestrictionType, JDriverLicensePermitRestrictionType)
Declaration
public static bool operator ==(JDriverLicensePermitRestrictionType left, JDriverLicensePermitRestrictionType right)
Parameters
Type | Name | Description |
---|---|---|
JDriverLicensePermitRestrictionType | left | |
JDriverLicensePermitRestrictionType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JDriverLicensePermitRestrictionType, JDriverLicensePermitRestrictionType)
Declaration
public static bool operator !=(JDriverLicensePermitRestrictionType left, JDriverLicensePermitRestrictionType right)
Parameters
Type | Name | Description |
---|---|---|
JDriverLicensePermitRestrictionType | left | |
JDriverLicensePermitRestrictionType | right |
Returns
Type | Description |
---|---|
System.Boolean |