// Path: src/com/createsend/models/subscribers/ConsentToTrack.java
// public enum ConsentToTrack {
//   UNCHANGED("Unchanged"),
//   YES("Yes"),
//   NO("No");
// 
//   private String value;
// 
//   ConsentToTrack(String value) {
//     this.value = value;
//   }
// 
//   @JsonCreator
//   public static ConsentToTrack forValue(String value) {
//     for (ConsentToTrack type : ConsentToTrack.values()) {
//       if (type.value.toLowerCase().equals(value.toLowerCase())) {
//         return type;
//       }
//     }
// 
//     return null;
//   }
// }


import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.*;
import com.createsend.models.subscribers.ConsentToTrack;

/**
 * Copyright (c) 2015 Richard Bremner
 *
 *  Permission is hereby granted, free of charge, To any person obtaining a copy
 *  of this software and associated documentation files (the "Software"), To deal
 *  in the Software without restriction, including without limitation the rights
 *  To use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *  copies of the Software, and To permit persons To whom the Software is
 *  furnished To do so, subject To the following conditions:
 *
 *  The above copyright notice and this permission notice shall be included in
 *  all copies or substantial portions of the Software.
 *
 *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 *  THE SOFTWARE.
 */
package com.createsend.models.transactional.request;



public class SmartEmailRequest {
    @JsonIgnore
    private UUID smartEmailId;
    private List<String> to = new ArrayList<>();
    private List<String> cc = new ArrayList<>();
    private List<String> bcc = new ArrayList<>();
    private List<Attachment> attachments = new ArrayList<>();
    private Map<String, String> data = new HashMap<>();
    private boolean addRecipientsToList;

// Path: src/com/createsend/models/subscribers/ConsentToTrack.java
// public enum ConsentToTrack {
//   UNCHANGED("Unchanged"),
//   YES("Yes"),
//   NO("No");
// 
//   private String value;
// 
//   ConsentToTrack(String value) {
//     this.value = value;
//   }
// 
//   @JsonCreator
//   public static ConsentToTrack forValue(String value) {
//     for (ConsentToTrack type : ConsentToTrack.values()) {
//       if (type.value.toLowerCase().equals(value.toLowerCase())) {
//         return type;
//       }
//     }
// 
//     return null;
//   }
// }


// Path: src/com/createsend/models/transactional/request/SmartEmailRequest.java
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.*;
import com.createsend.models.subscribers.ConsentToTrack;

/**
 * Copyright (c) 2015 Richard Bremner
 *
 *  Permission is hereby granted, free of charge, To any person obtaining a copy
 *  of this software and associated documentation files (the "Software"), To deal
 *  in the Software without restriction, including without limitation the rights
 *  To use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *  copies of the Software, and To permit persons To whom the Software is
 *  furnished To do so, subject To the following conditions:
 *
 *  The above copyright notice and this permission notice shall be included in
 *  all copies or substantial portions of the Software.
 *
 *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 *  THE SOFTWARE.
 */
package com.createsend.models.transactional.request;



public class SmartEmailRequest {
    @JsonIgnore
    private UUID smartEmailId;
    private List<String> to = new ArrayList<>();
    private List<String> cc = new ArrayList<>();
    private List<String> bcc = new ArrayList<>();
    private List<Attachment> attachments = new ArrayList<>();
    private Map<String, String> data = new HashMap<>();
    private boolean addRecipientsToList;

    private ConsentToTrack consentToTrack;
