Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PtsV2PayoutsPost502Response" /> class.
 /// </summary>
 /// <param name="SubmitTimeUtc">Time of request in UTC. &#x60;Format: YYYY-MM-DDThh:mm:ssZ&#x60;  Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. .</param>
 /// <param name="Status">The status of the submitted transaction..</param>
 /// <param name="Reason">The reason of the status. .</param>
 /// <param name="Message">The detail message related to the status and reason listed above..</param>
 public PtsV2PayoutsPost502Response(string SubmitTimeUtc = default(string), StatusEnum?Status = default(StatusEnum?), ReasonEnum?Reason = default(ReasonEnum?), string Message = default(string))
 {
     this.SubmitTimeUtc = SubmitTimeUtc;
     this.Status        = Status;
     this.Reason        = Reason;
     this.Message       = Message;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LimitOrderTransaction" /> class.
 /// </summary>
 /// <param name="Id">The Transaction&#39;s Identifier..</param>
 /// <param name="Time">The date/time when the Transaction was created..</param>
 /// <param name="UserID">The ID of the user that initiated the creation of the Transaction..</param>
 /// <param name="AccountID">The ID of the Account the Transaction was created for..</param>
 /// <param name="BatchID">The ID of the \&quot;batch\&quot; that the Transaction belongs to. Transactions in the same batch are applied to the Account simultaneously..</param>
 /// <param name="RequestID">The Request ID of the request which generated the transaction..</param>
 /// <param name="Type">The Type of the Transaction. Always set to \&quot;LIMIT_ORDER\&quot; in a LimitOrderTransaction..</param>
 /// <param name="Instrument">The Limit Order&#39;s Instrument..</param>
 /// <param name="Units">The quantity requested to be filled by the Limit Order. A posititive number of units results in a long Order, and a negative number of units results in a short Order..</param>
 /// <param name="Price">The price threshold specified for the Limit Order. The Limit Order will only be filled by a market price that is equal to or better than this price..</param>
 /// <param name="TimeInForce">The time-in-force requested for the Limit Order..</param>
 /// <param name="GtdTime">The date/time when the Limit Order will be cancelled if its timeInForce is \&quot;GTD\&quot;..</param>
 /// <param name="PositionFill">Specification of how Positions in the Account are modified when the Order is filled..</param>
 /// <param name="TriggerCondition">Specification of what component of a price should be used for comparison when determining if the Order should be filled..</param>
 /// <param name="Reason">The reason that the Limit Order was initiated.</param>
 /// <param name="ClientExtensions">ClientExtensions.</param>
 /// <param name="TakeProfitOnFill">TakeProfitOnFill.</param>
 /// <param name="StopLossOnFill">StopLossOnFill.</param>
 /// <param name="TrailingStopLossOnFill">TrailingStopLossOnFill.</param>
 /// <param name="TradeClientExtensions">TradeClientExtensions.</param>
 /// <param name="ReplacesOrderID">The ID of the Order that this Order replaces (only provided if this Order replaces an existing Order)..</param>
 /// <param name="CancellingTransactionID">The ID of the Transaction that cancels the replaced Order (only provided if this Order replaces an existing Order)..</param>
 public LimitOrderTransaction(string Id = default(string), string Time = default(string), int?UserID = default(int?), string AccountID = default(string), string BatchID = default(string), string RequestID = default(string), TypeEnum?Type = default(TypeEnum?), string Instrument = default(string), string Units = default(string), string Price = default(string), TimeInForceEnum?TimeInForce = default(TimeInForceEnum?), string GtdTime = default(string), PositionFillEnum?PositionFill = default(PositionFillEnum?), TriggerConditionEnum?TriggerCondition = default(TriggerConditionEnum?), ReasonEnum?Reason = default(ReasonEnum?), ClientExtensions ClientExtensions = default(ClientExtensions), TakeProfitDetails TakeProfitOnFill = default(TakeProfitDetails), StopLossDetails StopLossOnFill = default(StopLossDetails), TrailingStopLossDetails TrailingStopLossOnFill = default(TrailingStopLossDetails), ClientExtensions TradeClientExtensions = default(ClientExtensions), string ReplacesOrderID = default(string), string CancellingTransactionID = default(string))
 {
     this.Id                      = Id;
     this.Time                    = Time;
     this.UserID                  = UserID;
     this.AccountID               = AccountID;
     this.BatchID                 = BatchID;
     this.RequestID               = RequestID;
     this.Type                    = Type;
     this.Instrument              = Instrument;
     this.Units                   = Units;
     this.Price                   = Price;
     this.TimeInForce             = TimeInForce;
     this.GtdTime                 = GtdTime;
     this.PositionFill            = PositionFill;
     this.TriggerCondition        = TriggerCondition;
     this.Reason                  = Reason;
     this.ClientExtensions        = ClientExtensions;
     this.TakeProfitOnFill        = TakeProfitOnFill;
     this.StopLossOnFill          = StopLossOnFill;
     this.TrailingStopLossOnFill  = TrailingStopLossOnFill;
     this.TradeClientExtensions   = TradeClientExtensions;
     this.ReplacesOrderID         = ReplacesOrderID;
     this.CancellingTransactionID = CancellingTransactionID;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TextBotDisconnectAction" /> class.
 /// </summary>
 /// <param name="Reason">The reason for the disconnect. (required).</param>
 /// <param name="ReasonExtendedInfo">Extended information related to the reason, if available..</param>
 /// <param name="FlowLocation">Describes where in the Bot Flow the user was when the disconnect occurred..</param>
 /// <param name="FlowOutcomes">The list of Flow Outcomes for the bot flow and their details..</param>
 public TextBotDisconnectAction(ReasonEnum?Reason = null, string ReasonExtendedInfo = null, TextBotFlowLocation FlowLocation = null, List <TextBotFlowOutcome> FlowOutcomes = null)
 {
     this.Reason             = Reason;
     this.ReasonExtendedInfo = ReasonExtendedInfo;
     this.FlowLocation       = FlowLocation;
     this.FlowOutcomes       = FlowOutcomes;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MarketOrderTransaction" /> class.
 /// </summary>
 /// <param name="Id">The Transaction&#39;s Identifier..</param>
 /// <param name="Time">The date/time when the Transaction was created..</param>
 /// <param name="UserID">The ID of the user that initiated the creation of the Transaction..</param>
 /// <param name="AccountID">The ID of the Account the Transaction was created for..</param>
 /// <param name="BatchID">The ID of the \&quot;batch\&quot; that the Transaction belongs to. Transactions in the same batch are applied to the Account simultaneously..</param>
 /// <param name="RequestID">The Request ID of the request which generated the transaction..</param>
 /// <param name="Type">The Type of the Transaction. Always set to \&quot;MARKET_ORDER\&quot; in a MarketOrderTransaction..</param>
 /// <param name="Instrument">The Market Order&#39;s Instrument..</param>
 /// <param name="Units">The quantity requested to be filled by the Market Order. A posititive number of units results in a long Order, and a negative number of units results in a short Order..</param>
 /// <param name="TimeInForce">The time-in-force requested for the Market Order. Restricted to FOK or IOC for a MarketOrder..</param>
 /// <param name="PriceBound">The worst price that the client is willing to have the Market Order filled at..</param>
 /// <param name="PositionFill">Specification of how Positions in the Account are modified when the Order is filled..</param>
 /// <param name="TradeClose">TradeClose.</param>
 /// <param name="LongPositionCloseout">LongPositionCloseout.</param>
 /// <param name="ShortPositionCloseout">ShortPositionCloseout.</param>
 /// <param name="MarginCloseout">MarginCloseout.</param>
 /// <param name="DelayedTradeClose">DelayedTradeClose.</param>
 /// <param name="Reason">The reason that the Market Order was created.</param>
 /// <param name="ClientExtensions">ClientExtensions.</param>
 /// <param name="TakeProfitOnFill">TakeProfitOnFill.</param>
 /// <param name="StopLossOnFill">StopLossOnFill.</param>
 /// <param name="TrailingStopLossOnFill">TrailingStopLossOnFill.</param>
 /// <param name="TradeClientExtensions">TradeClientExtensions.</param>
 public MarketOrderTransaction(string Id = default(string), string Time = default(string), int?UserID = default(int?), string AccountID = default(string), string BatchID = default(string), string RequestID = default(string), TypeEnum?Type = default(TypeEnum?), string Instrument = default(string), string Units = default(string), TimeInForceEnum?TimeInForce = default(TimeInForceEnum?), string PriceBound = default(string), PositionFillEnum?PositionFill = default(PositionFillEnum?), MarketOrderTradeClose TradeClose = default(MarketOrderTradeClose), MarketOrderPositionCloseout LongPositionCloseout = default(MarketOrderPositionCloseout), MarketOrderPositionCloseout ShortPositionCloseout = default(MarketOrderPositionCloseout), MarketOrderMarginCloseout MarginCloseout = default(MarketOrderMarginCloseout), MarketOrderDelayedTradeClose DelayedTradeClose = default(MarketOrderDelayedTradeClose), ReasonEnum?Reason = default(ReasonEnum?), ClientExtensions ClientExtensions = default(ClientExtensions), TakeProfitDetails TakeProfitOnFill = default(TakeProfitDetails), StopLossDetails StopLossOnFill = default(StopLossDetails), TrailingStopLossDetails TrailingStopLossOnFill = default(TrailingStopLossDetails), ClientExtensions TradeClientExtensions = default(ClientExtensions))
 {
     this.Id                     = Id;
     this.Time                   = Time;
     this.UserID                 = UserID;
     this.AccountID              = AccountID;
     this.BatchID                = BatchID;
     this.RequestID              = RequestID;
     this.Type                   = Type;
     this.Instrument             = Instrument;
     this.Units                  = Units;
     this.TimeInForce            = TimeInForce;
     this.PriceBound             = PriceBound;
     this.PositionFill           = PositionFill;
     this.TradeClose             = TradeClose;
     this.LongPositionCloseout   = LongPositionCloseout;
     this.ShortPositionCloseout  = ShortPositionCloseout;
     this.MarginCloseout         = MarginCloseout;
     this.DelayedTradeClose      = DelayedTradeClose;
     this.Reason                 = Reason;
     this.ClientExtensions       = ClientExtensions;
     this.TakeProfitOnFill       = TakeProfitOnFill;
     this.StopLossOnFill         = StopLossOnFill;
     this.TrailingStopLossOnFill = TrailingStopLossOnFill;
     this.TradeClientExtensions  = TradeClientExtensions;
 }
Esempio n. 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HubHealthEvent" /> class.
 /// </summary>
 /// <param name="eventId">The id of the event..</param>
 /// <param name="locationId">The id of the location in which the event was triggered..</param>
 /// <param name="hubId">The id of the hub..</param>
 /// <param name="status">The status of the hub. .</param>
 /// <param name="reason">The reason the hub is offline. .</param>
 public HubHealthEvent(string eventId = default(string), string locationId = default(string), string hubId = default(string), StatusEnum?status = default(StatusEnum?), ReasonEnum?reason = default(ReasonEnum?))
 {
     this.EventId    = eventId;
     this.LocationId = locationId;
     this.HubId      = hubId;
     this.Status     = status;
     this.Reason     = reason;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TextBotExitAction" /> class.
 /// </summary>
 /// <param name="Reason">The reason for the exit. (required).</param>
 /// <param name="ReasonExtendedInfo">Extended information related to the reason, if available..</param>
 /// <param name="ActiveIntent">The active intent at the time of the exit..</param>
 /// <param name="FlowLocation">Describes where in the Bot Flow the user was when the exit occurred..</param>
 /// <param name="OutputData">The output data for the bot flow..</param>
 /// <param name="FlowOutcomes">The list of Flow Outcomes for the bot flow and their details..</param>
 public TextBotExitAction(ReasonEnum?Reason = null, string ReasonExtendedInfo = null, string ActiveIntent = null, TextBotFlowLocation FlowLocation = null, TextBotInputOutputData OutputData = null, List <TextBotFlowOutcome> FlowOutcomes = null)
 {
     this.Reason             = Reason;
     this.ReasonExtendedInfo = ReasonExtendedInfo;
     this.ActiveIntent       = ActiveIntent;
     this.FlowLocation       = FlowLocation;
     this.OutputData         = OutputData;
     this.FlowOutcomes       = FlowOutcomes;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DelayedTradeClosureTransaction" /> class.
 /// </summary>
 /// <param name="Id">The Transaction&#39;s Identifier..</param>
 /// <param name="Time">The date/time when the Transaction was created..</param>
 /// <param name="UserID">The ID of the user that initiated the creation of the Transaction..</param>
 /// <param name="AccountID">The ID of the Account the Transaction was created for..</param>
 /// <param name="BatchID">The ID of the \&quot;batch\&quot; that the Transaction belongs to. Transactions in the same batch are applied to the Account simultaneously..</param>
 /// <param name="RequestID">The Request ID of the request which generated the transaction..</param>
 /// <param name="Type">The Type of the Transaction. Always set to \&quot;DELAYED_TRADE_CLOSURE\&quot; for an DelayedTradeClosureTransaction..</param>
 /// <param name="Reason">The reason for the delayed trade closure.</param>
 /// <param name="TradeIDs">List of Trade ID&#39;s identifying the open trades that will be closed when their respective instruments become tradeable.</param>
 public DelayedTradeClosureTransaction(string Id = default(string), string Time = default(string), int?UserID = default(int?), string AccountID = default(string), string BatchID = default(string), string RequestID = default(string), TypeEnum?Type = default(TypeEnum?), ReasonEnum?Reason = default(ReasonEnum?), string TradeIDs = default(string))
 {
     this.Id        = Id;
     this.Time      = Time;
     this.UserID    = UserID;
     this.AccountID = AccountID;
     this.BatchID   = BatchID;
     this.RequestID = RequestID;
     this.Type      = Type;
     this.Reason    = Reason;
     this.TradeIDs  = TradeIDs;
 }
Esempio n. 9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SystemMessageSystemMessage" /> class.
 /// </summary>
 /// <param name="ChannelId">ChannelId.</param>
 /// <param name="SystemTopicType">SystemTopicType.</param>
 /// <param name="CorrelationId">CorrelationId.</param>
 /// <param name="OrganizationId">OrganizationId.</param>
 /// <param name="UserId">UserId.</param>
 /// <param name="OauthClientId">OauthClientId.</param>
 /// <param name="Reason">Reason.</param>
 /// <param name="Message">Message.</param>
 /// <param name="Data">Data.</param>
 public SystemMessageSystemMessage(string ChannelId = null, SystemTopicTypeEnum?SystemTopicType = null, string CorrelationId = null, string OrganizationId = null, string UserId = null, string OauthClientId = null, ReasonEnum?Reason = null, string Message = null, Dictionary <string, string> Data = null)
 {
     this.ChannelId       = ChannelId;
     this.SystemTopicType = SystemTopicType;
     this.CorrelationId   = CorrelationId;
     this.OrganizationId  = OrganizationId;
     this.UserId          = UserId;
     this.OauthClientId   = OauthClientId;
     this.Reason          = Reason;
     this.Message         = Message;
     this.Data            = Data;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderCancelTransaction" /> class.
 /// </summary>
 /// <param name="Id">The Transaction&#39;s Identifier..</param>
 /// <param name="Time">The date/time when the Transaction was created..</param>
 /// <param name="UserID">The ID of the user that initiated the creation of the Transaction..</param>
 /// <param name="AccountID">The ID of the Account the Transaction was created for..</param>
 /// <param name="BatchID">The ID of the \&quot;batch\&quot; that the Transaction belongs to. Transactions in the same batch are applied to the Account simultaneously..</param>
 /// <param name="RequestID">The Request ID of the request which generated the transaction..</param>
 /// <param name="Type">The Type of the Transaction. Always set to \&quot;ORDER_CANCEL\&quot; for an OrderCancelTransaction..</param>
 /// <param name="OrderID">The ID of the Order cancelled.</param>
 /// <param name="ClientOrderID">The client ID of the Order cancelled (only provided if the Order has a client Order ID)..</param>
 /// <param name="Reason">The reason that the Order was cancelled..</param>
 /// <param name="ReplacedByOrderID">The ID of the Order that replaced this Order (only provided if this Order was cancelled for replacement)..</param>
 public OrderCancelTransaction(string Id = default(string), string Time = default(string), int?UserID = default(int?), string AccountID = default(string), string BatchID = default(string), string RequestID = default(string), TypeEnum?Type = default(TypeEnum?), string OrderID = default(string), string ClientOrderID = default(string), ReasonEnum?Reason = default(ReasonEnum?), string ReplacedByOrderID = default(string))
 {
     this.Id                = Id;
     this.Time              = Time;
     this.UserID            = UserID;
     this.AccountID         = AccountID;
     this.BatchID           = BatchID;
     this.RequestID         = RequestID;
     this.Type              = Type;
     this.OrderID           = OrderID;
     this.ClientOrderID     = ClientOrderID;
     this.Reason            = Reason;
     this.ReplacedByOrderID = ReplacedByOrderID;
 }
Esempio n. 11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StoreActivationStatus" /> class.
 /// </summary>
 /// <param name="isActive">Should store be deactivated/activated (required).</param>
 /// <param name="reason">reason.</param>
 /// <param name="notes">notes.</param>
 /// <param name="shouldSendEmail">Should send email or not for store deactivation.</param>
 public StoreActivationStatus(bool?isActive = default(bool?), ReasonEnum?reason = default(ReasonEnum?), string notes = default(string), bool?shouldSendEmail = default(bool?))
 {
     // to ensure "isActive" is required (not null)
     if (isActive == null)
     {
         throw new InvalidDataException("isActive is a required property for StoreActivationStatus and cannot be null");
     }
     else
     {
         IsActive = isActive;
     }
     Reason          = reason;
     Notes           = notes;
     ShouldSendEmail = shouldSendEmail;
 }
Esempio n. 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServicePackageQuotaHistoryItem" /> class.
 /// </summary>
 /// <param name="Added">Added time of quota history entry in RFC3339 date-time with millisecond accuracy and UTC time zone. (required).</param>
 /// <param name="Amount">the amount of quota usage, negative or positive (required).</param>
 /// <param name="Id">Service package quota history ID. (required).</param>
 /// <param name="Reason">Type of quota usage entry. (required).</param>
 /// <param name="Reservation">Reservation details if reason is reservation, reservation_release or reservation_termination..</param>
 /// <param name="ServicePackage">Service package details if reason is package_creation, package_renewal or package_termination.</param>
 public ServicePackageQuotaHistoryItem(DateTime?Added = default(DateTime?), long?Amount = default(long?), string Id = default(string), ReasonEnum?Reason = default(ReasonEnum?), ServicePackageQuotaHistoryReservation Reservation = default(ServicePackageQuotaHistoryReservation), ServicePackageQuotaHistoryServicePackage ServicePackage = default(ServicePackageQuotaHistoryServicePackage))
 {
     // to ensure "Added" is required (not null)
     if (Added == null)
     {
         throw new InvalidDataException("Added is a required property for ServicePackageQuotaHistoryItem and cannot be null");
     }
     else
     {
         this.Added = Added;
     }
     // to ensure "Amount" is required (not null)
     if (Amount == null)
     {
         throw new InvalidDataException("Amount is a required property for ServicePackageQuotaHistoryItem and cannot be null");
     }
     else
     {
         this.Amount = Amount;
     }
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for ServicePackageQuotaHistoryItem and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "Reason" is required (not null)
     if (Reason == null)
     {
         throw new InvalidDataException("Reason is a required property for ServicePackageQuotaHistoryItem and cannot be null");
     }
     else
     {
         this.Reason = Reason;
     }
     this.Reservation    = Reservation;
     this.ServicePackage = ServicePackage;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TakeProfitOrderTransaction" /> class.
 /// </summary>
 /// <param name="Id">The Transaction&#39;s Identifier..</param>
 /// <param name="Time">The date/time when the Transaction was created..</param>
 /// <param name="UserID">The ID of the user that initiated the creation of the Transaction..</param>
 /// <param name="AccountID">The ID of the Account the Transaction was created for..</param>
 /// <param name="BatchID">The ID of the \&quot;batch\&quot; that the Transaction belongs to. Transactions in the same batch are applied to the Account simultaneously..</param>
 /// <param name="RequestID">The Request ID of the request which generated the transaction..</param>
 /// <param name="Type">The Type of the Transaction. Always set to \&quot;TAKE_PROFIT_ORDER\&quot; in a TakeProfitOrderTransaction..</param>
 /// <param name="TradeID">The ID of the Trade to close when the price threshold is breached..</param>
 /// <param name="ClientTradeID">The client ID of the Trade to be closed when the price threshold is breached..</param>
 /// <param name="Price">The price threshold specified for the TakeProfit Order. The associated Trade will be closed by a market price that is equal to or better than this threshold..</param>
 /// <param name="TimeInForce">The time-in-force requested for the TakeProfit Order. Restricted to \&quot;GTC\&quot;, \&quot;GFD\&quot; and \&quot;GTD\&quot; for TakeProfit Orders..</param>
 /// <param name="GtdTime">The date/time when the TakeProfit Order will be cancelled if its timeInForce is \&quot;GTD\&quot;..</param>
 /// <param name="TriggerCondition">Specification of what component of a price should be used for comparison when determining if the Order should be filled..</param>
 /// <param name="Reason">The reason that the Take Profit Order was initiated.</param>
 /// <param name="ClientExtensions">ClientExtensions.</param>
 /// <param name="OrderFillTransactionID">The ID of the OrderFill Transaction that caused this Order to be created (only provided if this Order was created automatically when another Order was filled)..</param>
 /// <param name="ReplacesOrderID">The ID of the Order that this Order replaces (only provided if this Order replaces an existing Order)..</param>
 /// <param name="CancellingTransactionID">The ID of the Transaction that cancels the replaced Order (only provided if this Order replaces an existing Order)..</param>
 public TakeProfitOrderTransaction(string Id = default(string), string Time = default(string), int?UserID = default(int?), string AccountID = default(string), string BatchID = default(string), string RequestID = default(string), TypeEnum?Type = default(TypeEnum?), string TradeID = default(string), string ClientTradeID = default(string), string Price = default(string), TimeInForceEnum?TimeInForce = default(TimeInForceEnum?), string GtdTime = default(string), TriggerConditionEnum?TriggerCondition = default(TriggerConditionEnum?), ReasonEnum?Reason = default(ReasonEnum?), ClientExtensions ClientExtensions = default(ClientExtensions), string OrderFillTransactionID = default(string), string ReplacesOrderID = default(string), string CancellingTransactionID = default(string))
 {
     this.Id                      = Id;
     this.Time                    = Time;
     this.UserID                  = UserID;
     this.AccountID               = AccountID;
     this.BatchID                 = BatchID;
     this.RequestID               = RequestID;
     this.Type                    = Type;
     this.TradeID                 = TradeID;
     this.ClientTradeID           = ClientTradeID;
     this.Price                   = Price;
     this.TimeInForce             = TimeInForce;
     this.GtdTime                 = GtdTime;
     this.TriggerCondition        = TriggerCondition;
     this.Reason                  = Reason;
     this.ClientExtensions        = ClientExtensions;
     this.OrderFillTransactionID  = OrderFillTransactionID;
     this.ReplacesOrderID         = ReplacesOrderID;
     this.CancellingTransactionID = CancellingTransactionID;
 }
Esempio n. 14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderFillTransaction" /> class.
 /// </summary>
 /// <param name="Id">The Transaction&#39;s Identifier..</param>
 /// <param name="Time">The date/time when the Transaction was created..</param>
 /// <param name="UserID">The ID of the user that initiated the creation of the Transaction..</param>
 /// <param name="AccountID">The ID of the Account the Transaction was created for..</param>
 /// <param name="BatchID">The ID of the \&quot;batch\&quot; that the Transaction belongs to. Transactions in the same batch are applied to the Account simultaneously..</param>
 /// <param name="RequestID">The Request ID of the request which generated the transaction..</param>
 /// <param name="Type">The Type of the Transaction. Always set to \&quot;ORDER_FILL\&quot; for an OrderFillTransaction..</param>
 /// <param name="OrderID">The ID of the Order filled..</param>
 /// <param name="ClientOrderID">The client Order ID of the Order filled (only provided if the client has assigned one)..</param>
 /// <param name="Instrument">The name of the filled Order&#39;s instrument..</param>
 /// <param name="Units">The number of units filled by the Order..</param>
 /// <param name="Price">The average market price that the Order was filled at..</param>
 /// <param name="Reason">The reason that an Order was filled.</param>
 /// <param name="Pl">The profit or loss incurred when the Order was filled..</param>
 /// <param name="Financing">The financing paid or collected when the Order was filled..</param>
 /// <param name="AccountBalance">The Account&#39;s balance after the Order was filled..</param>
 /// <param name="TradeOpened">TradeOpened.</param>
 /// <param name="TradesClosed">The Trades that were closed when the Order was filled (only provided if filling the Order resulted in a closing open Trades)..</param>
 /// <param name="TradeReduced">TradeReduced.</param>
 public OrderFillTransaction(string Id = default(string), string Time = default(string), int?UserID = default(int?), string AccountID = default(string), string BatchID = default(string), string RequestID = default(string), TypeEnum?Type = default(TypeEnum?), string OrderID = default(string), string ClientOrderID = default(string), string Instrument = default(string), string Units = default(string), string Price = default(string), ReasonEnum?Reason = default(ReasonEnum?), string Pl = default(string), string Financing = default(string), string AccountBalance = default(string), TradeOpen TradeOpened = default(TradeOpen), List <TradeReduce> TradesClosed = default(List <TradeReduce>), TradeReduce TradeReduced = default(TradeReduce))
 {
     this.Id             = Id;
     this.Time           = Time;
     this.UserID         = UserID;
     this.AccountID      = AccountID;
     this.BatchID        = BatchID;
     this.RequestID      = RequestID;
     this.Type           = Type;
     this.OrderID        = OrderID;
     this.ClientOrderID  = ClientOrderID;
     this.Instrument     = Instrument;
     this.Units          = Units;
     this.Price          = Price;
     this.Reason         = Reason;
     this.Pl             = Pl;
     this.Financing      = Financing;
     this.AccountBalance = AccountBalance;
     this.TradeOpened    = TradeOpened;
     this.TradesClosed   = TradesClosed;
     this.TradeReduced   = TradeReduced;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PtsV2PaymentsPost201ResponseErrorInformationDetails" /> class.
 /// </summary>
 /// <param name="Field">This is the flattened JSON object field name/path that is either missing or invalid..</param>
 /// <param name="Reason">Possible reasons for the error. .</param>
 public PtsV2PaymentsPost201ResponseErrorInformationDetails(string Field = default(string), ReasonEnum?Reason = default(ReasonEnum?))
 {
     this.Field  = Field;
     this.Reason = Reason;
 }
Esempio n. 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PtsV2PaymentsPost201ResponseErrorInformation" /> class.
 /// </summary>
 /// <param name="Reason">The reason of the status.  Possible values:  - AVS_FAILED  - CONTACT_PROCESSOR  - EXPIRED_CARD  - PROCESSOR_DECLINED  - INSUFFICIENT_FUND  - STOLEN_LOST_CARD  - ISSUER_UNAVAILABLE  - UNAUTHORIZED_CARD  - CVN_NOT_MATCH  - EXCEEDS_CREDIT_LIMIT  - INVALID_CVN  - DECLINED_CHECK  - BLACKLISTED_CUSTOMER  - SUSPENDED_ACCOUNT  - PAYMENT_REFUSED  - CV_FAILED  - INVALID_ACCOUNT  - GENERAL_DECLINE  - INVALID_MERCHANT_CONFIGURATION .</param>
 /// <param name="Message">The detail message related to the status and reason listed above..</param>
 /// <param name="Details">Details.</param>
 public PtsV2PaymentsPost201ResponseErrorInformation(ReasonEnum?Reason = default(ReasonEnum?), string Message = default(string), List <PtsV2PaymentsPost201ResponseErrorInformationDetails> Details = default(List <PtsV2PaymentsPost201ResponseErrorInformationDetails>))
 {
     this.Reason  = Reason;
     this.Message = Message;
     this.Details = Details;
 }
Esempio n. 17
0
 public PayloadData(ReasonEnum?Reason = null)
     : base()
 {
     this.Reason = Reason;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ChargingLog" /> class.
 /// </summary>
 /// <param name="AppliedCoupon">AppliedCoupon.</param>
 /// <param name="AuthCode">AuthCode.</param>
 /// <param name="CompanyId">CompanyId.</param>
 /// <param name="CreateDate">CreateDate.</param>
 /// <param name="Currency">Currency.</param>
 /// <param name="ErrorCode">ErrorCode.</param>
 /// <param name="ErrorText">ErrorText.</param>
 /// <param name="Id">Id.</param>
 /// <param name="InvoiceId">InvoiceId.</param>
 /// <param name="JobId">JobId.</param>
 /// <param name="OfferId">OfferId.</param>
 /// <param name="ParentId">ParentId.</param>
 /// <param name="PaymentGateway">PaymentGateway.</param>
 /// <param name="PaymentId">PaymentId.</param>
 /// <param name="Price">Price.</param>
 /// <param name="Reason">Reason.</param>
 /// <param name="RefundDate">RefundDate.</param>
 /// <param name="SavedCard">SavedCard.</param>
 /// <param name="SavedCardId">SavedCardId.</param>
 /// <param name="ServiceInstanceId">ServiceInstanceId.</param>
 /// <param name="Status">Status.</param>
 /// <param name="SubscriberId">SubscriberId.</param>
 /// <param name="SubscriberSecureId">SubscriberSecureId.</param>
 /// <param name="SubscriptionId">SubscriptionId.</param>
 /// <param name="Threeds">Threeds.</param>
 /// <param name="TransactionId">TransactionId.</param>
 public ChargingLog(long?AppliedCoupon = default(long?), string AuthCode = default(string), long?CompanyId = default(long?), DateTime?CreateDate = default(DateTime?), string Currency = default(string), string ErrorCode = default(string), string ErrorText = default(string), long?Id = default(long?), long?InvoiceId = default(long?), long?JobId = default(long?), long?OfferId = default(long?), long?ParentId = default(long?), PaymentGatewayEnum?PaymentGateway = default(PaymentGatewayEnum?), string PaymentId = default(string), decimal?Price = default(decimal?), ReasonEnum?Reason = default(ReasonEnum?), DateTime?RefundDate = default(DateTime?), SavedCard SavedCard = default(SavedCard), long?SavedCardId = default(long?), long?ServiceInstanceId = default(long?), StatusEnum?Status = default(StatusEnum?), long?SubscriberId = default(long?), string SubscriberSecureId = default(string), long?SubscriptionId = default(long?), bool?Threeds = default(bool?), string TransactionId = default(string))
 {
     this.AppliedCoupon      = AppliedCoupon;
     this.AuthCode           = AuthCode;
     this.CompanyId          = CompanyId;
     this.CreateDate         = CreateDate;
     this.Currency           = Currency;
     this.ErrorCode          = ErrorCode;
     this.ErrorText          = ErrorText;
     this.Id                 = Id;
     this.InvoiceId          = InvoiceId;
     this.JobId              = JobId;
     this.OfferId            = OfferId;
     this.ParentId           = ParentId;
     this.PaymentGateway     = PaymentGateway;
     this.PaymentId          = PaymentId;
     this.Price              = Price;
     this.Reason             = Reason;
     this.RefundDate         = RefundDate;
     this.SavedCard          = SavedCard;
     this.SavedCardId        = SavedCardId;
     this.ServiceInstanceId  = ServiceInstanceId;
     this.Status             = Status;
     this.SubscriberId       = SubscriberId;
     this.SubscriberSecureId = SubscriberSecureId;
     this.SubscriptionId     = SubscriptionId;
     this.Threeds            = Threeds;
     this.TransactionId      = TransactionId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PreviousServicePackage" /> class.
 /// </summary>
 /// <param name="Created">Service package creation time in RFC3339 date-time with millisecond accuracy and UTC time zone. (required).</param>
 /// <param name="EndTime">Service package end time in RFC3339 date-time with millisecond accuracy and UTC time zone. (required).</param>
 /// <param name="Expires">Service package expiration time in RFC3339 date-time with millisecond accuracy and UTC time zone. (required).</param>
 /// <param name="FirmwareUpdateCount">Size of firmware update quota of this service package. (required).</param>
 /// <param name="Id">ID of this service package. (required).</param>
 /// <param name="Modified">Service package latest modified time in RFC3339 date-time with millisecond accuracy and UTC time zone. (required).</param>
 /// <param name="NextId">Next service package ID if this service package has a pending renewal or null..</param>
 /// <param name="PreviousId">Previous service package ID..</param>
 /// <param name="Reason">Reason why this service package was ended (required).</param>
 /// <param name="StartTime">Service package start time in RFC3339 date-time with millisecond accuracy and UTC time zone. (required).</param>
 public PreviousServicePackage(DateTime?Created = default(DateTime?), DateTime?EndTime = default(DateTime?), DateTime?Expires = default(DateTime?), int?FirmwareUpdateCount = default(int?), string Id = default(string), DateTime?Modified = default(DateTime?), string NextId = default(string), string PreviousId = default(string), ReasonEnum?Reason = default(ReasonEnum?), DateTime?StartTime = default(DateTime?))
 {
     // to ensure "Created" is required (not null)
     if (Created == null)
     {
         throw new InvalidDataException("Created is a required property for PreviousServicePackage and cannot be null");
     }
     else
     {
         this.Created = Created;
     }
     // to ensure "EndTime" is required (not null)
     if (EndTime == null)
     {
         throw new InvalidDataException("EndTime is a required property for PreviousServicePackage and cannot be null");
     }
     else
     {
         this.EndTime = EndTime;
     }
     // to ensure "Expires" is required (not null)
     if (Expires == null)
     {
         throw new InvalidDataException("Expires is a required property for PreviousServicePackage and cannot be null");
     }
     else
     {
         this.Expires = Expires;
     }
     // to ensure "FirmwareUpdateCount" is required (not null)
     if (FirmwareUpdateCount == null)
     {
         throw new InvalidDataException("FirmwareUpdateCount is a required property for PreviousServicePackage and cannot be null");
     }
     else
     {
         this.FirmwareUpdateCount = FirmwareUpdateCount;
     }
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for PreviousServicePackage and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "Modified" is required (not null)
     if (Modified == null)
     {
         throw new InvalidDataException("Modified is a required property for PreviousServicePackage and cannot be null");
     }
     else
     {
         this.Modified = Modified;
     }
     // to ensure "Reason" is required (not null)
     if (Reason == null)
     {
         throw new InvalidDataException("Reason is a required property for PreviousServicePackage and cannot be null");
     }
     else
     {
         this.Reason = Reason;
     }
     // to ensure "StartTime" is required (not null)
     if (StartTime == null)
     {
         throw new InvalidDataException("StartTime is a required property for PreviousServicePackage and cannot be null");
     }
     else
     {
         this.StartTime = StartTime;
     }
     this.NextId     = NextId;
     this.PreviousId = PreviousId;
 }
Esempio n. 20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeviceHealthEvent" /> class.
 /// </summary>
 /// <param name="eventId">The id of the event..</param>
 /// <param name="locationId">The id of the location in which the event was triggered.  This field is not used or populated for user-level events.  Location id may also be sent in &#x60;ownerId&#x60; with &#x60;ownerType&#x60; &#x3D; &#x60;LOCATION&#x60;. .</param>
 /// <param name="ownerId">ID for what owns the device health event. Works in tandem with &#x60;ownerType&#x60; as a composite identifier..</param>
 /// <param name="ownerType">ownerType.</param>
 /// <param name="deviceId">The id of the device..</param>
 /// <param name="hubId">The id of the hub..</param>
 /// <param name="status">The status of the device. .</param>
 /// <param name="reason">The reason the device is offline. .</param>
 /// <param name="eventSource">eventSource.</param>
 public DeviceHealthEvent(string eventId = default(string), string locationId = default(string), string ownerId = default(string), EventOwnerType?ownerType = default(EventOwnerType?), string deviceId = default(string), string hubId = default(string), StatusEnum?status = default(StatusEnum?), ReasonEnum?reason = default(ReasonEnum?), DeviceEventSource?eventSource = default(DeviceEventSource?))
 {
     this.EventId     = eventId;
     this.LocationId  = locationId;
     this.OwnerId     = ownerId;
     this.OwnerType   = ownerType;
     this.DeviceId    = deviceId;
     this.HubId       = hubId;
     this.Status      = status;
     this.Reason      = reason;
     this.EventSource = eventSource;
 }
Esempio n. 21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PtsV2PayoutsPost201ResponseStatusInformation" /> class.
 /// </summary>
 /// <param name="Reason">The reason of the status. .</param>
 /// <param name="Message">The detail message related to the status and reason listed above. Possible value is:    - Transaction was successful.   - You must call the issuing bank to proceed with the transaction. .</param>
 public PtsV2PayoutsPost201ResponseStatusInformation(ReasonEnum?Reason = default(ReasonEnum?), string Message = default(string))
 {
     this.Reason  = Reason;
     this.Message = Message;
 }
Esempio n. 22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LeaveClaim" /> class.
 /// </summary>
 /// <param name="when">when.</param>
 /// <param name="reason">The reason for the leave claim.</param>
 public LeaveClaim(LeaveClaimWhen when = default(LeaveClaimWhen), ReasonEnum?reason = default(ReasonEnum?))
 {
     this.When   = when;
     this.Reason = reason;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SignatureTransaction" /> class.
 /// </summary>
 /// <param name="createdBy">The user created the Digital Signature Transaction.</param>
 /// <param name="documents">The _documents_ field is an array containing document objects, where everyone of them is defined as follows .</param>
 /// <param name="notAfter">Deadline of the Digital Signature Transaction, expressed in ISO format.</param>
 /// <param name="reason">The motivations for the cancellation may be:   - &#x60;CANNOT_DOWNLOAD_DOCUMENT&#x60;: Signing Today could not download the     document   - &#x60;INVALID_DOCUMENT&#x60;: The downloaded document is not valid   - &#x60;PROTECTED_DOCUMENT&#x60;: The document is protected by password   - &#x60;declined&#x60;: One of the documents has been refused   - &#x60;MOTIVAZIONE_ESPLICITA&#x60;: Rejected from the system with a custom     reason .</param>
 /// <param name="templateName">A label to indicate the template used to create the Digital Signature Transaction.</param>
 /// <param name="title">Title of the Digital Signature Transaction.</param>
 /// <param name="urlback">The url for the redirection from signature tray when the Digital Signature Transaction is completed or annulled.</param>
 public SignatureTransaction(string createdBy = default(string), List <Document1> documents = default(List <Document1>), string notAfter = default(string), ReasonEnum?reason = default(ReasonEnum?), string templateName = default(string), string title = default(string), string urlback = default(string))
 {
     this.CreatedBy    = createdBy;
     this.Documents    = documents;
     this.NotAfter     = notAfter;
     this.Reason       = reason;
     this.TemplateName = templateName;
     this.Title        = title;
     this.Urlback      = urlback;
 }
Esempio n. 24
0
        /// <summary>
        /// Initializes a new instance of the <see cref="StatusInfo" /> class.
        /// Initializes a new instance of the <see cref="StatusInfo" />class.
        /// </summary>
        /// <param name="Comment">A free-form user comment, describing the status change reason.</param>
        /// <param name="Reason">Type of suspension.</param>

        public StatusInfo(string Comment = null, ReasonEnum?Reason = null)
        {
            this.Comment = Comment;
            this.Reason  = Reason;
        }
Esempio n. 25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CondHclStatusDetail" /> class.
 /// </summary>
 /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param>
 /// <param name="Moid">A unique identifier of this Managed Object instance.  .</param>
 /// <param name="Owners">An array of owners which represent effective ownership of this object.   .</param>
 /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param>
 /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects.  .</param>
 /// <param name="VersionContext">The versioning info for this managed object   .</param>
 /// <param name="Component">specifies the component associated to this status detail HclStatusDetail (adapter or storage controller) .</param>
 /// <param name="HclCimcVersion">the current CIMC version for the server normalized for querying HCL data  .</param>
 /// <param name="HclDriverName">the current driver name of the component we are validating normalized for querying HCL data  .</param>
 /// <param name="HclDriverVersion">the current driver version of the component we are validating normalized for querying HCL data  .</param>
 /// <param name="HclFirmwareVersion">the current firmware version of the component model normalized for querying HCL data  .</param>
 /// <param name="HclModel">The component model we are trying to validate normalized for querying HCL data  .</param>
 /// <param name="HclStatus">HclStatus.</param>
 /// <param name="InvCimcVersion">the current CIMC version for the server as received from inventory  .</param>
 /// <param name="InvDriverName">the current driver name of the component we are validating as received from inventory  .</param>
 /// <param name="InvDriverVersion">the current driver version of the component we are validating as received from inventory  .</param>
 /// <param name="InvFirmwareVersion">the current firmware version of the component model as received from inventory  .</param>
 /// <param name="InvModel">The component model we are trying to validate as received from inventory  .</param>
 /// <param name="Reason">the reason for the status. The reason can be one of \&quot;Incompatible-Server-With-Component\&quot; - HCL validation has failed because the server model is not validated with this component \&quot;Incompatible-Processor\&quot; - HCL validation has failed because the processor is not validated with this component \&quot;Incompatible-Os-Info\&quot; - HCL validation has failed because the os vendor and version is not validated with this component \&quot;Incompatible-Component-Model\&quot; - HCL validation has failed because the component model is not validated \&quot;Incompatible-Firmware\&quot; - HCL validation has failed because the firmware version is not validated \&quot;Incompatible-Driver\&quot; - HCL validation has failed because the driver version is not validated \&quot;Incompatible-Firmware-Driver\&quot; - HCL validation has failed because the firmware version and driver version is not validated \&quot;Incompatible-Cimc-Version\&quot; - HCL validation has failed because the CIMC version is not validated with this component \&quot;Missing-Os-Driver-Info\&quot; - HCL validation was not performed because we are missing os driver information form device \&quot;Service-Unavailable\&quot; - HCL data service is unavailable at the moment (try again later). This could be due to HCL data updating \&quot;Service-Error\&quot; - HCL data service is available but an error occured when making the request or parsing the response. \&quot;Unrecognized-Protocol\&quot; - HCL service does not recognize the given driver protocol for this component. HCL data may need to be updated \&quot;Compatible\&quot; - this component&#39;s inventory data has \&quot;Validated\&quot; status with the HCL   (default to ReasonEnum.MissingOsDriverInfo).</param>
 /// <param name="Status">The status for the component model, firmware version, driver name, and driver version after validating against the HCL. The status can be one of the following \&quot;Unknown\&quot; - we do not have enough information to evaluate against the HCL data \&quot;Validated\&quot; - we have validated this component against the HCL and it has \&quot;Validated\&quot; status \&quot;Not-Validated\&quot; - we have validated this component against the HCL and it has \&quot;Not-Validated\&quot; status    (default to StatusEnum.Incomplete).</param>
 public CondHclStatusDetail(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), MoVersionContext VersionContext = default(MoVersionContext), InventoryBaseRef Component = default(InventoryBaseRef), string HclCimcVersion = default(string), string HclDriverName = default(string), string HclDriverVersion = default(string), string HclFirmwareVersion = default(string), string HclModel = default(string), CondHclStatusRef HclStatus = default(CondHclStatusRef), string InvCimcVersion = default(string), string InvDriverName = default(string), string InvDriverVersion = default(string), string InvFirmwareVersion = default(string), string InvModel = default(string), ReasonEnum?Reason = ReasonEnum.MissingOsDriverInfo, StatusEnum?Status = StatusEnum.Incomplete)
 {
     this.Ancestors          = Ancestors;
     this.Moid               = Moid;
     this.Owners             = Owners;
     this.Parent             = Parent;
     this.Tags               = Tags;
     this.VersionContext     = VersionContext;
     this.Component          = Component;
     this.HclCimcVersion     = HclCimcVersion;
     this.HclDriverName      = HclDriverName;
     this.HclDriverVersion   = HclDriverVersion;
     this.HclFirmwareVersion = HclFirmwareVersion;
     this.HclModel           = HclModel;
     this.HclStatus          = HclStatus;
     this.InvCimcVersion     = InvCimcVersion;
     this.InvDriverName      = InvDriverName;
     this.InvDriverVersion   = InvDriverVersion;
     this.InvFirmwareVersion = InvFirmwareVersion;
     this.InvModel           = InvModel;
     // use default value if no "Reason" provided
     if (Reason == null)
     {
         this.Reason = ReasonEnum.MissingOsDriverInfo;
     }
     else
     {
         this.Reason = Reason;
     }
     // use default value if no "Status" provided
     if (Status == null)
     {
         this.Status = StatusEnum.Incomplete;
     }
     else
     {
         this.Status = Status;
     }
 }
Esempio n. 26
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MarketOrderMarginCloseout" /> class.
 /// </summary>
 /// <param name="Reason">The reason the Market Order was created to perform a margin closeout.</param>
 public MarketOrderMarginCloseout(ReasonEnum?Reason = default(ReasonEnum?))
 {
     this.Reason = Reason;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CondHclStatus" /> class.
 /// </summary>
 /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param>
 /// <param name="Moid">A unique identifier of this Managed Object instance.  .</param>
 /// <param name="Owners">An array of owners which represent effective ownership of this object.   .</param>
 /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param>
 /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects.   .</param>
 /// <param name="Details">a collection of all the HclStatusDetails .</param>
 /// <param name="HclFirmwareVersion">the current CIMC version for the server normalized for querying HCL data  .</param>
 /// <param name="HclModel">the managed object&#39;s model to validate normalized for querying HCL data  .</param>
 /// <param name="HclOsVendor">the OS Vendor for the managed object to validate normalized for querying HCL data. Empty if we are missing this information  .</param>
 /// <param name="HclOsVersion">the OS Version for the managed object to validate normalized for querying HCL data. Empty if we are missing this information  .</param>
 /// <param name="HclProcessor">the managed object&#39;s processor to validate if applicable normalized for querying HCL data. It is left empty if processor is not required for the HCL validation, for example if we are evaluating some other managedObject that is not a server. Currently only server validation is supported.  .</param>
 /// <param name="InvFirmwareVersion">the current CIMC version for the server as received from inventory  .</param>
 /// <param name="InvModel">the managed object&#39;s model to validate as received from the inventory.  .</param>
 /// <param name="InvOsVendor">the OS Vendor for the managed object to validate as received from inventory. Empty if we are missing this information  .</param>
 /// <param name="InvOsVersion">the OS Version for the managed object to validate as received from inventory. Empty if we are missing this information  .</param>
 /// <param name="InvProcessor">the managed object&#39;s processor to validate if applicable as received from inventory. It is left empty if processor is not required for the HCL validation, for example if we are evaluating some other managedObject that is not a server. Currently only server validation is supported.  .</param>
 /// <param name="ManagedObject">specifies the managed object for which this HCLStatus applies .</param>
 /// <param name="Reason">the reason for the HCL status. It will be one of the following \&quot;Missing-Os-Info\&quot; - we are missing os information in the inventory from the device connector \&quot;Incompatible-Components\&quot; - we have 1 or more components with \&quot;Not-Validated\&quot; status \&quot;Compatible\&quot; - all the components have \&quot;Validated\&quot; status   (default to ReasonEnum.MissingOsInfo).</param>
 /// <param name="RegisteredDevice">Relationship to the registered device. We need this in order to correctly set permissions during device claim .</param>
 /// <param name="Status">the status of the managed objects compatibility against HCL. The status can be one of the following \&quot;Unknown\&quot; - we do not have enough information to evaluate against the HCL data \&quot;Validated\&quot; - we have validated all components against the HCL and they all have \&quot;Validated\&quot; status \&quot;Not-Validated\&quot; - we have validated all components against the HCL and 1 or more has \&quot;Not-Validated\&quot; status    (default to StatusEnum.Incomplete).</param>
 public CondHclStatus(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), List <CondHclStatusDetailRef> Details = default(List <CondHclStatusDetailRef>), string HclFirmwareVersion = default(string), string HclModel = default(string), string HclOsVendor = default(string), string HclOsVersion = default(string), string HclProcessor = default(string), string InvFirmwareVersion = default(string), string InvModel = default(string), string InvOsVendor = default(string), string InvOsVersion = default(string), string InvProcessor = default(string), InventoryBaseRef ManagedObject = default(InventoryBaseRef), ReasonEnum?Reason = ReasonEnum.MissingOsInfo, AssetDeviceRegistrationRef RegisteredDevice = default(AssetDeviceRegistrationRef), StatusEnum?Status = StatusEnum.Incomplete)
 {
     this.Ancestors          = Ancestors;
     this.Moid               = Moid;
     this.Owners             = Owners;
     this.Parent             = Parent;
     this.Tags               = Tags;
     this.Details            = Details;
     this.HclFirmwareVersion = HclFirmwareVersion;
     this.HclModel           = HclModel;
     this.HclOsVendor        = HclOsVendor;
     this.HclOsVersion       = HclOsVersion;
     this.HclProcessor       = HclProcessor;
     this.InvFirmwareVersion = InvFirmwareVersion;
     this.InvModel           = InvModel;
     this.InvOsVendor        = InvOsVendor;
     this.InvOsVersion       = InvOsVersion;
     this.InvProcessor       = InvProcessor;
     this.ManagedObject      = ManagedObject;
     // use default value if no "Reason" provided
     if (Reason == null)
     {
         this.Reason = ReasonEnum.MissingOsInfo;
     }
     else
     {
         this.Reason = Reason;
     }
     this.RegisteredDevice = RegisteredDevice;
     // use default value if no "Status" provided
     if (Status == null)
     {
         this.Status = StatusEnum.Incomplete;
     }
     else
     {
         this.Status = Status;
     }
 }