Class MCertificateType
A data type for an official or government-issued certificate or license.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class MCertificateType : NcDocumentType, IEquatable<NcDocumentType>, IEquatable<MCertificateType>
Properties
Context
mCertificateType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public MCertificateType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<MCertificateType.ContextEnum> | mCertificateType JSON-LD context |
Endorsement
An endorsement, qualification, or rating listed on a certificate which authorizes the performance of certain duties or actions. NIEM reference is m:CertificateEndorsementText
Declaration
[DataMember(Name = "endorsement")]
public List<NcTextType> Endorsement { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | An endorsement, qualification, or rating listed on a certificate which authorizes the performance of certain duties or actions. NIEM reference is m:CertificateEndorsementText |
IssueDate
A date when a certificate was issued. NIEM reference is m:CertificateIssueDate
Declaration
[DataMember(Name = "issueDate")]
public List<NcDateType> IssueDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date when a certificate was issued. NIEM reference is m:CertificateIssueDate |
IssuingAgency
An agency or organization that issued a certificate. NIEM reference is m:CertificateIssuingAgency
Declaration
[DataMember(Name = "issuingAgency")]
public List<NcEntityType> IssuingAgency { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An agency or organization that issued a certificate. NIEM reference is m:CertificateIssuingAgency |
Jurisdiction
A description of locations or regions for which a certificate is valid or appropriate. NIEM reference is m:CertificateJurisdiction
Declaration
[DataMember(Name = "jurisdiction")]
public List<NcJurisdictionType> Jurisdiction { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcJurisdictionType> | A description of locations or regions for which a certificate is valid or appropriate. NIEM reference is m:CertificateJurisdiction |
Restriction
A restriction on a certificate. NIEM reference is m:CertificateRestrictionText
Declaration
[DataMember(Name = "restriction")]
public List<NcTextType> Restriction { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A restriction on a certificate. NIEM reference is m:CertificateRestrictionText |
Methods
Equals(MCertificateType)
Returns true if MCertificateType instances are equal
Declaration
public bool Equals(MCertificateType other)
Parameters
Type | Name | Description |
---|---|---|
MCertificateType | other | Instance of MCertificateType 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(MCertificateType, MCertificateType)
Declaration
public static bool operator ==(MCertificateType left, MCertificateType right)
Parameters
Type | Name | Description |
---|---|---|
MCertificateType | left | |
MCertificateType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(MCertificateType, MCertificateType)
Declaration
public static bool operator !=(MCertificateType left, MCertificateType right)
Parameters
Type | Name | Description |
---|---|---|
MCertificateType | left | |
MCertificateType | right |
Returns
Type | Description |
---|---|
System.Boolean |