Class IntelPersonCitizenshipDetailsType
A data type for information about a persons allegiance to a sovereign state by right of birthplace or naturalization.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class IntelPersonCitizenshipDetailsType : IEquatable<IntelPersonCitizenshipDetailsType>
Properties
Context
intelPersonCitizenshipDetailsType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public IntelPersonCitizenshipDetailsType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<IntelPersonCitizenshipDetailsType.ContextEnum> | intelPersonCitizenshipDetailsType JSON-LD context |
PersonCitizenship
A country that assigns rights, duties, and privileges to a person because of the birth or naturalization of the person in that country. NIEM reference is nc:PersonCitizenshipText
Declaration
[DataMember(Name = "personCitizenship")]
public List<NcTextType> PersonCitizenship { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A country that assigns rights, duties, and privileges to a person because of the birth or naturalization of the person in that country. NIEM reference is nc:PersonCitizenshipText |
PersonCitizenshipIso3166Alpha2Code
A country that assigns rights, duties, and privileges to a person because of the birth or naturalization of the person in that country. NIEM reference is nc:PersonCitizenshipISO3166Alpha2Code
Declaration
[DataMember(Name = "personCitizenshipIso3166Alpha2Code")]
public List<Iso3166CountryAlpha2CodeType> PersonCitizenshipIso3166Alpha2Code { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Iso3166CountryAlpha2CodeType> | A country that assigns rights, duties, and privileges to a person because of the birth or naturalization of the person in that country. NIEM reference is nc:PersonCitizenshipISO3166Alpha2Code |
PersonCitizenshipStatusCode
A mutually exclusive category recognized by law that identifies the degree of protection given a person in return for that persons allegiance. NIEM reference is intel:PersonCitizenshipStatusCodeText
Declaration
[DataMember(Name = "personCitizenshipStatusCode")]
public List<NcTextType> PersonCitizenshipStatusCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A mutually exclusive category recognized by law that identifies the degree of protection given a person in return for that persons allegiance. NIEM reference is intel:PersonCitizenshipStatusCodeText |
Methods
Equals(IntelPersonCitizenshipDetailsType)
Returns true if IntelPersonCitizenshipDetailsType instances are equal
Declaration
public bool Equals(IntelPersonCitizenshipDetailsType other)
Parameters
Type | Name | Description |
---|---|---|
IntelPersonCitizenshipDetailsType | other | Instance of IntelPersonCitizenshipDetailsType 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(IntelPersonCitizenshipDetailsType, IntelPersonCitizenshipDetailsType)
Declaration
public static bool operator ==(IntelPersonCitizenshipDetailsType left, IntelPersonCitizenshipDetailsType right)
Parameters
Type | Name | Description |
---|---|---|
IntelPersonCitizenshipDetailsType | left | |
IntelPersonCitizenshipDetailsType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(IntelPersonCitizenshipDetailsType, IntelPersonCitizenshipDetailsType)
Declaration
public static bool operator !=(IntelPersonCitizenshipDetailsType left, IntelPersonCitizenshipDetailsType right)
Parameters
Type | Name | Description |
---|---|---|
IntelPersonCitizenshipDetailsType | left | |
IntelPersonCitizenshipDetailsType | right |
Returns
Type | Description |
---|---|
System.Boolean |