From 812ef57bd64bd7668fc67c42eea67d63be880fc2 Mon Sep 17 00:00:00 2001 From: "Brian M. Long" Date: Sat, 28 Aug 2021 01:03:39 -0400 Subject: [PATCH 1/2] updated POM incl version --- .gitignore | 3 ++- pom.xml | 37 +++++++++++++++++++++++++++++++------ 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 94dae16..d064173 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ target .factorypath # Swagger Codegen -.swagger-Codegen +.swagger-codegen +.swagger-codegen-ignore diff --git a/pom.xml b/pom.xml index 96730eb..0d6a8e0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.inteligr8.alfresco acs-public-rest-api - 1.0-SNAPSHOT-v2 + 1.0-SNAPSHOT-v1-acs6 Alfresco Content Services ReST API Client for Java @@ -14,13 +14,15 @@ - https://api-explorer.alfresco.com/api-explorer + http://localhost:8080/api-explorer com.inteligr8.alfresco.acs 5.7.2 5.2.14.RELEASE 2.34 3.3.2 + + true @@ -242,7 +244,7 @@ io.swagger swagger-codegen-maven-plugin - 2.4.20 + 2.4.21 jaxrs-cxf-client ${basedir} @@ -302,6 +304,7 @@ generate + ${api.model.disabled} ${project.build.directory}/downloads/alfresco-model.yaml @@ -354,6 +357,28 @@ + + 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 + + + + @@ -385,7 +410,7 @@ inteligr8-releases - http://repos.inteligr8.com/nexus/repository/inteligr8-public + https://repos.inteligr8.com/nexus/repository/inteligr8-public @@ -396,7 +421,7 @@ inteligr8-releases - http://repos.inteligr8.com/nexus/repository/inteligr8-public + https://repos.inteligr8.com/nexus/repository/inteligr8-public - \ No newline at end of file + From 0724ee4d5bc5c6183559d877226ee8671581ebdf Mon Sep 17 00:00:00 2001 From: "Brian M. Long" Date: Sat, 28 Aug 2021 01:04:38 -0400 Subject: [PATCH 2/2] executed against ACS v6 --- .../alfresco/acs/api/AspectsApi.java | 59 ---- .../inteligr8/alfresco/acs/api/AuditApi.java | 26 +- .../alfresco/acs/api/CommentsApi.java | 4 +- .../alfresco/acs/api/DownloadsApi.java | 4 +- .../alfresco/acs/api/FavoritesApi.java | 4 +- .../inteligr8/alfresco/acs/api/GroupsApi.java | 8 +- .../inteligr8/alfresco/acs/api/NodesApi.java | 20 +- .../inteligr8/alfresco/acs/api/PeopleApi.java | 4 +- .../alfresco/acs/api/PreferencesApi.java | 2 +- .../alfresco/acs/api/QueriesApi.java | 4 +- .../alfresco/acs/api/RenditionsApi.java | 2 +- .../inteligr8/alfresco/acs/api/SearchApi.java | 2 +- .../alfresco/acs/api/SharedLinksApi.java | 8 +- .../inteligr8/alfresco/acs/api/SitesApi.java | 111 +------ .../inteligr8/alfresco/acs/api/TagsApi.java | 4 +- .../alfresco/acs/api/TrashcanApi.java | 6 +- .../inteligr8/alfresco/acs/api/TypesApi.java | 59 ---- .../alfresco/acs/api/VersionsApi.java | 98 +----- .../alfresco/acs/model/AbstractClass.java | 286 ------------------ .../acs/model/AbstractClassAssociation.java | 182 ----------- .../model/AbstractClassAssociationSource.java | 138 --------- .../alfresco/acs/model/ActionBodyExec.java | 1 + .../alfresco/acs/model/ActionDefinition.java | 1 + .../acs/model/ActionDefinitionEntry.java | 1 + .../acs/model/ActionDefinitionList.java | 1 + .../acs/model/ActionDefinitionListList.java | 1 + .../alfresco/acs/model/ActionExecResult.java | 1 + .../acs/model/ActionExecResultEntry.java | 1 + .../acs/model/ActionParameterDefinition.java | 1 + .../alfresco/acs/model/Activity.java | 16 +- .../alfresco/acs/model/ActivityEntry.java | 1 + .../alfresco/acs/model/ActivityPaging.java | 1 + .../acs/model/ActivityPagingList.java | 1 + .../inteligr8/alfresco/acs/model/Aspect.java | 25 -- .../alfresco/acs/model/AspectEntry.java | 50 --- .../alfresco/acs/model/AspectPaging.java | 50 --- .../alfresco/acs/model/AspectPagingList.java | 78 ----- .../alfresco/acs/model/Association.java | 1 + .../alfresco/acs/model/AssociationBody.java | 1 + .../alfresco/acs/model/AssociationEntry.java | 1 + .../alfresco/acs/model/AssociationInfo.java | 1 + .../alfresco/acs/model/AuditApp.java | 1 + .../alfresco/acs/model/AuditAppEntry.java | 1 + .../alfresco/acs/model/AuditAppPaging.java | 1 + .../acs/model/AuditAppPagingList.java | 1 + .../alfresco/acs/model/AuditBodyUpdate.java | 1 + .../alfresco/acs/model/AuditEntry.java | 1 + .../alfresco/acs/model/AuditEntryEntry.java | 1 + .../alfresco/acs/model/AuditEntryPaging.java | 1 + .../acs/model/AuditEntryPagingList.java | 1 + .../alfresco/acs/model/Capabilities.java | 94 ------ .../alfresco/acs/model/ChildAssociation.java | 1 + .../acs/model/ChildAssociationBody.java | 1 + .../acs/model/ChildAssociationEntry.java | 1 + .../acs/model/ChildAssociationInfo.java | 1 + .../alfresco/acs/model/ClientBody.java | 1 + .../inteligr8/alfresco/acs/model/Comment.java | 1 + .../alfresco/acs/model/CommentBody.java | 1 + .../alfresco/acs/model/CommentEntry.java | 1 + .../alfresco/acs/model/CommentPaging.java | 1 + .../alfresco/acs/model/CommentPagingList.java | 1 + .../inteligr8/alfresco/acs/model/Company.java | 1 + .../alfresco/acs/model/Constraint.java | 153 ---------- .../alfresco/acs/model/ContentInfo.java | 1 + .../alfresco/acs/model/Definition.java | 59 ---- .../acs/model/DeletedNodeBodyRestore.java | 1 + .../alfresco/acs/model/DeletedNodeEntry.java | 1 + .../acs/model/DeletedNodesPaging.java | 1 + .../acs/model/DeletedNodesPagingList.java | 1 + .../acs/model/DirectAccessUrlBodyCreate.java | 77 ----- .../alfresco/acs/model/DiscoveryEntry.java | 1 + .../alfresco/acs/model/Download.java | 1 + .../acs/model/DownloadBodyCreate.java | 1 + .../alfresco/acs/model/DownloadEntry.java | 1 + .../alfresco/acs/model/EntitlementsInfo.java | 1 + .../inteligr8/alfresco/acs/model/Error.java | 1 + .../alfresco/acs/model/ErrorError.java | 1 + .../alfresco/acs/model/Favorite.java | 2 +- .../acs/model/FavoriteBodyCreate.java | 1 + .../alfresco/acs/model/FavoriteEntry.java | 1 + .../alfresco/acs/model/FavoritePaging.java | 1 + .../acs/model/FavoritePagingList.java | 1 + .../alfresco/acs/model/FavoriteSite.java | 1 + .../acs/model/FavoriteSiteBodyCreate.java | 1 + .../alfresco/acs/model/FavoriteSiteEntry.java | 1 + .../alfresco/acs/model/GenericBucket.java | 2 +- .../acs/model/GenericBucketBucketInfo.java | 2 +- .../acs/model/GenericFacetResponse.java | 1 + .../alfresco/acs/model/GenericMetric.java | 2 +- .../inteligr8/alfresco/acs/model/Group.java | 1 + .../alfresco/acs/model/GroupBodyCreate.java | 1 + .../alfresco/acs/model/GroupBodyUpdate.java | 1 + .../alfresco/acs/model/GroupEntry.java | 1 + .../alfresco/acs/model/GroupMember.java | 1 + .../alfresco/acs/model/GroupMemberEntry.java | 1 + .../alfresco/acs/model/GroupMemberPaging.java | 1 + .../acs/model/GroupMemberPagingList.java | 1 + .../acs/model/GroupMembershipBodyCreate.java | 1 + .../alfresco/acs/model/GroupPaging.java | 1 + .../alfresco/acs/model/GroupPagingList.java | 1 + .../alfresco/acs/model/LicenseInfo.java | 1 + .../inteligr8/alfresco/acs/model/Model.java | 138 --------- .../alfresco/acs/model/ModuleInfo.java | 1 + .../alfresco/acs/model/NetworkQuota.java | 2 +- .../inteligr8/alfresco/acs/model/Node.java | 1 + .../acs/model/NodeAssociationEntry.java | 1 + .../acs/model/NodeAssociationPaging.java | 1 + .../acs/model/NodeAssociationPagingList.java | 1 + .../alfresco/acs/model/NodeBodyCopy.java | 1 + .../alfresco/acs/model/NodeBodyCreate.java | 23 +- .../acs/model/NodeBodyCreateAssociation.java | 1 + .../alfresco/acs/model/NodeBodyLock.java | 1 + .../alfresco/acs/model/NodeBodyMove.java | 1 + .../alfresco/acs/model/NodeBodyUpdate.java | 15 +- .../acs/model/NodeChildAssociationEntry.java | 1 + .../acs/model/NodeChildAssociationPaging.java | 1 + .../model/NodeChildAssociationPagingList.java | 1 + .../alfresco/acs/model/NodeEntry.java | 1 + .../alfresco/acs/model/NodePaging.java | 1 + .../alfresco/acs/model/NodePagingList.java | 1 + .../alfresco/acs/model/Pagination.java | 17 +- .../alfresco/acs/model/PasswordResetBody.java | 1 + .../alfresco/acs/model/PathElement.java | 1 + .../alfresco/acs/model/PathInfo.java | 1 + .../alfresco/acs/model/PermissionElement.java | 1 + .../alfresco/acs/model/PermissionsBody.java | 1 + .../alfresco/acs/model/PermissionsInfo.java | 1 + .../inteligr8/alfresco/acs/model/Person.java | 9 +- .../alfresco/acs/model/PersonBodyCreate.java | 1 + .../alfresco/acs/model/PersonBodyUpdate.java | 1 + .../alfresco/acs/model/PersonEntry.java | 1 + .../alfresco/acs/model/PersonNetwork.java | 2 +- .../acs/model/PersonNetworkEntry.java | 1 + .../acs/model/PersonNetworkPaging.java | 1 + .../acs/model/PersonNetworkPagingList.java | 1 + .../alfresco/acs/model/PersonPaging.java | 1 + .../alfresco/acs/model/PersonPagingList.java | 1 + .../alfresco/acs/model/Preference.java | 2 +- .../alfresco/acs/model/PreferenceEntry.java | 1 + .../alfresco/acs/model/PreferencePaging.java | 1 + .../acs/model/PreferencePagingList.java | 1 + .../alfresco/acs/model/ProbeEntry.java | 1 + .../alfresco/acs/model/ProbeEntryEntry.java | 1 + .../alfresco/acs/model/Property.java | 281 ----------------- .../inteligr8/alfresco/acs/model/Rating.java | 2 +- .../alfresco/acs/model/RatingAggregate.java | 1 + .../alfresco/acs/model/RatingBody.java | 1 + .../alfresco/acs/model/RatingEntry.java | 1 + .../alfresco/acs/model/RatingPaging.java | 1 + .../alfresco/acs/model/RatingPagingList.java | 1 + .../alfresco/acs/model/Rendition.java | 1 + .../acs/model/RenditionBodyCreate.java | 1 + .../alfresco/acs/model/RenditionEntry.java | 1 + .../alfresco/acs/model/RenditionPaging.java | 1 + .../acs/model/RenditionPagingList.java | 1 + .../alfresco/acs/model/RepositoryEntry.java | 1 + .../alfresco/acs/model/RepositoryInfo.java | 1 + .../alfresco/acs/model/RequestDefaults.java | 2 +- .../alfresco/acs/model/RequestFacetField.java | 2 +- .../acs/model/RequestFacetFields.java | 2 +- .../acs/model/RequestFacetIntervals.java | 2 +- .../model/RequestFacetIntervalsIntervals.java | 1 + .../acs/model/RequestFacetQueriesInner.java | 1 + .../alfresco/acs/model/RequestFacetSet.java | 2 +- .../acs/model/RequestFilterQueriesInner.java | 1 + .../alfresco/acs/model/RequestHighlight.java | 2 +- .../acs/model/RequestHighlightFields.java | 1 + .../alfresco/acs/model/RequestLimits.java | 2 +- .../acs/model/RequestLocalization.java | 2 +- .../alfresco/acs/model/RequestPagination.java | 1 + .../alfresco/acs/model/RequestPivot.java | 2 +- .../alfresco/acs/model/RequestQuery.java | 2 +- .../alfresco/acs/model/RequestRange.java | 2 +- .../alfresco/acs/model/RequestScope.java | 2 +- .../acs/model/RequestSortDefinitionInner.java | 1 + .../alfresco/acs/model/RequestSpellcheck.java | 2 +- .../alfresco/acs/model/RequestStats.java | 2 +- .../acs/model/RequestTemplatesInner.java | 1 + .../acs/model/ResponseConsistency.java | 2 +- .../alfresco/acs/model/ResultBuckets.java | 1 + .../acs/model/ResultBucketsBuckets.java | 1 + .../alfresco/acs/model/ResultSetContext.java | 2 +- .../model/ResultSetContextFacetQueries.java | 1 + .../acs/model/ResultSetContextSpellcheck.java | 1 + .../alfresco/acs/model/ResultSetPaging.java | 2 +- .../acs/model/ResultSetPagingList.java | 1 + .../alfresco/acs/model/ResultSetRowEntry.java | 2 +- .../alfresco/acs/model/RevertBody.java | 1 + .../alfresco/acs/model/SearchEntry.java | 1 + .../acs/model/SearchEntryHighlight.java | 1 + .../alfresco/acs/model/SearchRequest.java | 1 + .../alfresco/acs/model/SharedLink.java | 29 +- .../acs/model/SharedLinkBodyCreate.java | 1 + .../acs/model/SharedLinkBodyEmail.java | 1 + .../alfresco/acs/model/SharedLinkEntry.java | 1 + .../alfresco/acs/model/SharedLinkPaging.java | 1 + .../acs/model/SharedLinkPagingList.java | 1 + .../inteligr8/alfresco/acs/model/Site.java | 1 + .../alfresco/acs/model/SiteBodyCreate.java | 1 + .../alfresco/acs/model/SiteBodyUpdate.java | 1 + .../alfresco/acs/model/SiteContainer.java | 1 + .../acs/model/SiteContainerEntry.java | 1 + .../acs/model/SiteContainerPaging.java | 1 + .../acs/model/SiteContainerPagingList.java | 1 + .../alfresco/acs/model/SiteEntry.java | 1 + .../alfresco/acs/model/SiteGroup.java | 133 -------- .../alfresco/acs/model/SiteGroupEntry.java | 50 --- .../alfresco/acs/model/SiteGroupPaging.java | 50 --- .../acs/model/SiteGroupPagingList.java | 79 ----- .../alfresco/acs/model/SiteMember.java | 23 +- .../alfresco/acs/model/SiteMemberEntry.java | 1 + .../alfresco/acs/model/SiteMemberPaging.java | 1 + .../acs/model/SiteMemberPagingList.java | 1 + .../acs/model/SiteMembershipApprovalBody.java | 1 + .../acs/model/SiteMembershipBodyCreate.java | 1 + .../acs/model/SiteMembershipBodyUpdate.java | 1 + .../model/SiteMembershipRejectionBody.java | 1 + .../acs/model/SiteMembershipRequest.java | 1 + .../SiteMembershipRequestBodyCreate.java | 26 +- .../SiteMembershipRequestBodyUpdate.java | 1 + .../acs/model/SiteMembershipRequestEntry.java | 1 + .../model/SiteMembershipRequestPaging.java | 1 + .../SiteMembershipRequestPagingList.java | 1 + .../SiteMembershipRequestWithPerson.java | 1 + .../SiteMembershipRequestWithPersonEntry.java | 1 + ...SiteMembershipRequestWithPersonPaging.java | 1 + ...MembershipRequestWithPersonPagingList.java | 1 + .../alfresco/acs/model/SitePaging.java | 1 + .../alfresco/acs/model/SitePagingList.java | 1 + .../alfresco/acs/model/SiteRole.java | 1 + .../alfresco/acs/model/SiteRoleEntry.java | 1 + .../alfresco/acs/model/SiteRolePaging.java | 1 + .../acs/model/SiteRolePagingList.java | 1 + .../alfresco/acs/model/StatusInfo.java | 1 + .../com/inteligr8/alfresco/acs/model/Tag.java | 24 +- .../inteligr8/alfresco/acs/model/TagBody.java | 1 + .../alfresco/acs/model/TagEntry.java | 1 + .../alfresco/acs/model/TagPaging.java | 1 + .../alfresco/acs/model/TagPagingList.java | 1 + .../inteligr8/alfresco/acs/model/Ticket.java | 1 + .../alfresco/acs/model/TicketBody.java | 1 + .../alfresco/acs/model/TicketEntry.java | 1 + .../inteligr8/alfresco/acs/model/Type.java | 25 -- .../alfresco/acs/model/TypeEntry.java | 50 --- .../alfresco/acs/model/TypePaging.java | 50 --- .../alfresco/acs/model/TypePagingList.java | 78 ----- .../alfresco/acs/model/UserInfo.java | 1 + .../alfresco/acs/model/ValidTicket.java | 1 + .../alfresco/acs/model/ValidTicketEntry.java | 1 + .../inteligr8/alfresco/acs/model/Version.java | 7 +- .../alfresco/acs/model/VersionEntry.java | 1 + .../alfresco/acs/model/VersionInfo.java | 1 + .../alfresco/acs/model/VersionPaging.java | 1 + .../alfresco/acs/model/VersionPagingList.java | 1 + .../alfresco/acs/AcsPublicRestApi.java | 10 +- .../acs/model/NodeBodyCreateFile.java | 28 ++ 256 files changed, 333 insertions(+), 2676 deletions(-) delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/api/AspectsApi.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/api/TypesApi.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClass.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClassAssociation.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClassAssociationSource.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/Aspect.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/AspectEntry.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/AspectPaging.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/AspectPagingList.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/Capabilities.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/Constraint.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/Definition.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/DirectAccessUrlBodyCreate.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/Model.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/Property.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroup.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupEntry.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupPaging.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupPagingList.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/Type.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/TypeEntry.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/TypePaging.java delete mode 100644 src/gen/java/com/inteligr8/alfresco/acs/model/TypePagingList.java create mode 100644 src/main/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateFile.java 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 index 7574896..f251aa6 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/AuditApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/AuditApi.java @@ -26,7 +26,7 @@ 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. + * **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 @@ -68,7 +68,7 @@ public interface AuditApi { /** * 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. + * **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 @@ -99,10 +99,10 @@ public interface AuditApi { @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 = 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 = 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); @@ -120,7 +120,7 @@ public interface AuditApi { @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 = 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"), @@ -130,7 +130,7 @@ public interface AuditApi { /** * 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. + * **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 @@ -140,18 +140,18 @@ public interface AuditApi { @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 = 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 = 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); + public AuditEntryPaging listAuditEntriesForAuditApp(@PathParam("auditApplicationId") String auditApplicationId, @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); /** * 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. + * **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 @@ -161,10 +161,10 @@ public interface AuditApi { @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 = 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 = 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); @@ -172,7 +172,7 @@ public interface AuditApi { /** * 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. + * **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 diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/CommentsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/CommentsApi.java index 4313e7d..bfe3c7b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/CommentsApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/CommentsApi.java @@ -24,7 +24,7 @@ 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\": { ... } } ] } } ``` + * 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 @@ -76,7 +76,7 @@ public interface CommentsApi { @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 = 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 "), diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/DownloadsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/DownloadsApi.java index 7516efa..ecf7ea8 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/DownloadsApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/DownloadsApi.java @@ -23,7 +23,7 @@ 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. + * **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 @@ -42,7 +42,7 @@ public interface DownloadsApi { /** * 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 + * **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 diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/FavoritesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/FavoritesApi.java index 945c848..372ca3b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/FavoritesApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/FavoritesApi.java @@ -28,7 +28,7 @@ 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\": { ... } } ] } } ``` + * 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 @@ -48,7 +48,7 @@ public interface FavoritesApi { /** * 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\": { ... } } ] } } ``` + * **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 diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/GroupsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/GroupsApi.java index 4f23716..fdd9adf 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/GroupsApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/GroupsApi.java @@ -28,7 +28,7 @@ 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. + * **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 @@ -70,7 +70,7 @@ public interface GroupsApi { /** * 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. + * **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 @@ -151,7 +151,7 @@ public interface GroupsApi { /** * 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 + * **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 @@ -170,7 +170,7 @@ public interface GroupsApi { /** * 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 + * **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***. 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 of the following fields in the **orderBy** parameter: * id * displayName * */ @GET diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/NodesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/NodesApi.java index 75f5dd1..ae43fe5 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/NodesApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/NodesApi.java @@ -79,7 +79,7 @@ public interface NodesApi { /** * 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> + * **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. **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\": { ... } } ] } } ``` * */ @POST @@ -99,12 +99,12 @@ public interface NodesApi { @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); + public NodeEntry createNode(@PathParam("nodeId") String nodeId, NodeBodyCreate nodeBodyCreate, @QueryParam("autoRename")Boolean autoRename, @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\": { ... } } ] } } ``` + * **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 @@ -126,7 +126,7 @@ public interface NodesApi { /** * 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. + * **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 @@ -146,7 +146,7 @@ public interface NodesApi { /** * 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. + * **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 @@ -167,7 +167,7 @@ public interface NodesApi { /** * 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. + * **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 @@ -177,7 +177,7 @@ public interface NodesApi { @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 = 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)"), @@ -230,7 +230,7 @@ public interface NodesApi { /** * 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 + * **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 @@ -330,7 +330,7 @@ public interface NodesApi { /** * 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. + * **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 @@ -416,7 +416,7 @@ public interface NodesApi { /** * 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. + * **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 diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/PeopleApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/PeopleApi.java index 0daf036..488d271 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/PeopleApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/PeopleApi.java @@ -69,7 +69,7 @@ public interface PeopleApi { /** * 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. + * **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 @@ -157,7 +157,7 @@ public interface PeopleApi { /** * 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. + * **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 diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/PreferencesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/PreferencesApi.java index 11eabef..1bfbda7 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/PreferencesApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/PreferencesApi.java @@ -42,7 +42,7 @@ public interface PreferencesApi { /** * 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. + * 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 diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/QueriesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/QueriesApi.java index a6ca453..2dd9ff8 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/QueriesApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/QueriesApi.java @@ -43,7 +43,7 @@ public interface QueriesApi { /** * 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 + * **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 @@ -61,7 +61,7 @@ public interface QueriesApi { /** * 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 + * **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 diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/RenditionsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/RenditionsApi.java index 63b3080..094f271 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/RenditionsApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/RenditionsApi.java @@ -91,7 +91,7 @@ public interface RenditionsApi { /** * 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') ``` + * **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 diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/SearchApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/SearchApi.java index bfa1bbf..78dff64 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/SearchApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/SearchApi.java @@ -22,7 +22,7 @@ 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). + * **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\" ] } ] }, ``` * */ @POST diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/SharedLinksApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/SharedLinksApi.java index 028c7f6..fd89cef 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/SharedLinksApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/SharedLinksApi.java @@ -29,7 +29,7 @@ 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\": { ... } } ] } } ``` + * **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 @@ -133,7 +133,7 @@ public interface SharedLinksApi { /** * 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. + * **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 @@ -174,7 +174,7 @@ public interface SharedLinksApi { /** * 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. + * **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 @@ -203,7 +203,7 @@ public interface SharedLinksApi { @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 = 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) }) diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/SitesApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/SitesApi.java index c16d73f..2c4c07a 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/SitesApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/SitesApi.java @@ -6,8 +6,6 @@ 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; @@ -63,7 +61,7 @@ public interface SitesApi { /** * 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. + * **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 @@ -73,37 +71,16 @@ public interface SitesApi { @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 = 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\": { ... } } ] } } ``` + * 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 @@ -124,7 +101,7 @@ public interface SitesApi { /** * 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\": { ... } } ] } } ``` + * 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 @@ -159,25 +136,6 @@ public interface SitesApi { @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 * @@ -269,24 +227,6 @@ public interface SitesApi { @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 * @@ -378,25 +318,6 @@ public interface SitesApi { @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 * @@ -433,7 +354,7 @@ public interface SitesApi { @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); + public SiteMemberPaging listSiteMemberships(@PathParam("siteId") String siteId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List fields); /** * List site memberships @@ -496,7 +417,7 @@ public interface SitesApi { /** * 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. + * **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 @@ -513,26 +434,6 @@ public interface SitesApi { @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 * diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/TagsApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/TagsApi.java index a35ff8c..4203249 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/TagsApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/TagsApi.java @@ -24,7 +24,7 @@ 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\": { ... } } ] } } ``` + * 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 @@ -37,7 +37,7 @@ public interface TagsApi { @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 = 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); diff --git a/src/gen/java/com/inteligr8/alfresco/acs/api/TrashcanApi.java b/src/gen/java/com/inteligr8/alfresco/acs/api/TrashcanApi.java index a8664f6..879df75 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/TrashcanApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/TrashcanApi.java @@ -39,7 +39,7 @@ public interface TrashcanApi { @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 = 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 "), @@ -173,7 +173,7 @@ public interface TrashcanApi { /** * 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. + * **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 @@ -183,7 +183,7 @@ public interface TrashcanApi { @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 = 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 "), 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 index 4ce0660..4df8a87 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/api/VersionsApi.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/api/VersionsApi.java @@ -1,9 +1,6 @@ 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; @@ -26,32 +23,10 @@ import javax.ws.rs.*; @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. + * **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 @@ -61,7 +36,7 @@ public interface VersionsApi { @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 = 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 "), @@ -112,53 +87,10 @@ public interface VersionsApi { @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. + * **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 @@ -168,33 +100,13 @@ public interface VersionsApi { @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 = 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 * @@ -208,7 +120,7 @@ public interface VersionsApi { @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 = 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 "), 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 186e512..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClass.java +++ /dev/null @@ -1,286 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -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 33edd21..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClassAssociation.java +++ /dev/null @@ -1,182 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -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 abc4c9a..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AbstractClassAssociationSource.java +++ /dev/null @@ -1,138 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -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 index 6b7b757..cb2b874 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionBodyExec.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionBodyExec.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinition.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinition.java index feb4420..5c9d953 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinition.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinition.java @@ -5,6 +5,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionEntry.java index b2512bd..1ae0742 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionList.java index 3e84d75..b1f7181 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionList.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionListList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionListList.java index ebe4b5c..7fd21fd 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionListList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionDefinitionListList.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResult.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResult.java index fbc2ec4..e98d7d6 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResult.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResult.java @@ -3,6 +3,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResultEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResultEntry.java index bf10d18..0d551b7 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResultEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionExecResultEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionParameterDefinition.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionParameterDefinition.java index 739dd18..a100228 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActionParameterDefinition.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ActionParameterDefinition.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Activity.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Activity.java index f3c7ef6..6c8db0b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Activity.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Activity.java @@ -4,12 +4,11 @@ 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. ") +@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") @@ -46,7 +45,7 @@ public class Activity { /** * An object summarizing the activity **/ - private Map activitySummary = null; + private Object activitySummary = null; @ApiModelProperty(required = true, value = "The type of the activity posted") /** @@ -148,24 +147,19 @@ public class Activity { * @return activitySummary **/ @JsonProperty("activitySummary") - public Map getActivitySummary() { + public Object getActivitySummary() { return activitySummary; } - public void setActivitySummary(Map activitySummary) { + public void setActivitySummary(Object activitySummary) { this.activitySummary = activitySummary; } - public Activity activitySummary(Map activitySummary) { + public Activity activitySummary(Object 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 diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityEntry.java index 3e93b01..55e2069 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPaging.java index 327c19d..a387fb5 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPagingList.java index c3a1753..aaa7b04 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ActivityPagingList.java @@ -5,6 +5,7 @@ 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 = "") 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 1998ed4..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Aspect.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -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 37b938d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AspectEntry.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 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 e854487..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AspectPaging.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 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 bc26896..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AspectPagingList.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.List; - -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 index 4d5c0e3..c6168c3 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Association.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Association.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationBody.java index f7b3632..8abb8fd 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationBody.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationEntry.java index 3c24010..0fcb22e 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationInfo.java index 7fa0bd6..a430645 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AssociationInfo.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditApp.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditApp.java index d06cfc8..c26bd11 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditApp.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditApp.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppEntry.java index 3979620..b79f786 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPaging.java index 372034f..5c37dd1 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPagingList.java index 63f0efc..35826c4 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditAppPagingList.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditBodyUpdate.java index 5c30351..98fee19 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditBodyUpdate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditBodyUpdate.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntry.java index 14a6720..0c69f36 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntry.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryEntry.java index da78e72..0ae9cea 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPaging.java index 40d7b09..4d28576 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPagingList.java index 5170f27..a06c2ec 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntryPagingList.java @@ -4,6 +4,7 @@ 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 = "") 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 3f4bb29..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Capabilities.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -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 index 689b94c..0de587b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociation.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociation.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationBody.java index 80d81d2..a90662b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationBody.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationEntry.java index 805f6ea..319f454 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationInfo.java index 03ed496..5356afe 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationInfo.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ClientBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ClientBody.java index 08c463f..84dd802 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ClientBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ClientBody.java @@ -3,6 +3,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Comment.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Comment.java index 77a0543..797abe3 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Comment.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Comment.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentBody.java index 94abd28..e243d90 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentBody.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentEntry.java index dfd59e1..1ebcae8 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPaging.java index ee0b23d..74601d0 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPagingList.java index cbefc8a..30c9218 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/CommentPagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Company.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Company.java index afec853..c62b4b8 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Company.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Company.java @@ -3,6 +3,7 @@ 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 = "") 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 89d08d0..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Constraint.java +++ /dev/null @@ -1,153 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.Map; - -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 index 545e07b..1876b5b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ContentInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ContentInfo.java @@ -3,6 +3,7 @@ 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 = "") 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 25e5e7f..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Definition.java +++ /dev/null @@ -1,59 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; -import java.util.List; - -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/DeletedNodeBodyRestore.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeBodyRestore.java index 7d5d642..e02e8f6 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeBodyRestore.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeBodyRestore.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeEntry.java index 908d2b0..de5b96f 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodeEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPaging.java index f59da33..847a9dc 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPagingList.java index f0a154a..320b367 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/DeletedNodesPagingList.java @@ -4,6 +4,7 @@ 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 = "") 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 2eb6a58..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DirectAccessUrlBodyCreate.java +++ /dev/null @@ -1,77 +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 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 index d27b42d..09e15ec 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DiscoveryEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/DiscoveryEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Download.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Download.java index a63cc64..740e593 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Download.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Download.java @@ -6,6 +6,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadBodyCreate.java index 6aaa31b..b348d5c 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadBodyCreate.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadEntry.java index 3120f0f..ebaf845 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/DownloadEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/EntitlementsInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/EntitlementsInfo.java index 362b6c3..4c70acb 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/EntitlementsInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/EntitlementsInfo.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Error.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Error.java index a6e76c8..bfc6632 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Error.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Error.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ErrorError.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ErrorError.java index be63a7d..b0c141e 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ErrorError.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ErrorError.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Favorite.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Favorite.java index 55af2f7..651aa35 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Favorite.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Favorite.java @@ -8,7 +8,7 @@ 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. ") +@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.") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteBodyCreate.java index 854789c..84b4766 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteBodyCreate.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteEntry.java index 315c7ff..ce55a31 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePaging.java index c86eded..2d2e456 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePagingList.java index 16301fe..909a87d 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoritePagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSite.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSite.java index 74c0774..d967a10 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSite.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSite.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteBodyCreate.java index d45e159..a81b918 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteBodyCreate.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteEntry.java index 8d38388..9f4e71d 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/FavoriteSiteEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucket.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucket.java index 6b16127..c37e7c9 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucket.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucket.java @@ -8,7 +8,7 @@ import java.util.List; /** * A bucket of facet results **/ -@ApiModel(description="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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucketBucketInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucketBucketInfo.java index f32d1f1..fe511f5 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucketBucketInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericBucketBucketInfo.java @@ -7,7 +7,7 @@ import io.swagger.annotations.ApiModelProperty; /** * Additional information of nested facet **/ -@ApiModel(description="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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericFacetResponse.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericFacetResponse.java index 57a915a..31e21d9 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericFacetResponse.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericFacetResponse.java @@ -4,6 +4,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericMetric.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericMetric.java index 5155a22..7e65e51 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GenericMetric.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GenericMetric.java @@ -7,7 +7,7 @@ import io.swagger.annotations.ApiModelProperty; /** * A metric used in faceting **/ -@ApiModel(description="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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Group.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Group.java index 2956e73..40e53e8 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Group.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Group.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyCreate.java index d2f8c0a..4d7028f 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyCreate.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyUpdate.java index db16a8d..0a07171 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyUpdate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupBodyUpdate.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupEntry.java index 5e6dab9..74853ec 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMember.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMember.java index 169a495..b38dc48 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMember.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMember.java @@ -6,6 +6,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberEntry.java index 76d9a18..198bc7a 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPaging.java index 1524d19..5630d35 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPagingList.java index e29c997..b876e8c 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMemberPagingList.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMembershipBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMembershipBodyCreate.java index 184e039..8b19a9d 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMembershipBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupMembershipBodyCreate.java @@ -6,6 +6,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPaging.java index b7a5835..94ebb78 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPagingList.java index 4edfc8b..4670dfa 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/GroupPagingList.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/LicenseInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/LicenseInfo.java index 16e8317..4f4d138 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/LicenseInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/LicenseInfo.java @@ -4,6 +4,7 @@ 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 = "") 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 85def94..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Model.java +++ /dev/null @@ -1,138 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -import com.fasterxml.jackson.annotation.JsonProperty; -import io.swagger.annotations.ApiModelProperty; - -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 index 7c17a2a..49377dd 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ModuleInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ModuleInfo.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NetworkQuota.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NetworkQuota.java index abe3070..c3d21fa 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NetworkQuota.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NetworkQuota.java @@ -7,7 +7,7 @@ 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 ") +@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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Node.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Node.java index c18f856..ae6e357 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Node.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Node.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationEntry.java index 30ed8ed..5119aff 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPaging.java index ed50a6f..069efcf 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPagingList.java index 29678a0..276344d 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeAssociationPagingList.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCopy.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCopy.java index e12e98e..d747b6b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCopy.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCopy.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreate.java index 3e57dea..1dc0829 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreate.java @@ -4,6 +4,7 @@ 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. ") @@ -24,9 +25,6 @@ public class NodeBodyCreate { @ApiModelProperty(value = "") private PermissionsBody permissions = null; - @ApiModelProperty(value = "") - private Definition definition = null; - @ApiModelProperty(value = "") private String relativePath = null; @@ -133,24 +131,6 @@ public class NodeBodyCreate { 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 @@ -244,7 +224,6 @@ public class NodeBodyCreate { 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"); diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateAssociation.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateAssociation.java index 55b79e9..d693e1b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateAssociation.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateAssociation.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyLock.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyLock.java index 3008b07..129496b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyLock.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyLock.java @@ -6,6 +6,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyMove.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyMove.java index 99ef5ff..444901a 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyMove.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyMove.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyUpdate.java index ec66c42..3040f79 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyUpdate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeBodyUpdate.java @@ -3,8 +3,8 @@ 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. ") @@ -20,7 +20,7 @@ public class NodeBodyUpdate { private List aspectNames = null; @ApiModelProperty(value = "") - private Map properties = null; + private Object properties = null; @ApiModelProperty(value = "") private PermissionsBody permissions = null; @@ -88,24 +88,19 @@ public class NodeBodyUpdate { * @return properties **/ @JsonProperty("properties") - public Map getProperties() { + public Object getProperties() { return properties; } - public void setProperties(Map properties) { + public void setProperties(Object properties) { this.properties = properties; } - public NodeBodyUpdate properties(Map properties) { + public NodeBodyUpdate properties(Object properties) { this.properties = properties; return this; } - public NodeBodyUpdate putPropertiesItem(String key, String propertiesItem) { - this.properties.put(key, propertiesItem); - return this; - } - /** * Get permissions * @return permissions diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationEntry.java index 2e73365..ebd19d5 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPaging.java index 85b707e..2aa3867 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPagingList.java index 6642f9f..b15892a 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeChildAssociationPagingList.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeEntry.java index 7403012..c8f5b04 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodeEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodeEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodePaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodePaging.java index d5f76cb..dd53185 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodePaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodePaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/NodePagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/NodePagingList.java index 50d69ac..1f15094 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/NodePagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/NodePagingList.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Pagination.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Pagination.java index cf85c0d..f6e7eb8 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Pagination.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Pagination.java @@ -3,15 +3,16 @@ 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. ") + @ApiModelProperty(required = true, 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. ") + @ApiModelProperty(required = true, 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. **/ @@ -23,15 +24,15 @@ public class Pagination { **/ 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. ") + @ApiModelProperty(required = true, value = "An integer describing how many entities exist in the collection before those included in this list. ") /** - * 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. **/ 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. ") + @ApiModelProperty(required = true, value = "The value of the **maxItems** parameter used to generate this list, or if there was no **maxItems** parameter 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. + * The value of the **maxItems** parameter used to generate this list, or if there was no **maxItems** parameter the default value is 100 **/ private Long maxItems = null; /** @@ -89,7 +90,7 @@ public class Pagination { } /** - * 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. * @return skipCount **/ @JsonProperty("skipCount") @@ -107,7 +108,7 @@ public class Pagination { } /** - * 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, or if there was no **maxItems** parameter the default value is 100 * @return maxItems **/ @JsonProperty("maxItems") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PasswordResetBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PasswordResetBody.java index 49f3b75..de8c3bd 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PasswordResetBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PasswordResetBody.java @@ -3,6 +3,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PathElement.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PathElement.java index d003a4b..e16b9fe 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PathElement.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PathElement.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PathInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PathInfo.java index ef274fb..a3810bb 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PathInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PathInfo.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionElement.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionElement.java index 9ef4e72..bf35fc1 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionElement.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionElement.java @@ -6,6 +6,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsBody.java index 6b1f06d..6caa766 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsBody.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsInfo.java index 8fb2193..1e84882 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PermissionsInfo.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Person.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Person.java index f8484c4..3e53361 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Person.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Person.java @@ -5,6 +5,7 @@ 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 = "") @@ -71,7 +72,7 @@ public class Person { private Object properties = null; @ApiModelProperty(value = "") - private Capabilities capabilities = null; + private Object capabilities = null; /** * Get id * @return id @@ -460,15 +461,15 @@ public class Person { * @return capabilities **/ @JsonProperty("capabilities") - public Capabilities getCapabilities() { + public Object getCapabilities() { return capabilities; } - public void setCapabilities(Capabilities capabilities) { + public void setCapabilities(Object capabilities) { this.capabilities = capabilities; } - public Person capabilities(Capabilities capabilities) { + public Person capabilities(Object capabilities) { this.capabilities = capabilities; return this; } diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyCreate.java index 65142a6..b8736d5 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyCreate.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyUpdate.java index 6cc0916..d5376ff 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyUpdate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonBodyUpdate.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonEntry.java index 3643e9f..d799c63 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetwork.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetwork.java index 46f7ce5..bb2940d 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetwork.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetwork.java @@ -12,7 +12,7 @@ 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. ") +@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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkEntry.java index b460b15..1ffb9a2 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPaging.java index ce01ce3..f1b3692 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPagingList.java index f43ac81..d6c4cd0 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonNetworkPagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPaging.java index 5d83be7..e3ba76a 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPagingList.java index ce4456a..9ce4d7e 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PersonPagingList.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Preference.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Preference.java index c868c39..24cafc1 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Preference.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Preference.java @@ -7,7 +7,7 @@ import io.swagger.annotations.ApiModelProperty; /** * A specific preference. **/ -@ApiModel(description="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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferenceEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PreferenceEntry.java index e8a8259..750a038 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferenceEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PreferenceEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePaging.java index f1ebc60..63b96cc 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePagingList.java index c95d185..005358b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/PreferencePagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntry.java index 6ab9d4b..8063937 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntryEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntryEntry.java index b444173..a87bad2 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntryEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ProbeEntryEntry.java @@ -3,6 +3,7 @@ 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 = "") 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 f443cf9..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Property.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.List; - -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 index 664fb11..b1bd44e 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Rating.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Rating.java @@ -8,7 +8,7 @@ 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. ") +@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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingAggregate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingAggregate.java index 9ae335d..886bbd8 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingAggregate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingAggregate.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingBody.java index 8029571..b267c6e 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingBody.java @@ -6,6 +6,7 @@ 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 { diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingEntry.java index 3b850c1..8411252 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPaging.java index ee84cd3..f344f85 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPagingList.java index 4beaba0..b35e7f5 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RatingPagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Rendition.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Rendition.java index 10c6876..98e846c 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Rendition.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Rendition.java @@ -6,6 +6,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionBodyCreate.java index 76e2b94..cf40e7f 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionBodyCreate.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionEntry.java index a0b63bb..d100bba 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPaging.java index 8fe8d47..646c37f 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPagingList.java index ca4de7c..8c336af 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RenditionPagingList.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryEntry.java index 7b3bf10..d5b1681 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryInfo.java index 010b5a2..62ad008 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RepositoryInfo.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestDefaults.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestDefaults.java index a26e65c..ed5b4f9 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestDefaults.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestDefaults.java @@ -11,7 +11,7 @@ import javax.xml.bind.annotation.XmlType; /** * Common query defaults **/ -@ApiModel(description="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. ") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetField.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetField.java index 54c78af..bb07160 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetField.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetField.java @@ -11,7 +11,7 @@ import javax.xml.bind.annotation.XmlType; /** * A simple facet field **/ -@ApiModel(description="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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetFields.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetFields.java index bb890d8..17d4141 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetFields.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetFields.java @@ -8,7 +8,7 @@ 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 ") +@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) ") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervals.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervals.java index 2f60210..964da8b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervals.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervals.java @@ -8,7 +8,7 @@ import java.util.List; /** * Facet Intervals **/ -@ApiModel(description="Facet Intervals") +@ApiModel(description="Facet Intervals")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) public class RequestFacetIntervals { @ApiModelProperty(value = "Sets the intervals for all fields.") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervalsIntervals.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervalsIntervals.java index 3d22949..0d54898 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervalsIntervals.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetIntervalsIntervals.java @@ -4,6 +4,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetQueriesInner.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetQueriesInner.java index 54ab6fe..f004702 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetQueriesInner.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetQueriesInner.java @@ -3,6 +3,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetSet.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetSet.java index ff5c09c..c6761e9 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetSet.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFacetSet.java @@ -7,7 +7,7 @@ import io.swagger.annotations.ApiModelProperty; /** * The interval to Set **/ -@ApiModel(description="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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFilterQueriesInner.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFilterQueriesInner.java index 1814a20..34415e2 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFilterQueriesInner.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestFilterQueriesInner.java @@ -4,6 +4,7 @@ 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 ") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlight.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlight.java index 319dd40..0b06020 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlight.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlight.java @@ -8,7 +8,7 @@ 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. ") +@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.") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlightFields.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlightFields.java index 3e78efc..e03ce87 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlightFields.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestHighlightFields.java @@ -3,6 +3,7 @@ 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.") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLimits.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLimits.java index 299913c..cbbe284 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLimits.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLimits.java @@ -7,7 +7,7 @@ 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") +@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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLocalization.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLocalization.java index 60d5050..9118265 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLocalization.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestLocalization.java @@ -8,7 +8,7 @@ import java.util.List; /** * Localization settings **/ -@ApiModel(description="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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPagination.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPagination.java index 70052fb..f0e846a 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPagination.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPagination.java @@ -3,6 +3,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPivot.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPivot.java index fa59c0c..03a8908 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPivot.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestPivot.java @@ -8,7 +8,7 @@ import java.util.List; /** * A list of pivots. **/ -@ApiModel(description="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.") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestQuery.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestQuery.java index a147961..357312a 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestQuery.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestQuery.java @@ -10,7 +10,7 @@ import javax.xml.bind.annotation.XmlType; /** * Query. **/ -@ApiModel(description="Query.") +@ApiModel(description="Query.")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) public class RequestQuery { diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestRange.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestRange.java index 196466b..1a312c5 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestRange.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestRange.java @@ -8,7 +8,7 @@ import java.util.List; /** * Facet range **/ -@ApiModel(description="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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestScope.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestScope.java index ab96342..ea6ba66 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestScope.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestScope.java @@ -10,7 +10,7 @@ import javax.xml.bind.annotation.XmlType; /** * Scope **/ -@ApiModel(description="Scope") +@ApiModel(description="Scope")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) public class RequestScope { diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSortDefinitionInner.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSortDefinitionInner.java index 5d84764..7125876 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSortDefinitionInner.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSortDefinitionInner.java @@ -6,6 +6,7 @@ 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 { diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSpellcheck.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSpellcheck.java index 8a3d241..50af433 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSpellcheck.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestSpellcheck.java @@ -7,7 +7,7 @@ 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. ") +@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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestStats.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestStats.java index bb70360..274e700 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestStats.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestStats.java @@ -8,7 +8,7 @@ import java.util.List; /** * A list of stats request. **/ -@ApiModel(description="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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestTemplatesInner.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestTemplatesInner.java index d7279b8..e203dc5 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RequestTemplatesInner.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RequestTemplatesInner.java @@ -3,6 +3,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResponseConsistency.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResponseConsistency.java index 11fc91a..64a8f7f 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResponseConsistency.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ResponseConsistency.java @@ -7,7 +7,7 @@ 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") +@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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBuckets.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBuckets.java index 6abc491..872881b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBuckets.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBuckets.java @@ -4,6 +4,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBucketsBuckets.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBucketsBuckets.java index f2043d8..b794460 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBucketsBuckets.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultBucketsBuckets.java @@ -3,6 +3,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContext.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContext.java index f9771f1..42b10c3 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContext.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContext.java @@ -8,7 +8,7 @@ import java.util.List; /** * Context that applies to the whole result set **/ -@ApiModel(description="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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextFacetQueries.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextFacetQueries.java index 2ce24ef..c56a4e4 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextFacetQueries.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextFacetQueries.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextSpellcheck.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextSpellcheck.java index fd34672..09812a3 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextSpellcheck.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetContextSpellcheck.java @@ -7,6 +7,7 @@ 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 { diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPaging.java index adebd19..b97c61f 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPaging.java @@ -7,7 +7,7 @@ import io.swagger.annotations.ApiModelProperty; /** * Query results **/ -@ApiModel(description="Query results") +@ApiModel(description="Query results")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true) public class ResultSetPaging { @ApiModelProperty(value = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPagingList.java index 795fc80..594b102 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetPagingList.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetRowEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetRowEntry.java index a67ed7f..5b1080b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetRowEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ResultSetRowEntry.java @@ -7,7 +7,7 @@ import io.swagger.annotations.ApiModelProperty; /** * A row in the result set **/ -@ApiModel(description="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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/RevertBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/RevertBody.java index b7dcb19..599d4c7 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/RevertBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/RevertBody.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntry.java index 6b51c0a..edec5cd 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntry.java @@ -4,6 +4,7 @@ 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") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntryHighlight.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntryHighlight.java index c8c5048..57783eb 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntryHighlight.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SearchEntryHighlight.java @@ -4,6 +4,7 @@ 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)") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchRequest.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SearchRequest.java index b668e23..301d5ab 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SearchRequest.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SearchRequest.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLink.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLink.java index 1ff6ed2..059931d 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLink.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLink.java @@ -5,6 +5,7 @@ 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 = "") @@ -16,9 +17,9 @@ public class SharedLink { @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. ") + @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. + * 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; @@ -63,9 +64,6 @@ public class SharedLink { @ApiModelProperty(value = "") private List aspectNames = null; - - @ApiModelProperty(value = "") - private PathInfo path = null; /** * Get id * @return id @@ -121,7 +119,7 @@ public class SharedLink { } /** - * 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. * @return name **/ @JsonProperty("name") @@ -351,24 +349,6 @@ public class SharedLink { 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() { @@ -390,7 +370,6 @@ public class SharedLink { 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(); } diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyCreate.java index 3dff4fa..ef50f16 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyCreate.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyEmail.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyEmail.java index ccaf496..3a295d7 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyEmail.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkBodyEmail.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkEntry.java index 7f747af..8262ee7 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPaging.java index 3bbd295..fabeae2 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPagingList.java index 1f6f4dc..3a2b488 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SharedLinkPagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Site.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Site.java index 02f32ff..4b01aaf 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Site.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Site.java @@ -6,6 +6,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyCreate.java index 356e104..79412f3 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyCreate.java @@ -6,6 +6,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyUpdate.java index f3bb509..5888c8c 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyUpdate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteBodyUpdate.java @@ -6,6 +6,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainer.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainer.java index 7cb05f5..9402345 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainer.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainer.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerEntry.java index fb528d9..352457b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPaging.java index 3990a07..8fc7144 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPagingList.java index 3666cd3..d2a0297 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteContainerPagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteEntry.java index e9d0b91..a8eee07 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteEntry.java @@ -3,6 +3,7 @@ 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 = "") 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 8cb8069..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroup.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 javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - -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 14b6526..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupEntry.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 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 c6f5209..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupPaging.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 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 f176952..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteGroupPagingList.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.ArrayList; -import java.util.List; - -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 index 57287b4..fb11599 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMember.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMember.java @@ -6,6 +6,7 @@ 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 = "") @@ -49,9 +50,6 @@ public enum RoleEnum { @ApiModelProperty(required = true, value = "") private RoleEnum role = null; - - @ApiModelProperty(value = "") - private Boolean isMemberOfGroup = null; /** * Get id * @return id @@ -109,24 +107,6 @@ public enum RoleEnum { 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() { @@ -136,7 +116,6 @@ public enum RoleEnum { 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(); } diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberEntry.java index f62e469..c4d3d1d 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPaging.java index 463df6e..c461a35 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPagingList.java index 6176fe8..0b9e97b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMemberPagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipApprovalBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipApprovalBody.java index e38757d..863ac55 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipApprovalBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipApprovalBody.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyCreate.java index 9809a8b..4f8062a 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyCreate.java @@ -6,6 +6,7 @@ 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 { diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyUpdate.java index dc5443d..8000094 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyUpdate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipBodyUpdate.java @@ -6,6 +6,7 @@ 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 { diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRejectionBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRejectionBody.java index 5771bb6..779f20c 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRejectionBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRejectionBody.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequest.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequest.java index 13df3fd..4978789 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequest.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequest.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyCreate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyCreate.java index 852d81f..75fba54 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyCreate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyCreate.java @@ -3,6 +3,7 @@ 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 = "") @@ -13,12 +14,6 @@ public class SiteMembershipRequestBodyCreate { @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 @@ -73,24 +68,6 @@ public class SiteMembershipRequestBodyCreate { 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() { @@ -100,7 +77,6 @@ public class SiteMembershipRequestBodyCreate { 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(); } diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyUpdate.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyUpdate.java index d0c3ebd..a544ca1 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyUpdate.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestBodyUpdate.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestEntry.java index abd28fa..9c59abd 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPaging.java index 30c8bc6..9d705a7 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPagingList.java index 3fef3bc..fd84dfb 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestPagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPerson.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPerson.java index b77553c..f7dfc9a 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPerson.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPerson.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonEntry.java index 874c52d..83c5fc8 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPaging.java index d9047a3..238100b 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPagingList.java index b2cd1e6..eaae3c4 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteMembershipRequestWithPersonPagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SitePaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SitePaging.java index 72aacf2..344876e 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SitePaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SitePaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SitePagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SitePagingList.java index 9071ea9..7675cb9 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SitePagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SitePagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRole.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRole.java index 7228287..03739f5 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRole.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRole.java @@ -6,6 +6,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRoleEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRoleEntry.java index de875b6..4495918 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRoleEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRoleEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePaging.java index 938196f..1a8cea5 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePagingList.java index 10a2a4b..15c7902 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/SiteRolePagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/StatusInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/StatusInfo.java index df6c858..8a18738 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/StatusInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/StatusInfo.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Tag.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Tag.java index a2c65c3..ce155c2 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Tag.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Tag.java @@ -2,8 +2,8 @@ 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 = "") @@ -11,9 +11,6 @@ public class Tag { @ApiModelProperty(required = true, value = "") private String tag = null; - - @ApiModelProperty(value = "") - private BigDecimal count = null; /** * Get id * @return id @@ -50,24 +47,6 @@ public class 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() { @@ -76,7 +55,6 @@ public class Tag { 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(); } diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TagBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TagBody.java index dd70dc7..83a0b61 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TagBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/TagBody.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TagEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TagEntry.java index 44d437c..15a8687 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TagEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/TagEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TagPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TagPaging.java index b4444b7..987358c 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TagPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/TagPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TagPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TagPagingList.java index d47979e..fab8422 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TagPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/TagPagingList.java @@ -5,6 +5,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Ticket.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Ticket.java index 076b462..b9d5c6d 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Ticket.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Ticket.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TicketBody.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TicketBody.java index 7e394e3..29ebd9f 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TicketBody.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/TicketBody.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/TicketEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/TicketEntry.java index eb86009..449f25d 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TicketEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/TicketEntry.java @@ -3,6 +3,7 @@ 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 = "") 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 94fb033..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Type.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.inteligr8.alfresco.acs.model; - -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 02c859b..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TypeEntry.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 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 549cd0e..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TypePaging.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 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 cc4086d..0000000 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/TypePagingList.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.List; - -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 index 8d08941..047316c 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/UserInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/UserInfo.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicket.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicket.java index c63edbe..180aed1 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicket.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicket.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicketEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicketEntry.java index e13402f..5d31825 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicketEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/ValidTicketEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/Version.java b/src/gen/java/com/inteligr8/alfresco/acs/model/Version.java index f78ccc7..8150349 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/Version.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/Version.java @@ -5,6 +5,7 @@ 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 = "") @@ -13,9 +14,9 @@ public class Version { @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. ") + @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. + * 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; @@ -79,7 +80,7 @@ public class Version { } /** - * 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. * @return name **/ @JsonProperty("name") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionEntry.java b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionEntry.java index fa77d06..80482e6 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionEntry.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionEntry.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionInfo.java b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionInfo.java index 9273274..a9b496d 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionInfo.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionInfo.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPaging.java b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPaging.java index 295497a..04f0e94 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPaging.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPaging.java @@ -3,6 +3,7 @@ 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 = "") diff --git a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPagingList.java b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPagingList.java index 895c1c1..f6e5c73 100644 --- a/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPagingList.java +++ b/src/gen/java/com/inteligr8/alfresco/acs/model/VersionPagingList.java @@ -4,6 +4,7 @@ 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 = "") diff --git a/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestApi.java b/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestApi.java index 27d6be3..4ae15b2 100644 --- a/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestApi.java +++ b/src/main/java/com/inteligr8/alfresco/acs/AcsPublicRestApi.java @@ -2,7 +2,6 @@ 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; @@ -23,7 +22,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.VersionsApi; import com.inteligr8.rs.ClientConfiguration; @@ -43,11 +41,11 @@ public abstract class AcsPublicRestApi { public ActivitiesApi getActivitiesApi() { return this.getApi(ActivitiesApi.class); } - + /* v7 public AspectsApi getAspectsApi() { return this.getApi(AspectsApi.class); } - + */ public AuditApi getAuditApi() { return this.getApi(AuditApi.class); } @@ -127,11 +125,11 @@ public abstract class AcsPublicRestApi { public TrashcanApi getTrashcanApi() { return this.getApi(TrashcanApi.class); } - + /* public TypesApi getTypesApi() { return this.getApi(TypesApi.class); } - + */ public VersionsApi getVersionsApi() { return this.getApi(VersionsApi.class); } diff --git a/src/main/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateFile.java b/src/main/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateFile.java new file mode 100644 index 0000000..61b5fb3 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/acs/model/NodeBodyCreateFile.java @@ -0,0 +1,28 @@ +package com.inteligr8.alfresco.acs.model; + +import java.io.File; + +import com.fasterxml.jackson.annotation.JsonProperty; + +import io.swagger.annotations.ApiModelProperty; + +public class NodeBodyCreateFile extends NodeBodyCreate { + + @ApiModelProperty + private File filedata; + + @JsonProperty + public File getFiledata() { + return this.filedata; + } + + public void setFiledata(File filedata) { + this.filedata = filedata; + } + + public NodeBodyCreateFile filedata(File filedata) { + this.filedata = filedata; + return this; + } + +}