Class NcCountryType
A data type for a country, territory, dependency, or other such geopolitical subdivision of a location.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcCountryType : IEquatable<NcCountryType>
Properties
Code
A country, territory, dependency, or other such geopolitical subdivision of a location. NIEM reference is nc:CountryCode
Declaration
[DataMember(Name = "code")]
public List<NcCodeType> Code { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcCodeType> | A country, territory, dependency, or other such geopolitical subdivision of a location. NIEM reference is nc:CountryCode |
Context
ncCountryType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcCountryType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcCountryType.ContextEnum> | ncCountryType JSON-LD context |
LocationFips104PlusNctcCode
A union of additional country codes managed by NCTC and the FIPS 10-4 country codes. NIEM reference is intel:LocationCountryFIPS10-4PlusNCTCCodeText
Declaration
[DataMember(Name = "locationFips10-4PlusNctcCode")]
public List<NcTextType> LocationFips104PlusNctcCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A union of additional country codes managed by NCTC and the FIPS 10-4 country codes. NIEM reference is intel:LocationCountryFIPS10-4PlusNCTCCodeText |
LocationIdentification
An identification value that represents a country. NIEM reference is scr:LocationCountryIdentification
Declaration
[DataMember(Name = "locationIdentification")]
public List<NcIdentificationType> LocationIdentification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | An identification value that represents a country. NIEM reference is scr:LocationCountryIdentification |
LocationIso3166Alpha2Code
A country, territory, dependency, or other such geopolitical subdivision of a location. NIEM reference is nc:LocationCountryISO3166Alpha2Code
Declaration
[DataMember(Name = "locationIso3166Alpha2Code")]
public List<Iso3166CountryAlpha2CodeType> LocationIso3166Alpha2Code { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Iso3166CountryAlpha2CodeType> | A country, territory, dependency, or other such geopolitical subdivision of a location. NIEM reference is nc:LocationCountryISO3166Alpha2Code |
LocationIso3166Alpha3Code
A country, territory, dependency, or other such geopolitical subdivision of a location. NIEM reference is nc:LocationCountryISO3166Alpha3Code
Declaration
[DataMember(Name = "locationIso3166Alpha3Code")]
public List<Iso3166CountryAlpha3CodeType> LocationIso3166Alpha3Code { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Iso3166CountryAlpha3CodeType> | A country, territory, dependency, or other such geopolitical subdivision of a location. NIEM reference is nc:LocationCountryISO3166Alpha3Code |
LocationIso3166NumericCode
A country, territory, dependency, or other such geopolitical subdivision of a location. NIEM reference is nc:LocationCountryISO3166NumericCode
Declaration
[DataMember(Name = "locationIso3166NumericCode")]
public List<Iso3166CountryNumericCodeType> LocationIso3166NumericCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Iso3166CountryNumericCodeType> | A country, territory, dependency, or other such geopolitical subdivision of a location. NIEM reference is nc:LocationCountryISO3166NumericCode |
LocationName
A name of a country, territory, dependency, or other such geopolitical subdivision of a location. NIEM reference is nc:LocationCountryName
Declaration
[DataMember(Name = "locationName")]
public List<NcProperNameTextType> LocationName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcProperNameTextType> | A name of a country, territory, dependency, or other such geopolitical subdivision of a location. NIEM reference is nc:LocationCountryName |
Methods
Equals(NcCountryType)
Returns true if NcCountryType instances are equal
Declaration
public bool Equals(NcCountryType other)
Parameters
Type | Name | Description |
---|---|---|
NcCountryType | other | Instance of NcCountryType 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(NcCountryType, NcCountryType)
Declaration
public static bool operator ==(NcCountryType left, NcCountryType right)
Parameters
Type | Name | Description |
---|---|---|
NcCountryType | left | |
NcCountryType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcCountryType, NcCountryType)
Declaration
public static bool operator !=(NcCountryType left, NcCountryType right)
Parameters
Type | Name | Description |
---|---|---|
NcCountryType | left | |
NcCountryType | right |
Returns
Type | Description |
---|---|
System.Boolean |