Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ItemsResponse" /> class.
 /// </summary>
 /// <param name="error">error.</param>
 /// <param name="items">items.</param>
 /// <param name="metadata">metadata.</param>
 /// <param name="success">Indicates if API call was successful.</param>
 /// <param name="warning">warning.</param>
 public ItemsResponse(Error error = default(Error), List <Item> items = default(List <Item>), ResponseMetadata metadata = default(ResponseMetadata), bool?success = default(bool?), Warning warning = default(Warning))
 {
     this.Error    = error;
     this.Items    = items;
     this.Metadata = metadata;
     this.Success  = success;
     this.Warning  = warning;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EmailListsResponse" /> class.
 /// </summary>
 /// <param name="error">error.</param>
 /// <param name="lists">lists.</param>
 /// <param name="metadata">metadata.</param>
 /// <param name="success">Indicates if API call was successful.</param>
 /// <param name="warning">warning.</param>
 public EmailListsResponse(Error error = default(Error), List <EmailList> lists = default(List <EmailList>), ResponseMetadata metadata = default(ResponseMetadata), bool?success = default(bool?), Warning warning = default(Warning))
 {
     this.Error    = error;
     this.Lists    = lists;
     this.Metadata = metadata;
     this.Success  = success;
     this.Warning  = warning;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupResponse" /> class.
 /// </summary>
 /// <param name="error">error.</param>
 /// <param name="group">group.</param>
 /// <param name="metadata">metadata.</param>
 /// <param name="success">Indicates if API call was successful.</param>
 /// <param name="warning">warning.</param>
 public GroupResponse(Error error = default(Error), Group group = default(Group), ResponseMetadata metadata = default(ResponseMetadata), bool?success = default(bool?), Warning warning = default(Warning))
 {
     this.Error    = error;
     this.Group    = group;
     this.Metadata = metadata;
     this.Success  = success;
     this.Warning  = warning;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EmailFlowFolderResponse" /> class.
 /// </summary>
 /// <param name="error">error.</param>
 /// <param name="flowFolder">flowFolder.</param>
 /// <param name="metadata">metadata.</param>
 /// <param name="success">Indicates if API call was successful.</param>
 /// <param name="warning">warning.</param>
 public EmailFlowFolderResponse(Error error = default(Error), EmailFlowFolder flowFolder = default(EmailFlowFolder), ResponseMetadata metadata = default(ResponseMetadata), bool?success = default(bool?), Warning warning = default(Warning))
 {
     this.Error      = error;
     this.FlowFolder = flowFolder;
     this.Metadata   = metadata;
     this.Success    = success;
     this.Warning    = warning;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CouponCodesRequest" /> class.
 /// </summary>
 /// <param name="error">error.</param>
 /// <param name="expirationDts">Expiration Date.</param>
 /// <param name="expirationSeconds">Expiration seconds.</param>
 /// <param name="metadata">metadata.</param>
 /// <param name="quantity">Quantity.</param>
 /// <param name="success">Indicates if API call was successful.</param>
 /// <param name="warning">warning.</param>
 public CouponCodesRequest(Error error = default(Error), string expirationDts = default(string), int?expirationSeconds = default(int?), ResponseMetadata metadata = default(ResponseMetadata), int?quantity = default(int?), bool?success = default(bool?), Warning warning = default(Warning))
 {
     this.Error             = error;
     this.ExpirationDts     = expirationDts;
     this.ExpirationSeconds = expirationSeconds;
     this.Metadata          = metadata;
     this.Quantity          = quantity;
     this.Success           = success;
     this.Warning           = warning;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UploadCouponCodesRequest" /> class.
 /// </summary>
 /// <param name="couponCodes">Coupon codes.</param>
 /// <param name="error">error.</param>
 /// <param name="metadata">metadata.</param>
 /// <param name="success">Indicates if API call was successful.</param>
 /// <param name="warning">warning.</param>
 public UploadCouponCodesRequest(List <string> couponCodes = default(List <string>), Error error = default(Error), ResponseMetadata metadata = default(ResponseMetadata), bool?success = default(bool?), Warning warning = default(Warning))
 {
     this.CouponCodes = couponCodes;
     this.Error       = error;
     this.Metadata    = metadata;
     this.Success     = success;
     this.Warning     = warning;
 }