/* Options: Date: 2026-04-02 04:05:45 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.imglobal.com/RestApi //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetProjects.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/translations/projects", Verbs="GET") public static class GetProjects implements IReturn>, IProjectsFilter { public Integer Skip = null; public Integer Take = null; public String OrderExpression = null; public String SearchText = null; public ArrayList Service = null; public ProjectStatus ProjectStatus = null; public String ActualSourceLanguage = null; public Boolean WithoutSourceLanguage = null; public Integer getSkip() { return Skip; } public GetProjects setSkip(Integer value) { this.Skip = value; return this; } public Integer getTake() { return Take; } public GetProjects setTake(Integer value) { this.Take = value; return this; } public String getOrderExpression() { return OrderExpression; } public GetProjects setOrderExpression(String value) { this.OrderExpression = value; return this; } public String getSearchText() { return SearchText; } public GetProjects setSearchText(String value) { this.SearchText = value; return this; } public ArrayList getService() { return Service; } public GetProjects setService(ArrayList value) { this.Service = value; return this; } public ProjectStatus getProjectStatus() { return ProjectStatus; } public GetProjects setProjectStatus(ProjectStatus value) { this.ProjectStatus = value; return this; } public String getActualSourceLanguage() { return ActualSourceLanguage; } public GetProjects setActualSourceLanguage(String value) { this.ActualSourceLanguage = value; return this; } public Boolean isWithoutSourceLanguage() { return WithoutSourceLanguage; } public GetProjects setWithoutSourceLanguage(Boolean value) { this.WithoutSourceLanguage = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static enum ProjectStatus { NotStarted, Started, Completed; } public static interface IProjectsFilter { public String SearchText = null; public ArrayList Service = null; public ProjectStatus ProjectStatus = null; public String ActualSourceLanguage = null; public Boolean WithoutSourceLanguage = null; } public static class ConnectorProxy { public String Name = null; public String Title = null; public Integer Count = null; public XliffProxy Xliff = null; public ArrayList SupportedLanguages = null; public String getName() { return Name; } public ConnectorProxy setName(String value) { this.Name = value; return this; } public String getTitle() { return Title; } public ConnectorProxy setTitle(String value) { this.Title = value; return this; } public Integer getCount() { return Count; } public ConnectorProxy setCount(Integer value) { this.Count = value; return this; } public XliffProxy getXliff() { return Xliff; } public ConnectorProxy setXliff(XliffProxy value) { this.Xliff = value; return this; } public ArrayList getSupportedLanguages() { return SupportedLanguages; } public ConnectorProxy setSupportedLanguages(ArrayList value) { this.SupportedLanguages = value; return this; } } public static class XliffProxy { public Boolean IsXliff = null; public Boolean IsFtp = null; public Boolean IsMachineTranslation = null; public Boolean getIsXliff() { return IsXliff; } public XliffProxy setIsXliff(Boolean value) { this.IsXliff = value; return this; } public Boolean getIsFtp() { return IsFtp; } public XliffProxy setIsFtp(Boolean value) { this.IsFtp = value; return this; } public Boolean getIsMachineTranslation() { return IsMachineTranslation; } public XliffProxy setIsMachineTranslation(Boolean value) { this.IsMachineTranslation = value; return this; } } public static class LanguagePairProxy { public LanguageProxy ActualSource = null; public LanguageProxy Target = null; public LanguageProxy getActualSource() { return ActualSource; } public LanguagePairProxy setActualSource(LanguageProxy value) { this.ActualSource = value; return this; } public LanguageProxy getTarget() { return Target; } public LanguagePairProxy setTarget(LanguageProxy value) { this.Target = value; return this; } } public static class LanguageProxy { public String Code = null; public String Name = null; public Integer Count = null; public String getCode() { return Code; } public LanguageProxy setCode(String value) { this.Code = value; return this; } public String getName() { return Name; } public LanguageProxy setName(String value) { this.Name = value; return this; } public Integer getCount() { return Count; } public LanguageProxy setCount(Integer value) { this.Count = value; return this; } } public static class ProjectProxy { public UUID Id = null; public String Title = null; public String Description = null; public Date StartDate = null; public Date DueDate = null; public Date DateSent = null; public Date DateCompleted = null; public String SentBy = null; public ConnectorProxy Connector = null; public String Status = null; public String PoReference = null; public LanguageProxy ActualSourceLanguage = null; public ArrayList TargetLanguages = null; public Integer TranslationsCount = null; public Boolean CanBeCompleted = null; public String ExternalId = null; public UUID getId() { return Id; } public ProjectProxy setId(UUID value) { this.Id = value; return this; } public String getTitle() { return Title; } public ProjectProxy setTitle(String value) { this.Title = value; return this; } public String getDescription() { return Description; } public ProjectProxy setDescription(String value) { this.Description = value; return this; } public Date getStartDate() { return StartDate; } public ProjectProxy setStartDate(Date value) { this.StartDate = value; return this; } public Date getDueDate() { return DueDate; } public ProjectProxy setDueDate(Date value) { this.DueDate = value; return this; } public Date getDateSent() { return DateSent; } public ProjectProxy setDateSent(Date value) { this.DateSent = value; return this; } public Date getDateCompleted() { return DateCompleted; } public ProjectProxy setDateCompleted(Date value) { this.DateCompleted = value; return this; } public String getSentBy() { return SentBy; } public ProjectProxy setSentBy(String value) { this.SentBy = value; return this; } public ConnectorProxy getConnector() { return Connector; } public ProjectProxy setConnector(ConnectorProxy value) { this.Connector = value; return this; } public String getStatus() { return Status; } public ProjectProxy setStatus(String value) { this.Status = value; return this; } public String getPoReference() { return PoReference; } public ProjectProxy setPoReference(String value) { this.PoReference = value; return this; } public LanguageProxy getActualSourceLanguage() { return ActualSourceLanguage; } public ProjectProxy setActualSourceLanguage(LanguageProxy value) { this.ActualSourceLanguage = value; return this; } public ArrayList getTargetLanguages() { return TargetLanguages; } public ProjectProxy setTargetLanguages(ArrayList value) { this.TargetLanguages = value; return this; } public Integer getTranslationsCount() { return TranslationsCount; } public ProjectProxy setTranslationsCount(Integer value) { this.TranslationsCount = value; return this; } public Boolean isCanBeCompleted() { return CanBeCompleted; } public ProjectProxy setCanBeCompleted(Boolean value) { this.CanBeCompleted = value; return this; } public String getExternalId() { return ExternalId; } public ProjectProxy setExternalId(String value) { this.ExternalId = value; return this; } } }