Class NcPermitType
A data type for a permit or official document giving a person or entity authorization to do something.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcPermitType : IEquatable<NcPermitType>
Properties
Category
A kind of permit. NIEM reference is nc:PermitCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of permit. NIEM reference is nc:PermitCategoryText |
Context
ncPermitType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcPermitType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcPermitType.ContextEnum> | ncPermitType JSON-LD context |
Identification
A permit identification. NIEM reference is nc:PermitIdentification
Declaration
[DataMember(Name = "identification")]
public List<NcIdentificationType> Identification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | A permit identification. NIEM reference is nc:PermitIdentification |
RenewalDate
A date on which a permit must be renewed. NIEM reference is nc:PermitRenewalDate
Declaration
[DataMember(Name = "renewalDate")]
public List<NcDateType> RenewalDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date on which a permit must be renewed. NIEM reference is nc:PermitRenewalDate |
StartDate
A date on which a permit was issued or renewed. NIEM reference is nc:PermitStartDate
Declaration
[DataMember(Name = "startDate")]
public List<NcDateType> StartDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date on which a permit was issued or renewed. NIEM reference is nc:PermitStartDate |
Usage
A usage allowed by a permit. NIEM reference is nc:PermitUsageText
Declaration
[DataMember(Name = "usage")]
public List<NcTextType> Usage { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A usage allowed by a permit. NIEM reference is nc:PermitUsageText |
Methods
Equals(NcPermitType)
Returns true if NcPermitType instances are equal
Declaration
public bool Equals(NcPermitType other)
Parameters
Type | Name | Description |
---|---|---|
NcPermitType | other | Instance of NcPermitType 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(NcPermitType, NcPermitType)
Declaration
public static bool operator ==(NcPermitType left, NcPermitType right)
Parameters
Type | Name | Description |
---|---|---|
NcPermitType | left | |
NcPermitType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcPermitType, NcPermitType)
Declaration
public static bool operator !=(NcPermitType left, NcPermitType right)
Parameters
Type | Name | Description |
---|---|---|
NcPermitType | left | |
NcPermitType | right |
Returns
Type | Description |
---|---|
System.Boolean |