/* Options: Date: 2025-12-06 08:52:28 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: GetThunderBoltActions.* //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/actions", Verbs="GET") public static class GetThunderBoltActions extends ApiServiceRequest implements IReturn { private static Object responseType = GetThunderBoltActionsResponse.class; public Object getResponseType() { return responseType; } } 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; } } 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 class EnumOption { public Integer value = null; public String label = null; public Integer getValue() { return value; } public EnumOption setValue(Integer value) { this.value = value; return this; } public String getLabel() { return label; } public EnumOption setLabel(String value) { this.label = value; return this; } } public static class ThunderBoltActionData { public Integer id = null; public String actionName = null; public String color = null; public Integer dailyActionCount = null; public Boolean showNumberInput = null; public Boolean showEmailInput = null; public Boolean showPlatformInput = null; public Boolean showDateTimeInput = null; public ArrayList contactInteractionPlatforms = null; public Integer getId() { return id; } public ThunderBoltActionData setId(Integer value) { this.id = value; return this; } public String getActionName() { return actionName; } public ThunderBoltActionData setActionName(String value) { this.actionName = value; return this; } public String getColor() { return color; } public ThunderBoltActionData setColor(String value) { this.color = value; return this; } public Integer getDailyActionCount() { return dailyActionCount; } public ThunderBoltActionData setDailyActionCount(Integer value) { this.dailyActionCount = value; return this; } public Boolean isShowNumberInput() { return showNumberInput; } public ThunderBoltActionData setShowNumberInput(Boolean value) { this.showNumberInput = value; return this; } public Boolean isShowEmailInput() { return showEmailInput; } public ThunderBoltActionData setShowEmailInput(Boolean value) { this.showEmailInput = value; return this; } public Boolean isShowPlatformInput() { return showPlatformInput; } public ThunderBoltActionData setShowPlatformInput(Boolean value) { this.showPlatformInput = value; return this; } public Boolean isShowDateTimeInput() { return showDateTimeInput; } public ThunderBoltActionData setShowDateTimeInput(Boolean value) { this.showDateTimeInput = value; return this; } public ArrayList getContactInteractionPlatforms() { return contactInteractionPlatforms; } public ThunderBoltActionData setContactInteractionPlatforms(ArrayList value) { this.contactInteractionPlatforms = value; return this; } } public static class ThunderBoltActionEventData { public Integer id = null; public String createdDate = null; public Integer actionId = null; public String actionName = null; public String color = null; public String notes = null; public Integer getId() { return id; } public ThunderBoltActionEventData setId(Integer value) { this.id = value; return this; } public String getCreatedDate() { return createdDate; } public ThunderBoltActionEventData setCreatedDate(String value) { this.createdDate = value; return this; } public Integer getActionId() { return actionId; } public ThunderBoltActionEventData setActionId(Integer value) { this.actionId = value; return this; } public String getActionName() { return actionName; } public ThunderBoltActionEventData setActionName(String value) { this.actionName = value; return this; } public String getColor() { return color; } public ThunderBoltActionEventData setColor(String value) { this.color = value; return this; } public String getNotes() { return notes; } public ThunderBoltActionEventData setNotes(String value) { this.notes = value; return this; } } public static class ContactData { public Integer contactId = null; public String contactName = null; public String email = null; public String phoneNumber = null; public Integer getContactId() { return contactId; } public ContactData setContactId(Integer value) { this.contactId = value; return this; } public String getContactName() { return contactName; } public ContactData setContactName(String value) { this.contactName = value; return this; } public String getEmail() { return email; } public ContactData setEmail(String value) { this.email = value; return this; } public String getPhoneNumber() { return phoneNumber; } public ContactData setPhoneNumber(String value) { this.phoneNumber = value; return this; } } public static class ApiServiceResponse implements IServiceResponse { public String description = null; public String heading = null; public Boolean wasSuccessful = null; public Object modelState = null; public String getDescription() { return description; } public ApiServiceResponse setDescription(String value) { this.description = value; return this; } public String getHeading() { return heading; } public ApiServiceResponse setHeading(String value) { this.heading = value; return this; } public Boolean isWasSuccessful() { return wasSuccessful; } public ApiServiceResponse setWasSuccessful(Boolean value) { this.wasSuccessful = value; return this; } public Object getModelState() { return modelState; } public ApiServiceResponse setModelState(Object value) { this.modelState = value; return this; } } }