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