/* Options: Date: 2026-01-27 18:58:19 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://buildmax.org //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: PostConnections.* //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="/connections", Verbs="POST") public static class PostConnections implements IReturn { public String LoginCommand = null; public String LogoutCommand = null; public String Password = null; public String SaveCommand = null; public String UserName = null; public String getLoginCommand() { return LoginCommand; } public PostConnections setLoginCommand(String value) { this.LoginCommand = value; return this; } public String getLogoutCommand() { return LogoutCommand; } public PostConnections setLogoutCommand(String value) { this.LogoutCommand = value; return this; } public String getPassword() { return Password; } public PostConnections setPassword(String value) { this.Password = value; return this; } public String getSaveCommand() { return SaveCommand; } public PostConnections setSaveCommand(String value) { this.SaveCommand = value; return this; } public String getUserName() { return UserName; } public PostConnections setUserName(String value) { this.UserName = value; return this; } private static Object responseType = GetConnectionsResponse.class; public Object getResponseType() { return responseType; } } public static class GetConnectionsResponse { public ArrayList Connections = null; public Boolean IsAuthenticated = null; public ArrayList getConnections() { return Connections; } public GetConnectionsResponse setConnections(ArrayList value) { this.Connections = value; return this; } public Boolean getIsAuthenticated() { return IsAuthenticated; } public GetConnectionsResponse setIsAuthenticated(Boolean value) { this.IsAuthenticated = value; return this; } } public static interface IUser implements IIdTemplatesItem { public ReadOnlyCollection Groups = null; public String EmailAddress = null; public Boolean HasPassword = null; public String HomeFolder = null; public String Password = null; public Boolean SbcUser = null; } public static interface IConnectorConnection implements IStatus { public UUID ConnectorId = null; public String Description = null; public String Id = null; public Integer MaxConnections = null; public String Name = null; public ReadOnlyCollection Permissions = null; public ReadOnlyCollection PropertyDescriptions = null; public IUser SetupUser = null; } public static interface IStatus implements IInterface { public Boolean Status = null; } public static interface IInterface { } public static interface IUserGroup implements IIdTemplatesItem, IGroup { public ReadOnlyCollection Users = null; } public static interface IIdTemplatesItem implements IStatus { public String Id = null; public String Name = null; public String Description = null; public ReadOnlyCollection Templates = null; } public static interface IConnectionPermission implements IInterface { public Boolean Allow = null; public IConnectorConnection Connection = null; public PermissionType Type = null; } public static interface IConnectionPropertyDescription implements IInterface { public String Description = null; public String Name = null; public UUID PropertyId = null; public PropertyType PropertyType = null; } public static interface IGroup implements IInterface { public Boolean UseGroupSettings = null; } public static enum PermissionType { Group, User; } public static enum PropertyType { Binary(1), Boolean(2), ConnectionString(3), Credential(4), Integer(5), Picklist(6), String(7), OAuth2(8), Certificate(9); private final int value; PropertyType(final int intValue) { value = intValue; } public int getValue() { return value; } } }