Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApiResultRetentionCampaign" /> class.
 /// </summary>
 /// <param name="data">Generic data object. (required).</param>
 public RestApiResultRetentionCampaign(RetentionCampaign data = default(RetentionCampaign))
 {
     // to ensure "data" is required (not null)
     if (data == null)
     {
         throw new InvalidDataException("data is a required property for RestApiResultRetentionCampaign and cannot be null");
     }
     else
     {
         this.Data = data;
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RetentionCampaignDeletedEvent" /> class.
 /// </summary>
 /// <param name="eventName">The event name.</param>
 /// <param name="description">Description.</param>
 /// <param name="storeId">Store Id.</param>
 /// <param name="user">Info User.</param>
 /// <param name="retentionCampaign">The retention campaign.</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 RetentionCampaignDeletedEvent(string eventName = default(string), string description = default(string), int?storeId = default(int?), UserEventInfo user = default(UserEventInfo), RetentionCampaign retentionCampaign = default(RetentionCampaign), Guid?flipdishEventId = default(Guid?), DateTime?createTime = default(DateTime?), int?position = default(int?), string appId = default(string), string ipAddress = default(string))
 {
     this.EventName         = eventName;
     this.Description       = description;
     this.StoreId           = storeId;
     this.User              = user;
     this.RetentionCampaign = retentionCampaign;
     this.FlipdishEventId   = flipdishEventId;
     this.CreateTime        = createTime;
     this.Position          = position;
     this.AppId             = appId;
     this.IpAddress         = ipAddress;
 }