diff --git a/.gitignore b/.gitignore index d064173..fb47e97 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,10 @@ pom.xml.versionsBackup target +# Maven Invoker +build.log +invoker-reports + # Eclipse .project .classpath @@ -11,5 +15,6 @@ target .factorypath # Swagger Codegen +src/gen .swagger-codegen .swagger-codegen-ignore diff --git a/pom-release.xml b/pom-release.xml new file mode 100644 index 0000000..41790ef --- /dev/null +++ b/pom-release.xml @@ -0,0 +1,247 @@ + + + 4.0.0 + + com.inteligr8.alfresco + acs-public-rest-api + 2.1-SNAPSHOT + pom + + Alfresco Content Services ReST API for Java + An ACS API library for building REST API clients that support both the CXF and Jersey frameworks + https://bitbucket.org/inteligr8/acs-public-rest-api + + + + GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007 + https://www.gnu.org/licenses/lgpl-3.0.txt + + + + + scm:git:https://bitbucket.org/inteligr8/acs-public-rest-api.git + scm:git:git@bitbucket.org:inteligr8/acs-public-rest-api.git + https://bitbucket.org/inteligr8/acs-public-rest-api + + + Inteligr8 + https://www.inteligr8.com + + + + brian.long + Brian Long + brian@inteligr8.com + https://twitter.com/brianmlong + + + + + UTF-8 + + + + + + maven-invoker-plugin + 3.3.0 + + + clean + package + + ${basedir}/invoker-reports + pom.xml + true + + + + acs51 + package + run + + + v51 + + + + + acs52 + package + run + + + v52 + + + + + acs60 + package + run + + + v60 + + + + + acs61 + package + run + + + v61 + + + + + acs62 + package + run + + + v62 + + + + + acs70 + package + run + + + v70 + + + + + acs71 + package + run + + + v71 + + + + + acs72 + package + run + + + v72 + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.3.0 + + + attach-artifacts + package + attach-artifact + + + + ${project.build.directory}/${project.artifactId}-${project.version}-javadoc.jar + javadoc + jar + + + ${project.build.directory}/${project.artifactId}-${project.version}-sources.jar + sources + jar + + + ${project.build.directory}/${project.artifactId}-${project.version}-acs51.jar + acs51 + jar + + + ${project.build.directory}/${project.artifactId}-${project.version}-acs52.jar + acs52 + jar + + + ${project.build.directory}/${project.artifactId}-${project.version}-acs60.jar + acs60 + jar + + + ${project.build.directory}/${project.artifactId}-${project.version}-acs61.jar + acs61 + jar + + + ${project.build.directory}/${project.artifactId}-${project.version}-acs62.jar + acs62 + jar + + + ${project.build.directory}/${project.artifactId}-${project.version}-acs70.jar + acs70 + jar + + + ${project.build.directory}/${project.artifactId}-${project.version}-acs71.jar + acs71 + jar + + + ${project.build.directory}/${project.artifactId}-${project.version}-acs72.jar + acs72 + jar + + + + + + + + maven-install-plugin + + pom.xml + + + + + + + + ossrh-release + + + + maven-gpg-plugin + + + sign + verify + sign + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + ossrh + https://s01.oss.sonatype.org/ + true + + + + + + + diff --git a/pom.xml b/pom.xml index 0921d64..41a1678 100644 --- a/pom.xml +++ b/pom.xml @@ -2,10 +2,39 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + com.inteligr8.alfresco acs-public-rest-api - 2.0-SNAPSHOT + 2.1-SNAPSHOT + Alfresco Content Services ReST API for Java + An ACS API library for building REST API clients that support both the CXF and Jersey frameworks + https://bitbucket.org/inteligr8/acs-public-rest-api + + + + GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007 + https://www.gnu.org/licenses/lgpl-3.0.txt + + + + + scm:git:https://bitbucket.org/inteligr8/acs-public-rest-api.git + scm:git:git@bitbucket.org:inteligr8/acs-public-rest-api.git + https://bitbucket.org/inteligr8/acs-public-rest-api + + + Inteligr8 + https://www.inteligr8.com + + + + brian.long + Brian Long + brian@inteligr8.com + https://twitter.com/brianmlong + + utf-8 @@ -13,16 +42,16 @@ 8 lines,vars,source - - http://localhost:8080/alfresco - acs7 com.inteligr8.alfresco.acs + + + false + false + false + false 2.35 3.4.7 - - false @@ -63,6 +92,200 @@ + + maven-clean-plugin + 3.1.0 + + + + src/gen/java + + com/inteligr8/alfresco/acs/**/* + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.3.0 + + + download-api-explorer + generate-sources + unpack + + org.alfresco:api-explorer:${alfresco.platform.version}:war + definitions/**/* + + + + + + io.swagger + swagger-codegen-maven-plugin + 2.4.21 + + jaxrs-cxf-client + ${basedir} + ${swagger.basePackage}.api + ${swagger.basePackage}.model + ${swagger.basePackage}.invoker + false + false + false + false + + + + swagger-core-codegen + generate-sources + + generate + + + ${project.build.directory}/dependency/definitions/alfresco-core.yaml + + + + swagger-search-codegen + generate-sources + + generate + + + ${api.search.disabled} + ${project.build.directory}/dependency/definitions/alfresco-search.yaml + + + + swagger-auth-codegen + generate-sources + + generate + + + ${api.auth.disabled} + ${project.build.directory}/dependency/definitions/alfresco-auth.yaml + + + + swagger-discovery-codegen + generate-sources + + generate + + + ${api.discovery.disabled} + ${project.build.directory}/dependency/definitions/alfresco-discovery.yaml + + + + swagger-model-codegen + generate-sources + + generate + + + ${api.model.disabled} + ${project.build.directory}/dependency/definitions/alfresco-model.yaml + + + + + + com.inteligr8 + regex-maven-plugin + 1.0.3 + + + fix-baseUrl + generate-sources + + replace-file + + + + + ${basedir}/src/gen/java/com/inteligr8/alfresco/acs/api + ${basedir}/src/gen/java/com/inteligr8/alfresco/acs/api + + + true + + + import org\.apache\.cxf\.jaxrs\.ext\.multipart\.\*;.* + + + + (\*\*Core API\*\*[^@]*)@Path\("/"\)([^@]*)@Api\(value = "/" + $1@Path("/api/-default-/public/alfresco/versions/1")$2@Api(value = "/api/-default-/public/alfresco/versions/1" + + + (\*\*Search API\*\*[^@]*)@Path\("/"\)([^@]*)@Api\(value = "/" + $1@Path("/api/-default-/public/search/versions/1")$2@Api(value = "/api/-default-/public/search/versions/1" + + + (\*\*Model API\*\*[^@]*)@Path\("/"\)([^@]*)@Api\(value = "/" + $1@Path("/api/-default-/public/alfresco/versions/1")$2@Api(value = "/api/-default-/public/alfresco/versions/1" + + + (\*\*Authentication API\*\*[^@]*)@Path\("/"\)([^@]*)@Api\(value = "/" + $1@Path("/api/-default-/public/authentication/versions/1")$2@Api(value = "/api/-default-/public/authentication/versions/1" + + + (\*\*Discovery API\*\*[^@]*)@Path\("/"\)([^@]*)@Api\(value = "/" + $1@Path("/api")$2@Api(value = "/api" + + + + + + add-ignoreUnknown + generate-sources + + replace-file + + + + + ${basedir}/src/gen/java/com/inteligr8/alfresco/acs/model + ${basedir}/src/gen/java/com/inteligr8/alfresco/acs/model + + + true + + + (\npublic class [A-Za-z][A-Za-z0-9]* ) + @com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)$1 + + + + + + + + net.revelc.code + impsort-maven-plugin + 1.6.2 + + + organize-imports + process-sources + sort + + + ${basedir}/src/gen/java + + + **/*.java + + true + + + + org.codehaus.mojo build-helper-maven-plugin @@ -70,7 +293,7 @@ add-gensrc - initialize + process-sources add-source @@ -88,6 +311,16 @@ ${acs.platform.tag} + + maven-source-plugin + + + source + package + jar-no-fork + + + maven-javadoc-plugin 3.3.2 @@ -98,6 +331,7 @@ jar public + -Xdoclint:none @@ -106,247 +340,324 @@ - - swagger-codegen + acs51 + + + acs + v51 + + - ${acs.baseUrl}/definitions + 5.1.0 + acs51 + true + true + true + true + + + + acs52 + + + acs + v52 + + + + 5.2.0 + acs52 + true - maven-clean-plugin - 3.1.0 - - - - src/gen/java - - com/inteligr8/alfresco/acs/**/* - - - - - - - com.googlecode.maven-download-plugin - download-maven-plugin - 1.6.3 + org.codehaus.mojo + build-helper-maven-plugin + 3.2.0 - download-acs-core-defs - generate-sources + add-acs70+-src + initialize - wget + add-source - ${acs.defs.baseUrl}/alfresco-core.yaml - ${project.build.directory}/downloads - - - - download-acs-search-defs - generate-sources - - wget - - - ${acs.defs.baseUrl}/alfresco-search.yaml - ${project.build.directory}/downloads - - - - download-acs-auth-defs - generate-sources - - wget - - - ${acs.defs.baseUrl}/alfresco-auth.yaml - ${project.build.directory}/downloads - - - - download-acs-discovery-defs - generate-sources - - wget - - - ${acs.defs.baseUrl}/alfresco-discovery.yaml - ${project.build.directory}/downloads - - - - download-acs-model-defs - generate-sources - - wget - - - ${acs.defs.baseUrl}/alfresco-model.yaml - ${project.build.directory}/downloads + + src/acs52+/java + + + + + + acs60 + + + acs + v60 + + + + 6.0.0-ea + acs60 + true + + + - io.swagger - swagger-codegen-maven-plugin - 2.4.21 - - jaxrs-cxf-client - ${basedir} - ${swagger.basePackage}.api - ${swagger.basePackage}.model - ${swagger.basePackage}.invoker - false - false - false - false - + org.codehaus.mojo + build-helper-maven-plugin + 3.2.0 - swagger-core-codegen - generate-sources + add-acs70+-src + initialize - generate + add-source - ${project.build.directory}/downloads/alfresco-core.yaml - - - - swagger-search-codegen - generate-sources - - generate - - - ${project.build.directory}/downloads/alfresco-search.yaml - - - - swagger-auth-codegen - generate-sources - - generate - - - ${project.build.directory}/downloads/alfresco-auth.yaml - - - - swagger-discovery-codegen - generate-sources - - generate - - - ${project.build.directory}/downloads/alfresco-discovery.yaml - - - - swagger-model-codegen - generate-sources - - generate - - - ${api.model.disabled} - ${project.build.directory}/downloads/alfresco-model.yaml + + src/acs52+/java + src/acs60+/java + + + + + + acs61 + + + acs + v61 + + + + 6.1.0 + acs61 + true + + + - com.inteligr8 - regex-maven-plugin - 1.0.3 + org.codehaus.mojo + build-helper-maven-plugin + 3.2.0 - fix-baseUrl - generate-sources + add-acs70+-src + initialize - replace-file + add-source - - - ${basedir}/src/gen/java/com/inteligr8/alfresco/acs/api - ${basedir}/src/gen/java/com/inteligr8/alfresco/acs/api - - - true - - - import org\.apache\.cxf\.jaxrs\.ext\.multipart\.\*;.* - - - - (\*\*Core API\*\*[^@]*)@Path\("/"\)([^@]*)@Api\(value = "/" - $1@Path("/api/-default-/public/alfresco/versions/1")$2@Api(value = "/api/-default-/public/alfresco/versions/1" - - - (\*\*Search API\*\*[^@]*)@Path\("/"\)([^@]*)@Api\(value = "/" - $1@Path("/api/-default-/public/search/versions/1")$2@Api(value = "/api/-default-/public/search/versions/1" - - - (\*\*Model API\*\*[^@]*)@Path\("/"\)([^@]*)@Api\(value = "/" - $1@Path("/api/-default-/public/alfresco/versions/1")$2@Api(value = "/api/-default-/public/alfresco/versions/1" - - - (\*\*Authentication API\*\*[^@]*)@Path\("/"\)([^@]*)@Api\(value = "/" - $1@Path("/api/-default-/public/authentication/versions/1")$2@Api(value = "/api/-default-/public/authentication/versions/1" - - - (\*\*Discovery API\*\*[^@]*)@Path\("/"\)([^@]*)@Api\(value = "/" - $1@Path("/api")$2@Api(value = "/api" - - - - - - add-ignoreUnknown - generate-sources - - replace-file - - - - - ${basedir}/src/gen/java/com/inteligr8/alfresco/acs/model - ${basedir}/src/gen/java/com/inteligr8/alfresco/acs/model - - - true - - - (\npublic class [A-Za-z][A-Za-z0-9]* \{) - @com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)$1 - - + + src/acs52+/java + src/acs60+/java + src/acs61+/java + + + + + + acs62 + + + acs + v62 + + + + 6.2.0 + acs62 + true + + + - net.revelc.code - impsort-maven-plugin - 1.6.2 + org.codehaus.mojo + build-helper-maven-plugin + 3.2.0 - organize-imports - process-sources - sort + add-acs70+-src + initialize + + add-source + - - ${basedir}/src/gen/java - - - **/*.java - - true + + src/acs52+/java + src/acs60+/java + src/acs61+/java + + + + + + + + + + acs70 + + + acs + v70 + + + + 7.0.0 + acs70 + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.2.0 + + + add-acs70+-src + initialize + + add-source + + + + src/acs52+/java + src/acs60+/java + src/acs61+/java + src/acs70+/java + + + + + + + + + + acs71 + + + acs + v71 + + + + 7.1.0 + acs71 + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.2.0 + + + add-acs70+-src + initialize + + add-source + + + + src/acs52+/java + src/acs60+/java + src/acs61+/java + src/acs70+/java + + + + + + + + + + acs72 + + + acs + v72 + + + + 7.2.0 + acs72 + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.2.0 + + + add-acs70+-src + initialize + + add-source + + + + src/acs52+/java + src/acs60+/java + src/acs61+/java + src/acs70+/java + + + + + + + + + + acsDefault + + + !acs + + + + 7.2.0 + acs72 + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.2.0 + + + add-acs70+-src + initialize + + add-source + + + + src/acs52+/java + src/acs60+/java + src/acs61+/java + src/acs70+/java + @@ -355,19 +666,11 @@ - + - inteligr8-releases - https://repos.inteligr8.com/nexus/repository/inteligr8-public - true - false - - - inteligr8-snapshots - https://repos.inteligr8.com/nexus/repository/inteligr8-snapshots - false - true + alfresco-public + https://artifacts.alfresco.com/nexus/content/groups/public @@ -376,20 +679,5 @@ mulesoft-releases https://repository.mulesoft.org/releases - - inteligr8-public - https://repos.inteligr8.com/nexus/repository/inteligr8-public - - - - - inteligr8-releases - https://repos.inteligr8.com/nexus/repository/inteligr8-public - - - inteligr8-snapshots - https://repos.inteligr8.com/nexus/repository/inteligr8-snapshots - - diff --git a/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestApi.java b/src/acs52+/java/com/inteligr8/alfresco/acs/Acs52PublicRestApi.java similarity index 75% rename from src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestApi.java rename to src/acs52+/java/com/inteligr8/alfresco/acs/Acs52PublicRestApi.java index 5de7522..9ed18dd 100644 --- a/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestApi.java +++ b/src/acs52+/java/com/inteligr8/alfresco/acs/Acs52PublicRestApi.java @@ -1,20 +1,28 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs; -import com.inteligr8.alfresco.acs.api.ActionsApi; import com.inteligr8.alfresco.acs.api.ActivitiesApi; -import com.inteligr8.alfresco.acs.api.AspectsApi; -import com.inteligr8.alfresco.acs.api.AuditApi; import com.inteligr8.alfresco.acs.api.AuthenticationApi; import com.inteligr8.alfresco.acs.api.CommentsApi; import com.inteligr8.alfresco.acs.api.DiscoveryApi; -import com.inteligr8.alfresco.acs.api.DownloadsApi; import com.inteligr8.alfresco.acs.api.FavoritesApi; -import com.inteligr8.alfresco.acs.api.GroupsApi; import com.inteligr8.alfresco.acs.api.NetworksApi; import com.inteligr8.alfresco.acs.api.NodesApi; import com.inteligr8.alfresco.acs.api.PeopleApi; import com.inteligr8.alfresco.acs.api.PreferencesApi; -import com.inteligr8.alfresco.acs.api.ProbesApi; import com.inteligr8.alfresco.acs.api.QueriesApi; import com.inteligr8.alfresco.acs.api.RatingsApi; import com.inteligr8.alfresco.acs.api.RenditionsApi; @@ -23,7 +31,6 @@ import com.inteligr8.alfresco.acs.api.SharedLinksApi; import com.inteligr8.alfresco.acs.api.SitesApi; import com.inteligr8.alfresco.acs.api.TagsApi; import com.inteligr8.alfresco.acs.api.TrashcanApi; -import com.inteligr8.alfresco.acs.api.TypesApi; import com.inteligr8.alfresco.acs.api.V0Api; import com.inteligr8.alfresco.acs.api.VersionsApi; @@ -33,26 +40,14 @@ import com.inteligr8.alfresco.acs.api.VersionsApi; * * @author brian@inteligr8.com */ -public interface AcsPublicRestApi { +public interface Acs52PublicRestApi extends Acs51PublicRestApi { T getApi(Class apiClass); - default ActionsApi getActionsApi() { - return this.getApi(ActionsApi.class); - } - default ActivitiesApi getActivitiesApi() { return this.getApi(ActivitiesApi.class); } - default AspectsApi getAspectsApi() { - return this.getApi(AspectsApi.class); - } - - default AuditApi getAuditApi() { - return this.getApi(AuditApi.class); - } - default AuthenticationApi getAuthenticationApi() { return this.getApi(AuthenticationApi.class); } @@ -65,18 +60,10 @@ public interface AcsPublicRestApi { return this.getApi(DiscoveryApi.class); } - default DownloadsApi getDownloadsApi() { - return this.getApi(DownloadsApi.class); - } - default FavoritesApi getFavoritesApi() { return this.getApi(FavoritesApi.class); } - default GroupsApi getGroupsApi() { - return this.getApi(GroupsApi.class); - } - default NetworksApi getNetworksApi() { return this.getApi(NetworksApi.class); } @@ -93,10 +80,6 @@ public interface AcsPublicRestApi { return this.getApi(PreferencesApi.class); } - default ProbesApi getProbesApi() { - return this.getApi(ProbesApi.class); - } - default QueriesApi getQueriesApi() { return this.getApi(QueriesApi.class); } @@ -129,10 +112,6 @@ public interface AcsPublicRestApi { return this.getApi(TrashcanApi.class); } - default TypesApi getTypesApi() { - return this.getApi(TypesApi.class); - } - default VersionsApi getVersionsApi() { return this.getApi(VersionsApi.class); } diff --git a/src/acs52+/java/com/inteligr8/alfresco/acs/Acs52PublicRestCxfApi.java b/src/acs52+/java/com/inteligr8/alfresco/acs/Acs52PublicRestCxfApi.java new file mode 100644 index 0000000..fe339d8 --- /dev/null +++ b/src/acs52+/java/com/inteligr8/alfresco/acs/Acs52PublicRestCxfApi.java @@ -0,0 +1,32 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ +package com.inteligr8.alfresco.acs; + +import com.inteligr8.alfresco.acs.api.NodesCxfApi; + +/** + * This interface appends Apache CXF implementation specific methods to the + * JAX-RS API of the ACS Public ReST API. This is due to a lack of multi-part + * in the JAX-RS specification. + * + * @author brian@inteligr8.com + */ +public interface Acs52PublicRestCxfApi extends Acs52PublicRestApi { + + default NodesCxfApi getNodesExtApi() { + return this.getApi(NodesCxfApi.class); + } + +} diff --git a/src/acs52+/java/com/inteligr8/alfresco/acs/Acs52PublicRestJerseyApi.java b/src/acs52+/java/com/inteligr8/alfresco/acs/Acs52PublicRestJerseyApi.java new file mode 100644 index 0000000..599b808 --- /dev/null +++ b/src/acs52+/java/com/inteligr8/alfresco/acs/Acs52PublicRestJerseyApi.java @@ -0,0 +1,32 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ +package com.inteligr8.alfresco.acs; + +import com.inteligr8.alfresco.acs.api.NodesJerseyApi; + +/** + * This interface appends Jersey implementation specific methods to the + * JAX-RS API of the ACS Public ReST API. This is due to a lack of multi-part + * in the JAX-RS specification. + * + * @author brian@inteligr8.com + */ +public interface Acs52PublicRestJerseyApi extends Acs52PublicRestApi { + + default NodesJerseyApi getNodesExtApi() { + return this.getApi(NodesJerseyApi.class); + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/acs/api/NodesCxfApi.java b/src/acs52+/java/com/inteligr8/alfresco/acs/api/NodesCxfApi.java similarity index 86% rename from src/main/java/com/inteligr8/alfresco/acs/api/NodesCxfApi.java rename to src/acs52+/java/com/inteligr8/alfresco/acs/api/NodesCxfApi.java index 3221254..b1e1043 100644 --- a/src/main/java/com/inteligr8/alfresco/acs/api/NodesCxfApi.java +++ b/src/acs52+/java/com/inteligr8/alfresco/acs/api/NodesCxfApi.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.api; import javax.ws.rs.Consumes; diff --git a/src/main/java/com/inteligr8/alfresco/acs/api/NodesJerseyApi.java b/src/acs52+/java/com/inteligr8/alfresco/acs/api/NodesJerseyApi.java similarity index 77% rename from src/main/java/com/inteligr8/alfresco/acs/api/NodesJerseyApi.java rename to src/acs52+/java/com/inteligr8/alfresco/acs/api/NodesJerseyApi.java index a2e492e..c4d7f0f 100644 --- a/src/main/java/com/inteligr8/alfresco/acs/api/NodesJerseyApi.java +++ b/src/acs52+/java/com/inteligr8/alfresco/acs/api/NodesJerseyApi.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.api; import javax.ws.rs.Consumes; diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartCxf.java b/src/acs52+/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartCxf.java similarity index 79% rename from src/main/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartCxf.java rename to src/acs52+/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartCxf.java index 663c668..ac9714d 100644 --- a/src/main/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartCxf.java +++ b/src/acs52+/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartCxf.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model; import java.io.ByteArrayInputStream; @@ -18,6 +32,11 @@ import org.slf4j.LoggerFactory; import com.fasterxml.jackson.databind.ObjectMapper; +/** + * A CXF utility implementation of the CXF MultipartBody. + * + * @author brian@inteligr8.com + */ public class NodeBodyCreateMultipartCxf extends MultipartBody { private static final Logger logger = LoggerFactory.getLogger(NodeBodyCreateMultipartCxf.class); @@ -71,9 +90,8 @@ public class NodeBodyCreateMultipartCxf extends MultipartBody { if (nodeBody.getAspectNames() != null && !nodeBody.getAspectNames().isEmpty()) logger.warn("The ACS Public REST API does not support the explicit inclusion of aspects while creating content"); if (nodeBody.getProperties() != null) { - @SuppressWarnings("unchecked") - Map props = (Map)nodeBody.getProperties(); - for (Entry prop : props.entrySet()) { + Map props = (Map)nodeBody.getProperties(); + for (Entry prop : props.entrySet()) { if (prop.getValue() != null) { // FIXME convert dates as ACS would expect them to be formatted atts.add(toAttachment(prop.getKey(), prop.getValue().toString())); diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartJersey.java b/src/acs52+/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartJersey.java similarity index 78% rename from src/main/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartJersey.java rename to src/acs52+/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartJersey.java index 4411293..7ce3c87 100644 --- a/src/main/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartJersey.java +++ b/src/acs52+/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateMultipartJersey.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model; import java.io.IOException; @@ -19,6 +33,11 @@ import org.slf4j.LoggerFactory; import com.fasterxml.jackson.databind.ObjectMapper; +/** + * A Jersey utility implementation of the Jersey FormDataMultiPart. + * + * @author brian@inteligr8.com + */ public class NodeBodyCreateMultipartJersey extends FormDataMultiPart { private static final Logger logger = LoggerFactory.getLogger(NodeBodyCreateMultipartJersey.class); @@ -67,9 +86,8 @@ public class NodeBodyCreateMultipartJersey extends FormDataMultiPart { if (nodeBody.getAspectNames() != null && !nodeBody.getAspectNames().isEmpty()) logger.warn("The ACS Public REST API does not support the explicit inclusion of aspects while creating content"); if (nodeBody.getProperties() != null) { - @SuppressWarnings("unchecked") - Map props = (Map)nodeBody.getProperties(); - for (Entry prop : props.entrySet()) { + Map props = (Map)nodeBody.getProperties(); + for (Entry prop : props.entrySet()) { if (prop.getValue() != null) { // FIXME convert dates as ACS would expect them to be formatted fields.add(new FormDataBodyPart(prop.getKey(), prop.getValue().toString())); diff --git a/src/acs60+/java/com/inteligr8/alfresco/acs/Acs60PublicRestApi.java b/src/acs60+/java/com/inteligr8/alfresco/acs/Acs60PublicRestApi.java new file mode 100644 index 0000000..d0d8990 --- /dev/null +++ b/src/acs60+/java/com/inteligr8/alfresco/acs/Acs60PublicRestApi.java @@ -0,0 +1,41 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ +package com.inteligr8.alfresco.acs; + +import com.inteligr8.alfresco.acs.api.AuditApi; +import com.inteligr8.alfresco.acs.api.DownloadsApi; +import com.inteligr8.alfresco.acs.api.GroupsApi; + +/** + * This interface consolidates the JAX-RS APIs available in the ACS Public + * ReST API. + * + * @author brian@inteligr8.com + */ +public interface Acs60PublicRestApi extends Acs52PublicRestApi { + + default AuditApi getAuditApi() { + return this.getApi(AuditApi.class); + } + + default DownloadsApi getDownloadsApi() { + return this.getApi(DownloadsApi.class); + } + + default GroupsApi getGroupsApi() { + return this.getApi(GroupsApi.class); + } + +} diff --git a/src/acs61+/java/com/inteligr8/alfresco/acs/Acs61PublicRestApi.java b/src/acs61+/java/com/inteligr8/alfresco/acs/Acs61PublicRestApi.java new file mode 100644 index 0000000..a710dda --- /dev/null +++ b/src/acs61+/java/com/inteligr8/alfresco/acs/Acs61PublicRestApi.java @@ -0,0 +1,36 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ +package com.inteligr8.alfresco.acs; + +import com.inteligr8.alfresco.acs.api.ActionsApi; +import com.inteligr8.alfresco.acs.api.ProbesApi; + +/** + * This interface consolidates the JAX-RS APIs available in the ACS Public + * ReST API. + * + * @author brian@inteligr8.com + */ +public interface Acs61PublicRestApi extends Acs60PublicRestApi { + + default ActionsApi getActionsApi() { + return this.getApi(ActionsApi.class); + } + + default ProbesApi getProbesApi() { + return this.getApi(ProbesApi.class); + } + +} diff --git a/src/acs70+/java/com/inteligr8/alfresco/acs/Acs70PublicRestApi.java b/src/acs70+/java/com/inteligr8/alfresco/acs/Acs70PublicRestApi.java new file mode 100644 index 0000000..ba52d44 --- /dev/null +++ b/src/acs70+/java/com/inteligr8/alfresco/acs/Acs70PublicRestApi.java @@ -0,0 +1,36 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ +package com.inteligr8.alfresco.acs; + +import com.inteligr8.alfresco.acs.api.AspectsApi; +import com.inteligr8.alfresco.acs.api.TypesApi; + +/** + * This interface consolidates the JAX-RS APIs available in the ACS Public + * ReST API. + * + * @author brian@inteligr8.com + */ +public interface Acs70PublicRestApi extends Acs61PublicRestApi { + + default AspectsApi getAspectsApi() { + return this.getApi(AspectsApi.class); + } + + default TypesApi getTypesApi() { + return this.getApi(TypesApi.class); + } + +} diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/ActionsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/ActionsApi.java deleted file mode 100644 index 0e287bb..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/ActionsApi.java +++ /dev/null @@ -1,99 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.ActionBodyExec; -import com.inteligr8.alfresco.acs.model.ActionDefinitionEntry; -import com.inteligr8.alfresco.acs.model.ActionDefinitionList; -import com.inteligr8.alfresco.acs.model.ActionExecResultEntry; -import com.inteligr8.alfresco.acs.model.Error; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface ActionsApi { - - /** - * Retrieve the details of an action definition - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Retrieve the details of the action denoted by **actionDefinitionId**. - * - */ - @GET - @Path("/action-definitions/{actionDefinitionId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Retrieve the details of an action definition", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = ActionDefinitionEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**actionDefinitionId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public ActionDefinitionEntry actionDetails(@PathParam("actionDefinitionId") String actionDefinitionId); - - /** - * Execute an action - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Executes an action An action may be executed against a node specified by **targetId**. For example: ``` { \"actionDefinitionId\": \"copy\", \"targetId\": \"4c4b3c43-f18b-43ff-af84-751f16f1ddfd\", \"params\": { \"destination-folder\": \"34219f79-66fa-4ebf-b371-118598af898c\" } } ``` Performing a POST with the request body shown above will result in the node identified by ```targetId``` being copied to the destination folder specified in the ```params``` object by the key ```destination-folder```. **targetId** is optional, however, currently **targetId** must be a valid node ID. In the future, actions may be executed against different entity types or executed without the need for the context of an entity. Parameters supplied to the action within the ```params``` object will be converted to the expected type, where possible using the DefaultTypeConverter class. In addition: * Node IDs may be supplied in their short form (implicit workspace://SpacesStore prefix) * Aspect names may be supplied using their short form, e.g. cm:versionable or cm:auditable In this example, we add the aspect ```cm:versionable``` to a node using the QName resolution mentioned above: ``` { \"actionDefinitionId\": \"add-features\", \"targetId\": \"16349e3f-2977-44d1-93f2-73c12b8083b5\", \"params\": { \"aspect-name\": \"cm:versionable\" } } ``` The ```actionDefinitionId``` is the ```id``` of an action definition as returned by the _list actions_ operations (e.g. GET /action-definitions). The action will be executed **asynchronously** with a `202` HTTP response signifying that the request has been accepted successfully. The response body contains the unique ID of the action pending execution. The ID may be used, for example to correlate an execution with output in the server logs. - * - */ - @POST - @Path("/action-executions") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Execute an action", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 202, message = "Action execution request accepted and pending execution. ", response = ActionExecResultEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **actionDefinitionId** missing but required by the action "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**actionDefinitionId** or **targetId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public ActionExecResultEntry actionExec(ActionBodyExec actionBodyExec); - - /** - * Retrieve list of available actions - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Gets a list of all available actions The default sort order for the returned list is for actions to be sorted by ascending name. You can override the default by using the **orderBy** parameter. You can use any of the following fields to order the results: * name * title - * - */ - @GET - @Path("/action-definitions") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Retrieve list of available actions", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = ActionDefinitionList.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems**, **skipCount** or **orderBy** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public ActionDefinitionList listActions(@QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("orderBy")List orderBy, @QueryParam("fields")List fields); - - /** - * Retrieve actions for a node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Retrieve the list of actions that may be executed against the given **nodeId**. The default sort order for the returned list is for actions to be sorted by ascending name. You can override the default by using the **orderBy** parameter. You can use any of the following fields to order the results: * name * title - * - */ - @GET - @Path("/nodes/{nodeId}/action-definitions") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Retrieve actions for a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = ActionDefinitionList.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems**, **skipCount** or **orderBy** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public ActionDefinitionList nodeActions(@PathParam("nodeId") String nodeId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("orderBy")List orderBy, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/ActivitiesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/ActivitiesApi.java deleted file mode 100644 index 0f5c5bf..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/ActivitiesApi.java +++ /dev/null @@ -1,42 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.ActivityPaging; -import com.inteligr8.alfresco.acs.model.Error; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface ActivitiesApi { - - /** - * List activities - * - * Gets a list of activities for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}/activities") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List activities", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = ActivityPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems**, **skipCount**, or **who** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have access to the activities for **personId**"), - @ApiResponse(code = 404, message = "**personId** or **siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public ActivityPaging listActivitiesForPerson(@PathParam("personId") String personId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("who")String who, @QueryParam("siteId")String siteId, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/AspectsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/AspectsApi.java deleted file mode 100644 index 5f8037a..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/AspectsApi.java +++ /dev/null @@ -1,59 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.AspectEntry; -import com.inteligr8.alfresco.acs.model.AspectPaging; -import com.inteligr8.alfresco.acs.model.Error; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Model API** Provides access to the model features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface AspectsApi { - - /** - * Get an aspect - * - * **Note:** This is available in Alfresco 7.0.0 and newer versions. Get information for aspect **aspectId**. - * - */ - @GET - @Path("/aspects/{aspectId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get an aspect", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = AspectEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: unknown aspectId scheme specified "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**aspectId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public AspectEntry getAspect(@PathParam("aspectId") String aspectId); - - /** - * List aspects - * - * **Note:** This is available in Alfresco 7.0.0 and newer versions. Gets a list of aspects from the data dictionary. The System aspects will be ignored by default. ```JSON { \"list\": { \"pagination\": { \"count\": 0, \"hasMoreItems\": true, \"totalItems\": 0, \"skipCount\": 0, \"maxItems\": 0 }, \"entries\": [ { \"entry\": { \"associations\": [], \"mandatoryAspects\": [], \"includedInSupertypeQuery\": true, \"description\": \"Titled\", \"isContainer\": false, \"model\": { \"id\": \"cm:contentmodel\", \"author\": \"Alfresco\", \"description\": \"Alfresco Content Domain Model\", \"namespaceUri\": \"http://www.alfresco.org/model/content/1.0\", \"namespacePrefix\": \"cm\" }, \"id\": \"cm:titled\", \"title\": \"Titled\", \"properties\": [ { \"id\": \"cm:title\", \"title\": \"Title\", \"description\": \"Content Title\", \"dataType\": \"d:mltext\", \"isMultiValued\": false, \"isMandatory\": false, \"isMandatoryEnforced\": false, \"isProtected\": false }, { ... } ] } }, { \"entry\": { ... } }, { \"entry\": { ... } }, ] } } ``` - * - */ - @GET - @Path("/aspects") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List aspects", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = AspectPaging.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public AspectPaging listAspects(@QueryParam("where")String where, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("include")List include); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/AuditApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/AuditApi.java deleted file mode 100644 index 7574896..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/AuditApi.java +++ /dev/null @@ -1,193 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.AuditApp; -import com.inteligr8.alfresco.acs.model.AuditAppPaging; -import com.inteligr8.alfresco.acs.model.AuditBodyUpdate; -import com.inteligr8.alfresco.acs.model.AuditEntryEntry; -import com.inteligr8.alfresco.acs.model.AuditEntryPaging; -import com.inteligr8.alfresco.acs.model.Error; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface AuditApi { - - /** - * Permanently delete audit entries for an audit application - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Permanently delete audit entries for an audit application **auditApplicationId**. The **where** clause must be specified, either with an inclusive time period or for an inclusive range of ids. The delete is within the context of the given audit application. For example: * ```where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')``` * ```where=(id BETWEEN ('1234', '4321')``` You must have admin rights to delete audit information. - * - */ - @DELETE - @Path("/audit-applications/{auditApplicationId}/audit-entries") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Permanently delete audit entries for an audit application", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: **auditApplicationId** is not a valid format or invalid **where** "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to delete audit information"), - @ApiResponse(code = 404, message = "**auditApplicationId** does not exist "), - @ApiResponse(code = 501, message = "Audit is disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteAuditEntriesForAuditApp(@PathParam("auditApplicationId") String auditApplicationId, @QueryParam("where")String where); - - /** - * Permanently delete an audit entry - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Permanently delete a single audit entry **auditEntryId**. You must have admin rights to delete audit information. - * - */ - @DELETE - @Path("/audit-applications/{auditApplicationId}/audit-entries/{auditEntryId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Permanently delete an audit entry", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: **auditApplicationId** or **auditEntryId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to delete audit information"), - @ApiResponse(code = 404, message = "**auditApplicationId** or **auditEntryId** does not exist "), - @ApiResponse(code = 501, message = "Audit is disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteAuditEntry(@PathParam("auditApplicationId") String auditApplicationId, @PathParam("auditEntryId") String auditEntryId); - - /** - * Get audit application info - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Get status of an audit application **auditApplicationId**. You must have admin rights to retrieve audit information. You can use the **include** parameter to return the minimum and/or maximum audit record id for the application. - * - */ - @GET - @Path("/audit-applications/{auditApplicationId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get audit application info", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = AuditApp.class), - @ApiResponse(code = 400, message = "Invalid parameter: invalid **auditApplicationId** "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to retrieve audit information"), - @ApiResponse(code = 404, message = "**applicationId** does not exist "), - @ApiResponse(code = 501, message = "Audit is disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public AuditApp getAuditApp(@PathParam("auditApplicationId") String auditApplicationId, @QueryParam("fields")List fields, @QueryParam("include")List include); - - /** - * Get audit entry - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Gets audit entry **auditEntryId**. You must have admin rights to access audit information. - * - */ - @GET - @Path("/audit-applications/{auditApplicationId}/audit-entries/{auditEntryId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get audit entry", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = AuditEntryEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **auditApplicationId** or **auditEntryId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to retrieve audit information"), - @ApiResponse(code = 404, message = "**auditApplicationId** or **auditEntryId** does not exist "), - @ApiResponse(code = 501, message = "Audit is disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public AuditEntryEntry getAuditEntry(@PathParam("auditApplicationId") String auditApplicationId, @PathParam("auditEntryId") String auditEntryId, @QueryParam("fields")List fields); - - /** - * List audit applications - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Gets a list of audit applications in this repository. This list may include pre-configured audit applications, if enabled, such as: * alfresco-access * CMISChangeLog * Alfresco Tagging Service * Alfresco Sync Service (used by Enterprise Cloud Sync) You must have admin rights to retrieve audit information. - * - */ - @GET - @Path("/audit-applications") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List audit applications", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = AuditAppPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to retrieve audit information"), - @ApiResponse(code = 501, message = "Audit is disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public AuditAppPaging listAuditApps(@QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields); - - /** - * List audit entries for an audit application - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Gets a list of audit entries for audit application **auditApplicationId**. You can use the **include** parameter to return additional **values** information. The list can be filtered by one or more of: * **createdByUser** person id * **createdAt** inclusive time period * **id** inclusive range of ids * **valuesKey** audit entry values contains the exact matching key * **valuesValue** audit entry values contains the exact matching value The default sort order is **createdAt** ascending, but you can use an optional **ASC** or **DESC** modifier to specify an ascending or descending sort order. For example, specifying ```orderBy=createdAt DESC``` returns audit entries in descending **createdAt** order. You must have admin rights to retrieve audit information. - * - */ - @GET - @Path("/audit-applications/{auditApplicationId}/audit-entries") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List audit entries for an audit application", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = AuditEntryPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: *auditApplicationId** is not a valid format, value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to retrieve audit information"), - @ApiResponse(code = 404, message = "**applicationId** does not exist "), - @ApiResponse(code = 501, message = "Audit is disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public AuditEntryPaging listAuditEntriesForAuditApp(@PathParam("auditApplicationId") String auditApplicationId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("omitTotalItems")@DefaultValue("false") Boolean omitTotalItems, @QueryParam("orderBy")List orderBy, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("where")String where, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * List audit entries for a node - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Gets a list of audit entries for node **nodeId**. The list can be filtered by **createdByUser** and for a given inclusive time period. The default sort order is **createdAt** ascending, but you can use an optional **ASC** or **DESC** modifier to specify an ascending or descending sort order. For example, specifying ```orderBy=createdAt DESC``` returns audit entries in descending **createdAt** order. This relies on the pre-configured 'alfresco-access' audit application. - * - */ - @GET - @Path("/nodes/{nodeId}/audit-entries") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List audit entries for a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = AuditEntryPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: *nodeId** is not a valid format, value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to retrieve audit information"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 501, message = "Audit is disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public AuditEntryPaging listAuditEntriesForNode(@PathParam("nodeId") String nodeId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("orderBy")List orderBy, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("where")String where, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Update audit application info - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Disable or re-enable the audit application **auditApplicationId**. New audit entries will not be created for a disabled audit application until it is re-enabled (and system-wide auditing is also enabled). Note, it is still possible to query &/or delete any existing audit entries even if auditing is disabled for the audit application. You must have admin rights to update audit application. - * - */ - @PUT - @Path("/audit-applications/{auditApplicationId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update audit application info", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = AuditApp.class), - @ApiResponse(code = 400, message = "Invalid parameter: **auditApplicationId** is not a valid format or **auditAppBodyUpdate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to update audit application"), - @ApiResponse(code = 404, message = "**auditApplicationId** does not exist "), - @ApiResponse(code = 501, message = "Audit is disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public AuditApp updateAuditApp(@PathParam("auditApplicationId") String auditApplicationId, AuditBodyUpdate auditAppBodyUpdate, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/AuthenticationApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/AuthenticationApi.java deleted file mode 100644 index ec67480..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/AuthenticationApi.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.TicketBody; -import com.inteligr8.alfresco.acs.model.TicketEntry; -import com.inteligr8.alfresco.acs.model.ValidTicketEntry; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Authentication API** Provides access to the authentication features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/authentication/versions/1") -@Api(value = "/api/-default-/public/authentication/versions/1", description = "") -public interface AuthenticationApi { - - /** - * Create ticket (login) - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Logs in and returns the new authentication ticket. The userId and password properties are mandatory in the request body. For example: ```JSON { \"userId\": \"jbloggs\", \"password\": \"password\" } ``` To use the ticket in future requests you should pass it in the request header. For example using Javascript: ```Javascript request.setRequestHeader (\"Authorization\", \"Basic \" + btoa(ticket)); ``` - * - */ - @POST - @Path("/tickets") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create ticket (login)", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = TicketEntry.class), - @ApiResponse(code = 400, message = "**userId** or **password** is not provided "), - @ApiResponse(code = 403, message = "Login failed"), - @ApiResponse(code = 501, message = "SAML is enabled and enforced"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public TicketEntry createTicket(TicketBody ticketBodyCreate); - - /** - * Delete ticket (logout) - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Deletes logged in ticket (logout). - * - */ - @DELETE - @Path("/tickets/-me-") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete ticket (logout)", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "URL path does not include **-me-** or the ticket is not provided by the Authorization header"), - @ApiResponse(code = 404, message = "Status of the user has changed (for example, the user is locked or the account is disabled) or the ticket has expired"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteTicket(); - - /** - * Validate ticket - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Validates the specified ticket (derived from Authorization header) is still valid. For example, you can pass the Authorization request header using Javascript: ```Javascript request.setRequestHeader (\"Authorization\", \"Basic \" + btoa(ticket)); ``` - * - */ - @GET - @Path("/tickets/-me-") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Validate ticket", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = ValidTicketEntry.class), - @ApiResponse(code = 400, message = "URL path does not include **-me-** or the ticket is not provided by the Authorization header"), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "The request is authorized correctly but the status of the user (of the supplied ticket) has changed (for example, the user is locked or the account is disabled) or the ticket has expired"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public ValidTicketEntry validateTicket(); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/CommentsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/CommentsApi.java deleted file mode 100644 index 4313e7d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/CommentsApi.java +++ /dev/null @@ -1,107 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.CommentBody; -import com.inteligr8.alfresco.acs.model.CommentEntry; -import com.inteligr8.alfresco.acs.model.CommentPaging; -import com.inteligr8.alfresco.acs.model.Error; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface CommentsApi { - - /** - * Create a comment - * - * Creates a comment on node **nodeId**. You specify the comment in a JSON body like this: ```JSON { \"content\": \"This is a comment\" } ``` **Note:** You can create more than one comment by specifying a list of comments in the JSON body like this: ```JSON [ { \"content\": \"This is a comment\" }, { \"content\": \"This is another comment\" } ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ``` - * - */ - @POST - @Path("/nodes/{nodeId}/comments") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a comment", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = CommentEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **commentBodyCreate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to create a comment"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 405, message = "Cannot comment on a node of this type"), - @ApiResponse(code = 409, message = "**nodeId** is locked and you are not the lock owner "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public CommentEntry createComment(@PathParam("nodeId") String nodeId, CommentBody commentBodyCreate, @QueryParam("fields")List fields); - - /** - * Delete a comment - * - * Deletes the comment **commentId** from node **nodeId**. - * - */ - @DELETE - @Path("/nodes/{nodeId}/comments/{commentId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a comment", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to delete a comment"), - @ApiResponse(code = 404, message = "**nodeId** or **commentId** does not exist "), - @ApiResponse(code = 409, message = "**nodeId** is locked and you are not the lock owner "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteComment(@PathParam("nodeId") String nodeId, @PathParam("commentId") String commentId); - - /** - * List comments - * - * Gets a list of comments for the node **nodeId**, sorted chronologically with the newest comment first. - * - */ - @GET - @Path("/nodes/{nodeId}/comments") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List comments", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = CommentPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** exists but does not identify a file or a folder, or the value of **maxItems** is invalid, or the value of **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission read comments on the node"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public CommentPaging listComments(@PathParam("nodeId") String nodeId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields); - - /** - * Update a comment - * - * Updates an existing comment **commentId** on node **nodeId**. - * - */ - @PUT - @Path("/nodes/{nodeId}/comments/{commentId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update a comment", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = CommentEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **commentBodyUpdate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to update a comment"), - @ApiResponse(code = 404, message = "**nodeId** or **commentId** does not exist "), - @ApiResponse(code = 409, message = "**nodeId** is locked and you are not the lock owner "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public CommentEntry updateComment(@PathParam("nodeId") String nodeId, @PathParam("commentId") String commentId, CommentBody commentBodyUpdate, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/DiscoveryApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/DiscoveryApi.java deleted file mode 100644 index 0625936..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/DiscoveryApi.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.DiscoveryEntry; -import com.inteligr8.alfresco.acs.model.Error; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Discovery API** Provides access to information about Alfresco Content Services. - * - */ -@Path("/api") -@Api(value = "/api", description = "") -public interface DiscoveryApi { - - /** - * Get repository information - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Retrieves the capabilities and detailed version information from the repository. - * - */ - @GET - @Path("/discovery") - @Produces({ "application/json" }) - @ApiOperation(value = "Get repository information", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = DiscoveryEntry.class), - @ApiResponse(code = 501, message = "Discovery is disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public DiscoveryEntry getRepositoryInformation(); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/DownloadsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/DownloadsApi.java deleted file mode 100644 index 7516efa..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/DownloadsApi.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.DownloadBodyCreate; -import com.inteligr8.alfresco.acs.model.DownloadEntry; -import com.inteligr8.alfresco.acs.model.Error; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface DownloadsApi { - - /** - * Cancel a download - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Cancels the creation of a download request. **Note:** The download node can be deleted using the **DELETE /nodes/{downloadId}** endpoint By default, if the download node is not deleted it will be picked up by a cleaner job which removes download nodes older than a configurable amount of time (default is 1 hour) Information about the existing progress at the time of cancelling can be retrieved by calling the **GET /downloads/{downloadId}** endpoint The cancel operation is done asynchronously. - * - */ - @DELETE - @Path("/downloads/{downloadId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Cancel a download", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 202, message = "The request to cancel a download was accepted"), - @ApiResponse(code = 400, message = "Invalid parameter: **downloadId** is invalid, or **downloadId** does not point to a node of download type "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission cancel the **downloadId** node"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void cancelDownload(@PathParam("downloadId") String downloadId); - - /** - * Create a new download - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Creates a new download node asynchronously, the content of which will be the zipped content of the **nodeIds** specified in the JSON body like this: ```JSON { \"nodeIds\": [ \"c8bb482a-ff3c-4704-a3a3-de1c83ccd84c\", \"cffa62db-aa01-493d-9594-058bc058eeb1\" ] } ``` **Note:** The content of the download node can be obtained using the **GET /nodes/{downloadId}/content** endpoint - * - */ - @POST - @Path("/downloads") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a new download", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 202, message = "The request to create a download node was accepted", response = DownloadEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **DownloadBodyCreate** is invalid due to incorrect syntax, or **nodeIds** is empty, or **nodeIds** contains a duplicate **nodeId** "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to add a certain **nodeId** to the zip"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public DownloadEntry createDownload(DownloadBodyCreate downloadBodyCreate, @QueryParam("fields")List fields); - - /** - * Get a download - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Retrieve status information for download node **downloadId** - * - */ - @GET - @Path("/downloads/{downloadId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a download", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Download node information", response = DownloadEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **downloadId** is invalid, or **downloadId** does not point to a node of download type "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to get information about **downloadId** node"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public DownloadEntry getDownload(@PathParam("downloadId") String downloadId, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/FavoritesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/FavoritesApi.java deleted file mode 100644 index 945c848..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/FavoritesApi.java +++ /dev/null @@ -1,182 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.FavoriteBodyCreate; -import com.inteligr8.alfresco.acs.model.FavoriteEntry; -import com.inteligr8.alfresco.acs.model.FavoritePaging; -import com.inteligr8.alfresco.acs.model.FavoriteSiteBodyCreate; -import com.inteligr8.alfresco.acs.model.FavoriteSiteEntry; -import com.inteligr8.alfresco.acs.model.SiteEntry; -import com.inteligr8.alfresco.acs.model.SitePaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface FavoritesApi { - - /** - * Create a favorite - * - * Favorite a **site**, **file**, or **folder** in the repository. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. **Note:** You can favorite more than one entity by specifying a list of objects in the JSON body like this: ```JSON [ { \"target\": { \"file\": { \"guid\": \"abcde-01234-....\" } } }, { \"target\": { \"file\": { \"guid\": \"abcde-09863-....\" } } }, ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ``` - * - */ - @POST - @Path("/people/{personId}/favorites") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a favorite", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = FavoriteEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **favoriteBodyCreate** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** does not exist, or the target entity does not exist, or a favorite already exists with the specified id, or an entity exists with the id of the posted object but is not of the same type of the posted object "), - @ApiResponse(code = 409, message = "The target **guid** has already been favorited"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public FavoriteEntry createFavorite(@PathParam("personId") String personId, FavoriteBodyCreate favoriteBodyCreate, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Create a site favorite - * - * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future. Use `/people/{personId}/favorites` instead. Create a site favorite for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. **Note:** You can favorite more than one site by specifying a list of sites in the JSON body like this: ```JSON [ { \"id\": \"test-site-1\" }, { \"id\": \"test-site-2\" } ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ``` - * - */ - @POST - @Path("/people/{personId}/favorite-sites") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a site favorite", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = FavoriteSiteEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **favoriteSiteBodyCreate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have access to the favorite sites for **personId**"), - @ApiResponse(code = 404, message = "**personId** does not exist "), - @ApiResponse(code = 409, message = "**id** is already a site favorite "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public FavoriteSiteEntry createSiteFavorite(@PathParam("personId") String personId, FavoriteSiteBodyCreate favoriteSiteBodyCreate, @QueryParam("fields")List fields); - - /** - * Delete a favorite - * - * Deletes **favoriteId** as a favorite of person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @DELETE - @Path("/people/{personId}/favorites/{favoriteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a favorite", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** or **favoriteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteFavorite(@PathParam("personId") String personId, @PathParam("favoriteId") String favoriteId); - - /** - * Delete a site favorite - * - * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future. Use `/people/{personId}/favorites/{favoriteId}` instead. Deletes site **siteId** from the favorite site list of person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @DELETE - @Path("/people/{personId}/favorite-sites/{siteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a site favorite", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have access to the favorite sites for **personId**"), - @ApiResponse(code = 404, message = "**personId** or **siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteSiteFavorite(@PathParam("personId") String personId, @PathParam("siteId") String siteId); - - /** - * Get a favorite - * - * Gets favorite **favoriteId** for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}/favorites/{favoriteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a favorite", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = FavoriteEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** or **favoriteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public FavoriteEntry getFavorite(@PathParam("personId") String personId, @PathParam("favoriteId") String favoriteId, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Get a favorite site - * - * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future. Use `/people/{personId}/favorites/{favoriteId}` instead. Gets information on favorite site **siteId** of person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}/favorite-sites/{siteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a favorite site", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have access to the favorite sites for **personId**"), - @ApiResponse(code = 404, message = "**personId** or **siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteEntry getFavoriteSite(@PathParam("personId") String personId, @PathParam("siteId") String siteId, @QueryParam("fields")List fields); - - /** - * List favorite sites - * - * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future. Use `/people/{personId}/favorites` instead. Gets a list of a person's favorite sites. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}/favorite-sites") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List favorite sites", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SitePaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have access to the favorite sites for **personId**"), - @ApiResponse(code = 404, message = "**personId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SitePaging listFavoriteSitesForPerson(@PathParam("personId") String personId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields); - - /** - * List favorites - * - * Gets a list of favorites for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. The default sort order for the returned list of favorites is type ascending, createdAt descending. You can override the default by using the **orderBy** parameter. You can use any of the following fields to order the results: * `type` * `createdAt` * `title` You can use the **where** parameter to restrict the list in the response to entries of a specific kind. The **where** parameter takes a value. The value is a single predicate that can include one or more **EXISTS** conditions. The **EXISTS** condition uses a single operand to limit the list to include entries that include that one property. The property values are: * `target/file` * `target/folder` * `target/site` For example, the following **where** parameter restricts the returned list to the file favorites for a person: ```SQL (EXISTS(target/file)) ``` You can specify more than one condition using **OR**. The predicate must be enclosed in parentheses. For example, the following **where** parameter restricts the returned list to the file and folder favorites for a person: ```SQL (EXISTS(target/file) OR EXISTS(target/folder)) ``` - * - */ - @GET - @Path("/people/{personId}/favorites") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List favorites", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = FavoritePaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems**, **skipCount**, **orderBy**, or **where** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** does not exist or the current user does not have permission to access the favorites of **personId** "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public FavoritePaging listFavorites(@PathParam("personId") String personId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("orderBy")List orderBy, @QueryParam("where")String where, @QueryParam("include")List include, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/GroupsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/GroupsApi.java deleted file mode 100644 index 4f23716..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/GroupsApi.java +++ /dev/null @@ -1,209 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.GroupBodyCreate; -import com.inteligr8.alfresco.acs.model.GroupBodyUpdate; -import com.inteligr8.alfresco.acs.model.GroupEntry; -import com.inteligr8.alfresco.acs.model.GroupMemberEntry; -import com.inteligr8.alfresco.acs.model.GroupMemberPaging; -import com.inteligr8.alfresco.acs.model.GroupMembershipBodyCreate; -import com.inteligr8.alfresco.acs.model.GroupPaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface GroupsApi { - - /** - * Create a group - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Create a group. The group id must start with \"GROUP\\_\". If this is omitted it will be added automatically. This format is also returned when listing groups or group memberships. It should be noted that the other group-related operations also expect the id to start with \"GROUP\\_\". If one or more parentIds are specified then the group will be created and become a member of each of the specified parent groups. If no parentIds are specified then the group will be created as a root group. The group will be created in the **APP.DEFAULT** and **AUTH.ALF** zones. You must have admin rights to create a group. - * - */ - @POST - @Path("/groups") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a group", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = GroupEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: invalid **groupBodyCreate** "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to create a group"), - @ApiResponse(code = 404, message = "**parentIds** does not exist "), - @ApiResponse(code = 409, message = "**id** clashes with an existing group "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public GroupEntry createGroup(GroupBodyCreate groupBodyCreate, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Create a group membership - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Create a group membership (for an existing person or group) within a group **groupId**. If the added group was previously a root group then it becomes a non-root group since it now has a parent. It is an error to specify an **id** that does not exist. You must have admin rights to create a group membership. - * - */ - @POST - @Path("/groups/{groupId}/members") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a group membership", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = GroupMemberEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **groupId** or **groupMembershipBodyCreate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to create a group membership"), - @ApiResponse(code = 404, message = "**groupId** or *id* (of group or person) does not exist "), - @ApiResponse(code = 409, message = "Trying to modify a pre-defined system group, such as GROUP_EVERYONE. "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public GroupMemberEntry createGroupMembership(@PathParam("groupId") String groupId, GroupMembershipBodyCreate groupMembershipBodyCreate, @QueryParam("fields")List fields); - - /** - * Delete a group - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Delete group **groupId**. The option to cascade delete applies this recursively to any hierarchy of group members. In this case, removing a group member does not delete the person or sub-group itself. If a removed sub-group no longer has any parent groups then it becomes a root group. You must have admin rights to delete a group. - * - */ - @DELETE - @Path("/groups/{groupId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a group", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: **groupId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to delete a group member"), - @ApiResponse(code = 404, message = "**groupId** does not exist "), - @ApiResponse(code = 409, message = "Trying to delete a pre-defined system group, such as GROUP_EVERYONE. "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteGroup(@PathParam("groupId") String groupId, @QueryParam("cascade")@DefaultValue("false") Boolean cascade); - - /** - * Delete a group membership - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Delete group member **groupMemberId** (person or sub-group) from group **groupId**. Removing a group member does not delete the person or sub-group itself. If a removed sub-group no longer has any parent groups then it becomes a root group. You must have admin rights to delete a group membership. - * - */ - @DELETE - @Path("/groups/{groupId}/members/{groupMemberId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a group membership", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: value of **groupId**, or **groupMemberId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to delete a group membership"), - @ApiResponse(code = 404, message = "**groupId** or **groupMemberId** does not exist "), - @ApiResponse(code = 409, message = "Trying to delete a member of a pre-defined system group, such as GROUP_EVERYONE "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteGroupMembership(@PathParam("groupId") String groupId, @PathParam("groupMemberId") String groupMemberId); - - /** - * Get group details - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Get details for group **groupId**. You can use the **include** parameter to return additional information. - * - */ - @GET - @Path("/groups/{groupId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get group details", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = GroupEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: invalid **groupId** "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**groupId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public GroupEntry getGroup(@PathParam("groupId") String groupId, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * List memberships of a group - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Gets a list of the group memberships for the group **groupId**. You can use the **where** parameter to filter the returned groups by **memberType**. Example to filter by **memberType**, use any one of: ``` (memberType='GROUP') (memberType='PERSON') ``` The default sort order for the returned list is for group members to be sorted by ascending displayName. You can override the default by using the **orderBy** parameter. You can specify one of the following fields in the **orderBy** parameter: * id * displayName - * - */ - @GET - @Path("/groups/{groupId}/members") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List memberships of a group", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = GroupMemberPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems**, **skipCount**, **orderBy**, or **where** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**groupId** does not exist "), - @ApiResponse(code = 405, message = "Trying to list all members of a pre-defined system group, such as GROUP_EVERYONE "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public GroupMemberPaging listGroupMemberships(@PathParam("groupId") String groupId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("orderBy")List orderBy, @QueryParam("where")String where, @QueryParam("fields")List fields); - - /** - * List group memberships - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Gets a list of group membership information for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. You can use the **include** parameter to return additional information. You can use the **where** parameter to filter the returned groups by **isRoot**. For example, the following **where** clause will return just the root groups: ``` (isRoot=true) ``` The **where** parameter can also be used to filter by ***zone***. This may be combined with isRoot to narrow a result set even further. For example, the following where clause will only return groups belonging to the `MY.ZONE` zone. ``` where=(zones in ('MY.ZONE')) ``` This may be combined with the isRoot filter, as shown below: ``` where=(isRoot=false AND zones in ('MY.ZONE')) ``` ***Note:*** restrictions include * `AND` is the only supported operator when combining `isRoot` and `zones` filters * Only one zone is supported by the filter * The quoted zone name must be placed in parenthesis — a 400 error will result if these are omitted. The default sort order for the returned list is for groups to be sorted by ascending displayName. You can override the default by using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter: * id * displayName - * - */ - @GET - @Path("/people/{personId}/groups") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List group memberships", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = GroupPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems**, **skipCount**, **orderBy** or **personId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public GroupPaging listGroupMembershipsForPerson(@PathParam("personId") String personId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("orderBy")List orderBy, @QueryParam("include")List include, @QueryParam("where")String where, @QueryParam("fields")List fields); - - /** - * List groups - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Gets a list of groups. You can use the **include** parameter to return additional information. You can use the **where** parameter to filter the returned groups by **isRoot**. For example, the following **where** clause will return just the root groups: ``` (isRoot=true) ``` The **where** parameter can also be used to filter by ***zone*** and ***displayName***. They may be combined with isRoot to narrow a result set even further. For example, the following where clause will only return groups belonging to the `MY.ZONE` zone. ``` where=(zones in ('MY.ZONE')) ``` This may be combined with the isRoot filter, as shown below: ``` where=(isRoot=false AND zones in ('MY.ZONE')) ``` The following where clause will only return groups with displayName `MY.GROUP.NAME`. ``` where=(displayName in ('MY.GROUP.NAME')) ``` This may be combined with the isRoot and zones filter, as shown below: ``` where=(isRoot=false AND displayName in ('MY.GROUP.NAME')) ``` ``` where=(zones in ('MY.ZONE') AND displayName in ('MY.GROUP.NAME')) ``` ``` where=(isRoot=false AND zones in ('MY.ZONE') AND displayName in ('MY.GROUP.NAME')) ``` ***Note:*** restrictions include * `AND` is the only supported operator when combining `isRoot`, `zones` and `displayName` filters * Only one zone is supported by the filter * Only one displayName is supported by the filter * The quoted zone name and displayName must be placed in parenthesis — a 400 error will result if these are omitted. The default sort order for the returned list is for groups to be sorted by ascending displayName. You can override the default by using the **orderBy** parameter. You can specify one of the following fields in the **orderBy** parameter: * id * displayName - * - */ - @GET - @Path("/groups") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List groups", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = GroupPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount**, or **orderBy**, or **where** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public GroupPaging listGroups(@QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("orderBy")List orderBy, @QueryParam("include")List include, @QueryParam("where")String where, @QueryParam("fields")List fields); - - /** - * Update group details - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Update details (displayName) for group **groupId**. You must have admin rights to update a group. - * - */ - @PUT - @Path("/groups/{groupId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update group details", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = GroupEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **groupId** or **groupBodyCreate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to update a group"), - @ApiResponse(code = 404, message = "**groupId** does not exist "), - @ApiResponse(code = 409, message = "Trying to modify a pre-defined system group, such as GROUP_EVERYONE "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public GroupEntry updateGroup(@PathParam("groupId") String groupId, GroupBodyUpdate groupBodyUpdate, @QueryParam("include")List include, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/NetworksApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/NetworksApi.java deleted file mode 100644 index 1f8e424..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/NetworksApi.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.PersonNetworkEntry; -import com.inteligr8.alfresco.acs.model.PersonNetworkPaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface NetworksApi { - - /** - * Get a network - * - * Gets information for a network **networkId**. - * - */ - @GET - @Path("/networks/{networkId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a network", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = PersonNetworkEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**networkId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public PersonNetworkEntry getNetwork(@PathParam("networkId") String networkId, @QueryParam("fields")List fields); - - /** - * Get network information - * - * Gets network information on a single network specified by **networkId** for **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}/networks/{networkId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get network information", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = PersonNetworkEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** or **networkId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public PersonNetworkEntry getNetworkForPerson(@PathParam("personId") String personId, @PathParam("networkId") String networkId, @QueryParam("fields")List fields); - - /** - * List network membership - * - * Gets a list of network memberships for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}/networks") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List network membership", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = PersonNetworkPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public PersonNetworkPaging listNetworksForPerson(@PathParam("personId") String personId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/NodesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/NodesApi.java deleted file mode 100644 index 2c0f174..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/NodesApi.java +++ /dev/null @@ -1,453 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import java.io.File; -import java.util.Date; -import java.util.List; - -import javax.ws.rs.Consumes; -import javax.ws.rs.DELETE; -import javax.ws.rs.DefaultValue; -import javax.ws.rs.GET; -import javax.ws.rs.HeaderParam; -import javax.ws.rs.POST; -import javax.ws.rs.PUT; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; - -import com.inteligr8.alfresco.acs.model.AssociationBody; -import com.inteligr8.alfresco.acs.model.AssociationEntry; -import com.inteligr8.alfresco.acs.model.ChildAssociationBody; -import com.inteligr8.alfresco.acs.model.ChildAssociationEntry; -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.NodeAssociationPaging; -import com.inteligr8.alfresco.acs.model.NodeBodyCopy; -import com.inteligr8.alfresco.acs.model.NodeBodyCreate; -import com.inteligr8.alfresco.acs.model.NodeBodyLock; -import com.inteligr8.alfresco.acs.model.NodeBodyMove; -import com.inteligr8.alfresco.acs.model.NodeBodyUpdate; -import com.inteligr8.alfresco.acs.model.NodeChildAssociationPaging; -import com.inteligr8.alfresco.acs.model.NodeEntry; - -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface NodesApi { - - /** - * Copy a node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Copies the node **nodeId** to the parent folder node **targetParentId**. You specify the **targetParentId** in the request body. The new node has the same name as the source node unless you specify a new **name** in the request body. If the source **nodeId** is a folder, then all of its children are also copied. If the source **nodeId** is a file, it's properties, aspects and tags are copied, it's ratings, comments and locks are not. - * - */ - @POST - @Path("/nodes/{nodeId}/copy") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Copy a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = NodeEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format or **nodeBodyCopy** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to copy **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 409, message = "New name clashes with an existing node in the destination parent folder"), - @ApiResponse(code = 422, message = "Model integrity exception including a file name containing invalid characters"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeEntry copyNode(@PathParam("nodeId") String nodeId, NodeBodyCopy nodeBodyCopy, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Create node association - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Create an association, with the given association type, between the source **nodeId** and a target node. **Note:** You can create more than one association by specifying a list of associations in the JSON body like this: ```JSON [ { \"targetId\": \"string\", \"assocType\": \"string\" }, { \"targetId\": \"string\", \"assocType\": \"string\" } ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ``` - * - */ - @POST - @Path("/nodes/{nodeId}/targets") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create node association", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = AssociationEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **assocType** is unknown, or the **nodeId** is not a valid format, or **associationBodyCreate** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "Source **nodeId** or **targetId** does not exist"), - @ApiResponse(code = 409, message = "An association of this assoc type already exists between these two nodes"), - @ApiResponse(code = 422, message = "Model integrity exception"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public AssociationEntry createAssociation(@PathParam("nodeId") String nodeId, AssociationBody associationBodyCreate, @QueryParam("fields")List fields); - - /** - * Create a node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Create a node and add it as a primary child of node **nodeId**. This endpoint supports both JSON and multipart/form-data (file upload). **Using multipart/form-data** Use the **filedata** field to represent the content to upload, for example, the following curl command will create a node with the contents of test.txt in the test user's home folder. ```curl -utest:test -X POST host:port/alfresco/api/-default-/public/alfresco/versions/1/nodes/-my-/children -F filedata=@test.txt``` You can use the **name** field to give an alternative name for the new file. You can use the **nodeType** field to create a specific type. The default is cm:content. You can use the **renditions** field to create renditions (e.g. doclib) asynchronously upon upload. Also, as requesting rendition is a background process, any rendition failure (e.g. No transformer is currently available) will not fail the whole upload and has the potential to silently fail. Use **overwrite** to overwrite an existing file, matched by name. If the file is versionable, the existing content is replaced. When you overwrite existing content, you can set the **majorVersion** boolean field to **true** to indicate a major version should be created. The default for **majorVersion** is **false**. Setting **majorVersion** enables versioning of the node, if it is not already versioned. When you overwrite existing content, you can use the **comment** field to add a version comment that appears in the version history. This also enables versioning of this node, if it is not already versioned. You can set the **autoRename** boolean field to automatically resolve name clashes. If there is a name clash, then the API method tries to create a unique name using an integer suffix. You can use the **relativePath** field to specify the folder structure to create relative to the node **nodeId**. Folders in the **relativePath** that do not exist are created before the node is created. Any other field provided will be treated as a property to set on the newly created node. **Note:** setting properties of type d:content and d:category are not supported. **Note:** When creating a new node using multipart/form-data by default versioning is enabled and set to MAJOR Version. Since Alfresco 6.2.3 **versioningEnabled** flag was introduced offering better control over the new node Versioning. | **versioningEnabled** | **majorVersion** | **Version Type** | |-----------------------|------------------|------------------| | unset | unset | MAJOR | | unset | true | MAJOR | | unset | false | MINOR | | true | unset | MAJOR | | true | true | MAJOR | | true | false | MINOR | | false | true | Unversioned | | false | false | Unversioned | | false | true | Unversioned | <br> **Using JSON** You must specify at least a **name** and **nodeType**. For example, to create a folder: ```JSON { \"name\":\"My Folder\", \"nodeType\":\"cm:folder\" } ``` You can create an empty file like this: ```JSON { \"name\":\"My text file.txt\", \"nodeType\":\"cm:content\" } ``` You can update binary content using the ```PUT /nodes/{nodeId}``` API method. You can create a folder, or other node, inside a folder hierarchy: ```JSON { \"name\":\"My Special Folder\", \"nodeType\":\"cm:folder\", \"relativePath\":\"X/Y/Z\" } ``` The **relativePath** specifies the folder structure to create relative to the node **nodeId**. Folders in the **relativePath** that do not exist are created before the node is created. You can set properties when you create a new node: ```JSON { \"name\":\"My Other Folder\", \"nodeType\":\"cm:folder\", \"properties\": { \"cm:title\":\"Folder title\", \"cm:description\":\"This is an important folder\" } } ``` You can set multi-value properties when you create a new node which supports properties of type multiple. ```JSON { \"name\":\"My Other Folder\", \"nodeType\":\"custom:destination\", \"properties\": { \"cm:title\":\"Folder title\", \"cm:description\":\"This is an important folder\", \"custom:locations\": [ \"location X\", \"location Y\" ] } } ``` Any missing aspects are applied automatically. For example, **cm:titled** in the JSON shown above. You can set aspects explicitly, if needed, using an **aspectNames** field. **Note:** setting properties of type d:content and d:category are not supported. You can also optionally disable (or enable) inherited permissions via *isInheritanceEnabled* flag: ```JSON { \"permissions\": { \"isInheritanceEnabled\": false, \"locallySet\": [ {\"authorityId\": \"GROUP_special\", \"name\": \"Read\", \"accessStatus\":\"DENIED\"}, {\"authorityId\": \"testuser\", \"name\": \"Contributor\", \"accessStatus\":\"ALLOWED\"} ] } } ``` Typically, for files and folders, the primary children are created within the parent folder using the default \"cm:contains\" assocType. If the content model allows then it is also possible to create primary children with a different assoc type. For example: ```JSON { \"name\":\"My Node\", \"nodeType\":\"my:specialNodeType\", \"association\": { \"assocType\":\"my:specialAssocType\" } } ``` Additional associations can be added after creating a node. You can also add associations at the time the node is created. This is required, for example, if the content model specifies that a node has mandatory associations to one or more existing nodes. You can optionally specify an array of **secondaryChildren** to create one or more secondary child associations, such that the newly created node acts as a parent node. You can optionally specify an array of **targets** to create one or more peer associations such that the newly created node acts as a source node. For example, to associate one or more secondary children at time of creation: ```JSON { \"name\":\"My Folder\", \"nodeType\":\"cm:folder\", \"secondaryChildren\": [ {\"childId\":\"abcde-01234-...\", \"assocType\":\"my:specialChildAssocType\"} ] } ``` For example, to associate one or more targets at time of creation: ```JSON { \"name\":\"My Folder\", \"nodeType\":\"cm:folder\", \"targets\": [ {\"targetId\":\"abcde-01234-...\", \"assocType\":\"my:specialPeerAssocType\"} ] } ``` **Note:** You can create more than one child by specifying a list of nodes in the JSON body. For example, the following JSON body creates two folders inside the specified **nodeId**, if the **nodeId** identifies a folder: ```JSON [ { \"name\":\"My Folder 1\", \"nodeType\":\"cm:folder\" }, { \"name\":\"My Folder 2\", \"nodeType\":\"cm:folder\" } ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ``` **Note:** When creating a new node using JSON by default versioning is disabled. Since Alfresco 6.2.3 **versioningEnabled** flag was introduced offering better control over the new node Versioning. | **versioningEnabled** | **majorVersion** | **Version Type** | |-----------------------|------------------|------------------| | unset | unset | Unversioned | | unset | true | MAJOR | | unset | false | MINOR | | true | unset | MAJOR | | true | true | MAJOR | | true | false | MINOR | | false | true | Unversioned | | false | false | Unversioned | | false | true | Unversioned | <br> - * - */ - @POST - @Path("/nodes/{nodeId}/children") - @Consumes({ "application/json", "multipart/form-data" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = NodeEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format or **nodeBodyCreate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to create children of **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **renditionId** does not exist "), - @ApiResponse(code = 409, message = "New name clashes with an existing node in the current parent folder"), - @ApiResponse(code = 413, message = "Content exceeds individual file size limit configured for the network or system"), - @ApiResponse(code = 415, message = "Content Type is not supported"), - @ApiResponse(code = 422, message = "Model integrity exception including a file name containing invalid characters"), - @ApiResponse(code = 507, message = "Content exceeds overall storage quota limit configured for the network or system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeEntry createNode(@PathParam("nodeId") String nodeId, NodeBodyCreate nodeBodyCreate, @QueryParam("autoRename")Boolean autoRename, @QueryParam("majorVersion")Boolean majorVersion, @QueryParam("versioningEnabled")Boolean versioningEnabled, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Create secondary child - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Create a secondary child association, with the given association type, between the parent **nodeId** and a child node. **Note:** You can create more than one secondary child association by specifying a list of associations in the JSON body like this: ```JSON [ { \"childId\": \"string\", \"assocType\": \"string\" }, { \"childId\": \"string\", \"assocType\": \"string\" } ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ``` - * - */ - @POST - @Path("/nodes/{nodeId}/secondary-children") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create secondary child", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = ChildAssociationEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **assocType** is unknown, or the **nodeId** is not a valid format, or **secondaryChildAssociationBodyCreate** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to create secondary children of **nodeId**"), - @ApiResponse(code = 404, message = "Parent **nodeId** or **childId** does not exist"), - @ApiResponse(code = 409, message = "An association of this assoc type already exists between these two nodes"), - @ApiResponse(code = 422, message = "Model integrity exception"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public ChildAssociationEntry createSecondaryChildAssociation(@PathParam("nodeId") String nodeId, ChildAssociationBody secondaryChildAssociationBodyCreate, @QueryParam("fields")List fields); - - /** - * Delete node association(s) - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Delete an association, or associations, from the source **nodeId* to a target node for the given association type. If the association type is **not** specified, then all peer associations, of any type, in the direction from source to target, are deleted. **Note:** After removal of the peer association, or associations, from source to target, the two nodes may still have peer associations in the other direction. - * - */ - @DELETE - @Path("/nodes/{nodeId}/targets/{targetId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete node association(s)", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: **assocType** is unknown, or the **nodeId** is not a valid format, or **targetId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "Source **nodeId** or **targetId** does not exist (with given assocType, if specified)"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteAssociation(@PathParam("nodeId") String nodeId, @PathParam("targetId") String targetId, @QueryParam("assocType")String assocType); - - /** - * Delete a node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Deletes the node **nodeId**. If **nodeId** is a folder, then its children are also deleted. Deleted nodes move to the trashcan unless the **permanent** query parameter is **true** and the current user is the owner of the node or an admin. Deleting a node deletes it from its primary parent and also from any secondary parents. Peer associations are also deleted, where the deleted node is either a source or target of an association. This applies recursively to any hierarchy of primary children of the deleted node. **Note:** If the node is not permanently deleted, and is later successfully restored to its former primary parent, then the primary child association is restored. This applies recursively for any primary children. No other secondary child associations or peer associations are restored for any of the nodes in the primary parent-child hierarchy of restored nodes, regardless of whether the original associations were to nodes inside or outside the restored hierarchy. - * - */ - @DELETE - @Path("/nodes/{nodeId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to delete **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 409, message = "**nodeId** is locked and cannot be deleted "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteNode(@PathParam("nodeId") String nodeId, @QueryParam("permanent")@DefaultValue("false") Boolean permanent); - - /** - * Delete secondary child or children - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Delete secondary child associations between the parent **nodeId** and child nodes for the given association type. If the association type is **not** specified, then all secondary child associations, of any type in the direction from parent to secondary child, will be deleted. The child will still have a primary parent and may still be associated as a secondary child with other secondary parents. - * - */ - @DELETE - @Path("/nodes/{nodeId}/secondary-children/{childId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete secondary child or children", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: **assocType** is unknown or you are trying to delete a primary **assocType**. Use delete node instead "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "Parent **nodeId** or **childId** does not exist (with given assocType, if specified)"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteSecondaryChildAssociation(@PathParam("nodeId") String nodeId, @PathParam("childId") String childId, @QueryParam("assocType")String assocType); - - /** - * Get a node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Get information for node **nodeId**. You can use the **include** parameter to return additional information. - * - */ - @GET - @Path("/nodes/{nodeId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to retrieve **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeEntry getNode(@PathParam("nodeId") String nodeId, @QueryParam("include")List include, @QueryParam("relativePath")String relativePath, @QueryParam("fields")List fields); - - /** - * Get node content - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the content of the node with identifier **nodeId**. - * - */ - @GET - @Path("/nodes/{nodeId}/content") - @Consumes({ "application/json" }) - @Produces({ "application/octet-stream" }) - @ApiOperation(value = "Get node content", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = File.class), - @ApiResponse(code = 206, message = "Partial Content"), - @ApiResponse(code = 304, message = "Content has not been modified since the date provided in the If-Modified-Since header"), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to retrieve content of **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 416, message = "Range Not Satisfiable "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public File getNodeContent(@PathParam("nodeId") String nodeId, @QueryParam("attachment")@DefaultValue("true") Boolean attachment, @HeaderParam("If-Modified-Since") Date ifModifiedSince, @HeaderParam("Range") String range); - - /** - * List node children - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of children of the parent node **nodeId**. Minimal information for each child is returned by default. You can use the **include** parameter to return additional information. The list of child nodes includes primary children and secondary children, if there are any. You can use the **include** parameter (include=association) to return child association details for each child, including the **assocTyp**e and the **isPrimary** flag. The default sort order for the returned list is for folders to be sorted before files, and by ascending name. You can override the default using **orderBy** to specify one or more fields to sort by. The default order is always ascending, but you can use an optional **ASC** or **DESC** modifier to specify an ascending or descending sort order. For example, specifying ```orderBy=name DESC``` returns a mixed folder/file list in descending **name** order. You can use any of the following fields to order the results: * isFolder * name * mimeType * nodeType * sizeInBytes * modifiedAt * createdAt * modifiedByUser * createdByUser - * - */ - @GET - @Path("/nodes/{nodeId}/children") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List node children", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeChildAssociationPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, **nodeId** is not a folder or **orderBy** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to retrieve children of **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeChildAssociationPaging listNodeChildren(@PathParam("nodeId") String nodeId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("orderBy")List orderBy, @QueryParam("where")String where, @QueryParam("include")List include, @QueryParam("relativePath")String relativePath, @QueryParam("includeSource")Boolean includeSource, @QueryParam("fields")List fields); - - /** - * List parents - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of parent nodes that are associated with the current child **nodeId**. The list includes both the primary parent and any secondary parents. - * - */ - @GET - @Path("/nodes/{nodeId}/parents") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List parents", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeAssociationPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: **assocType** is unknown or the **nodeId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "Child **nodeId** does not exist"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeAssociationPaging listParents(@PathParam("nodeId") String nodeId, @QueryParam("where")String where, @QueryParam("include")List include, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("includeSource")Boolean includeSource, @QueryParam("fields")List fields); - - /** - * List secondary children - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of secondary child nodes that are associated with the current parent **nodeId**, via a secondary child association. - * - */ - @GET - @Path("/nodes/{nodeId}/secondary-children") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List secondary children", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeChildAssociationPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: **assocType** is unknown or the **nodeId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "Parent **nodeId** does not exist"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeChildAssociationPaging listSecondaryChildren(@PathParam("nodeId") String nodeId, @QueryParam("where")String where, @QueryParam("include")List include, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("includeSource")Boolean includeSource, @QueryParam("fields")List fields); - - /** - * List source associations - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of source nodes that are associated with the current target **nodeId**. - * - */ - @GET - @Path("/nodes/{nodeId}/sources") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List source associations", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeAssociationPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format or **assocType** is unknown "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "Target **nodeId** does not exist"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeAssociationPaging listSourceAssociations(@PathParam("nodeId") String nodeId, @QueryParam("where")String where, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * List target associations - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of target nodes that are associated with the current source **nodeId**. - * - */ - @GET - @Path("/nodes/{nodeId}/targets") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List target associations", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeAssociationPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: **assocType** is unknown or the **nodeId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "Source **nodeId** does not exist"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeAssociationPaging listTargetAssociations(@PathParam("nodeId") String nodeId, @QueryParam("where")String where, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Lock a node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Places a lock on node **nodeId**. **Note:** you can only lock files. More specifically, a node can only be locked if it is of type `cm:content` or a subtype of `cm:content`. The lock is owned by the current user, and prevents other users or processes from making updates to the node until the lock is released. If the **timeToExpire** is not set or is zero, then the lock never expires. Otherwise, the **timeToExpire** is the number of seconds before the lock expires. When a lock expires, the lock is released. If the node is already locked, and the user is the lock owner, then the lock is renewed with the new **timeToExpire**. By default, a lock is applied that allows the owner to update or delete the node. You can use **type** to change the lock type to one of the following: * **ALLOW_OWNER_CHANGES** (default) changes to the node can be made only by the lock owner. This enum is the same value as the deprecated WRITE_LOCK described in `org.alfresco.service.cmr.lock.LockType` in the Alfresco Public Java API. This is the default value. * **FULL** no changes by any user are allowed. This enum is the same value as the deprecated READ_ONLY_LOCK described in `org.alfresco.service.cmr.lock.LockType` in the Alfresco Public Java API. By default, a lock is persisted in the database. You can create a volatile in-memory lock by setting the **lifetime** property to EPHEMERAL. You might choose use EPHEMERAL locks, for example, if you are taking frequent short-term locks that you don't need to be kept over a restart of the repository. In this case you don't need the overhead of writing the locks to the database. If a lock on the node cannot be taken, then an error is returned. - * - */ - @POST - @Path("/nodes/{nodeId}/lock") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Lock a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or **nodeBodyLock** is invalid, or a lock was attempted on a node that is not a file "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to lock **nodeId** "), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 422, message = "**nodeId** could not be locked "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeEntry lockNode(@PathParam("nodeId") String nodeId, NodeBodyLock nodeBodyLock, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Move a node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Move the node **nodeId** to the parent folder node **targetParentId**. The **targetParentId** is specified in the in request body. The moved node retains its name unless you specify a new **name** in the request body. If the source **nodeId** is a folder, then its children are also moved. The move will effectively change the primary parent. - * - */ - @POST - @Path("/nodes/{nodeId}/move") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Move a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or **targetParentId** is not a folder, or **nodeBodyMove** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to move **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 409, message = "New name clashes with an existing node in the destination parent folder"), - @ApiResponse(code = 422, message = "Model integrity exception including a file name containing invalid characters"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeEntry moveNode(@PathParam("nodeId") String nodeId, NodeBodyMove nodeBodyMove, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Unlock a node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Deletes a lock on node **nodeId**. The current user must be the owner of the locks or have admin rights, otherwise an error is returned. If a lock on the node cannot be released, then an error is returned. - * - */ - @POST - @Path("/nodes/{nodeId}/unlock") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Unlock a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to unlock **nodeId** "), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 422, message = "**nodeId** could not be unlocked "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeEntry unlockNode(@PathParam("nodeId") String nodeId, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Update a node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Updates the node **nodeId**. For example, you can rename a file or folder: ```JSON { \"name\":\"My new name\" } ``` You can also set or update one or more properties: ```JSON { \"properties\": { \"cm:title\":\"Folder title\" } } ``` You can update multi-value properties of a node which supports properties of type multiple. ```JSON { \"name\":\"My Other Folder\", \"nodeType\":\"custom:destination\", \"properties\": { \"cm:title\":\"Folder title\", \"cm:description\":\"This is an important folder\", \"custom:locations\": [ \"location NewX\", \"location NewY\" ] } } ``` **Note:** setting properties of type d:content and d:category are not supported. **Note:** if you want to add or remove aspects, then you must use **GET /nodes/{nodeId}** first to get the complete set of *aspectNames*. You can add (or remove) *locallySet* permissions, if any, in addition to any inherited permissions. You can also optionally disable (or re-enable) inherited permissions via *isInheritanceEnabled* flag: ```JSON { \"permissions\": { \"isInheritanceEnabled\": false, \"locallySet\": [ {\"authorityId\": \"GROUP_special\", \"name\": \"Read\", \"accessStatus\":\"DENIED\"}, {\"authorityId\": \"testuser\", \"name\": \"Contributor\", \"accessStatus\":\"ALLOWED\"} ] } } ``` **Note:** if you want to add or remove locally set permissions then you must use **GET /nodes/{nodeId}** first to get the complete set of *locallySet* permissions. **Note:** Currently there is no optimistic locking for updates, so they are applied in \"last one wins\" order. - * - */ - @PUT - @Path("/nodes/{nodeId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: the update request is invalid or **nodeId** is not a valid format or **nodeBodyUpdate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to update **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 409, message = "Updated name clashes with an existing node in the current parent folder"), - @ApiResponse(code = 422, message = "Model integrity exception including a file name containing invalid characters"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeEntry updateNode(@PathParam("nodeId") String nodeId, NodeBodyUpdate nodeBodyUpdate, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Update node content - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Updates the content of the node with identifier **nodeId**. The request body for this endpoint can be any text or binary stream. The **majorVersion** and **comment** parameters can be used to control versioning behaviour. If the content is versionable, a new minor version is created by default. Optionally a new **name** parameter can also be specified that must be unique within the parent folder. If specified and valid then this will rename the node. If invalid then an error is returned and the content is not updated. **Note:** This API method accepts any content type, but for testing with this tool text based content can be provided. This is because the OpenAPI Specification does not allow a wildcard to be provided or the ability for tooling to accept an arbitrary file. - * - */ - @PUT - @Path("/nodes/{nodeId}/content") - @Consumes({ "application/octet-stream" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update node content", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to update **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 409, message = "Optional new name clashes with an existing node in the current parent folder"), - @ApiResponse(code = 413, message = "Content exceeds individual file size limit (configured for network/system)"), - @ApiResponse(code = 422, message = "Model integrity exception including a file name containing invalid characters"), - @ApiResponse(code = 507, message = "Content exceeds overall storage quota limit configured for the network/system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeEntry updateNodeContent(@PathParam("nodeId") String nodeId, byte[] contentBodyUpdate, @QueryParam("majorVersion")@DefaultValue("false") Boolean majorVersion, @QueryParam("comment")String comment, @QueryParam("name")String name, @QueryParam("include")List include, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/PeopleApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/PeopleApi.java deleted file mode 100644 index 0daf036..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/PeopleApi.java +++ /dev/null @@ -1,201 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.ClientBody; -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.PasswordResetBody; -import com.inteligr8.alfresco.acs.model.PersonBodyCreate; -import com.inteligr8.alfresco.acs.model.PersonBodyUpdate; -import com.inteligr8.alfresco.acs.model.PersonEntry; -import com.inteligr8.alfresco.acs.model.PersonPaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.io.File; -import java.util.Date; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface PeopleApi { - - /** - * Create person - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Create a person. If applicable, the given person's login access can also be optionally disabled. You must have admin rights to create a person. You can set custom properties when you create a person: ```JSON { \"id\": \"abeecher\", \"firstName\": \"Alice\", \"lastName\": \"Beecher\", \"displayName\": \"Alice Beecher\", \"email\": \"abeecher@example.com\", \"password\": \"secret\", \"properties\": { \"my:property\": \"The value\" } } ``` **Note:** setting properties of type d:content and d:category are not supported. - * - */ - @POST - @Path("/people") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create person", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = PersonEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **personBodyCreate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to create a person"), - @ApiResponse(code = 409, message = "Person within given *id* already exists"), - @ApiResponse(code = 422, message = "Model integrity exception"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public PersonEntry createPerson(PersonBodyCreate personBodyCreate, @QueryParam("fields")List fields); - - /** - * Delete avatar image - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Deletes the avatar image related to person **personId**. You must be the person or have admin rights to update a person's avatar. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @DELETE - @Path("/people/{personId}/avatar") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete avatar image", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to delete the avatar image for **personId**"), - @ApiResponse(code = 404, message = "**personId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteAvatarImage(@PathParam("personId") String personId); - - /** - * Get avatar image - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Gets the avatar image related to the person **personId**. If the person has no related avatar then the **placeholder** query parameter can be optionally used to request a placeholder image to be returned. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}/avatar") - @Consumes({ "application/json" }) - @Produces({ "application/octet-stream" }) - @ApiOperation(value = "Get avatar image", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = File.class), - @ApiResponse(code = 304, message = "Content has not been modified since the date provided in the If-Modified-Since header"), - @ApiResponse(code = 400, message = "Invalid parameter: **personId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** does not exist or avatar does not exist (and no placeholder requested) "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public File getAvatarImage(@PathParam("personId") String personId, @QueryParam("attachment")@DefaultValue("true") Boolean attachment, @HeaderParam("If-Modified-Since") Date ifModifiedSince, @QueryParam("placeholder")@DefaultValue("true") Boolean placeholder); - - /** - * Get a person - * - * Gets information for the person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a person", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = PersonEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public PersonEntry getPerson(@PathParam("personId") String personId, @QueryParam("fields")List fields); - - /** - * List people - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. List people. You can use the **include** parameter to return any additional information. The default sort order for the returned list is for people to be sorted by ascending id. You can override the default by using the **orderBy** parameter. You can use any of the following fields to order the results: * id * firstName * lastName - * - */ - @GET - @Path("/people") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List people", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = PersonPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems**, **skipCount** or **orderBy** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public PersonPaging listPeople(@QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("orderBy")List orderBy, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Request password reset - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Initiates the reset password workflow to send an email with reset password instruction to the user's registered email. The client is mandatory in the request body. For example: ```JSON { \"client\": \"myClient\" } ``` **Note:** The client must be registered before this API can send an email. See [server documentation]. However, out-of-the-box share is registered as a default client, so you could pass **share** as the client name: ```JSON { \"client\": \"share\" } ``` **Note:** No authentication is required to call this endpoint. - * - */ - @POST - @Path("/people/{personId}/request-password-reset") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Request password reset", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 202, message = "Successful response or even when the **personId** does not exist or the user is disabled by an Administrator "), - @ApiResponse(code = 404, message = "**client** is not registered ") }) - public void requestPasswordReset(@PathParam("personId") String personId, ClientBody clientBody); - - /** - * Reset password - * - * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Resets user's password The password, id and key properties are mandatory in the request body. For example: ```JSON { \"password\":\"newPassword\", \"id\":\"activiti$10\", \"key\":\"4dad6d00-0daf-413a-b200-f64af4e12345\" } ``` **Note:** No authentication is required to call this endpoint. - * - */ - @POST - @Path("/people/{personId}/reset-password") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Reset password", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 202, message = "Successful response or even when no workflow instance is found with the given **id** or the workflow instance is invalid (already been used or expired) or the given **personId** does not match the person's id requesting the password reset or the given workflow **key** does not match the recovered key. "), - @ApiResponse(code = 400, message = "Invalid parameter: Value of **password**, **id** or **key** is invalid ") }) - public void resetPassword(@PathParam("personId") String personId, PasswordResetBody passwordResetBody); - - /** - * Update avatar image - * - * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions. Updates the avatar image related to the person **personId**. The request body should be the binary stream for the avatar image. The content type of the file should be an image file. This will be used to generate an \"avatar\" thumbnail rendition. You must be the person or have admin rights to update a person's avatar. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @PUT - @Path("/people/{personId}/avatar") - @Consumes({ "application/octet-stream" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update avatar image", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: **personId** is not a valid format or the avatar cannot be uploaded "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to update the avatar image for **personId**"), - @ApiResponse(code = 404, message = "**personId** does not exist "), - @ApiResponse(code = 413, message = "Content exceeds individual file size limit (configured for network/system)"), - @ApiResponse(code = 501, message = "Renditions/thumbnails are disabled for the system"), - @ApiResponse(code = 507, message = "Content exceeds overall storage quota limit configured for the network/system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void updateAvatarImage(@PathParam("personId") String personId, byte[] contentBodyUpdate); - - /** - * Update person - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Update the given person's details. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. If applicable, the given person's login access can also be optionally disabled or re-enabled. You must have admin rights to update a person — unless updating your own details. If you are changing your password, as a non-admin user, then the existing password must also be supplied (using the oldPassword field in addition to the new password value). Admin users cannot be disabled by setting enabled to false. Non-admin users may not disable themselves. You can set custom properties when you update a person: ```JSON { \"firstName\": \"Alice\", \"properties\": { \"my:property\": \"The value\" } } ``` **Note:** setting properties of type d:content and d:category are not supported. - * - */ - @PUT - @Path("/people/{personId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update person", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = PersonEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: the update request is invalid or **personId** is not a valid format or **personBodyUpdate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to update a person"), - @ApiResponse(code = 404, message = "**personId** does not exist "), - @ApiResponse(code = 422, message = "Model integrity exception"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public PersonEntry updatePerson(@PathParam("personId") String personId, PersonBodyUpdate personBodyUpdate, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/PreferencesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/PreferencesApi.java deleted file mode 100644 index 11eabef..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/PreferencesApi.java +++ /dev/null @@ -1,62 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.PreferenceEntry; -import com.inteligr8.alfresco.acs.model.PreferencePaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface PreferencesApi { - - /** - * Get a preference - * - * Gets a specific preference for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}/preferences/{preferenceName}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a preference", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = PreferenceEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have access to the preferences for **personId**"), - @ApiResponse(code = 404, message = "**personId** or **preferenceName** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public PreferenceEntry getPreference(@PathParam("personId") String personId, @PathParam("preferenceName") String preferenceName, @QueryParam("fields")List fields); - - /** - * List preferences - * - * Gets a list of preferences for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. Note that each preference consists of an **id** and a **value**. The **value** can be of any JSON type. - * - */ - @GET - @Path("/people/{personId}/preferences") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List preferences", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = PreferencePaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have access to the preferences for **personId**"), - @ApiResponse(code = 404, message = "**personId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public PreferencePaging listPreferences(@PathParam("personId") String personId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/ProbesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/ProbesApi.java deleted file mode 100644 index 69c6b28..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/ProbesApi.java +++ /dev/null @@ -1,39 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.ProbeEntry; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface ProbesApi { - - /** - * Check readiness and liveness of the repository - * - * **Note:** this endpoint is available in Alfresco 6.0 and newer versions. Returns a status of 200 to indicate success and 503 for failure. The readiness probe is normally only used to check repository startup. The liveness probe should then be used to check the repository is still responding to requests. **Note:** No authentication is required to call this endpoint. - * - */ - @GET - @Path("/probes/{probeId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Check readiness and liveness of the repository", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = ProbeEntry.class), - @ApiResponse(code = 404, message = "**probeId** does not exist "), - @ApiResponse(code = 503, message = "Service Unavailable - Probe failure status."), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public ProbeEntry getProbe(@PathParam("probeId") String probeId); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/QueriesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/QueriesApi.java deleted file mode 100644 index a6ca453..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/QueriesApi.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.NodePaging; -import com.inteligr8.alfresco.acs.model.PersonPaging; -import com.inteligr8.alfresco.acs.model.SitePaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface QueriesApi { - - /** - * Find nodes - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of nodes that match the given search criteria. The search term is used to look for nodes that match against name, title, description, full text content or tags. The search term: - must contain a minimum of 3 alphanumeric characters - allows \"quoted term\" - can optionally use '*' for wildcard matching By default, file and folder types will be searched unless a specific type is provided as a query parameter. By default, the search will be across the repository unless a specific root node id is provided to start the search from. You can sort the result list using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter: * name * modifiedAt * createdAt - * - */ - @GET - @Path("/queries/nodes") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Find nodes", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodePaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid, or search **term** too short, or **nodeType** unknown, or **orderBy** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**rootNodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodePaging findNodes(@QueryParam("term")String term, @QueryParam("rootNodeId")String rootNodeId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("nodeType")String nodeType, @QueryParam("include")List include, @QueryParam("orderBy")List orderBy, @QueryParam("fields")List fields); - - /** - * Find people - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of people that match the given search criteria. The search term is used to look for matches against person id, firstname and lastname. The search term: - must contain a minimum of 2 alphanumeric characters - can optionally use '*' for wildcard matching within the term You can sort the result list using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter: * id * firstName * lastName - * - */ - @GET - @Path("/queries/people") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Find people", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = PersonPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid, or search **term** too short, or **orderBy** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public PersonPaging findPeople(@QueryParam("term")String term, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields, @QueryParam("orderBy")List orderBy); - - /** - * Find sites - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of sites that match the given search criteria. The search term is used to look for sites that match against site id, title or description. The search term: - must contain a minimum of 2 alphanumeric characters - can optionally use '*' for wildcard matching within the term The default sort order for the returned list is for sites to be sorted by ascending id. You can override the default by using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter: * id * title * description - * - */ - @GET - @Path("/queries/sites") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Find sites", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SitePaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid, or search **term** too short, or **orderBy** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SitePaging findSites(@QueryParam("term")String term, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("orderBy")List orderBy, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/RatingsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/RatingsApi.java deleted file mode 100644 index a00d5e1..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/RatingsApi.java +++ /dev/null @@ -1,101 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.RatingBody; -import com.inteligr8.alfresco.acs.model.RatingEntry; -import com.inteligr8.alfresco.acs.model.RatingPaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface RatingsApi { - - /** - * Create a rating - * - * Create a rating for the node with identifier **nodeId** - * - */ - @POST - @Path("/nodes/{nodeId}/ratings") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a rating", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = RatingEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **ratingBodyCreate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 405, message = "Cannot rate a node of this type"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public RatingEntry createRating(@PathParam("nodeId") String nodeId, RatingBody ratingBodyCreate, @QueryParam("fields")List fields); - - /** - * Delete a rating - * - * Deletes rating **ratingId** from node **nodeId**. - * - */ - @DELETE - @Path("/nodes/{nodeId}/ratings/{ratingId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a rating", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: unknown rating scheme specified "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteRating(@PathParam("nodeId") String nodeId, @PathParam("ratingId") String ratingId); - - /** - * Get a rating - * - * Get the specific rating **ratingId** on node **nodeId**. - * - */ - @GET - @Path("/nodes/{nodeId}/ratings/{ratingId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a rating", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = RatingEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: unknown rating scheme specified "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public RatingEntry getRating(@PathParam("nodeId") String nodeId, @PathParam("ratingId") String ratingId, @QueryParam("fields")List fields); - - /** - * List ratings - * - * Gets a list of ratings for node **nodeId**. - * - */ - @GET - @Path("/nodes/{nodeId}/ratings") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List ratings", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = RatingPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public RatingPaging listRatings(@PathParam("nodeId") String nodeId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/RenditionsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/RenditionsApi.java deleted file mode 100644 index 63b3080..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/RenditionsApi.java +++ /dev/null @@ -1,111 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.RenditionBodyCreate; -import com.inteligr8.alfresco.acs.model.RenditionEntry; -import com.inteligr8.alfresco.acs.model.RenditionPaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.io.File; -import java.util.Date; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface RenditionsApi { - - /** - * Create rendition - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. An asynchronous request to create a rendition for file **nodeId**. The rendition is specified by name **id** in the request body: ```JSON { \"id\":\"doclib\" } ``` Multiple names may be specified as a comma separated list or using a list format: ```JSON [ { \"id\": \"doclib\" }, { \"id\": \"avatar\" } ] ``` - * - */ - @POST - @Path("/nodes/{nodeId}/renditions") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create rendition", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 202, message = "Request accepted"), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format or is not a file or **renditionBodyCreate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **renditionId** does not exist "), - @ApiResponse(code = 409, message = "All requested renditions already exist"), - @ApiResponse(code = 501, message = "Renditions/thumbnails are disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void createRendition(@PathParam("nodeId") String nodeId, RenditionBodyCreate renditionBodyCreate); - - /** - * Get rendition information - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the rendition information for **renditionId** of file **nodeId**. - * - */ - @GET - @Path("/nodes/{nodeId}/renditions/{renditionId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get rendition information", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = RenditionEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **renditionId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **renditionId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public RenditionEntry getRendition(@PathParam("nodeId") String nodeId, @PathParam("renditionId") String renditionId); - - /** - * Get rendition content - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the rendition content for **renditionId** of file **nodeId**. - * - */ - @GET - @Path("/nodes/{nodeId}/renditions/{renditionId}/content") - @Consumes({ "application/json" }) - @Produces({ "application/octet-stream" }) - @ApiOperation(value = "Get rendition content", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = File.class), - @ApiResponse(code = 206, message = "Partial Content"), - @ApiResponse(code = 304, message = "Content has not been modified since the date provided in the If-Modified-Since header"), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **renditionId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **renditionId** does not exist "), - @ApiResponse(code = 416, message = "Range Not Satisfiable"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public File getRenditionContent(@PathParam("nodeId") String nodeId, @PathParam("renditionId") String renditionId, @QueryParam("attachment")@DefaultValue("true") Boolean attachment, @HeaderParam("If-Modified-Since") Date ifModifiedSince, @HeaderParam("Range") String range, @QueryParam("placeholder")@DefaultValue("false") Boolean placeholder); - - /** - * List renditions - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of the rendition information for each rendition of the the file **nodeId**, including the rendition id. Each rendition returned has a **status**: CREATED means it is available to view or download, NOT_CREATED means the rendition can be requested. You can use the **where** parameter to filter the returned renditions by **status**. For example, the following **where** clause will return just the CREATED renditions: ``` (status='CREATED') ``` - * - */ - @GET - @Path("/nodes/{nodeId}/renditions") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List renditions", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = RenditionPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, is not a file, or **where** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public RenditionPaging listRenditions(@PathParam("nodeId") String nodeId, @QueryParam("where")String where); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/SearchApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/SearchApi.java deleted file mode 100644 index bfa1bbf..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/SearchApi.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.ResultSetPaging; -import com.inteligr8.alfresco.acs.model.SearchRequest; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Search API** Provides access to the search features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/search/versions/1") -@Api(value = "/api/-default-/public/search/versions/1", description = "") -public interface SearchApi { - - /** - * Searches Alfresco - * - * **Note**: this endpoint is available in Alfresco 5.2 and newer versions. **You specify all the parameters in this API in a JSON body**, URL parameters are not supported. A basic query looks like this: ```JSON { \"query\": { \"query\": \"foo\" } } ``` **Note:** These are the minimum possible query parameters. The default search language is **afts** ([Alfresco Full Text Search](http://docs.alfresco.com/5.1/concepts/rm-searchsyntax-intro.html)), but you can also specify **cmis**, and **lucene**. A basic CMIS query looks like this: ```JSON { \"query\": { \"query\": \"select * from cmis:folder\", \"language\": \"cmis\" } } ``` By default, **results are limited to the first 100.** Results can be restricted using \"paging\". For example: ```JSON \"paging\": { \"maxItems\": \"50\", \"skipCount\": \"28\" } ``` This example would ensure that results are **limited by Final Size**, skipping the first 28 results and returning the next 50. Alternatively, you can limit the results by using the **limits JSON body parameter**. For example, ```JSON \"limits\": { \"permissionEvaluationTime\": 20000, \"permissionEvaluationCount\": 2000 } ``` You can use the **include JSON body parameter** to return additional information. This works in the same way as in the /nodes/{nodeId}/children method in the core API. For example: ```JSON \"include\": [\"aspectNames\", \"properties\", \"isLink\"] ``` You can use the **fields JSON body parameter** to restrict the fields returned within a response if, for example, you want to save on overall bandwidth. This works in the same way as in the /nodes/{nodeId}/children method in the core API. For example: ```JSON \"fields\": [\"id\", \"name\", \"search\"] ``` You can sort the results using the **sort JSON body parameter**, for example: ```JSON \"sort\": [{\"type\":\"FIELD\", \"field\":\"cm:description\", \"ascending\":\"true\"}] ``` **Note:** the **sort** parameter is not supported for CMIS queries. By default, search uses the **\"nodes\" location**, which is the **content store known as workspace://SpacesStore**. To change the scope to another location you can use the **locations JSON body parameter**. You can specify either **nodes** (the default), **versions** or **deleted-nodes**. For example: ```JSON \"scope\": { \"locations\": [\"deleted-nodes\"] } ``` You can specify templates using the **templates JSON body parameter**, for example: ```JSON \"templates\": [{\"name\": \"_PERSON\",\"template\": \"|%firstName OR |%lastName OR |%userName\"}, {\"name\": \"mytemplate\",\"template\": \"%cm:content\"}] ``` **Note: Spell checking only works on Search Services (Solr 6) if you have already enabled suggestions.** For **spell checking** you can use a query like this: ```JSON { \"query\": { \"query\": \"cm:title:alfrezco\" }, \"spellcheck\": {\"query\": \"alfrezco\"} } ``` If you are already specifying \"userQuery\" then the following may be easier and produces the same result : ```JSON { \"query\": { \"query\": \"cm:title:alfrezco\", \"userQuery\": \"alfrezco\" }, \"spellcheck\": {} } ``` The spellcheck response includes a spellCheck context like this: ```JSON \"context\": { \"spellCheck\": { \"type\": \"searchInsteadFor\", \"suggestions\": [\"alfresco\"] } }, ``` To specify defaults, you use a **defaults JSON body parameter**, for example: ```JSON \"defaults\": { \"textAttributes\": [ \"cm:content\", \"cm:name\" ], \"defaultFTSOperator\": \"AND\", \"defaultFTSFieldOperator\": \"OR\", \"namespace\": \"cm\", \"defaultFieldName\": \"PATH\" } ``` You can specify several filter queries using the **filterQueries JSON body parameter**, for example: ```JSON \"filterQueries\": [{\"query\": \"TYPE:'cm:folder'\"},{\"query\": \"cm:creator:mjackson\"}] ``` You can specify several facet queries using the **facetQueries JSON body parameter**, for example: ```JSON \"facetQueries\": [{\"query\": \"created:2016\",\"label\": \"CreatedThisYear\"}] ``` The response will contain a matching \"context\" section, the \"label\" will match the facet query. ```JSON \"context\": { \"facetQueries\": [ {\"label\": \"CreatedThisYear\",\"count\": 3} ] }, ``` A complete query for facetting via the content.size field looks this: ```JSON { \"query\": { \"query\": \"presentation\", \"language\": \"afts\" }, \"facetQueries\": [ {\"query\": \"content.size:[0 TO 10240]\", \"label\": \"xtra small\"}, {\"query\": \"content.size:[10240 TO 102400]\", \"label\": \"small\"}, {\"query\": \"content.size:[102400 TO 1048576]\", \"label\": \"medium\"}, {\"query\": \"content.size:[1048576 TO 16777216]\", \"label\": \"large\"}, {\"query\": \"content.size:[16777216 TO 134217728]\", \"label\": \"xtra large\"}, {\"query\": \"content.size:[134217728 TO MAX]\", \"label\": \"XX large\"} ], \"facetFields\": {\"facets\": [{\"field\": \"'content.size'\"}]} } ``` The response will contain a matching \"context\" section, the \"label\" will match the facet query. ```JSON \"context\": { \"facetQueries\": [ { \"label\": \"small\",\"count\": 2 }, { \"label\": \"large\",\"count\": 0 }, { \"label\": \"xtra small\",\"count\": 5 }, { \"label\": \"xtra large\",\"count\": 56}, { \"label\": \"medium\",\"count\": 4 }, { \"label\": \"XX large\", \"count\": 1 } ] }, ``` You can specify several facet fields using the **facetFields JSON body parameter**, for example: ```JSON \"facetFields\": {\"facets\": [{\"field\": \"creator\", \"mincount\": 1}, {\"field\": \"modifier\", \"mincount\": 1}]} ``` The response will contain a matching \"context\" section, the \"label\" will match the facet field. ```JSON \"context\": { \"facetsFields\": [ { \"label\": \"creator\", \"buckets\": [ { \"label\": \"System\", \"count\": 75 }, { \"label\": \"mjackson\", \"count\": 5 } ]}, { \"label\": \"modifier\", \"buckets\": [ { \"label\": \"System\", \"count\": 72 }, { \"label\": \"mjackson\", \"count\": 5 }, { \"label\": \"admin\", \"count\": 3 } ]} ] }, ``` Grouping facet queries that go together can be done by specifying the group label in the fact queries as follow: ```JSON { \"query\": { \"query\": \"presentation\" }, \"facetQueries\": [ {\"query\": \"content.size:[0 TO 102400]\", \"label\": \"small\", \"group\":\"foo\"}, {\"query\": \"content.size:[102400 TO 1048576]\", \"label\": \"medium\",\"group\":\"foo\"}, {\"query\": \"content.size:[1048576 TO 16777216]\", \"label\": \"large\",\"group\":\"foo\"} ] } ``` The above query returns the results a faceted field grouped under the label foo: ```JSON { \"context\": {\"facetsFields\": [{ \"label\": \"foo\", \"buckets\": [ { \"count\": 109, \"label\": \"small\", \"filterQuery\": \"content.size:[0 TO 102400]\" }, { \"count\": 0, \"label\": \"large\", \"filterQuery\": \"content.size:[1048576 TO 16777216]\" }, { \"count\": 0, \"label\": \"medium\", \"filterQuery\": \"content.size:[102400 TO 1048576]\" } ] }] } ``` Range Faceting is supported by the **ranges JSON body parameter**, for example: ```JSON { \"query\": { \"query\": \"presentation\" }, \"ranges\": [ { \"field\": \"content.size\", \"start\": \"0\", \"end\": \"100\", \"gap\": \"20\", \"hardend\": true }, { \"field\": \"created\", \"start\": \"2015-09-29T10:45:15.729Z\", \"end\": \"2016-09-29T10:45:15.729Z\", \"gap\": \"+100DAY\" }] } ``` An example query for **search highlighting** could look like this: ```JSON { \"query\": { \"query\": \"description:workflow\", \"userQuery\":\"workflow\" }, \"highlight\": { \"prefix\": \"¿\", \"postfix\": \"?\", \"mergeContiguous\": true, \"fields\": [ { \"field\": \"cm:title\" }, { \"field\": \"description\", \"prefix\": \"(\", \"postfix\": \")\" } ] } } ``` The example above changes the highlighting prefix and postfix from the default `<em>` for all fields to ¿? and just for the \"description\" field to (). The hightlight information is added in each node entry response; here is an example partial response: ``` \"entry\": { \"createdAt\": \"2016-10-12T15:24:31.202+0000\", \"isFolder\": true, \"search\": { \"score\": 1, \"highlight\": [ { \"field\": \"cm:title\", \"snippets\": [ \"Customized ¿Workflow? Process Definitions\" ] }, { \"field\": \"description\", \"snippets\": [ \"Customized (Workflow) Process Definitions\" ] } ] }, ``` **Note**: after the migration to Swagger UI 3, this API definition was triggering some warnings, more info in [this StackOverflow Q&A](https://stackoverflow.com/q/65584131/1654265). - * - */ - @POST - @Path("/search") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Searches Alfresco", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = ResultSetPaging.class), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public ResultSetPaging search(SearchRequest queryBody); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/SharedLinksApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/SharedLinksApi.java deleted file mode 100644 index 028c7f6..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/SharedLinksApi.java +++ /dev/null @@ -1,212 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.RenditionEntry; -import com.inteligr8.alfresco.acs.model.RenditionPaging; -import com.inteligr8.alfresco.acs.model.SharedLinkBodyCreate; -import com.inteligr8.alfresco.acs.model.SharedLinkBodyEmail; -import com.inteligr8.alfresco.acs.model.SharedLinkEntry; -import com.inteligr8.alfresco.acs.model.SharedLinkPaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.io.File; -import java.util.Date; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface SharedLinksApi { - - /** - * Create a shared link to a file - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Create a shared link to the file **nodeId** in the request body. Also, an optional expiry date could be set, so the shared link would become invalid when the expiry date is reached. For example: ```JSON { \"nodeId\": \"1ff9da1a-ee2f-4b9c-8c34-3333333333\", \"expiresAt\": \"2017-03-23T23:00:00.000+0000\" } ``` **Note:** You can create shared links to more than one file specifying a list of **nodeId**s in the JSON body like this: ```JSON [ { \"nodeId\": \"1ff9da1a-ee2f-4b9c-8c34-4444444444\" }, { \"nodeId\": \"1ff9da1a-ee2f-4b9c-8c34-5555555555\" } ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ``` - * - */ - @POST - @Path("/shared-links") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a shared link to a file", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SharedLinkEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or does not identify a file, or **sharedLinkBodyCreate** invalid, or the specified expiry date is invalid. E.g. the expiry date has already passed "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to create **sharedId** (for example, no read permission)"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 409, message = "Shared link already exists for **nodeId**"), - @ApiResponse(code = 501, message = "Shared links are disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SharedLinkEntry createSharedLink(SharedLinkBodyCreate sharedLinkBodyCreate, @QueryParam("include")List include, @QueryParam("fields")List fields); - - /** - * Deletes a shared link - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Deletes the shared link with identifier **sharedId**. - * - */ - @DELETE - @Path("/shared-links/{sharedId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Deletes a shared link", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: **sharedId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to delete **sharedId**"), - @ApiResponse(code = 404, message = "**sharedId** does not exist "), - @ApiResponse(code = 501, message = "Shared links are disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteSharedLink(@PathParam("sharedId") String sharedId); - - /** - * Email shared link - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Sends email with app-specific url including identifier **sharedId**. The client and recipientEmails properties are mandatory in the request body. For example, to email a shared link with minimum info: ```JSON { \"client\": \"myClient\", \"recipientEmails\": [\"john.doe@acme.com\", \"joe.bloggs@acme.com\"] } ``` A plain text message property can be optionally provided in the request body to customise the sent email. Also, a locale property can be optionally provided in the request body to send the emails in a particular language (if the locale is supported by Alfresco). For example, to email a shared link with a messages and a locale: ```JSON { \"client\": \"myClient\", \"recipientEmails\": [\"john.doe@acme.com\", \"joe.bloggs@acme.com\"], \"message\": \"myMessage\", \"locale\":\"en-GB\" } ``` **Note:** The client must be registered before you can send a shared link email. See [server documentation]. However, out-of-the-box share is registered as a default client, so you could pass **share** as the client name: ```JSON { \"client\": \"share\", \"recipientEmails\": [\"john.doe@acme.com\"] } ``` - * - */ - @POST - @Path("/shared-links/{sharedId}/email") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Email shared link", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 202, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: **sharedId** is not a valid format or **sharedLinkBodyEmail** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**sharedId** does not exist or **client** is not registered "), - @ApiResponse(code = 501, message = "Shared links are disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void emailSharedLink(@PathParam("sharedId") String sharedId, SharedLinkBodyEmail sharedLinkBodyEmail); - - /** - * Get a shared link - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets minimal information for the file with shared link identifier **sharedId**. **Note:** No authentication is required to call this endpoint. - * - */ - @GET - @Path("/shared-links/{sharedId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a shared link", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SharedLinkEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **sharedId** is not a valid format "), - @ApiResponse(code = 404, message = "**sharedId** does not exist "), - @ApiResponse(code = 501, message = "Shared links are disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SharedLinkEntry getSharedLink(@PathParam("sharedId") String sharedId, @QueryParam("fields")List fields); - - /** - * Get shared link content - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the content of the file with shared link identifier **sharedId**. **Note:** No authentication is required to call this endpoint. - * - */ - @GET - @Path("/shared-links/{sharedId}/content") - @Consumes({ "application/json" }) - @Produces({ "application/octet-stream" }) - @ApiOperation(value = "Get shared link content", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = File.class), - @ApiResponse(code = 206, message = "Partial Content"), - @ApiResponse(code = 304, message = "Content has not been modified since the date provided in the If-Modified-Since header"), - @ApiResponse(code = 400, message = "Invalid parameter: **sharedId** is not a valid format "), - @ApiResponse(code = 404, message = "**sharedId** does not exist "), - @ApiResponse(code = 416, message = "Range Not Satisfiable"), - @ApiResponse(code = 501, message = "Shared links are disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public File getSharedLinkContent(@PathParam("sharedId") String sharedId, @QueryParam("attachment")@DefaultValue("true") Boolean attachment, @HeaderParam("If-Modified-Since") Date ifModifiedSince, @HeaderParam("Range") String range); - - /** - * Get shared link rendition information - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets rendition information for the file with shared link identifier **sharedId**. This API method returns rendition information where the rendition status is CREATED, which means the rendition is available to view/download. **Note:** No authentication is required to call this endpoint. - * - */ - @GET - @Path("/shared-links/{sharedId}/renditions/{renditionId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get shared link rendition information", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = RenditionEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **sharedId** is not a valid format, or **renditionId** is invalid "), - @ApiResponse(code = 404, message = "**sharedId** or **renditionId** does not exist (ie. not CREATED) "), - @ApiResponse(code = 501, message = "Shared links are disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public RenditionEntry getSharedLinkRendition(@PathParam("sharedId") String sharedId, @PathParam("renditionId") String renditionId); - - /** - * Get shared link rendition content - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the rendition content for file with shared link identifier **sharedId**. **Note:** No authentication is required to call this endpoint. - * - */ - @GET - @Path("/shared-links/{sharedId}/renditions/{renditionId}/content") - @Consumes({ "application/json" }) - @Produces({ "application/octet-stream" }) - @ApiOperation(value = "Get shared link rendition content", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = File.class), - @ApiResponse(code = 206, message = "Partial Content"), - @ApiResponse(code = 304, message = "Content has not been modified since the date provided in the If-Modified-Since header"), - @ApiResponse(code = 400, message = "Invalid parameter: **sharedId** is not a valid format, or **renditionId** is invalid "), - @ApiResponse(code = 404, message = "**sharedId** does not exist "), - @ApiResponse(code = 416, message = "Range Not Satisfiable"), - @ApiResponse(code = 501, message = "Shared links are disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public File getSharedLinkRenditionContent(@PathParam("sharedId") String sharedId, @PathParam("renditionId") String renditionId, @QueryParam("attachment")@DefaultValue("true") Boolean attachment, @HeaderParam("If-Modified-Since") Date ifModifiedSince, @HeaderParam("Range") String range); - - /** - * List renditions for a shared link - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of the rendition information for the file with shared link identifier **sharedId**. This API method returns rendition information, including the rendition id, for each rendition where the rendition status is CREATED, which means the rendition is available to view/download. **Note:** No authentication is required to call this endpoint. - * - */ - @GET - @Path("/shared-links/{sharedId}/renditions") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List renditions for a shared link", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = RenditionPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: **sharedId** is not a valid format "), - @ApiResponse(code = 404, message = "**sharedId** does not exist "), - @ApiResponse(code = 501, message = "Shared links are disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public RenditionPaging listSharedLinkRenditions(@PathParam("sharedId") String sharedId); - - /** - * List shared links - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Get a list of links that the current user has read permission on source node. The list is ordered in descending modified order. **Note:** The list of links is eventually consistent so newly created shared links may not appear immediately. - * - */ - @GET - @Path("/shared-links") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List shared links", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SharedLinkPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 501, message = "Shared links are disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SharedLinkPaging listSharedLinks(@QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("where")String where, @QueryParam("include")List include, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/SitesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/SitesApi.java deleted file mode 100644 index c16d73f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/SitesApi.java +++ /dev/null @@ -1,575 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.SiteBodyCreate; -import com.inteligr8.alfresco.acs.model.SiteBodyUpdate; -import com.inteligr8.alfresco.acs.model.SiteContainerEntry; -import com.inteligr8.alfresco.acs.model.SiteContainerPaging; -import com.inteligr8.alfresco.acs.model.SiteEntry; -import com.inteligr8.alfresco.acs.model.SiteGroupEntry; -import com.inteligr8.alfresco.acs.model.SiteGroupPaging; -import com.inteligr8.alfresco.acs.model.SiteMemberEntry; -import com.inteligr8.alfresco.acs.model.SiteMemberPaging; -import com.inteligr8.alfresco.acs.model.SiteMembershipApprovalBody; -import com.inteligr8.alfresco.acs.model.SiteMembershipBodyCreate; -import com.inteligr8.alfresco.acs.model.SiteMembershipBodyUpdate; -import com.inteligr8.alfresco.acs.model.SiteMembershipRejectionBody; -import com.inteligr8.alfresco.acs.model.SiteMembershipRequestBodyCreate; -import com.inteligr8.alfresco.acs.model.SiteMembershipRequestBodyUpdate; -import com.inteligr8.alfresco.acs.model.SiteMembershipRequestEntry; -import com.inteligr8.alfresco.acs.model.SiteMembershipRequestPaging; -import com.inteligr8.alfresco.acs.model.SiteMembershipRequestWithPersonPaging; -import com.inteligr8.alfresco.acs.model.SitePaging; -import com.inteligr8.alfresco.acs.model.SiteRoleEntry; -import com.inteligr8.alfresco.acs.model.SiteRolePaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface SitesApi { - - /** - * Approve a site membership request - * - * Approve a site membership request. - * - */ - @POST - @Path("/sites/{siteId}/site-membership-requests/{inviteeId}/approve") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Approve a site membership request", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: value of **siteId** or **inviteeId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to approve membership request"), - @ApiResponse(code = 404, message = "**siteId** or **inviteeId** does not exist "), - @ApiResponse(code = 422, message = "Integrity exception or not allowed to approve membership request. "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void approveSiteMembershipRequest(@PathParam("siteId") String siteId, @PathParam("inviteeId") String inviteeId, SiteMembershipApprovalBody siteMembershipApprovalBody); - - /** - * Create a site - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Creates a default site with the given details. Unless explicitly specified, the site id will be generated from the site title. The site id must be unique and only contain alphanumeric and/or dash characters. Note: the id of a site cannot be updated once the site has been created. For example, to create a public site called \"Marketing\" the following body could be used: ```JSON { \"title\": \"Marketing\", \"visibility\": \"PUBLIC\" } ``` The creation of the (surf) configuration files required by Share can be skipped via the **skipConfiguration** query parameter. **Note:** if skipped then such a site will **not** work within Share. The addition of the site to the user's site favorites can be skipped via the **skipAddToFavorites** query parameter. The creator will be added as a member with Site Manager role. When you create a site, a container called **documentLibrary** is created for you in the new site. This container is the root folder for content stored in the site. - * - */ - @POST - @Path("/sites") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a site", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = SiteEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **id**, **title**, or **description** exceed the maximum length; or **id** contains invalid characters; or **siteBodyCreate** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 409, message = "Site with the given identifier already exists"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteEntry createSite(SiteBodyCreate siteBodyCreate, @QueryParam("skipConfiguration")@DefaultValue("false") Boolean skipConfiguration, @QueryParam("skipAddToFavorites")@DefaultValue("false") Boolean skipAddToFavorites, @QueryParam("fields")List fields); - - /** - * Create a site membership for group - * - * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Creates a site membership for group **groupId** on site **siteId**. You can set the **role** to one of four types: * SiteConsumer * SiteCollaborator * SiteContributor * SiteManager **Note:** You can create more than one site membership by specifying a list of group in the JSON body like this: ```JSON [ { \"role\": \"SiteConsumer\", \"id\": \"authorityId\" }, { \"role\": \"SiteConsumer\", \"id\": \"authorityId\" } ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ``` - * - */ - @POST - @Path("/sites/{siteId}/group-members") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a site membership for group", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = SiteGroupEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **role** or **id** is invalid or **siteMembershipBodyCreate** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to invite a Group"), - @ApiResponse(code = 404, message = "**siteId** or **groupId** does not exist "), - @ApiResponse(code = 409, message = "Group with this **id** is already a member"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteGroupEntry createSiteGroupMembership(@PathParam("siteId") String siteId, SiteMembershipBodyCreate siteMembershipBodyCreate, @QueryParam("fields")List fields); - - /** - * Create a site membership - * - * Creates a site membership for person **personId** on site **siteId**. You can set the **role** to one of four types: * SiteConsumer * SiteCollaborator * SiteContributor * SiteManager **Note:** You can create more than one site membership by specifying a list of people in the JSON body like this: ```JSON [ { \"role\": \"SiteConsumer\", \"id\": \"joe\" }, { \"role\": \"SiteConsumer\", \"id\": \"fred\" } ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ``` - * - */ - @POST - @Path("/sites/{siteId}/members") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a site membership", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = SiteMemberEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **role** or **id** is invalid or **siteMembershipBodyCreate** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to invite a person"), - @ApiResponse(code = 404, message = "**siteId** or **personId** does not exist "), - @ApiResponse(code = 409, message = "Person with this **id** is already a member"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteMemberEntry createSiteMembership(@PathParam("siteId") String siteId, SiteMembershipBodyCreate siteMembershipBodyCreate, @QueryParam("fields")List fields); - - /** - * Create a site membership request - * - * Create a site membership request for yourself on the site with the identifier of **id**, specified in the JSON body. The result of the request differs depending on the type of site. * For a **public** site, you join the site immediately as a SiteConsumer. * For a **moderated** site, your request is added to the site membership request list. The request waits for approval from the Site Manager. * You cannot request membership of a **private** site. Members are invited by the site administrator. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. **Note:** You can create site membership requests for more than one site by specifying a list of sites in the JSON body like this: ```JSON [ { \"message\": \"Please can you add me\", \"id\": \"test-site-1\", \"title\": \"Request for test site 1\", }, { \"message\": \"Please can you add me\", \"id\": \"test-site-2\", \"title\": \"Request for test site 2\", } ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ``` - * - */ - @POST - @Path("/people/{personId}/site-membership-requests") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a site membership request", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = SiteMembershipRequestEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **id** is invalid, or the user is already invited, or **siteMembershipRequestBodyCreate** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** or **id** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteMembershipRequestEntry createSiteMembershipRequestForPerson(@PathParam("personId") String personId, SiteMembershipRequestBodyCreate siteMembershipRequestBodyCreate, @QueryParam("fields")List fields); - - /** - * Delete a site - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Deletes the site with **siteId**. - * - */ - @DELETE - @Path("/sites/{siteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a site", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to delete the site that is visible to them."), - @ApiResponse(code = 404, message = "**siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteSite(@PathParam("siteId") String siteId, @QueryParam("permanent")@DefaultValue("false") Boolean permanent); - - /** - * Delete a group membership for site - * - * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Deletes group **groupId** as a member of site **siteId**. - * - */ - @DELETE - @Path("/sites/{siteId}/group-members/{groupId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a group membership for site", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**siteId** or **groupId** does not exist "), - @ApiResponse(code = 422, message = "Integrity exception (eg. last site member must be a site manager) or not allowed to delete groupId"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteSiteGroupMembership(@PathParam("siteId") String siteId, @PathParam("groupId") String groupId); - - /** - * Delete a site membership - * - * Deletes person **personId** as a member of site **siteId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @DELETE - @Path("/sites/{siteId}/members/{personId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a site membership", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**siteId** or **personId** does not exist "), - @ApiResponse(code = 422, message = "Integrity exception (eg. last site member must be a site manager) or not allowed to delete member"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteSiteMembership(@PathParam("siteId") String siteId, @PathParam("personId") String personId); - - /** - * Delete a site membership - * - * Deletes person **personId** as a member of site **siteId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @DELETE - @Path("/people/{personId}/sites/{siteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a site membership", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** or **siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteSiteMembershipForPerson(@PathParam("personId") String personId, @PathParam("siteId") String siteId); - - /** - * Delete a site membership request - * - * Deletes the site membership request to site **siteId** for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @DELETE - @Path("/people/{personId}/site-membership-requests/{siteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a site membership request", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** or **siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteSiteMembershipRequestForPerson(@PathParam("personId") String personId, @PathParam("siteId") String siteId); - - /** - * Get a site - * - * Gets information for site **siteId**. You can use the **relations** parameter to include one or more related entities in a single response and so reduce network traffic. The entity types in Alfresco are organized in a tree structure. The **sites** entity has two children, **containers** and **members**. The following relations parameter returns all the container and member objects related to the site **siteId**: ``` containers,members ``` - * - */ - @GET - @Path("/sites/{siteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a site", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteEntry getSite(@PathParam("siteId") String siteId, @QueryParam("relations")List relations, @QueryParam("fields")List fields); - - /** - * Get a site container - * - * Gets information on the container **containerId** in site **siteId**. - * - */ - @GET - @Path("/sites/{siteId}/containers/{containerId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a site container", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteContainerEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**siteId** or **containerId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteContainerEntry getSiteContainer(@PathParam("siteId") String siteId, @PathParam("containerId") String containerId, @QueryParam("fields")List fields); - - /** - * Get information about site membership of group - * - * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Gets site membership information for group **groupId** on site **siteId**. - * - */ - @GET - @Path("/sites/{siteId}/group-members/{groupId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get information about site membership of group", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteGroupEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**siteId** or **groupId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteGroupEntry getSiteGroupMembership(@PathParam("siteId") String siteId, @PathParam("groupId") String groupId, @QueryParam("fields")List fields); - - /** - * Get a site membership - * - * Gets site membership information for person **personId** on site **siteId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/sites/{siteId}/members/{personId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a site membership", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteMemberEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**siteId** or **personId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteMemberEntry getSiteMembership(@PathParam("siteId") String siteId, @PathParam("personId") String personId, @QueryParam("fields")List fields); - - /** - * Get a site membership - * - * Gets site membership information for person **personId** on site **siteId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}/sites/{siteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a site membership", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteRoleEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** or **siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteRoleEntry getSiteMembershipForPerson(@PathParam("personId") String personId, @PathParam("siteId") String siteId); - - /** - * Get a site membership request - * - * Gets the site membership request for site **siteId** for person **personId**, if one exists. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}/site-membership-requests/{siteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a site membership request", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteMembershipRequestEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** or **siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteMembershipRequestEntry getSiteMembershipRequestForPerson(@PathParam("personId") String personId, @PathParam("siteId") String siteId, @QueryParam("fields")List fields); - - /** - * Get site membership requests - * - * Get the list of site membership requests the user can action. You can use the **where** parameter to filter the returned site membership requests by **siteId**. For example: ``` (siteId=mySite) ``` The **where** parameter can also be used to filter by ***personId***. For example: ``` where=(personId=person) ``` This may be combined with the siteId filter, as shown below: ``` where=(siteId=mySite AND personId=person)) ``` - * - */ - @GET - @Path("/site-membership-requests") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get site membership requests", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteMembershipRequestWithPersonPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteMembershipRequestWithPersonPaging getSiteMembershipRequests(@QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("where")String where, @QueryParam("fields")List fields); - - /** - * List site containers - * - * Gets a list of containers for the site **siteId**. - * - */ - @GET - @Path("/sites/{siteId}/containers") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List site containers", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteContainerPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteContainerPaging listSiteContainers(@PathParam("siteId") String siteId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields); - - /** - * List group membership for site - * - * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Gets a list of group membership for site **siteId**. - * - */ - @GET - @Path("/sites/{siteId}/group-members") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List group membership for site", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteGroupPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteGroupPaging listSiteGroups(@PathParam("siteId") String siteId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields); - - /** - * List site membership requests - * - * Gets a list of the current site membership requests for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @GET - @Path("/people/{personId}/site-membership-requests") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List site membership requests", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteMembershipRequestPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteMembershipRequestPaging listSiteMembershipRequestsForPerson(@PathParam("personId") String personId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields); - - /** - * List site memberships - * - * Gets a list of site memberships for site **siteId**. - * - */ - @GET - @Path("/sites/{siteId}/members") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List site memberships", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteMemberPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteMemberPaging listSiteMemberships(@PathParam("siteId") String siteId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields, @QueryParam("where")String where); - - /** - * List site memberships - * - * Gets a list of site membership information for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. You can use the **where** parameter to filter the returned sites by **visibility** or site **preset**. Example to filter by **visibility**, use any one of: ``` (visibility='PRIVATE') (visibility='PUBLIC') (visibility='MODERATED') ``` Example to filter by site **preset**: ``` (preset='site-dashboard') ``` The default sort order for the returned list is for sites to be sorted by ascending title. You can override the default by using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter: * id * title * role - * - */ - @GET - @Path("/people/{personId}/sites") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List site memberships", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteRolePaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems**, **skipCount**, **orderBy**, or **where** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteRolePaging listSiteMembershipsForPerson(@PathParam("personId") String personId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("orderBy")List orderBy, @QueryParam("relations")List relations, @QueryParam("fields")List fields, @QueryParam("where")String where); - - /** - * List sites - * - * Gets a list of sites in this repository. You can use the **where** parameter to filter the returned sites by **visibility** or site **preset**. Example to filter by **visibility**, use any one of: ``` (visibility='PRIVATE') (visibility='PUBLIC') (visibility='MODERATED') ``` Example to filter by site **preset**: ``` (preset='site-dashboard') ``` The default sort order for the returned list is for sites to be sorted by ascending title. You can override the default by using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter: * id * title * description You can use the **relations** parameter to include one or more related entities in a single response and so reduce network traffic. The entity types in Alfresco are organized in a tree structure. The **sites** entity has two children, **containers** and **members**. The following relations parameter returns all the container and member objects related to each site: ``` containers,members ``` - * - */ - @GET - @Path("/sites") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List sites", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SitePaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems**, **skipCount**, **orderBy**, or **where** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SitePaging listSites(@QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("orderBy")List orderBy, @QueryParam("relations")List relations, @QueryParam("fields")List fields, @QueryParam("where")String where); - - /** - * Reject a site membership request - * - * Reject a site membership request. - * - */ - @POST - @Path("/sites/{siteId}/site-membership-requests/{inviteeId}/reject") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Reject a site membership request", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: value of **siteId** or **inviteeId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to reject membership request"), - @ApiResponse(code = 404, message = "**siteId** or **inviteeId** does not exist "), - @ApiResponse(code = 422, message = "Integrity exception or not allowed to reject membership request. "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void rejectSiteMembershipRequest(@PathParam("siteId") String siteId, @PathParam("inviteeId") String inviteeId, SiteMembershipRejectionBody siteMembershipRejectionBody); - - /** - * Update a site - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Update the details for the given site **siteId**. Site Manager or otherwise a (site) admin can update title, description or visibility. Note: the id of a site cannot be updated once the site has been created. - * - */ - @PUT - @Path("/sites/{siteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update a site", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **siteBodyUpdate** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to update the site that is visible to them."), - @ApiResponse(code = 404, message = "**siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteEntry updateSite(@PathParam("siteId") String siteId, SiteBodyUpdate siteBodyUpdate, @QueryParam("fields")List fields); - - /** - * Update site membership of group - * - * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Update the membership of person **groupId** in site **siteId**. You can set the **role** to one of four types: * SiteConsumer * SiteCollaborator * SiteContributor * SiteManager - * - */ - @PUT - @Path("/sites/{siteId}/group-members/{groupId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update site membership of group", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteGroupEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **role** does not exist or **siteMembershipBodyUpdate** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**siteId** or **groupId** does not exist "), - @ApiResponse(code = 422, message = "Integrity exception (eg. last site member must be a site manager) or not allowed to update group"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteGroupEntry updateSiteGroupMembership(@PathParam("siteId") String siteId, @PathParam("groupId") String groupId, SiteMembershipBodyUpdate siteMembershipBodyUpdate, @QueryParam("fields")List fields); - - /** - * Update a site membership - * - * Update the membership of person **personId** in site **siteId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. You can set the **role** to one of four types: * SiteConsumer * SiteCollaborator * SiteContributor * SiteManager - * - */ - @PUT - @Path("/sites/{siteId}/members/{personId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update a site membership", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteMemberEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **role** does not exist or **siteMembershipBodyUpdate** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**siteId** or **personId** does not exist "), - @ApiResponse(code = 422, message = "Integrity exception (eg. last site member must be a site manager) or not allowed to update member"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteMemberEntry updateSiteMembership(@PathParam("siteId") String siteId, @PathParam("personId") String personId, SiteMembershipBodyUpdate siteMembershipBodyUpdate, @QueryParam("fields")List fields); - - /** - * Update a site membership request - * - * Updates the message for the site membership request to site **siteId** for person **personId**. You can use the `-me-` string in place of `<personId>` to specify the currently authenticated user. - * - */ - @PUT - @Path("/people/{personId}/site-membership-requests/{siteId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update a site membership request", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = SiteMembershipRequestEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **id** is invalid or **siteMembershipRequestBodyUpdate** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**personId** or **siteId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public SiteMembershipRequestEntry updateSiteMembershipRequestForPerson(@PathParam("personId") String personId, @PathParam("siteId") String siteId, SiteMembershipRequestBodyUpdate siteMembershipRequestBodyUpdate, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/TagsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/TagsApi.java deleted file mode 100644 index a35ff8c..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/TagsApi.java +++ /dev/null @@ -1,139 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.TagBody; -import com.inteligr8.alfresco.acs.model.TagEntry; -import com.inteligr8.alfresco.acs.model.TagPaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface TagsApi { - - /** - * Create a tag for a node - * - * Creates a tag on the node **nodeId**. You specify the tag in a JSON body like this: ```JSON { \"tag\":\"test-tag-1\" } ``` **Note:** You can create more than one tag by specifying a list of tags in the JSON body like this: ```JSON [ { \"tag\":\"test-tag-1\" }, { \"tag\":\"test-tag-2\" } ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ``` - * - */ - @POST - @Path("/nodes/{nodeId}/tags") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create a tag for a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 201, message = "Successful response", response = TagEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **tagBodyCreate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to create tags on the node"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 405, message = "Cannot tag a node of this type"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public TagEntry createTagForNode(@PathParam("nodeId") String nodeId, TagBody tagBodyCreate, @QueryParam("fields")List fields); - - /** - * Delete a tag from a node - * - * Deletes tag **tagId** from node **nodeId**. - * - */ - @DELETE - @Path("/nodes/{nodeId}/tags/{tagId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a tag from a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to delete the tag"), - @ApiResponse(code = 404, message = "**nodeId** or **tagId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteTagFromNode(@PathParam("nodeId") String nodeId, @PathParam("tagId") String tagId); - - /** - * Get a tag - * - * Get a specific tag with **tagId**. - * - */ - @GET - @Path("/tags/{tagId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a tag", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = TagEntry.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**tagId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public TagEntry getTag(@PathParam("tagId") String tagId, @QueryParam("fields")List fields); - - /** - * List tags - * - * Gets a list of tags in this repository. You can use the **include** parameter to return additional **values** information. - * - */ - @GET - @Path("/tags") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List tags", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = TagPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public TagPaging listTags(@QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields, @QueryParam("include")List include); - - /** - * List tags for a node - * - * Gets a list of tags for node **nodeId**. - * - */ - @GET - @Path("/nodes/{nodeId}/tags") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List tags for a node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = TagPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to read tags on the node"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public TagPaging listTagsForNode(@PathParam("nodeId") String nodeId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields); - - /** - * Update a tag - * - * Updates the tag **tagId**. - * - */ - @PUT - @Path("/tags/{tagId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Update a tag", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = TagEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **tagBodyUpdate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**tagId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public TagEntry updateTag(@PathParam("tagId") String tagId, TagBody tagBodyUpdate, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/TrashcanApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/TrashcanApi.java deleted file mode 100644 index a8664f6..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/TrashcanApi.java +++ /dev/null @@ -1,195 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.DeletedNodeBodyRestore; -import com.inteligr8.alfresco.acs.model.DeletedNodeEntry; -import com.inteligr8.alfresco.acs.model.DeletedNodesPaging; -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.NodeEntry; -import com.inteligr8.alfresco.acs.model.RenditionEntry; -import com.inteligr8.alfresco.acs.model.RenditionPaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.io.File; -import java.util.Date; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface TrashcanApi { - - /** - * Permanently delete a deleted node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Permanently deletes the deleted node **nodeId**. - * - */ - @DELETE - @Path("/deleted-nodes/{nodeId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Permanently delete a deleted node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to permanently delete the deleted node"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteDeletedNode(@PathParam("nodeId") String nodeId); - - /** - * Get rendition information for a deleted node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the rendition information for **renditionId** of file **nodeId**. - * - */ - @GET - @Path("/deleted-nodes/{nodeId}/renditions/{renditionId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get rendition information for a deleted node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = RenditionEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **renditionId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **renditionId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public RenditionEntry getArchivedNodeRendition(@PathParam("nodeId") String nodeId, @PathParam("renditionId") String renditionId); - - /** - * Get rendition content of a deleted node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the rendition content for **renditionId** of file **nodeId**. - * - */ - @GET - @Path("/deleted-nodes/{nodeId}/renditions/{renditionId}/content") - @Consumes({ "application/json" }) - @Produces({ "application/octet-stream" }) - @ApiOperation(value = "Get rendition content of a deleted node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = File.class), - @ApiResponse(code = 206, message = "Partial Content"), - @ApiResponse(code = 304, message = "Content has not been modified since the date provided in the If-Modified-Since header"), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **renditionId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **renditionId** does not exist "), - @ApiResponse(code = 416, message = "Range Not Satisfiable"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public File getArchivedNodeRenditionContent(@PathParam("nodeId") String nodeId, @PathParam("renditionId") String renditionId, @QueryParam("attachment")@DefaultValue("true") Boolean attachment, @HeaderParam("If-Modified-Since") Date ifModifiedSince, @HeaderParam("Range") String range, @QueryParam("placeholder")@DefaultValue("false") Boolean placeholder); - - /** - * Get a deleted node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the specific deleted node **nodeId**. - * - */ - @GET - @Path("/deleted-nodes/{nodeId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a deleted node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = DeletedNodeEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to view the deleted node"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public DeletedNodeEntry getDeletedNode(@PathParam("nodeId") String nodeId, @QueryParam("include")List include); - - /** - * Get deleted node content - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the content of the deleted node with identifier **nodeId**. - * - */ - @GET - @Path("/deleted-nodes/{nodeId}/content") - @Consumes({ "application/json" }) - @Produces({ "application/octet-stream" }) - @ApiOperation(value = "Get deleted node content", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = File.class), - @ApiResponse(code = 206, message = "Partial Content"), - @ApiResponse(code = 304, message = "Content has not been modified since the date provided in the If-Modified-Since header"), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to retrieve content of **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 416, message = "Range Not Satisfiable"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public File getDeletedNodeContent(@PathParam("nodeId") String nodeId, @QueryParam("attachment")@DefaultValue("true") Boolean attachment, @HeaderParam("If-Modified-Since") Date ifModifiedSince, @HeaderParam("Range") String range); - - /** - * List renditions for a deleted node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of the rendition information for each rendition of the file **nodeId**, including the rendition id. Each rendition returned has a **status**: CREATED means it is available to view or download, NOT_CREATED means the rendition can be requested. You can use the **where** parameter to filter the returned renditions by **status**. For example, the following **where** clause will return just the CREATED renditions: ``` (status='CREATED') ``` - * - */ - @GET - @Path("/deleted-nodes/{nodeId}/renditions") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List renditions for a deleted node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = RenditionPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, is not a file, or **where** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public RenditionPaging listDeletedNodeRenditions(@PathParam("nodeId") String nodeId, @QueryParam("where")String where); - - /** - * List deleted nodes - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets a list of deleted nodes for the current user. If the current user is an administrator deleted nodes for all users will be returned. The list of deleted nodes will be ordered with the most recently deleted node at the top of the list. - * - */ - @GET - @Path("/deleted-nodes") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List deleted nodes", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = DeletedNodesPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public DeletedNodesPaging listDeletedNodes(@QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("include")List include); - - /** - * Restore a deleted node - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Attempts to restore the deleted node **nodeId** to its original location or to a new location. If the node is successfully restored to its former primary parent, then only the primary child association will be restored, including recursively for any primary children. It should be noted that no other secondary child associations or peer associations will be restored, for any of the nodes within the primary parent-child hierarchy of restored nodes, irrespective of whether these associations were to nodes within or outside of the restored hierarchy. Also, any previously shared link will not be restored since it is deleted at the time of delete of each node. - * - */ - @POST - @Path("/deleted-nodes/{nodeId}/restore") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Restore a deleted node", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = NodeEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** or **targetNodeId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "User does not have permission to restore the deleted node or user does not have permission to the target node"), - @ApiResponse(code = 404, message = "**nodeId** does not exist or the restore destination parent node does not exists "), - @ApiResponse(code = 409, message = "Node name already exists in the restore destination"), - @ApiResponse(code = 422, message = "Model integrity exception trying to restore the node"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public NodeEntry restoreDeletedNode(@PathParam("nodeId") String nodeId, @QueryParam("fields")List fields, DeletedNodeBodyRestore deletedNodeBodyRestore); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/TypesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/TypesApi.java deleted file mode 100644 index 6b023c6..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/TypesApi.java +++ /dev/null @@ -1,59 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.TypeEntry; -import com.inteligr8.alfresco.acs.model.TypePaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Model API** Provides access to the model features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface TypesApi { - - /** - * Get a type - * - * **Note:** This is available in Alfresco 7.0.0 and newer versions. Get information for type **typeId**. - * - */ - @GET - @Path("/types/{typeId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get a type", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = TypeEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: unknown typeId scheme specified "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 404, message = "**typeId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public TypeEntry getType(@PathParam("typeId") String typeId); - - /** - * List types - * - * **Note:** This is available in Alfresco 7.0.0 and newer versions. Gets a list of types from the data dictionary. The System types will be ignored by default. ```JSON { \"list\": { \"pagination\": { \"count\": 0, \"hasMoreItems\": true, \"totalItems\": 0, \"skipCount\": 0, \"maxItems\": 0 }, \"entries\": [ { \"entry\": { \"associations\": [], \"isArchive\": true, \"mandatoryAspects\": [ \"cm:auditable\", \"sys:referenceable\", \"sys:localized\" ], \"includedInSupertypeQuery\": true, \"description\": \"Base Content Object\", \"isContainer\": false, \"model\": { \"id\": \"cm:contentmodel\", \"author\": \"Alfresco\", \"description\": \"Alfresco Content Domain Model\", \"namespaceUri\": \"http://www.alfresco.org/model/content/1.0\", \"namespacePrefix\": \"cm\" }, \"id\": \"cm:content\", \"title\": \"Content\", \"parentId\": \"cm:cmobject\" \"properties\": [ { \"id\": \"cm:name\", \"title\": \"Name\", \"description\": \"Name\", \"dataType\": \"d:text\", \"isMultiValued\": false, \"isMandatory\": true, \"isMandatoryEnforced\": true \"isProtected\": false ... }, { ... } ] } }, { \"entry\": { ... } }, { \"entry\": { ... } }, ] } } ``` - * - */ - @GET - @Path("/types") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List types", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = TypePaging.class), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public TypePaging listTypes(@QueryParam("where")String where, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("include")List include); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/VersionsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/VersionsApi.java deleted file mode 100644 index 4ce0660..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/VersionsApi.java +++ /dev/null @@ -1,219 +0,0 @@ -package com.inteligr8.alfresco.acs.api; - -import com.inteligr8.alfresco.acs.model.Error; -import com.inteligr8.alfresco.acs.model.RenditionBodyCreate; -import com.inteligr8.alfresco.acs.model.RenditionEntry; -import com.inteligr8.alfresco.acs.model.RenditionPaging; -import com.inteligr8.alfresco.acs.model.RevertBody; -import com.inteligr8.alfresco.acs.model.VersionEntry; -import com.inteligr8.alfresco.acs.model.VersionPaging; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import io.swagger.annotations.ApiResponse; -import io.swagger.annotations.ApiResponses; -import java.io.File; -import java.util.Date; -import java.util.List; -import javax.ws.rs.*; - -/** - * Alfresco Content Services REST API - * - *

**Core API** Provides access to the core features of Alfresco Content Services. - * - */ -@Path("/api/-default-/public/alfresco/versions/1") -@Api(value = "/api/-default-/public/alfresco/versions/1", description = "") -public interface VersionsApi { - - /** - * Create rendition for a file version - * - * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. An asynchronous request to create a rendition for version of file **nodeId** and **versionId**. The version rendition is specified by name **id** in the request body: ```JSON { \"id\":\"doclib\" } ``` Multiple names may be specified as a comma separated list or using a list format: ```JSON [ { \"id\": \"doclib\" }, { \"id\": \"avatar\" } ] ``` - * - */ - @POST - @Path("/nodes/{nodeId}/versions/{versionId}/renditions") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Create rendition for a file version", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 202, message = "Request accepted"), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **versionId** is invalid, or **renditionBodyCreate** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **versionId** or **renditionId** does not exist "), - @ApiResponse(code = 409, message = "All requested renditions already exist"), - @ApiResponse(code = 501, message = "Renditions/thumbnails are disabled for the system"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void createVersionRendition(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId, RenditionBodyCreate renditionBodyCreate); - - /** - * Delete a version - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Delete the version identified by **versionId** and **nodeId*. If the version is successfully deleted then the content and metadata for that versioned node will be deleted and will no longer appear in the version history. This operation cannot be undone. If the most recent version is deleted the live node will revert to the next most recent version. We currently do not allow the last version to be deleted. If you wish to clear the history then you can remove the \"cm:versionable\" aspect (via update node) which will also disable versioning. In this case, you can re-enable versioning by adding back the \"cm:versionable\" aspect or using the version params (majorVersion and comment) on a subsequent file content update. - * - */ - @DELETE - @Path("/nodes/{nodeId}/versions/{versionId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Delete a version", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 204, message = "Successful response"), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or exists but does not identify a file, or **versionId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to delete the versioned node"), - @ApiResponse(code = 404, message = "**nodeId** or **versionId** does not exist "), - @ApiResponse(code = 422, message = "Cannot delete the last remaining version"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public void deleteVersion(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId); - - /** - * Get version information - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the version information for **versionId** of file node **nodeId**. - * - */ - @GET - @Path("/nodes/{nodeId}/versions/{versionId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get version information", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = VersionEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or it exists but does not identify a file, or **versionId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **versionId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public VersionEntry getVersion(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId); - - /** - * Get version content - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the version content for **versionId** of file node **nodeId**. - * - */ - @GET - @Path("/nodes/{nodeId}/versions/{versionId}/content") - @Consumes({ "application/json" }) - @Produces({ "application/octet-stream" }) - @ApiOperation(value = "Get version content", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = File.class), - @ApiResponse(code = 206, message = "Partial Content"), - @ApiResponse(code = 304, message = "Content has not been modified since the date provided in the If-Modified-Since header"), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **versionId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **versionId** does not exist "), - @ApiResponse(code = 416, message = "Range Not Satisfiable"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public File getVersionContent(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId, @QueryParam("attachment")@DefaultValue("true") Boolean attachment, @HeaderParam("If-Modified-Since") Date ifModifiedSince, @HeaderParam("Range") String range); - - /** - * Get rendition information for a file version - * - * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Gets the rendition information for **renditionId** of version of file **nodeId** and **versionId**. - * - */ - @GET - @Path("/nodes/{nodeId}/versions/{versionId}/renditions/{renditionId}") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Get rendition information for a file version", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = RenditionEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **versionId** is invalid, or **renditionId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **versionId** or **renditionId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public RenditionEntry getVersionRendition(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId, @PathParam("renditionId") String renditionId); - - /** - * Get rendition content for a file version - * - * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Gets the rendition content for **renditionId** of version of file **nodeId** and **versionId**. - * - */ - @GET - @Path("/nodes/{nodeId}/versions/{versionId}/renditions/{renditionId}/content") - @Consumes({ "application/json" }) - @Produces({ "application/octet-stream" }) - @ApiOperation(value = "Get rendition content for a file version", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = File.class), - @ApiResponse(code = 206, message = "Partial Content"), - @ApiResponse(code = 304, message = "Content has not been modified since the date provided in the If-Modified-Since header"), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **versionId** is invalid, or **renditionId** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **versionId** or **renditionId** does not exist "), - @ApiResponse(code = 416, message = "Range Not Satisfiable"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public File getVersionRenditionContent(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId, @PathParam("renditionId") String renditionId, @QueryParam("attachment")@DefaultValue("true") Boolean attachment, @HeaderParam("If-Modified-Since") Date ifModifiedSince, @HeaderParam("Range") String range, @QueryParam("placeholder")@DefaultValue("false") Boolean placeholder); - - /** - * List version history - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Gets the version history as an ordered list of versions for the specified **nodeId**. The list is ordered in descending modified order. So the most recent version is first and the original version is last in the list. - * - */ - @GET - @Path("/nodes/{nodeId}/versions") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List version history", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = VersionPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "Target **nodeId** does not exist"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public VersionPaging listVersionHistory(@PathParam("nodeId") String nodeId, @QueryParam("include")List include, @QueryParam("fields")List fields, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems); - - /** - * List renditions for a file version - * - * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Gets a list of the rendition information for each rendition of the version of file **nodeId** and **versionId**, including the rendition id. Each rendition returned has a **status**: CREATED means it is available to view or download, NOT_CREATED means the rendition can be requested. You can use the **where** parameter to filter the returned renditions by **status**. For example, the following **where** clause will return just the CREATED renditions: ``` (status='CREATED') ``` - * - */ - @GET - @Path("/nodes/{nodeId}/versions/{versionId}/renditions") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "List renditions for a file version", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = RenditionPaging.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **versionId** is invalid, or **where** is invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"), - @ApiResponse(code = 404, message = "**nodeId** or **versionId** does not exist "), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public RenditionPaging listVersionRenditions(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId, @QueryParam("where")String where); - - /** - * Revert a version - * - * **Note:** this endpoint is available in Alfresco 5.2 and newer versions. Attempts to revert the version identified by **versionId** and **nodeId** to the live node. If the node is successfully reverted then the content and metadata for that versioned node will be promoted to the live node and a new version will appear in the version history. - * - */ - @POST - @Path("/nodes/{nodeId}/versions/{versionId}/revert") - @Consumes({ "application/json" }) - @Produces({ "application/json" }) - @ApiOperation(value = "Revert a version", tags={ }) - @ApiResponses(value = { - @ApiResponse(code = 200, message = "Successful response", response = VersionEntry.class), - @ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or it exists but does not identify a file, or **versionId** is invalid, or **revertBody** invalid "), - @ApiResponse(code = 401, message = "Authentication failed"), - @ApiResponse(code = 403, message = "Current user does not have permission to revert the versioned node"), - @ApiResponse(code = 404, message = "**nodeId** or **versionId** does not exist "), - @ApiResponse(code = 422, message = "Model integrity exception trying to revert the node"), - @ApiResponse(code = 200, message = "Unexpected error", response = Error.class) }) - public VersionEntry revertVersion(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId, RevertBody revertBody, @QueryParam("fields")List fields); -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClass.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClass.java deleted file mode 100644 index 997b00f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClass.java +++ /dev/null @@ -1,287 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AbstractClass { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String title = null; - - @ApiModelProperty(value = "") - private String description = null; - - @ApiModelProperty(value = "") - private String parentId = null; - - @ApiModelProperty(value = "") - private List properties = null; - - @ApiModelProperty(value = "") - private Boolean isContainer = null; - - @ApiModelProperty(value = "") - private Boolean isArchive = null; - - @ApiModelProperty(value = "") - private Boolean includedInSupertypeQuery = null; - - @ApiModelProperty(value = "") - private List mandatoryAspects = null; - - @ApiModelProperty(value = "") - private List associations = null; - - @ApiModelProperty(value = "") - private Model model = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public AbstractClass id(String id) { - this.id = id; - return this; - } - - /** - * Get title - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public AbstractClass title(String title) { - this.title = title; - return this; - } - - /** - * Get description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public AbstractClass description(String description) { - this.description = description; - return this; - } - - /** - * Get parentId - * @return parentId - **/ - @JsonProperty("parentId") - public String getParentId() { - return parentId; - } - - public void setParentId(String parentId) { - this.parentId = parentId; - } - - public AbstractClass parentId(String parentId) { - this.parentId = parentId; - return this; - } - - /** - * Get properties - * @return properties - **/ - @JsonProperty("properties") - public List getProperties() { - return properties; - } - - public void setProperties(List properties) { - this.properties = properties; - } - - public AbstractClass properties(List properties) { - this.properties = properties; - return this; - } - - public AbstractClass addPropertiesItem(Property propertiesItem) { - this.properties.add(propertiesItem); - return this; - } - - /** - * Get isContainer - * @return isContainer - **/ - @JsonProperty("isContainer") - public Boolean isIsContainer() { - return isContainer; - } - - public void setIsContainer(Boolean isContainer) { - this.isContainer = isContainer; - } - - public AbstractClass isContainer(Boolean isContainer) { - this.isContainer = isContainer; - return this; - } - - /** - * Get isArchive - * @return isArchive - **/ - @JsonProperty("isArchive") - public Boolean isIsArchive() { - return isArchive; - } - - public void setIsArchive(Boolean isArchive) { - this.isArchive = isArchive; - } - - public AbstractClass isArchive(Boolean isArchive) { - this.isArchive = isArchive; - return this; - } - - /** - * Get includedInSupertypeQuery - * @return includedInSupertypeQuery - **/ - @JsonProperty("includedInSupertypeQuery") - public Boolean isIncludedInSupertypeQuery() { - return includedInSupertypeQuery; - } - - public void setIncludedInSupertypeQuery(Boolean includedInSupertypeQuery) { - this.includedInSupertypeQuery = includedInSupertypeQuery; - } - - public AbstractClass includedInSupertypeQuery(Boolean includedInSupertypeQuery) { - this.includedInSupertypeQuery = includedInSupertypeQuery; - return this; - } - - /** - * Get mandatoryAspects - * @return mandatoryAspects - **/ - @JsonProperty("mandatoryAspects") - public List getMandatoryAspects() { - return mandatoryAspects; - } - - public void setMandatoryAspects(List mandatoryAspects) { - this.mandatoryAspects = mandatoryAspects; - } - - public AbstractClass mandatoryAspects(List mandatoryAspects) { - this.mandatoryAspects = mandatoryAspects; - return this; - } - - public AbstractClass addMandatoryAspectsItem(String mandatoryAspectsItem) { - this.mandatoryAspects.add(mandatoryAspectsItem); - return this; - } - - /** - * Get associations - * @return associations - **/ - @JsonProperty("associations") - public List getAssociations() { - return associations; - } - - public void setAssociations(List associations) { - this.associations = associations; - } - - public AbstractClass associations(List associations) { - this.associations = associations; - return this; - } - - public AbstractClass addAssociationsItem(AbstractClassAssociation associationsItem) { - this.associations.add(associationsItem); - return this; - } - - /** - * Get model - * @return model - **/ - @JsonProperty("model") - public Model getModel() { - return model; - } - - public void setModel(Model model) { - this.model = model; - } - - public AbstractClass model(Model model) { - this.model = model; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AbstractClass {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" parentId: ").append(toIndentedString(parentId)).append("\n"); - sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); - sb.append(" isContainer: ").append(toIndentedString(isContainer)).append("\n"); - sb.append(" isArchive: ").append(toIndentedString(isArchive)).append("\n"); - sb.append(" includedInSupertypeQuery: ").append(toIndentedString(includedInSupertypeQuery)).append("\n"); - sb.append(" mandatoryAspects: ").append(toIndentedString(mandatoryAspects)).append("\n"); - sb.append(" associations: ").append(toIndentedString(associations)).append("\n"); - sb.append(" model: ").append(toIndentedString(model)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClassAssociation.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClassAssociation.java deleted file mode 100644 index b20bd2f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClassAssociation.java +++ /dev/null @@ -1,183 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AbstractClassAssociation { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(value = "") - private String title = null; - - @ApiModelProperty(value = "") - private String description = null; - - @ApiModelProperty(value = "") - private Boolean isChild = null; - - @ApiModelProperty(value = "") - private Boolean isProtected = null; - - @ApiModelProperty(value = "") - private AbstractClassAssociationSource source = null; - - @ApiModelProperty(value = "") - private AbstractClassAssociationSource target = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public AbstractClassAssociation id(String id) { - this.id = id; - return this; - } - - /** - * Get title - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public AbstractClassAssociation title(String title) { - this.title = title; - return this; - } - - /** - * Get description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public AbstractClassAssociation description(String description) { - this.description = description; - return this; - } - - /** - * Get isChild - * @return isChild - **/ - @JsonProperty("isChild") - public Boolean isIsChild() { - return isChild; - } - - public void setIsChild(Boolean isChild) { - this.isChild = isChild; - } - - public AbstractClassAssociation isChild(Boolean isChild) { - this.isChild = isChild; - return this; - } - - /** - * Get isProtected - * @return isProtected - **/ - @JsonProperty("isProtected") - public Boolean isIsProtected() { - return isProtected; - } - - public void setIsProtected(Boolean isProtected) { - this.isProtected = isProtected; - } - - public AbstractClassAssociation isProtected(Boolean isProtected) { - this.isProtected = isProtected; - return this; - } - - /** - * Get source - * @return source - **/ - @JsonProperty("source") - public AbstractClassAssociationSource getSource() { - return source; - } - - public void setSource(AbstractClassAssociationSource source) { - this.source = source; - } - - public AbstractClassAssociation source(AbstractClassAssociationSource source) { - this.source = source; - return this; - } - - /** - * Get target - * @return target - **/ - @JsonProperty("target") - public AbstractClassAssociationSource getTarget() { - return target; - } - - public void setTarget(AbstractClassAssociationSource target) { - this.target = target; - } - - public AbstractClassAssociation target(AbstractClassAssociationSource target) { - this.target = target; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AbstractClassAssociation {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" isChild: ").append(toIndentedString(isChild)).append("\n"); - sb.append(" isProtected: ").append(toIndentedString(isProtected)).append("\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append(" target: ").append(toIndentedString(target)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClassAssociationSource.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClassAssociationSource.java deleted file mode 100644 index 88a2530..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClassAssociationSource.java +++ /dev/null @@ -1,139 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AbstractClassAssociationSource { - - @ApiModelProperty(value = "") - private String role = null; - - @ApiModelProperty(value = "") - private String cls = null; - - @ApiModelProperty(value = "") - private Boolean isMandatory = null; - - @ApiModelProperty(value = "") - private Boolean isMany = null; - - @ApiModelProperty(value = "") - private Boolean isMandatoryEnforced = null; - /** - * Get role - * @return role - **/ - @JsonProperty("role") - public String getRole() { - return role; - } - - public void setRole(String role) { - this.role = role; - } - - public AbstractClassAssociationSource role(String role) { - this.role = role; - return this; - } - - /** - * Get cls - * @return cls - **/ - @JsonProperty("cls") - public String getCls() { - return cls; - } - - public void setCls(String cls) { - this.cls = cls; - } - - public AbstractClassAssociationSource cls(String cls) { - this.cls = cls; - return this; - } - - /** - * Get isMandatory - * @return isMandatory - **/ - @JsonProperty("isMandatory") - public Boolean isIsMandatory() { - return isMandatory; - } - - public void setIsMandatory(Boolean isMandatory) { - this.isMandatory = isMandatory; - } - - public AbstractClassAssociationSource isMandatory(Boolean isMandatory) { - this.isMandatory = isMandatory; - return this; - } - - /** - * Get isMany - * @return isMany - **/ - @JsonProperty("isMany") - public Boolean isIsMany() { - return isMany; - } - - public void setIsMany(Boolean isMany) { - this.isMany = isMany; - } - - public AbstractClassAssociationSource isMany(Boolean isMany) { - this.isMany = isMany; - return this; - } - - /** - * Get isMandatoryEnforced - * @return isMandatoryEnforced - **/ - @JsonProperty("isMandatoryEnforced") - public Boolean isIsMandatoryEnforced() { - return isMandatoryEnforced; - } - - public void setIsMandatoryEnforced(Boolean isMandatoryEnforced) { - this.isMandatoryEnforced = isMandatoryEnforced; - } - - public AbstractClassAssociationSource isMandatoryEnforced(Boolean isMandatoryEnforced) { - this.isMandatoryEnforced = isMandatoryEnforced; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AbstractClassAssociationSource {\n"); - - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append(" cls: ").append(toIndentedString(cls)).append("\n"); - sb.append(" isMandatory: ").append(toIndentedString(isMandatory)).append("\n"); - sb.append(" isMany: ").append(toIndentedString(isMany)).append("\n"); - sb.append(" isMandatoryEnforced: ").append(toIndentedString(isMandatoryEnforced)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionBodyExec.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionBodyExec.java deleted file mode 100644 index cb2b874..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionBodyExec.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ActionBodyExec { - - @ApiModelProperty(required = true, value = "") - private String actionDefinitionId = null; - - @ApiModelProperty(value = "The entity upon which to execute the action, typically a node ID or similar.") - /** - * The entity upon which to execute the action, typically a node ID or similar. - **/ - private String targetId = null; - - @ApiModelProperty(value = "") - private Object params = null; - /** - * Get actionDefinitionId - * @return actionDefinitionId - **/ - @JsonProperty("actionDefinitionId") - public String getActionDefinitionId() { - return actionDefinitionId; - } - - public void setActionDefinitionId(String actionDefinitionId) { - this.actionDefinitionId = actionDefinitionId; - } - - public ActionBodyExec actionDefinitionId(String actionDefinitionId) { - this.actionDefinitionId = actionDefinitionId; - return this; - } - - /** - * The entity upon which to execute the action, typically a node ID or similar. - * @return targetId - **/ - @JsonProperty("targetId") - public String getTargetId() { - return targetId; - } - - public void setTargetId(String targetId) { - this.targetId = targetId; - } - - public ActionBodyExec targetId(String targetId) { - this.targetId = targetId; - return this; - } - - /** - * Get params - * @return params - **/ - @JsonProperty("params") - public Object getParams() { - return params; - } - - public void setParams(Object params) { - this.params = params; - } - - public ActionBodyExec params(Object params) { - this.params = params; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActionBodyExec {\n"); - - sb.append(" actionDefinitionId: ").append(toIndentedString(actionDefinitionId)).append("\n"); - sb.append(" targetId: ").append(toIndentedString(targetId)).append("\n"); - sb.append(" params: ").append(toIndentedString(params)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinition.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinition.java deleted file mode 100644 index 5c9d953..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinition.java +++ /dev/null @@ -1,213 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ActionDefinition { - - @ApiModelProperty(required = true, value = "Identifier of the action definition — used for example when executing an action") - /** - * Identifier of the action definition — used for example when executing an action - **/ - private String id = null; - - @ApiModelProperty(value = "name of the action definition, e.g. \"move\"") - /** - * name of the action definition, e.g. \"move\" - **/ - private String name = null; - - @ApiModelProperty(value = "title of the action definition, e.g. \"Move\"") - /** - * title of the action definition, e.g. \"Move\" - **/ - private String title = null; - - @ApiModelProperty(value = "describes the action definition, e.g. \"This will move the matched item to another space.\"") - /** - * describes the action definition, e.g. \"This will move the matched item to another space.\" - **/ - private String description = null; - - @ApiModelProperty(required = true, value = "QNames of the types this action applies to") - /** - * QNames of the types this action applies to - **/ - private List applicableTypes = new ArrayList(); - - @ApiModelProperty(required = true, value = "whether the basic action definition supports action tracking or not") - /** - * whether the basic action definition supports action tracking or not - **/ - private Boolean trackStatus = null; - - @ApiModelProperty(value = "") - private List parameterDefinitions = null; - /** - * Identifier of the action definition — used for example when executing an action - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public ActionDefinition id(String id) { - this.id = id; - return this; - } - - /** - * name of the action definition, e.g. \"move\" - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public ActionDefinition name(String name) { - this.name = name; - return this; - } - - /** - * title of the action definition, e.g. \"Move\" - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public ActionDefinition title(String title) { - this.title = title; - return this; - } - - /** - * describes the action definition, e.g. \"This will move the matched item to another space.\" - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public ActionDefinition description(String description) { - this.description = description; - return this; - } - - /** - * QNames of the types this action applies to - * @return applicableTypes - **/ - @JsonProperty("applicableTypes") - public List getApplicableTypes() { - return applicableTypes; - } - - public void setApplicableTypes(List applicableTypes) { - this.applicableTypes = applicableTypes; - } - - public ActionDefinition applicableTypes(List applicableTypes) { - this.applicableTypes = applicableTypes; - return this; - } - - public ActionDefinition addApplicableTypesItem(String applicableTypesItem) { - this.applicableTypes.add(applicableTypesItem); - return this; - } - - /** - * whether the basic action definition supports action tracking or not - * @return trackStatus - **/ - @JsonProperty("trackStatus") - public Boolean isTrackStatus() { - return trackStatus; - } - - public void setTrackStatus(Boolean trackStatus) { - this.trackStatus = trackStatus; - } - - public ActionDefinition trackStatus(Boolean trackStatus) { - this.trackStatus = trackStatus; - return this; - } - - /** - * Get parameterDefinitions - * @return parameterDefinitions - **/ - @JsonProperty("parameterDefinitions") - public List getParameterDefinitions() { - return parameterDefinitions; - } - - public void setParameterDefinitions(List parameterDefinitions) { - this.parameterDefinitions = parameterDefinitions; - } - - public ActionDefinition parameterDefinitions(List parameterDefinitions) { - this.parameterDefinitions = parameterDefinitions; - return this; - } - - public ActionDefinition addParameterDefinitionsItem(ActionParameterDefinition parameterDefinitionsItem) { - this.parameterDefinitions.add(parameterDefinitionsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActionDefinition {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" applicableTypes: ").append(toIndentedString(applicableTypes)).append("\n"); - sb.append(" trackStatus: ").append(toIndentedString(trackStatus)).append("\n"); - sb.append(" parameterDefinitions: ").append(toIndentedString(parameterDefinitions)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionEntry.java deleted file mode 100644 index 1ae0742..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ActionDefinitionEntry { - - @ApiModelProperty(required = true, value = "") - private ActionDefinition entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public ActionDefinition getEntry() { - return entry; - } - - public void setEntry(ActionDefinition entry) { - this.entry = entry; - } - - public ActionDefinitionEntry entry(ActionDefinition entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActionDefinitionEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionList.java deleted file mode 100644 index b1f7181..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionList.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ActionDefinitionList { - - @ApiModelProperty(value = "") - private ActionDefinitionListList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public ActionDefinitionListList getList() { - return _list; - } - - public void setList(ActionDefinitionListList _list) { - this._list = _list; - } - - public ActionDefinitionList _list(ActionDefinitionListList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActionDefinitionList {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionListList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionListList.java deleted file mode 100644 index 7fd21fd..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionListList.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ActionDefinitionListList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public ActionDefinitionListList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public ActionDefinitionListList entries(List entries) { - this.entries = entries; - return this; - } - - public ActionDefinitionListList addEntriesItem(ActionDefinition entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActionDefinitionListList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResult.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResult.java deleted file mode 100644 index e98d7d6..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResult.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ActionExecResult { - - @ApiModelProperty(required = true, value = "The unique identifier of the action pending execution") - /** - * The unique identifier of the action pending execution - **/ - private String id = null; - /** - * The unique identifier of the action pending execution - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public ActionExecResult id(String id) { - this.id = id; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActionExecResult {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResultEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResultEntry.java deleted file mode 100644 index 0d551b7..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResultEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ActionExecResultEntry { - - @ApiModelProperty(required = true, value = "") - private ActionExecResult entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public ActionExecResult getEntry() { - return entry; - } - - public void setEntry(ActionExecResult entry) { - this.entry = entry; - } - - public ActionExecResultEntry entry(ActionExecResult entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActionExecResultEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionParameterDefinition.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionParameterDefinition.java deleted file mode 100644 index a100228..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionParameterDefinition.java +++ /dev/null @@ -1,139 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ActionParameterDefinition { - - @ApiModelProperty(value = "") - private String name = null; - - @ApiModelProperty(value = "") - private String type = null; - - @ApiModelProperty(value = "") - private Boolean multiValued = null; - - @ApiModelProperty(value = "") - private Boolean mandatory = null; - - @ApiModelProperty(value = "") - private String displayLabel = null; - /** - * Get name - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public ActionParameterDefinition name(String name) { - this.name = name; - return this; - } - - /** - * Get type - * @return type - **/ - @JsonProperty("type") - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public ActionParameterDefinition type(String type) { - this.type = type; - return this; - } - - /** - * Get multiValued - * @return multiValued - **/ - @JsonProperty("multiValued") - public Boolean isMultiValued() { - return multiValued; - } - - public void setMultiValued(Boolean multiValued) { - this.multiValued = multiValued; - } - - public ActionParameterDefinition multiValued(Boolean multiValued) { - this.multiValued = multiValued; - return this; - } - - /** - * Get mandatory - * @return mandatory - **/ - @JsonProperty("mandatory") - public Boolean isMandatory() { - return mandatory; - } - - public void setMandatory(Boolean mandatory) { - this.mandatory = mandatory; - } - - public ActionParameterDefinition mandatory(Boolean mandatory) { - this.mandatory = mandatory; - return this; - } - - /** - * Get displayLabel - * @return displayLabel - **/ - @JsonProperty("displayLabel") - public String getDisplayLabel() { - return displayLabel; - } - - public void setDisplayLabel(String displayLabel) { - this.displayLabel = displayLabel; - } - - public ActionParameterDefinition displayLabel(String displayLabel) { - this.displayLabel = displayLabel; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActionParameterDefinition {\n"); - - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" multiValued: ").append(toIndentedString(multiValued)).append("\n"); - sb.append(" mandatory: ").append(toIndentedString(mandatory)).append("\n"); - sb.append(" displayLabel: ").append(toIndentedString(displayLabel)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Activity.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Activity.java deleted file mode 100644 index 35237bb..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Activity.java +++ /dev/null @@ -1,215 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; -import java.util.Map; - -/** - * Activities describe any past activity in a site, for example creating an item of content, commenting on a node, liking an item of content. - **/ -@ApiModel(description="Activities describe any past activity in a site, for example creating an item of content, commenting on a node, liking an item of content. ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Activity { - - @ApiModelProperty(required = true, value = "The id of the person who performed the activity") - /** - * The id of the person who performed the activity - **/ - private String postPersonId = null; - - @ApiModelProperty(required = true, value = "The unique id of the activity") - /** - * The unique id of the activity - **/ - private Long id = null; - - @ApiModelProperty(value = "The unique id of the site on which the activity was performed") - /** - * The unique id of the site on which the activity was performed - **/ - private String siteId = null; - - @ApiModelProperty(value = "The date time at which the activity was performed") - /** - * The date time at which the activity was performed - **/ - private Date postedAt = null; - - @ApiModelProperty(required = true, value = "The feed on which this activity was posted") - /** - * The feed on which this activity was posted - **/ - private String feedPersonId = null; - - @ApiModelProperty(value = "An object summarizing the activity") - /** - * An object summarizing the activity - **/ - private Map activitySummary = null; - - @ApiModelProperty(required = true, value = "The type of the activity posted") - /** - * The type of the activity posted - **/ - private String activityType = null; - /** - * The id of the person who performed the activity - * @return postPersonId - **/ - @JsonProperty("postPersonId") - public String getPostPersonId() { - return postPersonId; - } - - public void setPostPersonId(String postPersonId) { - this.postPersonId = postPersonId; - } - - public Activity postPersonId(String postPersonId) { - this.postPersonId = postPersonId; - return this; - } - - /** - * The unique id of the activity - * @return id - **/ - @JsonProperty("id") - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Activity id(Long id) { - this.id = id; - return this; - } - - /** - * The unique id of the site on which the activity was performed - * @return siteId - **/ - @JsonProperty("siteId") - public String getSiteId() { - return siteId; - } - - public void setSiteId(String siteId) { - this.siteId = siteId; - } - - public Activity siteId(String siteId) { - this.siteId = siteId; - return this; - } - - /** - * The date time at which the activity was performed - * @return postedAt - **/ - @JsonProperty("postedAt") - public Date getPostedAt() { - return postedAt; - } - - public void setPostedAt(Date postedAt) { - this.postedAt = postedAt; - } - - public Activity postedAt(Date postedAt) { - this.postedAt = postedAt; - return this; - } - - /** - * The feed on which this activity was posted - * @return feedPersonId - **/ - @JsonProperty("feedPersonId") - public String getFeedPersonId() { - return feedPersonId; - } - - public void setFeedPersonId(String feedPersonId) { - this.feedPersonId = feedPersonId; - } - - public Activity feedPersonId(String feedPersonId) { - this.feedPersonId = feedPersonId; - return this; - } - - /** - * An object summarizing the activity - * @return activitySummary - **/ - @JsonProperty("activitySummary") - public Map getActivitySummary() { - return activitySummary; - } - - public void setActivitySummary(Map activitySummary) { - this.activitySummary = activitySummary; - } - - public Activity activitySummary(Map activitySummary) { - this.activitySummary = activitySummary; - return this; - } - - public Activity putActivitySummaryItem(String key, String activitySummaryItem) { - this.activitySummary.put(key, activitySummaryItem); - return this; - } - - /** - * The type of the activity posted - * @return activityType - **/ - @JsonProperty("activityType") - public String getActivityType() { - return activityType; - } - - public void setActivityType(String activityType) { - this.activityType = activityType; - } - - public Activity activityType(String activityType) { - this.activityType = activityType; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Activity {\n"); - - sb.append(" postPersonId: ").append(toIndentedString(postPersonId)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" siteId: ").append(toIndentedString(siteId)).append("\n"); - sb.append(" postedAt: ").append(toIndentedString(postedAt)).append("\n"); - sb.append(" feedPersonId: ").append(toIndentedString(feedPersonId)).append("\n"); - sb.append(" activitySummary: ").append(toIndentedString(activitySummary)).append("\n"); - sb.append(" activityType: ").append(toIndentedString(activityType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityEntry.java deleted file mode 100644 index 55e2069..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ActivityEntry { - - @ApiModelProperty(required = true, value = "") - private Activity entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Activity getEntry() { - return entry; - } - - public void setEntry(Activity entry) { - this.entry = entry; - } - - public ActivityEntry entry(Activity entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActivityEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPaging.java deleted file mode 100644 index a387fb5..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ActivityPaging { - - @ApiModelProperty(required = true, value = "") - private ActivityPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public ActivityPagingList getList() { - return _list; - } - - public void setList(ActivityPagingList _list) { - this._list = _list; - } - - public ActivityPaging _list(ActivityPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActivityPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPagingList.java deleted file mode 100644 index aaa7b04..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ActivityPagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public ActivityPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public ActivityPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public ActivityPagingList addEntriesItem(ActivityEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActivityPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Aspect.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Aspect.java deleted file mode 100644 index 2a55bf5..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Aspect.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Aspect { - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Aspect {\n"); - - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AspectEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AspectEntry.java deleted file mode 100644 index c3c1fea..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AspectEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AspectEntry { - - @ApiModelProperty(required = true, value = "") - private Aspect entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Aspect getEntry() { - return entry; - } - - public void setEntry(Aspect entry) { - this.entry = entry; - } - - public AspectEntry entry(Aspect entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AspectEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AspectPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AspectPaging.java deleted file mode 100644 index 49fe2a0..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AspectPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AspectPaging { - - @ApiModelProperty(value = "") - private AspectPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public AspectPagingList getList() { - return _list; - } - - public void setList(AspectPagingList _list) { - this._list = _list; - } - - public AspectPaging _list(AspectPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AspectPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AspectPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AspectPagingList.java deleted file mode 100644 index 5710a3c..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AspectPagingList.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AspectPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public AspectPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public AspectPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public AspectPagingList addEntriesItem(AspectEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AspectPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Association.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Association.java deleted file mode 100644 index c6168c3..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Association.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Association { - - @ApiModelProperty(required = true, value = "") - private String targetId = null; - - @ApiModelProperty(required = true, value = "") - private String assocType = null; - /** - * Get targetId - * @return targetId - **/ - @JsonProperty("targetId") - public String getTargetId() { - return targetId; - } - - public void setTargetId(String targetId) { - this.targetId = targetId; - } - - public Association targetId(String targetId) { - this.targetId = targetId; - return this; - } - - /** - * Get assocType - * @return assocType - **/ - @JsonProperty("assocType") - public String getAssocType() { - return assocType; - } - - public void setAssocType(String assocType) { - this.assocType = assocType; - } - - public Association assocType(String assocType) { - this.assocType = assocType; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Association {\n"); - - sb.append(" targetId: ").append(toIndentedString(targetId)).append("\n"); - sb.append(" assocType: ").append(toIndentedString(assocType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationBody.java deleted file mode 100644 index 8abb8fd..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationBody.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AssociationBody { - - @ApiModelProperty(required = true, value = "") - private String targetId = null; - - @ApiModelProperty(required = true, value = "") - private String assocType = null; - /** - * Get targetId - * @return targetId - **/ - @JsonProperty("targetId") - public String getTargetId() { - return targetId; - } - - public void setTargetId(String targetId) { - this.targetId = targetId; - } - - public AssociationBody targetId(String targetId) { - this.targetId = targetId; - return this; - } - - /** - * Get assocType - * @return assocType - **/ - @JsonProperty("assocType") - public String getAssocType() { - return assocType; - } - - public void setAssocType(String assocType) { - this.assocType = assocType; - } - - public AssociationBody assocType(String assocType) { - this.assocType = assocType; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AssociationBody {\n"); - - sb.append(" targetId: ").append(toIndentedString(targetId)).append("\n"); - sb.append(" assocType: ").append(toIndentedString(assocType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationEntry.java deleted file mode 100644 index 0fcb22e..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AssociationEntry { - - @ApiModelProperty(required = true, value = "") - private Association entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Association getEntry() { - return entry; - } - - public void setEntry(Association entry) { - this.entry = entry; - } - - public AssociationEntry entry(Association entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AssociationEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationInfo.java deleted file mode 100644 index a430645..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationInfo.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AssociationInfo { - - @ApiModelProperty(required = true, value = "") - private String assocType = null; - /** - * Get assocType - * @return assocType - **/ - @JsonProperty("assocType") - public String getAssocType() { - return assocType; - } - - public void setAssocType(String assocType) { - this.assocType = assocType; - } - - public AssociationInfo assocType(String assocType) { - this.assocType = assocType; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AssociationInfo {\n"); - - sb.append(" assocType: ").append(toIndentedString(assocType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditApp.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditApp.java deleted file mode 100644 index c26bd11..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditApp.java +++ /dev/null @@ -1,139 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AuditApp { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(value = "") - private String name = null; - - @ApiModelProperty(value = "") - private Boolean isEnabled = true; - - @ApiModelProperty(value = "") - private Integer maxEntryId = null; - - @ApiModelProperty(value = "") - private Integer minEntryId = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public AuditApp id(String id) { - this.id = id; - return this; - } - - /** - * Get name - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public AuditApp name(String name) { - this.name = name; - return this; - } - - /** - * Get isEnabled - * @return isEnabled - **/ - @JsonProperty("isEnabled") - public Boolean isIsEnabled() { - return isEnabled; - } - - public void setIsEnabled(Boolean isEnabled) { - this.isEnabled = isEnabled; - } - - public AuditApp isEnabled(Boolean isEnabled) { - this.isEnabled = isEnabled; - return this; - } - - /** - * Get maxEntryId - * @return maxEntryId - **/ - @JsonProperty("maxEntryId") - public Integer getMaxEntryId() { - return maxEntryId; - } - - public void setMaxEntryId(Integer maxEntryId) { - this.maxEntryId = maxEntryId; - } - - public AuditApp maxEntryId(Integer maxEntryId) { - this.maxEntryId = maxEntryId; - return this; - } - - /** - * Get minEntryId - * @return minEntryId - **/ - @JsonProperty("minEntryId") - public Integer getMinEntryId() { - return minEntryId; - } - - public void setMinEntryId(Integer minEntryId) { - this.minEntryId = minEntryId; - } - - public AuditApp minEntryId(Integer minEntryId) { - this.minEntryId = minEntryId; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AuditApp {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n"); - sb.append(" maxEntryId: ").append(toIndentedString(maxEntryId)).append("\n"); - sb.append(" minEntryId: ").append(toIndentedString(minEntryId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppEntry.java deleted file mode 100644 index b79f786..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AuditAppEntry { - - @ApiModelProperty(value = "") - private AuditApp entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public AuditApp getEntry() { - return entry; - } - - public void setEntry(AuditApp entry) { - this.entry = entry; - } - - public AuditAppEntry entry(AuditApp entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AuditAppEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPaging.java deleted file mode 100644 index 5c37dd1..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AuditAppPaging { - - @ApiModelProperty(value = "") - private AuditAppPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public AuditAppPagingList getList() { - return _list; - } - - public void setList(AuditAppPagingList _list) { - this._list = _list; - } - - public AuditAppPaging _list(AuditAppPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AuditAppPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPagingList.java deleted file mode 100644 index 35826c4..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPagingList.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AuditAppPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public AuditAppPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public AuditAppPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public AuditAppPagingList addEntriesItem(AuditAppEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AuditAppPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditBodyUpdate.java deleted file mode 100644 index 98fee19..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditBodyUpdate.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AuditBodyUpdate { - - @ApiModelProperty(value = "") - private Boolean isEnabled = null; - /** - * Get isEnabled - * @return isEnabled - **/ - @JsonProperty("isEnabled") - public Boolean isIsEnabled() { - return isEnabled; - } - - public void setIsEnabled(Boolean isEnabled) { - this.isEnabled = isEnabled; - } - - public AuditBodyUpdate isEnabled(Boolean isEnabled) { - this.isEnabled = isEnabled; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AuditBodyUpdate {\n"); - - sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntry.java deleted file mode 100644 index 0c69f36..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntry.java +++ /dev/null @@ -1,140 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AuditEntry { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String auditApplicationId = null; - - @ApiModelProperty(required = true, value = "") - private UserInfo createdByUser = null; - - @ApiModelProperty(required = true, value = "") - private Date createdAt = null; - - @ApiModelProperty(value = "") - private Object values = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public AuditEntry id(String id) { - this.id = id; - return this; - } - - /** - * Get auditApplicationId - * @return auditApplicationId - **/ - @JsonProperty("auditApplicationId") - public String getAuditApplicationId() { - return auditApplicationId; - } - - public void setAuditApplicationId(String auditApplicationId) { - this.auditApplicationId = auditApplicationId; - } - - public AuditEntry auditApplicationId(String auditApplicationId) { - this.auditApplicationId = auditApplicationId; - return this; - } - - /** - * Get createdByUser - * @return createdByUser - **/ - @JsonProperty("createdByUser") - public UserInfo getCreatedByUser() { - return createdByUser; - } - - public void setCreatedByUser(UserInfo createdByUser) { - this.createdByUser = createdByUser; - } - - public AuditEntry createdByUser(UserInfo createdByUser) { - this.createdByUser = createdByUser; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @JsonProperty("createdAt") - public Date getCreatedAt() { - return createdAt; - } - - public void setCreatedAt(Date createdAt) { - this.createdAt = createdAt; - } - - public AuditEntry createdAt(Date createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get values - * @return values - **/ - @JsonProperty("values") - public Object getValues() { - return values; - } - - public void setValues(Object values) { - this.values = values; - } - - public AuditEntry values(Object values) { - this.values = values; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AuditEntry {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" auditApplicationId: ").append(toIndentedString(auditApplicationId)).append("\n"); - sb.append(" createdByUser: ").append(toIndentedString(createdByUser)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" values: ").append(toIndentedString(values)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryEntry.java deleted file mode 100644 index 0ae9cea..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AuditEntryEntry { - - @ApiModelProperty(value = "") - private AuditEntry entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public AuditEntry getEntry() { - return entry; - } - - public void setEntry(AuditEntry entry) { - this.entry = entry; - } - - public AuditEntryEntry entry(AuditEntry entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AuditEntryEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPaging.java deleted file mode 100644 index 4d28576..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AuditEntryPaging { - - @ApiModelProperty(value = "") - private AuditEntryPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public AuditEntryPagingList getList() { - return _list; - } - - public void setList(AuditEntryPagingList _list) { - this._list = _list; - } - - public AuditEntryPaging _list(AuditEntryPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AuditEntryPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPagingList.java deleted file mode 100644 index a06c2ec..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPagingList.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class AuditEntryPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public AuditEntryPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public AuditEntryPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public AuditEntryPagingList addEntriesItem(AuditEntryEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AuditEntryPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Capabilities.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Capabilities.java deleted file mode 100644 index 6d7fb39..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Capabilities.java +++ /dev/null @@ -1,95 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Capabilities { - - @ApiModelProperty(value = "") - private Boolean isAdmin = null; - - @ApiModelProperty(value = "") - private Boolean isGuest = null; - - @ApiModelProperty(value = "") - private Boolean isMutable = null; - /** - * Get isAdmin - * @return isAdmin - **/ - @JsonProperty("isAdmin") - public Boolean isIsAdmin() { - return isAdmin; - } - - public void setIsAdmin(Boolean isAdmin) { - this.isAdmin = isAdmin; - } - - public Capabilities isAdmin(Boolean isAdmin) { - this.isAdmin = isAdmin; - return this; - } - - /** - * Get isGuest - * @return isGuest - **/ - @JsonProperty("isGuest") - public Boolean isIsGuest() { - return isGuest; - } - - public void setIsGuest(Boolean isGuest) { - this.isGuest = isGuest; - } - - public Capabilities isGuest(Boolean isGuest) { - this.isGuest = isGuest; - return this; - } - - /** - * Get isMutable - * @return isMutable - **/ - @JsonProperty("isMutable") - public Boolean isIsMutable() { - return isMutable; - } - - public void setIsMutable(Boolean isMutable) { - this.isMutable = isMutable; - } - - public Capabilities isMutable(Boolean isMutable) { - this.isMutable = isMutable; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Capabilities {\n"); - - sb.append(" isAdmin: ").append(toIndentedString(isAdmin)).append("\n"); - sb.append(" isGuest: ").append(toIndentedString(isGuest)).append("\n"); - sb.append(" isMutable: ").append(toIndentedString(isMutable)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociation.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociation.java deleted file mode 100644 index 0de587b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociation.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ChildAssociation { - - @ApiModelProperty(required = true, value = "") - private String childId = null; - - @ApiModelProperty(required = true, value = "") - private String assocType = null; - /** - * Get childId - * @return childId - **/ - @JsonProperty("childId") - public String getChildId() { - return childId; - } - - public void setChildId(String childId) { - this.childId = childId; - } - - public ChildAssociation childId(String childId) { - this.childId = childId; - return this; - } - - /** - * Get assocType - * @return assocType - **/ - @JsonProperty("assocType") - public String getAssocType() { - return assocType; - } - - public void setAssocType(String assocType) { - this.assocType = assocType; - } - - public ChildAssociation assocType(String assocType) { - this.assocType = assocType; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ChildAssociation {\n"); - - sb.append(" childId: ").append(toIndentedString(childId)).append("\n"); - sb.append(" assocType: ").append(toIndentedString(assocType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationBody.java deleted file mode 100644 index a90662b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationBody.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ChildAssociationBody { - - @ApiModelProperty(required = true, value = "") - private String childId = null; - - @ApiModelProperty(required = true, value = "") - private String assocType = null; - /** - * Get childId - * @return childId - **/ - @JsonProperty("childId") - public String getChildId() { - return childId; - } - - public void setChildId(String childId) { - this.childId = childId; - } - - public ChildAssociationBody childId(String childId) { - this.childId = childId; - return this; - } - - /** - * Get assocType - * @return assocType - **/ - @JsonProperty("assocType") - public String getAssocType() { - return assocType; - } - - public void setAssocType(String assocType) { - this.assocType = assocType; - } - - public ChildAssociationBody assocType(String assocType) { - this.assocType = assocType; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ChildAssociationBody {\n"); - - sb.append(" childId: ").append(toIndentedString(childId)).append("\n"); - sb.append(" assocType: ").append(toIndentedString(assocType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationEntry.java deleted file mode 100644 index 319f454..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ChildAssociationEntry { - - @ApiModelProperty(required = true, value = "") - private ChildAssociation entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public ChildAssociation getEntry() { - return entry; - } - - public void setEntry(ChildAssociation entry) { - this.entry = entry; - } - - public ChildAssociationEntry entry(ChildAssociation entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ChildAssociationEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationInfo.java deleted file mode 100644 index 5356afe..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationInfo.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ChildAssociationInfo { - - @ApiModelProperty(required = true, value = "") - private String assocType = null; - - @ApiModelProperty(required = true, value = "") - private Boolean isPrimary = null; - /** - * Get assocType - * @return assocType - **/ - @JsonProperty("assocType") - public String getAssocType() { - return assocType; - } - - public void setAssocType(String assocType) { - this.assocType = assocType; - } - - public ChildAssociationInfo assocType(String assocType) { - this.assocType = assocType; - return this; - } - - /** - * Get isPrimary - * @return isPrimary - **/ - @JsonProperty("isPrimary") - public Boolean isIsPrimary() { - return isPrimary; - } - - public void setIsPrimary(Boolean isPrimary) { - this.isPrimary = isPrimary; - } - - public ChildAssociationInfo isPrimary(Boolean isPrimary) { - this.isPrimary = isPrimary; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ChildAssociationInfo {\n"); - - sb.append(" assocType: ").append(toIndentedString(assocType)).append("\n"); - sb.append(" isPrimary: ").append(toIndentedString(isPrimary)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ClientBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ClientBody.java deleted file mode 100644 index 84dd802..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ClientBody.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ClientBody { - - @ApiModelProperty(required = true, value = "the client name") - /** - * the client name - **/ - private String client = null; - /** - * the client name - * @return client - **/ - @JsonProperty("client") - public String getClient() { - return client; - } - - public void setClient(String client) { - this.client = client; - } - - public ClientBody client(String client) { - this.client = client; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ClientBody {\n"); - - sb.append(" client: ").append(toIndentedString(client)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Comment.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Comment.java deleted file mode 100644 index 797abe3..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Comment.java +++ /dev/null @@ -1,250 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Comment { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String title = null; - - @ApiModelProperty(required = true, value = "") - private String content = null; - - @ApiModelProperty(required = true, value = "") - private Person createdBy = null; - - @ApiModelProperty(required = true, value = "") - private Date createdAt = null; - - @ApiModelProperty(required = true, value = "") - private Boolean edited = null; - - @ApiModelProperty(required = true, value = "") - private Person modifiedBy = null; - - @ApiModelProperty(required = true, value = "") - private Date modifiedAt = null; - - @ApiModelProperty(required = true, value = "") - private Boolean canEdit = null; - - @ApiModelProperty(required = true, value = "") - private Boolean canDelete = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Comment id(String id) { - this.id = id; - return this; - } - - /** - * Get title - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public Comment title(String title) { - this.title = title; - return this; - } - - /** - * Get content - * @return content - **/ - @JsonProperty("content") - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public Comment content(String content) { - this.content = content; - return this; - } - - /** - * Get createdBy - * @return createdBy - **/ - @JsonProperty("createdBy") - public Person getCreatedBy() { - return createdBy; - } - - public void setCreatedBy(Person createdBy) { - this.createdBy = createdBy; - } - - public Comment createdBy(Person createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @JsonProperty("createdAt") - public Date getCreatedAt() { - return createdAt; - } - - public void setCreatedAt(Date createdAt) { - this.createdAt = createdAt; - } - - public Comment createdAt(Date createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get edited - * @return edited - **/ - @JsonProperty("edited") - public Boolean isEdited() { - return edited; - } - - public void setEdited(Boolean edited) { - this.edited = edited; - } - - public Comment edited(Boolean edited) { - this.edited = edited; - return this; - } - - /** - * Get modifiedBy - * @return modifiedBy - **/ - @JsonProperty("modifiedBy") - public Person getModifiedBy() { - return modifiedBy; - } - - public void setModifiedBy(Person modifiedBy) { - this.modifiedBy = modifiedBy; - } - - public Comment modifiedBy(Person modifiedBy) { - this.modifiedBy = modifiedBy; - return this; - } - - /** - * Get modifiedAt - * @return modifiedAt - **/ - @JsonProperty("modifiedAt") - public Date getModifiedAt() { - return modifiedAt; - } - - public void setModifiedAt(Date modifiedAt) { - this.modifiedAt = modifiedAt; - } - - public Comment modifiedAt(Date modifiedAt) { - this.modifiedAt = modifiedAt; - return this; - } - - /** - * Get canEdit - * @return canEdit - **/ - @JsonProperty("canEdit") - public Boolean isCanEdit() { - return canEdit; - } - - public void setCanEdit(Boolean canEdit) { - this.canEdit = canEdit; - } - - public Comment canEdit(Boolean canEdit) { - this.canEdit = canEdit; - return this; - } - - /** - * Get canDelete - * @return canDelete - **/ - @JsonProperty("canDelete") - public Boolean isCanDelete() { - return canDelete; - } - - public void setCanDelete(Boolean canDelete) { - this.canDelete = canDelete; - } - - public Comment canDelete(Boolean canDelete) { - this.canDelete = canDelete; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Comment {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" content: ").append(toIndentedString(content)).append("\n"); - sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" edited: ").append(toIndentedString(edited)).append("\n"); - sb.append(" modifiedBy: ").append(toIndentedString(modifiedBy)).append("\n"); - sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); - sb.append(" canEdit: ").append(toIndentedString(canEdit)).append("\n"); - sb.append(" canDelete: ").append(toIndentedString(canDelete)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentBody.java deleted file mode 100644 index e243d90..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentBody.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class CommentBody { - - @ApiModelProperty(required = true, value = "") - private String content = null; - /** - * Get content - * @return content - **/ - @JsonProperty("content") - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public CommentBody content(String content) { - this.content = content; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CommentBody {\n"); - - sb.append(" content: ").append(toIndentedString(content)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentEntry.java deleted file mode 100644 index 1ebcae8..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class CommentEntry { - - @ApiModelProperty(required = true, value = "") - private Comment entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Comment getEntry() { - return entry; - } - - public void setEntry(Comment entry) { - this.entry = entry; - } - - public CommentEntry entry(Comment entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CommentEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPaging.java deleted file mode 100644 index 74601d0..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class CommentPaging { - - @ApiModelProperty(required = true, value = "") - private CommentPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public CommentPagingList getList() { - return _list; - } - - public void setList(CommentPagingList _list) { - this._list = _list; - } - - public CommentPaging _list(CommentPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CommentPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPagingList.java deleted file mode 100644 index 30c9218..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class CommentPagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public CommentPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public CommentPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public CommentPagingList addEntriesItem(CommentEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CommentPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Company.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Company.java deleted file mode 100644 index c62b4b8..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Company.java +++ /dev/null @@ -1,205 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Company { - - @ApiModelProperty(value = "") - private String organization = null; - - @ApiModelProperty(value = "") - private String address1 = null; - - @ApiModelProperty(value = "") - private String address2 = null; - - @ApiModelProperty(value = "") - private String address3 = null; - - @ApiModelProperty(value = "") - private String postcode = null; - - @ApiModelProperty(value = "") - private String telephone = null; - - @ApiModelProperty(value = "") - private String fax = null; - - @ApiModelProperty(value = "") - private String email = null; - /** - * Get organization - * @return organization - **/ - @JsonProperty("organization") - public String getOrganization() { - return organization; - } - - public void setOrganization(String organization) { - this.organization = organization; - } - - public Company organization(String organization) { - this.organization = organization; - return this; - } - - /** - * Get address1 - * @return address1 - **/ - @JsonProperty("address1") - public String getAddress1() { - return address1; - } - - public void setAddress1(String address1) { - this.address1 = address1; - } - - public Company address1(String address1) { - this.address1 = address1; - return this; - } - - /** - * Get address2 - * @return address2 - **/ - @JsonProperty("address2") - public String getAddress2() { - return address2; - } - - public void setAddress2(String address2) { - this.address2 = address2; - } - - public Company address2(String address2) { - this.address2 = address2; - return this; - } - - /** - * Get address3 - * @return address3 - **/ - @JsonProperty("address3") - public String getAddress3() { - return address3; - } - - public void setAddress3(String address3) { - this.address3 = address3; - } - - public Company address3(String address3) { - this.address3 = address3; - return this; - } - - /** - * Get postcode - * @return postcode - **/ - @JsonProperty("postcode") - public String getPostcode() { - return postcode; - } - - public void setPostcode(String postcode) { - this.postcode = postcode; - } - - public Company postcode(String postcode) { - this.postcode = postcode; - return this; - } - - /** - * Get telephone - * @return telephone - **/ - @JsonProperty("telephone") - public String getTelephone() { - return telephone; - } - - public void setTelephone(String telephone) { - this.telephone = telephone; - } - - public Company telephone(String telephone) { - this.telephone = telephone; - return this; - } - - /** - * Get fax - * @return fax - **/ - @JsonProperty("fax") - public String getFax() { - return fax; - } - - public void setFax(String fax) { - this.fax = fax; - } - - public Company fax(String fax) { - this.fax = fax; - return this; - } - - /** - * Get email - * @return email - **/ - @JsonProperty("email") - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public Company email(String email) { - this.email = email; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Company {\n"); - - sb.append(" organization: ").append(toIndentedString(organization)).append("\n"); - sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); - sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); - sb.append(" address3: ").append(toIndentedString(address3)).append("\n"); - sb.append(" postcode: ").append(toIndentedString(postcode)).append("\n"); - sb.append(" telephone: ").append(toIndentedString(telephone)).append("\n"); - sb.append(" fax: ").append(toIndentedString(fax)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Constraint.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Constraint.java deleted file mode 100644 index 31a757e..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Constraint.java +++ /dev/null @@ -1,154 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Map; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Constraint { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(value = "the type of the constraint") - /** - * the type of the constraint - **/ - private String type = null; - - @ApiModelProperty(value = "the human-readable constraint title") - /** - * the human-readable constraint title - **/ - private String title = null; - - @ApiModelProperty(value = "the human-readable constraint description") - /** - * the human-readable constraint description - **/ - private String description = null; - - @ApiModelProperty(value = "") - private Map parameters = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Constraint id(String id) { - this.id = id; - return this; - } - - /** - * the type of the constraint - * @return type - **/ - @JsonProperty("type") - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public Constraint type(String type) { - this.type = type; - return this; - } - - /** - * the human-readable constraint title - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public Constraint title(String title) { - this.title = title; - return this; - } - - /** - * the human-readable constraint description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Constraint description(String description) { - this.description = description; - return this; - } - - /** - * Get parameters - * @return parameters - **/ - @JsonProperty("parameters") - public Map getParameters() { - return parameters; - } - - public void setParameters(Map parameters) { - this.parameters = parameters; - } - - public Constraint parameters(Map parameters) { - this.parameters = parameters; - return this; - } - - public Constraint putParametersItem(String key, Object parametersItem) { - this.parameters.put(key, parametersItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Constraint {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" parameters: ").append(toIndentedString(parameters)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ContentInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ContentInfo.java deleted file mode 100644 index 1876b5b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ContentInfo.java +++ /dev/null @@ -1,139 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ContentInfo { - - @ApiModelProperty(required = true, value = "") - private String mimeType = null; - - @ApiModelProperty(required = true, value = "") - private String mimeTypeName = null; - - @ApiModelProperty(required = true, value = "") - private Integer sizeInBytes = null; - - @ApiModelProperty(value = "") - private String encoding = null; - - @ApiModelProperty(value = "") - private String mimeTypeGroup = null; - /** - * Get mimeType - * @return mimeType - **/ - @JsonProperty("mimeType") - public String getMimeType() { - return mimeType; - } - - public void setMimeType(String mimeType) { - this.mimeType = mimeType; - } - - public ContentInfo mimeType(String mimeType) { - this.mimeType = mimeType; - return this; - } - - /** - * Get mimeTypeName - * @return mimeTypeName - **/ - @JsonProperty("mimeTypeName") - public String getMimeTypeName() { - return mimeTypeName; - } - - public void setMimeTypeName(String mimeTypeName) { - this.mimeTypeName = mimeTypeName; - } - - public ContentInfo mimeTypeName(String mimeTypeName) { - this.mimeTypeName = mimeTypeName; - return this; - } - - /** - * Get sizeInBytes - * @return sizeInBytes - **/ - @JsonProperty("sizeInBytes") - public Integer getSizeInBytes() { - return sizeInBytes; - } - - public void setSizeInBytes(Integer sizeInBytes) { - this.sizeInBytes = sizeInBytes; - } - - public ContentInfo sizeInBytes(Integer sizeInBytes) { - this.sizeInBytes = sizeInBytes; - return this; - } - - /** - * Get encoding - * @return encoding - **/ - @JsonProperty("encoding") - public String getEncoding() { - return encoding; - } - - public void setEncoding(String encoding) { - this.encoding = encoding; - } - - public ContentInfo encoding(String encoding) { - this.encoding = encoding; - return this; - } - - /** - * Get mimeTypeGroup - * @return mimeTypeGroup - **/ - @JsonProperty("mimeTypeGroup") - public String getMimeTypeGroup() { - return mimeTypeGroup; - } - - public void setMimeTypeGroup(String mimeTypeGroup) { - this.mimeTypeGroup = mimeTypeGroup; - } - - public ContentInfo mimeTypeGroup(String mimeTypeGroup) { - this.mimeTypeGroup = mimeTypeGroup; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ContentInfo {\n"); - - sb.append(" mimeType: ").append(toIndentedString(mimeType)).append("\n"); - sb.append(" mimeTypeName: ").append(toIndentedString(mimeTypeName)).append("\n"); - sb.append(" sizeInBytes: ").append(toIndentedString(sizeInBytes)).append("\n"); - sb.append(" encoding: ").append(toIndentedString(encoding)).append("\n"); - sb.append(" mimeTypeGroup: ").append(toIndentedString(mimeTypeGroup)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Definition.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Definition.java deleted file mode 100644 index a314eda..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Definition.java +++ /dev/null @@ -1,60 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Definition { - - @ApiModelProperty(value = "List of property definitions effective for this node as the result of combining the type with all aspects.") - /** - * List of property definitions effective for this node as the result of combining the type with all aspects. - **/ - private List properties = null; - /** - * List of property definitions effective for this node as the result of combining the type with all aspects. - * @return properties - **/ - @JsonProperty("properties") - public List getProperties() { - return properties; - } - - public void setProperties(List properties) { - this.properties = properties; - } - - public Definition properties(List properties) { - this.properties = properties; - return this; - } - - public Definition addPropertiesItem(Property propertiesItem) { - this.properties.add(propertiesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Definition {\n"); - - sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNode.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNode.java deleted file mode 100644 index a4ba9db..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNode.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -public class DeletedNode extends Node { - - @ApiModelProperty(required = true, value = "") - private UserInfo archivedByUser = null; - - @ApiModelProperty(required = true, value = "") - private Date archivedAt = null; - /** - * Get archivedByUser - * @return archivedByUser - **/ - @JsonProperty("archivedByUser") - public UserInfo getArchivedByUser() { - return archivedByUser; - } - - public void setArchivedByUser(UserInfo archivedByUser) { - this.archivedByUser = archivedByUser; - } - - public DeletedNode archivedByUser(UserInfo archivedByUser) { - this.archivedByUser = archivedByUser; - return this; - } - - /** - * Get archivedAt - * @return archivedAt - **/ - @JsonProperty("archivedAt") - public Date getArchivedAt() { - return archivedAt; - } - - public void setArchivedAt(Date archivedAt) { - this.archivedAt = archivedAt; - } - - public DeletedNode archivedAt(Date archivedAt) { - this.archivedAt = archivedAt; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DeletedNode {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append(" archivedByUser: ").append(toIndentedString(archivedByUser)).append("\n"); - sb.append(" archivedAt: ").append(toIndentedString(archivedAt)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeBodyRestore.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeBodyRestore.java deleted file mode 100644 index e02e8f6..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeBodyRestore.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class DeletedNodeBodyRestore { - - @ApiModelProperty(value = "") - private String targetParentId = null; - - @ApiModelProperty(value = "") - private String assocType = null; - /** - * Get targetParentId - * @return targetParentId - **/ - @JsonProperty("targetParentId") - public String getTargetParentId() { - return targetParentId; - } - - public void setTargetParentId(String targetParentId) { - this.targetParentId = targetParentId; - } - - public DeletedNodeBodyRestore targetParentId(String targetParentId) { - this.targetParentId = targetParentId; - return this; - } - - /** - * Get assocType - * @return assocType - **/ - @JsonProperty("assocType") - public String getAssocType() { - return assocType; - } - - public void setAssocType(String assocType) { - this.assocType = assocType; - } - - public DeletedNodeBodyRestore assocType(String assocType) { - this.assocType = assocType; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DeletedNodeBodyRestore {\n"); - - sb.append(" targetParentId: ").append(toIndentedString(targetParentId)).append("\n"); - sb.append(" assocType: ").append(toIndentedString(assocType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeEntry.java deleted file mode 100644 index de5b96f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class DeletedNodeEntry { - - @ApiModelProperty(value = "") - private DeletedNode entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public DeletedNode getEntry() { - return entry; - } - - public void setEntry(DeletedNode entry) { - this.entry = entry; - } - - public DeletedNodeEntry entry(DeletedNode entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DeletedNodeEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPaging.java deleted file mode 100644 index 847a9dc..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class DeletedNodesPaging { - - @ApiModelProperty(value = "") - private DeletedNodesPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public DeletedNodesPagingList getList() { - return _list; - } - - public void setList(DeletedNodesPagingList _list) { - this._list = _list; - } - - public DeletedNodesPaging _list(DeletedNodesPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DeletedNodesPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPagingList.java deleted file mode 100644 index 320b367..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPagingList.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class DeletedNodesPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public DeletedNodesPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public DeletedNodesPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public DeletedNodesPagingList addEntriesItem(DeletedNodeEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DeletedNodesPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DirectAccessUrlBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DirectAccessUrlBodyCreate.java deleted file mode 100644 index bd5f20c..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DirectAccessUrlBodyCreate.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class DirectAccessUrlBodyCreate { - - @ApiModelProperty(value = "") - private Date expiresAt = null; - - @ApiModelProperty(value = "The length of time in seconds that the url is valid for. ") - /** - * The length of time in seconds that the url is valid for. - **/ - private Integer validFor = null; - /** - * Get expiresAt - * @return expiresAt - **/ - @JsonProperty("expiresAt") - public Date getExpiresAt() { - return expiresAt; - } - - public void setExpiresAt(Date expiresAt) { - this.expiresAt = expiresAt; - } - - public DirectAccessUrlBodyCreate expiresAt(Date expiresAt) { - this.expiresAt = expiresAt; - return this; - } - - /** - * The length of time in seconds that the url is valid for. - * minimum: 1 - * @return validFor - **/ - @JsonProperty("validFor") - public Integer getValidFor() { - return validFor; - } - - public void setValidFor(Integer validFor) { - this.validFor = validFor; - } - - public DirectAccessUrlBodyCreate validFor(Integer validFor) { - this.validFor = validFor; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DirectAccessUrlBodyCreate {\n"); - - sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); - sb.append(" validFor: ").append(toIndentedString(validFor)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DiscoveryEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DiscoveryEntry.java deleted file mode 100644 index 09e15ec..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DiscoveryEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class DiscoveryEntry { - - @ApiModelProperty(required = true, value = "") - private RepositoryEntry entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public RepositoryEntry getEntry() { - return entry; - } - - public void setEntry(RepositoryEntry entry) { - this.entry = entry; - } - - public DiscoveryEntry entry(RepositoryEntry entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DiscoveryEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Download.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Download.java deleted file mode 100644 index 740e593..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Download.java +++ /dev/null @@ -1,218 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Download { - - @ApiModelProperty(value = "number of files added so far in the zip") - /** - * number of files added so far in the zip - **/ - private Integer filesAdded = null; - - @ApiModelProperty(value = "number of bytes added so far in the zip") - /** - * number of bytes added so far in the zip - **/ - private Integer bytesAdded = null; - - @ApiModelProperty(value = "the id of the download node") - /** - * the id of the download node - **/ - private String id = null; - - @ApiModelProperty(value = "the total number of files to be added in the zip") - /** - * the total number of files to be added in the zip - **/ - private Integer totalFiles = null; - - @ApiModelProperty(value = "the total number of bytes to be added in the zip") - /** - * the total number of bytes to be added in the zip - **/ - private Integer totalBytes = null; - - -@XmlType(name="StatusEnum") -@XmlEnum(String.class) -public enum StatusEnum { - -@XmlEnumValue("PENDING") PENDING(String.valueOf("PENDING")), @XmlEnumValue("CANCELLED") CANCELLED(String.valueOf("CANCELLED")), @XmlEnumValue("IN_PROGRESS") IN_PROGRESS(String.valueOf("IN_PROGRESS")), @XmlEnumValue("DONE") DONE(String.valueOf("DONE")), @XmlEnumValue("MAX_CONTENT_SIZE_EXCEEDED") MAX_CONTENT_SIZE_EXCEEDED(String.valueOf("MAX_CONTENT_SIZE_EXCEEDED")); - - - private String value; - - StatusEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static StatusEnum fromValue(String v) { - for (StatusEnum b : StatusEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "the current status of the download node creation") - /** - * the current status of the download node creation - **/ - private StatusEnum status = StatusEnum.PENDING; - /** - * number of files added so far in the zip - * @return filesAdded - **/ - @JsonProperty("filesAdded") - public Integer getFilesAdded() { - return filesAdded; - } - - public void setFilesAdded(Integer filesAdded) { - this.filesAdded = filesAdded; - } - - public Download filesAdded(Integer filesAdded) { - this.filesAdded = filesAdded; - return this; - } - - /** - * number of bytes added so far in the zip - * @return bytesAdded - **/ - @JsonProperty("bytesAdded") - public Integer getBytesAdded() { - return bytesAdded; - } - - public void setBytesAdded(Integer bytesAdded) { - this.bytesAdded = bytesAdded; - } - - public Download bytesAdded(Integer bytesAdded) { - this.bytesAdded = bytesAdded; - return this; - } - - /** - * the id of the download node - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Download id(String id) { - this.id = id; - return this; - } - - /** - * the total number of files to be added in the zip - * @return totalFiles - **/ - @JsonProperty("totalFiles") - public Integer getTotalFiles() { - return totalFiles; - } - - public void setTotalFiles(Integer totalFiles) { - this.totalFiles = totalFiles; - } - - public Download totalFiles(Integer totalFiles) { - this.totalFiles = totalFiles; - return this; - } - - /** - * the total number of bytes to be added in the zip - * @return totalBytes - **/ - @JsonProperty("totalBytes") - public Integer getTotalBytes() { - return totalBytes; - } - - public void setTotalBytes(Integer totalBytes) { - this.totalBytes = totalBytes; - } - - public Download totalBytes(Integer totalBytes) { - this.totalBytes = totalBytes; - return this; - } - - /** - * the current status of the download node creation - * @return status - **/ - @JsonProperty("status") - public String getStatus() { - if (status == null) { - return null; - } - return status.value(); - } - - public void setStatus(StatusEnum status) { - this.status = status; - } - - public Download status(StatusEnum status) { - this.status = status; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Download {\n"); - - sb.append(" filesAdded: ").append(toIndentedString(filesAdded)).append("\n"); - sb.append(" bytesAdded: ").append(toIndentedString(bytesAdded)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" totalFiles: ").append(toIndentedString(totalFiles)).append("\n"); - sb.append(" totalBytes: ").append(toIndentedString(totalBytes)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadBodyCreate.java deleted file mode 100644 index b348d5c..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadBodyCreate.java +++ /dev/null @@ -1,58 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class DownloadBodyCreate { - - @ApiModelProperty(required = true, value = "") - private List nodeIds = new ArrayList(); - /** - * Get nodeIds - * @return nodeIds - **/ - @JsonProperty("nodeIds") - public List getNodeIds() { - return nodeIds; - } - - public void setNodeIds(List nodeIds) { - this.nodeIds = nodeIds; - } - - public DownloadBodyCreate nodeIds(List nodeIds) { - this.nodeIds = nodeIds; - return this; - } - - public DownloadBodyCreate addNodeIdsItem(String nodeIdsItem) { - this.nodeIds.add(nodeIdsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DownloadBodyCreate {\n"); - - sb.append(" nodeIds: ").append(toIndentedString(nodeIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadEntry.java deleted file mode 100644 index ebaf845..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class DownloadEntry { - - @ApiModelProperty(required = true, value = "") - private Download entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Download getEntry() { - return entry; - } - - public void setEntry(Download entry) { - this.entry = entry; - } - - public DownloadEntry entry(Download entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DownloadEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/EntitlementsInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/EntitlementsInfo.java deleted file mode 100644 index 4c70acb..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/EntitlementsInfo.java +++ /dev/null @@ -1,117 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class EntitlementsInfo { - - @ApiModelProperty(value = "") - private Long maxUsers = null; - - @ApiModelProperty(value = "") - private Long maxDocs = null; - - @ApiModelProperty(value = "") - private Boolean isClusterEnabled = false; - - @ApiModelProperty(value = "") - private Boolean isCryptodocEnabled = false; - /** - * Get maxUsers - * @return maxUsers - **/ - @JsonProperty("maxUsers") - public Long getMaxUsers() { - return maxUsers; - } - - public void setMaxUsers(Long maxUsers) { - this.maxUsers = maxUsers; - } - - public EntitlementsInfo maxUsers(Long maxUsers) { - this.maxUsers = maxUsers; - return this; - } - - /** - * Get maxDocs - * @return maxDocs - **/ - @JsonProperty("maxDocs") - public Long getMaxDocs() { - return maxDocs; - } - - public void setMaxDocs(Long maxDocs) { - this.maxDocs = maxDocs; - } - - public EntitlementsInfo maxDocs(Long maxDocs) { - this.maxDocs = maxDocs; - return this; - } - - /** - * Get isClusterEnabled - * @return isClusterEnabled - **/ - @JsonProperty("isClusterEnabled") - public Boolean isIsClusterEnabled() { - return isClusterEnabled; - } - - public void setIsClusterEnabled(Boolean isClusterEnabled) { - this.isClusterEnabled = isClusterEnabled; - } - - public EntitlementsInfo isClusterEnabled(Boolean isClusterEnabled) { - this.isClusterEnabled = isClusterEnabled; - return this; - } - - /** - * Get isCryptodocEnabled - * @return isCryptodocEnabled - **/ - @JsonProperty("isCryptodocEnabled") - public Boolean isIsCryptodocEnabled() { - return isCryptodocEnabled; - } - - public void setIsCryptodocEnabled(Boolean isCryptodocEnabled) { - this.isCryptodocEnabled = isCryptodocEnabled; - } - - public EntitlementsInfo isCryptodocEnabled(Boolean isCryptodocEnabled) { - this.isCryptodocEnabled = isCryptodocEnabled; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class EntitlementsInfo {\n"); - - sb.append(" maxUsers: ").append(toIndentedString(maxUsers)).append("\n"); - sb.append(" maxDocs: ").append(toIndentedString(maxDocs)).append("\n"); - sb.append(" isClusterEnabled: ").append(toIndentedString(isClusterEnabled)).append("\n"); - sb.append(" isCryptodocEnabled: ").append(toIndentedString(isCryptodocEnabled)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Error.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Error.java deleted file mode 100644 index bfc6632..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Error.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Error { - - @ApiModelProperty(required = true, value = "") - private ErrorError error = null; - /** - * Get error - * @return error - **/ - @JsonProperty("error") - public ErrorError getError() { - return error; - } - - public void setError(ErrorError error) { - this.error = error; - } - - public Error error(ErrorError error) { - this.error = error; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Error {\n"); - - sb.append(" error: ").append(toIndentedString(error)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ErrorError.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ErrorError.java deleted file mode 100644 index b0c141e..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ErrorError.java +++ /dev/null @@ -1,161 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ErrorError { - - @ApiModelProperty(value = "") - private String errorKey = null; - - @ApiModelProperty(required = true, value = "") - private Integer statusCode = null; - - @ApiModelProperty(required = true, value = "") - private String briefSummary = null; - - @ApiModelProperty(required = true, value = "") - private String stackTrace = null; - - @ApiModelProperty(required = true, value = "") - private String descriptionURL = null; - - @ApiModelProperty(value = "") - private String logId = null; - /** - * Get errorKey - * @return errorKey - **/ - @JsonProperty("errorKey") - public String getErrorKey() { - return errorKey; - } - - public void setErrorKey(String errorKey) { - this.errorKey = errorKey; - } - - public ErrorError errorKey(String errorKey) { - this.errorKey = errorKey; - return this; - } - - /** - * Get statusCode - * @return statusCode - **/ - @JsonProperty("statusCode") - public Integer getStatusCode() { - return statusCode; - } - - public void setStatusCode(Integer statusCode) { - this.statusCode = statusCode; - } - - public ErrorError statusCode(Integer statusCode) { - this.statusCode = statusCode; - return this; - } - - /** - * Get briefSummary - * @return briefSummary - **/ - @JsonProperty("briefSummary") - public String getBriefSummary() { - return briefSummary; - } - - public void setBriefSummary(String briefSummary) { - this.briefSummary = briefSummary; - } - - public ErrorError briefSummary(String briefSummary) { - this.briefSummary = briefSummary; - return this; - } - - /** - * Get stackTrace - * @return stackTrace - **/ - @JsonProperty("stackTrace") - public String getStackTrace() { - return stackTrace; - } - - public void setStackTrace(String stackTrace) { - this.stackTrace = stackTrace; - } - - public ErrorError stackTrace(String stackTrace) { - this.stackTrace = stackTrace; - return this; - } - - /** - * Get descriptionURL - * @return descriptionURL - **/ - @JsonProperty("descriptionURL") - public String getDescriptionURL() { - return descriptionURL; - } - - public void setDescriptionURL(String descriptionURL) { - this.descriptionURL = descriptionURL; - } - - public ErrorError descriptionURL(String descriptionURL) { - this.descriptionURL = descriptionURL; - return this; - } - - /** - * Get logId - * @return logId - **/ - @JsonProperty("logId") - public String getLogId() { - return logId; - } - - public void setLogId(String logId) { - this.logId = logId; - } - - public ErrorError logId(String logId) { - this.logId = logId; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ErrorError {\n"); - - sb.append(" errorKey: ").append(toIndentedString(errorKey)).append("\n"); - sb.append(" statusCode: ").append(toIndentedString(statusCode)).append("\n"); - sb.append(" briefSummary: ").append(toIndentedString(briefSummary)).append("\n"); - sb.append(" stackTrace: ").append(toIndentedString(stackTrace)).append("\n"); - sb.append(" descriptionURL: ").append(toIndentedString(descriptionURL)).append("\n"); - sb.append(" logId: ").append(toIndentedString(logId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Favorite.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Favorite.java deleted file mode 100644 index 651aa35..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Favorite.java +++ /dev/null @@ -1,131 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -/** - * A favorite describes an Alfresco entity that a person has marked as a favorite. The target can be a site, file or folder. - **/ -@ApiModel(description="A favorite describes an Alfresco entity that a person has marked as a favorite. The target can be a site, file or folder. ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Favorite { - - @ApiModelProperty(required = true, value = "The guid of the object that is a favorite.") - /** - * The guid of the object that is a favorite. - **/ - private String targetGuid = null; - - @ApiModelProperty(value = "The time the object was made a favorite.") - /** - * The time the object was made a favorite. - **/ - private Date createdAt = null; - - @ApiModelProperty(required = true, value = "") - private Object target = null; - - @ApiModelProperty(value = "A subset of the target favorite properties, system properties and properties already available in the target are excluded.") - /** - * A subset of the target favorite properties, system properties and properties already available in the target are excluded. - **/ - private Object properties = null; - /** - * The guid of the object that is a favorite. - * @return targetGuid - **/ - @JsonProperty("targetGuid") - public String getTargetGuid() { - return targetGuid; - } - - public void setTargetGuid(String targetGuid) { - this.targetGuid = targetGuid; - } - - public Favorite targetGuid(String targetGuid) { - this.targetGuid = targetGuid; - return this; - } - - /** - * The time the object was made a favorite. - * @return createdAt - **/ - @JsonProperty("createdAt") - public Date getCreatedAt() { - return createdAt; - } - - public void setCreatedAt(Date createdAt) { - this.createdAt = createdAt; - } - - public Favorite createdAt(Date createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get target - * @return target - **/ - @JsonProperty("target") - public Object getTarget() { - return target; - } - - public void setTarget(Object target) { - this.target = target; - } - - public Favorite target(Object target) { - this.target = target; - return this; - } - - /** - * A subset of the target favorite properties, system properties and properties already available in the target are excluded. - * @return properties - **/ - @JsonProperty("properties") - public Object getProperties() { - return properties; - } - - public void setProperties(Object properties) { - this.properties = properties; - } - - public Favorite properties(Object properties) { - this.properties = properties; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Favorite {\n"); - - sb.append(" targetGuid: ").append(toIndentedString(targetGuid)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" target: ").append(toIndentedString(target)).append("\n"); - sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteBodyCreate.java deleted file mode 100644 index 84b4766..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteBodyCreate.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class FavoriteBodyCreate { - - @ApiModelProperty(required = true, value = "") - private Object target = null; - /** - * Get target - * @return target - **/ - @JsonProperty("target") - public Object getTarget() { - return target; - } - - public void setTarget(Object target) { - this.target = target; - } - - public FavoriteBodyCreate target(Object target) { - this.target = target; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FavoriteBodyCreate {\n"); - - sb.append(" target: ").append(toIndentedString(target)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteEntry.java deleted file mode 100644 index ce55a31..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class FavoriteEntry { - - @ApiModelProperty(required = true, value = "") - private Favorite entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Favorite getEntry() { - return entry; - } - - public void setEntry(Favorite entry) { - this.entry = entry; - } - - public FavoriteEntry entry(Favorite entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FavoriteEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePaging.java deleted file mode 100644 index 2d2e456..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class FavoritePaging { - - @ApiModelProperty(required = true, value = "") - private FavoritePagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public FavoritePagingList getList() { - return _list; - } - - public void setList(FavoritePagingList _list) { - this._list = _list; - } - - public FavoritePaging _list(FavoritePagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FavoritePaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePagingList.java deleted file mode 100644 index 909a87d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class FavoritePagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public FavoritePagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public FavoritePagingList entries(List entries) { - this.entries = entries; - return this; - } - - public FavoritePagingList addEntriesItem(FavoriteEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FavoritePagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSite.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSite.java deleted file mode 100644 index d967a10..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSite.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class FavoriteSite { - - @ApiModelProperty(required = true, value = "") - private String id = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public FavoriteSite id(String id) { - this.id = id; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FavoriteSite {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteBodyCreate.java deleted file mode 100644 index a81b918..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteBodyCreate.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class FavoriteSiteBodyCreate { - - @ApiModelProperty(required = true, value = "") - private String id = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public FavoriteSiteBodyCreate id(String id) { - this.id = id; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FavoriteSiteBodyCreate {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteEntry.java deleted file mode 100644 index 9f4e71d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class FavoriteSiteEntry { - - @ApiModelProperty(required = true, value = "") - private FavoriteSite entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public FavoriteSite getEntry() { - return entry; - } - - public void setEntry(FavoriteSite entry) { - this.entry = entry; - } - - public FavoriteSiteEntry entry(FavoriteSite entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FavoriteSiteEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucket.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucket.java deleted file mode 100644 index c37e7c9..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucket.java +++ /dev/null @@ -1,191 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -/** - * A bucket of facet results - **/ -@ApiModel(description="A bucket of facet results")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GenericBucket { - - @ApiModelProperty(value = "The bucket label") - /** - * The bucket label - **/ - private String label = null; - - @ApiModelProperty(value = "The filter query you can use to apply this facet") - /** - * The filter query you can use to apply this facet - **/ - private String filterQuery = null; - - @ApiModelProperty(value = "An optional field for additional display information") - /** - * An optional field for additional display information - **/ - private Object display = null; - - @ApiModelProperty(value = "An array of buckets and values") - /** - * An array of buckets and values - **/ - private List metrics = null; - - @ApiModelProperty(value = "Additional list of nested facets") - /** - * Additional list of nested facets - **/ - private List facets = null; - - @ApiModelProperty(value = "") - private GenericBucketBucketInfo bucketInfo = null; - /** - * The bucket label - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public GenericBucket label(String label) { - this.label = label; - return this; - } - - /** - * The filter query you can use to apply this facet - * @return filterQuery - **/ - @JsonProperty("filterQuery") - public String getFilterQuery() { - return filterQuery; - } - - public void setFilterQuery(String filterQuery) { - this.filterQuery = filterQuery; - } - - public GenericBucket filterQuery(String filterQuery) { - this.filterQuery = filterQuery; - return this; - } - - /** - * An optional field for additional display information - * @return display - **/ - @JsonProperty("display") - public Object getDisplay() { - return display; - } - - public void setDisplay(Object display) { - this.display = display; - } - - public GenericBucket display(Object display) { - this.display = display; - return this; - } - - /** - * An array of buckets and values - * @return metrics - **/ - @JsonProperty("metrics") - public List getMetrics() { - return metrics; - } - - public void setMetrics(List metrics) { - this.metrics = metrics; - } - - public GenericBucket metrics(List metrics) { - this.metrics = metrics; - return this; - } - - public GenericBucket addMetricsItem(GenericMetric metricsItem) { - this.metrics.add(metricsItem); - return this; - } - - /** - * Additional list of nested facets - * @return facets - **/ - @JsonProperty("facets") - public List getFacets() { - return facets; - } - - public void setFacets(List facets) { - this.facets = facets; - } - - public GenericBucket facets(List facets) { - this.facets = facets; - return this; - } - - public GenericBucket addFacetsItem(Object facetsItem) { - this.facets.add(facetsItem); - return this; - } - - /** - * Get bucketInfo - * @return bucketInfo - **/ - @JsonProperty("bucketInfo") - public GenericBucketBucketInfo getBucketInfo() { - return bucketInfo; - } - - public void setBucketInfo(GenericBucketBucketInfo bucketInfo) { - this.bucketInfo = bucketInfo; - } - - public GenericBucket bucketInfo(GenericBucketBucketInfo bucketInfo) { - this.bucketInfo = bucketInfo; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GenericBucket {\n"); - - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" filterQuery: ").append(toIndentedString(filterQuery)).append("\n"); - sb.append(" display: ").append(toIndentedString(display)).append("\n"); - sb.append(" metrics: ").append(toIndentedString(metrics)).append("\n"); - sb.append(" facets: ").append(toIndentedString(facets)).append("\n"); - sb.append(" bucketInfo: ").append(toIndentedString(bucketInfo)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucketBucketInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucketBucketInfo.java deleted file mode 100644 index fe511f5..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucketBucketInfo.java +++ /dev/null @@ -1,133 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * Additional information of nested facet - **/ -@ApiModel(description="Additional information of nested facet")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GenericBucketBucketInfo { - - @ApiModelProperty(value = "The start of range") - /** - * The start of range - **/ - private String start = null; - - @ApiModelProperty(value = "Includes values greater or equal to \"start\"") - /** - * Includes values greater or equal to \"start\" - **/ - private Boolean startInclusive = null; - - @ApiModelProperty(value = "The end of range") - /** - * The end of range - **/ - private String end = null; - - @ApiModelProperty(value = "Includes values less than or equal to \"end\"") - /** - * Includes values less than or equal to \"end\" - **/ - private Boolean endInclusive = null; - /** - * The start of range - * @return start - **/ - @JsonProperty("start") - public String getStart() { - return start; - } - - public void setStart(String start) { - this.start = start; - } - - public GenericBucketBucketInfo start(String start) { - this.start = start; - return this; - } - - /** - * Includes values greater or equal to \"start\" - * @return startInclusive - **/ - @JsonProperty("startInclusive") - public Boolean isStartInclusive() { - return startInclusive; - } - - public void setStartInclusive(Boolean startInclusive) { - this.startInclusive = startInclusive; - } - - public GenericBucketBucketInfo startInclusive(Boolean startInclusive) { - this.startInclusive = startInclusive; - return this; - } - - /** - * The end of range - * @return end - **/ - @JsonProperty("end") - public String getEnd() { - return end; - } - - public void setEnd(String end) { - this.end = end; - } - - public GenericBucketBucketInfo end(String end) { - this.end = end; - return this; - } - - /** - * Includes values less than or equal to \"end\" - * @return endInclusive - **/ - @JsonProperty("endInclusive") - public Boolean isEndInclusive() { - return endInclusive; - } - - public void setEndInclusive(Boolean endInclusive) { - this.endInclusive = endInclusive; - } - - public GenericBucketBucketInfo endInclusive(Boolean endInclusive) { - this.endInclusive = endInclusive; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GenericBucketBucketInfo {\n"); - - sb.append(" start: ").append(toIndentedString(start)).append("\n"); - sb.append(" startInclusive: ").append(toIndentedString(startInclusive)).append("\n"); - sb.append(" end: ").append(toIndentedString(end)).append("\n"); - sb.append(" endInclusive: ").append(toIndentedString(endInclusive)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericFacetResponse.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericFacetResponse.java deleted file mode 100644 index 31e21d9..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericFacetResponse.java +++ /dev/null @@ -1,110 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GenericFacetResponse { - - @ApiModelProperty(value = "The facet type, eg. interval, range, pivot, stats") - /** - * The facet type, eg. interval, range, pivot, stats - **/ - private String type = null; - - @ApiModelProperty(value = "The field name or its explicit label, if provided on the request") - /** - * The field name or its explicit label, if provided on the request - **/ - private String label = null; - - @ApiModelProperty(value = "An array of buckets and values") - /** - * An array of buckets and values - **/ - private List buckets = null; - /** - * The facet type, eg. interval, range, pivot, stats - * @return type - **/ - @JsonProperty("type") - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public GenericFacetResponse type(String type) { - this.type = type; - return this; - } - - /** - * The field name or its explicit label, if provided on the request - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public GenericFacetResponse label(String label) { - this.label = label; - return this; - } - - /** - * An array of buckets and values - * @return buckets - **/ - @JsonProperty("buckets") - public List getBuckets() { - return buckets; - } - - public void setBuckets(List buckets) { - this.buckets = buckets; - } - - public GenericFacetResponse buckets(List buckets) { - this.buckets = buckets; - return this; - } - - public GenericFacetResponse addBucketsItem(GenericBucket bucketsItem) { - this.buckets.add(bucketsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GenericFacetResponse {\n"); - - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" buckets: ").append(toIndentedString(buckets)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericMetric.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericMetric.java deleted file mode 100644 index 7e65e51..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericMetric.java +++ /dev/null @@ -1,83 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * A metric used in faceting - **/ -@ApiModel(description="A metric used in faceting")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GenericMetric { - - @ApiModelProperty(value = "The type of metric, e.g. count") - /** - * The type of metric, e.g. count - **/ - private String type = null; - - @ApiModelProperty(value = "The metric value, e.g. {\"count\": 34} ") - /** - * The metric value, e.g. {\"count\": 34} - **/ - private Object value = null; - /** - * The type of metric, e.g. count - * @return type - **/ - @JsonProperty("type") - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public GenericMetric type(String type) { - this.type = type; - return this; - } - - /** - * The metric value, e.g. {\"count\": 34} - * @return value - **/ - @JsonProperty("value") - public Object getValue() { - return value; - } - - public void setValue(Object value) { - this.value = value; - } - - public GenericMetric value(Object value) { - this.value = value; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GenericMetric {\n"); - - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Group.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Group.java deleted file mode 100644 index 40e53e8..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Group.java +++ /dev/null @@ -1,150 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Group { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String displayName = null; - - @ApiModelProperty(required = true, value = "") - private Boolean isRoot = true; - - @ApiModelProperty(value = "") - private List parentIds = null; - - @ApiModelProperty(value = "") - private List zones = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Group id(String id) { - this.id = id; - return this; - } - - /** - * Get displayName - * @return displayName - **/ - @JsonProperty("displayName") - public String getDisplayName() { - return displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public Group displayName(String displayName) { - this.displayName = displayName; - return this; - } - - /** - * Get isRoot - * @return isRoot - **/ - @JsonProperty("isRoot") - public Boolean isIsRoot() { - return isRoot; - } - - public void setIsRoot(Boolean isRoot) { - this.isRoot = isRoot; - } - - public Group isRoot(Boolean isRoot) { - this.isRoot = isRoot; - return this; - } - - /** - * Get parentIds - * @return parentIds - **/ - @JsonProperty("parentIds") - public List getParentIds() { - return parentIds; - } - - public void setParentIds(List parentIds) { - this.parentIds = parentIds; - } - - public Group parentIds(List parentIds) { - this.parentIds = parentIds; - return this; - } - - public Group addParentIdsItem(String parentIdsItem) { - this.parentIds.add(parentIdsItem); - return this; - } - - /** - * Get zones - * @return zones - **/ - @JsonProperty("zones") - public List getZones() { - return zones; - } - - public void setZones(List zones) { - this.zones = zones; - } - - public Group zones(List zones) { - this.zones = zones; - return this; - } - - public Group addZonesItem(String zonesItem) { - this.zones.add(zonesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Group {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); - sb.append(" isRoot: ").append(toIndentedString(isRoot)).append("\n"); - sb.append(" parentIds: ").append(toIndentedString(parentIds)).append("\n"); - sb.append(" zones: ").append(toIndentedString(zones)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyCreate.java deleted file mode 100644 index 4d7028f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyCreate.java +++ /dev/null @@ -1,101 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GroupBodyCreate { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String displayName = null; - - @ApiModelProperty(value = "") - private List parentIds = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public GroupBodyCreate id(String id) { - this.id = id; - return this; - } - - /** - * Get displayName - * @return displayName - **/ - @JsonProperty("displayName") - public String getDisplayName() { - return displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public GroupBodyCreate displayName(String displayName) { - this.displayName = displayName; - return this; - } - - /** - * Get parentIds - * @return parentIds - **/ - @JsonProperty("parentIds") - public List getParentIds() { - return parentIds; - } - - public void setParentIds(List parentIds) { - this.parentIds = parentIds; - } - - public GroupBodyCreate parentIds(List parentIds) { - this.parentIds = parentIds; - return this; - } - - public GroupBodyCreate addParentIdsItem(String parentIdsItem) { - this.parentIds.add(parentIdsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupBodyCreate {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); - sb.append(" parentIds: ").append(toIndentedString(parentIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyUpdate.java deleted file mode 100644 index 0a07171..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyUpdate.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GroupBodyUpdate { - - @ApiModelProperty(required = true, value = "") - private String displayName = null; - /** - * Get displayName - * @return displayName - **/ - @JsonProperty("displayName") - public String getDisplayName() { - return displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public GroupBodyUpdate displayName(String displayName) { - this.displayName = displayName; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupBodyUpdate {\n"); - - sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupEntry.java deleted file mode 100644 index 74853ec..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GroupEntry { - - @ApiModelProperty(required = true, value = "") - private Group entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Group getEntry() { - return entry; - } - - public void setEntry(Group entry) { - this.entry = entry; - } - - public GroupEntry entry(Group entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMember.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMember.java deleted file mode 100644 index b38dc48..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMember.java +++ /dev/null @@ -1,134 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GroupMember { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String displayName = null; - - -@XmlType(name="MemberTypeEnum") -@XmlEnum(String.class) -public enum MemberTypeEnum { - -@XmlEnumValue("GROUP") GROUP(String.valueOf("GROUP")), @XmlEnumValue("PERSON") PERSON(String.valueOf("PERSON")); - - - private String value; - - MemberTypeEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static MemberTypeEnum fromValue(String v) { - for (MemberTypeEnum b : MemberTypeEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(required = true, value = "") - private MemberTypeEnum memberType = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public GroupMember id(String id) { - this.id = id; - return this; - } - - /** - * Get displayName - * @return displayName - **/ - @JsonProperty("displayName") - public String getDisplayName() { - return displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public GroupMember displayName(String displayName) { - this.displayName = displayName; - return this; - } - - /** - * Get memberType - * @return memberType - **/ - @JsonProperty("memberType") - public String getMemberType() { - if (memberType == null) { - return null; - } - return memberType.value(); - } - - public void setMemberType(MemberTypeEnum memberType) { - this.memberType = memberType; - } - - public GroupMember memberType(MemberTypeEnum memberType) { - this.memberType = memberType; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupMember {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); - sb.append(" memberType: ").append(toIndentedString(memberType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberEntry.java deleted file mode 100644 index 198bc7a..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GroupMemberEntry { - - @ApiModelProperty(required = true, value = "") - private GroupMember entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public GroupMember getEntry() { - return entry; - } - - public void setEntry(GroupMember entry) { - this.entry = entry; - } - - public GroupMemberEntry entry(GroupMember entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupMemberEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPaging.java deleted file mode 100644 index 5630d35..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GroupMemberPaging { - - @ApiModelProperty(value = "") - private GroupMemberPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public GroupMemberPagingList getList() { - return _list; - } - - public void setList(GroupMemberPagingList _list) { - this._list = _list; - } - - public GroupMemberPaging _list(GroupMemberPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupMemberPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPagingList.java deleted file mode 100644 index b876e8c..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPagingList.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GroupMemberPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public GroupMemberPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public GroupMemberPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public GroupMemberPagingList addEntriesItem(GroupMemberEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupMemberPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMembershipBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMembershipBodyCreate.java deleted file mode 100644 index 8b19a9d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMembershipBodyCreate.java +++ /dev/null @@ -1,112 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GroupMembershipBodyCreate { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - -@XmlType(name="MemberTypeEnum") -@XmlEnum(String.class) -public enum MemberTypeEnum { - -@XmlEnumValue("GROUP") GROUP(String.valueOf("GROUP")), @XmlEnumValue("PERSON") PERSON(String.valueOf("PERSON")); - - - private String value; - - MemberTypeEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static MemberTypeEnum fromValue(String v) { - for (MemberTypeEnum b : MemberTypeEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(required = true, value = "") - private MemberTypeEnum memberType = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public GroupMembershipBodyCreate id(String id) { - this.id = id; - return this; - } - - /** - * Get memberType - * @return memberType - **/ - @JsonProperty("memberType") - public String getMemberType() { - if (memberType == null) { - return null; - } - return memberType.value(); - } - - public void setMemberType(MemberTypeEnum memberType) { - this.memberType = memberType; - } - - public GroupMembershipBodyCreate memberType(MemberTypeEnum memberType) { - this.memberType = memberType; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupMembershipBodyCreate {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" memberType: ").append(toIndentedString(memberType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPaging.java deleted file mode 100644 index 94ebb78..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GroupPaging { - - @ApiModelProperty(value = "") - private GroupPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public GroupPagingList getList() { - return _list; - } - - public void setList(GroupPagingList _list) { - this._list = _list; - } - - public GroupPaging _list(GroupPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPagingList.java deleted file mode 100644 index 4670dfa..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPagingList.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class GroupPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public GroupPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public GroupPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public GroupPagingList addEntriesItem(GroupEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/LicenseInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/LicenseInfo.java deleted file mode 100644 index 4f4d138..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/LicenseInfo.java +++ /dev/null @@ -1,162 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class LicenseInfo { - - @ApiModelProperty(required = true, value = "") - private Date issuedAt = null; - - @ApiModelProperty(required = true, value = "") - private Date expiresAt = null; - - @ApiModelProperty(required = true, value = "") - private Integer remainingDays = null; - - @ApiModelProperty(required = true, value = "") - private String holder = null; - - @ApiModelProperty(required = true, value = "") - private String mode = null; - - @ApiModelProperty(value = "") - private EntitlementsInfo entitlements = null; - /** - * Get issuedAt - * @return issuedAt - **/ - @JsonProperty("issuedAt") - public Date getIssuedAt() { - return issuedAt; - } - - public void setIssuedAt(Date issuedAt) { - this.issuedAt = issuedAt; - } - - public LicenseInfo issuedAt(Date issuedAt) { - this.issuedAt = issuedAt; - return this; - } - - /** - * Get expiresAt - * @return expiresAt - **/ - @JsonProperty("expiresAt") - public Date getExpiresAt() { - return expiresAt; - } - - public void setExpiresAt(Date expiresAt) { - this.expiresAt = expiresAt; - } - - public LicenseInfo expiresAt(Date expiresAt) { - this.expiresAt = expiresAt; - return this; - } - - /** - * Get remainingDays - * @return remainingDays - **/ - @JsonProperty("remainingDays") - public Integer getRemainingDays() { - return remainingDays; - } - - public void setRemainingDays(Integer remainingDays) { - this.remainingDays = remainingDays; - } - - public LicenseInfo remainingDays(Integer remainingDays) { - this.remainingDays = remainingDays; - return this; - } - - /** - * Get holder - * @return holder - **/ - @JsonProperty("holder") - public String getHolder() { - return holder; - } - - public void setHolder(String holder) { - this.holder = holder; - } - - public LicenseInfo holder(String holder) { - this.holder = holder; - return this; - } - - /** - * Get mode - * @return mode - **/ - @JsonProperty("mode") - public String getMode() { - return mode; - } - - public void setMode(String mode) { - this.mode = mode; - } - - public LicenseInfo mode(String mode) { - this.mode = mode; - return this; - } - - /** - * Get entitlements - * @return entitlements - **/ - @JsonProperty("entitlements") - public EntitlementsInfo getEntitlements() { - return entitlements; - } - - public void setEntitlements(EntitlementsInfo entitlements) { - this.entitlements = entitlements; - } - - public LicenseInfo entitlements(EntitlementsInfo entitlements) { - this.entitlements = entitlements; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LicenseInfo {\n"); - - sb.append(" issuedAt: ").append(toIndentedString(issuedAt)).append("\n"); - sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); - sb.append(" remainingDays: ").append(toIndentedString(remainingDays)).append("\n"); - sb.append(" holder: ").append(toIndentedString(holder)).append("\n"); - sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); - sb.append(" entitlements: ").append(toIndentedString(entitlements)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Model.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Model.java deleted file mode 100644 index e161fae..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Model.java +++ /dev/null @@ -1,139 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Model { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(value = "") - private String author = null; - - @ApiModelProperty(value = "") - private String description = null; - - @ApiModelProperty(value = "") - private String namespaceUri = null; - - @ApiModelProperty(value = "") - private String namespacePrefix = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Model id(String id) { - this.id = id; - return this; - } - - /** - * Get author - * @return author - **/ - @JsonProperty("author") - public String getAuthor() { - return author; - } - - public void setAuthor(String author) { - this.author = author; - } - - public Model author(String author) { - this.author = author; - return this; - } - - /** - * Get description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Model description(String description) { - this.description = description; - return this; - } - - /** - * Get namespaceUri - * @return namespaceUri - **/ - @JsonProperty("namespaceUri") - public String getNamespaceUri() { - return namespaceUri; - } - - public void setNamespaceUri(String namespaceUri) { - this.namespaceUri = namespaceUri; - } - - public Model namespaceUri(String namespaceUri) { - this.namespaceUri = namespaceUri; - return this; - } - - /** - * Get namespacePrefix - * @return namespacePrefix - **/ - @JsonProperty("namespacePrefix") - public String getNamespacePrefix() { - return namespacePrefix; - } - - public void setNamespacePrefix(String namespacePrefix) { - this.namespacePrefix = namespacePrefix; - } - - public Model namespacePrefix(String namespacePrefix) { - this.namespacePrefix = namespacePrefix; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Model {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" author: ").append(toIndentedString(author)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" namespaceUri: ").append(toIndentedString(namespaceUri)).append("\n"); - sb.append(" namespacePrefix: ").append(toIndentedString(namespacePrefix)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ModuleInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ModuleInfo.java deleted file mode 100644 index 49377dd..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ModuleInfo.java +++ /dev/null @@ -1,206 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ModuleInfo { - - @ApiModelProperty(value = "") - private String id = null; - - @ApiModelProperty(value = "") - private String title = null; - - @ApiModelProperty(value = "") - private String description = null; - - @ApiModelProperty(value = "") - private String version = null; - - @ApiModelProperty(value = "") - private Date installDate = null; - - @ApiModelProperty(value = "") - private String installState = null; - - @ApiModelProperty(value = "") - private String versionMin = null; - - @ApiModelProperty(value = "") - private String versionMax = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public ModuleInfo id(String id) { - this.id = id; - return this; - } - - /** - * Get title - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public ModuleInfo title(String title) { - this.title = title; - return this; - } - - /** - * Get description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public ModuleInfo description(String description) { - this.description = description; - return this; - } - - /** - * Get version - * @return version - **/ - @JsonProperty("version") - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } - - public ModuleInfo version(String version) { - this.version = version; - return this; - } - - /** - * Get installDate - * @return installDate - **/ - @JsonProperty("installDate") - public Date getInstallDate() { - return installDate; - } - - public void setInstallDate(Date installDate) { - this.installDate = installDate; - } - - public ModuleInfo installDate(Date installDate) { - this.installDate = installDate; - return this; - } - - /** - * Get installState - * @return installState - **/ - @JsonProperty("installState") - public String getInstallState() { - return installState; - } - - public void setInstallState(String installState) { - this.installState = installState; - } - - public ModuleInfo installState(String installState) { - this.installState = installState; - return this; - } - - /** - * Get versionMin - * @return versionMin - **/ - @JsonProperty("versionMin") - public String getVersionMin() { - return versionMin; - } - - public void setVersionMin(String versionMin) { - this.versionMin = versionMin; - } - - public ModuleInfo versionMin(String versionMin) { - this.versionMin = versionMin; - return this; - } - - /** - * Get versionMax - * @return versionMax - **/ - @JsonProperty("versionMax") - public String getVersionMax() { - return versionMax; - } - - public void setVersionMax(String versionMax) { - this.versionMax = versionMax; - } - - public ModuleInfo versionMax(String versionMax) { - this.versionMax = versionMax; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ModuleInfo {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" version: ").append(toIndentedString(version)).append("\n"); - sb.append(" installDate: ").append(toIndentedString(installDate)).append("\n"); - sb.append(" installState: ").append(toIndentedString(installState)).append("\n"); - sb.append(" versionMin: ").append(toIndentedString(versionMin)).append("\n"); - sb.append(" versionMax: ").append(toIndentedString(versionMax)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NetworkQuota.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NetworkQuota.java deleted file mode 100644 index c3d21fa..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NetworkQuota.java +++ /dev/null @@ -1,99 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * Limits and usage of each quota. A network will have quotas for File space, the number of sites in the network, the number of people in the network, and the number of network administrators - **/ -@ApiModel(description="Limits and usage of each quota. A network will have quotas for File space, the number of sites in the network, the number of people in the network, and the number of network administrators ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NetworkQuota { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private Long limit = null; - - @ApiModelProperty(required = true, value = "") - private Long usage = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public NetworkQuota id(String id) { - this.id = id; - return this; - } - - /** - * Get limit - * @return limit - **/ - @JsonProperty("limit") - public Long getLimit() { - return limit; - } - - public void setLimit(Long limit) { - this.limit = limit; - } - - public NetworkQuota limit(Long limit) { - this.limit = limit; - return this; - } - - /** - * Get usage - * @return usage - **/ - @JsonProperty("usage") - public Long getUsage() { - return usage; - } - - public void setUsage(Long usage) { - this.usage = usage; - } - - public NetworkQuota usage(Long usage) { - this.usage = usage; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NetworkQuota {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - sb.append(" usage: ").append(toIndentedString(usage)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Node.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Node.java deleted file mode 100644 index ae6e357..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Node.java +++ /dev/null @@ -1,418 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Node { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. ") - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - **/ - private String name = null; - - @ApiModelProperty(required = true, value = "") - private String nodeType = null; - - @ApiModelProperty(required = true, value = "") - private Boolean isFolder = null; - - @ApiModelProperty(required = true, value = "") - private Boolean isFile = null; - - @ApiModelProperty(value = "") - private Boolean isLocked = false; - - @ApiModelProperty(required = true, value = "") - private Date modifiedAt = null; - - @ApiModelProperty(required = true, value = "") - private UserInfo modifiedByUser = null; - - @ApiModelProperty(required = true, value = "") - private Date createdAt = null; - - @ApiModelProperty(required = true, value = "") - private UserInfo createdByUser = null; - - @ApiModelProperty(value = "") - private String parentId = null; - - @ApiModelProperty(value = "") - private Boolean isLink = null; - - @ApiModelProperty(value = "") - private ContentInfo content = null; - - @ApiModelProperty(value = "") - private List aspectNames = null; - - @ApiModelProperty(value = "") - private Object properties = null; - - @ApiModelProperty(value = "") - private List allowableOperations = null; - - @ApiModelProperty(value = "") - private PathInfo path = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Node id(String id) { - this.id = id; - return this; - } - - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Node name(String name) { - this.name = name; - return this; - } - - /** - * Get nodeType - * @return nodeType - **/ - @JsonProperty("nodeType") - public String getNodeType() { - return nodeType; - } - - public void setNodeType(String nodeType) { - this.nodeType = nodeType; - } - - public Node nodeType(String nodeType) { - this.nodeType = nodeType; - return this; - } - - /** - * Get isFolder - * @return isFolder - **/ - @JsonProperty("isFolder") - public Boolean isIsFolder() { - return isFolder; - } - - public void setIsFolder(Boolean isFolder) { - this.isFolder = isFolder; - } - - public Node isFolder(Boolean isFolder) { - this.isFolder = isFolder; - return this; - } - - /** - * Get isFile - * @return isFile - **/ - @JsonProperty("isFile") - public Boolean isIsFile() { - return isFile; - } - - public void setIsFile(Boolean isFile) { - this.isFile = isFile; - } - - public Node isFile(Boolean isFile) { - this.isFile = isFile; - return this; - } - - /** - * Get isLocked - * @return isLocked - **/ - @JsonProperty("isLocked") - public Boolean isIsLocked() { - return isLocked; - } - - public void setIsLocked(Boolean isLocked) { - this.isLocked = isLocked; - } - - public Node isLocked(Boolean isLocked) { - this.isLocked = isLocked; - return this; - } - - /** - * Get modifiedAt - * @return modifiedAt - **/ - @JsonProperty("modifiedAt") - public Date getModifiedAt() { - return modifiedAt; - } - - public void setModifiedAt(Date modifiedAt) { - this.modifiedAt = modifiedAt; - } - - public Node modifiedAt(Date modifiedAt) { - this.modifiedAt = modifiedAt; - return this; - } - - /** - * Get modifiedByUser - * @return modifiedByUser - **/ - @JsonProperty("modifiedByUser") - public UserInfo getModifiedByUser() { - return modifiedByUser; - } - - public void setModifiedByUser(UserInfo modifiedByUser) { - this.modifiedByUser = modifiedByUser; - } - - public Node modifiedByUser(UserInfo modifiedByUser) { - this.modifiedByUser = modifiedByUser; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @JsonProperty("createdAt") - public Date getCreatedAt() { - return createdAt; - } - - public void setCreatedAt(Date createdAt) { - this.createdAt = createdAt; - } - - public Node createdAt(Date createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdByUser - * @return createdByUser - **/ - @JsonProperty("createdByUser") - public UserInfo getCreatedByUser() { - return createdByUser; - } - - public void setCreatedByUser(UserInfo createdByUser) { - this.createdByUser = createdByUser; - } - - public Node createdByUser(UserInfo createdByUser) { - this.createdByUser = createdByUser; - return this; - } - - /** - * Get parentId - * @return parentId - **/ - @JsonProperty("parentId") - public String getParentId() { - return parentId; - } - - public void setParentId(String parentId) { - this.parentId = parentId; - } - - public Node parentId(String parentId) { - this.parentId = parentId; - return this; - } - - /** - * Get isLink - * @return isLink - **/ - @JsonProperty("isLink") - public Boolean isIsLink() { - return isLink; - } - - public void setIsLink(Boolean isLink) { - this.isLink = isLink; - } - - public Node isLink(Boolean isLink) { - this.isLink = isLink; - return this; - } - - /** - * Get content - * @return content - **/ - @JsonProperty("content") - public ContentInfo getContent() { - return content; - } - - public void setContent(ContentInfo content) { - this.content = content; - } - - public Node content(ContentInfo content) { - this.content = content; - return this; - } - - /** - * Get aspectNames - * @return aspectNames - **/ - @JsonProperty("aspectNames") - public List getAspectNames() { - return aspectNames; - } - - public void setAspectNames(List aspectNames) { - this.aspectNames = aspectNames; - } - - public Node aspectNames(List aspectNames) { - this.aspectNames = aspectNames; - return this; - } - - public Node addAspectNamesItem(String aspectNamesItem) { - this.aspectNames.add(aspectNamesItem); - return this; - } - - /** - * Get properties - * @return properties - **/ - @JsonProperty("properties") - public Object getProperties() { - return properties; - } - - public void setProperties(Object properties) { - this.properties = properties; - } - - public Node properties(Object properties) { - this.properties = properties; - return this; - } - - /** - * Get allowableOperations - * @return allowableOperations - **/ - @JsonProperty("allowableOperations") - public List getAllowableOperations() { - return allowableOperations; - } - - public void setAllowableOperations(List allowableOperations) { - this.allowableOperations = allowableOperations; - } - - public Node allowableOperations(List allowableOperations) { - this.allowableOperations = allowableOperations; - return this; - } - - public Node addAllowableOperationsItem(String allowableOperationsItem) { - this.allowableOperations.add(allowableOperationsItem); - return this; - } - - /** - * Get path - * @return path - **/ - @JsonProperty("path") - public PathInfo getPath() { - return path; - } - - public void setPath(PathInfo path) { - this.path = path; - } - - public Node path(PathInfo path) { - this.path = path; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Node {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); - sb.append(" isFolder: ").append(toIndentedString(isFolder)).append("\n"); - sb.append(" isFile: ").append(toIndentedString(isFile)).append("\n"); - sb.append(" isLocked: ").append(toIndentedString(isLocked)).append("\n"); - sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); - sb.append(" modifiedByUser: ").append(toIndentedString(modifiedByUser)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" createdByUser: ").append(toIndentedString(createdByUser)).append("\n"); - sb.append(" parentId: ").append(toIndentedString(parentId)).append("\n"); - sb.append(" isLink: ").append(toIndentedString(isLink)).append("\n"); - sb.append(" content: ").append(toIndentedString(content)).append("\n"); - sb.append(" aspectNames: ").append(toIndentedString(aspectNames)).append("\n"); - sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); - sb.append(" allowableOperations: ").append(toIndentedString(allowableOperations)).append("\n"); - sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociation.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociation.java deleted file mode 100644 index 85df908..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociation.java +++ /dev/null @@ -1,50 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -public class NodeAssociation extends Node { - - @ApiModelProperty(value = "") - private AssociationInfo association = null; - /** - * Get association - * @return association - **/ - @JsonProperty("association") - public AssociationInfo getAssociation() { - return association; - } - - public void setAssociation(AssociationInfo association) { - this.association = association; - } - - public NodeAssociation association(AssociationInfo association) { - this.association = association; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeAssociation {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append(" association: ").append(toIndentedString(association)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationEntry.java deleted file mode 100644 index 5119aff..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeAssociationEntry { - - @ApiModelProperty(required = true, value = "") - private NodeAssociation entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public NodeAssociation getEntry() { - return entry; - } - - public void setEntry(NodeAssociation entry) { - this.entry = entry; - } - - public NodeAssociationEntry entry(NodeAssociation entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeAssociationEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPaging.java deleted file mode 100644 index 069efcf..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeAssociationPaging { - - @ApiModelProperty(value = "") - private NodeAssociationPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public NodeAssociationPagingList getList() { - return _list; - } - - public void setList(NodeAssociationPagingList _list) { - this._list = _list; - } - - public NodeAssociationPaging _list(NodeAssociationPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeAssociationPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPagingList.java deleted file mode 100644 index 276344d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPagingList.java +++ /dev/null @@ -1,101 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeAssociationPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - - @ApiModelProperty(value = "") - private Node source = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public NodeAssociationPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public NodeAssociationPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public NodeAssociationPagingList addEntriesItem(NodeAssociationEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - /** - * Get source - * @return source - **/ - @JsonProperty("source") - public Node getSource() { - return source; - } - - public void setSource(Node source) { - this.source = source; - } - - public NodeAssociationPagingList source(Node source) { - this.source = source; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeAssociationPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCopy.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCopy.java deleted file mode 100644 index d747b6b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCopy.java +++ /dev/null @@ -1,76 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeBodyCopy { - - @ApiModelProperty(required = true, value = "") - private String targetParentId = null; - - @ApiModelProperty(value = "The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. ") - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - **/ - private String name = null; - /** - * Get targetParentId - * @return targetParentId - **/ - @JsonProperty("targetParentId") - public String getTargetParentId() { - return targetParentId; - } - - public void setTargetParentId(String targetParentId) { - this.targetParentId = targetParentId; - } - - public NodeBodyCopy targetParentId(String targetParentId) { - this.targetParentId = targetParentId; - return this; - } - - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public NodeBodyCopy name(String name) { - this.name = name; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeBodyCopy {\n"); - - sb.append(" targetParentId: ").append(toIndentedString(targetParentId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreate.java deleted file mode 100644 index 3db68fd..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreate.java +++ /dev/null @@ -1,268 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeBodyCreate { - - @ApiModelProperty(required = true, value = "The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. ") - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - **/ - private String name = null; - - @ApiModelProperty(required = true, value = "") - private String nodeType = null; - - @ApiModelProperty(value = "") - private List aspectNames = null; - - @ApiModelProperty(value = "") - private Object properties = null; - - @ApiModelProperty(value = "") - private PermissionsBody permissions = null; - - @ApiModelProperty(value = "") - private Definition definition = null; - - @ApiModelProperty(value = "") - private String relativePath = null; - - @ApiModelProperty(value = "") - private NodeBodyCreateAssociation association = null; - - @ApiModelProperty(value = "") - private List secondaryChildren = null; - - @ApiModelProperty(value = "") - private List targets = null; - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public NodeBodyCreate name(String name) { - this.name = name; - return this; - } - - /** - * Get nodeType - * @return nodeType - **/ - @JsonProperty("nodeType") - public String getNodeType() { - return nodeType; - } - - public void setNodeType(String nodeType) { - this.nodeType = nodeType; - } - - public NodeBodyCreate nodeType(String nodeType) { - this.nodeType = nodeType; - return this; - } - - /** - * Get aspectNames - * @return aspectNames - **/ - @JsonProperty("aspectNames") - public List getAspectNames() { - return aspectNames; - } - - public void setAspectNames(List aspectNames) { - this.aspectNames = aspectNames; - } - - public NodeBodyCreate aspectNames(List aspectNames) { - this.aspectNames = aspectNames; - return this; - } - - public NodeBodyCreate addAspectNamesItem(String aspectNamesItem) { - this.aspectNames.add(aspectNamesItem); - return this; - } - - /** - * Get properties - * @return properties - **/ - @JsonProperty("properties") - public Object getProperties() { - return properties; - } - - public void setProperties(Object properties) { - this.properties = properties; - } - - public NodeBodyCreate properties(Object properties) { - this.properties = properties; - return this; - } - - /** - * Get permissions - * @return permissions - **/ - @JsonProperty("permissions") - public PermissionsBody getPermissions() { - return permissions; - } - - public void setPermissions(PermissionsBody permissions) { - this.permissions = permissions; - } - - public NodeBodyCreate permissions(PermissionsBody permissions) { - this.permissions = permissions; - return this; - } - - /** - * Get definition - * @return definition - **/ - @JsonProperty("definition") - public Definition getDefinition() { - return definition; - } - - public void setDefinition(Definition definition) { - this.definition = definition; - } - - public NodeBodyCreate definition(Definition definition) { - this.definition = definition; - return this; - } - - /** - * Get relativePath - * @return relativePath - **/ - @JsonProperty("relativePath") - public String getRelativePath() { - return relativePath; - } - - public void setRelativePath(String relativePath) { - this.relativePath = relativePath; - } - - public NodeBodyCreate relativePath(String relativePath) { - this.relativePath = relativePath; - return this; - } - - /** - * Get association - * @return association - **/ - @JsonProperty("association") - public NodeBodyCreateAssociation getAssociation() { - return association; - } - - public void setAssociation(NodeBodyCreateAssociation association) { - this.association = association; - } - - public NodeBodyCreate association(NodeBodyCreateAssociation association) { - this.association = association; - return this; - } - - /** - * Get secondaryChildren - * @return secondaryChildren - **/ - @JsonProperty("secondaryChildren") - public List getSecondaryChildren() { - return secondaryChildren; - } - - public void setSecondaryChildren(List secondaryChildren) { - this.secondaryChildren = secondaryChildren; - } - - public NodeBodyCreate secondaryChildren(List secondaryChildren) { - this.secondaryChildren = secondaryChildren; - return this; - } - - public NodeBodyCreate addSecondaryChildrenItem(ChildAssociationBody secondaryChildrenItem) { - this.secondaryChildren.add(secondaryChildrenItem); - return this; - } - - /** - * Get targets - * @return targets - **/ - @JsonProperty("targets") - public List getTargets() { - return targets; - } - - public void setTargets(List targets) { - this.targets = targets; - } - - public NodeBodyCreate targets(List targets) { - this.targets = targets; - return this; - } - - public NodeBodyCreate addTargetsItem(AssociationBody targetsItem) { - this.targets.add(targetsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeBodyCreate {\n"); - - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); - sb.append(" aspectNames: ").append(toIndentedString(aspectNames)).append("\n"); - sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); - sb.append(" permissions: ").append(toIndentedString(permissions)).append("\n"); - sb.append(" definition: ").append(toIndentedString(definition)).append("\n"); - sb.append(" relativePath: ").append(toIndentedString(relativePath)).append("\n"); - sb.append(" association: ").append(toIndentedString(association)).append("\n"); - sb.append(" secondaryChildren: ").append(toIndentedString(secondaryChildren)).append("\n"); - sb.append(" targets: ").append(toIndentedString(targets)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateAssociation.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateAssociation.java deleted file mode 100644 index d693e1b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateAssociation.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeBodyCreateAssociation { - - @ApiModelProperty(value = "") - private String assocType = null; - /** - * Get assocType - * @return assocType - **/ - @JsonProperty("assocType") - public String getAssocType() { - return assocType; - } - - public void setAssocType(String assocType) { - this.assocType = assocType; - } - - public NodeBodyCreateAssociation assocType(String assocType) { - this.assocType = assocType; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeBodyCreateAssociation {\n"); - - sb.append(" assocType: ").append(toIndentedString(assocType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyLock.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyLock.java deleted file mode 100644 index 129496b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyLock.java +++ /dev/null @@ -1,171 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeBodyLock { - - @ApiModelProperty(value = "") - private Integer timeToExpire = null; - - -@XmlType(name="TypeEnum") -@XmlEnum(String.class) -public enum TypeEnum { - -@XmlEnumValue("ALLOW_OWNER_CHANGES") ALLOW_OWNER_CHANGES(String.valueOf("ALLOW_OWNER_CHANGES")), @XmlEnumValue("FULL") FULL(String.valueOf("FULL")); - - - private String value; - - TypeEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static TypeEnum fromValue(String v) { - for (TypeEnum b : TypeEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "") - private TypeEnum type = TypeEnum.ALLOW_OWNER_CHANGES; - - -@XmlType(name="LifetimeEnum") -@XmlEnum(String.class) -public enum LifetimeEnum { - -@XmlEnumValue("PERSISTENT") PERSISTENT(String.valueOf("PERSISTENT")), @XmlEnumValue("EPHEMERAL") EPHEMERAL(String.valueOf("EPHEMERAL")); - - - private String value; - - LifetimeEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static LifetimeEnum fromValue(String v) { - for (LifetimeEnum b : LifetimeEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "") - private LifetimeEnum lifetime = LifetimeEnum.PERSISTENT; - /** - * Get timeToExpire - * minimum: 0 - * @return timeToExpire - **/ - @JsonProperty("timeToExpire") - public Integer getTimeToExpire() { - return timeToExpire; - } - - public void setTimeToExpire(Integer timeToExpire) { - this.timeToExpire = timeToExpire; - } - - public NodeBodyLock timeToExpire(Integer timeToExpire) { - this.timeToExpire = timeToExpire; - return this; - } - - /** - * Get type - * @return type - **/ - @JsonProperty("type") - public String getType() { - if (type == null) { - return null; - } - return type.value(); - } - - public void setType(TypeEnum type) { - this.type = type; - } - - public NodeBodyLock type(TypeEnum type) { - this.type = type; - return this; - } - - /** - * Get lifetime - * @return lifetime - **/ - @JsonProperty("lifetime") - public String getLifetime() { - if (lifetime == null) { - return null; - } - return lifetime.value(); - } - - public void setLifetime(LifetimeEnum lifetime) { - this.lifetime = lifetime; - } - - public NodeBodyLock lifetime(LifetimeEnum lifetime) { - this.lifetime = lifetime; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeBodyLock {\n"); - - sb.append(" timeToExpire: ").append(toIndentedString(timeToExpire)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" lifetime: ").append(toIndentedString(lifetime)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyMove.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyMove.java deleted file mode 100644 index 444901a..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyMove.java +++ /dev/null @@ -1,76 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeBodyMove { - - @ApiModelProperty(required = true, value = "") - private String targetParentId = null; - - @ApiModelProperty(value = "The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. ") - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - **/ - private String name = null; - /** - * Get targetParentId - * @return targetParentId - **/ - @JsonProperty("targetParentId") - public String getTargetParentId() { - return targetParentId; - } - - public void setTargetParentId(String targetParentId) { - this.targetParentId = targetParentId; - } - - public NodeBodyMove targetParentId(String targetParentId) { - this.targetParentId = targetParentId; - return this; - } - - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public NodeBodyMove name(String name) { - this.name = name; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeBodyMove {\n"); - - sb.append(" targetParentId: ").append(toIndentedString(targetParentId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyUpdate.java deleted file mode 100644 index 46a873f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyUpdate.java +++ /dev/null @@ -1,154 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; -import java.util.Map; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeBodyUpdate { - - @ApiModelProperty(value = "The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. ") - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - **/ - private String name = null; - - @ApiModelProperty(value = "") - private String nodeType = null; - - @ApiModelProperty(value = "") - private List aspectNames = null; - - @ApiModelProperty(value = "") - private Map properties = null; - - @ApiModelProperty(value = "") - private PermissionsBody permissions = null; - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public NodeBodyUpdate name(String name) { - this.name = name; - return this; - } - - /** - * Get nodeType - * @return nodeType - **/ - @JsonProperty("nodeType") - public String getNodeType() { - return nodeType; - } - - public void setNodeType(String nodeType) { - this.nodeType = nodeType; - } - - public NodeBodyUpdate nodeType(String nodeType) { - this.nodeType = nodeType; - return this; - } - - /** - * Get aspectNames - * @return aspectNames - **/ - @JsonProperty("aspectNames") - public List getAspectNames() { - return aspectNames; - } - - public void setAspectNames(List aspectNames) { - this.aspectNames = aspectNames; - } - - public NodeBodyUpdate aspectNames(List aspectNames) { - this.aspectNames = aspectNames; - return this; - } - - public NodeBodyUpdate addAspectNamesItem(String aspectNamesItem) { - this.aspectNames.add(aspectNamesItem); - return this; - } - - /** - * Get properties - * @return properties - **/ - @JsonProperty("properties") - public Map getProperties() { - return properties; - } - - public void setProperties(Map properties) { - this.properties = properties; - } - - public NodeBodyUpdate properties(Map properties) { - this.properties = properties; - return this; - } - - public NodeBodyUpdate putPropertiesItem(String key, String propertiesItem) { - this.properties.put(key, propertiesItem); - return this; - } - - /** - * Get permissions - * @return permissions - **/ - @JsonProperty("permissions") - public PermissionsBody getPermissions() { - return permissions; - } - - public void setPermissions(PermissionsBody permissions) { - this.permissions = permissions; - } - - public NodeBodyUpdate permissions(PermissionsBody permissions) { - this.permissions = permissions; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeBodyUpdate {\n"); - - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); - sb.append(" aspectNames: ").append(toIndentedString(aspectNames)).append("\n"); - sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); - sb.append(" permissions: ").append(toIndentedString(permissions)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociation.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociation.java deleted file mode 100644 index ba6b31d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociation.java +++ /dev/null @@ -1,50 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -public class NodeChildAssociation extends Node { - - @ApiModelProperty(value = "") - private ChildAssociationInfo association = null; - /** - * Get association - * @return association - **/ - @JsonProperty("association") - public ChildAssociationInfo getAssociation() { - return association; - } - - public void setAssociation(ChildAssociationInfo association) { - this.association = association; - } - - public NodeChildAssociation association(ChildAssociationInfo association) { - this.association = association; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeChildAssociation {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append(" association: ").append(toIndentedString(association)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationEntry.java deleted file mode 100644 index ebd19d5..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeChildAssociationEntry { - - @ApiModelProperty(required = true, value = "") - private NodeChildAssociation entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public NodeChildAssociation getEntry() { - return entry; - } - - public void setEntry(NodeChildAssociation entry) { - this.entry = entry; - } - - public NodeChildAssociationEntry entry(NodeChildAssociation entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeChildAssociationEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPaging.java deleted file mode 100644 index 2aa3867..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeChildAssociationPaging { - - @ApiModelProperty(value = "") - private NodeChildAssociationPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public NodeChildAssociationPagingList getList() { - return _list; - } - - public void setList(NodeChildAssociationPagingList _list) { - this._list = _list; - } - - public NodeChildAssociationPaging _list(NodeChildAssociationPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeChildAssociationPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPagingList.java deleted file mode 100644 index b15892a..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPagingList.java +++ /dev/null @@ -1,101 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeChildAssociationPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - - @ApiModelProperty(value = "") - private Node source = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public NodeChildAssociationPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public NodeChildAssociationPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public NodeChildAssociationPagingList addEntriesItem(NodeChildAssociationEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - /** - * Get source - * @return source - **/ - @JsonProperty("source") - public Node getSource() { - return source; - } - - public void setSource(Node source) { - this.source = source; - } - - public NodeChildAssociationPagingList source(Node source) { - this.source = source; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeChildAssociationPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeEntry.java deleted file mode 100644 index c8f5b04..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodeEntry { - - @ApiModelProperty(required = true, value = "") - private Node entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Node getEntry() { - return entry; - } - - public void setEntry(Node entry) { - this.entry = entry; - } - - public NodeEntry entry(Node entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodeEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodePaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodePaging.java deleted file mode 100644 index dd53185..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodePaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodePaging { - - @ApiModelProperty(value = "") - private NodePagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public NodePagingList getList() { - return _list; - } - - public void setList(NodePagingList _list) { - this._list = _list; - } - - public NodePaging _list(NodePagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodePaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodePagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodePagingList.java deleted file mode 100644 index 1f15094..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodePagingList.java +++ /dev/null @@ -1,101 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class NodePagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - - @ApiModelProperty(value = "") - private Node source = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public NodePagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public NodePagingList entries(List entries) { - this.entries = entries; - return this; - } - - public NodePagingList addEntriesItem(NodeEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - /** - * Get source - * @return source - **/ - @JsonProperty("source") - public Node getSource() { - return source; - } - - public void setSource(Node source) { - this.source = source; - } - - public NodePagingList source(Node source) { - this.source = source; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NodePagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Pagination.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Pagination.java deleted file mode 100644 index fe9147d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Pagination.java +++ /dev/null @@ -1,154 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Pagination { - - @ApiModelProperty(value = "The number of objects in the entries array. ") - /** - * The number of objects in the entries array. - **/ - private Long count = null; - - @ApiModelProperty(value = "A boolean value which is **true** if there are more entities in the collection beyond those in this response. A true value means a request with a larger value for the **skipCount** or the **maxItems** parameter will return more entities. ") - /** - * A boolean value which is **true** if there are more entities in the collection beyond those in this response. A true value means a request with a larger value for the **skipCount** or the **maxItems** parameter will return more entities. - **/ - private Boolean hasMoreItems = null; - - @ApiModelProperty(value = "An integer describing the total number of entities in the collection. The API might not be able to determine this value, in which case this property will not be present. ") - /** - * An integer describing the total number of entities in the collection. The API might not be able to determine this value, in which case this property will not be present. - **/ - private Long totalItems = null; - - @ApiModelProperty(value = "An integer describing how many entities exist in the collection before those included in this list. If there was no **skipCount** parameter then the default value is 0. ") - /** - * An integer describing how many entities exist in the collection before those included in this list. If there was no **skipCount** parameter then the default value is 0. - **/ - private Long skipCount = null; - - @ApiModelProperty(value = "The value of the **maxItems** parameter used to generate this list. If there was no **maxItems** parameter then the default value is 100. ") - /** - * The value of the **maxItems** parameter used to generate this list. If there was no **maxItems** parameter then the default value is 100. - **/ - private Long maxItems = null; - /** - * The number of objects in the entries array. - * @return count - **/ - @JsonProperty("count") - public Long getCount() { - return count; - } - - public void setCount(Long count) { - this.count = count; - } - - public Pagination count(Long count) { - this.count = count; - return this; - } - - /** - * A boolean value which is **true** if there are more entities in the collection beyond those in this response. A true value means a request with a larger value for the **skipCount** or the **maxItems** parameter will return more entities. - * @return hasMoreItems - **/ - @JsonProperty("hasMoreItems") - public Boolean isHasMoreItems() { - return hasMoreItems; - } - - public void setHasMoreItems(Boolean hasMoreItems) { - this.hasMoreItems = hasMoreItems; - } - - public Pagination hasMoreItems(Boolean hasMoreItems) { - this.hasMoreItems = hasMoreItems; - return this; - } - - /** - * An integer describing the total number of entities in the collection. The API might not be able to determine this value, in which case this property will not be present. - * @return totalItems - **/ - @JsonProperty("totalItems") - public Long getTotalItems() { - return totalItems; - } - - public void setTotalItems(Long totalItems) { - this.totalItems = totalItems; - } - - public Pagination totalItems(Long totalItems) { - this.totalItems = totalItems; - return this; - } - - /** - * An integer describing how many entities exist in the collection before those included in this list. If there was no **skipCount** parameter then the default value is 0. - * @return skipCount - **/ - @JsonProperty("skipCount") - public Long getSkipCount() { - return skipCount; - } - - public void setSkipCount(Long skipCount) { - this.skipCount = skipCount; - } - - public Pagination skipCount(Long skipCount) { - this.skipCount = skipCount; - return this; - } - - /** - * The value of the **maxItems** parameter used to generate this list. If there was no **maxItems** parameter then the default value is 100. - * @return maxItems - **/ - @JsonProperty("maxItems") - public Long getMaxItems() { - return maxItems; - } - - public void setMaxItems(Long maxItems) { - this.maxItems = maxItems; - } - - public Pagination maxItems(Long maxItems) { - this.maxItems = maxItems; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Pagination {\n"); - - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append(" hasMoreItems: ").append(toIndentedString(hasMoreItems)).append("\n"); - sb.append(" totalItems: ").append(toIndentedString(totalItems)).append("\n"); - sb.append(" skipCount: ").append(toIndentedString(skipCount)).append("\n"); - sb.append(" maxItems: ").append(toIndentedString(maxItems)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PasswordResetBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PasswordResetBody.java deleted file mode 100644 index de8c3bd..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PasswordResetBody.java +++ /dev/null @@ -1,104 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PasswordResetBody { - - @ApiModelProperty(required = true, value = "the new password") - /** - * the new password - **/ - private String password = null; - - @ApiModelProperty(required = true, value = "the workflow id provided in the reset password email") - /** - * the workflow id provided in the reset password email - **/ - private String id = null; - - @ApiModelProperty(required = true, value = "the workflow key provided in the reset password email") - /** - * the workflow key provided in the reset password email - **/ - private String key = null; - /** - * the new password - * @return password - **/ - @JsonProperty("password") - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public PasswordResetBody password(String password) { - this.password = password; - return this; - } - - /** - * the workflow id provided in the reset password email - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public PasswordResetBody id(String id) { - this.id = id; - return this; - } - - /** - * the workflow key provided in the reset password email - * @return key - **/ - @JsonProperty("key") - public String getKey() { - return key; - } - - public void setKey(String key) { - this.key = key; - } - - public PasswordResetBody key(String key) { - this.key = key; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PasswordResetBody {\n"); - - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PathElement.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PathElement.java deleted file mode 100644 index e16b9fe..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PathElement.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PathElement { - - @ApiModelProperty(value = "") - private String id = null; - - @ApiModelProperty(value = "") - private String name = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public PathElement id(String id) { - this.id = id; - return this; - } - - /** - * Get name - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public PathElement name(String name) { - this.name = name; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PathElement {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PathInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PathInfo.java deleted file mode 100644 index a3810bb..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PathInfo.java +++ /dev/null @@ -1,101 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PathInfo { - - @ApiModelProperty(value = "") - private List elements = null; - - @ApiModelProperty(value = "") - private String name = null; - - @ApiModelProperty(value = "") - private Boolean isComplete = null; - /** - * Get elements - * @return elements - **/ - @JsonProperty("elements") - public List getElements() { - return elements; - } - - public void setElements(List elements) { - this.elements = elements; - } - - public PathInfo elements(List elements) { - this.elements = elements; - return this; - } - - public PathInfo addElementsItem(PathElement elementsItem) { - this.elements.add(elementsItem); - return this; - } - - /** - * Get name - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public PathInfo name(String name) { - this.name = name; - return this; - } - - /** - * Get isComplete - * @return isComplete - **/ - @JsonProperty("isComplete") - public Boolean isIsComplete() { - return isComplete; - } - - public void setIsComplete(Boolean isComplete) { - this.isComplete = isComplete; - } - - public PathInfo isComplete(Boolean isComplete) { - this.isComplete = isComplete; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PathInfo {\n"); - - sb.append(" elements: ").append(toIndentedString(elements)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" isComplete: ").append(toIndentedString(isComplete)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionElement.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionElement.java deleted file mode 100644 index bf35fc1..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionElement.java +++ /dev/null @@ -1,134 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PermissionElement { - - @ApiModelProperty(value = "") - private String authorityId = null; - - @ApiModelProperty(value = "") - private String name = null; - - -@XmlType(name="AccessStatusEnum") -@XmlEnum(String.class) -public enum AccessStatusEnum { - -@XmlEnumValue("ALLOWED") ALLOWED(String.valueOf("ALLOWED")), @XmlEnumValue("DENIED") DENIED(String.valueOf("DENIED")); - - - private String value; - - AccessStatusEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static AccessStatusEnum fromValue(String v) { - for (AccessStatusEnum b : AccessStatusEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "") - private AccessStatusEnum accessStatus = AccessStatusEnum.ALLOWED; - /** - * Get authorityId - * @return authorityId - **/ - @JsonProperty("authorityId") - public String getAuthorityId() { - return authorityId; - } - - public void setAuthorityId(String authorityId) { - this.authorityId = authorityId; - } - - public PermissionElement authorityId(String authorityId) { - this.authorityId = authorityId; - return this; - } - - /** - * Get name - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public PermissionElement name(String name) { - this.name = name; - return this; - } - - /** - * Get accessStatus - * @return accessStatus - **/ - @JsonProperty("accessStatus") - public String getAccessStatus() { - if (accessStatus == null) { - return null; - } - return accessStatus.value(); - } - - public void setAccessStatus(AccessStatusEnum accessStatus) { - this.accessStatus = accessStatus; - } - - public PermissionElement accessStatus(AccessStatusEnum accessStatus) { - this.accessStatus = accessStatus; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PermissionElement {\n"); - - sb.append(" authorityId: ").append(toIndentedString(authorityId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" accessStatus: ").append(toIndentedString(accessStatus)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsBody.java deleted file mode 100644 index 6caa766..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsBody.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PermissionsBody { - - @ApiModelProperty(value = "") - private Boolean isInheritanceEnabled = null; - - @ApiModelProperty(value = "") - private List locallySet = null; - /** - * Get isInheritanceEnabled - * @return isInheritanceEnabled - **/ - @JsonProperty("isInheritanceEnabled") - public Boolean isIsInheritanceEnabled() { - return isInheritanceEnabled; - } - - public void setIsInheritanceEnabled(Boolean isInheritanceEnabled) { - this.isInheritanceEnabled = isInheritanceEnabled; - } - - public PermissionsBody isInheritanceEnabled(Boolean isInheritanceEnabled) { - this.isInheritanceEnabled = isInheritanceEnabled; - return this; - } - - /** - * Get locallySet - * @return locallySet - **/ - @JsonProperty("locallySet") - public List getLocallySet() { - return locallySet; - } - - public void setLocallySet(List locallySet) { - this.locallySet = locallySet; - } - - public PermissionsBody locallySet(List locallySet) { - this.locallySet = locallySet; - return this; - } - - public PermissionsBody addLocallySetItem(PermissionElement locallySetItem) { - this.locallySet.add(locallySetItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PermissionsBody {\n"); - - sb.append(" isInheritanceEnabled: ").append(toIndentedString(isInheritanceEnabled)).append("\n"); - sb.append(" locallySet: ").append(toIndentedString(locallySet)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsInfo.java deleted file mode 100644 index 1e84882..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsInfo.java +++ /dev/null @@ -1,133 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PermissionsInfo { - - @ApiModelProperty(value = "") - private Boolean isInheritanceEnabled = null; - - @ApiModelProperty(value = "") - private List inherited = null; - - @ApiModelProperty(value = "") - private List locallySet = null; - - @ApiModelProperty(value = "") - private List settable = null; - /** - * Get isInheritanceEnabled - * @return isInheritanceEnabled - **/ - @JsonProperty("isInheritanceEnabled") - public Boolean isIsInheritanceEnabled() { - return isInheritanceEnabled; - } - - public void setIsInheritanceEnabled(Boolean isInheritanceEnabled) { - this.isInheritanceEnabled = isInheritanceEnabled; - } - - public PermissionsInfo isInheritanceEnabled(Boolean isInheritanceEnabled) { - this.isInheritanceEnabled = isInheritanceEnabled; - return this; - } - - /** - * Get inherited - * @return inherited - **/ - @JsonProperty("inherited") - public List getInherited() { - return inherited; - } - - public void setInherited(List inherited) { - this.inherited = inherited; - } - - public PermissionsInfo inherited(List inherited) { - this.inherited = inherited; - return this; - } - - public PermissionsInfo addInheritedItem(PermissionElement inheritedItem) { - this.inherited.add(inheritedItem); - return this; - } - - /** - * Get locallySet - * @return locallySet - **/ - @JsonProperty("locallySet") - public List getLocallySet() { - return locallySet; - } - - public void setLocallySet(List locallySet) { - this.locallySet = locallySet; - } - - public PermissionsInfo locallySet(List locallySet) { - this.locallySet = locallySet; - return this; - } - - public PermissionsInfo addLocallySetItem(PermissionElement locallySetItem) { - this.locallySet.add(locallySetItem); - return this; - } - - /** - * Get settable - * @return settable - **/ - @JsonProperty("settable") - public List getSettable() { - return settable; - } - - public void setSettable(List settable) { - this.settable = settable; - } - - public PermissionsInfo settable(List settable) { - this.settable = settable; - return this; - } - - public PermissionsInfo addSettableItem(String settableItem) { - this.settable.add(settableItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PermissionsInfo {\n"); - - sb.append(" isInheritanceEnabled: ").append(toIndentedString(isInheritanceEnabled)).append("\n"); - sb.append(" inherited: ").append(toIndentedString(inherited)).append("\n"); - sb.append(" locallySet: ").append(toIndentedString(locallySet)).append("\n"); - sb.append(" settable: ").append(toIndentedString(settable)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Person.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Person.java deleted file mode 100644 index c388fb1..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Person.java +++ /dev/null @@ -1,520 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Person { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String firstName = null; - - @ApiModelProperty(value = "") - private String lastName = null; - - @ApiModelProperty(value = "") - private String displayName = null; - - @ApiModelProperty(value = "") - private String description = null; - - @ApiModelProperty(value = "") - private String avatarId = null; - - @ApiModelProperty(required = true, value = "") - private String email = null; - - @ApiModelProperty(value = "") - private String skypeId = null; - - @ApiModelProperty(value = "") - private String googleId = null; - - @ApiModelProperty(value = "") - private String instantMessageId = null; - - @ApiModelProperty(value = "") - private String jobTitle = null; - - @ApiModelProperty(value = "") - private String location = null; - - @ApiModelProperty(value = "") - private Company company = null; - - @ApiModelProperty(value = "") - private String mobile = null; - - @ApiModelProperty(value = "") - private String telephone = null; - - @ApiModelProperty(value = "") - private Date statusUpdatedAt = null; - - @ApiModelProperty(value = "") - private String userStatus = null; - - @ApiModelProperty(required = true, value = "") - private Boolean enabled = true; - - @ApiModelProperty(value = "") - private Boolean emailNotificationsEnabled = true; - - @ApiModelProperty(value = "") - private List aspectNames = null; - - @ApiModelProperty(value = "") - private Object properties = null; - - @ApiModelProperty(value = "") - private Capabilities capabilities = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Person id(String id) { - this.id = id; - return this; - } - - /** - * Get firstName - * @return firstName - **/ - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public Person firstName(String firstName) { - this.firstName = firstName; - return this; - } - - /** - * Get lastName - * @return lastName - **/ - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public Person lastName(String lastName) { - this.lastName = lastName; - return this; - } - - /** - * Get displayName - * @return displayName - **/ - @JsonProperty("displayName") - public String getDisplayName() { - return displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public Person displayName(String displayName) { - this.displayName = displayName; - return this; - } - - /** - * Get description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Person description(String description) { - this.description = description; - return this; - } - - /** - * Get avatarId - * @return avatarId - **/ - @JsonProperty("avatarId") - public String getAvatarId() { - return avatarId; - } - - public void setAvatarId(String avatarId) { - this.avatarId = avatarId; - } - - public Person avatarId(String avatarId) { - this.avatarId = avatarId; - return this; - } - - /** - * Get email - * @return email - **/ - @JsonProperty("email") - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public Person email(String email) { - this.email = email; - return this; - } - - /** - * Get skypeId - * @return skypeId - **/ - @JsonProperty("skypeId") - public String getSkypeId() { - return skypeId; - } - - public void setSkypeId(String skypeId) { - this.skypeId = skypeId; - } - - public Person skypeId(String skypeId) { - this.skypeId = skypeId; - return this; - } - - /** - * Get googleId - * @return googleId - **/ - @JsonProperty("googleId") - public String getGoogleId() { - return googleId; - } - - public void setGoogleId(String googleId) { - this.googleId = googleId; - } - - public Person googleId(String googleId) { - this.googleId = googleId; - return this; - } - - /** - * Get instantMessageId - * @return instantMessageId - **/ - @JsonProperty("instantMessageId") - public String getInstantMessageId() { - return instantMessageId; - } - - public void setInstantMessageId(String instantMessageId) { - this.instantMessageId = instantMessageId; - } - - public Person instantMessageId(String instantMessageId) { - this.instantMessageId = instantMessageId; - return this; - } - - /** - * Get jobTitle - * @return jobTitle - **/ - @JsonProperty("jobTitle") - public String getJobTitle() { - return jobTitle; - } - - public void setJobTitle(String jobTitle) { - this.jobTitle = jobTitle; - } - - public Person jobTitle(String jobTitle) { - this.jobTitle = jobTitle; - return this; - } - - /** - * Get location - * @return location - **/ - @JsonProperty("location") - public String getLocation() { - return location; - } - - public void setLocation(String location) { - this.location = location; - } - - public Person location(String location) { - this.location = location; - return this; - } - - /** - * Get company - * @return company - **/ - @JsonProperty("company") - public Company getCompany() { - return company; - } - - public void setCompany(Company company) { - this.company = company; - } - - public Person company(Company company) { - this.company = company; - return this; - } - - /** - * Get mobile - * @return mobile - **/ - @JsonProperty("mobile") - public String getMobile() { - return mobile; - } - - public void setMobile(String mobile) { - this.mobile = mobile; - } - - public Person mobile(String mobile) { - this.mobile = mobile; - return this; - } - - /** - * Get telephone - * @return telephone - **/ - @JsonProperty("telephone") - public String getTelephone() { - return telephone; - } - - public void setTelephone(String telephone) { - this.telephone = telephone; - } - - public Person telephone(String telephone) { - this.telephone = telephone; - return this; - } - - /** - * Get statusUpdatedAt - * @return statusUpdatedAt - **/ - @JsonProperty("statusUpdatedAt") - public Date getStatusUpdatedAt() { - return statusUpdatedAt; - } - - public void setStatusUpdatedAt(Date statusUpdatedAt) { - this.statusUpdatedAt = statusUpdatedAt; - } - - public Person statusUpdatedAt(Date statusUpdatedAt) { - this.statusUpdatedAt = statusUpdatedAt; - return this; - } - - /** - * Get userStatus - * @return userStatus - **/ - @JsonProperty("userStatus") - public String getUserStatus() { - return userStatus; - } - - public void setUserStatus(String userStatus) { - this.userStatus = userStatus; - } - - public Person userStatus(String userStatus) { - this.userStatus = userStatus; - return this; - } - - /** - * Get enabled - * @return enabled - **/ - @JsonProperty("enabled") - public Boolean isEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public Person enabled(Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Get emailNotificationsEnabled - * @return emailNotificationsEnabled - **/ - @JsonProperty("emailNotificationsEnabled") - public Boolean isEmailNotificationsEnabled() { - return emailNotificationsEnabled; - } - - public void setEmailNotificationsEnabled(Boolean emailNotificationsEnabled) { - this.emailNotificationsEnabled = emailNotificationsEnabled; - } - - public Person emailNotificationsEnabled(Boolean emailNotificationsEnabled) { - this.emailNotificationsEnabled = emailNotificationsEnabled; - return this; - } - - /** - * Get aspectNames - * @return aspectNames - **/ - @JsonProperty("aspectNames") - public List getAspectNames() { - return aspectNames; - } - - public void setAspectNames(List aspectNames) { - this.aspectNames = aspectNames; - } - - public Person aspectNames(List aspectNames) { - this.aspectNames = aspectNames; - return this; - } - - public Person addAspectNamesItem(String aspectNamesItem) { - this.aspectNames.add(aspectNamesItem); - return this; - } - - /** - * Get properties - * @return properties - **/ - @JsonProperty("properties") - public Object getProperties() { - return properties; - } - - public void setProperties(Object properties) { - this.properties = properties; - } - - public Person properties(Object properties) { - this.properties = properties; - return this; - } - - /** - * Get capabilities - * @return capabilities - **/ - @JsonProperty("capabilities") - public Capabilities getCapabilities() { - return capabilities; - } - - public void setCapabilities(Capabilities capabilities) { - this.capabilities = capabilities; - } - - public Person capabilities(Capabilities capabilities) { - this.capabilities = capabilities; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Person {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" avatarId: ").append(toIndentedString(avatarId)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" skypeId: ").append(toIndentedString(skypeId)).append("\n"); - sb.append(" googleId: ").append(toIndentedString(googleId)).append("\n"); - sb.append(" instantMessageId: ").append(toIndentedString(instantMessageId)).append("\n"); - sb.append(" jobTitle: ").append(toIndentedString(jobTitle)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" mobile: ").append(toIndentedString(mobile)).append("\n"); - sb.append(" telephone: ").append(toIndentedString(telephone)).append("\n"); - sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n"); - sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" emailNotificationsEnabled: ").append(toIndentedString(emailNotificationsEnabled)).append("\n"); - sb.append(" aspectNames: ").append(toIndentedString(aspectNames)).append("\n"); - sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); - sb.append(" capabilities: ").append(toIndentedString(capabilities)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyCreate.java deleted file mode 100644 index b8736d5..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyCreate.java +++ /dev/null @@ -1,453 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PersonBodyCreate { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String firstName = null; - - @ApiModelProperty(value = "") - private String lastName = null; - - @ApiModelProperty(value = "") - private String description = null; - - @ApiModelProperty(required = true, value = "") - private String email = null; - - @ApiModelProperty(value = "") - private String skypeId = null; - - @ApiModelProperty(value = "") - private String googleId = null; - - @ApiModelProperty(value = "") - private String instantMessageId = null; - - @ApiModelProperty(value = "") - private String jobTitle = null; - - @ApiModelProperty(value = "") - private String location = null; - - @ApiModelProperty(value = "") - private Company company = null; - - @ApiModelProperty(value = "") - private String mobile = null; - - @ApiModelProperty(value = "") - private String telephone = null; - - @ApiModelProperty(value = "") - private String userStatus = null; - - @ApiModelProperty(value = "") - private Boolean enabled = true; - - @ApiModelProperty(value = "") - private Boolean emailNotificationsEnabled = true; - - @ApiModelProperty(required = true, value = "") - private String password = null; - - @ApiModelProperty(value = "") - private List aspectNames = null; - - @ApiModelProperty(value = "") - private Object properties = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public PersonBodyCreate id(String id) { - this.id = id; - return this; - } - - /** - * Get firstName - * @return firstName - **/ - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public PersonBodyCreate firstName(String firstName) { - this.firstName = firstName; - return this; - } - - /** - * Get lastName - * @return lastName - **/ - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public PersonBodyCreate lastName(String lastName) { - this.lastName = lastName; - return this; - } - - /** - * Get description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public PersonBodyCreate description(String description) { - this.description = description; - return this; - } - - /** - * Get email - * @return email - **/ - @JsonProperty("email") - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public PersonBodyCreate email(String email) { - this.email = email; - return this; - } - - /** - * Get skypeId - * @return skypeId - **/ - @JsonProperty("skypeId") - public String getSkypeId() { - return skypeId; - } - - public void setSkypeId(String skypeId) { - this.skypeId = skypeId; - } - - public PersonBodyCreate skypeId(String skypeId) { - this.skypeId = skypeId; - return this; - } - - /** - * Get googleId - * @return googleId - **/ - @JsonProperty("googleId") - public String getGoogleId() { - return googleId; - } - - public void setGoogleId(String googleId) { - this.googleId = googleId; - } - - public PersonBodyCreate googleId(String googleId) { - this.googleId = googleId; - return this; - } - - /** - * Get instantMessageId - * @return instantMessageId - **/ - @JsonProperty("instantMessageId") - public String getInstantMessageId() { - return instantMessageId; - } - - public void setInstantMessageId(String instantMessageId) { - this.instantMessageId = instantMessageId; - } - - public PersonBodyCreate instantMessageId(String instantMessageId) { - this.instantMessageId = instantMessageId; - return this; - } - - /** - * Get jobTitle - * @return jobTitle - **/ - @JsonProperty("jobTitle") - public String getJobTitle() { - return jobTitle; - } - - public void setJobTitle(String jobTitle) { - this.jobTitle = jobTitle; - } - - public PersonBodyCreate jobTitle(String jobTitle) { - this.jobTitle = jobTitle; - return this; - } - - /** - * Get location - * @return location - **/ - @JsonProperty("location") - public String getLocation() { - return location; - } - - public void setLocation(String location) { - this.location = location; - } - - public PersonBodyCreate location(String location) { - this.location = location; - return this; - } - - /** - * Get company - * @return company - **/ - @JsonProperty("company") - public Company getCompany() { - return company; - } - - public void setCompany(Company company) { - this.company = company; - } - - public PersonBodyCreate company(Company company) { - this.company = company; - return this; - } - - /** - * Get mobile - * @return mobile - **/ - @JsonProperty("mobile") - public String getMobile() { - return mobile; - } - - public void setMobile(String mobile) { - this.mobile = mobile; - } - - public PersonBodyCreate mobile(String mobile) { - this.mobile = mobile; - return this; - } - - /** - * Get telephone - * @return telephone - **/ - @JsonProperty("telephone") - public String getTelephone() { - return telephone; - } - - public void setTelephone(String telephone) { - this.telephone = telephone; - } - - public PersonBodyCreate telephone(String telephone) { - this.telephone = telephone; - return this; - } - - /** - * Get userStatus - * @return userStatus - **/ - @JsonProperty("userStatus") - public String getUserStatus() { - return userStatus; - } - - public void setUserStatus(String userStatus) { - this.userStatus = userStatus; - } - - public PersonBodyCreate userStatus(String userStatus) { - this.userStatus = userStatus; - return this; - } - - /** - * Get enabled - * @return enabled - **/ - @JsonProperty("enabled") - public Boolean isEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public PersonBodyCreate enabled(Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Get emailNotificationsEnabled - * @return emailNotificationsEnabled - **/ - @JsonProperty("emailNotificationsEnabled") - public Boolean isEmailNotificationsEnabled() { - return emailNotificationsEnabled; - } - - public void setEmailNotificationsEnabled(Boolean emailNotificationsEnabled) { - this.emailNotificationsEnabled = emailNotificationsEnabled; - } - - public PersonBodyCreate emailNotificationsEnabled(Boolean emailNotificationsEnabled) { - this.emailNotificationsEnabled = emailNotificationsEnabled; - return this; - } - - /** - * Get password - * @return password - **/ - @JsonProperty("password") - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public PersonBodyCreate password(String password) { - this.password = password; - return this; - } - - /** - * Get aspectNames - * @return aspectNames - **/ - @JsonProperty("aspectNames") - public List getAspectNames() { - return aspectNames; - } - - public void setAspectNames(List aspectNames) { - this.aspectNames = aspectNames; - } - - public PersonBodyCreate aspectNames(List aspectNames) { - this.aspectNames = aspectNames; - return this; - } - - public PersonBodyCreate addAspectNamesItem(String aspectNamesItem) { - this.aspectNames.add(aspectNamesItem); - return this; - } - - /** - * Get properties - * @return properties - **/ - @JsonProperty("properties") - public Object getProperties() { - return properties; - } - - public void setProperties(Object properties) { - this.properties = properties; - } - - public PersonBodyCreate properties(Object properties) { - this.properties = properties; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PersonBodyCreate {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" skypeId: ").append(toIndentedString(skypeId)).append("\n"); - sb.append(" googleId: ").append(toIndentedString(googleId)).append("\n"); - sb.append(" instantMessageId: ").append(toIndentedString(instantMessageId)).append("\n"); - sb.append(" jobTitle: ").append(toIndentedString(jobTitle)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" mobile: ").append(toIndentedString(mobile)).append("\n"); - sb.append(" telephone: ").append(toIndentedString(telephone)).append("\n"); - sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" emailNotificationsEnabled: ").append(toIndentedString(emailNotificationsEnabled)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append(" aspectNames: ").append(toIndentedString(aspectNames)).append("\n"); - sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyUpdate.java deleted file mode 100644 index d5376ff..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyUpdate.java +++ /dev/null @@ -1,453 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PersonBodyUpdate { - - @ApiModelProperty(value = "") - private String firstName = null; - - @ApiModelProperty(value = "") - private String lastName = null; - - @ApiModelProperty(value = "") - private String description = null; - - @ApiModelProperty(value = "") - private String email = null; - - @ApiModelProperty(value = "") - private String skypeId = null; - - @ApiModelProperty(value = "") - private String googleId = null; - - @ApiModelProperty(value = "") - private String instantMessageId = null; - - @ApiModelProperty(value = "") - private String jobTitle = null; - - @ApiModelProperty(value = "") - private String location = null; - - @ApiModelProperty(value = "") - private Company company = null; - - @ApiModelProperty(value = "") - private String mobile = null; - - @ApiModelProperty(value = "") - private String telephone = null; - - @ApiModelProperty(value = "") - private String userStatus = null; - - @ApiModelProperty(value = "") - private Boolean enabled = null; - - @ApiModelProperty(value = "") - private Boolean emailNotificationsEnabled = null; - - @ApiModelProperty(value = "") - private String password = null; - - @ApiModelProperty(value = "") - private String oldPassword = null; - - @ApiModelProperty(value = "") - private List aspectNames = null; - - @ApiModelProperty(value = "") - private Object properties = null; - /** - * Get firstName - * @return firstName - **/ - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public PersonBodyUpdate firstName(String firstName) { - this.firstName = firstName; - return this; - } - - /** - * Get lastName - * @return lastName - **/ - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public PersonBodyUpdate lastName(String lastName) { - this.lastName = lastName; - return this; - } - - /** - * Get description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public PersonBodyUpdate description(String description) { - this.description = description; - return this; - } - - /** - * Get email - * @return email - **/ - @JsonProperty("email") - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public PersonBodyUpdate email(String email) { - this.email = email; - return this; - } - - /** - * Get skypeId - * @return skypeId - **/ - @JsonProperty("skypeId") - public String getSkypeId() { - return skypeId; - } - - public void setSkypeId(String skypeId) { - this.skypeId = skypeId; - } - - public PersonBodyUpdate skypeId(String skypeId) { - this.skypeId = skypeId; - return this; - } - - /** - * Get googleId - * @return googleId - **/ - @JsonProperty("googleId") - public String getGoogleId() { - return googleId; - } - - public void setGoogleId(String googleId) { - this.googleId = googleId; - } - - public PersonBodyUpdate googleId(String googleId) { - this.googleId = googleId; - return this; - } - - /** - * Get instantMessageId - * @return instantMessageId - **/ - @JsonProperty("instantMessageId") - public String getInstantMessageId() { - return instantMessageId; - } - - public void setInstantMessageId(String instantMessageId) { - this.instantMessageId = instantMessageId; - } - - public PersonBodyUpdate instantMessageId(String instantMessageId) { - this.instantMessageId = instantMessageId; - return this; - } - - /** - * Get jobTitle - * @return jobTitle - **/ - @JsonProperty("jobTitle") - public String getJobTitle() { - return jobTitle; - } - - public void setJobTitle(String jobTitle) { - this.jobTitle = jobTitle; - } - - public PersonBodyUpdate jobTitle(String jobTitle) { - this.jobTitle = jobTitle; - return this; - } - - /** - * Get location - * @return location - **/ - @JsonProperty("location") - public String getLocation() { - return location; - } - - public void setLocation(String location) { - this.location = location; - } - - public PersonBodyUpdate location(String location) { - this.location = location; - return this; - } - - /** - * Get company - * @return company - **/ - @JsonProperty("company") - public Company getCompany() { - return company; - } - - public void setCompany(Company company) { - this.company = company; - } - - public PersonBodyUpdate company(Company company) { - this.company = company; - return this; - } - - /** - * Get mobile - * @return mobile - **/ - @JsonProperty("mobile") - public String getMobile() { - return mobile; - } - - public void setMobile(String mobile) { - this.mobile = mobile; - } - - public PersonBodyUpdate mobile(String mobile) { - this.mobile = mobile; - return this; - } - - /** - * Get telephone - * @return telephone - **/ - @JsonProperty("telephone") - public String getTelephone() { - return telephone; - } - - public void setTelephone(String telephone) { - this.telephone = telephone; - } - - public PersonBodyUpdate telephone(String telephone) { - this.telephone = telephone; - return this; - } - - /** - * Get userStatus - * @return userStatus - **/ - @JsonProperty("userStatus") - public String getUserStatus() { - return userStatus; - } - - public void setUserStatus(String userStatus) { - this.userStatus = userStatus; - } - - public PersonBodyUpdate userStatus(String userStatus) { - this.userStatus = userStatus; - return this; - } - - /** - * Get enabled - * @return enabled - **/ - @JsonProperty("enabled") - public Boolean isEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public PersonBodyUpdate enabled(Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Get emailNotificationsEnabled - * @return emailNotificationsEnabled - **/ - @JsonProperty("emailNotificationsEnabled") - public Boolean isEmailNotificationsEnabled() { - return emailNotificationsEnabled; - } - - public void setEmailNotificationsEnabled(Boolean emailNotificationsEnabled) { - this.emailNotificationsEnabled = emailNotificationsEnabled; - } - - public PersonBodyUpdate emailNotificationsEnabled(Boolean emailNotificationsEnabled) { - this.emailNotificationsEnabled = emailNotificationsEnabled; - return this; - } - - /** - * Get password - * @return password - **/ - @JsonProperty("password") - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public PersonBodyUpdate password(String password) { - this.password = password; - return this; - } - - /** - * Get oldPassword - * @return oldPassword - **/ - @JsonProperty("oldPassword") - public String getOldPassword() { - return oldPassword; - } - - public void setOldPassword(String oldPassword) { - this.oldPassword = oldPassword; - } - - public PersonBodyUpdate oldPassword(String oldPassword) { - this.oldPassword = oldPassword; - return this; - } - - /** - * Get aspectNames - * @return aspectNames - **/ - @JsonProperty("aspectNames") - public List getAspectNames() { - return aspectNames; - } - - public void setAspectNames(List aspectNames) { - this.aspectNames = aspectNames; - } - - public PersonBodyUpdate aspectNames(List aspectNames) { - this.aspectNames = aspectNames; - return this; - } - - public PersonBodyUpdate addAspectNamesItem(String aspectNamesItem) { - this.aspectNames.add(aspectNamesItem); - return this; - } - - /** - * Get properties - * @return properties - **/ - @JsonProperty("properties") - public Object getProperties() { - return properties; - } - - public void setProperties(Object properties) { - this.properties = properties; - } - - public PersonBodyUpdate properties(Object properties) { - this.properties = properties; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PersonBodyUpdate {\n"); - - sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); - sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" skypeId: ").append(toIndentedString(skypeId)).append("\n"); - sb.append(" googleId: ").append(toIndentedString(googleId)).append("\n"); - sb.append(" instantMessageId: ").append(toIndentedString(instantMessageId)).append("\n"); - sb.append(" jobTitle: ").append(toIndentedString(jobTitle)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" company: ").append(toIndentedString(company)).append("\n"); - sb.append(" mobile: ").append(toIndentedString(mobile)).append("\n"); - sb.append(" telephone: ").append(toIndentedString(telephone)).append("\n"); - sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" emailNotificationsEnabled: ").append(toIndentedString(emailNotificationsEnabled)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append(" oldPassword: ").append(toIndentedString(oldPassword)).append("\n"); - sb.append(" aspectNames: ").append(toIndentedString(aspectNames)).append("\n"); - sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonEntry.java deleted file mode 100644 index d799c63..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PersonEntry { - - @ApiModelProperty(required = true, value = "") - private Person entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Person getEntry() { - return entry; - } - - public void setEntry(Person entry) { - this.entry = entry; - } - - public PersonEntry entry(Person entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PersonEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetwork.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetwork.java deleted file mode 100644 index bb2940d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetwork.java +++ /dev/null @@ -1,239 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; -import java.util.List; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -/** - * A network is the group of users and sites that belong to an organization. Networks are organized by email domain. When a user signs up for an Alfresco account , their email domain becomes their Home Network. - **/ -@ApiModel(description="A network is the group of users and sites that belong to an organization. Networks are organized by email domain. When a user signs up for an Alfresco account , their email domain becomes their Home Network. ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PersonNetwork { - - @ApiModelProperty(required = true, value = "This network's unique id") - /** - * This network's unique id - **/ - private String id = null; - - @ApiModelProperty(value = "Is this the home network?") - /** - * Is this the home network? - **/ - private Boolean homeNetwork = null; - - @ApiModelProperty(required = true, value = "") - private Boolean isEnabled = null; - - @ApiModelProperty(value = "") - private Date createdAt = null; - - @ApiModelProperty(value = "") - private Boolean paidNetwork = null; - - -@XmlType(name="SubscriptionLevelEnum") -@XmlEnum(String.class) -public enum SubscriptionLevelEnum { - -@XmlEnumValue("Free") FREE(String.valueOf("Free")), @XmlEnumValue("Standard") STANDARD(String.valueOf("Standard")), @XmlEnumValue("Enterprise") ENTERPRISE(String.valueOf("Enterprise")); - - - private String value; - - SubscriptionLevelEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static SubscriptionLevelEnum fromValue(String v) { - for (SubscriptionLevelEnum b : SubscriptionLevelEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "") - private SubscriptionLevelEnum subscriptionLevel = null; - - @ApiModelProperty(value = "") - private List quotas = null; - /** - * This network's unique id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public PersonNetwork id(String id) { - this.id = id; - return this; - } - - /** - * Is this the home network? - * @return homeNetwork - **/ - @JsonProperty("homeNetwork") - public Boolean isHomeNetwork() { - return homeNetwork; - } - - public void setHomeNetwork(Boolean homeNetwork) { - this.homeNetwork = homeNetwork; - } - - public PersonNetwork homeNetwork(Boolean homeNetwork) { - this.homeNetwork = homeNetwork; - return this; - } - - /** - * Get isEnabled - * @return isEnabled - **/ - @JsonProperty("isEnabled") - public Boolean isIsEnabled() { - return isEnabled; - } - - public void setIsEnabled(Boolean isEnabled) { - this.isEnabled = isEnabled; - } - - public PersonNetwork isEnabled(Boolean isEnabled) { - this.isEnabled = isEnabled; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @JsonProperty("createdAt") - public Date getCreatedAt() { - return createdAt; - } - - public void setCreatedAt(Date createdAt) { - this.createdAt = createdAt; - } - - public PersonNetwork createdAt(Date createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get paidNetwork - * @return paidNetwork - **/ - @JsonProperty("paidNetwork") - public Boolean isPaidNetwork() { - return paidNetwork; - } - - public void setPaidNetwork(Boolean paidNetwork) { - this.paidNetwork = paidNetwork; - } - - public PersonNetwork paidNetwork(Boolean paidNetwork) { - this.paidNetwork = paidNetwork; - return this; - } - - /** - * Get subscriptionLevel - * @return subscriptionLevel - **/ - @JsonProperty("subscriptionLevel") - public String getSubscriptionLevel() { - if (subscriptionLevel == null) { - return null; - } - return subscriptionLevel.value(); - } - - public void setSubscriptionLevel(SubscriptionLevelEnum subscriptionLevel) { - this.subscriptionLevel = subscriptionLevel; - } - - public PersonNetwork subscriptionLevel(SubscriptionLevelEnum subscriptionLevel) { - this.subscriptionLevel = subscriptionLevel; - return this; - } - - /** - * Get quotas - * @return quotas - **/ - @JsonProperty("quotas") - public List getQuotas() { - return quotas; - } - - public void setQuotas(List quotas) { - this.quotas = quotas; - } - - public PersonNetwork quotas(List quotas) { - this.quotas = quotas; - return this; - } - - public PersonNetwork addQuotasItem(NetworkQuota quotasItem) { - this.quotas.add(quotasItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PersonNetwork {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" homeNetwork: ").append(toIndentedString(homeNetwork)).append("\n"); - sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" paidNetwork: ").append(toIndentedString(paidNetwork)).append("\n"); - sb.append(" subscriptionLevel: ").append(toIndentedString(subscriptionLevel)).append("\n"); - sb.append(" quotas: ").append(toIndentedString(quotas)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkEntry.java deleted file mode 100644 index 1ffb9a2..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PersonNetworkEntry { - - @ApiModelProperty(required = true, value = "") - private PersonNetwork entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public PersonNetwork getEntry() { - return entry; - } - - public void setEntry(PersonNetwork entry) { - this.entry = entry; - } - - public PersonNetworkEntry entry(PersonNetwork entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PersonNetworkEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPaging.java deleted file mode 100644 index f1b3692..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PersonNetworkPaging { - - @ApiModelProperty(required = true, value = "") - private PersonNetworkPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public PersonNetworkPagingList getList() { - return _list; - } - - public void setList(PersonNetworkPagingList _list) { - this._list = _list; - } - - public PersonNetworkPaging _list(PersonNetworkPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PersonNetworkPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPagingList.java deleted file mode 100644 index d6c4cd0..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PersonNetworkPagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public PersonNetworkPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public PersonNetworkPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public PersonNetworkPagingList addEntriesItem(PersonNetworkEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PersonNetworkPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPaging.java deleted file mode 100644 index e3ba76a..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PersonPaging { - - @ApiModelProperty(value = "") - private PersonPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public PersonPagingList getList() { - return _list; - } - - public void setList(PersonPagingList _list) { - this._list = _list; - } - - public PersonPaging _list(PersonPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PersonPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPagingList.java deleted file mode 100644 index 9ce4d7e..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPagingList.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PersonPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public PersonPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public PersonPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public PersonPagingList addEntriesItem(PersonEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PersonPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Preference.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Preference.java deleted file mode 100644 index 24cafc1..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Preference.java +++ /dev/null @@ -1,83 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * A specific preference. - **/ -@ApiModel(description="A specific preference. ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Preference { - - @ApiModelProperty(required = true, value = "The unique id of the preference") - /** - * The unique id of the preference - **/ - private String id = null; - - @ApiModelProperty(value = "The value of the preference. Note that this can be of any JSON type.") - /** - * The value of the preference. Note that this can be of any JSON type. - **/ - private String value = null; - /** - * The unique id of the preference - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Preference id(String id) { - this.id = id; - return this; - } - - /** - * The value of the preference. Note that this can be of any JSON type. - * @return value - **/ - @JsonProperty("value") - public String getValue() { - return value; - } - - public void setValue(String value) { - this.value = value; - } - - public Preference value(String value) { - this.value = value; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Preference {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferenceEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PreferenceEntry.java deleted file mode 100644 index 750a038..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferenceEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PreferenceEntry { - - @ApiModelProperty(required = true, value = "") - private Preference entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Preference getEntry() { - return entry; - } - - public void setEntry(Preference entry) { - this.entry = entry; - } - - public PreferenceEntry entry(Preference entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PreferenceEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePaging.java deleted file mode 100644 index 63b96cc..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PreferencePaging { - - @ApiModelProperty(required = true, value = "") - private PreferencePagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public PreferencePagingList getList() { - return _list; - } - - public void setList(PreferencePagingList _list) { - this._list = _list; - } - - public PreferencePaging _list(PreferencePagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PreferencePaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePagingList.java deleted file mode 100644 index 005358b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class PreferencePagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public PreferencePagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public PreferencePagingList entries(List entries) { - this.entries = entries; - return this; - } - - public PreferencePagingList addEntriesItem(PreferenceEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PreferencePagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntry.java deleted file mode 100644 index 8063937..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ProbeEntry { - - @ApiModelProperty(required = true, value = "") - private ProbeEntryEntry entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public ProbeEntryEntry getEntry() { - return entry; - } - - public void setEntry(ProbeEntryEntry entry) { - this.entry = entry; - } - - public ProbeEntry entry(ProbeEntryEntry entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProbeEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntryEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntryEntry.java deleted file mode 100644 index a87bad2..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntryEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ProbeEntryEntry { - - @ApiModelProperty(required = true, value = "") - private String message = null; - /** - * Get message - * @return message - **/ - @JsonProperty("message") - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public ProbeEntryEntry message(String message) { - this.message = message; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ProbeEntryEntry {\n"); - - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Property.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Property.java deleted file mode 100644 index 27424fa..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Property.java +++ /dev/null @@ -1,282 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Property { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(value = "the human-readable title") - /** - * the human-readable title - **/ - private String title = null; - - @ApiModelProperty(value = "the human-readable description") - /** - * the human-readable description - **/ - private String description = null; - - @ApiModelProperty(value = "the default value") - /** - * the default value - **/ - private String defaultValue = null; - - @ApiModelProperty(value = "the name of the property type (e.g. d:text)") - /** - * the name of the property type (e.g. d:text) - **/ - private String dataType = null; - - @ApiModelProperty(value = "define if the property is multi-valued") - /** - * define if the property is multi-valued - **/ - private Boolean isMultiValued = null; - - @ApiModelProperty(value = "define if the property is mandatory") - /** - * define if the property is mandatory - **/ - private Boolean isMandatory = null; - - @ApiModelProperty(value = "define if the presence of mandatory properties is enforced") - /** - * define if the presence of mandatory properties is enforced - **/ - private Boolean isMandatoryEnforced = null; - - @ApiModelProperty(value = "define if the property is system maintained") - /** - * define if the property is system maintained - **/ - private Boolean isProtected = null; - - @ApiModelProperty(value = "list of constraints defined for the property") - /** - * list of constraints defined for the property - **/ - private List constraints = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Property id(String id) { - this.id = id; - return this; - } - - /** - * the human-readable title - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public Property title(String title) { - this.title = title; - return this; - } - - /** - * the human-readable description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Property description(String description) { - this.description = description; - return this; - } - - /** - * the default value - * @return defaultValue - **/ - @JsonProperty("defaultValue") - public String getDefaultValue() { - return defaultValue; - } - - public void setDefaultValue(String defaultValue) { - this.defaultValue = defaultValue; - } - - public Property defaultValue(String defaultValue) { - this.defaultValue = defaultValue; - return this; - } - - /** - * the name of the property type (e.g. d:text) - * @return dataType - **/ - @JsonProperty("dataType") - public String getDataType() { - return dataType; - } - - public void setDataType(String dataType) { - this.dataType = dataType; - } - - public Property dataType(String dataType) { - this.dataType = dataType; - return this; - } - - /** - * define if the property is multi-valued - * @return isMultiValued - **/ - @JsonProperty("isMultiValued") - public Boolean isIsMultiValued() { - return isMultiValued; - } - - public void setIsMultiValued(Boolean isMultiValued) { - this.isMultiValued = isMultiValued; - } - - public Property isMultiValued(Boolean isMultiValued) { - this.isMultiValued = isMultiValued; - return this; - } - - /** - * define if the property is mandatory - * @return isMandatory - **/ - @JsonProperty("isMandatory") - public Boolean isIsMandatory() { - return isMandatory; - } - - public void setIsMandatory(Boolean isMandatory) { - this.isMandatory = isMandatory; - } - - public Property isMandatory(Boolean isMandatory) { - this.isMandatory = isMandatory; - return this; - } - - /** - * define if the presence of mandatory properties is enforced - * @return isMandatoryEnforced - **/ - @JsonProperty("isMandatoryEnforced") - public Boolean isIsMandatoryEnforced() { - return isMandatoryEnforced; - } - - public void setIsMandatoryEnforced(Boolean isMandatoryEnforced) { - this.isMandatoryEnforced = isMandatoryEnforced; - } - - public Property isMandatoryEnforced(Boolean isMandatoryEnforced) { - this.isMandatoryEnforced = isMandatoryEnforced; - return this; - } - - /** - * define if the property is system maintained - * @return isProtected - **/ - @JsonProperty("isProtected") - public Boolean isIsProtected() { - return isProtected; - } - - public void setIsProtected(Boolean isProtected) { - this.isProtected = isProtected; - } - - public Property isProtected(Boolean isProtected) { - this.isProtected = isProtected; - return this; - } - - /** - * list of constraints defined for the property - * @return constraints - **/ - @JsonProperty("constraints") - public List getConstraints() { - return constraints; - } - - public void setConstraints(List constraints) { - this.constraints = constraints; - } - - public Property constraints(List constraints) { - this.constraints = constraints; - return this; - } - - public Property addConstraintsItem(Constraint constraintsItem) { - this.constraints.add(constraintsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Property {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" defaultValue: ").append(toIndentedString(defaultValue)).append("\n"); - sb.append(" dataType: ").append(toIndentedString(dataType)).append("\n"); - sb.append(" isMultiValued: ").append(toIndentedString(isMultiValued)).append("\n"); - sb.append(" isMandatory: ").append(toIndentedString(isMandatory)).append("\n"); - sb.append(" isMandatoryEnforced: ").append(toIndentedString(isMandatoryEnforced)).append("\n"); - sb.append(" isProtected: ").append(toIndentedString(isProtected)).append("\n"); - sb.append(" constraints: ").append(toIndentedString(constraints)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Rating.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Rating.java deleted file mode 100644 index b1bd44e..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Rating.java +++ /dev/null @@ -1,125 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -/** - * A person can rate an item of content by liking it. They can also remove their like of an item of content. API methods exist to get a list of ratings and to add a new rating. - **/ -@ApiModel(description="A person can rate an item of content by liking it. They can also remove their like of an item of content. API methods exist to get a list of ratings and to add a new rating. ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Rating { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private RatingAggregate aggregate = null; - - @ApiModelProperty(value = "") - private Date ratedAt = null; - - @ApiModelProperty(value = "The rating. The type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar.") - /** - * The rating. The type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar. - **/ - private String myRating = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Rating id(String id) { - this.id = id; - return this; - } - - /** - * Get aggregate - * @return aggregate - **/ - @JsonProperty("aggregate") - public RatingAggregate getAggregate() { - return aggregate; - } - - public void setAggregate(RatingAggregate aggregate) { - this.aggregate = aggregate; - } - - public Rating aggregate(RatingAggregate aggregate) { - this.aggregate = aggregate; - return this; - } - - /** - * Get ratedAt - * @return ratedAt - **/ - @JsonProperty("ratedAt") - public Date getRatedAt() { - return ratedAt; - } - - public void setRatedAt(Date ratedAt) { - this.ratedAt = ratedAt; - } - - public Rating ratedAt(Date ratedAt) { - this.ratedAt = ratedAt; - return this; - } - - /** - * The rating. The type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar. - * @return myRating - **/ - @JsonProperty("myRating") - public String getMyRating() { - return myRating; - } - - public void setMyRating(String myRating) { - this.myRating = myRating; - } - - public Rating myRating(String myRating) { - this.myRating = myRating; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Rating {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" aggregate: ").append(toIndentedString(aggregate)).append("\n"); - sb.append(" ratedAt: ").append(toIndentedString(ratedAt)).append("\n"); - sb.append(" myRating: ").append(toIndentedString(myRating)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingAggregate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingAggregate.java deleted file mode 100644 index 886bbd8..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingAggregate.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RatingAggregate { - - @ApiModelProperty(required = true, value = "") - private Integer numberOfRatings = null; - - @ApiModelProperty(value = "") - private Integer average = null; - /** - * Get numberOfRatings - * @return numberOfRatings - **/ - @JsonProperty("numberOfRatings") - public Integer getNumberOfRatings() { - return numberOfRatings; - } - - public void setNumberOfRatings(Integer numberOfRatings) { - this.numberOfRatings = numberOfRatings; - } - - public RatingAggregate numberOfRatings(Integer numberOfRatings) { - this.numberOfRatings = numberOfRatings; - return this; - } - - /** - * Get average - * @return average - **/ - @JsonProperty("average") - public Integer getAverage() { - return average; - } - - public void setAverage(Integer average) { - this.average = average; - } - - public RatingAggregate average(Integer average) { - this.average = average; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RatingAggregate {\n"); - - sb.append(" numberOfRatings: ").append(toIndentedString(numberOfRatings)).append("\n"); - sb.append(" average: ").append(toIndentedString(average)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingBody.java deleted file mode 100644 index b267c6e..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingBody.java +++ /dev/null @@ -1,118 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RatingBody { - - -@XmlType(name="IdEnum") -@XmlEnum(String.class) -public enum IdEnum { - -@XmlEnumValue("likes") LIKES(String.valueOf("likes")), @XmlEnumValue("fiveStar") FIVESTAR(String.valueOf("fiveStar")); - - - private String value; - - IdEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static IdEnum fromValue(String v) { - for (IdEnum b : IdEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(required = true, value = "The rating scheme type. Possible values are likes and fiveStar.") - /** - * The rating scheme type. Possible values are likes and fiveStar. - **/ - private IdEnum id = IdEnum.LIKES; - - @ApiModelProperty(required = true, value = "The rating. The type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar") - /** - * The rating. The type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar - **/ - private String myRating = null; - /** - * The rating scheme type. Possible values are likes and fiveStar. - * @return id - **/ - @JsonProperty("id") - public String getId() { - if (id == null) { - return null; - } - return id.value(); - } - - public void setId(IdEnum id) { - this.id = id; - } - - public RatingBody id(IdEnum id) { - this.id = id; - return this; - } - - /** - * The rating. The type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar - * @return myRating - **/ - @JsonProperty("myRating") - public String getMyRating() { - return myRating; - } - - public void setMyRating(String myRating) { - this.myRating = myRating; - } - - public RatingBody myRating(String myRating) { - this.myRating = myRating; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RatingBody {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" myRating: ").append(toIndentedString(myRating)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingEntry.java deleted file mode 100644 index 8411252..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RatingEntry { - - @ApiModelProperty(required = true, value = "") - private Rating entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Rating getEntry() { - return entry; - } - - public void setEntry(Rating entry) { - this.entry = entry; - } - - public RatingEntry entry(Rating entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RatingEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPaging.java deleted file mode 100644 index f344f85..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RatingPaging { - - @ApiModelProperty(required = true, value = "") - private RatingPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public RatingPagingList getList() { - return _list; - } - - public void setList(RatingPagingList _list) { - this._list = _list; - } - - public RatingPaging _list(RatingPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RatingPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPagingList.java deleted file mode 100644 index b35e7f5..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RatingPagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public RatingPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public RatingPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public RatingPagingList addEntriesItem(RatingEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RatingPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Rendition.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Rendition.java deleted file mode 100644 index 98e846c..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Rendition.java +++ /dev/null @@ -1,134 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Rendition { - - @ApiModelProperty(value = "") - private String id = null; - - @ApiModelProperty(value = "") - private ContentInfo content = null; - - -@XmlType(name="StatusEnum") -@XmlEnum(String.class) -public enum StatusEnum { - -@XmlEnumValue("CREATED") CREATED(String.valueOf("CREATED")), @XmlEnumValue("NOT_CREATED") NOT_CREATED(String.valueOf("NOT_CREATED")); - - - private String value; - - StatusEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static StatusEnum fromValue(String v) { - for (StatusEnum b : StatusEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "") - private StatusEnum status = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Rendition id(String id) { - this.id = id; - return this; - } - - /** - * Get content - * @return content - **/ - @JsonProperty("content") - public ContentInfo getContent() { - return content; - } - - public void setContent(ContentInfo content) { - this.content = content; - } - - public Rendition content(ContentInfo content) { - this.content = content; - return this; - } - - /** - * Get status - * @return status - **/ - @JsonProperty("status") - public String getStatus() { - if (status == null) { - return null; - } - return status.value(); - } - - public void setStatus(StatusEnum status) { - this.status = status; - } - - public Rendition status(StatusEnum status) { - this.status = status; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Rendition {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" content: ").append(toIndentedString(content)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionBodyCreate.java deleted file mode 100644 index cf40e7f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionBodyCreate.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RenditionBodyCreate { - - @ApiModelProperty(required = true, value = "") - private String id = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public RenditionBodyCreate id(String id) { - this.id = id; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RenditionBodyCreate {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionEntry.java deleted file mode 100644 index d100bba..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RenditionEntry { - - @ApiModelProperty(required = true, value = "") - private Rendition entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Rendition getEntry() { - return entry; - } - - public void setEntry(Rendition entry) { - this.entry = entry; - } - - public RenditionEntry entry(Rendition entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RenditionEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPaging.java deleted file mode 100644 index 646c37f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RenditionPaging { - - @ApiModelProperty(value = "") - private RenditionPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public RenditionPagingList getList() { - return _list; - } - - public void setList(RenditionPagingList _list) { - this._list = _list; - } - - public RenditionPaging _list(RenditionPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RenditionPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPagingList.java deleted file mode 100644 index 8c336af..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPagingList.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RenditionPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public RenditionPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public RenditionPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public RenditionPagingList addEntriesItem(RenditionEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RenditionPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryEntry.java deleted file mode 100644 index d5b1681..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RepositoryEntry { - - @ApiModelProperty(required = true, value = "") - private RepositoryInfo repository = null; - /** - * Get repository - * @return repository - **/ - @JsonProperty("repository") - public RepositoryInfo getRepository() { - return repository; - } - - public void setRepository(RepositoryInfo repository) { - this.repository = repository; - } - - public RepositoryEntry repository(RepositoryInfo repository) { - this.repository = repository; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RepositoryEntry {\n"); - - sb.append(" repository: ").append(toIndentedString(repository)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryInfo.java deleted file mode 100644 index 62ad008..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryInfo.java +++ /dev/null @@ -1,167 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RepositoryInfo { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String edition = null; - - @ApiModelProperty(required = true, value = "") - private VersionInfo version = null; - - @ApiModelProperty(required = true, value = "") - private StatusInfo status = null; - - @ApiModelProperty(value = "") - private LicenseInfo license = null; - - @ApiModelProperty(value = "") - private List modules = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public RepositoryInfo id(String id) { - this.id = id; - return this; - } - - /** - * Get edition - * @return edition - **/ - @JsonProperty("edition") - public String getEdition() { - return edition; - } - - public void setEdition(String edition) { - this.edition = edition; - } - - public RepositoryInfo edition(String edition) { - this.edition = edition; - return this; - } - - /** - * Get version - * @return version - **/ - @JsonProperty("version") - public VersionInfo getVersion() { - return version; - } - - public void setVersion(VersionInfo version) { - this.version = version; - } - - public RepositoryInfo version(VersionInfo version) { - this.version = version; - return this; - } - - /** - * Get status - * @return status - **/ - @JsonProperty("status") - public StatusInfo getStatus() { - return status; - } - - public void setStatus(StatusInfo status) { - this.status = status; - } - - public RepositoryInfo status(StatusInfo status) { - this.status = status; - return this; - } - - /** - * Get license - * @return license - **/ - @JsonProperty("license") - public LicenseInfo getLicense() { - return license; - } - - public void setLicense(LicenseInfo license) { - this.license = license; - } - - public RepositoryInfo license(LicenseInfo license) { - this.license = license; - return this; - } - - /** - * Get modules - * @return modules - **/ - @JsonProperty("modules") - public List getModules() { - return modules; - } - - public void setModules(List modules) { - this.modules = modules; - } - - public RepositoryInfo modules(List modules) { - this.modules = modules; - return this; - } - - public RepositoryInfo addModulesItem(ModuleInfo modulesItem) { - this.modules.add(modulesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RepositoryInfo {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" edition: ").append(toIndentedString(edition)).append("\n"); - sb.append(" version: ").append(toIndentedString(version)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" license: ").append(toIndentedString(license)).append("\n"); - sb.append(" modules: ").append(toIndentedString(modules)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestDefaults.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestDefaults.java deleted file mode 100644 index ed5b4f9..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestDefaults.java +++ /dev/null @@ -1,236 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -/** - * Common query defaults - **/ -@ApiModel(description="Common query defaults")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestDefaults { - - @ApiModelProperty(value = "A list of query fields/properties used to expand TEXT: queries. The default is cm:content. You could include all content properties using d:content or list all individual content properties or types. As more terms are included the query size, complexity, memory impact and query time will increase. ") - /** - * A list of query fields/properties used to expand TEXT: queries. The default is cm:content. You could include all content properties using d:content or list all individual content properties or types. As more terms are included the query size, complexity, memory impact and query time will increase. - **/ - private List textAttributes = null; - - -@XmlType(name="DefaultFTSOperatorEnum") -@XmlEnum(String.class) -public enum DefaultFTSOperatorEnum { - -@XmlEnumValue("AND") AND(String.valueOf("AND")), @XmlEnumValue("OR") OR(String.valueOf("OR")); - - - private String value; - - DefaultFTSOperatorEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static DefaultFTSOperatorEnum fromValue(String v) { - for (DefaultFTSOperatorEnum b : DefaultFTSOperatorEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "The default way to combine query parts when AND or OR is not explicitly stated - includes ! - + one two three (one two three) ") - /** - * The default way to combine query parts when AND or OR is not explicitly stated - includes ! - + one two three (one two three) - **/ - private DefaultFTSOperatorEnum defaultFTSOperator = DefaultFTSOperatorEnum.AND; - - -@XmlType(name="DefaultFTSFieldOperatorEnum") -@XmlEnum(String.class) -public enum DefaultFTSFieldOperatorEnum { - -@XmlEnumValue("AND") AND(String.valueOf("AND")), @XmlEnumValue("OR") OR(String.valueOf("OR")); - - - private String value; - - DefaultFTSFieldOperatorEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static DefaultFTSFieldOperatorEnum fromValue(String v) { - for (DefaultFTSFieldOperatorEnum b : DefaultFTSFieldOperatorEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "The default way to combine query parts in field query groups when AND or OR is not explicitly stated - includes ! - + FIELD:(one two three) ") - /** - * The default way to combine query parts in field query groups when AND or OR is not explicitly stated - includes ! - + FIELD:(one two three) - **/ - private DefaultFTSFieldOperatorEnum defaultFTSFieldOperator = DefaultFTSFieldOperatorEnum.AND; - - @ApiModelProperty(value = "The default name space to use if one is not provided") - /** - * The default name space to use if one is not provided - **/ - private String namespace = "cm"; - - @ApiModelProperty(value = "") - private String defaultFieldName = "TEXT"; - /** - * A list of query fields/properties used to expand TEXT: queries. The default is cm:content. You could include all content properties using d:content or list all individual content properties or types. As more terms are included the query size, complexity, memory impact and query time will increase. - * @return textAttributes - **/ - @JsonProperty("textAttributes") - public List getTextAttributes() { - return textAttributes; - } - - public void setTextAttributes(List textAttributes) { - this.textAttributes = textAttributes; - } - - public RequestDefaults textAttributes(List textAttributes) { - this.textAttributes = textAttributes; - return this; - } - - public RequestDefaults addTextAttributesItem(String textAttributesItem) { - this.textAttributes.add(textAttributesItem); - return this; - } - - /** - * The default way to combine query parts when AND or OR is not explicitly stated - includes ! - + one two three (one two three) - * @return defaultFTSOperator - **/ - @JsonProperty("defaultFTSOperator") - public String getDefaultFTSOperator() { - if (defaultFTSOperator == null) { - return null; - } - return defaultFTSOperator.value(); - } - - public void setDefaultFTSOperator(DefaultFTSOperatorEnum defaultFTSOperator) { - this.defaultFTSOperator = defaultFTSOperator; - } - - public RequestDefaults defaultFTSOperator(DefaultFTSOperatorEnum defaultFTSOperator) { - this.defaultFTSOperator = defaultFTSOperator; - return this; - } - - /** - * The default way to combine query parts in field query groups when AND or OR is not explicitly stated - includes ! - + FIELD:(one two three) - * @return defaultFTSFieldOperator - **/ - @JsonProperty("defaultFTSFieldOperator") - public String getDefaultFTSFieldOperator() { - if (defaultFTSFieldOperator == null) { - return null; - } - return defaultFTSFieldOperator.value(); - } - - public void setDefaultFTSFieldOperator(DefaultFTSFieldOperatorEnum defaultFTSFieldOperator) { - this.defaultFTSFieldOperator = defaultFTSFieldOperator; - } - - public RequestDefaults defaultFTSFieldOperator(DefaultFTSFieldOperatorEnum defaultFTSFieldOperator) { - this.defaultFTSFieldOperator = defaultFTSFieldOperator; - return this; - } - - /** - * The default name space to use if one is not provided - * @return namespace - **/ - @JsonProperty("namespace") - public String getNamespace() { - return namespace; - } - - public void setNamespace(String namespace) { - this.namespace = namespace; - } - - public RequestDefaults namespace(String namespace) { - this.namespace = namespace; - return this; - } - - /** - * Get defaultFieldName - * @return defaultFieldName - **/ - @JsonProperty("defaultFieldName") - public String getDefaultFieldName() { - return defaultFieldName; - } - - public void setDefaultFieldName(String defaultFieldName) { - this.defaultFieldName = defaultFieldName; - } - - public RequestDefaults defaultFieldName(String defaultFieldName) { - this.defaultFieldName = defaultFieldName; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestDefaults {\n"); - - sb.append(" textAttributes: ").append(toIndentedString(textAttributes)).append("\n"); - sb.append(" defaultFTSOperator: ").append(toIndentedString(defaultFTSOperator)).append("\n"); - sb.append(" defaultFTSFieldOperator: ").append(toIndentedString(defaultFTSFieldOperator)).append("\n"); - sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n"); - sb.append(" defaultFieldName: ").append(toIndentedString(defaultFieldName)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetField.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetField.java deleted file mode 100644 index bb07160..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetField.java +++ /dev/null @@ -1,374 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -/** - * A simple facet field - **/ -@ApiModel(description="A simple facet field")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestFacetField { - - @ApiModelProperty(value = "The facet field") - /** - * The facet field - **/ - private String field = null; - - @ApiModelProperty(value = "A label to include in place of the facet field") - /** - * A label to include in place of the facet field - **/ - private String label = null; - - @ApiModelProperty(value = "Restricts the possible constraints to only indexed values with a specified prefix.") - /** - * Restricts the possible constraints to only indexed values with a specified prefix. - **/ - private String prefix = null; - - -@XmlType(name="SortEnum") -@XmlEnum(String.class) -public enum SortEnum { - -@XmlEnumValue("COUNT") COUNT(String.valueOf("COUNT")), @XmlEnumValue("INDEX") INDEX(String.valueOf("INDEX")); - - - private String value; - - SortEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static SortEnum fromValue(String v) { - for (SortEnum b : SortEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "") - private SortEnum sort = null; - - -@XmlType(name="MethodEnum") -@XmlEnum(String.class) -public enum MethodEnum { - -@XmlEnumValue("ENUM") ENUM(String.valueOf("ENUM")), @XmlEnumValue("FC") FC(String.valueOf("FC")); - - - private String value; - - MethodEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static MethodEnum fromValue(String v) { - for (MethodEnum b : MethodEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "") - private MethodEnum method = null; - - @ApiModelProperty(value = "When true, count results that match the query but which have no facet value for the field (in addition to the Term-based constraints).") - /** - * When true, count results that match the query but which have no facet value for the field (in addition to the Term-based constraints). - **/ - private Boolean missing = false; - - @ApiModelProperty(value = "") - private Integer limit = null; - - @ApiModelProperty(value = "") - private Integer offset = null; - - @ApiModelProperty(value = "The minimum count required for a facet field to be included in the response.") - /** - * The minimum count required for a facet field to be included in the response. - **/ - private Integer mincount = null; - - @ApiModelProperty(value = "") - private Integer facetEnumCacheMinDf = null; - - @ApiModelProperty(value = "Filter Queries with tags listed here will not be included in facet counts. This is used for multi-select facetting. ") - /** - * Filter Queries with tags listed here will not be included in facet counts. This is used for multi-select facetting. - **/ - private List excludeFilters = null; - /** - * The facet field - * @return field - **/ - @JsonProperty("field") - public String getField() { - return field; - } - - public void setField(String field) { - this.field = field; - } - - public RequestFacetField field(String field) { - this.field = field; - return this; - } - - /** - * A label to include in place of the facet field - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public RequestFacetField label(String label) { - this.label = label; - return this; - } - - /** - * Restricts the possible constraints to only indexed values with a specified prefix. - * @return prefix - **/ - @JsonProperty("prefix") - public String getPrefix() { - return prefix; - } - - public void setPrefix(String prefix) { - this.prefix = prefix; - } - - public RequestFacetField prefix(String prefix) { - this.prefix = prefix; - return this; - } - - /** - * Get sort - * @return sort - **/ - @JsonProperty("sort") - public String getSort() { - if (sort == null) { - return null; - } - return sort.value(); - } - - public void setSort(SortEnum sort) { - this.sort = sort; - } - - public RequestFacetField sort(SortEnum sort) { - this.sort = sort; - return this; - } - - /** - * Get method - * @return method - **/ - @JsonProperty("method") - public String getMethod() { - if (method == null) { - return null; - } - return method.value(); - } - - public void setMethod(MethodEnum method) { - this.method = method; - } - - public RequestFacetField method(MethodEnum method) { - this.method = method; - return this; - } - - /** - * When true, count results that match the query but which have no facet value for the field (in addition to the Term-based constraints). - * @return missing - **/ - @JsonProperty("missing") - public Boolean isMissing() { - return missing; - } - - public void setMissing(Boolean missing) { - this.missing = missing; - } - - public RequestFacetField missing(Boolean missing) { - this.missing = missing; - return this; - } - - /** - * Get limit - * @return limit - **/ - @JsonProperty("limit") - public Integer getLimit() { - return limit; - } - - public void setLimit(Integer limit) { - this.limit = limit; - } - - public RequestFacetField limit(Integer limit) { - this.limit = limit; - return this; - } - - /** - * Get offset - * @return offset - **/ - @JsonProperty("offset") - public Integer getOffset() { - return offset; - } - - public void setOffset(Integer offset) { - this.offset = offset; - } - - public RequestFacetField offset(Integer offset) { - this.offset = offset; - return this; - } - - /** - * The minimum count required for a facet field to be included in the response. - * @return mincount - **/ - @JsonProperty("mincount") - public Integer getMincount() { - return mincount; - } - - public void setMincount(Integer mincount) { - this.mincount = mincount; - } - - public RequestFacetField mincount(Integer mincount) { - this.mincount = mincount; - return this; - } - - /** - * Get facetEnumCacheMinDf - * @return facetEnumCacheMinDf - **/ - @JsonProperty("facetEnumCacheMinDf") - public Integer getFacetEnumCacheMinDf() { - return facetEnumCacheMinDf; - } - - public void setFacetEnumCacheMinDf(Integer facetEnumCacheMinDf) { - this.facetEnumCacheMinDf = facetEnumCacheMinDf; - } - - public RequestFacetField facetEnumCacheMinDf(Integer facetEnumCacheMinDf) { - this.facetEnumCacheMinDf = facetEnumCacheMinDf; - return this; - } - - /** - * Filter Queries with tags listed here will not be included in facet counts. This is used for multi-select facetting. - * @return excludeFilters - **/ - @JsonProperty("excludeFilters") - public List getExcludeFilters() { - return excludeFilters; - } - - public void setExcludeFilters(List excludeFilters) { - this.excludeFilters = excludeFilters; - } - - public RequestFacetField excludeFilters(List excludeFilters) { - this.excludeFilters = excludeFilters; - return this; - } - - public RequestFacetField addExcludeFiltersItem(String excludeFiltersItem) { - this.excludeFilters.add(excludeFiltersItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestFacetField {\n"); - - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); - sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); - sb.append(" method: ").append(toIndentedString(method)).append("\n"); - sb.append(" missing: ").append(toIndentedString(missing)).append("\n"); - sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - sb.append(" mincount: ").append(toIndentedString(mincount)).append("\n"); - sb.append(" facetEnumCacheMinDf: ").append(toIndentedString(facetEnumCacheMinDf)).append("\n"); - sb.append(" excludeFilters: ").append(toIndentedString(excludeFilters)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetFields.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetFields.java deleted file mode 100644 index 17d4141..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetFields.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -/** - * Simple facet fields to include The Properties reflect the global properties related to field facts in SOLR. They are descripbed in detail by the SOLR documentation - **/ -@ApiModel(description="Simple facet fields to include The Properties reflect the global properties related to field facts in SOLR. They are descripbed in detail by the SOLR documentation ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestFacetFields { - - @ApiModelProperty(value = "Define specifc fields on which to facet (adds SOLR facet.field and f..facet.* options) ") - /** - * Define specifc fields on which to facet (adds SOLR facet.field and f..facet.* options) - **/ - private List facets = null; - /** - * Define specifc fields on which to facet (adds SOLR facet.field and f.<field>.facet.* options) - * @return facets - **/ - @JsonProperty("facets") - public List getFacets() { - return facets; - } - - public void setFacets(List facets) { - this.facets = facets; - } - - public RequestFacetFields facets(List facets) { - this.facets = facets; - return this; - } - - public RequestFacetFields addFacetsItem(RequestFacetField facetsItem) { - this.facets.add(facetsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestFacetFields {\n"); - - sb.append(" facets: ").append(toIndentedString(facets)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervals.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervals.java deleted file mode 100644 index 964da8b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervals.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -/** - * Facet Intervals - **/ -@ApiModel(description="Facet Intervals")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestFacetIntervals { - - @ApiModelProperty(value = "Sets the intervals for all fields.") - /** - * Sets the intervals for all fields. - **/ - private List sets = null; - - @ApiModelProperty(value = "Specifies the fields to facet by interval.") - /** - * Specifies the fields to facet by interval. - **/ - private List intervals = null; - /** - * Sets the intervals for all fields. - * @return sets - **/ - @JsonProperty("sets") - public List getSets() { - return sets; - } - - public void setSets(List sets) { - this.sets = sets; - } - - public RequestFacetIntervals sets(List sets) { - this.sets = sets; - return this; - } - - public RequestFacetIntervals addSetsItem(RequestFacetSet setsItem) { - this.sets.add(setsItem); - return this; - } - - /** - * Specifies the fields to facet by interval. - * @return intervals - **/ - @JsonProperty("intervals") - public List getIntervals() { - return intervals; - } - - public void setIntervals(List intervals) { - this.intervals = intervals; - } - - public RequestFacetIntervals intervals(List intervals) { - this.intervals = intervals; - return this; - } - - public RequestFacetIntervals addIntervalsItem(RequestFacetIntervalsIntervals intervalsItem) { - this.intervals.add(intervalsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestFacetIntervals {\n"); - - sb.append(" sets: ").append(toIndentedString(sets)).append("\n"); - sb.append(" intervals: ").append(toIndentedString(intervals)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervalsIntervals.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervalsIntervals.java deleted file mode 100644 index 0d54898..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervalsIntervals.java +++ /dev/null @@ -1,110 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestFacetIntervalsIntervals { - - @ApiModelProperty(value = "The field to facet on") - /** - * The field to facet on - **/ - private String field = null; - - @ApiModelProperty(value = "A label to use to identify the field facet") - /** - * A label to use to identify the field facet - **/ - private String label = null; - - @ApiModelProperty(value = "Sets the intervals for all fields.") - /** - * Sets the intervals for all fields. - **/ - private List sets = null; - /** - * The field to facet on - * @return field - **/ - @JsonProperty("field") - public String getField() { - return field; - } - - public void setField(String field) { - this.field = field; - } - - public RequestFacetIntervalsIntervals field(String field) { - this.field = field; - return this; - } - - /** - * A label to use to identify the field facet - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public RequestFacetIntervalsIntervals label(String label) { - this.label = label; - return this; - } - - /** - * Sets the intervals for all fields. - * @return sets - **/ - @JsonProperty("sets") - public List getSets() { - return sets; - } - - public void setSets(List sets) { - this.sets = sets; - } - - public RequestFacetIntervalsIntervals sets(List sets) { - this.sets = sets; - return this; - } - - public RequestFacetIntervalsIntervals addSetsItem(RequestFacetSet setsItem) { - this.sets.add(setsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestFacetIntervalsIntervals {\n"); - - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" sets: ").append(toIndentedString(sets)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetQueries.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetQueries.java deleted file mode 100644 index 59cbe05..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetQueries.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import io.swagger.annotations.ApiModel; -import java.util.ArrayList; - -/** - * Facet queries to include - **/ -@ApiModel(description="Facet queries to include") -public class RequestFacetQueries extends ArrayList { - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestFacetQueries {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetQueriesInner.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetQueriesInner.java deleted file mode 100644 index f004702..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetQueriesInner.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestFacetQueriesInner { - - @ApiModelProperty(value = "A facet query") - /** - * A facet query - **/ - private String query = null; - - @ApiModelProperty(value = "A label to include in place of the facet query") - /** - * A label to include in place of the facet query - **/ - private String label = null; - /** - * A facet query - * @return query - **/ - @JsonProperty("query") - public String getQuery() { - return query; - } - - public void setQuery(String query) { - this.query = query; - } - - public RequestFacetQueriesInner query(String query) { - this.query = query; - return this; - } - - /** - * A label to include in place of the facet query - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public RequestFacetQueriesInner label(String label) { - this.label = label; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestFacetQueriesInner {\n"); - - sb.append(" query: ").append(toIndentedString(query)).append("\n"); - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetSet.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetSet.java deleted file mode 100644 index c6761e9..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetSet.java +++ /dev/null @@ -1,158 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * The interval to Set - **/ -@ApiModel(description="The interval to Set")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestFacetSet { - - @ApiModelProperty(value = "A label to use to identify the set") - /** - * A label to use to identify the set - **/ - private String label = null; - - @ApiModelProperty(value = "The start of the range") - /** - * The start of the range - **/ - private String start = null; - - @ApiModelProperty(value = "The end of the range") - /** - * The end of the range - **/ - private String end = null; - - @ApiModelProperty(value = "When true, the set will include values greater or equal to \"start\"") - /** - * When true, the set will include values greater or equal to \"start\" - **/ - private Boolean startInclusive = true; - - @ApiModelProperty(value = "When true, the set will include values less than or equal to \"end\"") - /** - * When true, the set will include values less than or equal to \"end\" - **/ - private Boolean endInclusive = true; - /** - * A label to use to identify the set - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public RequestFacetSet label(String label) { - this.label = label; - return this; - } - - /** - * The start of the range - * @return start - **/ - @JsonProperty("start") - public String getStart() { - return start; - } - - public void setStart(String start) { - this.start = start; - } - - public RequestFacetSet start(String start) { - this.start = start; - return this; - } - - /** - * The end of the range - * @return end - **/ - @JsonProperty("end") - public String getEnd() { - return end; - } - - public void setEnd(String end) { - this.end = end; - } - - public RequestFacetSet end(String end) { - this.end = end; - return this; - } - - /** - * When true, the set will include values greater or equal to \"start\" - * @return startInclusive - **/ - @JsonProperty("startInclusive") - public Boolean isStartInclusive() { - return startInclusive; - } - - public void setStartInclusive(Boolean startInclusive) { - this.startInclusive = startInclusive; - } - - public RequestFacetSet startInclusive(Boolean startInclusive) { - this.startInclusive = startInclusive; - return this; - } - - /** - * When true, the set will include values less than or equal to \"end\" - * @return endInclusive - **/ - @JsonProperty("endInclusive") - public Boolean isEndInclusive() { - return endInclusive; - } - - public void setEndInclusive(Boolean endInclusive) { - this.endInclusive = endInclusive; - } - - public RequestFacetSet endInclusive(Boolean endInclusive) { - this.endInclusive = endInclusive; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestFacetSet {\n"); - - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" start: ").append(toIndentedString(start)).append("\n"); - sb.append(" end: ").append(toIndentedString(end)).append("\n"); - sb.append(" startInclusive: ").append(toIndentedString(startInclusive)).append("\n"); - sb.append(" endInclusive: ").append(toIndentedString(endInclusive)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFields.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFields.java deleted file mode 100644 index 8552220..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFields.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import io.swagger.annotations.ApiModel; -import java.util.ArrayList; - -/** - * A list of field names. You can use this parameter to restrict the fields returned within a response if, for example, you want to save on overall bandwidth. The list applies to a returned individual entity or entries within a collection. If the **include** parameter is used aswell then the fields specified in the **include** parameter are returned in addition to those specified in the **fields** parameter. - **/ -@ApiModel(description="A list of field names. You can use this parameter to restrict the fields returned within a response if, for example, you want to save on overall bandwidth. The list applies to a returned individual entity or entries within a collection. If the **include** parameter is used aswell then the fields specified in the **include** parameter are returned in addition to those specified in the **fields** parameter.") -public class RequestFields extends ArrayList { - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestFields {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFilterQueries.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFilterQueries.java deleted file mode 100644 index c2a87d1..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFilterQueries.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import io.swagger.annotations.ApiModel; -import java.util.ArrayList; - -/** - * Filter Queries. Constraints that apply to the results set but do not affect the score of each entry. - **/ -@ApiModel(description="Filter Queries. Constraints that apply to the results set but do not affect the score of each entry.") -public class RequestFilterQueries extends ArrayList { - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestFilterQueries {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFilterQueriesInner.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFilterQueriesInner.java deleted file mode 100644 index 34415e2..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFilterQueriesInner.java +++ /dev/null @@ -1,85 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestFilterQueriesInner { - - @ApiModelProperty(value = "The filter query expression. For multi-select facets selected facets must be order together ") - /** - * The filter query expression. For multi-select facets selected facets must be order together - **/ - private String query = null; - - @ApiModelProperty(value = "Tags used exclude the filters from facet evaluation for multi-select facet support") - /** - * Tags used exclude the filters from facet evaluation for multi-select facet support - **/ - private List tags = null; - /** - * The filter query expression. For multi-select facets selected facets must be order together - * @return query - **/ - @JsonProperty("query") - public String getQuery() { - return query; - } - - public void setQuery(String query) { - this.query = query; - } - - public RequestFilterQueriesInner query(String query) { - this.query = query; - return this; - } - - /** - * Tags used exclude the filters from facet evaluation for multi-select facet support - * @return tags - **/ - @JsonProperty("tags") - public List getTags() { - return tags; - } - - public void setTags(List tags) { - this.tags = tags; - } - - public RequestFilterQueriesInner tags(List tags) { - this.tags = tags; - return this; - } - - public RequestFilterQueriesInner addTagsItem(String tagsItem) { - this.tags.add(tagsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestFilterQueriesInner {\n"); - - sb.append(" query: ").append(toIndentedString(query)).append("\n"); - sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlight.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlight.java deleted file mode 100644 index 0b06020..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlight.java +++ /dev/null @@ -1,239 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -/** - * Request that highlight fragments to be added to result set rows The properties reflect SOLR highlighting parameters. - **/ -@ApiModel(description="Request that highlight fragments to be added to result set rows The properties reflect SOLR highlighting parameters. ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestHighlight { - - @ApiModelProperty(value = "The string used to mark the start of a highlight in a fragment.") - /** - * The string used to mark the start of a highlight in a fragment. - **/ - private String prefix = null; - - @ApiModelProperty(value = "The string used to mark the end of a highlight in a fragment.") - /** - * The string used to mark the end of a highlight in a fragment. - **/ - private String postfix = null; - - @ApiModelProperty(value = "The maximum number of distinct highlight snippets to return for each highlight field.") - /** - * The maximum number of distinct highlight snippets to return for each highlight field. - **/ - private Integer snippetCount = null; - - @ApiModelProperty(value = "The character length of each snippet.") - /** - * The character length of each snippet. - **/ - private Integer fragmentSize = null; - - @ApiModelProperty(value = "The number of characters to be considered for highlighting. Matches after this count will not be shown.") - /** - * The number of characters to be considered for highlighting. Matches after this count will not be shown. - **/ - private Integer maxAnalyzedChars = null; - - @ApiModelProperty(value = "If fragments over lap they can be merged into one larger fragment") - /** - * If fragments over lap they can be merged into one larger fragment - **/ - private Boolean mergeContiguous = null; - - @ApiModelProperty(value = "Should phrases be identified.") - /** - * Should phrases be identified. - **/ - private Boolean usePhraseHighlighter = null; - - @ApiModelProperty(value = "The fields to highlight and field specific configuration properties for each field") - /** - * The fields to highlight and field specific configuration properties for each field - **/ - private List fields = null; - /** - * The string used to mark the start of a highlight in a fragment. - * @return prefix - **/ - @JsonProperty("prefix") - public String getPrefix() { - return prefix; - } - - public void setPrefix(String prefix) { - this.prefix = prefix; - } - - public RequestHighlight prefix(String prefix) { - this.prefix = prefix; - return this; - } - - /** - * The string used to mark the end of a highlight in a fragment. - * @return postfix - **/ - @JsonProperty("postfix") - public String getPostfix() { - return postfix; - } - - public void setPostfix(String postfix) { - this.postfix = postfix; - } - - public RequestHighlight postfix(String postfix) { - this.postfix = postfix; - return this; - } - - /** - * The maximum number of distinct highlight snippets to return for each highlight field. - * @return snippetCount - **/ - @JsonProperty("snippetCount") - public Integer getSnippetCount() { - return snippetCount; - } - - public void setSnippetCount(Integer snippetCount) { - this.snippetCount = snippetCount; - } - - public RequestHighlight snippetCount(Integer snippetCount) { - this.snippetCount = snippetCount; - return this; - } - - /** - * The character length of each snippet. - * @return fragmentSize - **/ - @JsonProperty("fragmentSize") - public Integer getFragmentSize() { - return fragmentSize; - } - - public void setFragmentSize(Integer fragmentSize) { - this.fragmentSize = fragmentSize; - } - - public RequestHighlight fragmentSize(Integer fragmentSize) { - this.fragmentSize = fragmentSize; - return this; - } - - /** - * The number of characters to be considered for highlighting. Matches after this count will not be shown. - * @return maxAnalyzedChars - **/ - @JsonProperty("maxAnalyzedChars") - public Integer getMaxAnalyzedChars() { - return maxAnalyzedChars; - } - - public void setMaxAnalyzedChars(Integer maxAnalyzedChars) { - this.maxAnalyzedChars = maxAnalyzedChars; - } - - public RequestHighlight maxAnalyzedChars(Integer maxAnalyzedChars) { - this.maxAnalyzedChars = maxAnalyzedChars; - return this; - } - - /** - * If fragments over lap they can be merged into one larger fragment - * @return mergeContiguous - **/ - @JsonProperty("mergeContiguous") - public Boolean isMergeContiguous() { - return mergeContiguous; - } - - public void setMergeContiguous(Boolean mergeContiguous) { - this.mergeContiguous = mergeContiguous; - } - - public RequestHighlight mergeContiguous(Boolean mergeContiguous) { - this.mergeContiguous = mergeContiguous; - return this; - } - - /** - * Should phrases be identified. - * @return usePhraseHighlighter - **/ - @JsonProperty("usePhraseHighlighter") - public Boolean isUsePhraseHighlighter() { - return usePhraseHighlighter; - } - - public void setUsePhraseHighlighter(Boolean usePhraseHighlighter) { - this.usePhraseHighlighter = usePhraseHighlighter; - } - - public RequestHighlight usePhraseHighlighter(Boolean usePhraseHighlighter) { - this.usePhraseHighlighter = usePhraseHighlighter; - return this; - } - - /** - * The fields to highlight and field specific configuration properties for each field - * @return fields - **/ - @JsonProperty("fields") - public List getFields() { - return fields; - } - - public void setFields(List fields) { - this.fields = fields; - } - - public RequestHighlight fields(List fields) { - this.fields = fields; - return this; - } - - public RequestHighlight addFieldsItem(RequestHighlightFields fieldsItem) { - this.fields.add(fieldsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestHighlight {\n"); - - sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); - sb.append(" postfix: ").append(toIndentedString(postfix)).append("\n"); - sb.append(" snippetCount: ").append(toIndentedString(snippetCount)).append("\n"); - sb.append(" fragmentSize: ").append(toIndentedString(fragmentSize)).append("\n"); - sb.append(" maxAnalyzedChars: ").append(toIndentedString(maxAnalyzedChars)).append("\n"); - sb.append(" mergeContiguous: ").append(toIndentedString(mergeContiguous)).append("\n"); - sb.append(" usePhraseHighlighter: ").append(toIndentedString(usePhraseHighlighter)).append("\n"); - sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlightFields.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlightFields.java deleted file mode 100644 index e03ce87..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlightFields.java +++ /dev/null @@ -1,164 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestHighlightFields { - - @ApiModelProperty(value = "The name of the field to highlight.") - /** - * The name of the field to highlight. - **/ - private String field = null; - - @ApiModelProperty(value = "") - private Integer snippetCount = null; - - @ApiModelProperty(value = "") - private Integer fragmentSize = null; - - @ApiModelProperty(value = "") - private Boolean mergeContiguous = null; - - @ApiModelProperty(value = "") - private String prefix = null; - - @ApiModelProperty(value = "") - private String postfix = null; - /** - * The name of the field to highlight. - * @return field - **/ - @JsonProperty("field") - public String getField() { - return field; - } - - public void setField(String field) { - this.field = field; - } - - public RequestHighlightFields field(String field) { - this.field = field; - return this; - } - - /** - * Get snippetCount - * @return snippetCount - **/ - @JsonProperty("snippetCount") - public Integer getSnippetCount() { - return snippetCount; - } - - public void setSnippetCount(Integer snippetCount) { - this.snippetCount = snippetCount; - } - - public RequestHighlightFields snippetCount(Integer snippetCount) { - this.snippetCount = snippetCount; - return this; - } - - /** - * Get fragmentSize - * @return fragmentSize - **/ - @JsonProperty("fragmentSize") - public Integer getFragmentSize() { - return fragmentSize; - } - - public void setFragmentSize(Integer fragmentSize) { - this.fragmentSize = fragmentSize; - } - - public RequestHighlightFields fragmentSize(Integer fragmentSize) { - this.fragmentSize = fragmentSize; - return this; - } - - /** - * Get mergeContiguous - * @return mergeContiguous - **/ - @JsonProperty("mergeContiguous") - public Boolean isMergeContiguous() { - return mergeContiguous; - } - - public void setMergeContiguous(Boolean mergeContiguous) { - this.mergeContiguous = mergeContiguous; - } - - public RequestHighlightFields mergeContiguous(Boolean mergeContiguous) { - this.mergeContiguous = mergeContiguous; - return this; - } - - /** - * Get prefix - * @return prefix - **/ - @JsonProperty("prefix") - public String getPrefix() { - return prefix; - } - - public void setPrefix(String prefix) { - this.prefix = prefix; - } - - public RequestHighlightFields prefix(String prefix) { - this.prefix = prefix; - return this; - } - - /** - * Get postfix - * @return postfix - **/ - @JsonProperty("postfix") - public String getPostfix() { - return postfix; - } - - public void setPostfix(String postfix) { - this.postfix = postfix; - } - - public RequestHighlightFields postfix(String postfix) { - this.postfix = postfix; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestHighlightFields {\n"); - - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" snippetCount: ").append(toIndentedString(snippetCount)).append("\n"); - sb.append(" fragmentSize: ").append(toIndentedString(fragmentSize)).append("\n"); - sb.append(" mergeContiguous: ").append(toIndentedString(mergeContiguous)).append("\n"); - sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); - sb.append(" postfix: ").append(toIndentedString(postfix)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestInclude.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestInclude.java deleted file mode 100644 index 1d493c1..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestInclude.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import io.swagger.annotations.ApiModel; -import java.util.ArrayList; - -/** - * Returns additional information about the node. The following optional fields can be requested: * properties * aspectNames * path * isLink * allowableOperations * association - **/ -@ApiModel(description="Returns additional information about the node. The following optional fields can be requested: * properties * aspectNames * path * isLink * allowableOperations * association ") -public class RequestInclude extends ArrayList { - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestInclude {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLimits.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLimits.java deleted file mode 100644 index cbbe284..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLimits.java +++ /dev/null @@ -1,83 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * Limit the time and resources used for query execution - **/ -@ApiModel(description="Limit the time and resources used for query execution")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestLimits { - - @ApiModelProperty(value = "Maximum time for post query permission evaluation") - /** - * Maximum time for post query permission evaluation - **/ - private Integer permissionEvaluationTime = null; - - @ApiModelProperty(value = "Maximum count of post query permission evaluations") - /** - * Maximum count of post query permission evaluations - **/ - private Integer permissionEvaluationCount = null; - /** - * Maximum time for post query permission evaluation - * @return permissionEvaluationTime - **/ - @JsonProperty("permissionEvaluationTime") - public Integer getPermissionEvaluationTime() { - return permissionEvaluationTime; - } - - public void setPermissionEvaluationTime(Integer permissionEvaluationTime) { - this.permissionEvaluationTime = permissionEvaluationTime; - } - - public RequestLimits permissionEvaluationTime(Integer permissionEvaluationTime) { - this.permissionEvaluationTime = permissionEvaluationTime; - return this; - } - - /** - * Maximum count of post query permission evaluations - * @return permissionEvaluationCount - **/ - @JsonProperty("permissionEvaluationCount") - public Integer getPermissionEvaluationCount() { - return permissionEvaluationCount; - } - - public void setPermissionEvaluationCount(Integer permissionEvaluationCount) { - this.permissionEvaluationCount = permissionEvaluationCount; - } - - public RequestLimits permissionEvaluationCount(Integer permissionEvaluationCount) { - this.permissionEvaluationCount = permissionEvaluationCount; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestLimits {\n"); - - sb.append(" permissionEvaluationTime: ").append(toIndentedString(permissionEvaluationTime)).append("\n"); - sb.append(" permissionEvaluationCount: ").append(toIndentedString(permissionEvaluationCount)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLocalization.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLocalization.java deleted file mode 100644 index 9118265..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLocalization.java +++ /dev/null @@ -1,89 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -/** - * Localization settings - **/ -@ApiModel(description="Localization settings")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestLocalization { - - @ApiModelProperty(value = "A valid timezone id supported by @see java.time.ZoneId") - /** - * A valid timezone id supported by @see java.time.ZoneId - **/ - private String timezone = null; - - @ApiModelProperty(value = "A list of Locales definied by IETF BCP 47. The ordering is significant. The first locale (leftmost) is used for sort and query localization, whereas the remaining locales are used for query only.") - /** - * A list of Locales definied by IETF BCP 47. The ordering is significant. The first locale (leftmost) is used for sort and query localization, whereas the remaining locales are used for query only. - **/ - private List locales = null; - /** - * A valid timezone id supported by @see java.time.ZoneId - * @return timezone - **/ - @JsonProperty("timezone") - public String getTimezone() { - return timezone; - } - - public void setTimezone(String timezone) { - this.timezone = timezone; - } - - public RequestLocalization timezone(String timezone) { - this.timezone = timezone; - return this; - } - - /** - * A list of Locales definied by IETF BCP 47. The ordering is significant. The first locale (leftmost) is used for sort and query localization, whereas the remaining locales are used for query only. - * @return locales - **/ - @JsonProperty("locales") - public List getLocales() { - return locales; - } - - public void setLocales(List locales) { - this.locales = locales; - } - - public RequestLocalization locales(List locales) { - this.locales = locales; - return this; - } - - public RequestLocalization addLocalesItem(String localesItem) { - this.locales.add(localesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestLocalization {\n"); - - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append(" locales: ").append(toIndentedString(locales)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPagination.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPagination.java deleted file mode 100644 index f0e846a..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPagination.java +++ /dev/null @@ -1,81 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestPagination { - - @ApiModelProperty(value = "The maximum number of items to return in the query results") - /** - * The maximum number of items to return in the query results - **/ - private Integer maxItems = null; - - @ApiModelProperty(value = "The number of items to skip from the start of the query set") - /** - * The number of items to skip from the start of the query set - **/ - private Integer skipCount = null; - /** - * The maximum number of items to return in the query results - * minimum: 1 - * @return maxItems - **/ - @JsonProperty("maxItems") - public Integer getMaxItems() { - return maxItems; - } - - public void setMaxItems(Integer maxItems) { - this.maxItems = maxItems; - } - - public RequestPagination maxItems(Integer maxItems) { - this.maxItems = maxItems; - return this; - } - - /** - * The number of items to skip from the start of the query set - * minimum: 0 - * @return skipCount - **/ - @JsonProperty("skipCount") - public Integer getSkipCount() { - return skipCount; - } - - public void setSkipCount(Integer skipCount) { - this.skipCount = skipCount; - } - - public RequestPagination skipCount(Integer skipCount) { - this.skipCount = skipCount; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestPagination {\n"); - - sb.append(" maxItems: ").append(toIndentedString(maxItems)).append("\n"); - sb.append(" skipCount: ").append(toIndentedString(skipCount)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPivot.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPivot.java deleted file mode 100644 index 03a8908..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPivot.java +++ /dev/null @@ -1,86 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -/** - * A list of pivots. - **/ -@ApiModel(description="A list of pivots.")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestPivot { - - @ApiModelProperty(value = "A key corresponding to a matching field facet label or stats.") - /** - * A key corresponding to a matching field facet label or stats. - **/ - private String key = null; - - @ApiModelProperty(value = "") - private List pivots = null; - /** - * A key corresponding to a matching field facet label or stats. - * @return key - **/ - @JsonProperty("key") - public String getKey() { - return key; - } - - public void setKey(String key) { - this.key = key; - } - - public RequestPivot key(String key) { - this.key = key; - return this; - } - - /** - * Get pivots - * @return pivots - **/ - @JsonProperty("pivots") - public List getPivots() { - return pivots; - } - - public void setPivots(List pivots) { - this.pivots = pivots; - } - - public RequestPivot pivots(List pivots) { - this.pivots = pivots; - return this; - } - - public RequestPivot addPivotsItem(RequestPivot pivotsItem) { - this.pivots.add(pivotsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestPivot {\n"); - - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append(" pivots: ").append(toIndentedString(pivots)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestQuery.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestQuery.java deleted file mode 100644 index 357312a..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestQuery.java +++ /dev/null @@ -1,147 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -/** - * Query. - **/ -@ApiModel(description="Query.")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestQuery { - - -@XmlType(name="LanguageEnum") -@XmlEnum(String.class) -public enum LanguageEnum { - -@XmlEnumValue("afts") AFTS(String.valueOf("afts")), @XmlEnumValue("lucene") LUCENE(String.valueOf("lucene")), @XmlEnumValue("cmis") CMIS(String.valueOf("cmis")); - - - private String value; - - LanguageEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static LanguageEnum fromValue(String v) { - for (LanguageEnum b : LanguageEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "The query language in which the query is written.") - /** - * The query language in which the query is written. - **/ - private LanguageEnum language = LanguageEnum.AFTS; - - @ApiModelProperty(value = "The exact search request typed in by the user") - /** - * The exact search request typed in by the user - **/ - private String userQuery = null; - - @ApiModelProperty(required = true, value = "The query which may have been generated in some way from the userQuery") - /** - * The query which may have been generated in some way from the userQuery - **/ - private String query = null; - /** - * The query language in which the query is written. - * @return language - **/ - @JsonProperty("language") - public String getLanguage() { - if (language == null) { - return null; - } - return language.value(); - } - - public void setLanguage(LanguageEnum language) { - this.language = language; - } - - public RequestQuery language(LanguageEnum language) { - this.language = language; - return this; - } - - /** - * The exact search request typed in by the user - * @return userQuery - **/ - @JsonProperty("userQuery") - public String getUserQuery() { - return userQuery; - } - - public void setUserQuery(String userQuery) { - this.userQuery = userQuery; - } - - public RequestQuery userQuery(String userQuery) { - this.userQuery = userQuery; - return this; - } - - /** - * The query which may have been generated in some way from the userQuery - * @return query - **/ - @JsonProperty("query") - public String getQuery() { - return query; - } - - public void setQuery(String query) { - this.query = query; - } - - public RequestQuery query(String query) { - this.query = query; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestQuery {\n"); - - sb.append(" language: ").append(toIndentedString(language)).append("\n"); - sb.append(" userQuery: ").append(toIndentedString(userQuery)).append("\n"); - sb.append(" query: ").append(toIndentedString(query)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestRange.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestRange.java deleted file mode 100644 index 1a312c5..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestRange.java +++ /dev/null @@ -1,274 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -/** - * Facet range - **/ -@ApiModel(description="Facet range")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestRange { - - @ApiModelProperty(value = "The name of the field to perform range") - /** - * The name of the field to perform range - **/ - private String field = null; - - @ApiModelProperty(value = "The start of the range") - /** - * The start of the range - **/ - private String start = null; - - @ApiModelProperty(value = "The end of the range") - /** - * The end of the range - **/ - private String end = null; - - @ApiModelProperty(value = "Bucket size") - /** - * Bucket size - **/ - private String gap = null; - - @ApiModelProperty(value = "If true means that the last bucket will end at “end” even if it is less than “gap” wide.") - /** - * If true means that the last bucket will end at “end” even if it is less than “gap” wide. - **/ - private Boolean hardend = null; - - @ApiModelProperty(value = "before, after, between, non, all") - /** - * before, after, between, non, all - **/ - private List other = null; - - @ApiModelProperty(value = "lower, upper, edge, outer, all") - /** - * lower, upper, edge, outer, all - **/ - private List include = null; - - @ApiModelProperty(value = "A label to include as a pivot reference") - /** - * A label to include as a pivot reference - **/ - private String label = null; - - @ApiModelProperty(value = "Filter queries to exclude when calculating statistics") - /** - * Filter queries to exclude when calculating statistics - **/ - private List excludeFilters = null; - /** - * The name of the field to perform range - * @return field - **/ - @JsonProperty("field") - public String getField() { - return field; - } - - public void setField(String field) { - this.field = field; - } - - public RequestRange field(String field) { - this.field = field; - return this; - } - - /** - * The start of the range - * @return start - **/ - @JsonProperty("start") - public String getStart() { - return start; - } - - public void setStart(String start) { - this.start = start; - } - - public RequestRange start(String start) { - this.start = start; - return this; - } - - /** - * The end of the range - * @return end - **/ - @JsonProperty("end") - public String getEnd() { - return end; - } - - public void setEnd(String end) { - this.end = end; - } - - public RequestRange end(String end) { - this.end = end; - return this; - } - - /** - * Bucket size - * @return gap - **/ - @JsonProperty("gap") - public String getGap() { - return gap; - } - - public void setGap(String gap) { - this.gap = gap; - } - - public RequestRange gap(String gap) { - this.gap = gap; - return this; - } - - /** - * If true means that the last bucket will end at “end” even if it is less than “gap” wide. - * @return hardend - **/ - @JsonProperty("hardend") - public Boolean isHardend() { - return hardend; - } - - public void setHardend(Boolean hardend) { - this.hardend = hardend; - } - - public RequestRange hardend(Boolean hardend) { - this.hardend = hardend; - return this; - } - - /** - * before, after, between, non, all - * @return other - **/ - @JsonProperty("other") - public List getOther() { - return other; - } - - public void setOther(List other) { - this.other = other; - } - - public RequestRange other(List other) { - this.other = other; - return this; - } - - public RequestRange addOtherItem(String otherItem) { - this.other.add(otherItem); - return this; - } - - /** - * lower, upper, edge, outer, all - * @return include - **/ - @JsonProperty("include") - public List getInclude() { - return include; - } - - public void setInclude(List include) { - this.include = include; - } - - public RequestRange include(List include) { - this.include = include; - return this; - } - - public RequestRange addIncludeItem(String includeItem) { - this.include.add(includeItem); - return this; - } - - /** - * A label to include as a pivot reference - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public RequestRange label(String label) { - this.label = label; - return this; - } - - /** - * Filter queries to exclude when calculating statistics - * @return excludeFilters - **/ - @JsonProperty("excludeFilters") - public List getExcludeFilters() { - return excludeFilters; - } - - public void setExcludeFilters(List excludeFilters) { - this.excludeFilters = excludeFilters; - } - - public RequestRange excludeFilters(List excludeFilters) { - this.excludeFilters = excludeFilters; - return this; - } - - public RequestRange addExcludeFiltersItem(String excludeFiltersItem) { - this.excludeFilters.add(excludeFiltersItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestRange {\n"); - - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" start: ").append(toIndentedString(start)).append("\n"); - sb.append(" end: ").append(toIndentedString(end)).append("\n"); - sb.append(" gap: ").append(toIndentedString(gap)).append("\n"); - sb.append(" hardend: ").append(toIndentedString(hardend)).append("\n"); - sb.append(" other: ").append(toIndentedString(other)).append("\n"); - sb.append(" include: ").append(toIndentedString(include)).append("\n"); - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" excludeFilters: ").append(toIndentedString(excludeFilters)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestScope.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestScope.java deleted file mode 100644 index ea6ba66..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestScope.java +++ /dev/null @@ -1,97 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -/** - * Scope - **/ -@ApiModel(description="Scope")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestScope { - - -@XmlType(name="LocationsEnum") -@XmlEnum(String.class) -public enum LocationsEnum { - -@XmlEnumValue("nodes") NODES(String.valueOf("nodes")), @XmlEnumValue("versions") VERSIONS(String.valueOf("versions")), @XmlEnumValue("deleted-nodes") DELETED_NODES(String.valueOf("deleted-nodes")); - - - private String value; - - LocationsEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static LocationsEnum fromValue(String v) { - for (LocationsEnum b : LocationsEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "The locations to include in the query ") - /** - * The locations to include in the query - **/ - private LocationsEnum locations = null; - /** - * The locations to include in the query - * @return locations - **/ - @JsonProperty("locations") - public String getLocations() { - if (locations == null) { - return null; - } - return locations.value(); - } - - public void setLocations(LocationsEnum locations) { - this.locations = locations; - } - - public RequestScope locations(LocationsEnum locations) { - this.locations = locations; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestScope {\n"); - - sb.append(" locations: ").append(toIndentedString(locations)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSortDefinition.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSortDefinition.java deleted file mode 100644 index 38d8242..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSortDefinition.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import io.swagger.annotations.ApiModel; -import java.util.ArrayList; - -/** - * How to sort the rows? An array of sort specifications. The array order defines the ordering precedence. - **/ -@ApiModel(description="How to sort the rows? An array of sort specifications. The array order defines the ordering precedence.") -public class RequestSortDefinition extends ArrayList { - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestSortDefinition {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSortDefinitionInner.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSortDefinitionInner.java deleted file mode 100644 index 7125876..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSortDefinitionInner.java +++ /dev/null @@ -1,143 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestSortDefinitionInner { - - -@XmlType(name="TypeEnum") -@XmlEnum(String.class) -public enum TypeEnum { - -@XmlEnumValue("FIELD") FIELD(String.valueOf("FIELD")), @XmlEnumValue("DOCUMENT") DOCUMENT(String.valueOf("DOCUMENT")), @XmlEnumValue("SCORE") SCORE(String.valueOf("SCORE")); - - - private String value; - - TypeEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static TypeEnum fromValue(String v) { - for (TypeEnum b : TypeEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "How to order - using a field, when position of the document in the index, score/relevence.") - /** - * How to order - using a field, when position of the document in the index, score/relevence. - **/ - private TypeEnum type = TypeEnum.FIELD; - - @ApiModelProperty(value = "The name of the field") - /** - * The name of the field - **/ - private String field = null; - - @ApiModelProperty(value = "The sort order. (The ordering of nulls is determined by the SOLR configuration)") - /** - * The sort order. (The ordering of nulls is determined by the SOLR configuration) - **/ - private Boolean ascending = false; - /** - * How to order - using a field, when position of the document in the index, score/relevence. - * @return type - **/ - @JsonProperty("type") - public String getType() { - if (type == null) { - return null; - } - return type.value(); - } - - public void setType(TypeEnum type) { - this.type = type; - } - - public RequestSortDefinitionInner type(TypeEnum type) { - this.type = type; - return this; - } - - /** - * The name of the field - * @return field - **/ - @JsonProperty("field") - public String getField() { - return field; - } - - public void setField(String field) { - this.field = field; - } - - public RequestSortDefinitionInner field(String field) { - this.field = field; - return this; - } - - /** - * The sort order. (The ordering of nulls is determined by the SOLR configuration) - * @return ascending - **/ - @JsonProperty("ascending") - public Boolean isAscending() { - return ascending; - } - - public void setAscending(Boolean ascending) { - this.ascending = ascending; - } - - public RequestSortDefinitionInner ascending(Boolean ascending) { - this.ascending = ascending; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestSortDefinitionInner {\n"); - - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" ascending: ").append(toIndentedString(ascending)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSpellcheck.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSpellcheck.java deleted file mode 100644 index 50af433..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSpellcheck.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * Request that spellcheck fragments to be added to result set rows The properties reflect SOLR spellcheck parameters. - **/ -@ApiModel(description="Request that spellcheck fragments to be added to result set rows The properties reflect SOLR spellcheck parameters. ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestSpellcheck { - - @ApiModelProperty(value = "") - private String query = null; - /** - * Get query - * @return query - **/ - @JsonProperty("query") - public String getQuery() { - return query; - } - - public void setQuery(String query) { - this.query = query; - } - - public RequestSpellcheck query(String query) { - this.query = query; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestSpellcheck {\n"); - - sb.append(" query: ").append(toIndentedString(query)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestStats.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestStats.java deleted file mode 100644 index 274e700..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestStats.java +++ /dev/null @@ -1,444 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -/** - * A list of stats request. - **/ -@ApiModel(description="A list of stats request.")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestStats { - - @ApiModelProperty(value = "The stats field") - /** - * The stats field - **/ - private String field = null; - - @ApiModelProperty(value = "A label to include for reference the stats field") - /** - * A label to include for reference the stats field - **/ - private String label = null; - - @ApiModelProperty(value = "The minimum value of the field") - /** - * The minimum value of the field - **/ - private Boolean min = true; - - @ApiModelProperty(value = "The maximum value of the field") - /** - * The maximum value of the field - **/ - private Boolean max = true; - - @ApiModelProperty(value = "The sum of all values of the field") - /** - * The sum of all values of the field - **/ - private Boolean sum = true; - - @ApiModelProperty(value = "The number which have a value for this field") - /** - * The number which have a value for this field - **/ - private Boolean countValues = true; - - @ApiModelProperty(value = "The number which do not have a value for this field") - /** - * The number which do not have a value for this field - **/ - private Boolean missing = true; - - @ApiModelProperty(value = "The average") - /** - * The average - **/ - private Boolean mean = true; - - @ApiModelProperty(value = "Standard deviation") - /** - * Standard deviation - **/ - private Boolean stddev = true; - - @ApiModelProperty(value = "Sum of all values squared") - /** - * Sum of all values squared - **/ - private Boolean sumOfSquares = true; - - @ApiModelProperty(value = "The set of all distinct values for the field (This can be very expensive to calculate)") - /** - * The set of all distinct values for the field (This can be very expensive to calculate) - **/ - private Boolean distinctValues = false; - - @ApiModelProperty(value = "The number of distinct values (This can be very expensive to calculate)") - /** - * The number of distinct values (This can be very expensive to calculate) - **/ - private Boolean countDistinct = false; - - @ApiModelProperty(value = "A statistical approximation of the number of distinct values") - /** - * A statistical approximation of the number of distinct values - **/ - private Boolean cardinality = false; - - @ApiModelProperty(value = "Number between 0.0 and 1.0 indicating how aggressively the algorithm should try to be accurate. Used with boolean cardinality flag.") - /** - * Number between 0.0 and 1.0 indicating how aggressively the algorithm should try to be accurate. Used with boolean cardinality flag. - **/ - private Float cardinalityAccuracy = 0.3f; - - @ApiModelProperty(value = "A list of filters to exclude") - /** - * A list of filters to exclude - **/ - private List excludeFilters = null; - - @ApiModelProperty(value = "A list of percentile values, e.g. \"1,99,99.9\"") - /** - * A list of percentile values, e.g. \"1,99,99.9\" - **/ - private List percentiles = null; - /** - * The stats field - * @return field - **/ - @JsonProperty("field") - public String getField() { - return field; - } - - public void setField(String field) { - this.field = field; - } - - public RequestStats field(String field) { - this.field = field; - return this; - } - - /** - * A label to include for reference the stats field - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public RequestStats label(String label) { - this.label = label; - return this; - } - - /** - * The minimum value of the field - * @return min - **/ - @JsonProperty("min") - public Boolean isMin() { - return min; - } - - public void setMin(Boolean min) { - this.min = min; - } - - public RequestStats min(Boolean min) { - this.min = min; - return this; - } - - /** - * The maximum value of the field - * @return max - **/ - @JsonProperty("max") - public Boolean isMax() { - return max; - } - - public void setMax(Boolean max) { - this.max = max; - } - - public RequestStats max(Boolean max) { - this.max = max; - return this; - } - - /** - * The sum of all values of the field - * @return sum - **/ - @JsonProperty("sum") - public Boolean isSum() { - return sum; - } - - public void setSum(Boolean sum) { - this.sum = sum; - } - - public RequestStats sum(Boolean sum) { - this.sum = sum; - return this; - } - - /** - * The number which have a value for this field - * @return countValues - **/ - @JsonProperty("countValues") - public Boolean isCountValues() { - return countValues; - } - - public void setCountValues(Boolean countValues) { - this.countValues = countValues; - } - - public RequestStats countValues(Boolean countValues) { - this.countValues = countValues; - return this; - } - - /** - * The number which do not have a value for this field - * @return missing - **/ - @JsonProperty("missing") - public Boolean isMissing() { - return missing; - } - - public void setMissing(Boolean missing) { - this.missing = missing; - } - - public RequestStats missing(Boolean missing) { - this.missing = missing; - return this; - } - - /** - * The average - * @return mean - **/ - @JsonProperty("mean") - public Boolean isMean() { - return mean; - } - - public void setMean(Boolean mean) { - this.mean = mean; - } - - public RequestStats mean(Boolean mean) { - this.mean = mean; - return this; - } - - /** - * Standard deviation - * @return stddev - **/ - @JsonProperty("stddev") - public Boolean isStddev() { - return stddev; - } - - public void setStddev(Boolean stddev) { - this.stddev = stddev; - } - - public RequestStats stddev(Boolean stddev) { - this.stddev = stddev; - return this; - } - - /** - * Sum of all values squared - * @return sumOfSquares - **/ - @JsonProperty("sumOfSquares") - public Boolean isSumOfSquares() { - return sumOfSquares; - } - - public void setSumOfSquares(Boolean sumOfSquares) { - this.sumOfSquares = sumOfSquares; - } - - public RequestStats sumOfSquares(Boolean sumOfSquares) { - this.sumOfSquares = sumOfSquares; - return this; - } - - /** - * The set of all distinct values for the field (This can be very expensive to calculate) - * @return distinctValues - **/ - @JsonProperty("distinctValues") - public Boolean isDistinctValues() { - return distinctValues; - } - - public void setDistinctValues(Boolean distinctValues) { - this.distinctValues = distinctValues; - } - - public RequestStats distinctValues(Boolean distinctValues) { - this.distinctValues = distinctValues; - return this; - } - - /** - * The number of distinct values (This can be very expensive to calculate) - * @return countDistinct - **/ - @JsonProperty("countDistinct") - public Boolean isCountDistinct() { - return countDistinct; - } - - public void setCountDistinct(Boolean countDistinct) { - this.countDistinct = countDistinct; - } - - public RequestStats countDistinct(Boolean countDistinct) { - this.countDistinct = countDistinct; - return this; - } - - /** - * A statistical approximation of the number of distinct values - * @return cardinality - **/ - @JsonProperty("cardinality") - public Boolean isCardinality() { - return cardinality; - } - - public void setCardinality(Boolean cardinality) { - this.cardinality = cardinality; - } - - public RequestStats cardinality(Boolean cardinality) { - this.cardinality = cardinality; - return this; - } - - /** - * Number between 0.0 and 1.0 indicating how aggressively the algorithm should try to be accurate. Used with boolean cardinality flag. - * @return cardinalityAccuracy - **/ - @JsonProperty("cardinalityAccuracy") - public Float getCardinalityAccuracy() { - return cardinalityAccuracy; - } - - public void setCardinalityAccuracy(Float cardinalityAccuracy) { - this.cardinalityAccuracy = cardinalityAccuracy; - } - - public RequestStats cardinalityAccuracy(Float cardinalityAccuracy) { - this.cardinalityAccuracy = cardinalityAccuracy; - return this; - } - - /** - * A list of filters to exclude - * @return excludeFilters - **/ - @JsonProperty("excludeFilters") - public List getExcludeFilters() { - return excludeFilters; - } - - public void setExcludeFilters(List excludeFilters) { - this.excludeFilters = excludeFilters; - } - - public RequestStats excludeFilters(List excludeFilters) { - this.excludeFilters = excludeFilters; - return this; - } - - public RequestStats addExcludeFiltersItem(String excludeFiltersItem) { - this.excludeFilters.add(excludeFiltersItem); - return this; - } - - /** - * A list of percentile values, e.g. \"1,99,99.9\" - * @return percentiles - **/ - @JsonProperty("percentiles") - public List getPercentiles() { - return percentiles; - } - - public void setPercentiles(List percentiles) { - this.percentiles = percentiles; - } - - public RequestStats percentiles(List percentiles) { - this.percentiles = percentiles; - return this; - } - - public RequestStats addPercentilesItem(Float percentilesItem) { - this.percentiles.add(percentilesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestStats {\n"); - - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" min: ").append(toIndentedString(min)).append("\n"); - sb.append(" max: ").append(toIndentedString(max)).append("\n"); - sb.append(" sum: ").append(toIndentedString(sum)).append("\n"); - sb.append(" countValues: ").append(toIndentedString(countValues)).append("\n"); - sb.append(" missing: ").append(toIndentedString(missing)).append("\n"); - sb.append(" mean: ").append(toIndentedString(mean)).append("\n"); - sb.append(" stddev: ").append(toIndentedString(stddev)).append("\n"); - sb.append(" sumOfSquares: ").append(toIndentedString(sumOfSquares)).append("\n"); - sb.append(" distinctValues: ").append(toIndentedString(distinctValues)).append("\n"); - sb.append(" countDistinct: ").append(toIndentedString(countDistinct)).append("\n"); - sb.append(" cardinality: ").append(toIndentedString(cardinality)).append("\n"); - sb.append(" cardinalityAccuracy: ").append(toIndentedString(cardinalityAccuracy)).append("\n"); - sb.append(" excludeFilters: ").append(toIndentedString(excludeFilters)).append("\n"); - sb.append(" percentiles: ").append(toIndentedString(percentiles)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestTemplates.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestTemplates.java deleted file mode 100644 index b7eaea4..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestTemplates.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import io.swagger.annotations.ApiModel; -import java.util.ArrayList; - -/** - * Templates usewd for query expansion. A template called \"WOOF\" defined as \"%(cm:name cm:title)\" allows WOOF:example to generate cm:name:example cm:name:example - **/ -@ApiModel(description="Templates usewd for query expansion. A template called \"WOOF\" defined as \"%(cm:name cm:title)\" allows WOOF:example to generate cm:name:example cm:name:example ") -public class RequestTemplates extends ArrayList { - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestTemplates {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestTemplatesInner.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestTemplatesInner.java deleted file mode 100644 index e203dc5..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestTemplatesInner.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RequestTemplatesInner { - - @ApiModelProperty(value = "The template name") - /** - * The template name - **/ - private String name = null; - - @ApiModelProperty(value = "The template") - /** - * The template - **/ - private String template = null; - /** - * The template name - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public RequestTemplatesInner name(String name) { - this.name = name; - return this; - } - - /** - * The template - * @return template - **/ - @JsonProperty("template") - public String getTemplate() { - return template; - } - - public void setTemplate(String template) { - this.template = template; - } - - public RequestTemplatesInner template(String template) { - this.template = template; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RequestTemplatesInner {\n"); - - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" template: ").append(toIndentedString(template)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResponseConsistency.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResponseConsistency.java deleted file mode 100644 index 64a8f7f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResponseConsistency.java +++ /dev/null @@ -1,58 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * The consistency state of the index used to execute the query - **/ -@ApiModel(description="The consistency state of the index used to execute the query")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ResponseConsistency { - - @ApiModelProperty(value = "The id of the last indexed transaction") - /** - * The id of the last indexed transaction - **/ - private Integer lastTxId = null; - /** - * The id of the last indexed transaction - * @return lastTxId - **/ - @JsonProperty("lastTxId") - public Integer getLastTxId() { - return lastTxId; - } - - public void setLastTxId(Integer lastTxId) { - this.lastTxId = lastTxId; - } - - public ResponseConsistency lastTxId(Integer lastTxId) { - this.lastTxId = lastTxId; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResponseConsistency {\n"); - - sb.append(" lastTxId: ").append(toIndentedString(lastTxId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBuckets.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBuckets.java deleted file mode 100644 index 872881b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBuckets.java +++ /dev/null @@ -1,85 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ResultBuckets { - - @ApiModelProperty(value = "The field name or its explicit label, if provided on the request") - /** - * The field name or its explicit label, if provided on the request - **/ - private String label = null; - - @ApiModelProperty(value = "An array of buckets and values") - /** - * An array of buckets and values - **/ - private List buckets = null; - /** - * The field name or its explicit label, if provided on the request - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public ResultBuckets label(String label) { - this.label = label; - return this; - } - - /** - * An array of buckets and values - * @return buckets - **/ - @JsonProperty("buckets") - public List getBuckets() { - return buckets; - } - - public void setBuckets(List buckets) { - this.buckets = buckets; - } - - public ResultBuckets buckets(List buckets) { - this.buckets = buckets; - return this; - } - - public ResultBuckets addBucketsItem(ResultBucketsBuckets bucketsItem) { - this.buckets.add(bucketsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResultBuckets {\n"); - - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" buckets: ").append(toIndentedString(buckets)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBucketsBuckets.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBucketsBuckets.java deleted file mode 100644 index b794460..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBucketsBuckets.java +++ /dev/null @@ -1,129 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ResultBucketsBuckets { - - @ApiModelProperty(value = "The bucket label") - /** - * The bucket label - **/ - private String label = null; - - @ApiModelProperty(value = "The filter query you can use to apply this facet") - /** - * The filter query you can use to apply this facet - **/ - private String filterQuery = null; - - @ApiModelProperty(value = "The count for the bucket") - /** - * The count for the bucket - **/ - private Integer count = null; - - @ApiModelProperty(value = "An optional field for additional display information") - /** - * An optional field for additional display information - **/ - private Object display = null; - /** - * The bucket label - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public ResultBucketsBuckets label(String label) { - this.label = label; - return this; - } - - /** - * The filter query you can use to apply this facet - * @return filterQuery - **/ - @JsonProperty("filterQuery") - public String getFilterQuery() { - return filterQuery; - } - - public void setFilterQuery(String filterQuery) { - this.filterQuery = filterQuery; - } - - public ResultBucketsBuckets filterQuery(String filterQuery) { - this.filterQuery = filterQuery; - return this; - } - - /** - * The count for the bucket - * @return count - **/ - @JsonProperty("count") - public Integer getCount() { - return count; - } - - public void setCount(Integer count) { - this.count = count; - } - - public ResultBucketsBuckets count(Integer count) { - this.count = count; - return this; - } - - /** - * An optional field for additional display information - * @return display - **/ - @JsonProperty("display") - public Object getDisplay() { - return display; - } - - public void setDisplay(Object display) { - this.display = display; - } - - public ResultBucketsBuckets display(Object display) { - this.display = display; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResultBucketsBuckets {\n"); - - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" filterQuery: ").append(toIndentedString(filterQuery)).append("\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append(" display: ").append(toIndentedString(display)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultNode.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultNode.java deleted file mode 100644 index c178840..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultNode.java +++ /dev/null @@ -1,139 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -public class ResultNode extends Node { - - @ApiModelProperty(value = "") - private SearchEntry search = null; - - @ApiModelProperty(value = "") - private UserInfo archivedByUser = null; - - @ApiModelProperty(value = "") - private Date archivedAt = null; - - @ApiModelProperty(value = "") - private String versionLabel = null; - - @ApiModelProperty(value = "") - private String versionComment = null; - /** - * Get search - * @return search - **/ - @JsonProperty("search") - public SearchEntry getSearch() { - return search; - } - - public void setSearch(SearchEntry search) { - this.search = search; - } - - public ResultNode search(SearchEntry search) { - this.search = search; - return this; - } - - /** - * Get archivedByUser - * @return archivedByUser - **/ - @JsonProperty("archivedByUser") - public UserInfo getArchivedByUser() { - return archivedByUser; - } - - public void setArchivedByUser(UserInfo archivedByUser) { - this.archivedByUser = archivedByUser; - } - - public ResultNode archivedByUser(UserInfo archivedByUser) { - this.archivedByUser = archivedByUser; - return this; - } - - /** - * Get archivedAt - * @return archivedAt - **/ - @JsonProperty("archivedAt") - public Date getArchivedAt() { - return archivedAt; - } - - public void setArchivedAt(Date archivedAt) { - this.archivedAt = archivedAt; - } - - public ResultNode archivedAt(Date archivedAt) { - this.archivedAt = archivedAt; - return this; - } - - /** - * Get versionLabel - * @return versionLabel - **/ - @JsonProperty("versionLabel") - public String getVersionLabel() { - return versionLabel; - } - - public void setVersionLabel(String versionLabel) { - this.versionLabel = versionLabel; - } - - public ResultNode versionLabel(String versionLabel) { - this.versionLabel = versionLabel; - return this; - } - - /** - * Get versionComment - * @return versionComment - **/ - @JsonProperty("versionComment") - public String getVersionComment() { - return versionComment; - } - - public void setVersionComment(String versionComment) { - this.versionComment = versionComment; - } - - public ResultNode versionComment(String versionComment) { - this.versionComment = versionComment; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResultNode {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append(" search: ").append(toIndentedString(search)).append("\n"); - sb.append(" archivedByUser: ").append(toIndentedString(archivedByUser)).append("\n"); - sb.append(" archivedAt: ").append(toIndentedString(archivedAt)).append("\n"); - sb.append(" versionLabel: ").append(toIndentedString(versionLabel)).append("\n"); - sb.append(" versionComment: ").append(toIndentedString(versionComment)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContext.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContext.java deleted file mode 100644 index 42b10c3..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContext.java +++ /dev/null @@ -1,198 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -/** - * Context that applies to the whole result set - **/ -@ApiModel(description="Context that applies to the whole result set")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ResultSetContext { - - @ApiModelProperty(value = "") - private ResponseConsistency consistency = null; - - @ApiModelProperty(value = "") - private SearchRequest request = null; - - @ApiModelProperty(value = "The counts from facet queries") - /** - * The counts from facet queries - **/ - private List facetQueries = null; - - @ApiModelProperty(value = "The counts from field facets") - /** - * The counts from field facets - **/ - private List facetsFields = null; - - @ApiModelProperty(value = "The faceted response") - /** - * The faceted response - **/ - private List facets = null; - - @ApiModelProperty(value = "Suggested corrections If zero results were found for the original query then a single entry of type \"searchInsteadFor\" will be returned. If alternatives were found that return more results than the original query they are returned as \"didYouMean\" options. The highest quality suggestion is first. ") - /** - * Suggested corrections If zero results were found for the original query then a single entry of type \"searchInsteadFor\" will be returned. If alternatives were found that return more results than the original query they are returned as \"didYouMean\" options. The highest quality suggestion is first. - **/ - private List spellcheck = null; - /** - * Get consistency - * @return consistency - **/ - @JsonProperty("consistency") - public ResponseConsistency getConsistency() { - return consistency; - } - - public void setConsistency(ResponseConsistency consistency) { - this.consistency = consistency; - } - - public ResultSetContext consistency(ResponseConsistency consistency) { - this.consistency = consistency; - return this; - } - - /** - * Get request - * @return request - **/ - @JsonProperty("request") - public SearchRequest getRequest() { - return request; - } - - public void setRequest(SearchRequest request) { - this.request = request; - } - - public ResultSetContext request(SearchRequest request) { - this.request = request; - return this; - } - - /** - * The counts from facet queries - * @return facetQueries - **/ - @JsonProperty("facetQueries") - public List getFacetQueries() { - return facetQueries; - } - - public void setFacetQueries(List facetQueries) { - this.facetQueries = facetQueries; - } - - public ResultSetContext facetQueries(List facetQueries) { - this.facetQueries = facetQueries; - return this; - } - - public ResultSetContext addFacetQueriesItem(ResultSetContextFacetQueries facetQueriesItem) { - this.facetQueries.add(facetQueriesItem); - return this; - } - - /** - * The counts from field facets - * @return facetsFields - **/ - @JsonProperty("facetsFields") - public List getFacetsFields() { - return facetsFields; - } - - public void setFacetsFields(List facetsFields) { - this.facetsFields = facetsFields; - } - - public ResultSetContext facetsFields(List facetsFields) { - this.facetsFields = facetsFields; - return this; - } - - public ResultSetContext addFacetsFieldsItem(ResultBuckets facetsFieldsItem) { - this.facetsFields.add(facetsFieldsItem); - return this; - } - - /** - * The faceted response - * @return facets - **/ - @JsonProperty("facets") - public List getFacets() { - return facets; - } - - public void setFacets(List facets) { - this.facets = facets; - } - - public ResultSetContext facets(List facets) { - this.facets = facets; - return this; - } - - public ResultSetContext addFacetsItem(GenericFacetResponse facetsItem) { - this.facets.add(facetsItem); - return this; - } - - /** - * Suggested corrections If zero results were found for the original query then a single entry of type \"searchInsteadFor\" will be returned. If alternatives were found that return more results than the original query they are returned as \"didYouMean\" options. The highest quality suggestion is first. - * @return spellcheck - **/ - @JsonProperty("spellcheck") - public List getSpellcheck() { - return spellcheck; - } - - public void setSpellcheck(List spellcheck) { - this.spellcheck = spellcheck; - } - - public ResultSetContext spellcheck(List spellcheck) { - this.spellcheck = spellcheck; - return this; - } - - public ResultSetContext addSpellcheckItem(ResultSetContextSpellcheck spellcheckItem) { - this.spellcheck.add(spellcheckItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResultSetContext {\n"); - - sb.append(" consistency: ").append(toIndentedString(consistency)).append("\n"); - sb.append(" request: ").append(toIndentedString(request)).append("\n"); - sb.append(" facetQueries: ").append(toIndentedString(facetQueries)).append("\n"); - sb.append(" facetsFields: ").append(toIndentedString(facetsFields)).append("\n"); - sb.append(" facets: ").append(toIndentedString(facets)).append("\n"); - sb.append(" spellcheck: ").append(toIndentedString(spellcheck)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextFacetQueries.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextFacetQueries.java deleted file mode 100644 index c56a4e4..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextFacetQueries.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ResultSetContextFacetQueries { - - @ApiModelProperty(value = "") - private String label = null; - - @ApiModelProperty(value = "The filter query you can use to apply this facet") - /** - * The filter query you can use to apply this facet - **/ - private String filterQuery = null; - - @ApiModelProperty(value = "") - private Integer count = null; - /** - * Get label - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public ResultSetContextFacetQueries label(String label) { - this.label = label; - return this; - } - - /** - * The filter query you can use to apply this facet - * @return filterQuery - **/ - @JsonProperty("filterQuery") - public String getFilterQuery() { - return filterQuery; - } - - public void setFilterQuery(String filterQuery) { - this.filterQuery = filterQuery; - } - - public ResultSetContextFacetQueries filterQuery(String filterQuery) { - this.filterQuery = filterQuery; - return this; - } - - /** - * Get count - * @return count - **/ - @JsonProperty("count") - public Integer getCount() { - return count; - } - - public void setCount(Integer count) { - this.count = count; - } - - public ResultSetContextFacetQueries count(Integer count) { - this.count = count; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResultSetContextFacetQueries {\n"); - - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" filterQuery: ").append(toIndentedString(filterQuery)).append("\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextSpellcheck.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextSpellcheck.java deleted file mode 100644 index 09812a3..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextSpellcheck.java +++ /dev/null @@ -1,121 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ResultSetContextSpellcheck { - - -@XmlType(name="TypeEnum") -@XmlEnum(String.class) -public enum TypeEnum { - -@XmlEnumValue("searchInsteadFor") SEARCHINSTEADFOR(String.valueOf("searchInsteadFor")), @XmlEnumValue("didYouMean") DIDYOUMEAN(String.valueOf("didYouMean")); - - - private String value; - - TypeEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static TypeEnum fromValue(String v) { - for (TypeEnum b : TypeEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "") - private TypeEnum type = null; - - @ApiModelProperty(value = "A suggested alternative query") - /** - * A suggested alternative query - **/ - private List suggestion = null; - /** - * Get type - * @return type - **/ - @JsonProperty("type") - public String getType() { - if (type == null) { - return null; - } - return type.value(); - } - - public void setType(TypeEnum type) { - this.type = type; - } - - public ResultSetContextSpellcheck type(TypeEnum type) { - this.type = type; - return this; - } - - /** - * A suggested alternative query - * @return suggestion - **/ - @JsonProperty("suggestion") - public List getSuggestion() { - return suggestion; - } - - public void setSuggestion(List suggestion) { - this.suggestion = suggestion; - } - - public ResultSetContextSpellcheck suggestion(List suggestion) { - this.suggestion = suggestion; - return this; - } - - public ResultSetContextSpellcheck addSuggestionItem(String suggestionItem) { - this.suggestion.add(suggestionItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResultSetContextSpellcheck {\n"); - - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" suggestion: ").append(toIndentedString(suggestion)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPaging.java deleted file mode 100644 index b97c61f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPaging.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * Query results - **/ -@ApiModel(description="Query results")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ResultSetPaging { - - @ApiModelProperty(value = "") - private ResultSetPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public ResultSetPagingList getList() { - return _list; - } - - public void setList(ResultSetPagingList _list) { - this._list = _list; - } - - public ResultSetPaging _list(ResultSetPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResultSetPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPagingList.java deleted file mode 100644 index 594b102..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPagingList.java +++ /dev/null @@ -1,101 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ResultSetPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private ResultSetContext context = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public ResultSetPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get context - * @return context - **/ - @JsonProperty("context") - public ResultSetContext getContext() { - return context; - } - - public void setContext(ResultSetContext context) { - this.context = context; - } - - public ResultSetPagingList context(ResultSetContext context) { - this.context = context; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public ResultSetPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public ResultSetPagingList addEntriesItem(ResultSetRowEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResultSetPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" context: ").append(toIndentedString(context)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetRowEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetRowEntry.java deleted file mode 100644 index 5b1080b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetRowEntry.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * A row in the result set - **/ -@ApiModel(description="A row in the result set")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ResultSetRowEntry { - - @ApiModelProperty(required = true, value = "") - private ResultNode entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public ResultNode getEntry() { - return entry; - } - - public void setEntry(ResultNode entry) { - this.entry = entry; - } - - public ResultSetRowEntry entry(ResultNode entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResultSetRowEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RevertBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RevertBody.java deleted file mode 100644 index 599d4c7..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RevertBody.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class RevertBody { - - @ApiModelProperty(value = "") - private Boolean majorVersion = null; - - @ApiModelProperty(value = "") - private String comment = null; - /** - * Get majorVersion - * @return majorVersion - **/ - @JsonProperty("majorVersion") - public Boolean isMajorVersion() { - return majorVersion; - } - - public void setMajorVersion(Boolean majorVersion) { - this.majorVersion = majorVersion; - } - - public RevertBody majorVersion(Boolean majorVersion) { - this.majorVersion = majorVersion; - return this; - } - - /** - * Get comment - * @return comment - **/ - @JsonProperty("comment") - public String getComment() { - return comment; - } - - public void setComment(String comment) { - this.comment = comment; - } - - public RevertBody comment(String comment) { - this.comment = comment; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RevertBody {\n"); - - sb.append(" majorVersion: ").append(toIndentedString(majorVersion)).append("\n"); - sb.append(" comment: ").append(toIndentedString(comment)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntry.java deleted file mode 100644 index edec5cd..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntry.java +++ /dev/null @@ -1,85 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SearchEntry { - - @ApiModelProperty(value = "The score for this row") - /** - * The score for this row - **/ - private Float score = null; - - @ApiModelProperty(value = "Highlight fragments if requested and available. A match can happen in any of the requested field. ") - /** - * Highlight fragments if requested and available. A match can happen in any of the requested field. - **/ - private List highlight = null; - /** - * The score for this row - * @return score - **/ - @JsonProperty("score") - public Float getScore() { - return score; - } - - public void setScore(Float score) { - this.score = score; - } - - public SearchEntry score(Float score) { - this.score = score; - return this; - } - - /** - * Highlight fragments if requested and available. A match can happen in any of the requested field. - * @return highlight - **/ - @JsonProperty("highlight") - public List getHighlight() { - return highlight; - } - - public void setHighlight(List highlight) { - this.highlight = highlight; - } - - public SearchEntry highlight(List highlight) { - this.highlight = highlight; - return this; - } - - public SearchEntry addHighlightItem(SearchEntryHighlight highlightItem) { - this.highlight.add(highlightItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SearchEntry {\n"); - - sb.append(" score: ").append(toIndentedString(score)).append("\n"); - sb.append(" highlight: ").append(toIndentedString(highlight)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntryHighlight.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntryHighlight.java deleted file mode 100644 index 57783eb..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntryHighlight.java +++ /dev/null @@ -1,85 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SearchEntryHighlight { - - @ApiModelProperty(value = "The field where a match occured (one of the fields defined on the request)") - /** - * The field where a match occured (one of the fields defined on the request) - **/ - private String field = null; - - @ApiModelProperty(value = "Any number of snippets for the specified field highlighting the matching text") - /** - * Any number of snippets for the specified field highlighting the matching text - **/ - private List snippets = null; - /** - * The field where a match occured (one of the fields defined on the request) - * @return field - **/ - @JsonProperty("field") - public String getField() { - return field; - } - - public void setField(String field) { - this.field = field; - } - - public SearchEntryHighlight field(String field) { - this.field = field; - return this; - } - - /** - * Any number of snippets for the specified field highlighting the matching text - * @return snippets - **/ - @JsonProperty("snippets") - public List getSnippets() { - return snippets; - } - - public void setSnippets(List snippets) { - this.snippets = snippets; - } - - public SearchEntryHighlight snippets(List snippets) { - this.snippets = snippets; - return this; - } - - public SearchEntryHighlight addSnippetsItem(String snippetsItem) { - this.snippets.add(snippetsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SearchEntryHighlight {\n"); - - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" snippets: ").append(toIndentedString(snippets)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchRequest.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SearchRequest.java deleted file mode 100644 index 301d5ab..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchRequest.java +++ /dev/null @@ -1,488 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SearchRequest { - - @ApiModelProperty(required = true, value = "") - private RequestQuery query = null; - - @ApiModelProperty(value = "") - private RequestPagination paging = null; - - @ApiModelProperty(value = "") - private RequestInclude include = null; - - @ApiModelProperty(value = "When true, include the original request in the response") - /** - * When true, include the original request in the response - **/ - private Boolean includeRequest = false; - - @ApiModelProperty(value = "") - private RequestFields fields = null; - - @ApiModelProperty(value = "") - private RequestSortDefinition sort = null; - - @ApiModelProperty(value = "") - private RequestTemplates templates = null; - - @ApiModelProperty(value = "") - private RequestDefaults defaults = null; - - @ApiModelProperty(value = "") - private RequestLocalization localization = null; - - @ApiModelProperty(value = "") - private RequestFilterQueries filterQueries = null; - - @ApiModelProperty(value = "") - private RequestFacetQueries facetQueries = null; - - @ApiModelProperty(value = "") - private RequestFacetFields facetFields = null; - - @ApiModelProperty(value = "") - private RequestFacetIntervals facetIntervals = null; - - @ApiModelProperty(value = "") - private List pivots = null; - - @ApiModelProperty(value = "") - private List stats = null; - - @ApiModelProperty(value = "") - private RequestSpellcheck spellcheck = null; - - @ApiModelProperty(value = "") - private RequestScope scope = null; - - @ApiModelProperty(value = "") - private RequestLimits limits = null; - - @ApiModelProperty(value = "") - private RequestHighlight highlight = null; - - @ApiModelProperty(value = "") - private List ranges = null; - /** - * Get query - * @return query - **/ - @JsonProperty("query") - public RequestQuery getQuery() { - return query; - } - - public void setQuery(RequestQuery query) { - this.query = query; - } - - public SearchRequest query(RequestQuery query) { - this.query = query; - return this; - } - - /** - * Get paging - * @return paging - **/ - @JsonProperty("paging") - public RequestPagination getPaging() { - return paging; - } - - public void setPaging(RequestPagination paging) { - this.paging = paging; - } - - public SearchRequest paging(RequestPagination paging) { - this.paging = paging; - return this; - } - - /** - * Get include - * @return include - **/ - @JsonProperty("include") - public RequestInclude getInclude() { - return include; - } - - public void setInclude(RequestInclude include) { - this.include = include; - } - - public SearchRequest include(RequestInclude include) { - this.include = include; - return this; - } - - /** - * When true, include the original request in the response - * @return includeRequest - **/ - @JsonProperty("includeRequest") - public Boolean isIncludeRequest() { - return includeRequest; - } - - public void setIncludeRequest(Boolean includeRequest) { - this.includeRequest = includeRequest; - } - - public SearchRequest includeRequest(Boolean includeRequest) { - this.includeRequest = includeRequest; - return this; - } - - /** - * Get fields - * @return fields - **/ - @JsonProperty("fields") - public RequestFields getFields() { - return fields; - } - - public void setFields(RequestFields fields) { - this.fields = fields; - } - - public SearchRequest fields(RequestFields fields) { - this.fields = fields; - return this; - } - - /** - * Get sort - * @return sort - **/ - @JsonProperty("sort") - public RequestSortDefinition getSort() { - return sort; - } - - public void setSort(RequestSortDefinition sort) { - this.sort = sort; - } - - public SearchRequest sort(RequestSortDefinition sort) { - this.sort = sort; - return this; - } - - /** - * Get templates - * @return templates - **/ - @JsonProperty("templates") - public RequestTemplates getTemplates() { - return templates; - } - - public void setTemplates(RequestTemplates templates) { - this.templates = templates; - } - - public SearchRequest templates(RequestTemplates templates) { - this.templates = templates; - return this; - } - - /** - * Get defaults - * @return defaults - **/ - @JsonProperty("defaults") - public RequestDefaults getDefaults() { - return defaults; - } - - public void setDefaults(RequestDefaults defaults) { - this.defaults = defaults; - } - - public SearchRequest defaults(RequestDefaults defaults) { - this.defaults = defaults; - return this; - } - - /** - * Get localization - * @return localization - **/ - @JsonProperty("localization") - public RequestLocalization getLocalization() { - return localization; - } - - public void setLocalization(RequestLocalization localization) { - this.localization = localization; - } - - public SearchRequest localization(RequestLocalization localization) { - this.localization = localization; - return this; - } - - /** - * Get filterQueries - * @return filterQueries - **/ - @JsonProperty("filterQueries") - public RequestFilterQueries getFilterQueries() { - return filterQueries; - } - - public void setFilterQueries(RequestFilterQueries filterQueries) { - this.filterQueries = filterQueries; - } - - public SearchRequest filterQueries(RequestFilterQueries filterQueries) { - this.filterQueries = filterQueries; - return this; - } - - /** - * Get facetQueries - * @return facetQueries - **/ - @JsonProperty("facetQueries") - public RequestFacetQueries getFacetQueries() { - return facetQueries; - } - - public void setFacetQueries(RequestFacetQueries facetQueries) { - this.facetQueries = facetQueries; - } - - public SearchRequest facetQueries(RequestFacetQueries facetQueries) { - this.facetQueries = facetQueries; - return this; - } - - /** - * Get facetFields - * @return facetFields - **/ - @JsonProperty("facetFields") - public RequestFacetFields getFacetFields() { - return facetFields; - } - - public void setFacetFields(RequestFacetFields facetFields) { - this.facetFields = facetFields; - } - - public SearchRequest facetFields(RequestFacetFields facetFields) { - this.facetFields = facetFields; - return this; - } - - /** - * Get facetIntervals - * @return facetIntervals - **/ - @JsonProperty("facetIntervals") - public RequestFacetIntervals getFacetIntervals() { - return facetIntervals; - } - - public void setFacetIntervals(RequestFacetIntervals facetIntervals) { - this.facetIntervals = facetIntervals; - } - - public SearchRequest facetIntervals(RequestFacetIntervals facetIntervals) { - this.facetIntervals = facetIntervals; - return this; - } - - /** - * Get pivots - * @return pivots - **/ - @JsonProperty("pivots") - public List getPivots() { - return pivots; - } - - public void setPivots(List pivots) { - this.pivots = pivots; - } - - public SearchRequest pivots(List pivots) { - this.pivots = pivots; - return this; - } - - public SearchRequest addPivotsItem(RequestPivot pivotsItem) { - this.pivots.add(pivotsItem); - return this; - } - - /** - * Get stats - * @return stats - **/ - @JsonProperty("stats") - public List getStats() { - return stats; - } - - public void setStats(List stats) { - this.stats = stats; - } - - public SearchRequest stats(List stats) { - this.stats = stats; - return this; - } - - public SearchRequest addStatsItem(RequestStats statsItem) { - this.stats.add(statsItem); - return this; - } - - /** - * Get spellcheck - * @return spellcheck - **/ - @JsonProperty("spellcheck") - public RequestSpellcheck getSpellcheck() { - return spellcheck; - } - - public void setSpellcheck(RequestSpellcheck spellcheck) { - this.spellcheck = spellcheck; - } - - public SearchRequest spellcheck(RequestSpellcheck spellcheck) { - this.spellcheck = spellcheck; - return this; - } - - /** - * Get scope - * @return scope - **/ - @JsonProperty("scope") - public RequestScope getScope() { - return scope; - } - - public void setScope(RequestScope scope) { - this.scope = scope; - } - - public SearchRequest scope(RequestScope scope) { - this.scope = scope; - return this; - } - - /** - * Get limits - * @return limits - **/ - @JsonProperty("limits") - public RequestLimits getLimits() { - return limits; - } - - public void setLimits(RequestLimits limits) { - this.limits = limits; - } - - public SearchRequest limits(RequestLimits limits) { - this.limits = limits; - return this; - } - - /** - * Get highlight - * @return highlight - **/ - @JsonProperty("highlight") - public RequestHighlight getHighlight() { - return highlight; - } - - public void setHighlight(RequestHighlight highlight) { - this.highlight = highlight; - } - - public SearchRequest highlight(RequestHighlight highlight) { - this.highlight = highlight; - return this; - } - - /** - * Get ranges - * @return ranges - **/ - @JsonProperty("ranges") - public List getRanges() { - return ranges; - } - - public void setRanges(List ranges) { - this.ranges = ranges; - } - - public SearchRequest ranges(List ranges) { - this.ranges = ranges; - return this; - } - - public SearchRequest addRangesItem(RequestRange rangesItem) { - this.ranges.add(rangesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SearchRequest {\n"); - - sb.append(" query: ").append(toIndentedString(query)).append("\n"); - sb.append(" paging: ").append(toIndentedString(paging)).append("\n"); - sb.append(" include: ").append(toIndentedString(include)).append("\n"); - sb.append(" includeRequest: ").append(toIndentedString(includeRequest)).append("\n"); - sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); - sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); - sb.append(" templates: ").append(toIndentedString(templates)).append("\n"); - sb.append(" defaults: ").append(toIndentedString(defaults)).append("\n"); - sb.append(" localization: ").append(toIndentedString(localization)).append("\n"); - sb.append(" filterQueries: ").append(toIndentedString(filterQueries)).append("\n"); - sb.append(" facetQueries: ").append(toIndentedString(facetQueries)).append("\n"); - sb.append(" facetFields: ").append(toIndentedString(facetFields)).append("\n"); - sb.append(" facetIntervals: ").append(toIndentedString(facetIntervals)).append("\n"); - sb.append(" pivots: ").append(toIndentedString(pivots)).append("\n"); - sb.append(" stats: ").append(toIndentedString(stats)).append("\n"); - sb.append(" spellcheck: ").append(toIndentedString(spellcheck)).append("\n"); - sb.append(" scope: ").append(toIndentedString(scope)).append("\n"); - sb.append(" limits: ").append(toIndentedString(limits)).append("\n"); - sb.append(" highlight: ").append(toIndentedString(highlight)).append("\n"); - sb.append(" ranges: ").append(toIndentedString(ranges)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLink.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLink.java deleted file mode 100644 index 9be57f4..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLink.java +++ /dev/null @@ -1,410 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SharedLink { - - @ApiModelProperty(value = "") - private String id = null; - - @ApiModelProperty(value = "") - private Date expiresAt = null; - - @ApiModelProperty(value = "") - private String nodeId = null; - - @ApiModelProperty(value = "The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. ") - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - **/ - private String name = null; - - @ApiModelProperty(value = "") - private String title = null; - - @ApiModelProperty(value = "") - private String description = null; - - @ApiModelProperty(value = "") - private Date modifiedAt = null; - - @ApiModelProperty(value = "") - private UserInfo modifiedByUser = null; - - @ApiModelProperty(value = "") - private UserInfo sharedByUser = null; - - @ApiModelProperty(value = "") - private ContentInfo content = null; - - @ApiModelProperty(value = "The allowable operations for the Quickshare link itself. See allowableOperationsOnTarget for the allowable operations pertaining to the linked content node. ") - /** - * The allowable operations for the Quickshare link itself. See allowableOperationsOnTarget for the allowable operations pertaining to the linked content node. - **/ - private List allowableOperations = null; - - @ApiModelProperty(value = "The allowable operations for the content node being shared. ") - /** - * The allowable operations for the content node being shared. - **/ - private List allowableOperationsOnTarget = null; - - @ApiModelProperty(value = "") - private Boolean isFavorite = null; - - @ApiModelProperty(value = "A subset of the target node's properties, system properties and properties already available in the SharedLink are excluded. ") - /** - * A subset of the target node's properties, system properties and properties already available in the SharedLink are excluded. - **/ - private Object properties = null; - - @ApiModelProperty(value = "") - private List aspectNames = null; - - @ApiModelProperty(value = "") - private PathInfo path = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public SharedLink id(String id) { - this.id = id; - return this; - } - - /** - * Get expiresAt - * @return expiresAt - **/ - @JsonProperty("expiresAt") - public Date getExpiresAt() { - return expiresAt; - } - - public void setExpiresAt(Date expiresAt) { - this.expiresAt = expiresAt; - } - - public SharedLink expiresAt(Date expiresAt) { - this.expiresAt = expiresAt; - return this; - } - - /** - * Get nodeId - * @return nodeId - **/ - @JsonProperty("nodeId") - public String getNodeId() { - return nodeId; - } - - public void setNodeId(String nodeId) { - this.nodeId = nodeId; - } - - public SharedLink nodeId(String nodeId) { - this.nodeId = nodeId; - return this; - } - - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public SharedLink name(String name) { - this.name = name; - return this; - } - - /** - * Get title - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public SharedLink title(String title) { - this.title = title; - return this; - } - - /** - * Get description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public SharedLink description(String description) { - this.description = description; - return this; - } - - /** - * Get modifiedAt - * @return modifiedAt - **/ - @JsonProperty("modifiedAt") - public Date getModifiedAt() { - return modifiedAt; - } - - public void setModifiedAt(Date modifiedAt) { - this.modifiedAt = modifiedAt; - } - - public SharedLink modifiedAt(Date modifiedAt) { - this.modifiedAt = modifiedAt; - return this; - } - - /** - * Get modifiedByUser - * @return modifiedByUser - **/ - @JsonProperty("modifiedByUser") - public UserInfo getModifiedByUser() { - return modifiedByUser; - } - - public void setModifiedByUser(UserInfo modifiedByUser) { - this.modifiedByUser = modifiedByUser; - } - - public SharedLink modifiedByUser(UserInfo modifiedByUser) { - this.modifiedByUser = modifiedByUser; - return this; - } - - /** - * Get sharedByUser - * @return sharedByUser - **/ - @JsonProperty("sharedByUser") - public UserInfo getSharedByUser() { - return sharedByUser; - } - - public void setSharedByUser(UserInfo sharedByUser) { - this.sharedByUser = sharedByUser; - } - - public SharedLink sharedByUser(UserInfo sharedByUser) { - this.sharedByUser = sharedByUser; - return this; - } - - /** - * Get content - * @return content - **/ - @JsonProperty("content") - public ContentInfo getContent() { - return content; - } - - public void setContent(ContentInfo content) { - this.content = content; - } - - public SharedLink content(ContentInfo content) { - this.content = content; - return this; - } - - /** - * The allowable operations for the Quickshare link itself. See allowableOperationsOnTarget for the allowable operations pertaining to the linked content node. - * @return allowableOperations - **/ - @JsonProperty("allowableOperations") - public List getAllowableOperations() { - return allowableOperations; - } - - public void setAllowableOperations(List allowableOperations) { - this.allowableOperations = allowableOperations; - } - - public SharedLink allowableOperations(List allowableOperations) { - this.allowableOperations = allowableOperations; - return this; - } - - public SharedLink addAllowableOperationsItem(String allowableOperationsItem) { - this.allowableOperations.add(allowableOperationsItem); - return this; - } - - /** - * The allowable operations for the content node being shared. - * @return allowableOperationsOnTarget - **/ - @JsonProperty("allowableOperationsOnTarget") - public List getAllowableOperationsOnTarget() { - return allowableOperationsOnTarget; - } - - public void setAllowableOperationsOnTarget(List allowableOperationsOnTarget) { - this.allowableOperationsOnTarget = allowableOperationsOnTarget; - } - - public SharedLink allowableOperationsOnTarget(List allowableOperationsOnTarget) { - this.allowableOperationsOnTarget = allowableOperationsOnTarget; - return this; - } - - public SharedLink addAllowableOperationsOnTargetItem(String allowableOperationsOnTargetItem) { - this.allowableOperationsOnTarget.add(allowableOperationsOnTargetItem); - return this; - } - - /** - * Get isFavorite - * @return isFavorite - **/ - @JsonProperty("isFavorite") - public Boolean isIsFavorite() { - return isFavorite; - } - - public void setIsFavorite(Boolean isFavorite) { - this.isFavorite = isFavorite; - } - - public SharedLink isFavorite(Boolean isFavorite) { - this.isFavorite = isFavorite; - return this; - } - - /** - * A subset of the target node's properties, system properties and properties already available in the SharedLink are excluded. - * @return properties - **/ - @JsonProperty("properties") - public Object getProperties() { - return properties; - } - - public void setProperties(Object properties) { - this.properties = properties; - } - - public SharedLink properties(Object properties) { - this.properties = properties; - return this; - } - - /** - * Get aspectNames - * @return aspectNames - **/ - @JsonProperty("aspectNames") - public List getAspectNames() { - return aspectNames; - } - - public void setAspectNames(List aspectNames) { - this.aspectNames = aspectNames; - } - - public SharedLink aspectNames(List aspectNames) { - this.aspectNames = aspectNames; - return this; - } - - public SharedLink addAspectNamesItem(String aspectNamesItem) { - this.aspectNames.add(aspectNamesItem); - return this; - } - - /** - * Get path - * @return path - **/ - @JsonProperty("path") - public PathInfo getPath() { - return path; - } - - public void setPath(PathInfo path) { - this.path = path; - } - - public SharedLink path(PathInfo path) { - this.path = path; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SharedLink {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); - sb.append(" nodeId: ").append(toIndentedString(nodeId)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); - sb.append(" modifiedByUser: ").append(toIndentedString(modifiedByUser)).append("\n"); - sb.append(" sharedByUser: ").append(toIndentedString(sharedByUser)).append("\n"); - sb.append(" content: ").append(toIndentedString(content)).append("\n"); - sb.append(" allowableOperations: ").append(toIndentedString(allowableOperations)).append("\n"); - sb.append(" allowableOperationsOnTarget: ").append(toIndentedString(allowableOperationsOnTarget)).append("\n"); - sb.append(" isFavorite: ").append(toIndentedString(isFavorite)).append("\n"); - sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); - sb.append(" aspectNames: ").append(toIndentedString(aspectNames)).append("\n"); - sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyCreate.java deleted file mode 100644 index ef50f16..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyCreate.java +++ /dev/null @@ -1,74 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SharedLinkBodyCreate { - - @ApiModelProperty(required = true, value = "") - private String nodeId = null; - - @ApiModelProperty(value = "") - private Date expiresAt = null; - /** - * Get nodeId - * @return nodeId - **/ - @JsonProperty("nodeId") - public String getNodeId() { - return nodeId; - } - - public void setNodeId(String nodeId) { - this.nodeId = nodeId; - } - - public SharedLinkBodyCreate nodeId(String nodeId) { - this.nodeId = nodeId; - return this; - } - - /** - * Get expiresAt - * @return expiresAt - **/ - @JsonProperty("expiresAt") - public Date getExpiresAt() { - return expiresAt; - } - - public void setExpiresAt(Date expiresAt) { - this.expiresAt = expiresAt; - } - - public SharedLinkBodyCreate expiresAt(Date expiresAt) { - this.expiresAt = expiresAt; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SharedLinkBodyCreate {\n"); - - sb.append(" nodeId: ").append(toIndentedString(nodeId)).append("\n"); - sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyEmail.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyEmail.java deleted file mode 100644 index 3a295d7..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyEmail.java +++ /dev/null @@ -1,123 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SharedLinkBodyEmail { - - @ApiModelProperty(value = "") - private String client = null; - - @ApiModelProperty(value = "") - private String message = null; - - @ApiModelProperty(value = "") - private String locale = null; - - @ApiModelProperty(value = "") - private List recipientEmails = null; - /** - * Get client - * @return client - **/ - @JsonProperty("client") - public String getClient() { - return client; - } - - public void setClient(String client) { - this.client = client; - } - - public SharedLinkBodyEmail client(String client) { - this.client = client; - return this; - } - - /** - * Get message - * @return message - **/ - @JsonProperty("message") - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public SharedLinkBodyEmail message(String message) { - this.message = message; - return this; - } - - /** - * Get locale - * @return locale - **/ - @JsonProperty("locale") - public String getLocale() { - return locale; - } - - public void setLocale(String locale) { - this.locale = locale; - } - - public SharedLinkBodyEmail locale(String locale) { - this.locale = locale; - return this; - } - - /** - * Get recipientEmails - * @return recipientEmails - **/ - @JsonProperty("recipientEmails") - public List getRecipientEmails() { - return recipientEmails; - } - - public void setRecipientEmails(List recipientEmails) { - this.recipientEmails = recipientEmails; - } - - public SharedLinkBodyEmail recipientEmails(List recipientEmails) { - this.recipientEmails = recipientEmails; - return this; - } - - public SharedLinkBodyEmail addRecipientEmailsItem(String recipientEmailsItem) { - this.recipientEmails.add(recipientEmailsItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SharedLinkBodyEmail {\n"); - - sb.append(" client: ").append(toIndentedString(client)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); - sb.append(" recipientEmails: ").append(toIndentedString(recipientEmails)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkEntry.java deleted file mode 100644 index 8262ee7..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SharedLinkEntry { - - @ApiModelProperty(required = true, value = "") - private SharedLink entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public SharedLink getEntry() { - return entry; - } - - public void setEntry(SharedLink entry) { - this.entry = entry; - } - - public SharedLinkEntry entry(SharedLink entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SharedLinkEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPaging.java deleted file mode 100644 index fabeae2..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SharedLinkPaging { - - @ApiModelProperty(required = true, value = "") - private SharedLinkPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public SharedLinkPagingList getList() { - return _list; - } - - public void setList(SharedLinkPagingList _list) { - this._list = _list; - } - - public SharedLinkPaging _list(SharedLinkPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SharedLinkPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPagingList.java deleted file mode 100644 index 3a2b488..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SharedLinkPagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public SharedLinkPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public SharedLinkPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public SharedLinkPagingList addEntriesItem(SharedLinkEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SharedLinkPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Site.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Site.java deleted file mode 100644 index 4b01aaf..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Site.java +++ /dev/null @@ -1,258 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Site { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String guid = null; - - @ApiModelProperty(required = true, value = "") - private String title = null; - - @ApiModelProperty(value = "") - private String description = null; - - -@XmlType(name="VisibilityEnum") -@XmlEnum(String.class) -public enum VisibilityEnum { - -@XmlEnumValue("PRIVATE") PRIVATE(String.valueOf("PRIVATE")), @XmlEnumValue("MODERATED") MODERATED(String.valueOf("MODERATED")), @XmlEnumValue("PUBLIC") PUBLIC(String.valueOf("PUBLIC")); - - - private String value; - - VisibilityEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static VisibilityEnum fromValue(String v) { - for (VisibilityEnum b : VisibilityEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(required = true, value = "") - private VisibilityEnum visibility = null; - - @ApiModelProperty(value = "") - private String preset = null; - - -@XmlType(name="RoleEnum") -@XmlEnum(String.class) -public enum RoleEnum { - -@XmlEnumValue("SiteConsumer") SITECONSUMER(String.valueOf("SiteConsumer")), @XmlEnumValue("SiteCollaborator") SITECOLLABORATOR(String.valueOf("SiteCollaborator")), @XmlEnumValue("SiteContributor") SITECONTRIBUTOR(String.valueOf("SiteContributor")), @XmlEnumValue("SiteManager") SITEMANAGER(String.valueOf("SiteManager")); - - - private String value; - - RoleEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static RoleEnum fromValue(String v) { - for (RoleEnum b : RoleEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "") - private RoleEnum role = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Site id(String id) { - this.id = id; - return this; - } - - /** - * Get guid - * @return guid - **/ - @JsonProperty("guid") - public String getGuid() { - return guid; - } - - public void setGuid(String guid) { - this.guid = guid; - } - - public Site guid(String guid) { - this.guid = guid; - return this; - } - - /** - * Get title - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public Site title(String title) { - this.title = title; - return this; - } - - /** - * Get description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Site description(String description) { - this.description = description; - return this; - } - - /** - * Get visibility - * @return visibility - **/ - @JsonProperty("visibility") - public String getVisibility() { - if (visibility == null) { - return null; - } - return visibility.value(); - } - - public void setVisibility(VisibilityEnum visibility) { - this.visibility = visibility; - } - - public Site visibility(VisibilityEnum visibility) { - this.visibility = visibility; - return this; - } - - /** - * Get preset - * @return preset - **/ - @JsonProperty("preset") - public String getPreset() { - return preset; - } - - public void setPreset(String preset) { - this.preset = preset; - } - - public Site preset(String preset) { - this.preset = preset; - return this; - } - - /** - * Get role - * @return role - **/ - @JsonProperty("role") - public String getRole() { - if (role == null) { - return null; - } - return role.value(); - } - - public void setRole(RoleEnum role) { - this.role = role; - } - - public Site role(RoleEnum role) { - this.role = role; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Site {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" guid: ").append(toIndentedString(guid)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" visibility: ").append(toIndentedString(visibility)).append("\n"); - sb.append(" preset: ").append(toIndentedString(preset)).append("\n"); - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyCreate.java deleted file mode 100644 index 79412f3..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyCreate.java +++ /dev/null @@ -1,156 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteBodyCreate { - - @ApiModelProperty(value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String title = null; - - @ApiModelProperty(value = "") - private String description = null; - - -@XmlType(name="VisibilityEnum") -@XmlEnum(String.class) -public enum VisibilityEnum { - -@XmlEnumValue("PUBLIC") PUBLIC(String.valueOf("PUBLIC")), @XmlEnumValue("PRIVATE") PRIVATE(String.valueOf("PRIVATE")), @XmlEnumValue("MODERATED") MODERATED(String.valueOf("MODERATED")); - - - private String value; - - VisibilityEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static VisibilityEnum fromValue(String v) { - for (VisibilityEnum b : VisibilityEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(required = true, value = "") - private VisibilityEnum visibility = VisibilityEnum.PUBLIC; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public SiteBodyCreate id(String id) { - this.id = id; - return this; - } - - /** - * Get title - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public SiteBodyCreate title(String title) { - this.title = title; - return this; - } - - /** - * Get description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public SiteBodyCreate description(String description) { - this.description = description; - return this; - } - - /** - * Get visibility - * @return visibility - **/ - @JsonProperty("visibility") - public String getVisibility() { - if (visibility == null) { - return null; - } - return visibility.value(); - } - - public void setVisibility(VisibilityEnum visibility) { - this.visibility = visibility; - } - - public SiteBodyCreate visibility(VisibilityEnum visibility) { - this.visibility = visibility; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteBodyCreate {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" visibility: ").append(toIndentedString(visibility)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyUpdate.java deleted file mode 100644 index 5888c8c..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyUpdate.java +++ /dev/null @@ -1,134 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteBodyUpdate { - - @ApiModelProperty(value = "") - private String title = null; - - @ApiModelProperty(value = "") - private String description = null; - - -@XmlType(name="VisibilityEnum") -@XmlEnum(String.class) -public enum VisibilityEnum { - -@XmlEnumValue("PRIVATE") PRIVATE(String.valueOf("PRIVATE")), @XmlEnumValue("MODERATED") MODERATED(String.valueOf("MODERATED")), @XmlEnumValue("PUBLIC") PUBLIC(String.valueOf("PUBLIC")); - - - private String value; - - VisibilityEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static VisibilityEnum fromValue(String v) { - for (VisibilityEnum b : VisibilityEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(value = "") - private VisibilityEnum visibility = null; - /** - * Get title - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public SiteBodyUpdate title(String title) { - this.title = title; - return this; - } - - /** - * Get description - * @return description - **/ - @JsonProperty("description") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public SiteBodyUpdate description(String description) { - this.description = description; - return this; - } - - /** - * Get visibility - * @return visibility - **/ - @JsonProperty("visibility") - public String getVisibility() { - if (visibility == null) { - return null; - } - return visibility.value(); - } - - public void setVisibility(VisibilityEnum visibility) { - this.visibility = visibility; - } - - public SiteBodyUpdate visibility(VisibilityEnum visibility) { - this.visibility = visibility; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteBodyUpdate {\n"); - - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" visibility: ").append(toIndentedString(visibility)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainer.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainer.java deleted file mode 100644 index 9402345..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainer.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteContainer { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String folderId = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public SiteContainer id(String id) { - this.id = id; - return this; - } - - /** - * Get folderId - * @return folderId - **/ - @JsonProperty("folderId") - public String getFolderId() { - return folderId; - } - - public void setFolderId(String folderId) { - this.folderId = folderId; - } - - public SiteContainer folderId(String folderId) { - this.folderId = folderId; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteContainer {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" folderId: ").append(toIndentedString(folderId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerEntry.java deleted file mode 100644 index 352457b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteContainerEntry { - - @ApiModelProperty(required = true, value = "") - private SiteContainer entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public SiteContainer getEntry() { - return entry; - } - - public void setEntry(SiteContainer entry) { - this.entry = entry; - } - - public SiteContainerEntry entry(SiteContainer entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteContainerEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPaging.java deleted file mode 100644 index 8fc7144..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteContainerPaging { - - @ApiModelProperty(required = true, value = "") - private SiteContainerPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public SiteContainerPagingList getList() { - return _list; - } - - public void setList(SiteContainerPagingList _list) { - this._list = _list; - } - - public SiteContainerPaging _list(SiteContainerPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteContainerPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPagingList.java deleted file mode 100644 index d2a0297..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteContainerPagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public SiteContainerPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public SiteContainerPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public SiteContainerPagingList addEntriesItem(SiteContainerEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteContainerPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteEntry.java deleted file mode 100644 index a8eee07..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteEntry { - - @ApiModelProperty(required = true, value = "") - private Site entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Site getEntry() { - return entry; - } - - public void setEntry(Site entry) { - this.entry = entry; - } - - public SiteEntry entry(Site entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroup.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroup.java deleted file mode 100644 index 57efde0..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroup.java +++ /dev/null @@ -1,134 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteGroup { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private GroupMember group = null; - - -@XmlType(name="RoleEnum") -@XmlEnum(String.class) -public enum RoleEnum { - -@XmlEnumValue("SiteConsumer") SITECONSUMER(String.valueOf("SiteConsumer")), @XmlEnumValue("SiteCollaborator") SITECOLLABORATOR(String.valueOf("SiteCollaborator")), @XmlEnumValue("SiteContributor") SITECONTRIBUTOR(String.valueOf("SiteContributor")), @XmlEnumValue("SiteManager") SITEMANAGER(String.valueOf("SiteManager")); - - - private String value; - - RoleEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static RoleEnum fromValue(String v) { - for (RoleEnum b : RoleEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(required = true, value = "") - private RoleEnum role = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public SiteGroup id(String id) { - this.id = id; - return this; - } - - /** - * Get group - * @return group - **/ - @JsonProperty("group") - public GroupMember getGroup() { - return group; - } - - public void setGroup(GroupMember group) { - this.group = group; - } - - public SiteGroup group(GroupMember group) { - this.group = group; - return this; - } - - /** - * Get role - * @return role - **/ - @JsonProperty("role") - public String getRole() { - if (role == null) { - return null; - } - return role.value(); - } - - public void setRole(RoleEnum role) { - this.role = role; - } - - public SiteGroup role(RoleEnum role) { - this.role = role; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteGroup {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" group: ").append(toIndentedString(group)).append("\n"); - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupEntry.java deleted file mode 100644 index 45bb1a4..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteGroupEntry { - - @ApiModelProperty(required = true, value = "") - private SiteGroup entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public SiteGroup getEntry() { - return entry; - } - - public void setEntry(SiteGroup entry) { - this.entry = entry; - } - - public SiteGroupEntry entry(SiteGroup entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteGroupEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupPaging.java deleted file mode 100644 index 18c08f2..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteGroupPaging { - - @ApiModelProperty(required = true, value = "") - private SiteGroupPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public SiteGroupPagingList getList() { - return _list; - } - - public void setList(SiteGroupPagingList _list) { - this._list = _list; - } - - public SiteGroupPaging _list(SiteGroupPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteGroupPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupPagingList.java deleted file mode 100644 index cc25225..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupPagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteGroupPagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public SiteGroupPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public SiteGroupPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public SiteGroupPagingList addEntriesItem(SiteGroupEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteGroupPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMember.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMember.java deleted file mode 100644 index c182760..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMember.java +++ /dev/null @@ -1,156 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMember { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private Person person = null; - - -@XmlType(name="RoleEnum") -@XmlEnum(String.class) -public enum RoleEnum { - -@XmlEnumValue("SiteConsumer") SITECONSUMER(String.valueOf("SiteConsumer")), @XmlEnumValue("SiteCollaborator") SITECOLLABORATOR(String.valueOf("SiteCollaborator")), @XmlEnumValue("SiteContributor") SITECONTRIBUTOR(String.valueOf("SiteContributor")), @XmlEnumValue("SiteManager") SITEMANAGER(String.valueOf("SiteManager")); - - - private String value; - - RoleEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static RoleEnum fromValue(String v) { - for (RoleEnum b : RoleEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(required = true, value = "") - private RoleEnum role = null; - - @ApiModelProperty(value = "") - private Boolean isMemberOfGroup = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public SiteMember id(String id) { - this.id = id; - return this; - } - - /** - * Get person - * @return person - **/ - @JsonProperty("person") - public Person getPerson() { - return person; - } - - public void setPerson(Person person) { - this.person = person; - } - - public SiteMember person(Person person) { - this.person = person; - return this; - } - - /** - * Get role - * @return role - **/ - @JsonProperty("role") - public String getRole() { - if (role == null) { - return null; - } - return role.value(); - } - - public void setRole(RoleEnum role) { - this.role = role; - } - - public SiteMember role(RoleEnum role) { - this.role = role; - return this; - } - - /** - * Get isMemberOfGroup - * @return isMemberOfGroup - **/ - @JsonProperty("isMemberOfGroup") - public Boolean isIsMemberOfGroup() { - return isMemberOfGroup; - } - - public void setIsMemberOfGroup(Boolean isMemberOfGroup) { - this.isMemberOfGroup = isMemberOfGroup; - } - - public SiteMember isMemberOfGroup(Boolean isMemberOfGroup) { - this.isMemberOfGroup = isMemberOfGroup; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMember {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" person: ").append(toIndentedString(person)).append("\n"); - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append(" isMemberOfGroup: ").append(toIndentedString(isMemberOfGroup)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberEntry.java deleted file mode 100644 index c4d3d1d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMemberEntry { - - @ApiModelProperty(required = true, value = "") - private SiteMember entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public SiteMember getEntry() { - return entry; - } - - public void setEntry(SiteMember entry) { - this.entry = entry; - } - - public SiteMemberEntry entry(SiteMember entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMemberEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPaging.java deleted file mode 100644 index c461a35..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMemberPaging { - - @ApiModelProperty(required = true, value = "") - private SiteMemberPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public SiteMemberPagingList getList() { - return _list; - } - - public void setList(SiteMemberPagingList _list) { - this._list = _list; - } - - public SiteMemberPaging _list(SiteMemberPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMemberPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPagingList.java deleted file mode 100644 index 0b9e97b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMemberPagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public SiteMemberPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public SiteMemberPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public SiteMemberPagingList addEntriesItem(SiteMemberEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMemberPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipApprovalBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipApprovalBody.java deleted file mode 100644 index 863ac55..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipApprovalBody.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipApprovalBody { - - @ApiModelProperty(value = "") - private String role = null; - /** - * Get role - * @return role - **/ - @JsonProperty("role") - public String getRole() { - return role; - } - - public void setRole(String role) { - this.role = role; - } - - public SiteMembershipApprovalBody role(String role) { - this.role = role; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipApprovalBody {\n"); - - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyCreate.java deleted file mode 100644 index 4f8062a..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyCreate.java +++ /dev/null @@ -1,112 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipBodyCreate { - - -@XmlType(name="RoleEnum") -@XmlEnum(String.class) -public enum RoleEnum { - -@XmlEnumValue("SiteConsumer") SITECONSUMER(String.valueOf("SiteConsumer")), @XmlEnumValue("SiteCollaborator") SITECOLLABORATOR(String.valueOf("SiteCollaborator")), @XmlEnumValue("SiteContributor") SITECONTRIBUTOR(String.valueOf("SiteContributor")), @XmlEnumValue("SiteManager") SITEMANAGER(String.valueOf("SiteManager")); - - - private String value; - - RoleEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static RoleEnum fromValue(String v) { - for (RoleEnum b : RoleEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(required = true, value = "") - private RoleEnum role = null; - - @ApiModelProperty(required = true, value = "") - private String id = null; - /** - * Get role - * @return role - **/ - @JsonProperty("role") - public String getRole() { - if (role == null) { - return null; - } - return role.value(); - } - - public void setRole(RoleEnum role) { - this.role = role; - } - - public SiteMembershipBodyCreate role(RoleEnum role) { - this.role = role; - return this; - } - - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public SiteMembershipBodyCreate id(String id) { - this.id = id; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipBodyCreate {\n"); - - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyUpdate.java deleted file mode 100644 index 8000094..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyUpdate.java +++ /dev/null @@ -1,90 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipBodyUpdate { - - -@XmlType(name="RoleEnum") -@XmlEnum(String.class) -public enum RoleEnum { - -@XmlEnumValue("SiteConsumer") SITECONSUMER(String.valueOf("SiteConsumer")), @XmlEnumValue("SiteCollaborator") SITECOLLABORATOR(String.valueOf("SiteCollaborator")), @XmlEnumValue("SiteContributor") SITECONTRIBUTOR(String.valueOf("SiteContributor")), @XmlEnumValue("SiteManager") SITEMANAGER(String.valueOf("SiteManager")); - - - private String value; - - RoleEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static RoleEnum fromValue(String v) { - for (RoleEnum b : RoleEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(required = true, value = "") - private RoleEnum role = null; - /** - * Get role - * @return role - **/ - @JsonProperty("role") - public String getRole() { - if (role == null) { - return null; - } - return role.value(); - } - - public void setRole(RoleEnum role) { - this.role = role; - } - - public SiteMembershipBodyUpdate role(RoleEnum role) { - this.role = role; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipBodyUpdate {\n"); - - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRejectionBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRejectionBody.java deleted file mode 100644 index 779f20c..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRejectionBody.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipRejectionBody { - - @ApiModelProperty(value = "") - private String comment = null; - /** - * Get comment - * @return comment - **/ - @JsonProperty("comment") - public String getComment() { - return comment; - } - - public void setComment(String comment) { - this.comment = comment; - } - - public SiteMembershipRejectionBody comment(String comment) { - this.comment = comment; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipRejectionBody {\n"); - - sb.append(" comment: ").append(toIndentedString(comment)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequest.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequest.java deleted file mode 100644 index 4978789..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequest.java +++ /dev/null @@ -1,118 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipRequest { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private Date createdAt = null; - - @ApiModelProperty(required = true, value = "") - private Site site = null; - - @ApiModelProperty(value = "") - private String message = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public SiteMembershipRequest id(String id) { - this.id = id; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @JsonProperty("createdAt") - public Date getCreatedAt() { - return createdAt; - } - - public void setCreatedAt(Date createdAt) { - this.createdAt = createdAt; - } - - public SiteMembershipRequest createdAt(Date createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get site - * @return site - **/ - @JsonProperty("site") - public Site getSite() { - return site; - } - - public void setSite(Site site) { - this.site = site; - } - - public SiteMembershipRequest site(Site site) { - this.site = site; - return this; - } - - /** - * Get message - * @return message - **/ - @JsonProperty("message") - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public SiteMembershipRequest message(String message) { - this.message = message; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipRequest {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" site: ").append(toIndentedString(site)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyCreate.java deleted file mode 100644 index e394b2e..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyCreate.java +++ /dev/null @@ -1,120 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipRequestBodyCreate { - - @ApiModelProperty(value = "") - private String message = null; - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(value = "") - private String title = null; - - @ApiModelProperty(value = "Optional client name used when sending an email to the end user, defaults to \"share\" if not provided. **Note:** The client must be registered before this API can send an email. **Note:** This is available in Alfresco 7.0.0 and newer versions. ") - /** - * Optional client name used when sending an email to the end user, defaults to \"share\" if not provided. **Note:** The client must be registered before this API can send an email. **Note:** This is available in Alfresco 7.0.0 and newer versions. - **/ - private String client = null; - /** - * Get message - * @return message - **/ - @JsonProperty("message") - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public SiteMembershipRequestBodyCreate message(String message) { - this.message = message; - return this; - } - - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public SiteMembershipRequestBodyCreate id(String id) { - this.id = id; - return this; - } - - /** - * Get title - * @return title - **/ - @JsonProperty("title") - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public SiteMembershipRequestBodyCreate title(String title) { - this.title = title; - return this; - } - - /** - * Optional client name used when sending an email to the end user, defaults to \"share\" if not provided. **Note:** The client must be registered before this API can send an email. **Note:** This is available in Alfresco 7.0.0 and newer versions. - * @return client - **/ - @JsonProperty("client") - public String getClient() { - return client; - } - - public void setClient(String client) { - this.client = client; - } - - public SiteMembershipRequestBodyCreate client(String client) { - this.client = client; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipRequestBodyCreate {\n"); - - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" client: ").append(toIndentedString(client)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyUpdate.java deleted file mode 100644 index a544ca1..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyUpdate.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipRequestBodyUpdate { - - @ApiModelProperty(value = "") - private String message = null; - /** - * Get message - * @return message - **/ - @JsonProperty("message") - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public SiteMembershipRequestBodyUpdate message(String message) { - this.message = message; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipRequestBodyUpdate {\n"); - - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestEntry.java deleted file mode 100644 index 9c59abd..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipRequestEntry { - - @ApiModelProperty(required = true, value = "") - private SiteMembershipRequest entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public SiteMembershipRequest getEntry() { - return entry; - } - - public void setEntry(SiteMembershipRequest entry) { - this.entry = entry; - } - - public SiteMembershipRequestEntry entry(SiteMembershipRequest entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipRequestEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPaging.java deleted file mode 100644 index 9d705a7..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipRequestPaging { - - @ApiModelProperty(required = true, value = "") - private SiteMembershipRequestPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public SiteMembershipRequestPagingList getList() { - return _list; - } - - public void setList(SiteMembershipRequestPagingList _list) { - this._list = _list; - } - - public SiteMembershipRequestPaging _list(SiteMembershipRequestPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipRequestPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPagingList.java deleted file mode 100644 index fd84dfb..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipRequestPagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public SiteMembershipRequestPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public SiteMembershipRequestPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public SiteMembershipRequestPagingList addEntriesItem(SiteMembershipRequestEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipRequestPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPerson.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPerson.java deleted file mode 100644 index f7dfc9a..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPerson.java +++ /dev/null @@ -1,140 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipRequestWithPerson { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private Date createdAt = null; - - @ApiModelProperty(required = true, value = "") - private Site site = null; - - @ApiModelProperty(required = true, value = "") - private Person person = null; - - @ApiModelProperty(value = "") - private String message = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public SiteMembershipRequestWithPerson id(String id) { - this.id = id; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @JsonProperty("createdAt") - public Date getCreatedAt() { - return createdAt; - } - - public void setCreatedAt(Date createdAt) { - this.createdAt = createdAt; - } - - public SiteMembershipRequestWithPerson createdAt(Date createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get site - * @return site - **/ - @JsonProperty("site") - public Site getSite() { - return site; - } - - public void setSite(Site site) { - this.site = site; - } - - public SiteMembershipRequestWithPerson site(Site site) { - this.site = site; - return this; - } - - /** - * Get person - * @return person - **/ - @JsonProperty("person") - public Person getPerson() { - return person; - } - - public void setPerson(Person person) { - this.person = person; - } - - public SiteMembershipRequestWithPerson person(Person person) { - this.person = person; - return this; - } - - /** - * Get message - * @return message - **/ - @JsonProperty("message") - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public SiteMembershipRequestWithPerson message(String message) { - this.message = message; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipRequestWithPerson {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" site: ").append(toIndentedString(site)).append("\n"); - sb.append(" person: ").append(toIndentedString(person)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonEntry.java deleted file mode 100644 index 83c5fc8..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipRequestWithPersonEntry { - - @ApiModelProperty(required = true, value = "") - private SiteMembershipRequestWithPerson entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public SiteMembershipRequestWithPerson getEntry() { - return entry; - } - - public void setEntry(SiteMembershipRequestWithPerson entry) { - this.entry = entry; - } - - public SiteMembershipRequestWithPersonEntry entry(SiteMembershipRequestWithPerson entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipRequestWithPersonEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPaging.java deleted file mode 100644 index 238100b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipRequestWithPersonPaging { - - @ApiModelProperty(required = true, value = "") - private SiteMembershipRequestWithPersonPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public SiteMembershipRequestWithPersonPagingList getList() { - return _list; - } - - public void setList(SiteMembershipRequestWithPersonPagingList _list) { - this._list = _list; - } - - public SiteMembershipRequestWithPersonPaging _list(SiteMembershipRequestWithPersonPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipRequestWithPersonPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPagingList.java deleted file mode 100644 index eaae3c4..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteMembershipRequestWithPersonPagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public SiteMembershipRequestWithPersonPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public SiteMembershipRequestWithPersonPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public SiteMembershipRequestWithPersonPagingList addEntriesItem(SiteMembershipRequestWithPersonEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteMembershipRequestWithPersonPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SitePaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SitePaging.java deleted file mode 100644 index 344876e..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SitePaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SitePaging { - - @ApiModelProperty(required = true, value = "") - private SitePagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public SitePagingList getList() { - return _list; - } - - public void setList(SitePagingList _list) { - this._list = _list; - } - - public SitePaging _list(SitePagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SitePaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SitePagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SitePagingList.java deleted file mode 100644 index 7675cb9..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SitePagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SitePagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public SitePagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public SitePagingList entries(List entries) { - this.entries = entries; - return this; - } - - public SitePagingList addEntriesItem(SiteEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SitePagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRole.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRole.java deleted file mode 100644 index 03739f5..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRole.java +++ /dev/null @@ -1,156 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteRole { - - @ApiModelProperty(required = true, value = "") - private Site site = null; - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String guid = null; - - -@XmlType(name="RoleEnum") -@XmlEnum(String.class) -public enum RoleEnum { - -@XmlEnumValue("SiteConsumer") SITECONSUMER(String.valueOf("SiteConsumer")), @XmlEnumValue("SiteCollaborator") SITECOLLABORATOR(String.valueOf("SiteCollaborator")), @XmlEnumValue("SiteContributor") SITECONTRIBUTOR(String.valueOf("SiteContributor")), @XmlEnumValue("SiteManager") SITEMANAGER(String.valueOf("SiteManager")); - - - private String value; - - RoleEnum (String v) { - value = v; - } - - public String value() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static RoleEnum fromValue(String v) { - for (RoleEnum b : RoleEnum.values()) { - if (String.valueOf(b.value).equals(v)) { - return b; - } - } - return null; - } -} - - @ApiModelProperty(required = true, value = "") - private RoleEnum role = null; - /** - * Get site - * @return site - **/ - @JsonProperty("site") - public Site getSite() { - return site; - } - - public void setSite(Site site) { - this.site = site; - } - - public SiteRole site(Site site) { - this.site = site; - return this; - } - - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public SiteRole id(String id) { - this.id = id; - return this; - } - - /** - * Get guid - * @return guid - **/ - @JsonProperty("guid") - public String getGuid() { - return guid; - } - - public void setGuid(String guid) { - this.guid = guid; - } - - public SiteRole guid(String guid) { - this.guid = guid; - return this; - } - - /** - * Get role - * @return role - **/ - @JsonProperty("role") - public String getRole() { - if (role == null) { - return null; - } - return role.value(); - } - - public void setRole(RoleEnum role) { - this.role = role; - } - - public SiteRole role(RoleEnum role) { - this.role = role; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteRole {\n"); - - sb.append(" site: ").append(toIndentedString(site)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" guid: ").append(toIndentedString(guid)).append("\n"); - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRoleEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRoleEntry.java deleted file mode 100644 index 4495918..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRoleEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteRoleEntry { - - @ApiModelProperty(required = true, value = "") - private SiteRole entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public SiteRole getEntry() { - return entry; - } - - public void setEntry(SiteRole entry) { - this.entry = entry; - } - - public SiteRoleEntry entry(SiteRole entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteRoleEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePaging.java deleted file mode 100644 index 1a8cea5..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteRolePaging { - - @ApiModelProperty(required = true, value = "") - private SiteRolePagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public SiteRolePagingList getList() { - return _list; - } - - public void setList(SiteRolePagingList _list) { - this._list = _list; - } - - public SiteRolePaging _list(SiteRolePagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteRolePaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePagingList.java deleted file mode 100644 index 15c7902..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class SiteRolePagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public SiteRolePagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public SiteRolePagingList entries(List entries) { - this.entries = entries; - return this; - } - - public SiteRolePagingList addEntriesItem(SiteRoleEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SiteRolePagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/StatusInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/StatusInfo.java deleted file mode 100644 index 8a18738..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/StatusInfo.java +++ /dev/null @@ -1,117 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class StatusInfo { - - @ApiModelProperty(required = true, value = "") - private Boolean isReadOnly = false; - - @ApiModelProperty(required = true, value = "") - private Boolean isAuditEnabled = null; - - @ApiModelProperty(required = true, value = "") - private Boolean isQuickShareEnabled = null; - - @ApiModelProperty(required = true, value = "") - private Boolean isThumbnailGenerationEnabled = null; - /** - * Get isReadOnly - * @return isReadOnly - **/ - @JsonProperty("isReadOnly") - public Boolean isIsReadOnly() { - return isReadOnly; - } - - public void setIsReadOnly(Boolean isReadOnly) { - this.isReadOnly = isReadOnly; - } - - public StatusInfo isReadOnly(Boolean isReadOnly) { - this.isReadOnly = isReadOnly; - return this; - } - - /** - * Get isAuditEnabled - * @return isAuditEnabled - **/ - @JsonProperty("isAuditEnabled") - public Boolean isIsAuditEnabled() { - return isAuditEnabled; - } - - public void setIsAuditEnabled(Boolean isAuditEnabled) { - this.isAuditEnabled = isAuditEnabled; - } - - public StatusInfo isAuditEnabled(Boolean isAuditEnabled) { - this.isAuditEnabled = isAuditEnabled; - return this; - } - - /** - * Get isQuickShareEnabled - * @return isQuickShareEnabled - **/ - @JsonProperty("isQuickShareEnabled") - public Boolean isIsQuickShareEnabled() { - return isQuickShareEnabled; - } - - public void setIsQuickShareEnabled(Boolean isQuickShareEnabled) { - this.isQuickShareEnabled = isQuickShareEnabled; - } - - public StatusInfo isQuickShareEnabled(Boolean isQuickShareEnabled) { - this.isQuickShareEnabled = isQuickShareEnabled; - return this; - } - - /** - * Get isThumbnailGenerationEnabled - * @return isThumbnailGenerationEnabled - **/ - @JsonProperty("isThumbnailGenerationEnabled") - public Boolean isIsThumbnailGenerationEnabled() { - return isThumbnailGenerationEnabled; - } - - public void setIsThumbnailGenerationEnabled(Boolean isThumbnailGenerationEnabled) { - this.isThumbnailGenerationEnabled = isThumbnailGenerationEnabled; - } - - public StatusInfo isThumbnailGenerationEnabled(Boolean isThumbnailGenerationEnabled) { - this.isThumbnailGenerationEnabled = isThumbnailGenerationEnabled; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StatusInfo {\n"); - - sb.append(" isReadOnly: ").append(toIndentedString(isReadOnly)).append("\n"); - sb.append(" isAuditEnabled: ").append(toIndentedString(isAuditEnabled)).append("\n"); - sb.append(" isQuickShareEnabled: ").append(toIndentedString(isQuickShareEnabled)).append("\n"); - sb.append(" isThumbnailGenerationEnabled: ").append(toIndentedString(isThumbnailGenerationEnabled)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Tag.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Tag.java deleted file mode 100644 index db92648..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Tag.java +++ /dev/null @@ -1,96 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Tag { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(required = true, value = "") - private String tag = null; - - @ApiModelProperty(value = "") - private BigDecimal count = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Tag id(String id) { - this.id = id; - return this; - } - - /** - * Get tag - * @return tag - **/ - @JsonProperty("tag") - public String getTag() { - return tag; - } - - public void setTag(String tag) { - this.tag = tag; - } - - public Tag tag(String tag) { - this.tag = tag; - return this; - } - - /** - * Get count - * @return count - **/ - @JsonProperty("count") - public BigDecimal getCount() { - return count; - } - - public void setCount(BigDecimal count) { - this.count = count; - } - - public Tag count(BigDecimal count) { - this.count = count; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Tag {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" tag: ").append(toIndentedString(tag)).append("\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TagBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TagBody.java deleted file mode 100644 index 83a0b61..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TagBody.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class TagBody { - - @ApiModelProperty(required = true, value = "") - private String tag = null; - /** - * Get tag - * @return tag - **/ - @JsonProperty("tag") - public String getTag() { - return tag; - } - - public void setTag(String tag) { - this.tag = tag; - } - - public TagBody tag(String tag) { - this.tag = tag; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TagBody {\n"); - - sb.append(" tag: ").append(toIndentedString(tag)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TagEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TagEntry.java deleted file mode 100644 index 15a8687..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TagEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class TagEntry { - - @ApiModelProperty(required = true, value = "") - private Tag entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Tag getEntry() { - return entry; - } - - public void setEntry(Tag entry) { - this.entry = entry; - } - - public TagEntry entry(Tag entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TagEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TagPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TagPaging.java deleted file mode 100644 index 987358c..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TagPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class TagPaging { - - @ApiModelProperty(required = true, value = "") - private TagPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public TagPagingList getList() { - return _list; - } - - public void setList(TagPagingList _list) { - this._list = _list; - } - - public TagPaging _list(TagPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TagPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TagPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TagPagingList.java deleted file mode 100644 index fab8422..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TagPagingList.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class TagPagingList { - - @ApiModelProperty(required = true, value = "") - private Pagination pagination = null; - - @ApiModelProperty(required = true, value = "") - private List entries = new ArrayList(); - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public TagPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public TagPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public TagPagingList addEntriesItem(TagEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TagPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Ticket.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Ticket.java deleted file mode 100644 index b9d5c6d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Ticket.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Ticket { - - @ApiModelProperty(value = "") - private String id = null; - - @ApiModelProperty(value = "") - private String userId = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Ticket id(String id) { - this.id = id; - return this; - } - - /** - * Get userId - * @return userId - **/ - @JsonProperty("userId") - public String getUserId() { - return userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public Ticket userId(String userId) { - this.userId = userId; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Ticket {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TicketBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TicketBody.java deleted file mode 100644 index 29ebd9f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TicketBody.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class TicketBody { - - @ApiModelProperty(value = "") - private String userId = null; - - @ApiModelProperty(value = "") - private String password = null; - /** - * Get userId - * @return userId - **/ - @JsonProperty("userId") - public String getUserId() { - return userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public TicketBody userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get password - * @return password - **/ - @JsonProperty("password") - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public TicketBody password(String password) { - this.password = password; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TicketBody {\n"); - - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TicketEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TicketEntry.java deleted file mode 100644 index 449f25d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TicketEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class TicketEntry { - - @ApiModelProperty(required = true, value = "") - private Ticket entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Ticket getEntry() { - return entry; - } - - public void setEntry(Ticket entry) { - this.entry = entry; - } - - public TicketEntry entry(Ticket entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TicketEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Type.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Type.java deleted file mode 100644 index 9752c4f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Type.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Type { - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Type {\n"); - - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TypeEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TypeEntry.java deleted file mode 100644 index 3e29060..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TypeEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class TypeEntry { - - @ApiModelProperty(required = true, value = "") - private Type entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Type getEntry() { - return entry; - } - - public void setEntry(Type entry) { - this.entry = entry; - } - - public TypeEntry entry(Type entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TypeEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TypePaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TypePaging.java deleted file mode 100644 index 52e0431..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TypePaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class TypePaging { - - @ApiModelProperty(value = "") - private TypePagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public TypePagingList getList() { - return _list; - } - - public void setList(TypePagingList _list) { - this._list = _list; - } - - public TypePaging _list(TypePagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TypePaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TypePagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TypePagingList.java deleted file mode 100644 index 1228ce6..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TypePagingList.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class TypePagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public TypePagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public TypePagingList entries(List entries) { - this.entries = entries; - return this; - } - - public TypePagingList addEntriesItem(TypeEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TypePagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/UserInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/UserInfo.java deleted file mode 100644 index 047316c..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/UserInfo.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class UserInfo { - - @ApiModelProperty(required = true, value = "") - private String displayName = null; - - @ApiModelProperty(required = true, value = "") - private String id = null; - /** - * Get displayName - * @return displayName - **/ - @JsonProperty("displayName") - public String getDisplayName() { - return displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public UserInfo displayName(String displayName) { - this.displayName = displayName; - return this; - } - - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public UserInfo id(String id) { - this.id = id; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UserInfo {\n"); - - sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicket.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicket.java deleted file mode 100644 index 180aed1..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicket.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ValidTicket { - - @ApiModelProperty(value = "") - private String id = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public ValidTicket id(String id) { - this.id = id; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ValidTicket {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicketEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicketEntry.java deleted file mode 100644 index 5d31825..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicketEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class ValidTicketEntry { - - @ApiModelProperty(required = true, value = "") - private ValidTicket entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public ValidTicket getEntry() { - return entry; - } - - public void setEntry(ValidTicket entry) { - this.entry = entry; - } - - public ValidTicketEntry entry(ValidTicket entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ValidTicketEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Version.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Version.java deleted file mode 100644 index 7e23274..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Version.java +++ /dev/null @@ -1,281 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Date; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class Version { - - @ApiModelProperty(required = true, value = "") - private String id = null; - - @ApiModelProperty(value = "") - private String versionComment = null; - - @ApiModelProperty(required = true, value = "The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. ") - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - **/ - private String name = null; - - @ApiModelProperty(required = true, value = "") - private String nodeType = null; - - @ApiModelProperty(required = true, value = "") - private Boolean isFolder = null; - - @ApiModelProperty(required = true, value = "") - private Boolean isFile = null; - - @ApiModelProperty(required = true, value = "") - private Date modifiedAt = null; - - @ApiModelProperty(required = true, value = "") - private UserInfo modifiedByUser = null; - - @ApiModelProperty(value = "") - private ContentInfo content = null; - - @ApiModelProperty(value = "") - private List aspectNames = null; - - @ApiModelProperty(value = "") - private Object properties = null; - /** - * Get id - * @return id - **/ - @JsonProperty("id") - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Version id(String id) { - this.id = id; - return this; - } - - /** - * Get versionComment - * @return versionComment - **/ - @JsonProperty("versionComment") - public String getVersionComment() { - return versionComment; - } - - public void setVersionComment(String versionComment) { - this.versionComment = versionComment; - } - - public Version versionComment(String versionComment) { - this.versionComment = versionComment; - return this; - } - - /** - * The name must not contain spaces or the following special characters: * \" < > \\ / ? : and |. The character . must not be used at the end of the name. - * @return name - **/ - @JsonProperty("name") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Version name(String name) { - this.name = name; - return this; - } - - /** - * Get nodeType - * @return nodeType - **/ - @JsonProperty("nodeType") - public String getNodeType() { - return nodeType; - } - - public void setNodeType(String nodeType) { - this.nodeType = nodeType; - } - - public Version nodeType(String nodeType) { - this.nodeType = nodeType; - return this; - } - - /** - * Get isFolder - * @return isFolder - **/ - @JsonProperty("isFolder") - public Boolean isIsFolder() { - return isFolder; - } - - public void setIsFolder(Boolean isFolder) { - this.isFolder = isFolder; - } - - public Version isFolder(Boolean isFolder) { - this.isFolder = isFolder; - return this; - } - - /** - * Get isFile - * @return isFile - **/ - @JsonProperty("isFile") - public Boolean isIsFile() { - return isFile; - } - - public void setIsFile(Boolean isFile) { - this.isFile = isFile; - } - - public Version isFile(Boolean isFile) { - this.isFile = isFile; - return this; - } - - /** - * Get modifiedAt - * @return modifiedAt - **/ - @JsonProperty("modifiedAt") - public Date getModifiedAt() { - return modifiedAt; - } - - public void setModifiedAt(Date modifiedAt) { - this.modifiedAt = modifiedAt; - } - - public Version modifiedAt(Date modifiedAt) { - this.modifiedAt = modifiedAt; - return this; - } - - /** - * Get modifiedByUser - * @return modifiedByUser - **/ - @JsonProperty("modifiedByUser") - public UserInfo getModifiedByUser() { - return modifiedByUser; - } - - public void setModifiedByUser(UserInfo modifiedByUser) { - this.modifiedByUser = modifiedByUser; - } - - public Version modifiedByUser(UserInfo modifiedByUser) { - this.modifiedByUser = modifiedByUser; - return this; - } - - /** - * Get content - * @return content - **/ - @JsonProperty("content") - public ContentInfo getContent() { - return content; - } - - public void setContent(ContentInfo content) { - this.content = content; - } - - public Version content(ContentInfo content) { - this.content = content; - return this; - } - - /** - * Get aspectNames - * @return aspectNames - **/ - @JsonProperty("aspectNames") - public List getAspectNames() { - return aspectNames; - } - - public void setAspectNames(List aspectNames) { - this.aspectNames = aspectNames; - } - - public Version aspectNames(List aspectNames) { - this.aspectNames = aspectNames; - return this; - } - - public Version addAspectNamesItem(String aspectNamesItem) { - this.aspectNames.add(aspectNamesItem); - return this; - } - - /** - * Get properties - * @return properties - **/ - @JsonProperty("properties") - public Object getProperties() { - return properties; - } - - public void setProperties(Object properties) { - this.properties = properties; - } - - public Version properties(Object properties) { - this.properties = properties; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Version {\n"); - - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" versionComment: ").append(toIndentedString(versionComment)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); - sb.append(" isFolder: ").append(toIndentedString(isFolder)).append("\n"); - sb.append(" isFile: ").append(toIndentedString(isFile)).append("\n"); - sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); - sb.append(" modifiedByUser: ").append(toIndentedString(modifiedByUser)).append("\n"); - sb.append(" content: ").append(toIndentedString(content)).append("\n"); - sb.append(" aspectNames: ").append(toIndentedString(aspectNames)).append("\n"); - sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionEntry.java deleted file mode 100644 index 80482e6..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionEntry.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class VersionEntry { - - @ApiModelProperty(value = "") - private Version entry = null; - /** - * Get entry - * @return entry - **/ - @JsonProperty("entry") - public Version getEntry() { - return entry; - } - - public void setEntry(Version entry) { - this.entry = entry; - } - - public VersionEntry entry(Version entry) { - this.entry = entry; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VersionEntry {\n"); - - sb.append(" entry: ").append(toIndentedString(entry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionInfo.java deleted file mode 100644 index a9b496d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionInfo.java +++ /dev/null @@ -1,183 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class VersionInfo { - - @ApiModelProperty(required = true, value = "") - private String major = null; - - @ApiModelProperty(required = true, value = "") - private String minor = null; - - @ApiModelProperty(required = true, value = "") - private String patch = null; - - @ApiModelProperty(required = true, value = "") - private String hotfix = null; - - @ApiModelProperty(required = true, value = "") - private Integer schema = null; - - @ApiModelProperty(required = true, value = "") - private String label = null; - - @ApiModelProperty(required = true, value = "") - private String display = null; - /** - * Get major - * @return major - **/ - @JsonProperty("major") - public String getMajor() { - return major; - } - - public void setMajor(String major) { - this.major = major; - } - - public VersionInfo major(String major) { - this.major = major; - return this; - } - - /** - * Get minor - * @return minor - **/ - @JsonProperty("minor") - public String getMinor() { - return minor; - } - - public void setMinor(String minor) { - this.minor = minor; - } - - public VersionInfo minor(String minor) { - this.minor = minor; - return this; - } - - /** - * Get patch - * @return patch - **/ - @JsonProperty("patch") - public String getPatch() { - return patch; - } - - public void setPatch(String patch) { - this.patch = patch; - } - - public VersionInfo patch(String patch) { - this.patch = patch; - return this; - } - - /** - * Get hotfix - * @return hotfix - **/ - @JsonProperty("hotfix") - public String getHotfix() { - return hotfix; - } - - public void setHotfix(String hotfix) { - this.hotfix = hotfix; - } - - public VersionInfo hotfix(String hotfix) { - this.hotfix = hotfix; - return this; - } - - /** - * Get schema - * @return schema - **/ - @JsonProperty("schema") - public Integer getSchema() { - return schema; - } - - public void setSchema(Integer schema) { - this.schema = schema; - } - - public VersionInfo schema(Integer schema) { - this.schema = schema; - return this; - } - - /** - * Get label - * @return label - **/ - @JsonProperty("label") - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public VersionInfo label(String label) { - this.label = label; - return this; - } - - /** - * Get display - * @return display - **/ - @JsonProperty("display") - public String getDisplay() { - return display; - } - - public void setDisplay(String display) { - this.display = display; - } - - public VersionInfo display(String display) { - this.display = display; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VersionInfo {\n"); - - sb.append(" major: ").append(toIndentedString(major)).append("\n"); - sb.append(" minor: ").append(toIndentedString(minor)).append("\n"); - sb.append(" patch: ").append(toIndentedString(patch)).append("\n"); - sb.append(" hotfix: ").append(toIndentedString(hotfix)).append("\n"); - sb.append(" schema: ").append(toIndentedString(schema)).append("\n"); - sb.append(" label: ").append(toIndentedString(label)).append("\n"); - sb.append(" display: ").append(toIndentedString(display)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPaging.java deleted file mode 100644 index 04f0e94..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPaging.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class VersionPaging { - - @ApiModelProperty(value = "") - private VersionPagingList _list = null; - /** - * Get _list - * @return _list - **/ - @JsonProperty("list") - public VersionPagingList getList() { - return _list; - } - - public void setList(VersionPagingList _list) { - this._list = _list; - } - - public VersionPaging _list(VersionPagingList _list) { - this._list = _list; - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VersionPaging {\n"); - - sb.append(" _list: ").append(toIndentedString(_list)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPagingList.java deleted file mode 100644 index f6e5c73..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPagingList.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) -public class VersionPagingList { - - @ApiModelProperty(value = "") - private Pagination pagination = null; - - @ApiModelProperty(value = "") - private List entries = null; - /** - * Get pagination - * @return pagination - **/ - @JsonProperty("pagination") - public Pagination getPagination() { - return pagination; - } - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - public VersionPagingList pagination(Pagination pagination) { - this.pagination = pagination; - return this; - } - - /** - * Get entries - * @return entries - **/ - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - public void setEntries(List entries) { - this.entries = entries; - } - - public VersionPagingList entries(List entries) { - this.entries = entries; - return this; - } - - public VersionPagingList addEntriesItem(VersionEntry entriesItem) { - this.entries.add(entriesItem); - return this; - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VersionPagingList {\n"); - - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" entries: ").append(toIndentedString(entries)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private static String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } -} - diff --git a/src/main/java/com/inteligr8/alfresco/acs/Acs51PublicRestApi.java b/src/main/java/com/inteligr8/alfresco/acs/Acs51PublicRestApi.java new file mode 100644 index 0000000..64cc245 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/acs/Acs51PublicRestApi.java @@ -0,0 +1,72 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ +package com.inteligr8.alfresco.acs; + +import com.inteligr8.alfresco.acs.api.CommentsApi; +import com.inteligr8.alfresco.acs.api.FavoritesApi; +import com.inteligr8.alfresco.acs.api.NetworksApi; +import com.inteligr8.alfresco.acs.api.PeopleApi; +import com.inteligr8.alfresco.acs.api.RatingsApi; +import com.inteligr8.alfresco.acs.api.SitesApi; +import com.inteligr8.alfresco.acs.api.TagsApi; +import com.inteligr8.alfresco.acs.api.V0Api; + +/** + * This interface consolidates the JAX-RS APIs available in the ACS Public + * ReST API. + * + * @author brian@inteligr8.com + */ +public interface Acs51PublicRestApi { + + T getApi(Class apiClass); + + default CommentsApi getCommentsApi() { + return this.getApi(CommentsApi.class); + } + + default FavoritesApi getFavoritesApi() { + return this.getApi(FavoritesApi.class); + } + + default NetworksApi getNetworksApi() { + return this.getApi(NetworksApi.class); + } + + default PeopleApi getPeopleApi() { + return this.getApi(PeopleApi.class); + } + + default RatingsApi getRatingsApi() { + return this.getApi(RatingsApi.class); + } + + default SitesApi getSitesApi() { + return this.getApi(SitesApi.class); + } + + default TagsApi getTagsApi() { + return this.getApi(TagsApi.class); + } + + default V0Api getV0Api() { + return this.getApi(V0Api.class); + } + + default V0Api getLegacyApi() { + return this.getV0Api(); + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestCxfApi.java b/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestCxfApi.java deleted file mode 100644 index 4fc5a2e..0000000 --- a/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestCxfApi.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.inteligr8.alfresco.acs; - -import com.inteligr8.alfresco.acs.api.NodesCxfApi; - -/** - * This interface appends Apache CXF implementation specific methods to the - * JAX-RS API of the ACS Public ReST API. This is due to a lack of multi-part - * in the JAX-RS specification. - * - * @author brian@inteligr8.com - */ -public interface AcsPublicRestCxfApi extends AcsPublicRestApi { - - default NodesCxfApi getNodesExtApi() { - return this.getApi(NodesCxfApi.class); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestJerseyApi.java b/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestJerseyApi.java deleted file mode 100644 index 34249e4..0000000 --- a/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestJerseyApi.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.inteligr8.alfresco.acs; - -import com.inteligr8.alfresco.acs.api.NodesJerseyApi; - -/** - * This interface appends Jersey implementation specific methods to the - * JAX-RS API of the ACS Public ReST API. This is due to a lack of multi-part - * in the JAX-RS specification. - * - * @author brian@inteligr8.com - */ -public interface AcsPublicRestJerseyApi extends AcsPublicRestApi { - - default NodesJerseyApi getNodesExtApi() { - return this.getApi(NodesJerseyApi.class); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/acs/MapUtils.java b/src/main/java/com/inteligr8/alfresco/acs/MapUtils.java index eeb0b29..24077f0 100644 --- a/src/main/java/com/inteligr8/alfresco/acs/MapUtils.java +++ b/src/main/java/com/inteligr8/alfresco/acs/MapUtils.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs; import java.util.HashMap; diff --git a/src/main/java/com/inteligr8/alfresco/acs/api/V0Api.java b/src/main/java/com/inteligr8/alfresco/acs/api/V0Api.java index 97c734c..47423b3 100755 --- a/src/main/java/com/inteligr8/alfresco/acs/api/V0Api.java +++ b/src/main/java/com/inteligr8/alfresco/acs/api/V0Api.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.api; import java.util.List; diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/v0/AssociationInfo.java b/src/main/java/com/inteligr8/alfresco/acs/model/v0/AssociationInfo.java index 1cd3c99..9cbd574 100755 --- a/src/main/java/com/inteligr8/alfresco/acs/model/v0/AssociationInfo.java +++ b/src/main/java/com/inteligr8/alfresco/acs/model/v0/AssociationInfo.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model.v0; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/v0/ClassInfo.java b/src/main/java/com/inteligr8/alfresco/acs/model/v0/ClassInfo.java index d6fcddb..83dab99 100755 --- a/src/main/java/com/inteligr8/alfresco/acs/model/v0/ClassInfo.java +++ b/src/main/java/com/inteligr8/alfresco/acs/model/v0/ClassInfo.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model.v0; import java.util.Map; diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/v0/ConstraintInfo.java b/src/main/java/com/inteligr8/alfresco/acs/model/v0/ConstraintInfo.java index 1fcf2e2..4e6ab1b 100755 --- a/src/main/java/com/inteligr8/alfresco/acs/model/v0/ConstraintInfo.java +++ b/src/main/java/com/inteligr8/alfresco/acs/model/v0/ConstraintInfo.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model.v0; import java.util.List; diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypeInfo.java b/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypeInfo.java index 05f29d9..a2aafcf 100755 --- a/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypeInfo.java +++ b/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypeInfo.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model.v0; import java.util.List; diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypesData.java b/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypesData.java index 1245d53..5c61952 100755 --- a/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypesData.java +++ b/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypesData.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model.v0; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypesMap.java b/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypesMap.java index 6b39ff6..401ac8f 100755 --- a/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypesMap.java +++ b/src/main/java/com/inteligr8/alfresco/acs/model/v0/MimeTypesMap.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model.v0; import java.util.Collection; diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/v0/NamedObject.java b/src/main/java/com/inteligr8/alfresco/acs/model/v0/NamedObject.java index d9207dc..9344e89 100755 --- a/src/main/java/com/inteligr8/alfresco/acs/model/v0/NamedObject.java +++ b/src/main/java/com/inteligr8/alfresco/acs/model/v0/NamedObject.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model.v0; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/v0/PropertyInfo.java b/src/main/java/com/inteligr8/alfresco/acs/model/v0/PropertyInfo.java index 6c32b06..f5cee02 100755 --- a/src/main/java/com/inteligr8/alfresco/acs/model/v0/PropertyInfo.java +++ b/src/main/java/com/inteligr8/alfresco/acs/model/v0/PropertyInfo.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model.v0; import java.util.List; diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/v0/ServerData.java b/src/main/java/com/inteligr8/alfresco/acs/model/v0/ServerData.java index 76f6a82..d2008a0 100755 --- a/src/main/java/com/inteligr8/alfresco/acs/model/v0/ServerData.java +++ b/src/main/java/com/inteligr8/alfresco/acs/model/v0/ServerData.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model.v0; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/v0/ServerInfo.java b/src/main/java/com/inteligr8/alfresco/acs/model/v0/ServerInfo.java index debb556..fadff49 100755 --- a/src/main/java/com/inteligr8/alfresco/acs/model/v0/ServerInfo.java +++ b/src/main/java/com/inteligr8/alfresco/acs/model/v0/ServerInfo.java @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ package com.inteligr8.alfresco.acs.model.v0; import com.fasterxml.jackson.annotation.JsonIgnoreProperties;