/* Options: Date: 2025-12-06 08:57:56 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cochraneplus-api-dev.happen.zone //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SubmitThunderBoltAction.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/thunderbolt/submit", Verbs="POST") public static class SubmitThunderBoltAction extends ApiServiceRequest implements IReturn { public Integer actionId = null; public ContactInteractionPlatform platform = null; public String number = null; public String email = null; public String notes = null; public Date dateTime = null; public Integer contactId = null; public Integer getActionId() { return actionId; } public SubmitThunderBoltAction setActionId(Integer value) { this.actionId = value; return this; } public ContactInteractionPlatform getPlatform() { return platform; } public SubmitThunderBoltAction setPlatform(ContactInteractionPlatform value) { this.platform = value; return this; } public String getNumber() { return number; } public SubmitThunderBoltAction setNumber(String value) { this.number = value; return this; } public String getEmail() { return email; } public SubmitThunderBoltAction setEmail(String value) { this.email = value; return this; } public String getNotes() { return notes; } public SubmitThunderBoltAction setNotes(String value) { this.notes = value; return this; } public Date getDateTime() { return dateTime; } public SubmitThunderBoltAction setDateTime(Date value) { this.dateTime = value; return this; } public Integer getContactId() { return contactId; } public SubmitThunderBoltAction setContactId(Integer value) { this.contactId = value; return this; } private static Object responseType = SubmitThunderBoltActionResponse.class; public Object getResponseType() { return responseType; } } public static class SubmitThunderBoltActionResponse extends GetThunderBoltActionsResponse { public Integer thunderboltActionEventId = null; public Integer getThunderboltActionEventId() { return thunderboltActionEventId; } public SubmitThunderBoltActionResponse setThunderboltActionEventId(Integer value) { this.thunderboltActionEventId = value; return this; } } public static class ApiServiceRequest implements IServiceRequest, IHasApiKey, IHasDeviceInfo { /** * The API Key required for authentication */ @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true) public String apiKey = null; /** * Latitude of the user making this request */ @ApiMember(DataType="double", Description="Latitude of the user making this request") public Double latitude = null; /** * Longitude of the user making this request */ @ApiMember(DataType="double", Description="Longitude of the user making this request") public Double longitude = null; public String getApiKey() { return apiKey; } public ApiServiceRequest setApiKey(String value) { this.apiKey = value; return this; } public Double getLatitude() { return latitude; } public ApiServiceRequest setLatitude(Double value) { this.latitude = value; return this; } public Double getLongitude() { return longitude; } public ApiServiceRequest setLongitude(Double value) { this.longitude = value; return this; } } public static interface IServiceRequest { } public static interface IHasApiKey { public String apiKey = null; } public static interface IHasDeviceInfo { } public static enum ContactInteractionPlatform { @SerializedName("0") None(0), @SerializedName("1") Whatsapp(1), @SerializedName("2") Linkus(2), @SerializedName("3") Mobile(3), @SerializedName("4") Outlook(4), @SerializedName("5") LinkedIn(5), @SerializedName("6") Telegram(6), @SerializedName("7") Signal(7), @SerializedName("8") Sms(8); private final int value; ContactInteractionPlatform(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class GetThunderBoltActionsResponse extends ApiServiceResponse { public Integer dailyActionsNumber = null; public Integer supportingDocumentProbability = null; public ArrayList thunderBoltActions = null; public ArrayList thunderBoltActionEvents = null; public ArrayList contacts = null; public Integer getDailyActionsNumber() { return dailyActionsNumber; } public GetThunderBoltActionsResponse setDailyActionsNumber(Integer value) { this.dailyActionsNumber = value; return this; } public Integer getSupportingDocumentProbability() { return supportingDocumentProbability; } public GetThunderBoltActionsResponse setSupportingDocumentProbability(Integer value) { this.supportingDocumentProbability = value; return this; } public ArrayList getThunderBoltActions() { return thunderBoltActions; } public GetThunderBoltActionsResponse setThunderBoltActions(ArrayList value) { this.thunderBoltActions = value; return this; } public ArrayList getThunderBoltActionEvents() { return thunderBoltActionEvents; } public GetThunderBoltActionsResponse setThunderBoltActionEvents(ArrayList value) { this.thunderBoltActionEvents = value; return this; } public ArrayList getContacts() { return contacts; } public GetThunderBoltActionsResponse setContacts(ArrayList value) { this.contacts = value; return this; } } }