Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetFwLeaderboardsOk" /> class.
 /// </summary>
 /// <param name="Kills">Kills.</param>
 /// <param name="VictoryPoints">VictoryPoints.</param>
 public GetFwLeaderboardsOk(GetFwLeaderboardsKills Kills = default(GetFwLeaderboardsKills), GetFwLeaderboardsVictoryPoints VictoryPoints = default(GetFwLeaderboardsVictoryPoints))
 {
     this.Kills         = Kills;
     this.VictoryPoints = VictoryPoints;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetFwLeaderboardsOk" /> class.
 /// </summary>
 /// <param name="Kills">Kills (required).</param>
 /// <param name="VictoryPoints">VictoryPoints (required).</param>
 public GetFwLeaderboardsOk(GetFwLeaderboardsKills Kills = default(GetFwLeaderboardsKills), GetFwLeaderboardsVictoryPoints VictoryPoints = default(GetFwLeaderboardsVictoryPoints))
 {
     // to ensure "Kills" is required (not null)
     if (Kills == null)
     {
         throw new InvalidDataException("Kills is a required property for GetFwLeaderboardsOk and cannot be null");
     }
     else
     {
         this.Kills = Kills;
     }
     // to ensure "VictoryPoints" is required (not null)
     if (VictoryPoints == null)
     {
         throw new InvalidDataException("VictoryPoints is a required property for GetFwLeaderboardsOk and cannot be null");
     }
     else
     {
         this.VictoryPoints = VictoryPoints;
     }
 }