/// <summary>
 /// Initializes a new instance of the <see cref="GetCharactersCharacterIdStats200Ok" /> class.
 /// </summary>
 /// <param name="year">Gregorian year for this set of aggregates (required).</param>
 /// <param name="character">character.</param>
 /// <param name="combat">combat.</param>
 /// <param name="industry">industry.</param>
 /// <param name="inventory">inventory.</param>
 /// <param name="isk">isk.</param>
 /// <param name="market">market.</param>
 /// <param name="mining">mining.</param>
 /// <param name="module">module.</param>
 /// <param name="orbital">orbital.</param>
 /// <param name="pve">pve.</param>
 /// <param name="social">social.</param>
 /// <param name="travel">travel.</param>
 public GetCharactersCharacterIdStats200Ok(int?year = default(int?), GetCharactersCharacterIdStatsCharacter character = default(GetCharactersCharacterIdStatsCharacter), GetCharactersCharacterIdStatsCombat combat = default(GetCharactersCharacterIdStatsCombat), GetCharactersCharacterIdStatsIndustry industry = default(GetCharactersCharacterIdStatsIndustry), GetCharactersCharacterIdStatsInventory inventory = default(GetCharactersCharacterIdStatsInventory), GetCharactersCharacterIdStatsIsk isk = default(GetCharactersCharacterIdStatsIsk), GetCharactersCharacterIdStatsMarket market = default(GetCharactersCharacterIdStatsMarket), GetCharactersCharacterIdStatsMining mining = default(GetCharactersCharacterIdStatsMining), GetCharactersCharacterIdStatsModule module = default(GetCharactersCharacterIdStatsModule), GetCharactersCharacterIdStatsOrbital orbital = default(GetCharactersCharacterIdStatsOrbital), GetCharactersCharacterIdStatsPve pve = default(GetCharactersCharacterIdStatsPve), GetCharactersCharacterIdStatsSocial social = default(GetCharactersCharacterIdStatsSocial), GetCharactersCharacterIdStatsTravel travel = default(GetCharactersCharacterIdStatsTravel))
 {
     // to ensure "year" is required (not null)
     if (year == null)
     {
         throw new InvalidDataException("year is a required property for GetCharactersCharacterIdStats200Ok and cannot be null");
     }
     else
     {
         this.Year = year;
     }
     this.Character = character;
     this.Combat    = combat;
     this.Industry  = industry;
     this.Inventory = inventory;
     this.Isk       = isk;
     this.Market    = market;
     this.Mining    = mining;
     this.Module    = module;
     this.Orbital   = orbital;
     this.Pve       = pve;
     this.Social    = social;
     this.Travel    = travel;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCharactersCharacterIdStats200Ok" /> class.
 /// </summary>
 /// <param name="Character">Character.</param>
 /// <param name="Combat">Combat.</param>
 /// <param name="Industry">Industry.</param>
 /// <param name="Inventory">Inventory.</param>
 /// <param name="Isk">Isk.</param>
 /// <param name="Market">Market.</param>
 /// <param name="Mining">Mining.</param>
 /// <param name="Module">Module.</param>
 /// <param name="Orbital">Orbital.</param>
 /// <param name="Pve">Pve.</param>
 /// <param name="Social">Social.</param>
 /// <param name="Travel">Travel.</param>
 /// <param name="Year">Gregorian year for this set of aggregates (required).</param>
 public GetCharactersCharacterIdStats200Ok(GetCharactersCharacterIdStatsCharacter Character = default(GetCharactersCharacterIdStatsCharacter), GetCharactersCharacterIdStatsCombat Combat = default(GetCharactersCharacterIdStatsCombat), GetCharactersCharacterIdStatsIndustry Industry = default(GetCharactersCharacterIdStatsIndustry), GetCharactersCharacterIdStatsInventory Inventory = default(GetCharactersCharacterIdStatsInventory), GetCharactersCharacterIdStatsIsk Isk = default(GetCharactersCharacterIdStatsIsk), GetCharactersCharacterIdStatsMarket Market = default(GetCharactersCharacterIdStatsMarket), GetCharactersCharacterIdStatsMining Mining = default(GetCharactersCharacterIdStatsMining), GetCharactersCharacterIdStatsModule Module = default(GetCharactersCharacterIdStatsModule), GetCharactersCharacterIdStatsOrbital Orbital = default(GetCharactersCharacterIdStatsOrbital), GetCharactersCharacterIdStatsPve Pve = default(GetCharactersCharacterIdStatsPve), GetCharactersCharacterIdStatsSocial Social = default(GetCharactersCharacterIdStatsSocial), GetCharactersCharacterIdStatsTravel Travel = default(GetCharactersCharacterIdStatsTravel), int?Year = default(int?))
 {
     // to ensure "Year" is required (not null)
     if (Year == null)
     {
         throw new InvalidDataException("Year is a required property for GetCharactersCharacterIdStats200Ok and cannot be null");
     }
     else
     {
         this.Year = Year;
     }
     this.Character = Character;
     this.Combat    = Combat;
     this.Industry  = Industry;
     this.Inventory = Inventory;
     this.Isk       = Isk;
     this.Market    = Market;
     this.Mining    = Mining;
     this.Module    = Module;
     this.Orbital   = Orbital;
     this.Pve       = Pve;
     this.Social    = Social;
     this.Travel    = Travel;
 }