示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HydraSettingChangedEvent" /> class.
 /// </summary>
 /// <param name="user">User who made the change.</param>
 /// <param name="hydraConfig">Hydra configuration.</param>
 /// <param name="eventName">The event name.</param>
 /// <param name="flipdishEventId">The identitfier of the event.</param>
 /// <param name="createTime">The time of creation of the event.</param>
 /// <param name="position">Position.</param>
 /// <param name="appId">App id.</param>
 /// <param name="ipAddress">Ip Address.</param>
 public HydraSettingChangedEvent(UserEventInfo user = default(UserEventInfo), HydraConfig hydraConfig = default(HydraConfig), string eventName = default(string), Guid?flipdishEventId = default(Guid?), DateTime?createTime = default(DateTime?), int?position = default(int?), string appId = default(string), string ipAddress = default(string))
 {
     this.User            = user;
     this.HydraConfig     = hydraConfig;
     this.EventName       = eventName;
     this.FlipdishEventId = flipdishEventId;
     this.CreateTime      = createTime;
     this.Position        = position;
     this.AppId           = appId;
     this.IpAddress       = ipAddress;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApiResultHydraConfig" /> class.
 /// </summary>
 /// <param name="data">Generic data object. (required).</param>
 public RestApiResultHydraConfig(HydraConfig data = default(HydraConfig))
 {
     // to ensure "data" is required (not null)
     if (data == null)
     {
         throw new InvalidDataException("data is a required property for RestApiResultHydraConfig and cannot be null");
     }
     else
     {
         this.Data = data;
     }
 }