/// <summary> /// Initializes a new instance of the <see cref="OrderExportationsLinks" /> class. /// </summary> /// <param name="Self">Self (required).</param> public OrderExportationsLinks(LinksGetOrderExportationsLink Self = default(LinksGetOrderExportationsLink)) { // to ensure "Self" is required (not null) if (Self == null) { throw new InvalidDataException("Self is a required property for OrderExportationsLinks and cannot be null"); } else { this.Self = Self; } }
/// <summary> /// Initializes a new instance of the <see cref="OrderIndexLinks" /> class. /// </summary> /// <param name="Self">Self (required).</param> /// <param name="Status">Status (required).</param> /// <param name="Harvest">Harvest (required).</param> /// <param name="SetMerchantInfos">SetMerchantInfos (required).</param> /// <param name="ClearMerchantInfos">ClearMerchantInfos (required).</param> /// <param name="Export">Export (required).</param> /// <param name="AutoTransitions">AutoTransitions (required).</param> /// <param name="Exportations">Exportations.</param> /// <param name="Orders">Orders (required).</param> /// <param name="LightOrders">LightOrders (required).</param> public OrderIndexLinks(LinksGetOrderIndexLink Self = default(LinksGetOrderIndexLink), LinksGetMarketplaceAccountsSynchronizationLink Status = default(LinksGetMarketplaceAccountsSynchronizationLink), LinksHarvestAllLink Harvest = default(LinksHarvestAllLink), LinksSetMerchantOrderInfoListLink SetMerchantInfos = default(LinksSetMerchantOrderInfoListLink), LinksClearMerchantOrderInfoListLink ClearMerchantInfos = default(LinksClearMerchantOrderInfoListLink), LinksExportOrdersLink Export = default(LinksExportOrdersLink), LinksGetAutomaticTransitionsLink AutoTransitions = default(LinksGetAutomaticTransitionsLink), LinksGetOrderExportationsLink Exportations = default(LinksGetOrderExportationsLink), LinksGetOrderListFullLink Orders = default(LinksGetOrderListFullLink), LinksGetOrderListLightLink LightOrders = default(LinksGetOrderListLightLink)) { // to ensure "Self" is required (not null) if (Self == null) { throw new InvalidDataException("Self is a required property for OrderIndexLinks and cannot be null"); } else { this.Self = Self; } // to ensure "Status" is required (not null) if (Status == null) { throw new InvalidDataException("Status is a required property for OrderIndexLinks and cannot be null"); } else { this.Status = Status; } // to ensure "Harvest" is required (not null) if (Harvest == null) { throw new InvalidDataException("Harvest is a required property for OrderIndexLinks and cannot be null"); } else { this.Harvest = Harvest; } // to ensure "SetMerchantInfos" is required (not null) if (SetMerchantInfos == null) { throw new InvalidDataException("SetMerchantInfos is a required property for OrderIndexLinks and cannot be null"); } else { this.SetMerchantInfos = SetMerchantInfos; } // to ensure "ClearMerchantInfos" is required (not null) if (ClearMerchantInfos == null) { throw new InvalidDataException("ClearMerchantInfos is a required property for OrderIndexLinks and cannot be null"); } else { this.ClearMerchantInfos = ClearMerchantInfos; } // to ensure "Export" is required (not null) if (Export == null) { throw new InvalidDataException("Export is a required property for OrderIndexLinks and cannot be null"); } else { this.Export = Export; } // to ensure "AutoTransitions" is required (not null) if (AutoTransitions == null) { throw new InvalidDataException("AutoTransitions is a required property for OrderIndexLinks and cannot be null"); } else { this.AutoTransitions = AutoTransitions; } // to ensure "Orders" is required (not null) if (Orders == null) { throw new InvalidDataException("Orders is a required property for OrderIndexLinks and cannot be null"); } else { this.Orders = Orders; } // to ensure "LightOrders" is required (not null) if (LightOrders == null) { throw new InvalidDataException("LightOrders is a required property for OrderIndexLinks and cannot be null"); } else { this.LightOrders = LightOrders; } this.Exportations = Exportations; }