Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCharactersCharacterIdClonesOk" /> class.
 /// </summary>
 /// <param name="HomeLocation">HomeLocation.</param>
 /// <param name="JumpClones">jump_clones array (required).</param>
 /// <param name="LastJumpDate">last_jump_date string.</param>
 public GetCharactersCharacterIdClonesOk(GetCharactersCharacterIdClonesHomeLocation HomeLocation = default(GetCharactersCharacterIdClonesHomeLocation), List <GetCharactersCharacterIdClonesJumpClone> JumpClones = default(List <GetCharactersCharacterIdClonesJumpClone>), DateTime?LastJumpDate = default(DateTime?))
 {
     // to ensure "JumpClones" is required (not null)
     if (JumpClones == null)
     {
         throw new InvalidDataException("JumpClones is a required property for GetCharactersCharacterIdClonesOk and cannot be null");
     }
     else
     {
         this.JumpClones = JumpClones;
     }
     this.HomeLocation = HomeLocation;
     this.LastJumpDate = LastJumpDate;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCharactersCharacterIdClonesOk" /> class.
 /// </summary>
 /// <param name="lastCloneJumpDate">last_clone_jump_date string.</param>
 /// <param name="homeLocation">homeLocation.</param>
 /// <param name="lastStationChangeDate">last_station_change_date string.</param>
 /// <param name="jumpClones">jump_clones array (required).</param>
 public GetCharactersCharacterIdClonesOk(DateTime?lastCloneJumpDate = default(DateTime?), GetCharactersCharacterIdClonesHomeLocation homeLocation = default(GetCharactersCharacterIdClonesHomeLocation), DateTime?lastStationChangeDate = default(DateTime?), List <GetCharactersCharacterIdClonesJumpClone> jumpClones = default(List <GetCharactersCharacterIdClonesJumpClone>))
 {
     // to ensure "jumpClones" is required (not null)
     if (jumpClones == null)
     {
         throw new InvalidDataException("jumpClones is a required property for GetCharactersCharacterIdClonesOk and cannot be null");
     }
     else
     {
         this.JumpClones = jumpClones;
     }
     this.LastCloneJumpDate     = lastCloneJumpDate;
     this.HomeLocation          = homeLocation;
     this.LastStationChangeDate = lastStationChangeDate;
 }