Class NcMilitarySummaryType
A data type for a service of a person in a military.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcMilitarySummaryType : IEquatable<NcMilitarySummaryType>
Properties
Context
ncMilitarySummaryType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcMilitarySummaryType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcMilitarySummaryType.ContextEnum> | ncMilitarySummaryType JSON-LD context |
HsAugmentation
Additional information about a person's military service. NIEM reference is hs:MilitarySummaryAugmentation
Declaration
[DataMember(Name = "hsAugmentation")]
public List<HsMilitarySummaryAugmentationType> HsAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsMilitarySummaryAugmentationType> | Additional information about a person's military service. NIEM reference is hs:MilitarySummaryAugmentation |
IsMilitaryExperience
True if a person has some form of military experience; false otherwise. NIEM reference is nc:MilitaryExperienceIndicator
Declaration
[DataMember(Name = "isMilitaryExperience")]
public List<NiemXsboolean> IsMilitaryExperience { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a person has some form of military experience; false otherwise. NIEM reference is nc:MilitaryExperienceIndicator |
IsMilitaryServiceActive
True if a person is currently serving in the military; false otherwise. NIEM reference is nc:MilitaryServiceActiveIndicator
Declaration
[DataMember(Name = "isMilitaryServiceActive")]
public List<NiemXsboolean> IsMilitaryServiceActive { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a person is currently serving in the military; false otherwise. NIEM reference is nc:MilitaryServiceActiveIndicator |
JAugmentation
Additional information about a military summary. NIEM reference is j:MilitarySummaryAugmentation
Declaration
[DataMember(Name = "jAugmentation")]
public List<JMilitarySummaryAugmentationType> JAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JMilitarySummaryAugmentationType> | Additional information about a military summary. NIEM reference is j:MilitarySummaryAugmentation |
MilitaryBranchName
A name of a military branch in which a person served. NIEM reference is nc:MilitaryBranchName
Declaration
[DataMember(Name = "militaryBranchName")]
public List<NcTextType> MilitaryBranchName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of a military branch in which a person served. NIEM reference is nc:MilitaryBranchName |
MilitaryCountry
A country in whose military a person served. NIEM reference is nc:MilitaryCountry
Declaration
[DataMember(Name = "militaryCountry")]
public List<NcCountryType> MilitaryCountry { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcCountryType> | A country in whose military a person served. NIEM reference is nc:MilitaryCountry |
MilitaryDischargeCategory
A kind of discharge a person received from military service. NIEM reference is nc:MilitaryDischargeCategoryText
Declaration
[DataMember(Name = "militaryDischargeCategory")]
public List<NcTextType> MilitaryDischargeCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of discharge a person received from military service. NIEM reference is nc:MilitaryDischargeCategoryText |
MilitaryDischargeCategoryCode
A kind of discharge a person received from military service. NIEM reference is nc:MilitaryDischargeCategoryCode
Declaration
[DataMember(Name = "militaryDischargeCategoryCode")]
public List<NcMilitaryDischargeCategoryCodeType> MilitaryDischargeCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcMilitaryDischargeCategoryCodeType> | A kind of discharge a person received from military service. NIEM reference is nc:MilitaryDischargeCategoryCode |
MilitaryDischargeDate
A date a person was released from further military obligations. NIEM reference is nc:MilitaryDischargeDate
Declaration
[DataMember(Name = "militaryDischargeDate")]
public List<NcDateType> MilitaryDischargeDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date a person was released from further military obligations. NIEM reference is nc:MilitaryDischargeDate |
MilitaryExemptionDescription
A description of why a person was excused from military service. NIEM reference is nc:MilitaryExemptionDescriptionText
Declaration
[DataMember(Name = "militaryExemptionDescription")]
public List<NcTextType> MilitaryExemptionDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of why a person was excused from military service. NIEM reference is nc:MilitaryExemptionDescriptionText |
MilitaryReleaseCategory
A kind of release a person received from military service. NIEM reference is nc:MilitaryReleaseCategoryText
Declaration
[DataMember(Name = "militaryReleaseCategory")]
public List<NcTextType> MilitaryReleaseCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of release a person received from military service. NIEM reference is nc:MilitaryReleaseCategoryText |
MilitaryReleaseDate
A date a person was released from active service in a military. NIEM reference is nc:MilitaryReleaseDate
Declaration
[DataMember(Name = "militaryReleaseDate")]
public List<NcDateType> MilitaryReleaseDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date a person was released from active service in a military. NIEM reference is nc:MilitaryReleaseDate |
MilitaryServiceTimeMeasure
A quantity of time a person spent in military service. NIEM reference is nc:MilitaryServiceTimeMeasure
Declaration
[DataMember(Name = "militaryServiceTimeMeasure")]
public List<NcTimeMeasureType> MilitaryServiceTimeMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTimeMeasureType> | A quantity of time a person spent in military service. NIEM reference is nc:MilitaryServiceTimeMeasure |
MilitaryStatus
A status of military service of a person. NIEM reference is nc:MilitaryStatus
Declaration
[DataMember(Name = "militaryStatus")]
public List<NcStatusType> MilitaryStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcStatusType> | A status of military service of a person. NIEM reference is nc:MilitaryStatus |
Methods
Equals(NcMilitarySummaryType)
Returns true if NcMilitarySummaryType instances are equal
Declaration
public bool Equals(NcMilitarySummaryType other)
Parameters
Type | Name | Description |
---|---|---|
NcMilitarySummaryType | other | Instance of NcMilitarySummaryType 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(NcMilitarySummaryType, NcMilitarySummaryType)
Declaration
public static bool operator ==(NcMilitarySummaryType left, NcMilitarySummaryType right)
Parameters
Type | Name | Description |
---|---|---|
NcMilitarySummaryType | left | |
NcMilitarySummaryType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcMilitarySummaryType, NcMilitarySummaryType)
Declaration
public static bool operator !=(NcMilitarySummaryType left, NcMilitarySummaryType right)
Parameters
Type | Name | Description |
---|---|---|
NcMilitarySummaryType | left | |
NcMilitarySummaryType | right |
Returns
Type | Description |
---|---|
System.Boolean |