/// <summary> /// Initializes a new instance of the <see cref="GetCorporationsCorporationIdOutpostsOutpostIdOk" /> class. /// </summary> /// <param name="Coordinates">Coordinates (required).</param> /// <param name="DockingCostPerShipVolume">docking_cost_per_ship_volume number (required).</param> /// <param name="OfficeRentalCost">office_rental_cost integer (required).</param> /// <param name="OwnerId">The entity that owns the station (e.g. the entity whose logo is on the station services bar) (required).</param> /// <param name="ReprocessingEfficiency">reprocessing_efficiency number (required).</param> /// <param name="ReprocessingStationTake">reprocessing_station_take number (required).</param> /// <param name="Services">A list of services the given outpost provides (required).</param> /// <param name="StandingOwnerId">The owner ID that sets the ability for someone to dock based on standings. (required).</param> /// <param name="SystemId">The ID of the solar system the outpost rests in (required).</param> /// <param name="TypeId">The type ID of the given outpost (required).</param> public GetCorporationsCorporationIdOutpostsOutpostIdOk(GetCorporationsCorporationIdOutpostsOutpostIdCoordinates Coordinates = default(GetCorporationsCorporationIdOutpostsOutpostIdCoordinates), float?DockingCostPerShipVolume = default(float?), long?OfficeRentalCost = default(long?), int?OwnerId = default(int?), float?ReprocessingEfficiency = default(float?), float?ReprocessingStationTake = default(float?), List <GetCorporationsCorporationIdOutpostsOutpostIdService> Services = default(List <GetCorporationsCorporationIdOutpostsOutpostIdService>), int?StandingOwnerId = default(int?), int?SystemId = default(int?), int?TypeId = default(int?)) { // to ensure "Coordinates" is required (not null) if (Coordinates == null) { throw new InvalidDataException("Coordinates is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.Coordinates = Coordinates; } // to ensure "DockingCostPerShipVolume" is required (not null) if (DockingCostPerShipVolume == null) { throw new InvalidDataException("DockingCostPerShipVolume is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.DockingCostPerShipVolume = DockingCostPerShipVolume; } // to ensure "OfficeRentalCost" is required (not null) if (OfficeRentalCost == null) { throw new InvalidDataException("OfficeRentalCost is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.OfficeRentalCost = OfficeRentalCost; } // to ensure "OwnerId" is required (not null) if (OwnerId == null) { throw new InvalidDataException("OwnerId is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.OwnerId = OwnerId; } // to ensure "ReprocessingEfficiency" is required (not null) if (ReprocessingEfficiency == null) { throw new InvalidDataException("ReprocessingEfficiency is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.ReprocessingEfficiency = ReprocessingEfficiency; } // to ensure "ReprocessingStationTake" is required (not null) if (ReprocessingStationTake == null) { throw new InvalidDataException("ReprocessingStationTake is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.ReprocessingStationTake = ReprocessingStationTake; } // to ensure "Services" is required (not null) if (Services == null) { throw new InvalidDataException("Services is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.Services = Services; } // to ensure "StandingOwnerId" is required (not null) if (StandingOwnerId == null) { throw new InvalidDataException("StandingOwnerId is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.StandingOwnerId = StandingOwnerId; } // to ensure "SystemId" is required (not null) if (SystemId == null) { throw new InvalidDataException("SystemId is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.SystemId = SystemId; } // to ensure "TypeId" is required (not null) if (TypeId == null) { throw new InvalidDataException("TypeId is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.TypeId = TypeId; } }
/// <summary> /// Initializes a new instance of the <see cref="GetCorporationsCorporationIdOutpostsOutpostIdOk" /> class. /// </summary> /// <param name="ownerId">The entity that owns the station (e.g. the entity whose logo is on the station services bar) (required).</param> /// <param name="systemId">The ID of the solar system the outpost rests in (required).</param> /// <param name="dockingCostPerShipVolume">docking_cost_per_ship_volume number (required).</param> /// <param name="officeRentalCost">office_rental_cost integer (required).</param> /// <param name="typeId">The type ID of the given outpost (required).</param> /// <param name="reprocessingEfficiency">reprocessing_efficiency number (required).</param> /// <param name="reprocessingStationTake">reprocessing_station_take number (required).</param> /// <param name="standingOwnerId">The owner ID that sets the ability for someone to dock based on standings. (required).</param> /// <param name="coordinates">coordinates (required).</param> /// <param name="services">A list of services the given outpost provides (required).</param> public GetCorporationsCorporationIdOutpostsOutpostIdOk(int?ownerId = default(int?), int?systemId = default(int?), float?dockingCostPerShipVolume = default(float?), long?officeRentalCost = default(long?), int?typeId = default(int?), float?reprocessingEfficiency = default(float?), float?reprocessingStationTake = default(float?), int?standingOwnerId = default(int?), GetCorporationsCorporationIdOutpostsOutpostIdCoordinates coordinates = default(GetCorporationsCorporationIdOutpostsOutpostIdCoordinates), List <GetCorporationsCorporationIdOutpostsOutpostIdService> services = default(List <GetCorporationsCorporationIdOutpostsOutpostIdService>)) { // to ensure "ownerId" is required (not null) if (ownerId == null) { throw new InvalidDataException("ownerId is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.OwnerId = ownerId; } // to ensure "systemId" is required (not null) if (systemId == null) { throw new InvalidDataException("systemId is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.SystemId = systemId; } // to ensure "dockingCostPerShipVolume" is required (not null) if (dockingCostPerShipVolume == null) { throw new InvalidDataException("dockingCostPerShipVolume is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.DockingCostPerShipVolume = dockingCostPerShipVolume; } // to ensure "officeRentalCost" is required (not null) if (officeRentalCost == null) { throw new InvalidDataException("officeRentalCost is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.OfficeRentalCost = officeRentalCost; } // to ensure "typeId" is required (not null) if (typeId == null) { throw new InvalidDataException("typeId is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.TypeId = typeId; } // to ensure "reprocessingEfficiency" is required (not null) if (reprocessingEfficiency == null) { throw new InvalidDataException("reprocessingEfficiency is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.ReprocessingEfficiency = reprocessingEfficiency; } // to ensure "reprocessingStationTake" is required (not null) if (reprocessingStationTake == null) { throw new InvalidDataException("reprocessingStationTake is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.ReprocessingStationTake = reprocessingStationTake; } // to ensure "standingOwnerId" is required (not null) if (standingOwnerId == null) { throw new InvalidDataException("standingOwnerId is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.StandingOwnerId = standingOwnerId; } // to ensure "coordinates" is required (not null) if (coordinates == null) { throw new InvalidDataException("coordinates is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.Coordinates = coordinates; } // to ensure "services" is required (not null) if (services == null) { throw new InvalidDataException("services is a required property for GetCorporationsCorporationIdOutpostsOutpostIdOk and cannot be null"); } else { this.Services = services; } }