/// <summary>
 /// Initializes a new instance of the <see cref="GetCorporationsCorporationIdContainersLogs200Ok" /> class.
 /// </summary>
 /// <param name="Action">action string (required).</param>
 /// <param name="CharacterId">ID of the character who performed the action. (required).</param>
 /// <param name="ContainerId">ID of the container (required).</param>
 /// <param name="ContainerTypeId">Type ID of the container (required).</param>
 /// <param name="LocationFlag">location_flag string (required).</param>
 /// <param name="LocationId">location_id integer (required).</param>
 /// <param name="LoggedAt">Timestamp when this log was created (required).</param>
 /// <param name="NewConfigBitmask">new_config_bitmask integer.</param>
 /// <param name="OldConfigBitmask">old_config_bitmask integer.</param>
 /// <param name="PasswordType">Type of password set if action is of type SetPassword or EnterPassword.</param>
 /// <param name="Quantity">Quantity of the item being acted upon.</param>
 /// <param name="TypeId">Type ID of the item being acted upon.</param>
 public GetCorporationsCorporationIdContainersLogs200Ok(ActionEnum Action = default(ActionEnum), int?CharacterId = default(int?), long?ContainerId = default(long?), int?ContainerTypeId = default(int?), LocationFlagEnum LocationFlag = default(LocationFlagEnum), long?LocationId = default(long?), DateTime?LoggedAt = default(DateTime?), int?NewConfigBitmask = default(int?), int?OldConfigBitmask = default(int?), PasswordTypeEnum?PasswordType = default(PasswordTypeEnum?), int?Quantity = default(int?), int?TypeId = default(int?))
 {
     // to ensure "Action" is required (not null)
     if (Action == null)
     {
         throw new InvalidDataException("Action is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.Action = Action;
     }
     // to ensure "CharacterId" is required (not null)
     if (CharacterId == null)
     {
         throw new InvalidDataException("CharacterId is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.CharacterId = CharacterId;
     }
     // to ensure "ContainerId" is required (not null)
     if (ContainerId == null)
     {
         throw new InvalidDataException("ContainerId is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.ContainerId = ContainerId;
     }
     // to ensure "ContainerTypeId" is required (not null)
     if (ContainerTypeId == null)
     {
         throw new InvalidDataException("ContainerTypeId is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.ContainerTypeId = ContainerTypeId;
     }
     // to ensure "LocationFlag" is required (not null)
     if (LocationFlag == null)
     {
         throw new InvalidDataException("LocationFlag is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.LocationFlag = LocationFlag;
     }
     // to ensure "LocationId" is required (not null)
     if (LocationId == null)
     {
         throw new InvalidDataException("LocationId is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.LocationId = LocationId;
     }
     // to ensure "LoggedAt" is required (not null)
     if (LoggedAt == null)
     {
         throw new InvalidDataException("LoggedAt is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.LoggedAt = LoggedAt;
     }
     this.NewConfigBitmask = NewConfigBitmask;
     this.OldConfigBitmask = OldConfigBitmask;
     this.PasswordType     = PasswordType;
     this.Quantity         = Quantity;
     this.TypeId           = TypeId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCorporationsCorporationIdContainersLogs200Ok" /> class.
 /// </summary>
 /// <param name="action">action string (required).</param>
 /// <param name="characterId">ID of the character who performed the action. (required).</param>
 /// <param name="containerId">ID of the container (required).</param>
 /// <param name="containerTypeId">Type ID of the container (required).</param>
 /// <param name="locationFlag">location_flag string (required).</param>
 /// <param name="locationId">location_id integer (required).</param>
 /// <param name="loggedAt">Timestamp when this log was created (required).</param>
 /// <param name="newConfigBitmask">new_config_bitmask integer.</param>
 /// <param name="oldConfigBitmask">old_config_bitmask integer.</param>
 /// <param name="passwordType">Type of password set if action is of type SetPassword or EnterPassword.</param>
 /// <param name="quantity">Quantity of the item being acted upon.</param>
 /// <param name="typeId">Type ID of the item being acted upon.</param>
 public GetCorporationsCorporationIdContainersLogs200Ok(ActionEnum action = default(ActionEnum), int?characterId = default(int?), long?containerId = default(long?), int?containerTypeId = default(int?), LocationFlagEnum locationFlag = default(LocationFlagEnum), long?locationId = default(long?), DateTime?loggedAt = default(DateTime?), int?newConfigBitmask = default(int?), int?oldConfigBitmask = default(int?), PasswordTypeEnum?passwordType = default(PasswordTypeEnum?), int?quantity = default(int?), int?typeId = default(int?))
 {
     // to ensure "action" is required (not null)
     if (action == null)
     {
         throw new InvalidDataException("action is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.Action = action;
     }
     // to ensure "characterId" is required (not null)
     if (characterId == null)
     {
         throw new InvalidDataException("characterId is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.CharacterId = characterId;
     }
     // to ensure "containerId" is required (not null)
     if (containerId == null)
     {
         throw new InvalidDataException("containerId is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.ContainerId = containerId;
     }
     // to ensure "containerTypeId" is required (not null)
     if (containerTypeId == null)
     {
         throw new InvalidDataException("containerTypeId is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.ContainerTypeId = containerTypeId;
     }
     // to ensure "locationFlag" is required (not null)
     if (locationFlag == null)
     {
         throw new InvalidDataException("locationFlag is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.LocationFlag = locationFlag;
     }
     // to ensure "locationId" is required (not null)
     if (locationId == null)
     {
         throw new InvalidDataException("locationId is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.LocationId = locationId;
     }
     // to ensure "loggedAt" is required (not null)
     if (loggedAt == null)
     {
         throw new InvalidDataException("loggedAt is a required property for GetCorporationsCorporationIdContainersLogs200Ok and cannot be null");
     }
     else
     {
         this.LoggedAt = loggedAt;
     }
     this.NewConfigBitmask = newConfigBitmask;
     this.OldConfigBitmask = oldConfigBitmask;
     this.PasswordType     = passwordType;
     this.Quantity         = quantity;
     this.TypeId           = typeId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCorporationsCorporationIdBlueprints200Ok" /> class.
 /// </summary>
 /// <param name="itemId">Unique ID for this item. (required).</param>
 /// <param name="typeId">type_id integer (required).</param>
 /// <param name="locationId">References a solar system, station or item_id if this blueprint is located within a container. (required).</param>
 /// <param name="quantity">A range of numbers with a minimum of -2 and no maximum value where -1 is an original and -2 is a copy. It can be a positive integer if it is a stack of blueprint originals fresh from the market (e.g. no activities performed on them yet). (required).</param>
 /// <param name="timeEfficiency">Time Efficiency Level of the blueprint. (required).</param>
 /// <param name="materialEfficiency">Material Efficiency Level of the blueprint. (required).</param>
 /// <param name="runs">Number of runs remaining if the blueprint is a copy, -1 if it is an original. (required).</param>
 /// <param name="locationFlag">Type of the location_id (required).</param>
 public GetCorporationsCorporationIdBlueprints200Ok(long?itemId = default(long?), int?typeId = default(int?), long?locationId = default(long?), int?quantity = default(int?), int?timeEfficiency = default(int?), int?materialEfficiency = default(int?), int?runs = default(int?), LocationFlagEnum locationFlag = default(LocationFlagEnum))
 {
     // to ensure "itemId" is required (not null)
     if (itemId == null)
     {
         throw new InvalidDataException("itemId is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.ItemId = itemId;
     }
     // to ensure "typeId" is required (not null)
     if (typeId == null)
     {
         throw new InvalidDataException("typeId is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.TypeId = typeId;
     }
     // to ensure "locationId" is required (not null)
     if (locationId == null)
     {
         throw new InvalidDataException("locationId is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.LocationId = locationId;
     }
     // to ensure "quantity" is required (not null)
     if (quantity == null)
     {
         throw new InvalidDataException("quantity is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.Quantity = quantity;
     }
     // to ensure "timeEfficiency" is required (not null)
     if (timeEfficiency == null)
     {
         throw new InvalidDataException("timeEfficiency is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.TimeEfficiency = timeEfficiency;
     }
     // to ensure "materialEfficiency" is required (not null)
     if (materialEfficiency == null)
     {
         throw new InvalidDataException("materialEfficiency is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.MaterialEfficiency = materialEfficiency;
     }
     // to ensure "runs" is required (not null)
     if (runs == null)
     {
         throw new InvalidDataException("runs is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.Runs = runs;
     }
     // to ensure "locationFlag" is required (not null)
     if (locationFlag == null)
     {
         throw new InvalidDataException("locationFlag is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.LocationFlag = locationFlag;
     }
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCharactersCharacterIdAssets200Ok" /> class.
 /// </summary>
 /// <param name="IsSingleton">is_singleton boolean (required).</param>
 /// <param name="ItemId">item_id integer (required).</param>
 /// <param name="LocationFlag">location_flag string (required).</param>
 /// <param name="LocationId">location_id integer (required).</param>
 /// <param name="LocationType">location_type string (required).</param>
 /// <param name="Quantity">quantity integer (required).</param>
 /// <param name="TypeId">type_id integer (required).</param>
 public GetCharactersCharacterIdAssets200Ok(bool?IsSingleton = default(bool?), long?ItemId = default(long?), LocationFlagEnum LocationFlag = default(LocationFlagEnum), long?LocationId = default(long?), LocationTypeEnum LocationType = default(LocationTypeEnum), int?Quantity = default(int?), int?TypeId = default(int?))
 {
     // to ensure "IsSingleton" is required (not null)
     if (IsSingleton == null)
     {
         throw new InvalidDataException("IsSingleton is a required property for GetCharactersCharacterIdAssets200Ok and cannot be null");
     }
     else
     {
         this.IsSingleton = IsSingleton;
     }
     // to ensure "ItemId" is required (not null)
     if (ItemId == null)
     {
         throw new InvalidDataException("ItemId is a required property for GetCharactersCharacterIdAssets200Ok and cannot be null");
     }
     else
     {
         this.ItemId = ItemId;
     }
     // to ensure "LocationFlag" is required (not null)
     if (LocationFlag == null)
     {
         throw new InvalidDataException("LocationFlag is a required property for GetCharactersCharacterIdAssets200Ok and cannot be null");
     }
     else
     {
         this.LocationFlag = LocationFlag;
     }
     // to ensure "LocationId" is required (not null)
     if (LocationId == null)
     {
         throw new InvalidDataException("LocationId is a required property for GetCharactersCharacterIdAssets200Ok and cannot be null");
     }
     else
     {
         this.LocationId = LocationId;
     }
     // to ensure "LocationType" is required (not null)
     if (LocationType == null)
     {
         throw new InvalidDataException("LocationType is a required property for GetCharactersCharacterIdAssets200Ok and cannot be null");
     }
     else
     {
         this.LocationType = LocationType;
     }
     // to ensure "Quantity" is required (not null)
     if (Quantity == null)
     {
         throw new InvalidDataException("Quantity is a required property for GetCharactersCharacterIdAssets200Ok and cannot be null");
     }
     else
     {
         this.Quantity = Quantity;
     }
     // to ensure "TypeId" is required (not null)
     if (TypeId == null)
     {
         throw new InvalidDataException("TypeId is a required property for GetCharactersCharacterIdAssets200Ok and cannot be null");
     }
     else
     {
         this.TypeId = TypeId;
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCorporationsCorporationIdAssets200Ok" /> class.
 /// </summary>
 /// <param name="typeId">type_id integer (required).</param>
 /// <param name="quantity">quantity integer (required).</param>
 /// <param name="locationId">location_id integer (required).</param>
 /// <param name="locationType">location_type string (required).</param>
 /// <param name="itemId">item_id integer (required).</param>
 /// <param name="isSingleton">is_singleton boolean (required).</param>
 /// <param name="locationFlag">location_flag string (required).</param>
 public GetCorporationsCorporationIdAssets200Ok(int?typeId = default(int?), int?quantity = default(int?), long?locationId = default(long?), LocationTypeEnum locationType = default(LocationTypeEnum), long?itemId = default(long?), bool?isSingleton = default(bool?), LocationFlagEnum locationFlag = default(LocationFlagEnum))
 {
     // to ensure "typeId" is required (not null)
     if (typeId == null)
     {
         throw new InvalidDataException("typeId is a required property for GetCorporationsCorporationIdAssets200Ok and cannot be null");
     }
     else
     {
         this.TypeId = typeId;
     }
     // to ensure "quantity" is required (not null)
     if (quantity == null)
     {
         throw new InvalidDataException("quantity is a required property for GetCorporationsCorporationIdAssets200Ok and cannot be null");
     }
     else
     {
         this.Quantity = quantity;
     }
     // to ensure "locationId" is required (not null)
     if (locationId == null)
     {
         throw new InvalidDataException("locationId is a required property for GetCorporationsCorporationIdAssets200Ok and cannot be null");
     }
     else
     {
         this.LocationId = locationId;
     }
     // to ensure "locationType" is required (not null)
     if (locationType == null)
     {
         throw new InvalidDataException("locationType is a required property for GetCorporationsCorporationIdAssets200Ok and cannot be null");
     }
     else
     {
         this.LocationType = locationType;
     }
     // to ensure "itemId" is required (not null)
     if (itemId == null)
     {
         throw new InvalidDataException("itemId is a required property for GetCorporationsCorporationIdAssets200Ok and cannot be null");
     }
     else
     {
         this.ItemId = itemId;
     }
     // to ensure "isSingleton" is required (not null)
     if (isSingleton == null)
     {
         throw new InvalidDataException("isSingleton is a required property for GetCorporationsCorporationIdAssets200Ok and cannot be null");
     }
     else
     {
         this.IsSingleton = isSingleton;
     }
     // to ensure "locationFlag" is required (not null)
     if (locationFlag == null)
     {
         throw new InvalidDataException("locationFlag is a required property for GetCorporationsCorporationIdAssets200Ok and cannot be null");
     }
     else
     {
         this.LocationFlag = locationFlag;
     }
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCorporationsCorporationIdBlueprints200Ok" /> class.
 /// </summary>
 /// <param name="ItemId">Unique ID for this item. (required).</param>
 /// <param name="LocationFlag">Type of the location_id (required).</param>
 /// <param name="LocationId">References a solar system, station or item_id if this blueprint is located within a container. (required).</param>
 /// <param name="MaterialEfficiency">Material Efficiency Level of the blueprint. (required).</param>
 /// <param name="Quantity">A range of numbers with a minimum of -2 and no maximum value where -1 is an original and -2 is a copy. It can be a positive integer if it is a stack of blueprint originals fresh from the market (e.g. no activities performed on them yet). (required).</param>
 /// <param name="Runs">Number of runs remaining if the blueprint is a copy, -1 if it is an original. (required).</param>
 /// <param name="TimeEfficiency">Time Efficiency Level of the blueprint. (required).</param>
 /// <param name="TypeId">type_id integer (required).</param>
 public GetCorporationsCorporationIdBlueprints200Ok(long?ItemId = default(long?), LocationFlagEnum LocationFlag = default(LocationFlagEnum), long?LocationId = default(long?), int?MaterialEfficiency = default(int?), int?Quantity = default(int?), int?Runs = default(int?), int?TimeEfficiency = default(int?), int?TypeId = default(int?))
 {
     // to ensure "ItemId" is required (not null)
     if (ItemId == null)
     {
         throw new InvalidDataException("ItemId is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.ItemId = ItemId;
     }
     // to ensure "LocationFlag" is required (not null)
     if (LocationFlag == null)
     {
         throw new InvalidDataException("LocationFlag is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.LocationFlag = LocationFlag;
     }
     // to ensure "LocationId" is required (not null)
     if (LocationId == null)
     {
         throw new InvalidDataException("LocationId is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.LocationId = LocationId;
     }
     // to ensure "MaterialEfficiency" is required (not null)
     if (MaterialEfficiency == null)
     {
         throw new InvalidDataException("MaterialEfficiency is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.MaterialEfficiency = MaterialEfficiency;
     }
     // to ensure "Quantity" is required (not null)
     if (Quantity == null)
     {
         throw new InvalidDataException("Quantity is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.Quantity = Quantity;
     }
     // to ensure "Runs" is required (not null)
     if (Runs == null)
     {
         throw new InvalidDataException("Runs is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.Runs = Runs;
     }
     // to ensure "TimeEfficiency" is required (not null)
     if (TimeEfficiency == null)
     {
         throw new InvalidDataException("TimeEfficiency is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.TimeEfficiency = TimeEfficiency;
     }
     // to ensure "TypeId" is required (not null)
     if (TypeId == null)
     {
         throw new InvalidDataException("TypeId is a required property for GetCorporationsCorporationIdBlueprints200Ok and cannot be null");
     }
     else
     {
         this.TypeId = TypeId;
     }
 }