Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetFwLeaderboardsCorporationsOk" /> class.
 /// </summary>
 /// <param name="Kills">Kills.</param>
 /// <param name="VictoryPoints">VictoryPoints.</param>
 public GetFwLeaderboardsCorporationsOk(GetFwLeaderboardsCorporationsKills Kills = default(GetFwLeaderboardsCorporationsKills), GetFwLeaderboardsCorporationsVictoryPoints VictoryPoints = default(GetFwLeaderboardsCorporationsVictoryPoints))
 {
     this.Kills         = Kills;
     this.VictoryPoints = VictoryPoints;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetFwLeaderboardsCorporationsOk" /> class.
 /// </summary>
 /// <param name="kills">kills (required).</param>
 /// <param name="victoryPoints">victoryPoints (required).</param>
 public GetFwLeaderboardsCorporationsOk(GetFwLeaderboardsCorporationsKills kills = default(GetFwLeaderboardsCorporationsKills), GetFwLeaderboardsCorporationsVictoryPoints victoryPoints = default(GetFwLeaderboardsCorporationsVictoryPoints))
 {
     // to ensure "kills" is required (not null)
     if (kills == null)
     {
         throw new InvalidDataException("kills is a required property for GetFwLeaderboardsCorporationsOk 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 GetFwLeaderboardsCorporationsOk and cannot be null");
     }
     else
     {
         this.VictoryPoints = victoryPoints;
     }
 }