diff --git a/README.md b/README.md index 99f8da4..c9e6a36 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ flutter clean flutter pub get -flutter pub run build_runner build --delete-conflicting-outputs +dart run build_runner build --delete-conflicting-outputs Le fichier est dans le projet. diff --git a/lib/api/openApiTest.dart b/lib/api/openApiTest.dart index 67bf0c5..af1aeba 100644 --- a/lib/api/openApiTest.dart +++ b/lib/api/openApiTest.dart @@ -1,4 +1,4 @@ -// Openapi Generator last run: : 2025-05-27T14:44:29.936214 +// Openapi Generator last run: : 2025-07-17T12:00:29.078649 import 'package:openapi_generator_annotations/openapi_generator_annotations.dart'; @Openapi( diff --git a/lib/api/swagger.yaml b/lib/api/swagger.yaml index a9dd489..8bf9145 100644 --- a/lib/api/swagger.yaml +++ b/lib/api/swagger.yaml @@ -4,7 +4,7 @@ "info": { "title": "Manager Service", "description": "API Manager Service", - "version": "Version Alpha" + "version": "Version Alpha 0.1" }, "servers": [ { @@ -12,6 +12,643 @@ } ], "paths": { + "/api/Authentication/Token": { + "post": { + "tags": [ + "Authentication" + ], + "operationId": "Authentication_AuthenticateWithForm", + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "properties": { + "grant_type": { + "type": "string", + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + }, + "password": { + "type": "string", + "nullable": true + }, + "client_id": { + "type": "string", + "nullable": true + }, + "client_secret": { + "type": "string", + "nullable": true + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TokenDTO" + } + } + } + }, + "401": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + } + } + }, + "/api/Authentication/Authenticate": { + "post": { + "tags": [ + "Authentication" + ], + "operationId": "Authentication_AuthenticateWithJson", + "requestBody": { + "x-name": "login", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LoginDTO" + } + } + }, + "required": true, + "x-position": 1 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TokenDTO" + } + } + } + }, + "401": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + } + } + }, + "/api/ApplicationInstance": { + "get": { + "tags": [ + "Instance" + ], + "operationId": "ApplicationInstance_Get", + "parameters": [ + { + "name": "instanceId", + "in": "query", + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApplicationInstanceDTO" + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + } + }, + "post": { + "tags": [ + "Instance" + ], + "operationId": "ApplicationInstance_Create", + "requestBody": { + "x-name": "newApplicationInstanceDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationInstanceDTO" + } + } + }, + "required": true, + "x-position": 1 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationInstanceDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "409": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + }, + "put": { + "tags": [ + "Instance" + ], + "operationId": "ApplicationInstance_Update", + "requestBody": { + "x-name": "updatedApplicationInstanceDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationInstanceDTO" + } + } + }, + "required": true, + "x-position": 1 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationInstanceDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/ApplicationInstance/{id}": { + "delete": { + "tags": [ + "Instance" + ], + "operationId": "ApplicationInstance_Delete", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "responses": { + "202": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/ApplicationInstance/{applicationInstanceId}/application-link": { + "get": { + "tags": [ + "Instance" + ], + "operationId": "ApplicationInstance_GetAllApplicationLinkFromApplicationInstance", + "parameters": [ + { + "name": "applicationInstanceId", + "in": "query", + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + }, + { + "name": "applicationInstanceId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-position": 2 + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppConfigurationLinkDTO" + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + } + }, + "post": { + "tags": [ + "Instance" + ], + "operationId": "ApplicationInstance_AddConfigurationToApplicationInstance", + "parameters": [ + { + "name": "applicationInstanceId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "requestBody": { + "x-name": "appConfigurationLinkDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppConfigurationLinkDTO" + } + } + }, + "required": true, + "x-position": 2 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppConfigurationLinkDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "409": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/ApplicationInstance/application-link": { + "put": { + "tags": [ + "Instance" + ], + "operationId": "ApplicationInstance_UpdateApplicationLink", + "requestBody": { + "x-name": "appConfigurationLinkDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppConfigurationLinkDTO" + } + } + }, + "required": true, + "x-position": 1 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppConfigurationLinkDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/ApplicationInstance/{applicationInstanceId}/application-link/{appConfigurationLinkId}": { + "delete": { + "tags": [ + "Instance" + ], + "operationId": "ApplicationInstance_DeleteAppConfigurationLink", + "parameters": [ + { + "name": "applicationInstanceId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + }, + { + "name": "appConfigurationLinkId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 2 + } + ], + "responses": { + "202": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, "/api/Configuration": { "get": { "tags": [ @@ -1647,6 +2284,264 @@ ] } }, + "/api/SectionAgenda/{sectionAgendaId}/events": { + "get": { + "tags": [ + "Section agenda" + ], + "operationId": "SectionAgenda_GetAllEventAgendaFromSection", + "parameters": [ + { + "name": "sectionAgendaId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EventAgendaDTO" + } + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + } + } + }, + "/api/SectionAgenda/{sectionAgendaId}/event": { + "post": { + "tags": [ + "Section agenda" + ], + "operationId": "SectionAgenda_CreateEventAgenda", + "parameters": [ + { + "name": "sectionAgendaId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "requestBody": { + "x-name": "eventAgendaDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EventAgendaDTO" + } + } + }, + "required": true, + "x-position": 2 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EventAgendaDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "409": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionAgenda/event": { + "put": { + "tags": [ + "Section agenda" + ], + "operationId": "SectionAgenda_UpdateEventAgenda", + "requestBody": { + "x-name": "eventAgendaDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EventAgendaDTO" + } + } + }, + "required": true, + "x-position": 1 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EventAgendaDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionAgenda/event/{eventAgendaId}": { + "delete": { + "tags": [ + "Section agenda" + ], + "operationId": "SectionAgenda_DeleteEventAgenda", + "parameters": [ + { + "name": "eventAgendaId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + }, + "x-position": 1 + } + ], + "responses": { + "202": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, "/api/Section": { "get": { "tags": [ @@ -2593,6 +3488,570 @@ ] } }, + "/api/Section/SectionEventDTO": { + "get": { + "tags": [ + "Section" + ], + "operationId": "Section_GetSectionEventDTO", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SectionEventDTO" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/Section/GuidedPathDTO": { + "get": { + "tags": [ + "Section" + ], + "operationId": "Section_GetGuidedPathDTO", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuidedPathDTO" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionEvent/{sectionEventId}/programmes": { + "get": { + "tags": [ + "Section event" + ], + "operationId": "SectionEvent_GetAllProgrammeBlockFromSection", + "parameters": [ + { + "name": "sectionEventId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProgrammeBlock" + } + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + } + }, + "post": { + "tags": [ + "Section event" + ], + "operationId": "SectionEvent_CreateProgrammeBlock", + "parameters": [ + { + "name": "sectionEventId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "requestBody": { + "x-name": "programmeBlockDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProgrammeBlockDTO" + } + } + }, + "required": true, + "x-position": 2 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProgrammeBlockDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "409": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionEvent/programmes": { + "put": { + "tags": [ + "Section event" + ], + "operationId": "SectionEvent_UpdateProgrammeBlock", + "requestBody": { + "x-name": "programmeBlockDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProgrammeBlockDTO" + } + } + }, + "required": true, + "x-position": 1 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProgrammeBlockDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionEvent/programmes/{programBlockId}": { + "delete": { + "tags": [ + "Section event" + ], + "operationId": "SectionEvent_DeleteProgrammeBlock", + "parameters": [ + { + "name": "programBlockId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "responses": { + "202": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionEvent/{programBlockId}/map-annotations": { + "get": { + "tags": [ + "Section event" + ], + "operationId": "SectionEvent_GetAllMapAnnotationsFromProgrammeBlock", + "parameters": [ + { + "name": "programBlockId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MapAnnotationDTO" + } + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + } + } + }, + "/api/SectionEvent/{programmeBlockId}/map-annotations": { + "post": { + "tags": [ + "Section event" + ], + "operationId": "SectionEvent_CreateMapAnnotation", + "parameters": [ + { + "name": "programmeBlockId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "requestBody": { + "x-name": "mapAnnotationDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MapAnnotationDTO" + } + } + }, + "required": true, + "x-position": 2 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MapAnnotationDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "409": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionEvent/map-annotations": { + "put": { + "tags": [ + "Section event" + ], + "operationId": "SectionEvent_UpdateMapAnnotation", + "requestBody": { + "x-name": "mapAnnotationDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MapAnnotationDTO" + } + } + }, + "required": true, + "x-position": 1 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MapAnnotationDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionEvent/map-annotations/{mapAnnotationId}": { + "delete": { + "tags": [ + "Section event" + ], + "operationId": "SectionEvent_DeleteMapAnnotation", + "parameters": [ + { + "name": "mapAnnotationId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "responses": { + "202": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, "/api/SectionMap/{sectionId}/points": { "get": { "tags": [ @@ -2792,7 +4251,7 @@ ] } }, - "/api/SectionMap/points/delete/{geoPointId}": { + "/api/SectionMap/points/{geoPointId}": { "delete": { "tags": [ "Section map" @@ -2849,6 +4308,518 @@ ] } }, + "/api/SectionMap/{sectionMapId}/guided-path": { + "get": { + "tags": [ + "Section map" + ], + "operationId": "SectionMap_GetAllGuidedPathFromSection", + "parameters": [ + { + "name": "sectionMapId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GuidedPathDTO" + } + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + } + }, + "post": { + "tags": [ + "Section map" + ], + "operationId": "SectionMap_CreateGuidedPath", + "parameters": [ + { + "name": "sectionMapId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "requestBody": { + "x-name": "guidedPathDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuidedPathDTO" + } + } + }, + "required": true, + "x-position": 2 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuidedPathDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "409": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionMap/guided-path": { + "put": { + "tags": [ + "Section map" + ], + "operationId": "SectionMap_UpdateGuidedPath", + "requestBody": { + "x-name": "guidedPathDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuidedPathDTO" + } + } + }, + "required": true, + "x-position": 1 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuidedPathDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionMap/guided-path/{guidedPathId}": { + "delete": { + "tags": [ + "Section map" + ], + "operationId": "SectionMap_DeleteGuidedPath", + "parameters": [ + { + "name": "guidedPathId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "responses": { + "202": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionMap/guided-path/{guidedPathId}/guided-step": { + "get": { + "tags": [ + "Section map" + ], + "operationId": "SectionMap_GetAllGuidedStepFromGuidedPath", + "parameters": [ + { + "name": "guidedPathId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GuidedStepDTO" + } + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + } + }, + "post": { + "tags": [ + "Section map" + ], + "operationId": "SectionMap_CreateGuidedStep", + "parameters": [ + { + "name": "guidedPathId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "requestBody": { + "x-name": "guidedStepDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuidedStepDTO" + } + } + }, + "required": true, + "x-position": 2 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuidedStepDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "409": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionMap/guided-step": { + "put": { + "tags": [ + "Section map" + ], + "operationId": "SectionMap_UpdateGuidedStep", + "requestBody": { + "x-name": "guidedStepDTO", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuidedStepDTO" + } + } + }, + "required": true, + "x-position": 1 + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuidedStepDTO" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, + "/api/SectionMap/guided-step/{guidedStepId}": { + "delete": { + "tags": [ + "Section map" + ], + "operationId": "SectionMap_DeleteGuidedStep", + "parameters": [ + { + "name": "guidedStepId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "nullable": true + }, + "x-position": 1 + } + ], + "responses": { + "202": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + }, + "security": [ + { + "bearer": [] + } + ] + } + }, "/api/SectionQuiz/{sectionId}/questions": { "get": { "tags": [ @@ -3394,132 +5365,1389 @@ } ] } - }, - "/api/Authentication/Token": { - "post": { - "tags": [ - "Authentication" - ], - "operationId": "Authentication_AuthenticateWithForm", - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "properties": { - "grant_type": { - "type": "string", - "nullable": true - }, - "username": { - "type": "string", - "nullable": true - }, - "password": { - "type": "string", - "nullable": true - }, - "client_id": { - "type": "string", - "nullable": true - }, - "client_secret": { - "type": "string", - "nullable": true - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TokenDTO" - } - } - } - }, - "401": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - }, - "500": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/Authentication/Authenticate": { - "post": { - "tags": [ - "Authentication" - ], - "operationId": "Authentication_AuthenticateWithJson", - "requestBody": { - "x-name": "login", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LoginDTO" - } - } - }, - "required": true, - "x-position": 1 - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TokenDTO" - } - } - } - }, - "401": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - }, - "500": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - } - } - } } }, "components": { "schemas": { + "TokenDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "access_token": { + "type": "string", + "nullable": true + }, + "refresh_token": { + "type": "string", + "nullable": true + }, + "scope": { + "type": "string", + "nullable": true + }, + "token_type": { + "type": "string", + "nullable": true + }, + "expires_in": { + "type": "integer", + "format": "int32" + }, + "expiration": { + "type": "string", + "format": "date-time" + }, + "instanceId": { + "type": "string", + "nullable": true + }, + "pinCode": { + "type": "string", + "nullable": true + } + } + }, + "LoginDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "email": { + "type": "string", + "nullable": true + }, + "password": { + "type": "string", + "nullable": true + } + } + }, + "ApplicationInstanceDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "instanceId": { + "type": "string", + "nullable": true + }, + "appType": { + "$ref": "#/components/schemas/AppType" + }, + "configurations": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/AppConfigurationLink" + } + }, + "mainImageId": { + "type": "string", + "nullable": true + }, + "mainImageUrl": { + "type": "string", + "nullable": true + }, + "loaderImageId": { + "type": "string", + "nullable": true + }, + "loaderImageUrl": { + "type": "string", + "nullable": true + }, + "isDate": { + "type": "boolean" + }, + "isHour": { + "type": "boolean" + }, + "primaryColor": { + "type": "string", + "nullable": true + }, + "secondaryColor": { + "type": "string", + "nullable": true + }, + "roundedValue": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "screenPercentageSectionsMainPage": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isSectionImageBackground": { + "type": "boolean" + }, + "languages": { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + } + }, + "AppType": { + "type": "integer", + "description": "0 = Mobile\n1 = Tablet\n2 = Web\n3 = VR", + "x-enumNames": [ + "Mobile", + "Tablet", + "Web", + "VR" + ], + "enum": [ + 0, + 1, + 2, + 3 + ] + }, + "AppConfigurationLink": { + "type": "object", + "additionalProperties": false, + "required": [ + "configurationId", + "applicationInstanceId" + ], + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "configurationId": { + "type": "string", + "minLength": 1 + }, + "applicationInstanceId": { + "type": "string", + "minLength": 1 + }, + "order": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isActive": { + "type": "boolean" + }, + "weightMasonryGrid": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "configuration": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Configuration" + } + ] + }, + "applicationInstance": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/ApplicationInstance" + } + ] + } + } + }, + "Configuration": { + "type": "object", + "additionalProperties": false, + "required": [ + "id", + "instanceId", + "label", + "title" + ], + "properties": { + "id": { + "type": "string", + "minLength": 1 + }, + "instanceId": { + "type": "string", + "minLength": 1 + }, + "label": { + "type": "string", + "minLength": 1 + }, + "title": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "imageId": { + "type": "string", + "nullable": true + }, + "imageSource": { + "type": "string", + "nullable": true + }, + "primaryColor": { + "type": "string", + "nullable": true + }, + "secondaryColor": { + "type": "string", + "nullable": true + }, + "languages": { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + }, + "dateCreation": { + "type": "string", + "format": "date-time" + }, + "isOffline": { + "type": "boolean" + }, + "loaderImageId": { + "type": "string", + "nullable": true + }, + "loaderImageUrl": { + "type": "string", + "nullable": true + }, + "isQRCode": { + "type": "boolean" + }, + "isSearchText": { + "type": "boolean" + }, + "isSearchNumber": { + "type": "boolean" + } + } + }, + "TranslationDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "language": { + "type": "string", + "nullable": true + }, + "value": { + "type": "string", + "nullable": true + } + } + }, + "ApplicationInstance": { + "type": "object", + "additionalProperties": false, + "required": [ + "instanceId", + "appType" + ], + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "instanceId": { + "type": "string", + "minLength": 1 + }, + "appType": { + "$ref": "#/components/schemas/AppType" + }, + "configurations": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/AppConfigurationLink" + } + }, + "mainImageId": { + "type": "string", + "nullable": true + }, + "mainImageUrl": { + "type": "string", + "nullable": true + }, + "loaderImageId": { + "type": "string", + "nullable": true + }, + "loaderImageUrl": { + "type": "string", + "nullable": true + }, + "isDate": { + "type": "boolean" + }, + "isHour": { + "type": "boolean" + }, + "primaryColor": { + "type": "string", + "nullable": true + }, + "secondaryColor": { + "type": "string", + "nullable": true + }, + "roundedValue": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "screenPercentageSectionsMainPage": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isSectionImageBackground": { + "type": "boolean" + }, + "layoutMainPage": { + "$ref": "#/components/schemas/LayoutMainPageType" + }, + "languages": { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + }, + "sectionEventId": { + "type": "string", + "nullable": true + }, + "sectionEvent": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/SectionEvent" + } + ] + } + } + }, + "LayoutMainPageType": { + "type": "integer", + "description": "0 = SimpleGrid\n1 = MasonryGrid", + "x-enumNames": [ + "SimpleGrid", + "MasonryGrid" + ], + "enum": [ + 0, + 1 + ] + }, + "SectionEvent": { + "allOf": [ + { + "$ref": "#/components/schemas/Section" + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "startDate": { + "type": "string", + "format": "date-time" + }, + "endDate": { + "type": "string", + "format": "date-time" + }, + "programme": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/ProgrammeBlock" + } + }, + "parcoursIds": { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + } + } + ] + }, + "ProgrammeBlock": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "title": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "description": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "startTime": { + "type": "string", + "format": "date-time" + }, + "endTime": { + "type": "string", + "format": "date-time" + }, + "mapAnnotations": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/MapAnnotation" + } + } + } + }, + "MapAnnotation": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "type": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "label": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "geometryType": { + "$ref": "#/components/schemas/GeometryType" + }, + "geometry": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Geometry" + } + ] + }, + "polyColor": { + "type": "string", + "nullable": true + }, + "icon": { + "type": "string", + "nullable": true + }, + "iconResourceId": { + "type": "string", + "nullable": true + }, + "iconResource": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Resource" + } + ] + } + } + }, + "GeometryType": { + "type": "integer", + "description": "0 = Point\n1 = Polyline\n2 = Circle\n3 = Polygon", + "x-enumNames": [ + "Point", + "Polyline", + "Circle", + "Polygon" + ], + "enum": [ + 0, + 1, + 2, + 3 + ] + }, + "Geometry": { + "type": "object", + "x-abstract": true, + "additionalProperties": false, + "properties": { + "factory": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/GeometryFactory" + } + ] + }, + "userData": { + "nullable": true + }, + "srid": { + "type": "integer", + "format": "int32" + }, + "precisionModel": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/PrecisionModel" + } + ] + }, + "numGeometries": { + "type": "integer", + "format": "int32" + }, + "isSimple": { + "type": "boolean" + }, + "isValid": { + "type": "boolean" + }, + "area": { + "type": "number", + "format": "double" + }, + "length": { + "type": "number", + "format": "double" + }, + "centroid": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Point" + } + ] + }, + "interiorPoint": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Point" + } + ] + }, + "pointOnSurface": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Point" + } + ] + }, + "envelope": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Geometry" + } + ] + }, + "envelopeInternal": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Envelope" + } + ] + }, + "isRectangle": { + "type": "boolean" + } + } + }, + "GeometryFactory": { + "type": "object", + "additionalProperties": false, + "properties": { + "precisionModel": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/PrecisionModel" + } + ] + }, + "coordinateSequenceFactory": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/CoordinateSequenceFactory" + } + ] + }, + "srid": { + "type": "integer", + "format": "int32" + }, + "geometryServices": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/NtsGeometryServices" + } + ] + } + } + }, + "PrecisionModel": { + "type": "object", + "additionalProperties": false, + "properties": { + "isFloating": { + "type": "boolean" + }, + "maximumSignificantDigits": { + "type": "integer", + "format": "int32" + }, + "scale": { + "type": "number", + "format": "double" + }, + "gridSize": { + "type": "number", + "format": "double" + }, + "precisionModelType": { + "$ref": "#/components/schemas/PrecisionModels" + } + } + }, + "PrecisionModels": { + "type": "integer", + "description": "0 = Floating\n1 = FloatingSingle\n2 = Fixed", + "x-enumNames": [ + "Floating", + "FloatingSingle", + "Fixed" + ], + "enum": [ + 0, + 1, + 2 + ] + }, + "CoordinateSequenceFactory": { + "type": "object", + "x-abstract": true, + "additionalProperties": false, + "properties": { + "ordinates": { + "$ref": "#/components/schemas/Ordinates" + } + } + }, + "Ordinates": { + "type": "integer", + "description": "0 = None\n1 = X\n1 = Spatial1\n2 = Y\n2 = Spatial2\n3 = XY\n4 = Z\n4 = Spatial3\n7 = XYZ\n8 = Spatial4\n16 = Spatial5\n32 = Spatial6\n64 = Spatial7\n128 = Spatial8\n256 = Spatial9\n512 = Spatial10\n1024 = Spatial11\n2048 = Spatial12\n4096 = Spatial13\n8192 = Spatial14\n16384 = Spatial15\n32768 = Spatial16\n65535 = AllSpatialOrdinates\n65536 = M\n65536 = Measure1\n65539 = XYM\n65543 = XYZM\n131072 = Measure2\n262144 = Measure3\n524288 = Measure4\n1048576 = Measure5\n2097152 = Measure6\n4194304 = Measure7\n8388608 = Measure8\n16777216 = Measure9\n33554432 = Measure10\n67108864 = Measure11\n134217728 = Measure12\n268435456 = Measure13\n536870912 = Measure14\n1073741824 = Measure15\n-2147483648 = Measure16\n-65536 = AllMeasureOrdinates\n-1 = AllOrdinates", + "x-enumFlags": true, + "x-enumNames": [ + "None", + "X", + "Spatial1", + "Y", + "Spatial2", + "XY", + "Z", + "Spatial3", + "XYZ", + "Spatial4", + "Spatial5", + "Spatial6", + "Spatial7", + "Spatial8", + "Spatial9", + "Spatial10", + "Spatial11", + "Spatial12", + "Spatial13", + "Spatial14", + "Spatial15", + "Spatial16", + "AllSpatialOrdinates", + "M", + "Measure1", + "XYM", + "XYZM", + "Measure2", + "Measure3", + "Measure4", + "Measure5", + "Measure6", + "Measure7", + "Measure8", + "Measure9", + "Measure10", + "Measure11", + "Measure12", + "Measure13", + "Measure14", + "Measure15", + "Measure16", + "AllMeasureOrdinates", + "AllOrdinates" + ], + "enum": [ + 0, + 1, + 1, + 2, + 2, + 3, + 4, + 4, + 7, + 8, + 16, + 32, + 64, + 128, + 256, + 512, + 1024, + 2048, + 4096, + 8192, + 16384, + 32768, + 65535, + 65536, + 65536, + 65539, + 65543, + 131072, + 262144, + 524288, + 1048576, + 2097152, + 4194304, + 8388608, + 16777216, + 33554432, + 67108864, + 134217728, + 268435456, + 536870912, + 1073741824, + -2147483648, + -65536, + -1 + ] + }, + "NtsGeometryServices": { + "type": "object", + "additionalProperties": false, + "properties": { + "geometryOverlay": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/GeometryOverlay" + } + ] + }, + "coordinateEqualityComparer": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/CoordinateEqualityComparer" + } + ] + }, + "defaultSRID": { + "type": "integer", + "format": "int32" + }, + "defaultCoordinateSequenceFactory": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/CoordinateSequenceFactory" + } + ] + }, + "defaultPrecisionModel": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/PrecisionModel" + } + ] + } + } + }, + "GeometryOverlay": { + "type": "object", + "x-abstract": true, + "additionalProperties": false + }, + "CoordinateEqualityComparer": { + "allOf": [ + { + "$ref": "#/components/schemas/EqualityComparerOfCoordinate" + }, + { + "type": "object", + "additionalProperties": false + } + ] + }, + "EqualityComparerOfCoordinate": { + "type": "object", + "x-abstract": true, + "additionalProperties": false + }, + "Point": { + "allOf": [ + { + "$ref": "#/components/schemas/Geometry" + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "coordinateSequence": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/CoordinateSequence" + } + ] + }, + "coordinates": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/Coordinate" + } + }, + "numPoints": { + "type": "integer", + "format": "int32" + }, + "isEmpty": { + "type": "boolean" + }, + "dimension": { + "$ref": "#/components/schemas/Dimension" + }, + "boundaryDimension": { + "$ref": "#/components/schemas/Dimension" + }, + "x": { + "type": "number", + "format": "double" + }, + "y": { + "type": "number", + "format": "double" + }, + "coordinate": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Coordinate" + } + ] + }, + "geometryType": { + "type": "string", + "nullable": true + }, + "ogcGeometryType": { + "$ref": "#/components/schemas/OgcGeometryType" + }, + "boundary": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Geometry" + } + ] + }, + "z": { + "type": "number", + "format": "double" + }, + "m": { + "type": "number", + "format": "double" + } + } + } + ] + }, + "CoordinateSequence": { + "type": "object", + "x-abstract": true, + "additionalProperties": false, + "properties": { + "dimension": { + "type": "integer", + "format": "int32" + }, + "measures": { + "type": "integer", + "format": "int32" + }, + "spatial": { + "type": "integer", + "format": "int32" + }, + "ordinates": { + "$ref": "#/components/schemas/Ordinates" + }, + "hasZ": { + "type": "boolean" + }, + "hasM": { + "type": "boolean" + }, + "zOrdinateIndex": { + "type": "integer", + "format": "int32" + }, + "mOrdinateIndex": { + "type": "integer", + "format": "int32" + }, + "first": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Coordinate" + } + ] + }, + "last": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Coordinate" + } + ] + }, + "count": { + "type": "integer", + "format": "int32" + } + } + }, + "Coordinate": { + "type": "object", + "additionalProperties": false, + "properties": { + "x": { + "type": "number", + "format": "double" + }, + "y": { + "type": "number", + "format": "double" + }, + "z": { + "type": "number", + "format": "double" + }, + "m": { + "type": "number", + "format": "double" + }, + "coordinateValue": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Coordinate" + } + ] + }, + "isValid": { + "type": "boolean" + } + } + }, + "Dimension": { + "type": "integer", + "description": "0 = Point\n0 = P\n1 = Curve\n1 = L\n2 = Surface\n2 = A\n3 = Collapse\n-3 = Dontcare\n-2 = True\n-1 = False\n-1 = Unknown", + "x-enumNames": [ + "Point", + "P", + "Curve", + "L", + "Surface", + "A", + "Collapse", + "Dontcare", + "True", + "False", + "Unknown" + ], + "enum": [ + 0, + 0, + 1, + 1, + 2, + 2, + 3, + -3, + -2, + -1, + -1 + ] + }, + "OgcGeometryType": { + "type": "integer", + "description": "1 = Point\n2 = LineString\n3 = Polygon\n4 = MultiPoint\n5 = MultiLineString\n6 = MultiPolygon\n7 = GeometryCollection\n8 = CircularString\n9 = CompoundCurve\n10 = CurvePolygon\n11 = MultiCurve\n12 = MultiSurface\n13 = Curve\n14 = Surface\n15 = PolyhedralSurface\n16 = TIN", + "x-enumNames": [ + "Point", + "LineString", + "Polygon", + "MultiPoint", + "MultiLineString", + "MultiPolygon", + "GeometryCollection", + "CircularString", + "CompoundCurve", + "CurvePolygon", + "MultiCurve", + "MultiSurface", + "Curve", + "Surface", + "PolyhedralSurface", + "TIN" + ], + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16 + ] + }, + "Envelope": { + "type": "object", + "additionalProperties": false, + "properties": { + "isNull": { + "type": "boolean" + }, + "width": { + "type": "number", + "format": "double" + }, + "height": { + "type": "number", + "format": "double" + }, + "diameter": { + "type": "number", + "format": "double" + }, + "minX": { + "type": "number", + "format": "double" + }, + "maxX": { + "type": "number", + "format": "double" + }, + "minY": { + "type": "number", + "format": "double" + }, + "maxY": { + "type": "number", + "format": "double" + }, + "area": { + "type": "number", + "format": "double" + }, + "minExtent": { + "type": "number", + "format": "double" + }, + "maxExtent": { + "type": "number", + "format": "double" + }, + "centre": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Coordinate" + } + ] + } + } + }, + "Resource": { + "type": "object", + "additionalProperties": false, + "required": [ + "id", + "type", + "label", + "instanceId" + ], + "properties": { + "id": { + "type": "string", + "minLength": 1 + }, + "type": { + "$ref": "#/components/schemas/ResourceType" + }, + "label": { + "type": "string", + "minLength": 1 + }, + "dateCreation": { + "type": "string", + "format": "date-time" + }, + "instanceId": { + "type": "string", + "minLength": 1 + }, + "url": { + "type": "string", + "nullable": true + } + } + }, + "ResourceType": { + "type": "integer", + "description": "0 = Image\n1 = Video\n2 = ImageUrl\n3 = VideoUrl\n4 = Audio\n5 = PDF\n6 = JSON\n7 = JSONUrl", + "x-enumNames": [ + "Image", + "Video", + "ImageUrl", + "VideoUrl", + "Audio", + "PDF", + "JSON", + "JSONUrl" + ], + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ] + }, + "Section": { + "type": "object", + "additionalProperties": false, + "required": [ + "id", + "label", + "title", + "configurationId", + "type", + "isSubSection", + "instanceId" + ], + "properties": { + "id": { + "type": "string", + "minLength": 1 + }, + "label": { + "type": "string", + "minLength": 1 + }, + "title": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "description": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "order": { + "type": "integer", + "format": "int32" + }, + "configurationId": { + "type": "string", + "minLength": 1 + }, + "imageId": { + "type": "string", + "nullable": true + }, + "imageSource": { + "type": "string", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/SectionType" + }, + "isSubSection": { + "type": "boolean" + }, + "parentId": { + "type": "string", + "nullable": true + }, + "dateCreation": { + "type": "string", + "format": "date-time" + }, + "instanceId": { + "type": "string", + "minLength": 1 + }, + "isBeacon": { + "type": "boolean" + }, + "beaconId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "latitude": { + "type": "string", + "nullable": true + }, + "longitude": { + "type": "string", + "nullable": true + }, + "meterZoneGPS": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isActive": { + "type": "boolean" + } + } + }, + "SectionType": { + "type": "integer", + "description": "0 = Map\n1 = Slider\n2 = Video\n3 = Web\n4 = Menu\n5 = Quiz\n6 = Article\n7 = PDF\n8 = Puzzle\n9 = Agenda\n10 = Weather\n11 = Event", + "x-enumNames": [ + "Map", + "Slider", + "Video", + "Web", + "Menu", + "Quiz", + "Article", + "PDF", + "Puzzle", + "Agenda", + "Weather", + "Event" + ], + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ] + }, + "AppConfigurationLinkDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "configurationId": { + "type": "string", + "nullable": true + }, + "applicationInstanceId": { + "type": "string", + "nullable": true + }, + "order": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isActive": { + "type": "boolean" + }, + "weightMasonryGrid": { + "type": "integer", + "format": "int32", + "nullable": true + } + } + }, "ConfigurationDTO": { "type": "object", "additionalProperties": false, @@ -3528,6 +6756,10 @@ "type": "string", "nullable": true }, + "instanceId": { + "type": "string", + "nullable": true + }, "label": { "type": "string", "nullable": true @@ -3566,19 +6798,9 @@ "type": "string", "format": "date-time" }, - "isMobile": { - "type": "boolean" - }, - "isTablet": { - "type": "boolean" - }, "isOffline": { "type": "boolean" }, - "instanceId": { - "type": "string", - "nullable": true - }, "sectionIds": { "type": "array", "nullable": true, @@ -3593,39 +6815,6 @@ "loaderImageUrl": { "type": "string", "nullable": true - }, - "isDate": { - "type": "boolean" - }, - "isHour": { - "type": "boolean" - }, - "isSectionImageBackground": { - "type": "boolean" - }, - "roundedValue": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "screenPercentageSectionsMainPage": { - "type": "integer", - "format": "int32", - "nullable": true - } - } - }, - "TranslationDTO": { - "type": "object", - "additionalProperties": false, - "properties": { - "language": { - "type": "string", - "nullable": true - }, - "value": { - "type": "string", - "nullable": true } } }, @@ -3682,6 +6871,9 @@ "$ref": "#/components/schemas/TranslationDTO" } }, + "isActive": { + "type": "boolean" + }, "imageId": { "type": "string", "nullable": true @@ -3741,36 +6933,6 @@ } } }, - "SectionType": { - "type": "integer", - "description": "0 = Map\n1 = Slider\n2 = Video\n3 = Web\n4 = Menu\n5 = Quiz\n6 = Article\n7 = PDF\n8 = Puzzle\n9 = Agenda\n10 = Weather", - "x-enumNames": [ - "Map", - "Slider", - "Video", - "Web", - "Menu", - "Quiz", - "Article", - "PDF", - "Puzzle", - "Agenda", - "Weather" - ], - "enum": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10 - ] - }, "ResourceDTO": { "type": "object", "additionalProperties": false, @@ -3800,30 +6962,6 @@ } } }, - "ResourceType": { - "type": "integer", - "description": "0 = Image\n1 = Video\n2 = ImageUrl\n3 = VideoUrl\n4 = Audio\n5 = PDF\n6 = JSON\n7 = JSONUrl", - "x-enumNames": [ - "Image", - "Video", - "ImageUrl", - "VideoUrl", - "Audio", - "PDF", - "JSON", - "JSONUrl" - ], - "enum": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7 - ] - }, "DeviceDTO": { "type": "object", "additionalProperties": false, @@ -3927,6 +7065,21 @@ "pinCode": { "type": "string", "nullable": true + }, + "isPushNotification": { + "type": "boolean" + }, + "isStatistic": { + "type": "boolean" + }, + "isMobile": { + "type": "boolean" + }, + "isTablet": { + "type": "boolean" + }, + "isVR": { + "type": "boolean" } } }, @@ -3950,6 +7103,167 @@ "pinCode": { "type": "string", "nullable": true + }, + "isPushNotification": { + "type": "boolean" + }, + "isStatistic": { + "type": "boolean" + }, + "isMobile": { + "type": "boolean" + }, + "isTablet": { + "type": "boolean" + }, + "isVR": { + "type": "boolean" + } + } + }, + "EventAgendaDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "label": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "description": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "type": { + "type": "string", + "nullable": true + }, + "dateAdded": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "dateFrom": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "dateTo": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "website": { + "type": "string", + "nullable": true + }, + "resourceId": { + "type": "string", + "nullable": true + }, + "resource": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/ResourceDTO" + } + ] + }, + "address": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/EventAddressDTO" + } + ] + }, + "phone": { + "type": "string", + "nullable": true + }, + "email": { + "type": "string", + "nullable": true + }, + "sectionAgendaId": { + "type": "string", + "nullable": true + }, + "sectionEventId": { + "type": "string", + "nullable": true + } + } + }, + "EventAddressDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "address": { + "type": "string", + "nullable": true + }, + "streetNumber": { + "type": "string", + "nullable": true + }, + "streetName": { + "type": "string", + "nullable": true + }, + "city": { + "type": "string", + "nullable": true + }, + "state": { + "type": "string", + "nullable": true + }, + "postCode": { + "type": "string", + "nullable": true + }, + "country": { + "type": "string", + "nullable": true + }, + "geometry": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/GeometryDTO" + } + ] + }, + "polyColor": { + "type": "string", + "nullable": true + }, + "zoom": { + "type": "integer", + "format": "int32" + } + } + }, + "GeometryDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "nullable": true + }, + "coordinates": { + "nullable": true } } }, @@ -4111,14 +7425,6 @@ "format": "int32", "nullable": true }, - "latitude": { - "type": "string", - "nullable": true - }, - "longitude": { - "type": "string", - "nullable": true - }, "imageResourceId": { "type": "string", "nullable": true @@ -4161,6 +7467,26 @@ "items": { "$ref": "#/components/schemas/TranslationDTO" } + }, + "geometry": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/GeometryDTO" + } + ] + }, + "polyColor": { + "type": "string", + "nullable": true + }, + "sectionMapId": { + "type": "string", + "nullable": true + }, + "sectionEventId": { + "type": "string", + "nullable": true } } }, @@ -4605,6 +7931,13 @@ "$ref": "#/components/schemas/MapProvider" } ] + }, + "events": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/EventAgendaDTO" + } } } } @@ -4636,25 +7969,360 @@ } ] }, - "GeoPoint": { + "SectionEventDTO": { + "allOf": [ + { + "$ref": "#/components/schemas/SectionDTO" + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "startDate": { + "type": "string", + "format": "date-time" + }, + "endDate": { + "type": "string", + "format": "date-time" + }, + "parcoursIds": { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + }, + "programme": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/ProgrammeBlock" + } + } + } + } + ] + }, + "GuidedPathDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "instanceId": { + "type": "string", + "nullable": true + }, + "title": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "description": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "sectionMapId": { + "type": "string", + "nullable": true + }, + "sectionEventId": { + "type": "string", + "nullable": true + }, + "isLinear": { + "type": "boolean" + }, + "requireSuccessToAdvance": { + "type": "boolean" + }, + "hideNextStepsUntilComplete": { + "type": "boolean" + }, + "order": { + "type": "integer", + "format": "int32" + }, + "steps": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/GuidedStepDTO" + } + } + } + }, + "GuidedStepDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "guidedPathId": { + "type": "string", + "nullable": true + }, + "order": { + "type": "integer", + "format": "int32" + }, + "title": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "description": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "geometry": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/GeometryDTO" + } + ] + }, + "zoneRadiusMeters": { + "type": "number", + "format": "double", + "nullable": true + }, + "imageUrl": { + "type": "string", + "nullable": true + }, + "triggerGeoPointId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "triggerGeoPoint": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/GeoPointDTO" + } + ] + }, + "isHiddenInitially": { + "type": "boolean" + }, + "isStepTimer": { + "type": "boolean" + }, + "isStepLocked": { + "type": "boolean" + }, + "timerSeconds": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "timerExpiredMessage": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "quizQuestions": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/QuizQuestion" + } + } + } + }, + "QuizQuestion": { "type": "object", "additionalProperties": false, "required": [ "id", - "title", - "description", - "contents", - "schedules", - "prices", - "phone", - "email", - "site" + "label", + "responses" ], "properties": { "id": { "type": "integer", "format": "int32" }, + "label": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationAndResourceDTO" + } + }, + "resourceId": { + "type": "string", + "nullable": true + }, + "resource": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Resource" + } + ] + }, + "order": { + "type": "integer", + "format": "int32" + }, + "responses": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResponseDTO" + } + }, + "sectionQuizId": { + "type": "string", + "nullable": true + }, + "sectionQuiz": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/SectionQuiz" + } + ] + }, + "guidedStepId": { + "type": "string", + "nullable": true + }, + "guidedStep": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/GuidedStep" + } + ] + }, + "validationQuestionType": { + "$ref": "#/components/schemas/QuestionType" + }, + "puzzleImageId": { + "type": "string", + "nullable": true + }, + "puzzleImage": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Resource" + } + ] + }, + "puzzleRows": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "puzzleCols": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isSlidingPuzzle": { + "type": "boolean" + } + } + }, + "SectionQuiz": { + "allOf": [ + { + "$ref": "#/components/schemas/Section" + }, + { + "type": "object", + "additionalProperties": false, + "required": [ + "quizQuestions", + "quizBadLevel", + "quizMediumLevel", + "quizGoodLevel", + "quizGreatLevel" + ], + "properties": { + "quizQuestions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/QuizQuestion" + } + }, + "quizBadLevel": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationAndResourceDTO" + } + }, + "quizMediumLevel": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationAndResourceDTO" + } + }, + "quizGoodLevel": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationAndResourceDTO" + } + }, + "quizGreatLevel": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationAndResourceDTO" + } + } + } + } + ] + }, + "GuidedStep": { + "type": "object", + "additionalProperties": false, + "required": [ + "guidedPathId", + "title" + ], + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "guidedPathId": { + "type": "string", + "minLength": 1 + }, + "guidedPath": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/GuidedPath" + } + ] + }, + "order": { + "type": "integer", + "format": "int32" + }, "title": { "type": "array", "items": { @@ -4663,63 +8331,96 @@ }, "description": { "type": "array", + "nullable": true, "items": { "$ref": "#/components/schemas/TranslationDTO" } }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContentDTO" - } + "geometry": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Geometry" + } + ] }, - "categorieId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "latitude": { - "type": "string", - "nullable": true - }, - "longitude": { - "type": "string", - "nullable": true - }, - "imageResourceId": { - "type": "string", + "zoneRadiusMeters": { + "type": "number", + "format": "double", "nullable": true }, "imageUrl": { "type": "string", "nullable": true }, - "schedules": { + "triggerGeoPointId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "triggerGeoPoint": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/GeoPoint" + } + ] + }, + "isHiddenInitially": { + "type": "boolean" + }, + "quizQuestions": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/QuizQuestion" + } + }, + "isStepTimer": { + "type": "boolean" + }, + "isStepLocked": { + "type": "boolean" + }, + "timerSeconds": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "timerExpiredMessage": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + } + } + }, + "GuidedPath": { + "type": "object", + "additionalProperties": false, + "required": [ + "instanceId", + "title" + ], + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "instanceId": { + "type": "string", + "minLength": 1 + }, + "title": { "type": "array", "items": { "$ref": "#/components/schemas/TranslationDTO" } }, - "prices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TranslationDTO" - } - }, - "phone": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TranslationDTO" - } - }, - "email": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TranslationDTO" - } - }, - "site": { + "description": { "type": "array", + "nullable": true, "items": { "$ref": "#/components/schemas/TranslationDTO" } @@ -4735,6 +8436,38 @@ "$ref": "#/components/schemas/SectionMap" } ] + }, + "sectionEventId": { + "type": "string", + "nullable": true + }, + "sectionEvent": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/SectionEvent" + } + ] + }, + "isLinear": { + "type": "boolean" + }, + "requireSuccessToAdvance": { + "type": "boolean" + }, + "hideNextStepsUntilComplete": { + "type": "boolean" + }, + "order": { + "type": "integer", + "format": "int32" + }, + "steps": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/GuidedStep" + } } } }, @@ -4815,61 +8548,24 @@ } ] }, - "Resource": { + "GeoPoint": { "type": "object", "additionalProperties": false, "required": [ "id", - "type", - "label", - "instanceId" - ], - "properties": { - "id": { - "type": "string", - "minLength": 1 - }, - "type": { - "$ref": "#/components/schemas/ResourceType" - }, - "label": { - "type": "string", - "minLength": 1 - }, - "dateCreation": { - "type": "string", - "format": "date-time" - }, - "instanceId": { - "type": "string", - "minLength": 1 - }, - "url": { - "type": "string", - "nullable": true - } - } - }, - "Section": { - "type": "object", - "additionalProperties": false, - "required": [ - "id", - "label", "title", - "configurationId", - "type", - "isSubSection", - "instanceId" + "description", + "contents", + "schedules", + "prices", + "phone", + "email", + "site" ], "properties": { "id": { - "type": "string", - "minLength": 1 - }, - "label": { - "type": "string", - "minLength": 1 + "type": "integer", + "format": "int32" }, "title": { "type": "array", @@ -4877,6 +8573,128 @@ "$ref": "#/components/schemas/TranslationDTO" } }, + "description": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "contents": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ContentDTO" + } + }, + "categorieId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "geometry": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/Geometry" + } + ] + }, + "polyColor": { + "type": "string", + "nullable": true + }, + "imageResourceId": { + "type": "string", + "nullable": true + }, + "imageUrl": { + "type": "string", + "nullable": true + }, + "schedules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "prices": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "phone": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "email": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "site": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, + "sectionMapId": { + "type": "string", + "nullable": true + }, + "sectionMap": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/SectionMap" + } + ] + }, + "sectionEventId": { + "type": "string", + "nullable": true + }, + "sectionEvent": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/SectionEvent" + } + ] + } + } + }, + "QuestionType": { + "type": "integer", + "description": "0 = Simple\n1 = MultipleChoice\n2 = Puzzle", + "x-enumNames": [ + "Simple", + "MultipleChoice", + "Puzzle" + ], + "enum": [ + 0, + 1, + 2 + ] + }, + "ProgrammeBlockDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "title": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } + }, "description": { "type": "array", "nullable": true, @@ -4884,60 +8702,75 @@ "$ref": "#/components/schemas/TranslationDTO" } }, - "order": { - "type": "integer", - "format": "int32" - }, - "configurationId": { + "startTime": { "type": "string", - "minLength": 1 + "format": "date-time" }, - "imageId": { + "endTime": { "type": "string", - "nullable": true + "format": "date-time" }, - "imageSource": { + "mapAnnotations": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/MapAnnotationDTO" + } + } + } + }, + "MapAnnotationDTO": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { "type": "string", "nullable": true }, "type": { - "$ref": "#/components/schemas/SectionType" + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } }, - "isSubSection": { - "type": "boolean" + "label": { + "type": "array", + "nullable": true, + "items": { + "$ref": "#/components/schemas/TranslationDTO" + } }, - "parentId": { + "geometryType": { + "$ref": "#/components/schemas/GeometryType" + }, + "geometry": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/GeometryDTO" + } + ] + }, + "polyColor": { "type": "string", "nullable": true }, - "dateCreation": { - "type": "string", - "format": "date-time" - }, - "instanceId": { - "type": "string", - "minLength": 1 - }, - "isBeacon": { - "type": "boolean" - }, - "beaconId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "latitude": { + "icon": { "type": "string", "nullable": true }, - "longitude": { + "iconResourceId": { "type": "string", "nullable": true }, - "meterZoneGPS": { - "type": "integer", - "format": "int32", - "nullable": true + "iconResource": { + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/ResourceDTO" + } + ] } } }, @@ -5012,58 +8845,6 @@ "nullable": true } } - }, - "TokenDTO": { - "type": "object", - "additionalProperties": false, - "properties": { - "access_token": { - "type": "string", - "nullable": true - }, - "refresh_token": { - "type": "string", - "nullable": true - }, - "scope": { - "type": "string", - "nullable": true - }, - "token_type": { - "type": "string", - "nullable": true - }, - "expires_in": { - "type": "integer", - "format": "int32" - }, - "expiration": { - "type": "string", - "format": "date-time" - }, - "instanceId": { - "type": "string", - "nullable": true - }, - "pinCode": { - "type": "string", - "nullable": true - } - } - }, - "LoginDTO": { - "type": "object", - "additionalProperties": false, - "properties": { - "email": { - "type": "string", - "nullable": true - }, - "password": { - "type": "string", - "nullable": true - } - } } }, "securitySchemes": { @@ -5088,6 +8869,14 @@ } ], "tags": [ + { + "name": "Authentication", + "description": "Authentication management" + }, + { + "name": "Instance", + "description": "Instance management" + }, { "name": "Configuration", "description": "Configuration management" @@ -5096,18 +8885,22 @@ "name": "Device", "description": "Device management" }, - { - "name": "Instance", - "description": "Instance management" - }, { "name": "Resource", "description": "Resource management" }, + { + "name": "Section agenda", + "description": "Section agenda management" + }, { "name": "Section", "description": "Section management" }, + { + "name": "Section event", + "description": "Section event management" + }, { "name": "Section map", "description": "Section map management" @@ -5119,10 +8912,6 @@ { "name": "User", "description": "User management" - }, - { - "name": "Authentication", - "description": "Authentication management" } ] } \ No newline at end of file diff --git a/manager_api_new/.openapi-generator/FILES b/manager_api_new/.openapi-generator/FILES index 8f248e2..f912150 100644 --- a/manager_api_new/.openapi-generator/FILES +++ b/manager_api_new/.openapi-generator/FILES @@ -4,24 +4,64 @@ README.md analysis_options.yaml doc/AgendaDTO.md doc/AgendaDTOAllOfAgendaMapProvider.md +doc/AppConfigurationLink.md +doc/AppConfigurationLinkApplicationInstance.md +doc/AppConfigurationLinkConfiguration.md +doc/AppConfigurationLinkDTO.md +doc/AppType.md +doc/ApplicationInstance.md +doc/ApplicationInstanceDTO.md +doc/ApplicationInstanceSectionEvent.md doc/ArticleDTO.md doc/AuthenticationApi.md doc/CategorieDTO.md +doc/Configuration.md doc/ConfigurationApi.md doc/ConfigurationDTO.md doc/ContentDTO.md -doc/ContentDTOResource.md +doc/Coordinate.md +doc/CoordinateEqualityComparer.md +doc/CoordinateSequence.md +doc/CoordinateSequenceFactory.md doc/DeviceApi.md doc/DeviceDTO.md doc/DeviceDetailDTO.md +doc/Dimension.md +doc/Envelope.md +doc/EventAddressDTO.md +doc/EventAddressDTOGeometry.md +doc/EventAgendaDTO.md +doc/EventAgendaDTOAddress.md +doc/EventAgendaDTOResource.md doc/ExportConfigurationDTO.md doc/GeoPoint.md doc/GeoPointDTO.md -doc/GeoPointSectionMap.md +doc/Geometry.md +doc/GeometryCentroid.md +doc/GeometryDTO.md +doc/GeometryEnvelopeInternal.md +doc/GeometryFactory.md +doc/GeometryFactoryCoordinateSequenceFactory.md +doc/GeometryFactoryGeometryServices.md +doc/GeometryPrecisionModel.md +doc/GeometryType.md +doc/GuidedPath.md +doc/GuidedPathDTO.md +doc/GuidedPathSectionMap.md +doc/GuidedStep.md +doc/GuidedStepDTO.md +doc/GuidedStepDTOTriggerGeoPoint.md +doc/GuidedStepGuidedPath.md +doc/GuidedStepTriggerGeoPoint.md doc/Instance.md doc/InstanceApi.md doc/InstanceDTO.md +doc/LayoutMainPageType.md doc/LoginDTO.md +doc/MapAnnotation.md +doc/MapAnnotationDTO.md +doc/MapAnnotationGeometry.md +doc/MapAnnotationIconResource.md doc/MapDTO.md doc/MapDTOAllOfMapProvider.md doc/MapDTOAllOfMapType.md @@ -30,28 +70,50 @@ doc/MapProvider.md doc/MapTypeApp.md doc/MapTypeMapBox.md doc/MenuDTO.md +doc/NtsGeometryServices.md +doc/NtsGeometryServicesCoordinateEqualityComparer.md +doc/NtsGeometryServicesGeometryOverlay.md +doc/OgcGeometryType.md doc/OrderedTranslationAndResourceDTO.md +doc/Ordinates.md doc/PdfDTO.md doc/PlayerMessageDTO.md +doc/Point.md +doc/PointAllOfBoundary.md +doc/PointAllOfCoordinate.md +doc/PointAllOfCoordinateSequence.md +doc/PrecisionModel.md +doc/PrecisionModels.md +doc/ProgrammeBlock.md +doc/ProgrammeBlockDTO.md doc/PuzzleDTO.md doc/PuzzleDTOAllOfPuzzleImage.md doc/QuestionDTO.md doc/QuestionDTOImageBackgroundResourceType.md +doc/QuestionType.md doc/QuizDTO.md +doc/QuizQuestion.md +doc/QuizQuestionGuidedStep.md +doc/QuizQuestionSectionQuiz.md doc/Resource.md doc/ResourceApi.md doc/ResourceDTO.md doc/ResourceType.md doc/ResponseDTO.md doc/Section.md +doc/SectionAgendaApi.md doc/SectionApi.md doc/SectionDTO.md +doc/SectionEvent.md +doc/SectionEventApi.md +doc/SectionEventDTO.md doc/SectionMap.md doc/SectionMapAllOfMapMapProvider.md doc/SectionMapAllOfMapMapType.md doc/SectionMapAllOfMapResource.md doc/SectionMapAllOfMapTypeMapbox.md doc/SectionMapApi.md +doc/SectionQuiz.md doc/SectionQuizApi.md doc/SectionType.md doc/SliderDTO.md @@ -71,7 +133,9 @@ lib/api/configuration_api.dart lib/api/device_api.dart lib/api/instance_api.dart lib/api/resource_api.dart +lib/api/section_agenda_api.dart lib/api/section_api.dart +lib/api/section_event_api.dart lib/api/section_map_api.dart lib/api/section_quiz_api.dart lib/api/user_api.dart @@ -85,20 +149,60 @@ lib/auth/http_bearer_auth.dart lib/auth/oauth.dart lib/model/agenda_dto.dart lib/model/agenda_dto_all_of_agenda_map_provider.dart +lib/model/app_configuration_link.dart +lib/model/app_configuration_link_application_instance.dart +lib/model/app_configuration_link_configuration.dart +lib/model/app_configuration_link_dto.dart +lib/model/app_type.dart +lib/model/application_instance.dart +lib/model/application_instance_dto.dart +lib/model/application_instance_section_event.dart lib/model/article_dto.dart lib/model/categorie_dto.dart +lib/model/configuration.dart lib/model/configuration_dto.dart lib/model/content_dto.dart -lib/model/content_dto_resource.dart +lib/model/coordinate.dart +lib/model/coordinate_equality_comparer.dart +lib/model/coordinate_sequence.dart +lib/model/coordinate_sequence_factory.dart lib/model/device_detail_dto.dart lib/model/device_dto.dart +lib/model/dimension.dart +lib/model/envelope.dart +lib/model/event_address_dto.dart +lib/model/event_address_dto_geometry.dart +lib/model/event_agenda_dto.dart +lib/model/event_agenda_dto_address.dart +lib/model/event_agenda_dto_resource.dart lib/model/export_configuration_dto.dart lib/model/geo_point.dart lib/model/geo_point_dto.dart -lib/model/geo_point_section_map.dart +lib/model/geometry.dart +lib/model/geometry_centroid.dart +lib/model/geometry_dto.dart +lib/model/geometry_envelope_internal.dart +lib/model/geometry_factory.dart +lib/model/geometry_factory_coordinate_sequence_factory.dart +lib/model/geometry_factory_geometry_services.dart +lib/model/geometry_precision_model.dart +lib/model/geometry_type.dart +lib/model/guided_path.dart +lib/model/guided_path_dto.dart +lib/model/guided_path_section_map.dart +lib/model/guided_step.dart +lib/model/guided_step_dto.dart +lib/model/guided_step_dto_trigger_geo_point.dart +lib/model/guided_step_guided_path.dart +lib/model/guided_step_trigger_geo_point.dart lib/model/instance.dart lib/model/instance_dto.dart +lib/model/layout_main_page_type.dart lib/model/login_dto.dart +lib/model/map_annotation.dart +lib/model/map_annotation_dto.dart +lib/model/map_annotation_geometry.dart +lib/model/map_annotation_icon_resource.dart lib/model/map_dto.dart lib/model/map_dto_all_of_map_provider.dart lib/model/map_dto_all_of_map_type.dart @@ -107,25 +211,45 @@ lib/model/map_provider.dart lib/model/map_type_app.dart lib/model/map_type_map_box.dart lib/model/menu_dto.dart +lib/model/nts_geometry_services.dart +lib/model/nts_geometry_services_coordinate_equality_comparer.dart +lib/model/nts_geometry_services_geometry_overlay.dart +lib/model/ogc_geometry_type.dart lib/model/ordered_translation_and_resource_dto.dart +lib/model/ordinates.dart lib/model/pdf_dto.dart lib/model/player_message_dto.dart +lib/model/point.dart +lib/model/point_all_of_boundary.dart +lib/model/point_all_of_coordinate.dart +lib/model/point_all_of_coordinate_sequence.dart +lib/model/precision_model.dart +lib/model/precision_models.dart +lib/model/programme_block.dart +lib/model/programme_block_dto.dart lib/model/puzzle_dto.dart lib/model/puzzle_dto_all_of_puzzle_image.dart lib/model/question_dto.dart lib/model/question_dto_image_background_resource_type.dart +lib/model/question_type.dart lib/model/quiz_dto.dart +lib/model/quiz_question.dart +lib/model/quiz_question_guided_step.dart +lib/model/quiz_question_section_quiz.dart lib/model/resource.dart lib/model/resource_dto.dart lib/model/resource_type.dart lib/model/response_dto.dart lib/model/section.dart lib/model/section_dto.dart +lib/model/section_event.dart +lib/model/section_event_dto.dart lib/model/section_map.dart lib/model/section_map_all_of_map_map_provider.dart lib/model/section_map_all_of_map_map_type.dart lib/model/section_map_all_of_map_resource.dart lib/model/section_map_all_of_map_type_mapbox.dart +lib/model/section_quiz.dart lib/model/section_type.dart lib/model/slider_dto.dart lib/model/token_dto.dart @@ -137,3 +261,64 @@ lib/model/video_dto.dart lib/model/weather_dto.dart lib/model/web_dto.dart pubspec.yaml +test/app_configuration_link_application_instance_test.dart +test/app_configuration_link_configuration_test.dart +test/app_configuration_link_dto_test.dart +test/app_configuration_link_test.dart +test/app_type_test.dart +test/application_instance_dto_test.dart +test/application_instance_section_event_test.dart +test/application_instance_test.dart +test/configuration_test.dart +test/coordinate_equality_comparer_test.dart +test/coordinate_sequence_factory_test.dart +test/coordinate_sequence_test.dart +test/coordinate_test.dart +test/dimension_test.dart +test/envelope_test.dart +test/event_address_dto_geometry_test.dart +test/event_address_dto_test.dart +test/event_agenda_dto_address_test.dart +test/event_agenda_dto_resource_test.dart +test/event_agenda_dto_test.dart +test/geometry_centroid_test.dart +test/geometry_dto_test.dart +test/geometry_envelope_internal_test.dart +test/geometry_factory_coordinate_sequence_factory_test.dart +test/geometry_factory_geometry_services_test.dart +test/geometry_factory_test.dart +test/geometry_precision_model_test.dart +test/geometry_test.dart +test/geometry_type_test.dart +test/guided_path_dto_test.dart +test/guided_path_section_map_test.dart +test/guided_path_test.dart +test/guided_step_dto_test.dart +test/guided_step_dto_trigger_geo_point_test.dart +test/guided_step_guided_path_test.dart +test/guided_step_test.dart +test/guided_step_trigger_geo_point_test.dart +test/layout_main_page_type_test.dart +test/map_annotation_dto_test.dart +test/map_annotation_geometry_test.dart +test/map_annotation_icon_resource_test.dart +test/map_annotation_test.dart +test/nts_geometry_services_coordinate_equality_comparer_test.dart +test/nts_geometry_services_geometry_overlay_test.dart +test/nts_geometry_services_test.dart +test/ogc_geometry_type_test.dart +test/ordinates_test.dart +test/point_all_of_boundary_test.dart +test/point_all_of_coordinate_sequence_test.dart +test/point_all_of_coordinate_test.dart +test/point_test.dart +test/precision_model_test.dart +test/precision_models_test.dart +test/programme_block_dto_test.dart +test/programme_block_test.dart +test/question_type_test.dart +test/quiz_question_guided_step_test.dart +test/section_agenda_api_test.dart +test/section_event_api_test.dart +test/section_event_dto_test.dart +test/section_event_test.dart diff --git a/manager_api_new/README.md b/manager_api_new/README.md index ca87372..f8ba7b6 100644 --- a/manager_api_new/README.md +++ b/manager_api_new/README.md @@ -3,7 +3,7 @@ API Manager Service This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: Version Alpha 3 +- API version: Version Alpha 0.1 - Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.DartClientCodegen @@ -81,6 +81,14 @@ Class | Method | HTTP request | Description *DeviceApi* | [**deviceGetDetail**](doc//DeviceApi.md#devicegetdetail) | **GET** /api/Device/{id}/detail | *DeviceApi* | [**deviceUpdate**](doc//DeviceApi.md#deviceupdate) | **PUT** /api/Device | *DeviceApi* | [**deviceUpdateMainInfos**](doc//DeviceApi.md#deviceupdatemaininfos) | **PUT** /api/Device/mainInfos | +*InstanceApi* | [**applicationInstanceAddConfigurationToApplicationInstance**](doc//InstanceApi.md#applicationinstanceaddconfigurationtoapplicationinstance) | **POST** /api/ApplicationInstance/{applicationInstanceId}/application-link | +*InstanceApi* | [**applicationInstanceCreate**](doc//InstanceApi.md#applicationinstancecreate) | **POST** /api/ApplicationInstance | +*InstanceApi* | [**applicationInstanceDelete**](doc//InstanceApi.md#applicationinstancedelete) | **DELETE** /api/ApplicationInstance/{id} | +*InstanceApi* | [**applicationInstanceDeleteAppConfigurationLink**](doc//InstanceApi.md#applicationinstancedeleteappconfigurationlink) | **DELETE** /api/ApplicationInstance/{applicationInstanceId}/application-link/{appConfigurationLinkId} | +*InstanceApi* | [**applicationInstanceGet**](doc//InstanceApi.md#applicationinstanceget) | **GET** /api/ApplicationInstance | +*InstanceApi* | [**applicationInstanceGetAllApplicationLinkFromApplicationInstance**](doc//InstanceApi.md#applicationinstancegetallapplicationlinkfromapplicationinstance) | **GET** /api/ApplicationInstance/{applicationInstanceId}/application-link | +*InstanceApi* | [**applicationInstanceUpdate**](doc//InstanceApi.md#applicationinstanceupdate) | **PUT** /api/ApplicationInstance | +*InstanceApi* | [**applicationInstanceUpdateApplicationLink**](doc//InstanceApi.md#applicationinstanceupdateapplicationlink) | **PUT** /api/ApplicationInstance/application-link | *InstanceApi* | [**instanceCreateInstance**](doc//InstanceApi.md#instancecreateinstance) | **POST** /api/Instance | *InstanceApi* | [**instanceDeleteInstance**](doc//InstanceApi.md#instancedeleteinstance) | **DELETE** /api/Instance/{id} | *InstanceApi* | [**instanceGet**](doc//InstanceApi.md#instanceget) | **GET** /api/Instance | @@ -105,11 +113,13 @@ Class | Method | HTTP request | Description *SectionApi* | [**sectionGetDetail**](doc//SectionApi.md#sectiongetdetail) | **GET** /api/Section/{id} | *SectionApi* | [**sectionGetFromConfiguration**](doc//SectionApi.md#sectiongetfromconfiguration) | **GET** /api/Section/configuration/{id} | *SectionApi* | [**sectionGetFromConfigurationDetail**](doc//SectionApi.md#sectiongetfromconfigurationdetail) | **GET** /api/Section/configuration/{id}/detail | +*SectionApi* | [**sectionGetGuidedPathDTO**](doc//SectionApi.md#sectiongetguidedpathdto) | **GET** /api/Section/GuidedPathDTO | *SectionApi* | [**sectionGetMapDTO**](doc//SectionApi.md#sectiongetmapdto) | **GET** /api/Section/MapDTO | *SectionApi* | [**sectionGetMenuDTO**](doc//SectionApi.md#sectiongetmenudto) | **GET** /api/Section/MenuDTO | *SectionApi* | [**sectionGetPdfDTO**](doc//SectionApi.md#sectiongetpdfdto) | **GET** /api/Section/PdfDTO | *SectionApi* | [**sectionGetPuzzleDTO**](doc//SectionApi.md#sectiongetpuzzledto) | **GET** /api/Section/PuzzleDTO | *SectionApi* | [**sectionGetQuizDTO**](doc//SectionApi.md#sectiongetquizdto) | **GET** /api/Section/QuizDTO | +*SectionApi* | [**sectionGetSectionEventDTO**](doc//SectionApi.md#sectiongetsectioneventdto) | **GET** /api/Section/SectionEventDTO | *SectionApi* | [**sectionGetSliderDTO**](doc//SectionApi.md#sectiongetsliderdto) | **GET** /api/Section/SliderDTO | *SectionApi* | [**sectionGetVideoDTO**](doc//SectionApi.md#sectiongetvideodto) | **GET** /api/Section/VideoDTO | *SectionApi* | [**sectionGetWeatherDTO**](doc//SectionApi.md#sectiongetweatherdto) | **GET** /api/Section/WeatherDTO | @@ -117,10 +127,30 @@ Class | Method | HTTP request | Description *SectionApi* | [**sectionPlayerMessageDTO**](doc//SectionApi.md#sectionplayermessagedto) | **GET** /api/Section/PlayerMessageDTO | *SectionApi* | [**sectionUpdate**](doc//SectionApi.md#sectionupdate) | **PUT** /api/Section | *SectionApi* | [**sectionUpdateOrder**](doc//SectionApi.md#sectionupdateorder) | **PUT** /api/Section/order | +*SectionAgendaApi* | [**sectionAgendaCreateEventAgenda**](doc//SectionAgendaApi.md#sectionagendacreateeventagenda) | **POST** /api/SectionAgenda/{sectionAgendaId}/event | +*SectionAgendaApi* | [**sectionAgendaDeleteEventAgenda**](doc//SectionAgendaApi.md#sectionagendadeleteeventagenda) | **DELETE** /api/SectionAgenda/event/{eventAgendaId} | +*SectionAgendaApi* | [**sectionAgendaGetAllEventAgendaFromSection**](doc//SectionAgendaApi.md#sectionagendagetalleventagendafromsection) | **GET** /api/SectionAgenda/{sectionAgendaId}/events | +*SectionAgendaApi* | [**sectionAgendaUpdateEventAgenda**](doc//SectionAgendaApi.md#sectionagendaupdateeventagenda) | **PUT** /api/SectionAgenda/event | +*SectionEventApi* | [**sectionEventCreateMapAnnotation**](doc//SectionEventApi.md#sectioneventcreatemapannotation) | **POST** /api/SectionEvent/{programmeBlockId}/map-annotations | +*SectionEventApi* | [**sectionEventCreateProgrammeBlock**](doc//SectionEventApi.md#sectioneventcreateprogrammeblock) | **POST** /api/SectionEvent/{sectionEventId}/programmes | +*SectionEventApi* | [**sectionEventDeleteMapAnnotation**](doc//SectionEventApi.md#sectioneventdeletemapannotation) | **DELETE** /api/SectionEvent/map-annotations/{mapAnnotationId} | +*SectionEventApi* | [**sectionEventDeleteProgrammeBlock**](doc//SectionEventApi.md#sectioneventdeleteprogrammeblock) | **DELETE** /api/SectionEvent/programmes/{programBlockId} | +*SectionEventApi* | [**sectionEventGetAllMapAnnotationsFromProgrammeBlock**](doc//SectionEventApi.md#sectioneventgetallmapannotationsfromprogrammeblock) | **GET** /api/SectionEvent/{programBlockId}/map-annotations | +*SectionEventApi* | [**sectionEventGetAllProgrammeBlockFromSection**](doc//SectionEventApi.md#sectioneventgetallprogrammeblockfromsection) | **GET** /api/SectionEvent/{sectionEventId}/programmes | +*SectionEventApi* | [**sectionEventUpdateMapAnnotation**](doc//SectionEventApi.md#sectioneventupdatemapannotation) | **PUT** /api/SectionEvent/map-annotations | +*SectionEventApi* | [**sectionEventUpdateProgrammeBlock**](doc//SectionEventApi.md#sectioneventupdateprogrammeblock) | **PUT** /api/SectionEvent/programmes | *SectionMapApi* | [**sectionMapCreate**](doc//SectionMapApi.md#sectionmapcreate) | **POST** /api/SectionMap/{sectionId}/points | -*SectionMapApi* | [**sectionMapDelete**](doc//SectionMapApi.md#sectionmapdelete) | **DELETE** /api/SectionMap/points/delete/{geoPointId} | +*SectionMapApi* | [**sectionMapCreateGuidedPath**](doc//SectionMapApi.md#sectionmapcreateguidedpath) | **POST** /api/SectionMap/{sectionMapId}/guided-path | +*SectionMapApi* | [**sectionMapCreateGuidedStep**](doc//SectionMapApi.md#sectionmapcreateguidedstep) | **POST** /api/SectionMap/guided-path/{guidedPathId}/guided-step | +*SectionMapApi* | [**sectionMapDelete**](doc//SectionMapApi.md#sectionmapdelete) | **DELETE** /api/SectionMap/points/{geoPointId} | +*SectionMapApi* | [**sectionMapDeleteGuidedPath**](doc//SectionMapApi.md#sectionmapdeleteguidedpath) | **DELETE** /api/SectionMap/guided-path/{guidedPathId} | +*SectionMapApi* | [**sectionMapDeleteGuidedStep**](doc//SectionMapApi.md#sectionmapdeleteguidedstep) | **DELETE** /api/SectionMap/guided-step/{guidedStepId} | *SectionMapApi* | [**sectionMapGetAllGeoPointsFromSection**](doc//SectionMapApi.md#sectionmapgetallgeopointsfromsection) | **GET** /api/SectionMap/{sectionId}/points | +*SectionMapApi* | [**sectionMapGetAllGuidedPathFromSection**](doc//SectionMapApi.md#sectionmapgetallguidedpathfromsection) | **GET** /api/SectionMap/{sectionMapId}/guided-path | +*SectionMapApi* | [**sectionMapGetAllGuidedStepFromGuidedPath**](doc//SectionMapApi.md#sectionmapgetallguidedstepfromguidedpath) | **GET** /api/SectionMap/guided-path/{guidedPathId}/guided-step | *SectionMapApi* | [**sectionMapUpdate**](doc//SectionMapApi.md#sectionmapupdate) | **PUT** /api/SectionMap | +*SectionMapApi* | [**sectionMapUpdateGuidedPath**](doc//SectionMapApi.md#sectionmapupdateguidedpath) | **PUT** /api/SectionMap/guided-path | +*SectionMapApi* | [**sectionMapUpdateGuidedStep**](doc//SectionMapApi.md#sectionmapupdateguidedstep) | **PUT** /api/SectionMap/guided-step | *SectionQuizApi* | [**sectionQuizCreate**](doc//SectionQuizApi.md#sectionquizcreate) | **POST** /api/SectionQuiz/{sectionId}/questions | *SectionQuizApi* | [**sectionQuizDelete**](doc//SectionQuizApi.md#sectionquizdelete) | **DELETE** /api/SectionQuiz/questions/delete/{quizQuestionId} | *SectionQuizApi* | [**sectionQuizGetAllQuizQuestionFromSection**](doc//SectionQuizApi.md#sectionquizgetallquizquestionfromsection) | **GET** /api/SectionQuiz/{sectionId}/questions | @@ -136,20 +166,60 @@ Class | Method | HTTP request | Description - [AgendaDTO](doc//AgendaDTO.md) - [AgendaDTOAllOfAgendaMapProvider](doc//AgendaDTOAllOfAgendaMapProvider.md) + - [AppConfigurationLink](doc//AppConfigurationLink.md) + - [AppConfigurationLinkApplicationInstance](doc//AppConfigurationLinkApplicationInstance.md) + - [AppConfigurationLinkConfiguration](doc//AppConfigurationLinkConfiguration.md) + - [AppConfigurationLinkDTO](doc//AppConfigurationLinkDTO.md) + - [AppType](doc//AppType.md) + - [ApplicationInstance](doc//ApplicationInstance.md) + - [ApplicationInstanceDTO](doc//ApplicationInstanceDTO.md) + - [ApplicationInstanceSectionEvent](doc//ApplicationInstanceSectionEvent.md) - [ArticleDTO](doc//ArticleDTO.md) - [CategorieDTO](doc//CategorieDTO.md) + - [Configuration](doc//Configuration.md) - [ConfigurationDTO](doc//ConfigurationDTO.md) - [ContentDTO](doc//ContentDTO.md) - - [ContentDTOResource](doc//ContentDTOResource.md) + - [Coordinate](doc//Coordinate.md) + - [CoordinateEqualityComparer](doc//CoordinateEqualityComparer.md) + - [CoordinateSequence](doc//CoordinateSequence.md) + - [CoordinateSequenceFactory](doc//CoordinateSequenceFactory.md) - [DeviceDTO](doc//DeviceDTO.md) - [DeviceDetailDTO](doc//DeviceDetailDTO.md) + - [Dimension](doc//Dimension.md) + - [Envelope](doc//Envelope.md) + - [EventAddressDTO](doc//EventAddressDTO.md) + - [EventAddressDTOGeometry](doc//EventAddressDTOGeometry.md) + - [EventAgendaDTO](doc//EventAgendaDTO.md) + - [EventAgendaDTOAddress](doc//EventAgendaDTOAddress.md) + - [EventAgendaDTOResource](doc//EventAgendaDTOResource.md) - [ExportConfigurationDTO](doc//ExportConfigurationDTO.md) - [GeoPoint](doc//GeoPoint.md) - [GeoPointDTO](doc//GeoPointDTO.md) - - [GeoPointSectionMap](doc//GeoPointSectionMap.md) + - [Geometry](doc//Geometry.md) + - [GeometryCentroid](doc//GeometryCentroid.md) + - [GeometryDTO](doc//GeometryDTO.md) + - [GeometryEnvelopeInternal](doc//GeometryEnvelopeInternal.md) + - [GeometryFactory](doc//GeometryFactory.md) + - [GeometryFactoryCoordinateSequenceFactory](doc//GeometryFactoryCoordinateSequenceFactory.md) + - [GeometryFactoryGeometryServices](doc//GeometryFactoryGeometryServices.md) + - [GeometryPrecisionModel](doc//GeometryPrecisionModel.md) + - [GeometryType](doc//GeometryType.md) + - [GuidedPath](doc//GuidedPath.md) + - [GuidedPathDTO](doc//GuidedPathDTO.md) + - [GuidedPathSectionMap](doc//GuidedPathSectionMap.md) + - [GuidedStep](doc//GuidedStep.md) + - [GuidedStepDTO](doc//GuidedStepDTO.md) + - [GuidedStepDTOTriggerGeoPoint](doc//GuidedStepDTOTriggerGeoPoint.md) + - [GuidedStepGuidedPath](doc//GuidedStepGuidedPath.md) + - [GuidedStepTriggerGeoPoint](doc//GuidedStepTriggerGeoPoint.md) - [Instance](doc//Instance.md) - [InstanceDTO](doc//InstanceDTO.md) + - [LayoutMainPageType](doc//LayoutMainPageType.md) - [LoginDTO](doc//LoginDTO.md) + - [MapAnnotation](doc//MapAnnotation.md) + - [MapAnnotationDTO](doc//MapAnnotationDTO.md) + - [MapAnnotationGeometry](doc//MapAnnotationGeometry.md) + - [MapAnnotationIconResource](doc//MapAnnotationIconResource.md) - [MapDTO](doc//MapDTO.md) - [MapDTOAllOfMapProvider](doc//MapDTOAllOfMapProvider.md) - [MapDTOAllOfMapType](doc//MapDTOAllOfMapType.md) @@ -158,25 +228,45 @@ Class | Method | HTTP request | Description - [MapTypeApp](doc//MapTypeApp.md) - [MapTypeMapBox](doc//MapTypeMapBox.md) - [MenuDTO](doc//MenuDTO.md) + - [NtsGeometryServices](doc//NtsGeometryServices.md) + - [NtsGeometryServicesCoordinateEqualityComparer](doc//NtsGeometryServicesCoordinateEqualityComparer.md) + - [NtsGeometryServicesGeometryOverlay](doc//NtsGeometryServicesGeometryOverlay.md) + - [OgcGeometryType](doc//OgcGeometryType.md) - [OrderedTranslationAndResourceDTO](doc//OrderedTranslationAndResourceDTO.md) + - [Ordinates](doc//Ordinates.md) - [PdfDTO](doc//PdfDTO.md) - [PlayerMessageDTO](doc//PlayerMessageDTO.md) + - [Point](doc//Point.md) + - [PointAllOfBoundary](doc//PointAllOfBoundary.md) + - [PointAllOfCoordinate](doc//PointAllOfCoordinate.md) + - [PointAllOfCoordinateSequence](doc//PointAllOfCoordinateSequence.md) + - [PrecisionModel](doc//PrecisionModel.md) + - [PrecisionModels](doc//PrecisionModels.md) + - [ProgrammeBlock](doc//ProgrammeBlock.md) + - [ProgrammeBlockDTO](doc//ProgrammeBlockDTO.md) - [PuzzleDTO](doc//PuzzleDTO.md) - [PuzzleDTOAllOfPuzzleImage](doc//PuzzleDTOAllOfPuzzleImage.md) - [QuestionDTO](doc//QuestionDTO.md) - [QuestionDTOImageBackgroundResourceType](doc//QuestionDTOImageBackgroundResourceType.md) + - [QuestionType](doc//QuestionType.md) - [QuizDTO](doc//QuizDTO.md) + - [QuizQuestion](doc//QuizQuestion.md) + - [QuizQuestionGuidedStep](doc//QuizQuestionGuidedStep.md) + - [QuizQuestionSectionQuiz](doc//QuizQuestionSectionQuiz.md) - [Resource](doc//Resource.md) - [ResourceDTO](doc//ResourceDTO.md) - [ResourceType](doc//ResourceType.md) - [ResponseDTO](doc//ResponseDTO.md) - [Section](doc//Section.md) - [SectionDTO](doc//SectionDTO.md) + - [SectionEvent](doc//SectionEvent.md) + - [SectionEventDTO](doc//SectionEventDTO.md) - [SectionMap](doc//SectionMap.md) - [SectionMapAllOfMapMapProvider](doc//SectionMapAllOfMapMapProvider.md) - [SectionMapAllOfMapMapType](doc//SectionMapAllOfMapMapType.md) - [SectionMapAllOfMapResource](doc//SectionMapAllOfMapResource.md) - [SectionMapAllOfMapTypeMapbox](doc//SectionMapAllOfMapTypeMapbox.md) + - [SectionQuiz](doc//SectionQuiz.md) - [SectionType](doc//SectionType.md) - [SliderDTO](doc//SliderDTO.md) - [TokenDTO](doc//TokenDTO.md) diff --git a/manager_api_new/doc/AgendaDTO.md b/manager_api_new/doc/AgendaDTO.md index 39f1981..5c24698 100644 --- a/manager_api_new/doc/AgendaDTO.md +++ b/manager_api_new/doc/AgendaDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] @@ -28,6 +29,7 @@ Name | Type | Description | Notes **beaconId** | **int** | | [optional] **resourceIds** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **agendaMapProvider** | [**AgendaDTOAllOfAgendaMapProvider**](AgendaDTOAllOfAgendaMapProvider.md) | | [optional] +**events** | [**List**](EventAgendaDTO.md) | | [optional] [default to const []] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/AppConfigurationLink.md b/manager_api_new/doc/AppConfigurationLink.md new file mode 100644 index 0000000..e5690b9 --- /dev/null +++ b/manager_api_new/doc/AppConfigurationLink.md @@ -0,0 +1,22 @@ +# manager_api_new.model.AppConfigurationLink + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**configurationId** | **String** | | +**applicationInstanceId** | **String** | | +**id** | **String** | | [optional] +**order** | **int** | | [optional] +**isActive** | **bool** | | [optional] +**weightMasonryGrid** | **int** | | [optional] +**configuration** | [**AppConfigurationLinkConfiguration**](AppConfigurationLinkConfiguration.md) | | [optional] +**applicationInstance** | [**AppConfigurationLinkApplicationInstance**](AppConfigurationLinkApplicationInstance.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/AppConfigurationLinkApplicationInstance.md b/manager_api_new/doc/AppConfigurationLinkApplicationInstance.md new file mode 100644 index 0000000..5d9867c --- /dev/null +++ b/manager_api_new/doc/AppConfigurationLinkApplicationInstance.md @@ -0,0 +1,33 @@ +# manager_api_new.model.AppConfigurationLinkApplicationInstance + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**instanceId** | **String** | | +**appType** | [**AppType**](AppType.md) | | +**id** | **String** | | [optional] +**configurations** | [**List**](AppConfigurationLink.md) | | [optional] [default to const []] +**mainImageId** | **String** | | [optional] +**mainImageUrl** | **String** | | [optional] +**loaderImageId** | **String** | | [optional] +**loaderImageUrl** | **String** | | [optional] +**isDate** | **bool** | | [optional] +**isHour** | **bool** | | [optional] +**primaryColor** | **String** | | [optional] +**secondaryColor** | **String** | | [optional] +**roundedValue** | **int** | | [optional] +**screenPercentageSectionsMainPage** | **int** | | [optional] +**isSectionImageBackground** | **bool** | | [optional] +**layoutMainPage** | [**LayoutMainPageType**](LayoutMainPageType.md) | | [optional] +**languages** | **List** | | [optional] [default to const []] +**sectionEventId** | **String** | | [optional] +**sectionEvent** | [**ApplicationInstanceSectionEvent**](ApplicationInstanceSectionEvent.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/AppConfigurationLinkConfiguration.md b/manager_api_new/doc/AppConfigurationLinkConfiguration.md new file mode 100644 index 0000000..006f854 --- /dev/null +++ b/manager_api_new/doc/AppConfigurationLinkConfiguration.md @@ -0,0 +1,30 @@ +# manager_api_new.model.AppConfigurationLinkConfiguration + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | +**instanceId** | **String** | | +**label** | **String** | | +**title** | [**List**](TranslationDTO.md) | | [default to const []] +**imageId** | **String** | | [optional] +**imageSource** | **String** | | [optional] +**primaryColor** | **String** | | [optional] +**secondaryColor** | **String** | | [optional] +**languages** | **List** | | [optional] [default to const []] +**dateCreation** | [**DateTime**](DateTime.md) | | [optional] +**isOffline** | **bool** | | [optional] +**loaderImageId** | **String** | | [optional] +**loaderImageUrl** | **String** | | [optional] +**isQRCode** | **bool** | | [optional] +**isSearchText** | **bool** | | [optional] +**isSearchNumber** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/AppConfigurationLinkDTO.md b/manager_api_new/doc/AppConfigurationLinkDTO.md new file mode 100644 index 0000000..4e6d876 --- /dev/null +++ b/manager_api_new/doc/AppConfigurationLinkDTO.md @@ -0,0 +1,20 @@ +# manager_api_new.model.AppConfigurationLinkDTO + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**configurationId** | **String** | | [optional] +**applicationInstanceId** | **String** | | [optional] +**order** | **int** | | [optional] +**isActive** | **bool** | | [optional] +**weightMasonryGrid** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/AppType.md b/manager_api_new/doc/AppType.md new file mode 100644 index 0000000..1dd47e0 --- /dev/null +++ b/manager_api_new/doc/AppType.md @@ -0,0 +1,14 @@ +# manager_api_new.model.AppType + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/ApplicationInstance.md b/manager_api_new/doc/ApplicationInstance.md new file mode 100644 index 0000000..9187d44 --- /dev/null +++ b/manager_api_new/doc/ApplicationInstance.md @@ -0,0 +1,33 @@ +# manager_api_new.model.ApplicationInstance + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**instanceId** | **String** | | +**appType** | [**AppType**](AppType.md) | | +**id** | **String** | | [optional] +**configurations** | [**List**](AppConfigurationLink.md) | | [optional] [default to const []] +**mainImageId** | **String** | | [optional] +**mainImageUrl** | **String** | | [optional] +**loaderImageId** | **String** | | [optional] +**loaderImageUrl** | **String** | | [optional] +**isDate** | **bool** | | [optional] +**isHour** | **bool** | | [optional] +**primaryColor** | **String** | | [optional] +**secondaryColor** | **String** | | [optional] +**roundedValue** | **int** | | [optional] +**screenPercentageSectionsMainPage** | **int** | | [optional] +**isSectionImageBackground** | **bool** | | [optional] +**layoutMainPage** | [**LayoutMainPageType**](LayoutMainPageType.md) | | [optional] +**languages** | **List** | | [optional] [default to const []] +**sectionEventId** | **String** | | [optional] +**sectionEvent** | [**ApplicationInstanceSectionEvent**](ApplicationInstanceSectionEvent.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/ApplicationInstanceDTO.md b/manager_api_new/doc/ApplicationInstanceDTO.md new file mode 100644 index 0000000..5c77665 --- /dev/null +++ b/manager_api_new/doc/ApplicationInstanceDTO.md @@ -0,0 +1,30 @@ +# manager_api_new.model.ApplicationInstanceDTO + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**instanceId** | **String** | | [optional] +**appType** | [**AppType**](AppType.md) | | [optional] +**configurations** | [**List**](AppConfigurationLink.md) | | [optional] [default to const []] +**mainImageId** | **String** | | [optional] +**mainImageUrl** | **String** | | [optional] +**loaderImageId** | **String** | | [optional] +**loaderImageUrl** | **String** | | [optional] +**isDate** | **bool** | | [optional] +**isHour** | **bool** | | [optional] +**primaryColor** | **String** | | [optional] +**secondaryColor** | **String** | | [optional] +**roundedValue** | **int** | | [optional] +**screenPercentageSectionsMainPage** | **int** | | [optional] +**isSectionImageBackground** | **bool** | | [optional] +**languages** | **List** | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/ApplicationInstanceSectionEvent.md b/manager_api_new/doc/ApplicationInstanceSectionEvent.md new file mode 100644 index 0000000..cdee1a3 --- /dev/null +++ b/manager_api_new/doc/ApplicationInstanceSectionEvent.md @@ -0,0 +1,37 @@ +# manager_api_new.model.ApplicationInstanceSectionEvent + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | +**label** | **String** | | +**title** | [**List**](TranslationDTO.md) | | [default to const []] +**configurationId** | **String** | | +**type** | [**SectionType**](SectionType.md) | | +**isSubSection** | **bool** | | +**instanceId** | **String** | | +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**order** | **int** | | [optional] +**imageId** | **String** | | [optional] +**imageSource** | **String** | | [optional] +**parentId** | **String** | | [optional] +**dateCreation** | [**DateTime**](DateTime.md) | | [optional] +**isBeacon** | **bool** | | [optional] +**beaconId** | **int** | | [optional] +**latitude** | **String** | | [optional] +**longitude** | **String** | | [optional] +**meterZoneGPS** | **int** | | [optional] +**isActive** | **bool** | | [optional] +**startDate** | [**DateTime**](DateTime.md) | | [optional] +**endDate** | [**DateTime**](DateTime.md) | | [optional] +**programme** | [**List**](ProgrammeBlock.md) | | [optional] [default to const []] +**parcoursIds** | **List** | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/ArticleDTO.md b/manager_api_new/doc/ArticleDTO.md index b23a827..29e3f04 100644 --- a/manager_api_new/doc/ArticleDTO.md +++ b/manager_api_new/doc/ArticleDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] diff --git a/manager_api_new/doc/CategorieDTO.md b/manager_api_new/doc/CategorieDTO.md index 688a61d..fed3d35 100644 --- a/manager_api_new/doc/CategorieDTO.md +++ b/manager_api_new/doc/CategorieDTO.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **id** | **int** | | [optional] **label** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **icon** | **String** | | [optional] -**resourceDTO** | [**ContentDTOResource**](ContentDTOResource.md) | | [optional] +**resourceDTO** | [**EventAgendaDTOResource**](EventAgendaDTOResource.md) | | [optional] **order** | **int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/Configuration.md b/manager_api_new/doc/Configuration.md new file mode 100644 index 0000000..f6cd50c --- /dev/null +++ b/manager_api_new/doc/Configuration.md @@ -0,0 +1,30 @@ +# manager_api_new.model.Configuration + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | +**instanceId** | **String** | | +**label** | **String** | | +**title** | [**List**](TranslationDTO.md) | | [default to const []] +**imageId** | **String** | | [optional] +**imageSource** | **String** | | [optional] +**primaryColor** | **String** | | [optional] +**secondaryColor** | **String** | | [optional] +**languages** | **List** | | [optional] [default to const []] +**dateCreation** | [**DateTime**](DateTime.md) | | [optional] +**isOffline** | **bool** | | [optional] +**loaderImageId** | **String** | | [optional] +**loaderImageUrl** | **String** | | [optional] +**isQRCode** | **bool** | | [optional] +**isSearchText** | **bool** | | [optional] +**isSearchNumber** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/ConfigurationDTO.md b/manager_api_new/doc/ConfigurationDTO.md index 3f099f6..2f56a66 100644 --- a/manager_api_new/doc/ConfigurationDTO.md +++ b/manager_api_new/doc/ConfigurationDTO.md @@ -9,6 +9,7 @@ import 'package:manager_api_new/api.dart'; Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **String** | | [optional] +**instanceId** | **String** | | [optional] **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **imageId** | **String** | | [optional] @@ -17,18 +18,10 @@ Name | Type | Description | Notes **secondaryColor** | **String** | | [optional] **languages** | **List** | | [optional] [default to const []] **dateCreation** | [**DateTime**](DateTime.md) | | [optional] -**isMobile** | **bool** | | [optional] -**isTablet** | **bool** | | [optional] **isOffline** | **bool** | | [optional] -**instanceId** | **String** | | [optional] **sectionIds** | **List** | | [optional] [default to const []] **loaderImageId** | **String** | | [optional] **loaderImageUrl** | **String** | | [optional] -**isDate** | **bool** | | [optional] -**isHour** | **bool** | | [optional] -**isSectionImageBackground** | **bool** | | [optional] -**roundedValue** | **int** | | [optional] -**screenPercentageSectionsMainPage** | **int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/ContentDTO.md b/manager_api_new/doc/ContentDTO.md index eccf209..2d4da1f 100644 --- a/manager_api_new/doc/ContentDTO.md +++ b/manager_api_new/doc/ContentDTO.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **order** | **int** | | [optional] **resourceId** | **String** | | [optional] -**resource** | [**ContentDTOResource**](ContentDTOResource.md) | | [optional] +**resource** | [**EventAgendaDTOResource**](EventAgendaDTOResource.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/Coordinate.md b/manager_api_new/doc/Coordinate.md new file mode 100644 index 0000000..fe5b84e --- /dev/null +++ b/manager_api_new/doc/Coordinate.md @@ -0,0 +1,20 @@ +# manager_api_new.model.Coordinate + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**x** | **double** | | [optional] +**y** | **double** | | [optional] +**z** | **double** | | [optional] +**m** | **double** | | [optional] +**coordinateValue** | [**PointAllOfCoordinate**](PointAllOfCoordinate.md) | | [optional] +**isValid** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/CoordinateEqualityComparer.md b/manager_api_new/doc/CoordinateEqualityComparer.md new file mode 100644 index 0000000..ceea6a1 --- /dev/null +++ b/manager_api_new/doc/CoordinateEqualityComparer.md @@ -0,0 +1,14 @@ +# manager_api_new.model.CoordinateEqualityComparer + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/CoordinateSequence.md b/manager_api_new/doc/CoordinateSequence.md new file mode 100644 index 0000000..838343e --- /dev/null +++ b/manager_api_new/doc/CoordinateSequence.md @@ -0,0 +1,25 @@ +# manager_api_new.model.CoordinateSequence + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dimension** | **int** | | [optional] +**measures** | **int** | | [optional] +**spatial** | **int** | | [optional] +**ordinates** | [**Ordinates**](Ordinates.md) | | [optional] +**hasZ** | **bool** | | [optional] +**hasM** | **bool** | | [optional] +**zOrdinateIndex** | **int** | | [optional] +**mOrdinateIndex** | **int** | | [optional] +**first** | [**PointAllOfCoordinate**](PointAllOfCoordinate.md) | | [optional] +**last** | [**PointAllOfCoordinate**](PointAllOfCoordinate.md) | | [optional] +**count** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/CoordinateSequenceFactory.md b/manager_api_new/doc/CoordinateSequenceFactory.md new file mode 100644 index 0000000..62583b5 --- /dev/null +++ b/manager_api_new/doc/CoordinateSequenceFactory.md @@ -0,0 +1,15 @@ +# manager_api_new.model.CoordinateSequenceFactory + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ordinates** | [**Ordinates**](Ordinates.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/Dimension.md b/manager_api_new/doc/Dimension.md new file mode 100644 index 0000000..001e6ca --- /dev/null +++ b/manager_api_new/doc/Dimension.md @@ -0,0 +1,14 @@ +# manager_api_new.model.Dimension + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/Envelope.md b/manager_api_new/doc/Envelope.md new file mode 100644 index 0000000..87c8815 --- /dev/null +++ b/manager_api_new/doc/Envelope.md @@ -0,0 +1,26 @@ +# manager_api_new.model.Envelope + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**isNull** | **bool** | | [optional] +**width** | **double** | | [optional] +**height** | **double** | | [optional] +**diameter** | **double** | | [optional] +**minX** | **double** | | [optional] +**maxX** | **double** | | [optional] +**minY** | **double** | | [optional] +**maxY** | **double** | | [optional] +**area** | **double** | | [optional] +**minExtent** | **double** | | [optional] +**maxExtent** | **double** | | [optional] +**centre** | [**PointAllOfCoordinate**](PointAllOfCoordinate.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/EventAddressDTO.md b/manager_api_new/doc/EventAddressDTO.md new file mode 100644 index 0000000..dcb078b --- /dev/null +++ b/manager_api_new/doc/EventAddressDTO.md @@ -0,0 +1,24 @@ +# manager_api_new.model.EventAddressDTO + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address** | **String** | | [optional] +**streetNumber** | **String** | | [optional] +**streetName** | **String** | | [optional] +**city** | **String** | | [optional] +**state** | **String** | | [optional] +**postCode** | **String** | | [optional] +**country** | **String** | | [optional] +**geometry** | [**EventAddressDTOGeometry**](EventAddressDTOGeometry.md) | | [optional] +**polyColor** | **String** | | [optional] +**zoom** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/EventAddressDTOGeometry.md b/manager_api_new/doc/EventAddressDTOGeometry.md new file mode 100644 index 0000000..85b9cfe --- /dev/null +++ b/manager_api_new/doc/EventAddressDTOGeometry.md @@ -0,0 +1,16 @@ +# manager_api_new.model.EventAddressDTOGeometry + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **String** | | [optional] +**coordinates** | [**Object**](.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/EventAgendaDTO.md b/manager_api_new/doc/EventAgendaDTO.md new file mode 100644 index 0000000..468ed10 --- /dev/null +++ b/manager_api_new/doc/EventAgendaDTO.md @@ -0,0 +1,29 @@ +# manager_api_new.model.EventAgendaDTO + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**label** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**type** | **String** | | [optional] +**dateAdded** | [**DateTime**](DateTime.md) | | [optional] +**dateFrom** | [**DateTime**](DateTime.md) | | [optional] +**dateTo** | [**DateTime**](DateTime.md) | | [optional] +**website** | **String** | | [optional] +**resourceId** | **String** | | [optional] +**resource** | [**EventAgendaDTOResource**](EventAgendaDTOResource.md) | | [optional] +**address** | [**EventAgendaDTOAddress**](EventAgendaDTOAddress.md) | | [optional] +**phone** | **String** | | [optional] +**email** | **String** | | [optional] +**sectionAgendaId** | **String** | | [optional] +**sectionEventId** | **String** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/EventAgendaDTOAddress.md b/manager_api_new/doc/EventAgendaDTOAddress.md new file mode 100644 index 0000000..fbc6248 --- /dev/null +++ b/manager_api_new/doc/EventAgendaDTOAddress.md @@ -0,0 +1,24 @@ +# manager_api_new.model.EventAgendaDTOAddress + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address** | **String** | | [optional] +**streetNumber** | **String** | | [optional] +**streetName** | **String** | | [optional] +**city** | **String** | | [optional] +**state** | **String** | | [optional] +**postCode** | **String** | | [optional] +**country** | **String** | | [optional] +**geometry** | [**EventAddressDTOGeometry**](EventAddressDTOGeometry.md) | | [optional] +**polyColor** | **String** | | [optional] +**zoom** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/EventAgendaDTOResource.md b/manager_api_new/doc/EventAgendaDTOResource.md new file mode 100644 index 0000000..c34879b --- /dev/null +++ b/manager_api_new/doc/EventAgendaDTOResource.md @@ -0,0 +1,20 @@ +# manager_api_new.model.EventAgendaDTOResource + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**type** | [**ResourceType**](ResourceType.md) | | [optional] +**label** | **String** | | [optional] +**url** | **String** | | [optional] +**dateCreation** | [**DateTime**](DateTime.md) | | [optional] +**instanceId** | **String** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/ExportConfigurationDTO.md b/manager_api_new/doc/ExportConfigurationDTO.md index e2abee5..a6ca4ae 100644 --- a/manager_api_new/doc/ExportConfigurationDTO.md +++ b/manager_api_new/doc/ExportConfigurationDTO.md @@ -9,6 +9,7 @@ import 'package:manager_api_new/api.dart'; Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **String** | | [optional] +**instanceId** | **String** | | [optional] **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **imageId** | **String** | | [optional] @@ -17,18 +18,10 @@ Name | Type | Description | Notes **secondaryColor** | **String** | | [optional] **languages** | **List** | | [optional] [default to const []] **dateCreation** | [**DateTime**](DateTime.md) | | [optional] -**isMobile** | **bool** | | [optional] -**isTablet** | **bool** | | [optional] **isOffline** | **bool** | | [optional] -**instanceId** | **String** | | [optional] **sectionIds** | **List** | | [optional] [default to const []] **loaderImageId** | **String** | | [optional] **loaderImageUrl** | **String** | | [optional] -**isDate** | **bool** | | [optional] -**isHour** | **bool** | | [optional] -**isSectionImageBackground** | **bool** | | [optional] -**roundedValue** | **int** | | [optional] -**screenPercentageSectionsMainPage** | **int** | | [optional] **sections** | [**List**](SectionDTO.md) | | [optional] [default to const []] **resources** | [**List**](ResourceDTO.md) | | [optional] [default to const []] diff --git a/manager_api_new/doc/GeoPoint.md b/manager_api_new/doc/GeoPoint.md index 60f5aa0..b16e1e2 100644 --- a/manager_api_new/doc/GeoPoint.md +++ b/manager_api_new/doc/GeoPoint.md @@ -18,12 +18,14 @@ Name | Type | Description | Notes **email** | [**List**](TranslationDTO.md) | | [default to const []] **site** | [**List**](TranslationDTO.md) | | [default to const []] **categorieId** | **int** | | [optional] -**latitude** | **String** | | [optional] -**longitude** | **String** | | [optional] +**geometry** | [**PointAllOfBoundary**](PointAllOfBoundary.md) | | [optional] +**polyColor** | **String** | | [optional] **imageResourceId** | **String** | | [optional] **imageUrl** | **String** | | [optional] **sectionMapId** | **String** | | [optional] -**sectionMap** | [**GeoPointSectionMap**](GeoPointSectionMap.md) | | [optional] +**sectionMap** | [**GuidedPathSectionMap**](GuidedPathSectionMap.md) | | [optional] +**sectionEventId** | **String** | | [optional] +**sectionEvent** | [**ApplicationInstanceSectionEvent**](ApplicationInstanceSectionEvent.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/GeoPointDTO.md b/manager_api_new/doc/GeoPointDTO.md index 2ec2498..30b5edc 100644 --- a/manager_api_new/doc/GeoPointDTO.md +++ b/manager_api_new/doc/GeoPointDTO.md @@ -13,8 +13,6 @@ Name | Type | Description | Notes **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **contents** | [**List**](ContentDTO.md) | | [optional] [default to const []] **categorieId** | **int** | | [optional] -**latitude** | **String** | | [optional] -**longitude** | **String** | | [optional] **imageResourceId** | **String** | | [optional] **imageUrl** | **String** | | [optional] **schedules** | [**List**](TranslationDTO.md) | | [optional] [default to const []] @@ -22,6 +20,10 @@ Name | Type | Description | Notes **phone** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **email** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **site** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**geometry** | [**EventAddressDTOGeometry**](EventAddressDTOGeometry.md) | | [optional] +**polyColor** | **String** | | [optional] +**sectionMapId** | **String** | | [optional] +**sectionEventId** | **String** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/Geometry.md b/manager_api_new/doc/Geometry.md new file mode 100644 index 0000000..7bb39b9 --- /dev/null +++ b/manager_api_new/doc/Geometry.md @@ -0,0 +1,29 @@ +# manager_api_new.model.Geometry + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**factory_** | [**GeometryFactory**](GeometryFactory.md) | | [optional] +**userData** | [**Object**](.md) | | [optional] +**srid** | **int** | | [optional] +**precisionModel** | [**GeometryPrecisionModel**](GeometryPrecisionModel.md) | | [optional] +**numGeometries** | **int** | | [optional] +**isSimple** | **bool** | | [optional] +**isValid** | **bool** | | [optional] +**area** | **double** | | [optional] +**length** | **double** | | [optional] +**centroid** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**interiorPoint** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**pointOnSurface** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**envelope** | [**MapAnnotationGeometry**](MapAnnotationGeometry.md) | | [optional] +**envelopeInternal** | [**GeometryEnvelopeInternal**](GeometryEnvelopeInternal.md) | | [optional] +**isRectangle** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GeometryCentroid.md b/manager_api_new/doc/GeometryCentroid.md new file mode 100644 index 0000000..64d71df --- /dev/null +++ b/manager_api_new/doc/GeometryCentroid.md @@ -0,0 +1,43 @@ +# manager_api_new.model.GeometryCentroid + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**factory_** | [**GeometryFactory**](GeometryFactory.md) | | [optional] +**userData** | [**Object**](.md) | | [optional] +**srid** | **int** | | [optional] +**precisionModel** | [**GeometryPrecisionModel**](GeometryPrecisionModel.md) | | [optional] +**numGeometries** | **int** | | [optional] +**isSimple** | **bool** | | [optional] +**isValid** | **bool** | | [optional] +**area** | **double** | | [optional] +**length** | **double** | | [optional] +**centroid** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**interiorPoint** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**pointOnSurface** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**envelope** | [**MapAnnotationGeometry**](MapAnnotationGeometry.md) | | [optional] +**envelopeInternal** | [**GeometryEnvelopeInternal**](GeometryEnvelopeInternal.md) | | [optional] +**isRectangle** | **bool** | | [optional] +**coordinateSequence** | [**PointAllOfCoordinateSequence**](PointAllOfCoordinateSequence.md) | | [optional] +**coordinates** | [**List**](Coordinate.md) | | [optional] [default to const []] +**numPoints** | **int** | | [optional] +**isEmpty** | **bool** | | [optional] +**dimension** | [**Dimension**](Dimension.md) | | [optional] +**boundaryDimension** | [**Dimension**](Dimension.md) | | [optional] +**x** | **double** | | [optional] +**y** | **double** | | [optional] +**coordinate** | [**PointAllOfCoordinate**](PointAllOfCoordinate.md) | | [optional] +**geometryType** | **String** | | [optional] +**ogcGeometryType** | [**OgcGeometryType**](OgcGeometryType.md) | | [optional] +**boundary** | [**PointAllOfBoundary**](PointAllOfBoundary.md) | | [optional] +**z** | **double** | | [optional] +**m** | **double** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GeometryDTO.md b/manager_api_new/doc/GeometryDTO.md new file mode 100644 index 0000000..e8b09a0 --- /dev/null +++ b/manager_api_new/doc/GeometryDTO.md @@ -0,0 +1,16 @@ +# manager_api_new.model.GeometryDTO + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **String** | | [optional] +**coordinates** | [**Object**](.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GeometryEnvelopeInternal.md b/manager_api_new/doc/GeometryEnvelopeInternal.md new file mode 100644 index 0000000..3d7b655 --- /dev/null +++ b/manager_api_new/doc/GeometryEnvelopeInternal.md @@ -0,0 +1,26 @@ +# manager_api_new.model.GeometryEnvelopeInternal + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**isNull** | **bool** | | [optional] +**width** | **double** | | [optional] +**height** | **double** | | [optional] +**diameter** | **double** | | [optional] +**minX** | **double** | | [optional] +**maxX** | **double** | | [optional] +**minY** | **double** | | [optional] +**maxY** | **double** | | [optional] +**area** | **double** | | [optional] +**minExtent** | **double** | | [optional] +**maxExtent** | **double** | | [optional] +**centre** | [**PointAllOfCoordinate**](PointAllOfCoordinate.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GeometryFactory.md b/manager_api_new/doc/GeometryFactory.md new file mode 100644 index 0000000..1e13a0f --- /dev/null +++ b/manager_api_new/doc/GeometryFactory.md @@ -0,0 +1,18 @@ +# manager_api_new.model.GeometryFactory + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**precisionModel** | [**GeometryPrecisionModel**](GeometryPrecisionModel.md) | | [optional] +**coordinateSequenceFactory** | [**GeometryFactoryCoordinateSequenceFactory**](GeometryFactoryCoordinateSequenceFactory.md) | | [optional] +**srid** | **int** | | [optional] +**geometryServices** | [**GeometryFactoryGeometryServices**](GeometryFactoryGeometryServices.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GeometryFactoryCoordinateSequenceFactory.md b/manager_api_new/doc/GeometryFactoryCoordinateSequenceFactory.md new file mode 100644 index 0000000..f545645 --- /dev/null +++ b/manager_api_new/doc/GeometryFactoryCoordinateSequenceFactory.md @@ -0,0 +1,15 @@ +# manager_api_new.model.GeometryFactoryCoordinateSequenceFactory + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ordinates** | [**Ordinates**](Ordinates.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GeometryFactoryGeometryServices.md b/manager_api_new/doc/GeometryFactoryGeometryServices.md new file mode 100644 index 0000000..a5c3c72 --- /dev/null +++ b/manager_api_new/doc/GeometryFactoryGeometryServices.md @@ -0,0 +1,19 @@ +# manager_api_new.model.GeometryFactoryGeometryServices + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**geometryOverlay** | [**NtsGeometryServicesGeometryOverlay**](NtsGeometryServicesGeometryOverlay.md) | | [optional] +**coordinateEqualityComparer** | [**NtsGeometryServicesCoordinateEqualityComparer**](NtsGeometryServicesCoordinateEqualityComparer.md) | | [optional] +**defaultSRID** | **int** | | [optional] +**defaultCoordinateSequenceFactory** | [**GeometryFactoryCoordinateSequenceFactory**](GeometryFactoryCoordinateSequenceFactory.md) | | [optional] +**defaultPrecisionModel** | [**GeometryPrecisionModel**](GeometryPrecisionModel.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GeometryPrecisionModel.md b/manager_api_new/doc/GeometryPrecisionModel.md new file mode 100644 index 0000000..7f8822f --- /dev/null +++ b/manager_api_new/doc/GeometryPrecisionModel.md @@ -0,0 +1,19 @@ +# manager_api_new.model.GeometryPrecisionModel + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**isFloating** | **bool** | | [optional] +**maximumSignificantDigits** | **int** | | [optional] +**scale** | **double** | | [optional] +**gridSize** | **double** | | [optional] +**precisionModelType** | [**PrecisionModels**](PrecisionModels.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GeometryType.md b/manager_api_new/doc/GeometryType.md new file mode 100644 index 0000000..d5eacfc --- /dev/null +++ b/manager_api_new/doc/GeometryType.md @@ -0,0 +1,14 @@ +# manager_api_new.model.GeometryType + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GuidedPath.md b/manager_api_new/doc/GuidedPath.md new file mode 100644 index 0000000..f23550b --- /dev/null +++ b/manager_api_new/doc/GuidedPath.md @@ -0,0 +1,27 @@ +# manager_api_new.model.GuidedPath + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**instanceId** | **String** | | +**title** | [**List**](TranslationDTO.md) | | [default to const []] +**id** | **String** | | [optional] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**sectionMapId** | **String** | | [optional] +**sectionMap** | [**GuidedPathSectionMap**](GuidedPathSectionMap.md) | | [optional] +**sectionEventId** | **String** | | [optional] +**sectionEvent** | [**ApplicationInstanceSectionEvent**](ApplicationInstanceSectionEvent.md) | | [optional] +**isLinear** | **bool** | | [optional] +**requireSuccessToAdvance** | **bool** | | [optional] +**hideNextStepsUntilComplete** | **bool** | | [optional] +**order** | **int** | | [optional] +**steps** | [**List**](GuidedStep.md) | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GuidedPathDTO.md b/manager_api_new/doc/GuidedPathDTO.md new file mode 100644 index 0000000..b3bf456 --- /dev/null +++ b/manager_api_new/doc/GuidedPathDTO.md @@ -0,0 +1,25 @@ +# manager_api_new.model.GuidedPathDTO + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**instanceId** | **String** | | [optional] +**title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**sectionMapId** | **String** | | [optional] +**sectionEventId** | **String** | | [optional] +**isLinear** | **bool** | | [optional] +**requireSuccessToAdvance** | **bool** | | [optional] +**hideNextStepsUntilComplete** | **bool** | | [optional] +**order** | **int** | | [optional] +**steps** | [**List**](GuidedStepDTO.md) | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GuidedPathSectionMap.md b/manager_api_new/doc/GuidedPathSectionMap.md new file mode 100644 index 0000000..b3cabb1 --- /dev/null +++ b/manager_api_new/doc/GuidedPathSectionMap.md @@ -0,0 +1,43 @@ +# manager_api_new.model.GuidedPathSectionMap + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | +**label** | **String** | | +**title** | [**List**](TranslationDTO.md) | | [default to const []] +**configurationId** | **String** | | +**type** | [**SectionType**](SectionType.md) | | +**isSubSection** | **bool** | | +**instanceId** | **String** | | +**mapCategories** | [**List**](CategorieDTO.md) | | [default to const []] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**order** | **int** | | [optional] +**imageId** | **String** | | [optional] +**imageSource** | **String** | | [optional] +**parentId** | **String** | | [optional] +**dateCreation** | [**DateTime**](DateTime.md) | | [optional] +**isBeacon** | **bool** | | [optional] +**beaconId** | **int** | | [optional] +**latitude** | **String** | | [optional] +**longitude** | **String** | | [optional] +**meterZoneGPS** | **int** | | [optional] +**isActive** | **bool** | | [optional] +**mapZoom** | **int** | | [optional] +**mapMapType** | [**SectionMapAllOfMapMapType**](SectionMapAllOfMapMapType.md) | | [optional] +**mapTypeMapbox** | [**SectionMapAllOfMapTypeMapbox**](SectionMapAllOfMapTypeMapbox.md) | | [optional] +**mapMapProvider** | [**SectionMapAllOfMapMapProvider**](SectionMapAllOfMapMapProvider.md) | | [optional] +**mapPoints** | [**List**](GeoPoint.md) | | [optional] [default to const []] +**mapResourceId** | **String** | | [optional] +**mapResource** | [**SectionMapAllOfMapResource**](SectionMapAllOfMapResource.md) | | [optional] +**mapCenterLatitude** | **String** | | [optional] +**mapCenterLongitude** | **String** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GuidedStep.md b/manager_api_new/doc/GuidedStep.md new file mode 100644 index 0000000..77dc8e4 --- /dev/null +++ b/manager_api_new/doc/GuidedStep.md @@ -0,0 +1,31 @@ +# manager_api_new.model.GuidedStep + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**guidedPathId** | **String** | | +**title** | [**List**](TranslationDTO.md) | | [default to const []] +**id** | **String** | | [optional] +**guidedPath** | [**GuidedStepGuidedPath**](GuidedStepGuidedPath.md) | | [optional] +**order** | **int** | | [optional] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**geometry** | [**PointAllOfBoundary**](PointAllOfBoundary.md) | | [optional] +**zoneRadiusMeters** | **double** | | [optional] +**imageUrl** | **String** | | [optional] +**triggerGeoPointId** | **int** | | [optional] +**triggerGeoPoint** | [**GuidedStepTriggerGeoPoint**](GuidedStepTriggerGeoPoint.md) | | [optional] +**isHiddenInitially** | **bool** | | [optional] +**quizQuestions** | [**List**](QuizQuestion.md) | | [optional] [default to const []] +**isStepTimer** | **bool** | | [optional] +**isStepLocked** | **bool** | | [optional] +**timerSeconds** | **int** | | [optional] +**timerExpiredMessage** | [**List**](TranslationDTO.md) | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GuidedStepDTO.md b/manager_api_new/doc/GuidedStepDTO.md new file mode 100644 index 0000000..6dd6477 --- /dev/null +++ b/manager_api_new/doc/GuidedStepDTO.md @@ -0,0 +1,30 @@ +# manager_api_new.model.GuidedStepDTO + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**guidedPathId** | **String** | | [optional] +**order** | **int** | | [optional] +**title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**geometry** | [**EventAddressDTOGeometry**](EventAddressDTOGeometry.md) | | [optional] +**zoneRadiusMeters** | **double** | | [optional] +**imageUrl** | **String** | | [optional] +**triggerGeoPointId** | **int** | | [optional] +**triggerGeoPoint** | [**GuidedStepDTOTriggerGeoPoint**](GuidedStepDTOTriggerGeoPoint.md) | | [optional] +**isHiddenInitially** | **bool** | | [optional] +**isStepTimer** | **bool** | | [optional] +**isStepLocked** | **bool** | | [optional] +**timerSeconds** | **int** | | [optional] +**timerExpiredMessage** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**quizQuestions** | [**List**](QuizQuestion.md) | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GuidedStepDTOTriggerGeoPoint.md b/manager_api_new/doc/GuidedStepDTOTriggerGeoPoint.md new file mode 100644 index 0000000..c7c9628 --- /dev/null +++ b/manager_api_new/doc/GuidedStepDTOTriggerGeoPoint.md @@ -0,0 +1,30 @@ +# manager_api_new.model.GuidedStepDTOTriggerGeoPoint + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**contents** | [**List**](ContentDTO.md) | | [optional] [default to const []] +**categorieId** | **int** | | [optional] +**imageResourceId** | **String** | | [optional] +**imageUrl** | **String** | | [optional] +**schedules** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**prices** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**phone** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**email** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**site** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**geometry** | [**EventAddressDTOGeometry**](EventAddressDTOGeometry.md) | | [optional] +**polyColor** | **String** | | [optional] +**sectionMapId** | **String** | | [optional] +**sectionEventId** | **String** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GuidedStepGuidedPath.md b/manager_api_new/doc/GuidedStepGuidedPath.md new file mode 100644 index 0000000..7dd999d --- /dev/null +++ b/manager_api_new/doc/GuidedStepGuidedPath.md @@ -0,0 +1,27 @@ +# manager_api_new.model.GuidedStepGuidedPath + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**instanceId** | **String** | | +**title** | [**List**](TranslationDTO.md) | | [default to const []] +**id** | **String** | | [optional] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**sectionMapId** | **String** | | [optional] +**sectionMap** | [**GuidedPathSectionMap**](GuidedPathSectionMap.md) | | [optional] +**sectionEventId** | **String** | | [optional] +**sectionEvent** | [**ApplicationInstanceSectionEvent**](ApplicationInstanceSectionEvent.md) | | [optional] +**isLinear** | **bool** | | [optional] +**requireSuccessToAdvance** | **bool** | | [optional] +**hideNextStepsUntilComplete** | **bool** | | [optional] +**order** | **int** | | [optional] +**steps** | [**List**](GuidedStep.md) | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/GuidedStepTriggerGeoPoint.md b/manager_api_new/doc/GuidedStepTriggerGeoPoint.md new file mode 100644 index 0000000..3f0aa0f --- /dev/null +++ b/manager_api_new/doc/GuidedStepTriggerGeoPoint.md @@ -0,0 +1,32 @@ +# manager_api_new.model.GuidedStepTriggerGeoPoint + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | +**title** | [**List**](TranslationDTO.md) | | [default to const []] +**description** | [**List**](TranslationDTO.md) | | [default to const []] +**contents** | [**List**](ContentDTO.md) | | [default to const []] +**schedules** | [**List**](TranslationDTO.md) | | [default to const []] +**prices** | [**List**](TranslationDTO.md) | | [default to const []] +**phone** | [**List**](TranslationDTO.md) | | [default to const []] +**email** | [**List**](TranslationDTO.md) | | [default to const []] +**site** | [**List**](TranslationDTO.md) | | [default to const []] +**categorieId** | **int** | | [optional] +**geometry** | [**PointAllOfBoundary**](PointAllOfBoundary.md) | | [optional] +**polyColor** | **String** | | [optional] +**imageResourceId** | **String** | | [optional] +**imageUrl** | **String** | | [optional] +**sectionMapId** | **String** | | [optional] +**sectionMap** | [**GuidedPathSectionMap**](GuidedPathSectionMap.md) | | [optional] +**sectionEventId** | **String** | | [optional] +**sectionEvent** | [**ApplicationInstanceSectionEvent**](ApplicationInstanceSectionEvent.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/Instance.md b/manager_api_new/doc/Instance.md index 4fa498d..98cb4e4 100644 --- a/manager_api_new/doc/Instance.md +++ b/manager_api_new/doc/Instance.md @@ -12,6 +12,11 @@ Name | Type | Description | Notes **name** | **String** | | **dateCreation** | [**DateTime**](DateTime.md) | | [optional] **pinCode** | **String** | | [optional] +**isPushNotification** | **bool** | | [optional] +**isStatistic** | **bool** | | [optional] +**isMobile** | **bool** | | [optional] +**isTablet** | **bool** | | [optional] +**isVR** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/InstanceApi.md b/manager_api_new/doc/InstanceApi.md index 5d8e006..92ea2ab 100644 --- a/manager_api_new/doc/InstanceApi.md +++ b/manager_api_new/doc/InstanceApi.md @@ -9,6 +9,14 @@ All URIs are relative to *https://localhost:5001* Method | HTTP request | Description ------------- | ------------- | ------------- +[**applicationInstanceAddConfigurationToApplicationInstance**](InstanceApi.md#applicationinstanceaddconfigurationtoapplicationinstance) | **POST** /api/ApplicationInstance/{applicationInstanceId}/application-link | +[**applicationInstanceCreate**](InstanceApi.md#applicationinstancecreate) | **POST** /api/ApplicationInstance | +[**applicationInstanceDelete**](InstanceApi.md#applicationinstancedelete) | **DELETE** /api/ApplicationInstance/{id} | +[**applicationInstanceDeleteAppConfigurationLink**](InstanceApi.md#applicationinstancedeleteappconfigurationlink) | **DELETE** /api/ApplicationInstance/{applicationInstanceId}/application-link/{appConfigurationLinkId} | +[**applicationInstanceGet**](InstanceApi.md#applicationinstanceget) | **GET** /api/ApplicationInstance | +[**applicationInstanceGetAllApplicationLinkFromApplicationInstance**](InstanceApi.md#applicationinstancegetallapplicationlinkfromapplicationinstance) | **GET** /api/ApplicationInstance/{applicationInstanceId}/application-link | +[**applicationInstanceUpdate**](InstanceApi.md#applicationinstanceupdate) | **PUT** /api/ApplicationInstance | +[**applicationInstanceUpdateApplicationLink**](InstanceApi.md#applicationinstanceupdateapplicationlink) | **PUT** /api/ApplicationInstance/application-link | [**instanceCreateInstance**](InstanceApi.md#instancecreateinstance) | **POST** /api/Instance | [**instanceDeleteInstance**](InstanceApi.md#instancedeleteinstance) | **DELETE** /api/Instance/{id} | [**instanceGet**](InstanceApi.md#instanceget) | **GET** /api/Instance | @@ -17,6 +25,356 @@ Method | HTTP request | Description [**instanceUpdateinstance**](InstanceApi.md#instanceupdateinstance) | **PUT** /api/Instance | +# **applicationInstanceAddConfigurationToApplicationInstance** +> AppConfigurationLinkDTO applicationInstanceAddConfigurationToApplicationInstance(applicationInstanceId, appConfigurationLinkDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = InstanceApi(); +final applicationInstanceId = applicationInstanceId_example; // String | +final appConfigurationLinkDTO = AppConfigurationLinkDTO(); // AppConfigurationLinkDTO | + +try { + final result = api_instance.applicationInstanceAddConfigurationToApplicationInstance(applicationInstanceId, appConfigurationLinkDTO); + print(result); +} catch (e) { + print('Exception when calling InstanceApi->applicationInstanceAddConfigurationToApplicationInstance: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **applicationInstanceId** | **String**| | + **appConfigurationLinkDTO** | [**AppConfigurationLinkDTO**](AppConfigurationLinkDTO.md)| | + +### Return type + +[**AppConfigurationLinkDTO**](AppConfigurationLinkDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **applicationInstanceCreate** +> ApplicationInstanceDTO applicationInstanceCreate(applicationInstanceDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = InstanceApi(); +final applicationInstanceDTO = ApplicationInstanceDTO(); // ApplicationInstanceDTO | + +try { + final result = api_instance.applicationInstanceCreate(applicationInstanceDTO); + print(result); +} catch (e) { + print('Exception when calling InstanceApi->applicationInstanceCreate: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **applicationInstanceDTO** | [**ApplicationInstanceDTO**](ApplicationInstanceDTO.md)| | + +### Return type + +[**ApplicationInstanceDTO**](ApplicationInstanceDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **applicationInstanceDelete** +> String applicationInstanceDelete(id) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = InstanceApi(); +final id = id_example; // String | + +try { + final result = api_instance.applicationInstanceDelete(id); + print(result); +} catch (e) { + print('Exception when calling InstanceApi->applicationInstanceDelete: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **String**| | + +### Return type + +**String** + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **applicationInstanceDeleteAppConfigurationLink** +> String applicationInstanceDeleteAppConfigurationLink(applicationInstanceId, appConfigurationLinkId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = InstanceApi(); +final applicationInstanceId = applicationInstanceId_example; // String | +final appConfigurationLinkId = appConfigurationLinkId_example; // String | + +try { + final result = api_instance.applicationInstanceDeleteAppConfigurationLink(applicationInstanceId, appConfigurationLinkId); + print(result); +} catch (e) { + print('Exception when calling InstanceApi->applicationInstanceDeleteAppConfigurationLink: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **applicationInstanceId** | **String**| | + **appConfigurationLinkId** | **String**| | + +### Return type + +**String** + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **applicationInstanceGet** +> List applicationInstanceGet(instanceId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = InstanceApi(); +final instanceId = instanceId_example; // String | + +try { + final result = api_instance.applicationInstanceGet(instanceId); + print(result); +} catch (e) { + print('Exception when calling InstanceApi->applicationInstanceGet: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instanceId** | **String**| | [optional] + +### Return type + +[**List**](ApplicationInstanceDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **applicationInstanceGetAllApplicationLinkFromApplicationInstance** +> List applicationInstanceGetAllApplicationLinkFromApplicationInstance(applicationInstanceId2, applicationInstanceId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = InstanceApi(); +final applicationInstanceId2 = applicationInstanceId_example; // String | +final applicationInstanceId = applicationInstanceId_example; // String | + +try { + final result = api_instance.applicationInstanceGetAllApplicationLinkFromApplicationInstance(applicationInstanceId2, applicationInstanceId); + print(result); +} catch (e) { + print('Exception when calling InstanceApi->applicationInstanceGetAllApplicationLinkFromApplicationInstance: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **applicationInstanceId2** | **String**| | + **applicationInstanceId** | **String**| | [optional] + +### Return type + +[**List**](AppConfigurationLinkDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **applicationInstanceUpdate** +> ApplicationInstanceDTO applicationInstanceUpdate(applicationInstanceDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = InstanceApi(); +final applicationInstanceDTO = ApplicationInstanceDTO(); // ApplicationInstanceDTO | + +try { + final result = api_instance.applicationInstanceUpdate(applicationInstanceDTO); + print(result); +} catch (e) { + print('Exception when calling InstanceApi->applicationInstanceUpdate: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **applicationInstanceDTO** | [**ApplicationInstanceDTO**](ApplicationInstanceDTO.md)| | + +### Return type + +[**ApplicationInstanceDTO**](ApplicationInstanceDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **applicationInstanceUpdateApplicationLink** +> AppConfigurationLinkDTO applicationInstanceUpdateApplicationLink(appConfigurationLinkDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = InstanceApi(); +final appConfigurationLinkDTO = AppConfigurationLinkDTO(); // AppConfigurationLinkDTO | + +try { + final result = api_instance.applicationInstanceUpdateApplicationLink(appConfigurationLinkDTO); + print(result); +} catch (e) { + print('Exception when calling InstanceApi->applicationInstanceUpdateApplicationLink: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **appConfigurationLinkDTO** | [**AppConfigurationLinkDTO**](AppConfigurationLinkDTO.md)| | + +### Return type + +[**AppConfigurationLinkDTO**](AppConfigurationLinkDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **instanceCreateInstance** > InstanceDTO instanceCreateInstance(instanceDTO) diff --git a/manager_api_new/doc/InstanceDTO.md b/manager_api_new/doc/InstanceDTO.md index 9bc7fab..dda8541 100644 --- a/manager_api_new/doc/InstanceDTO.md +++ b/manager_api_new/doc/InstanceDTO.md @@ -12,6 +12,11 @@ Name | Type | Description | Notes **name** | **String** | | [optional] **dateCreation** | [**DateTime**](DateTime.md) | | [optional] **pinCode** | **String** | | [optional] +**isPushNotification** | **bool** | | [optional] +**isStatistic** | **bool** | | [optional] +**isMobile** | **bool** | | [optional] +**isTablet** | **bool** | | [optional] +**isVR** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/LayoutMainPageType.md b/manager_api_new/doc/LayoutMainPageType.md new file mode 100644 index 0000000..e1fd4f2 --- /dev/null +++ b/manager_api_new/doc/LayoutMainPageType.md @@ -0,0 +1,14 @@ +# manager_api_new.model.LayoutMainPageType + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/MapAnnotation.md b/manager_api_new/doc/MapAnnotation.md new file mode 100644 index 0000000..5057020 --- /dev/null +++ b/manager_api_new/doc/MapAnnotation.md @@ -0,0 +1,23 @@ +# manager_api_new.model.MapAnnotation + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**type** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**label** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**geometryType** | [**GeometryType**](GeometryType.md) | | [optional] +**geometry** | [**MapAnnotationGeometry**](MapAnnotationGeometry.md) | | [optional] +**polyColor** | **String** | | [optional] +**icon** | **String** | | [optional] +**iconResourceId** | **String** | | [optional] +**iconResource** | [**MapAnnotationIconResource**](MapAnnotationIconResource.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/MapAnnotationDTO.md b/manager_api_new/doc/MapAnnotationDTO.md new file mode 100644 index 0000000..d987d82 --- /dev/null +++ b/manager_api_new/doc/MapAnnotationDTO.md @@ -0,0 +1,23 @@ +# manager_api_new.model.MapAnnotationDTO + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**type** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**label** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**geometryType** | [**GeometryType**](GeometryType.md) | | [optional] +**geometry** | [**EventAddressDTOGeometry**](EventAddressDTOGeometry.md) | | [optional] +**polyColor** | **String** | | [optional] +**icon** | **String** | | [optional] +**iconResourceId** | **String** | | [optional] +**iconResource** | [**PuzzleDTOAllOfPuzzleImage**](PuzzleDTOAllOfPuzzleImage.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/MapAnnotationGeometry.md b/manager_api_new/doc/MapAnnotationGeometry.md new file mode 100644 index 0000000..6fbe42e --- /dev/null +++ b/manager_api_new/doc/MapAnnotationGeometry.md @@ -0,0 +1,29 @@ +# manager_api_new.model.MapAnnotationGeometry + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**factory_** | [**GeometryFactory**](GeometryFactory.md) | | [optional] +**userData** | [**Object**](.md) | | [optional] +**srid** | **int** | | [optional] +**precisionModel** | [**GeometryPrecisionModel**](GeometryPrecisionModel.md) | | [optional] +**numGeometries** | **int** | | [optional] +**isSimple** | **bool** | | [optional] +**isValid** | **bool** | | [optional] +**area** | **double** | | [optional] +**length** | **double** | | [optional] +**centroid** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**interiorPoint** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**pointOnSurface** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**envelope** | [**MapAnnotationGeometry**](MapAnnotationGeometry.md) | | [optional] +**envelopeInternal** | [**GeometryEnvelopeInternal**](GeometryEnvelopeInternal.md) | | [optional] +**isRectangle** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/MapAnnotationIconResource.md b/manager_api_new/doc/MapAnnotationIconResource.md new file mode 100644 index 0000000..899638a --- /dev/null +++ b/manager_api_new/doc/MapAnnotationIconResource.md @@ -0,0 +1,20 @@ +# manager_api_new.model.MapAnnotationIconResource + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | +**type** | [**ResourceType**](ResourceType.md) | | +**label** | **String** | | +**instanceId** | **String** | | +**dateCreation** | [**DateTime**](DateTime.md) | | [optional] +**url** | **String** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/MapDTO.md b/manager_api_new/doc/MapDTO.md index 84aa572..f55c258 100644 --- a/manager_api_new/doc/MapDTO.md +++ b/manager_api_new/doc/MapDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] diff --git a/manager_api_new/doc/MenuDTO.md b/manager_api_new/doc/MenuDTO.md index 991ec03..d968065 100644 --- a/manager_api_new/doc/MenuDTO.md +++ b/manager_api_new/doc/MenuDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] diff --git a/manager_api_new/doc/NtsGeometryServices.md b/manager_api_new/doc/NtsGeometryServices.md new file mode 100644 index 0000000..3a460af --- /dev/null +++ b/manager_api_new/doc/NtsGeometryServices.md @@ -0,0 +1,19 @@ +# manager_api_new.model.NtsGeometryServices + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**geometryOverlay** | [**NtsGeometryServicesGeometryOverlay**](NtsGeometryServicesGeometryOverlay.md) | | [optional] +**coordinateEqualityComparer** | [**NtsGeometryServicesCoordinateEqualityComparer**](NtsGeometryServicesCoordinateEqualityComparer.md) | | [optional] +**defaultSRID** | **int** | | [optional] +**defaultCoordinateSequenceFactory** | [**GeometryFactoryCoordinateSequenceFactory**](GeometryFactoryCoordinateSequenceFactory.md) | | [optional] +**defaultPrecisionModel** | [**GeometryPrecisionModel**](GeometryPrecisionModel.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/NtsGeometryServicesCoordinateEqualityComparer.md b/manager_api_new/doc/NtsGeometryServicesCoordinateEqualityComparer.md new file mode 100644 index 0000000..a281e99 --- /dev/null +++ b/manager_api_new/doc/NtsGeometryServicesCoordinateEqualityComparer.md @@ -0,0 +1,14 @@ +# manager_api_new.model.NtsGeometryServicesCoordinateEqualityComparer + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/NtsGeometryServicesGeometryOverlay.md b/manager_api_new/doc/NtsGeometryServicesGeometryOverlay.md new file mode 100644 index 0000000..d196448 --- /dev/null +++ b/manager_api_new/doc/NtsGeometryServicesGeometryOverlay.md @@ -0,0 +1,14 @@ +# manager_api_new.model.NtsGeometryServicesGeometryOverlay + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/OgcGeometryType.md b/manager_api_new/doc/OgcGeometryType.md new file mode 100644 index 0000000..20bdbae --- /dev/null +++ b/manager_api_new/doc/OgcGeometryType.md @@ -0,0 +1,14 @@ +# manager_api_new.model.OgcGeometryType + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/Ordinates.md b/manager_api_new/doc/Ordinates.md new file mode 100644 index 0000000..33012e9 --- /dev/null +++ b/manager_api_new/doc/Ordinates.md @@ -0,0 +1,14 @@ +# manager_api_new.model.Ordinates + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/PdfDTO.md b/manager_api_new/doc/PdfDTO.md index b50f735..42f5b47 100644 --- a/manager_api_new/doc/PdfDTO.md +++ b/manager_api_new/doc/PdfDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] diff --git a/manager_api_new/doc/Point.md b/manager_api_new/doc/Point.md new file mode 100644 index 0000000..76b0e72 --- /dev/null +++ b/manager_api_new/doc/Point.md @@ -0,0 +1,43 @@ +# manager_api_new.model.Point + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**factory_** | [**GeometryFactory**](GeometryFactory.md) | | [optional] +**userData** | [**Object**](.md) | | [optional] +**srid** | **int** | | [optional] +**precisionModel** | [**GeometryPrecisionModel**](GeometryPrecisionModel.md) | | [optional] +**numGeometries** | **int** | | [optional] +**isSimple** | **bool** | | [optional] +**isValid** | **bool** | | [optional] +**area** | **double** | | [optional] +**length** | **double** | | [optional] +**centroid** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**interiorPoint** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**pointOnSurface** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**envelope** | [**MapAnnotationGeometry**](MapAnnotationGeometry.md) | | [optional] +**envelopeInternal** | [**GeometryEnvelopeInternal**](GeometryEnvelopeInternal.md) | | [optional] +**isRectangle** | **bool** | | [optional] +**coordinateSequence** | [**PointAllOfCoordinateSequence**](PointAllOfCoordinateSequence.md) | | [optional] +**coordinates** | [**List**](Coordinate.md) | | [optional] [default to const []] +**numPoints** | **int** | | [optional] +**isEmpty** | **bool** | | [optional] +**dimension** | [**Dimension**](Dimension.md) | | [optional] +**boundaryDimension** | [**Dimension**](Dimension.md) | | [optional] +**x** | **double** | | [optional] +**y** | **double** | | [optional] +**coordinate** | [**PointAllOfCoordinate**](PointAllOfCoordinate.md) | | [optional] +**geometryType** | **String** | | [optional] +**ogcGeometryType** | [**OgcGeometryType**](OgcGeometryType.md) | | [optional] +**boundary** | [**PointAllOfBoundary**](PointAllOfBoundary.md) | | [optional] +**z** | **double** | | [optional] +**m** | **double** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/PointAllOfBoundary.md b/manager_api_new/doc/PointAllOfBoundary.md new file mode 100644 index 0000000..db4d9eb --- /dev/null +++ b/manager_api_new/doc/PointAllOfBoundary.md @@ -0,0 +1,29 @@ +# manager_api_new.model.PointAllOfBoundary + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**factory_** | [**GeometryFactory**](GeometryFactory.md) | | [optional] +**userData** | [**Object**](.md) | | [optional] +**srid** | **int** | | [optional] +**precisionModel** | [**GeometryPrecisionModel**](GeometryPrecisionModel.md) | | [optional] +**numGeometries** | **int** | | [optional] +**isSimple** | **bool** | | [optional] +**isValid** | **bool** | | [optional] +**area** | **double** | | [optional] +**length** | **double** | | [optional] +**centroid** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**interiorPoint** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**pointOnSurface** | [**GeometryCentroid**](GeometryCentroid.md) | | [optional] +**envelope** | [**MapAnnotationGeometry**](MapAnnotationGeometry.md) | | [optional] +**envelopeInternal** | [**GeometryEnvelopeInternal**](GeometryEnvelopeInternal.md) | | [optional] +**isRectangle** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/PointAllOfCoordinate.md b/manager_api_new/doc/PointAllOfCoordinate.md new file mode 100644 index 0000000..02699d0 --- /dev/null +++ b/manager_api_new/doc/PointAllOfCoordinate.md @@ -0,0 +1,20 @@ +# manager_api_new.model.PointAllOfCoordinate + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**x** | **double** | | [optional] +**y** | **double** | | [optional] +**z** | **double** | | [optional] +**m** | **double** | | [optional] +**coordinateValue** | [**PointAllOfCoordinate**](PointAllOfCoordinate.md) | | [optional] +**isValid** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/PointAllOfCoordinateSequence.md b/manager_api_new/doc/PointAllOfCoordinateSequence.md new file mode 100644 index 0000000..788978b --- /dev/null +++ b/manager_api_new/doc/PointAllOfCoordinateSequence.md @@ -0,0 +1,25 @@ +# manager_api_new.model.PointAllOfCoordinateSequence + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dimension** | **int** | | [optional] +**measures** | **int** | | [optional] +**spatial** | **int** | | [optional] +**ordinates** | [**Ordinates**](Ordinates.md) | | [optional] +**hasZ** | **bool** | | [optional] +**hasM** | **bool** | | [optional] +**zOrdinateIndex** | **int** | | [optional] +**mOrdinateIndex** | **int** | | [optional] +**first** | [**PointAllOfCoordinate**](PointAllOfCoordinate.md) | | [optional] +**last** | [**PointAllOfCoordinate**](PointAllOfCoordinate.md) | | [optional] +**count** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/PrecisionModel.md b/manager_api_new/doc/PrecisionModel.md new file mode 100644 index 0000000..91b30d7 --- /dev/null +++ b/manager_api_new/doc/PrecisionModel.md @@ -0,0 +1,19 @@ +# manager_api_new.model.PrecisionModel + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**isFloating** | **bool** | | [optional] +**maximumSignificantDigits** | **int** | | [optional] +**scale** | **double** | | [optional] +**gridSize** | **double** | | [optional] +**precisionModelType** | [**PrecisionModels**](PrecisionModels.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/PrecisionModels.md b/manager_api_new/doc/PrecisionModels.md new file mode 100644 index 0000000..2da4ad9 --- /dev/null +++ b/manager_api_new/doc/PrecisionModels.md @@ -0,0 +1,14 @@ +# manager_api_new.model.PrecisionModels + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/ProgrammeBlock.md b/manager_api_new/doc/ProgrammeBlock.md new file mode 100644 index 0000000..499dfc3 --- /dev/null +++ b/manager_api_new/doc/ProgrammeBlock.md @@ -0,0 +1,20 @@ +# manager_api_new.model.ProgrammeBlock + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**startTime** | [**DateTime**](DateTime.md) | | [optional] +**endTime** | [**DateTime**](DateTime.md) | | [optional] +**mapAnnotations** | [**List**](MapAnnotation.md) | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/ProgrammeBlockDTO.md b/manager_api_new/doc/ProgrammeBlockDTO.md new file mode 100644 index 0000000..23e0119 --- /dev/null +++ b/manager_api_new/doc/ProgrammeBlockDTO.md @@ -0,0 +1,20 @@ +# manager_api_new.model.ProgrammeBlockDTO + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**startTime** | [**DateTime**](DateTime.md) | | [optional] +**endTime** | [**DateTime**](DateTime.md) | | [optional] +**mapAnnotations** | [**List**](MapAnnotationDTO.md) | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/PuzzleDTO.md b/manager_api_new/doc/PuzzleDTO.md index 2c55b8d..e532601 100644 --- a/manager_api_new/doc/PuzzleDTO.md +++ b/manager_api_new/doc/PuzzleDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] diff --git a/manager_api_new/doc/QuestionType.md b/manager_api_new/doc/QuestionType.md new file mode 100644 index 0000000..dc10004 --- /dev/null +++ b/manager_api_new/doc/QuestionType.md @@ -0,0 +1,14 @@ +# manager_api_new.model.QuestionType + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/QuizDTO.md b/manager_api_new/doc/QuizDTO.md index dace0c8..7e6b841 100644 --- a/manager_api_new/doc/QuizDTO.md +++ b/manager_api_new/doc/QuizDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] diff --git a/manager_api_new/doc/QuizQuestion.md b/manager_api_new/doc/QuizQuestion.md index f8dd67a..feb2685 100644 --- a/manager_api_new/doc/QuizQuestion.md +++ b/manager_api_new/doc/QuizQuestion.md @@ -12,10 +12,18 @@ Name | Type | Description | Notes **label** | [**List**](TranslationAndResourceDTO.md) | | [default to const []] **responses** | [**List**](ResponseDTO.md) | | [default to const []] **resourceId** | **String** | | [optional] -**resource** | [**SectionMapAllOfMapResource**](SectionMapAllOfMapResource.md) | | [optional] +**resource** | [**MapAnnotationIconResource**](MapAnnotationIconResource.md) | | [optional] **order** | **int** | | [optional] **sectionQuizId** | **String** | | [optional] **sectionQuiz** | [**QuizQuestionSectionQuiz**](QuizQuestionSectionQuiz.md) | | [optional] +**guidedStepId** | **String** | | [optional] +**guidedStep** | [**QuizQuestionGuidedStep**](QuizQuestionGuidedStep.md) | | [optional] +**validationQuestionType** | [**QuestionType**](QuestionType.md) | | [optional] +**puzzleImageId** | **String** | | [optional] +**puzzleImage** | [**MapAnnotationIconResource**](MapAnnotationIconResource.md) | | [optional] +**puzzleRows** | **int** | | [optional] +**puzzleCols** | **int** | | [optional] +**isSlidingPuzzle** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/QuizQuestionGuidedStep.md b/manager_api_new/doc/QuizQuestionGuidedStep.md new file mode 100644 index 0000000..3be6858 --- /dev/null +++ b/manager_api_new/doc/QuizQuestionGuidedStep.md @@ -0,0 +1,31 @@ +# manager_api_new.model.QuizQuestionGuidedStep + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**guidedPathId** | **String** | | +**title** | [**List**](TranslationDTO.md) | | [default to const []] +**id** | **String** | | [optional] +**guidedPath** | [**GuidedStepGuidedPath**](GuidedStepGuidedPath.md) | | [optional] +**order** | **int** | | [optional] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**geometry** | [**PointAllOfBoundary**](PointAllOfBoundary.md) | | [optional] +**zoneRadiusMeters** | **double** | | [optional] +**imageUrl** | **String** | | [optional] +**triggerGeoPointId** | **int** | | [optional] +**triggerGeoPoint** | [**GuidedStepTriggerGeoPoint**](GuidedStepTriggerGeoPoint.md) | | [optional] +**isHiddenInitially** | **bool** | | [optional] +**quizQuestions** | [**List**](QuizQuestion.md) | | [optional] [default to const []] +**isStepTimer** | **bool** | | [optional] +**isStepLocked** | **bool** | | [optional] +**timerSeconds** | **int** | | [optional] +**timerExpiredMessage** | [**List**](TranslationDTO.md) | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/QuizQuestionSectionQuiz.md b/manager_api_new/doc/QuizQuestionSectionQuiz.md index 8979911..f61056f 100644 --- a/manager_api_new/doc/QuizQuestionSectionQuiz.md +++ b/manager_api_new/doc/QuizQuestionSectionQuiz.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes **latitude** | **String** | | [optional] **longitude** | **String** | | [optional] **meterZoneGPS** | **int** | | [optional] +**isActive** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/Section.md b/manager_api_new/doc/Section.md index 165ef46..bc37000 100644 --- a/manager_api_new/doc/Section.md +++ b/manager_api_new/doc/Section.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **latitude** | **String** | | [optional] **longitude** | **String** | | [optional] **meterZoneGPS** | **int** | | [optional] +**isActive** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/SectionAgendaApi.md b/manager_api_new/doc/SectionAgendaApi.md new file mode 100644 index 0000000..d1b3296 --- /dev/null +++ b/manager_api_new/doc/SectionAgendaApi.md @@ -0,0 +1,191 @@ +# manager_api_new.api.SectionAgendaApi + +## Load the API package +```dart +import 'package:manager_api_new/api.dart'; +``` + +All URIs are relative to *https://localhost:5001* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**sectionAgendaCreateEventAgenda**](SectionAgendaApi.md#sectionagendacreateeventagenda) | **POST** /api/SectionAgenda/{sectionAgendaId}/event | +[**sectionAgendaDeleteEventAgenda**](SectionAgendaApi.md#sectionagendadeleteeventagenda) | **DELETE** /api/SectionAgenda/event/{eventAgendaId} | +[**sectionAgendaGetAllEventAgendaFromSection**](SectionAgendaApi.md#sectionagendagetalleventagendafromsection) | **GET** /api/SectionAgenda/{sectionAgendaId}/events | +[**sectionAgendaUpdateEventAgenda**](SectionAgendaApi.md#sectionagendaupdateeventagenda) | **PUT** /api/SectionAgenda/event | + + +# **sectionAgendaCreateEventAgenda** +> EventAgendaDTO sectionAgendaCreateEventAgenda(sectionAgendaId, eventAgendaDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionAgendaApi(); +final sectionAgendaId = sectionAgendaId_example; // String | +final eventAgendaDTO = EventAgendaDTO(); // EventAgendaDTO | + +try { + final result = api_instance.sectionAgendaCreateEventAgenda(sectionAgendaId, eventAgendaDTO); + print(result); +} catch (e) { + print('Exception when calling SectionAgendaApi->sectionAgendaCreateEventAgenda: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **sectionAgendaId** | **String**| | + **eventAgendaDTO** | [**EventAgendaDTO**](EventAgendaDTO.md)| | + +### Return type + +[**EventAgendaDTO**](EventAgendaDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionAgendaDeleteEventAgenda** +> String sectionAgendaDeleteEventAgenda(eventAgendaId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionAgendaApi(); +final eventAgendaId = 56; // int | + +try { + final result = api_instance.sectionAgendaDeleteEventAgenda(eventAgendaId); + print(result); +} catch (e) { + print('Exception when calling SectionAgendaApi->sectionAgendaDeleteEventAgenda: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **eventAgendaId** | **int**| | + +### Return type + +**String** + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionAgendaGetAllEventAgendaFromSection** +> List sectionAgendaGetAllEventAgendaFromSection(sectionAgendaId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionAgendaApi(); +final sectionAgendaId = sectionAgendaId_example; // String | + +try { + final result = api_instance.sectionAgendaGetAllEventAgendaFromSection(sectionAgendaId); + print(result); +} catch (e) { + print('Exception when calling SectionAgendaApi->sectionAgendaGetAllEventAgendaFromSection: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **sectionAgendaId** | **String**| | + +### Return type + +[**List**](EventAgendaDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionAgendaUpdateEventAgenda** +> EventAgendaDTO sectionAgendaUpdateEventAgenda(eventAgendaDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionAgendaApi(); +final eventAgendaDTO = EventAgendaDTO(); // EventAgendaDTO | + +try { + final result = api_instance.sectionAgendaUpdateEventAgenda(eventAgendaDTO); + print(result); +} catch (e) { + print('Exception when calling SectionAgendaApi->sectionAgendaUpdateEventAgenda: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **eventAgendaDTO** | [**EventAgendaDTO**](EventAgendaDTO.md)| | + +### Return type + +[**EventAgendaDTO**](EventAgendaDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/manager_api_new/doc/SectionApi.md b/manager_api_new/doc/SectionApi.md index 2f7236f..4e36990 100644 --- a/manager_api_new/doc/SectionApi.md +++ b/manager_api_new/doc/SectionApi.md @@ -20,11 +20,13 @@ Method | HTTP request | Description [**sectionGetDetail**](SectionApi.md#sectiongetdetail) | **GET** /api/Section/{id} | [**sectionGetFromConfiguration**](SectionApi.md#sectiongetfromconfiguration) | **GET** /api/Section/configuration/{id} | [**sectionGetFromConfigurationDetail**](SectionApi.md#sectiongetfromconfigurationdetail) | **GET** /api/Section/configuration/{id}/detail | +[**sectionGetGuidedPathDTO**](SectionApi.md#sectiongetguidedpathdto) | **GET** /api/Section/GuidedPathDTO | [**sectionGetMapDTO**](SectionApi.md#sectiongetmapdto) | **GET** /api/Section/MapDTO | [**sectionGetMenuDTO**](SectionApi.md#sectiongetmenudto) | **GET** /api/Section/MenuDTO | [**sectionGetPdfDTO**](SectionApi.md#sectiongetpdfdto) | **GET** /api/Section/PdfDTO | [**sectionGetPuzzleDTO**](SectionApi.md#sectiongetpuzzledto) | **GET** /api/Section/PuzzleDTO | [**sectionGetQuizDTO**](SectionApi.md#sectiongetquizdto) | **GET** /api/Section/QuizDTO | +[**sectionGetSectionEventDTO**](SectionApi.md#sectiongetsectioneventdto) | **GET** /api/Section/SectionEventDTO | [**sectionGetSliderDTO**](SectionApi.md#sectiongetsliderdto) | **GET** /api/Section/SliderDTO | [**sectionGetVideoDTO**](SectionApi.md#sectiongetvideodto) | **GET** /api/Section/VideoDTO | [**sectionGetWeatherDTO**](SectionApi.md#sectiongetweatherdto) | **GET** /api/Section/WeatherDTO | @@ -499,6 +501,45 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **sectionGetGuidedPathDTO** +> GuidedPathDTO sectionGetGuidedPathDTO() + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionApi(); + +try { + final result = api_instance.sectionGetGuidedPathDTO(); + print(result); +} catch (e) { + print('Exception when calling SectionApi->sectionGetGuidedPathDTO: $e\n'); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**GuidedPathDTO**](GuidedPathDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **sectionGetMapDTO** > MapDTO sectionGetMapDTO() @@ -694,6 +735,45 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **sectionGetSectionEventDTO** +> SectionEventDTO sectionGetSectionEventDTO() + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionApi(); + +try { + final result = api_instance.sectionGetSectionEventDTO(); + print(result); +} catch (e) { + print('Exception when calling SectionApi->sectionGetSectionEventDTO: $e\n'); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**SectionEventDTO**](SectionEventDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **sectionGetSliderDTO** > SliderDTO sectionGetSliderDTO() diff --git a/manager_api_new/doc/SectionDTO.md b/manager_api_new/doc/SectionDTO.md index d5d8fc0..06c2df0 100644 --- a/manager_api_new/doc/SectionDTO.md +++ b/manager_api_new/doc/SectionDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] diff --git a/manager_api_new/doc/SectionEvent.md b/manager_api_new/doc/SectionEvent.md new file mode 100644 index 0000000..918ab33 --- /dev/null +++ b/manager_api_new/doc/SectionEvent.md @@ -0,0 +1,37 @@ +# manager_api_new.model.SectionEvent + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | +**label** | **String** | | +**title** | [**List**](TranslationDTO.md) | | [default to const []] +**configurationId** | **String** | | +**type** | [**SectionType**](SectionType.md) | | +**isSubSection** | **bool** | | +**instanceId** | **String** | | +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**order** | **int** | | [optional] +**imageId** | **String** | | [optional] +**imageSource** | **String** | | [optional] +**parentId** | **String** | | [optional] +**dateCreation** | [**DateTime**](DateTime.md) | | [optional] +**isBeacon** | **bool** | | [optional] +**beaconId** | **int** | | [optional] +**latitude** | **String** | | [optional] +**longitude** | **String** | | [optional] +**meterZoneGPS** | **int** | | [optional] +**isActive** | **bool** | | [optional] +**startDate** | [**DateTime**](DateTime.md) | | [optional] +**endDate** | [**DateTime**](DateTime.md) | | [optional] +**programme** | [**List**](ProgrammeBlock.md) | | [optional] [default to const []] +**parcoursIds** | **List** | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/SectionEventApi.md b/manager_api_new/doc/SectionEventApi.md new file mode 100644 index 0000000..04371a6 --- /dev/null +++ b/manager_api_new/doc/SectionEventApi.md @@ -0,0 +1,369 @@ +# manager_api_new.api.SectionEventApi + +## Load the API package +```dart +import 'package:manager_api_new/api.dart'; +``` + +All URIs are relative to *https://localhost:5001* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**sectionEventCreateMapAnnotation**](SectionEventApi.md#sectioneventcreatemapannotation) | **POST** /api/SectionEvent/{programmeBlockId}/map-annotations | +[**sectionEventCreateProgrammeBlock**](SectionEventApi.md#sectioneventcreateprogrammeblock) | **POST** /api/SectionEvent/{sectionEventId}/programmes | +[**sectionEventDeleteMapAnnotation**](SectionEventApi.md#sectioneventdeletemapannotation) | **DELETE** /api/SectionEvent/map-annotations/{mapAnnotationId} | +[**sectionEventDeleteProgrammeBlock**](SectionEventApi.md#sectioneventdeleteprogrammeblock) | **DELETE** /api/SectionEvent/programmes/{programBlockId} | +[**sectionEventGetAllMapAnnotationsFromProgrammeBlock**](SectionEventApi.md#sectioneventgetallmapannotationsfromprogrammeblock) | **GET** /api/SectionEvent/{programBlockId}/map-annotations | +[**sectionEventGetAllProgrammeBlockFromSection**](SectionEventApi.md#sectioneventgetallprogrammeblockfromsection) | **GET** /api/SectionEvent/{sectionEventId}/programmes | +[**sectionEventUpdateMapAnnotation**](SectionEventApi.md#sectioneventupdatemapannotation) | **PUT** /api/SectionEvent/map-annotations | +[**sectionEventUpdateProgrammeBlock**](SectionEventApi.md#sectioneventupdateprogrammeblock) | **PUT** /api/SectionEvent/programmes | + + +# **sectionEventCreateMapAnnotation** +> MapAnnotationDTO sectionEventCreateMapAnnotation(programmeBlockId, mapAnnotationDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionEventApi(); +final programmeBlockId = programmeBlockId_example; // String | +final mapAnnotationDTO = MapAnnotationDTO(); // MapAnnotationDTO | + +try { + final result = api_instance.sectionEventCreateMapAnnotation(programmeBlockId, mapAnnotationDTO); + print(result); +} catch (e) { + print('Exception when calling SectionEventApi->sectionEventCreateMapAnnotation: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **programmeBlockId** | **String**| | + **mapAnnotationDTO** | [**MapAnnotationDTO**](MapAnnotationDTO.md)| | + +### Return type + +[**MapAnnotationDTO**](MapAnnotationDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionEventCreateProgrammeBlock** +> ProgrammeBlockDTO sectionEventCreateProgrammeBlock(sectionEventId, programmeBlockDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionEventApi(); +final sectionEventId = sectionEventId_example; // String | +final programmeBlockDTO = ProgrammeBlockDTO(); // ProgrammeBlockDTO | + +try { + final result = api_instance.sectionEventCreateProgrammeBlock(sectionEventId, programmeBlockDTO); + print(result); +} catch (e) { + print('Exception when calling SectionEventApi->sectionEventCreateProgrammeBlock: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **sectionEventId** | **String**| | + **programmeBlockDTO** | [**ProgrammeBlockDTO**](ProgrammeBlockDTO.md)| | + +### Return type + +[**ProgrammeBlockDTO**](ProgrammeBlockDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionEventDeleteMapAnnotation** +> String sectionEventDeleteMapAnnotation(mapAnnotationId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionEventApi(); +final mapAnnotationId = mapAnnotationId_example; // String | + +try { + final result = api_instance.sectionEventDeleteMapAnnotation(mapAnnotationId); + print(result); +} catch (e) { + print('Exception when calling SectionEventApi->sectionEventDeleteMapAnnotation: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapAnnotationId** | **String**| | + +### Return type + +**String** + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionEventDeleteProgrammeBlock** +> String sectionEventDeleteProgrammeBlock(programBlockId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionEventApi(); +final programBlockId = programBlockId_example; // String | + +try { + final result = api_instance.sectionEventDeleteProgrammeBlock(programBlockId); + print(result); +} catch (e) { + print('Exception when calling SectionEventApi->sectionEventDeleteProgrammeBlock: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **programBlockId** | **String**| | + +### Return type + +**String** + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionEventGetAllMapAnnotationsFromProgrammeBlock** +> List sectionEventGetAllMapAnnotationsFromProgrammeBlock(programBlockId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionEventApi(); +final programBlockId = programBlockId_example; // String | + +try { + final result = api_instance.sectionEventGetAllMapAnnotationsFromProgrammeBlock(programBlockId); + print(result); +} catch (e) { + print('Exception when calling SectionEventApi->sectionEventGetAllMapAnnotationsFromProgrammeBlock: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **programBlockId** | **String**| | + +### Return type + +[**List**](MapAnnotationDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionEventGetAllProgrammeBlockFromSection** +> List sectionEventGetAllProgrammeBlockFromSection(sectionEventId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionEventApi(); +final sectionEventId = sectionEventId_example; // String | + +try { + final result = api_instance.sectionEventGetAllProgrammeBlockFromSection(sectionEventId); + print(result); +} catch (e) { + print('Exception when calling SectionEventApi->sectionEventGetAllProgrammeBlockFromSection: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **sectionEventId** | **String**| | + +### Return type + +[**List**](ProgrammeBlock.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionEventUpdateMapAnnotation** +> MapAnnotationDTO sectionEventUpdateMapAnnotation(mapAnnotationDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionEventApi(); +final mapAnnotationDTO = MapAnnotationDTO(); // MapAnnotationDTO | + +try { + final result = api_instance.sectionEventUpdateMapAnnotation(mapAnnotationDTO); + print(result); +} catch (e) { + print('Exception when calling SectionEventApi->sectionEventUpdateMapAnnotation: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapAnnotationDTO** | [**MapAnnotationDTO**](MapAnnotationDTO.md)| | + +### Return type + +[**MapAnnotationDTO**](MapAnnotationDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionEventUpdateProgrammeBlock** +> ProgrammeBlockDTO sectionEventUpdateProgrammeBlock(programmeBlockDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionEventApi(); +final programmeBlockDTO = ProgrammeBlockDTO(); // ProgrammeBlockDTO | + +try { + final result = api_instance.sectionEventUpdateProgrammeBlock(programmeBlockDTO); + print(result); +} catch (e) { + print('Exception when calling SectionEventApi->sectionEventUpdateProgrammeBlock: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **programmeBlockDTO** | [**ProgrammeBlockDTO**](ProgrammeBlockDTO.md)| | + +### Return type + +[**ProgrammeBlockDTO**](ProgrammeBlockDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/manager_api_new/doc/SectionEventDTO.md b/manager_api_new/doc/SectionEventDTO.md new file mode 100644 index 0000000..365851b --- /dev/null +++ b/manager_api_new/doc/SectionEventDTO.md @@ -0,0 +1,37 @@ +# manager_api_new.model.SectionEventDTO + +## Load the model package +```dart +import 'package:manager_api_new/api.dart'; +``` + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**label** | **String** | | [optional] +**title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] +**imageId** | **String** | | [optional] +**imageSource** | **String** | | [optional] +**configurationId** | **String** | | [optional] +**isSubSection** | **bool** | | [optional] +**parentId** | **String** | | [optional] +**type** | [**SectionType**](SectionType.md) | | [optional] +**dateCreation** | [**DateTime**](DateTime.md) | | [optional] +**order** | **int** | | [optional] +**instanceId** | **String** | | [optional] +**latitude** | **String** | | [optional] +**longitude** | **String** | | [optional] +**meterZoneGPS** | **int** | | [optional] +**isBeacon** | **bool** | | [optional] +**beaconId** | **int** | | [optional] +**startDate** | [**DateTime**](DateTime.md) | | [optional] +**endDate** | [**DateTime**](DateTime.md) | | [optional] +**parcoursIds** | **List** | | [optional] [default to const []] +**programme** | [**List**](ProgrammeBlock.md) | | [optional] [default to const []] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/manager_api_new/doc/SectionMap.md b/manager_api_new/doc/SectionMap.md index e875189..d9eb20f 100644 --- a/manager_api_new/doc/SectionMap.md +++ b/manager_api_new/doc/SectionMap.md @@ -27,6 +27,7 @@ Name | Type | Description | Notes **latitude** | **String** | | [optional] **longitude** | **String** | | [optional] **meterZoneGPS** | **int** | | [optional] +**isActive** | **bool** | | [optional] **mapZoom** | **int** | | [optional] **mapMapType** | [**SectionMapAllOfMapMapType**](SectionMapAllOfMapMapType.md) | | [optional] **mapTypeMapbox** | [**SectionMapAllOfMapTypeMapbox**](SectionMapAllOfMapTypeMapbox.md) | | [optional] diff --git a/manager_api_new/doc/SectionMapApi.md b/manager_api_new/doc/SectionMapApi.md index 5cb26c5..5e1c5ee 100644 --- a/manager_api_new/doc/SectionMapApi.md +++ b/manager_api_new/doc/SectionMapApi.md @@ -10,9 +10,17 @@ All URIs are relative to *https://localhost:5001* Method | HTTP request | Description ------------- | ------------- | ------------- [**sectionMapCreate**](SectionMapApi.md#sectionmapcreate) | **POST** /api/SectionMap/{sectionId}/points | -[**sectionMapDelete**](SectionMapApi.md#sectionmapdelete) | **DELETE** /api/SectionMap/points/delete/{geoPointId} | +[**sectionMapCreateGuidedPath**](SectionMapApi.md#sectionmapcreateguidedpath) | **POST** /api/SectionMap/{sectionMapId}/guided-path | +[**sectionMapCreateGuidedStep**](SectionMapApi.md#sectionmapcreateguidedstep) | **POST** /api/SectionMap/guided-path/{guidedPathId}/guided-step | +[**sectionMapDelete**](SectionMapApi.md#sectionmapdelete) | **DELETE** /api/SectionMap/points/{geoPointId} | +[**sectionMapDeleteGuidedPath**](SectionMapApi.md#sectionmapdeleteguidedpath) | **DELETE** /api/SectionMap/guided-path/{guidedPathId} | +[**sectionMapDeleteGuidedStep**](SectionMapApi.md#sectionmapdeleteguidedstep) | **DELETE** /api/SectionMap/guided-step/{guidedStepId} | [**sectionMapGetAllGeoPointsFromSection**](SectionMapApi.md#sectionmapgetallgeopointsfromsection) | **GET** /api/SectionMap/{sectionId}/points | +[**sectionMapGetAllGuidedPathFromSection**](SectionMapApi.md#sectionmapgetallguidedpathfromsection) | **GET** /api/SectionMap/{sectionMapId}/guided-path | +[**sectionMapGetAllGuidedStepFromGuidedPath**](SectionMapApi.md#sectionmapgetallguidedstepfromguidedpath) | **GET** /api/SectionMap/guided-path/{guidedPathId}/guided-step | [**sectionMapUpdate**](SectionMapApi.md#sectionmapupdate) | **PUT** /api/SectionMap | +[**sectionMapUpdateGuidedPath**](SectionMapApi.md#sectionmapupdateguidedpath) | **PUT** /api/SectionMap/guided-path | +[**sectionMapUpdateGuidedStep**](SectionMapApi.md#sectionmapupdateguidedstep) | **PUT** /api/SectionMap/guided-step | # **sectionMapCreate** @@ -60,6 +68,96 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **sectionMapCreateGuidedPath** +> GuidedPathDTO sectionMapCreateGuidedPath(sectionMapId, guidedPathDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionMapApi(); +final sectionMapId = sectionMapId_example; // String | +final guidedPathDTO = GuidedPathDTO(); // GuidedPathDTO | + +try { + final result = api_instance.sectionMapCreateGuidedPath(sectionMapId, guidedPathDTO); + print(result); +} catch (e) { + print('Exception when calling SectionMapApi->sectionMapCreateGuidedPath: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **sectionMapId** | **String**| | + **guidedPathDTO** | [**GuidedPathDTO**](GuidedPathDTO.md)| | + +### Return type + +[**GuidedPathDTO**](GuidedPathDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionMapCreateGuidedStep** +> GuidedStepDTO sectionMapCreateGuidedStep(guidedPathId, guidedStepDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionMapApi(); +final guidedPathId = guidedPathId_example; // String | +final guidedStepDTO = GuidedStepDTO(); // GuidedStepDTO | + +try { + final result = api_instance.sectionMapCreateGuidedStep(guidedPathId, guidedStepDTO); + print(result); +} catch (e) { + print('Exception when calling SectionMapApi->sectionMapCreateGuidedStep: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **guidedPathId** | **String**| | + **guidedStepDTO** | [**GuidedStepDTO**](GuidedStepDTO.md)| | + +### Return type + +[**GuidedStepDTO**](GuidedStepDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **sectionMapDelete** > String sectionMapDelete(geoPointId) @@ -103,6 +201,92 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **sectionMapDeleteGuidedPath** +> String sectionMapDeleteGuidedPath(guidedPathId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionMapApi(); +final guidedPathId = guidedPathId_example; // String | + +try { + final result = api_instance.sectionMapDeleteGuidedPath(guidedPathId); + print(result); +} catch (e) { + print('Exception when calling SectionMapApi->sectionMapDeleteGuidedPath: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **guidedPathId** | **String**| | + +### Return type + +**String** + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionMapDeleteGuidedStep** +> String sectionMapDeleteGuidedStep(guidedStepId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionMapApi(); +final guidedStepId = guidedStepId_example; // String | + +try { + final result = api_instance.sectionMapDeleteGuidedStep(guidedStepId); + print(result); +} catch (e) { + print('Exception when calling SectionMapApi->sectionMapDeleteGuidedStep: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **guidedStepId** | **String**| | + +### Return type + +**String** + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **sectionMapGetAllGeoPointsFromSection** > List sectionMapGetAllGeoPointsFromSection(sectionId) @@ -146,6 +330,92 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **sectionMapGetAllGuidedPathFromSection** +> List sectionMapGetAllGuidedPathFromSection(sectionMapId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionMapApi(); +final sectionMapId = sectionMapId_example; // String | + +try { + final result = api_instance.sectionMapGetAllGuidedPathFromSection(sectionMapId); + print(result); +} catch (e) { + print('Exception when calling SectionMapApi->sectionMapGetAllGuidedPathFromSection: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **sectionMapId** | **String**| | + +### Return type + +[**List**](GuidedPathDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionMapGetAllGuidedStepFromGuidedPath** +> List sectionMapGetAllGuidedStepFromGuidedPath(guidedPathId) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionMapApi(); +final guidedPathId = guidedPathId_example; // String | + +try { + final result = api_instance.sectionMapGetAllGuidedStepFromGuidedPath(guidedPathId); + print(result); +} catch (e) { + print('Exception when calling SectionMapApi->sectionMapGetAllGuidedStepFromGuidedPath: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **guidedPathId** | **String**| | + +### Return type + +[**List**](GuidedStepDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **sectionMapUpdate** > GeoPoint sectionMapUpdate(geoPointDTO) @@ -189,3 +459,89 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **sectionMapUpdateGuidedPath** +> GuidedPathDTO sectionMapUpdateGuidedPath(guidedPathDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionMapApi(); +final guidedPathDTO = GuidedPathDTO(); // GuidedPathDTO | + +try { + final result = api_instance.sectionMapUpdateGuidedPath(guidedPathDTO); + print(result); +} catch (e) { + print('Exception when calling SectionMapApi->sectionMapUpdateGuidedPath: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **guidedPathDTO** | [**GuidedPathDTO**](GuidedPathDTO.md)| | + +### Return type + +[**GuidedPathDTO**](GuidedPathDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **sectionMapUpdateGuidedStep** +> GuidedStepDTO sectionMapUpdateGuidedStep(guidedStepDTO) + + + +### Example +```dart +import 'package:manager_api_new/api.dart'; +// TODO Configure OAuth2 access token for authorization: bearer +//defaultApiClient.getAuthentication('bearer').accessToken = 'YOUR_ACCESS_TOKEN'; + +final api_instance = SectionMapApi(); +final guidedStepDTO = GuidedStepDTO(); // GuidedStepDTO | + +try { + final result = api_instance.sectionMapUpdateGuidedStep(guidedStepDTO); + print(result); +} catch (e) { + print('Exception when calling SectionMapApi->sectionMapUpdateGuidedStep: $e\n'); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **guidedStepDTO** | [**GuidedStepDTO**](GuidedStepDTO.md)| | + +### Return type + +[**GuidedStepDTO**](GuidedStepDTO.md) + +### Authorization + +[bearer](../README.md#bearer) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/manager_api_new/doc/SectionQuiz.md b/manager_api_new/doc/SectionQuiz.md index 0a9e9f6..ebfce43 100644 --- a/manager_api_new/doc/SectionQuiz.md +++ b/manager_api_new/doc/SectionQuiz.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes **latitude** | **String** | | [optional] **longitude** | **String** | | [optional] **meterZoneGPS** | **int** | | [optional] +**isActive** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/SliderDTO.md b/manager_api_new/doc/SliderDTO.md index 675c4b3..7caba75 100644 --- a/manager_api_new/doc/SliderDTO.md +++ b/manager_api_new/doc/SliderDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] diff --git a/manager_api_new/doc/TranslationAndResourceDTO.md b/manager_api_new/doc/TranslationAndResourceDTO.md index 7d6868c..9eab6f1 100644 --- a/manager_api_new/doc/TranslationAndResourceDTO.md +++ b/manager_api_new/doc/TranslationAndResourceDTO.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **language** | **String** | | [optional] **value** | **String** | | [optional] **resourceId** | **String** | | [optional] -**resource** | [**ContentDTOResource**](ContentDTOResource.md) | | [optional] +**resource** | [**EventAgendaDTOResource**](EventAgendaDTOResource.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/manager_api_new/doc/VideoDTO.md b/manager_api_new/doc/VideoDTO.md index 511ab32..f97f0c2 100644 --- a/manager_api_new/doc/VideoDTO.md +++ b/manager_api_new/doc/VideoDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] diff --git a/manager_api_new/doc/WeatherDTO.md b/manager_api_new/doc/WeatherDTO.md index b6d019f..edeffee 100644 --- a/manager_api_new/doc/WeatherDTO.md +++ b/manager_api_new/doc/WeatherDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] diff --git a/manager_api_new/doc/WebDTO.md b/manager_api_new/doc/WebDTO.md index 3e585b6..76a9ab9 100644 --- a/manager_api_new/doc/WebDTO.md +++ b/manager_api_new/doc/WebDTO.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **label** | **String** | | [optional] **title** | [**List**](TranslationDTO.md) | | [optional] [default to const []] **description** | [**List**](TranslationDTO.md) | | [optional] [default to const []] +**isActive** | **bool** | | [optional] **imageId** | **String** | | [optional] **imageSource** | **String** | | [optional] **configurationId** | **String** | | [optional] diff --git a/manager_api_new/lib/api.dart b/manager_api_new/lib/api.dart index 142059a..4979825 100644 --- a/manager_api_new/lib/api.dart +++ b/manager_api_new/lib/api.dart @@ -34,26 +34,68 @@ part 'api/device_api.dart'; part 'api/instance_api.dart'; part 'api/resource_api.dart'; part 'api/section_api.dart'; +part 'api/section_agenda_api.dart'; +part 'api/section_event_api.dart'; part 'api/section_map_api.dart'; part 'api/section_quiz_api.dart'; part 'api/user_api.dart'; part 'model/agenda_dto.dart'; part 'model/agenda_dto_all_of_agenda_map_provider.dart'; +part 'model/app_configuration_link.dart'; +part 'model/app_configuration_link_application_instance.dart'; +part 'model/app_configuration_link_configuration.dart'; +part 'model/app_configuration_link_dto.dart'; +part 'model/app_type.dart'; +part 'model/application_instance.dart'; +part 'model/application_instance_dto.dart'; +part 'model/application_instance_section_event.dart'; part 'model/article_dto.dart'; part 'model/categorie_dto.dart'; +part 'model/configuration.dart'; part 'model/configuration_dto.dart'; part 'model/content_dto.dart'; -part 'model/content_dto_resource.dart'; +part 'model/coordinate.dart'; +part 'model/coordinate_equality_comparer.dart'; +part 'model/coordinate_sequence.dart'; +part 'model/coordinate_sequence_factory.dart'; part 'model/device_dto.dart'; part 'model/device_detail_dto.dart'; +part 'model/dimension.dart'; +part 'model/envelope.dart'; +part 'model/event_address_dto.dart'; +part 'model/event_address_dto_geometry.dart'; +part 'model/event_agenda_dto.dart'; +part 'model/event_agenda_dto_address.dart'; +part 'model/event_agenda_dto_resource.dart'; part 'model/export_configuration_dto.dart'; part 'model/geo_point.dart'; part 'model/geo_point_dto.dart'; -part 'model/geo_point_section_map.dart'; +part 'model/geometry.dart'; +part 'model/geometry_centroid.dart'; +part 'model/geometry_dto.dart'; +part 'model/geometry_envelope_internal.dart'; +part 'model/geometry_factory.dart'; +part 'model/geometry_factory_coordinate_sequence_factory.dart'; +part 'model/geometry_factory_geometry_services.dart'; +part 'model/geometry_precision_model.dart'; +part 'model/geometry_type.dart'; +part 'model/guided_path.dart'; +part 'model/guided_path_dto.dart'; +part 'model/guided_path_section_map.dart'; +part 'model/guided_step.dart'; +part 'model/guided_step_dto.dart'; +part 'model/guided_step_dto_trigger_geo_point.dart'; +part 'model/guided_step_guided_path.dart'; +part 'model/guided_step_trigger_geo_point.dart'; part 'model/instance.dart'; part 'model/instance_dto.dart'; +part 'model/layout_main_page_type.dart'; part 'model/login_dto.dart'; +part 'model/map_annotation.dart'; +part 'model/map_annotation_dto.dart'; +part 'model/map_annotation_geometry.dart'; +part 'model/map_annotation_icon_resource.dart'; part 'model/map_dto.dart'; part 'model/map_dto_all_of_map_provider.dart'; part 'model/map_dto_all_of_map_type.dart'; @@ -62,25 +104,45 @@ part 'model/map_provider.dart'; part 'model/map_type_app.dart'; part 'model/map_type_map_box.dart'; part 'model/menu_dto.dart'; +part 'model/nts_geometry_services.dart'; +part 'model/nts_geometry_services_coordinate_equality_comparer.dart'; +part 'model/nts_geometry_services_geometry_overlay.dart'; +part 'model/ogc_geometry_type.dart'; part 'model/ordered_translation_and_resource_dto.dart'; +part 'model/ordinates.dart'; part 'model/pdf_dto.dart'; part 'model/player_message_dto.dart'; +part 'model/point.dart'; +part 'model/point_all_of_boundary.dart'; +part 'model/point_all_of_coordinate.dart'; +part 'model/point_all_of_coordinate_sequence.dart'; +part 'model/precision_model.dart'; +part 'model/precision_models.dart'; +part 'model/programme_block.dart'; +part 'model/programme_block_dto.dart'; part 'model/puzzle_dto.dart'; part 'model/puzzle_dto_all_of_puzzle_image.dart'; part 'model/question_dto.dart'; part 'model/question_dto_image_background_resource_type.dart'; +part 'model/question_type.dart'; part 'model/quiz_dto.dart'; +part 'model/quiz_question.dart'; +part 'model/quiz_question_guided_step.dart'; +part 'model/quiz_question_section_quiz.dart'; part 'model/resource.dart'; part 'model/resource_dto.dart'; part 'model/resource_type.dart'; part 'model/response_dto.dart'; part 'model/section.dart'; part 'model/section_dto.dart'; +part 'model/section_event.dart'; +part 'model/section_event_dto.dart'; part 'model/section_map.dart'; part 'model/section_map_all_of_map_map_provider.dart'; part 'model/section_map_all_of_map_map_type.dart'; part 'model/section_map_all_of_map_resource.dart'; part 'model/section_map_all_of_map_type_mapbox.dart'; +part 'model/section_quiz.dart'; part 'model/section_type.dart'; part 'model/slider_dto.dart'; part 'model/token_dto.dart'; diff --git a/manager_api_new/lib/api/instance_api.dart b/manager_api_new/lib/api/instance_api.dart index 45b2163..c3770a0 100644 --- a/manager_api_new/lib/api/instance_api.dart +++ b/manager_api_new/lib/api/instance_api.dart @@ -16,6 +16,492 @@ class InstanceApi { final ApiClient apiClient; + /// Performs an HTTP 'POST /api/ApplicationInstance/{applicationInstanceId}/application-link' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] applicationInstanceId (required): + /// + /// * [AppConfigurationLinkDTO] appConfigurationLinkDTO (required): + Future + applicationInstanceAddConfigurationToApplicationInstanceWithHttpInfo( + String applicationInstanceId, + AppConfigurationLinkDTO appConfigurationLinkDTO, + ) async { + // ignore: prefer_const_declarations + final path = + r'/api/ApplicationInstance/{applicationInstanceId}/application-link' + .replaceAll('{applicationInstanceId}', applicationInstanceId); + + // ignore: prefer_final_locals + Object? postBody = appConfigurationLinkDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'POST', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] applicationInstanceId (required): + /// + /// * [AppConfigurationLinkDTO] appConfigurationLinkDTO (required): + Future + applicationInstanceAddConfigurationToApplicationInstance( + String applicationInstanceId, + AppConfigurationLinkDTO appConfigurationLinkDTO, + ) async { + final response = + await applicationInstanceAddConfigurationToApplicationInstanceWithHttpInfo( + applicationInstanceId, + appConfigurationLinkDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'AppConfigurationLinkDTO', + ) as AppConfigurationLinkDTO; + } + return null; + } + + /// Performs an HTTP 'POST /api/ApplicationInstance' operation and returns the [Response]. + /// Parameters: + /// + /// * [ApplicationInstanceDTO] applicationInstanceDTO (required): + Future applicationInstanceCreateWithHttpInfo( + ApplicationInstanceDTO applicationInstanceDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/ApplicationInstance'; + + // ignore: prefer_final_locals + Object? postBody = applicationInstanceDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'POST', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [ApplicationInstanceDTO] applicationInstanceDTO (required): + Future applicationInstanceCreate( + ApplicationInstanceDTO applicationInstanceDTO, + ) async { + final response = await applicationInstanceCreateWithHttpInfo( + applicationInstanceDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'ApplicationInstanceDTO', + ) as ApplicationInstanceDTO; + } + return null; + } + + /// Performs an HTTP 'DELETE /api/ApplicationInstance/{id}' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] id (required): + Future applicationInstanceDeleteWithHttpInfo( + String id, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/ApplicationInstance/{id}'.replaceAll('{id}', id); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'DELETE', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] id (required): + Future applicationInstanceDelete( + String id, + ) async { + final response = await applicationInstanceDeleteWithHttpInfo( + id, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'String', + ) as String; + } + return null; + } + + /// Performs an HTTP 'DELETE /api/ApplicationInstance/{applicationInstanceId}/application-link/{appConfigurationLinkId}' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] applicationInstanceId (required): + /// + /// * [String] appConfigurationLinkId (required): + Future applicationInstanceDeleteAppConfigurationLinkWithHttpInfo( + String applicationInstanceId, + String appConfigurationLinkId, + ) async { + // ignore: prefer_const_declarations + final path = + r'/api/ApplicationInstance/{applicationInstanceId}/application-link/{appConfigurationLinkId}' + .replaceAll('{applicationInstanceId}', applicationInstanceId) + .replaceAll('{appConfigurationLinkId}', appConfigurationLinkId); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'DELETE', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] applicationInstanceId (required): + /// + /// * [String] appConfigurationLinkId (required): + Future applicationInstanceDeleteAppConfigurationLink( + String applicationInstanceId, + String appConfigurationLinkId, + ) async { + final response = + await applicationInstanceDeleteAppConfigurationLinkWithHttpInfo( + applicationInstanceId, + appConfigurationLinkId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'String', + ) as String; + } + return null; + } + + /// Performs an HTTP 'GET /api/ApplicationInstance' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] instanceId: + Future applicationInstanceGetWithHttpInfo({ + String? instanceId, + }) async { + // ignore: prefer_const_declarations + final path = r'/api/ApplicationInstance'; + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + if (instanceId != null) { + queryParams.addAll(_queryParams('', 'instanceId', instanceId)); + } + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'GET', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] instanceId: + Future?> applicationInstanceGet({ + String? instanceId, + }) async { + final response = await applicationInstanceGetWithHttpInfo( + instanceId: instanceId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + final responseBody = await _decodeBodyBytes(response); + return (await apiClient.deserializeAsync( + responseBody, 'List') as List) + .cast() + .toList(growable: false); + } + return null; + } + + /// Performs an HTTP 'GET /api/ApplicationInstance/{applicationInstanceId}/application-link' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] applicationInstanceId2 (required): + /// + /// * [String] applicationInstanceId: + Future + applicationInstanceGetAllApplicationLinkFromApplicationInstanceWithHttpInfo( + String applicationInstanceId2, { + String? applicationInstanceId, + }) async { + // ignore: prefer_const_declarations + final path = + r'/api/ApplicationInstance/{applicationInstanceId}/application-link' + .replaceAll('{applicationInstanceId}', applicationInstanceId2); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + if (applicationInstanceId != null) { + queryParams.addAll( + _queryParams('', 'applicationInstanceId', applicationInstanceId)); + } + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'GET', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] applicationInstanceId2 (required): + /// + /// * [String] applicationInstanceId: + Future?> + applicationInstanceGetAllApplicationLinkFromApplicationInstance( + String applicationInstanceId2, { + String? applicationInstanceId, + }) async { + final response = + await applicationInstanceGetAllApplicationLinkFromApplicationInstanceWithHttpInfo( + applicationInstanceId2, + applicationInstanceId: applicationInstanceId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + final responseBody = await _decodeBodyBytes(response); + return (await apiClient.deserializeAsync( + responseBody, 'List') as List) + .cast() + .toList(growable: false); + } + return null; + } + + /// Performs an HTTP 'PUT /api/ApplicationInstance' operation and returns the [Response]. + /// Parameters: + /// + /// * [ApplicationInstanceDTO] applicationInstanceDTO (required): + Future applicationInstanceUpdateWithHttpInfo( + ApplicationInstanceDTO applicationInstanceDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/ApplicationInstance'; + + // ignore: prefer_final_locals + Object? postBody = applicationInstanceDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'PUT', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [ApplicationInstanceDTO] applicationInstanceDTO (required): + Future applicationInstanceUpdate( + ApplicationInstanceDTO applicationInstanceDTO, + ) async { + final response = await applicationInstanceUpdateWithHttpInfo( + applicationInstanceDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'ApplicationInstanceDTO', + ) as ApplicationInstanceDTO; + } + return null; + } + + /// Performs an HTTP 'PUT /api/ApplicationInstance/application-link' operation and returns the [Response]. + /// Parameters: + /// + /// * [AppConfigurationLinkDTO] appConfigurationLinkDTO (required): + Future applicationInstanceUpdateApplicationLinkWithHttpInfo( + AppConfigurationLinkDTO appConfigurationLinkDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/ApplicationInstance/application-link'; + + // ignore: prefer_final_locals + Object? postBody = appConfigurationLinkDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'PUT', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [AppConfigurationLinkDTO] appConfigurationLinkDTO (required): + Future applicationInstanceUpdateApplicationLink( + AppConfigurationLinkDTO appConfigurationLinkDTO, + ) async { + final response = await applicationInstanceUpdateApplicationLinkWithHttpInfo( + appConfigurationLinkDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'AppConfigurationLinkDTO', + ) as AppConfigurationLinkDTO; + } + return null; + } + /// Performs an HTTP 'POST /api/Instance' operation and returns the [Response]. /// Parameters: /// diff --git a/manager_api_new/lib/api/section_agenda_api.dart b/manager_api_new/lib/api/section_agenda_api.dart new file mode 100644 index 0000000..69e8148 --- /dev/null +++ b/manager_api_new/lib/api/section_agenda_api.dart @@ -0,0 +1,250 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class SectionAgendaApi { + SectionAgendaApi([ApiClient? apiClient]) + : apiClient = apiClient ?? defaultApiClient; + + final ApiClient apiClient; + + /// Performs an HTTP 'POST /api/SectionAgenda/{sectionAgendaId}/event' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] sectionAgendaId (required): + /// + /// * [EventAgendaDTO] eventAgendaDTO (required): + Future sectionAgendaCreateEventAgendaWithHttpInfo( + String sectionAgendaId, + EventAgendaDTO eventAgendaDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionAgenda/{sectionAgendaId}/event' + .replaceAll('{sectionAgendaId}', sectionAgendaId); + + // ignore: prefer_final_locals + Object? postBody = eventAgendaDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'POST', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] sectionAgendaId (required): + /// + /// * [EventAgendaDTO] eventAgendaDTO (required): + Future sectionAgendaCreateEventAgenda( + String sectionAgendaId, + EventAgendaDTO eventAgendaDTO, + ) async { + final response = await sectionAgendaCreateEventAgendaWithHttpInfo( + sectionAgendaId, + eventAgendaDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'EventAgendaDTO', + ) as EventAgendaDTO; + } + return null; + } + + /// Performs an HTTP 'DELETE /api/SectionAgenda/event/{eventAgendaId}' operation and returns the [Response]. + /// Parameters: + /// + /// * [int] eventAgendaId (required): + Future sectionAgendaDeleteEventAgendaWithHttpInfo( + int eventAgendaId, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionAgenda/event/{eventAgendaId}' + .replaceAll('{eventAgendaId}', eventAgendaId.toString()); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'DELETE', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [int] eventAgendaId (required): + Future sectionAgendaDeleteEventAgenda( + int eventAgendaId, + ) async { + final response = await sectionAgendaDeleteEventAgendaWithHttpInfo( + eventAgendaId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'String', + ) as String; + } + return null; + } + + /// Performs an HTTP 'GET /api/SectionAgenda/{sectionAgendaId}/events' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] sectionAgendaId (required): + Future sectionAgendaGetAllEventAgendaFromSectionWithHttpInfo( + String sectionAgendaId, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionAgenda/{sectionAgendaId}/events' + .replaceAll('{sectionAgendaId}', sectionAgendaId); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'GET', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] sectionAgendaId (required): + Future?> sectionAgendaGetAllEventAgendaFromSection( + String sectionAgendaId, + ) async { + final response = + await sectionAgendaGetAllEventAgendaFromSectionWithHttpInfo( + sectionAgendaId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + final responseBody = await _decodeBodyBytes(response); + return (await apiClient.deserializeAsync( + responseBody, 'List') as List) + .cast() + .toList(growable: false); + } + return null; + } + + /// Performs an HTTP 'PUT /api/SectionAgenda/event' operation and returns the [Response]. + /// Parameters: + /// + /// * [EventAgendaDTO] eventAgendaDTO (required): + Future sectionAgendaUpdateEventAgendaWithHttpInfo( + EventAgendaDTO eventAgendaDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionAgenda/event'; + + // ignore: prefer_final_locals + Object? postBody = eventAgendaDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'PUT', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [EventAgendaDTO] eventAgendaDTO (required): + Future sectionAgendaUpdateEventAgenda( + EventAgendaDTO eventAgendaDTO, + ) async { + final response = await sectionAgendaUpdateEventAgendaWithHttpInfo( + eventAgendaDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'EventAgendaDTO', + ) as EventAgendaDTO; + } + return null; + } +} diff --git a/manager_api_new/lib/api/section_api.dart b/manager_api_new/lib/api/section_api.dart index 47e8877..a615121 100644 --- a/manager_api_new/lib/api/section_api.dart +++ b/manager_api_new/lib/api/section_api.dart @@ -613,6 +613,49 @@ class SectionApi { return null; } + /// Performs an HTTP 'GET /api/Section/GuidedPathDTO' operation and returns the [Response]. + Future sectionGetGuidedPathDTOWithHttpInfo() async { + // ignore: prefer_const_declarations + final path = r'/api/Section/GuidedPathDTO'; + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'GET', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + Future sectionGetGuidedPathDTO() async { + final response = await sectionGetGuidedPathDTOWithHttpInfo(); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'GuidedPathDTO', + ) as GuidedPathDTO; + } + return null; + } + /// Performs an HTTP 'GET /api/Section/MapDTO' operation and returns the [Response]. Future sectionGetMapDTOWithHttpInfo() async { // ignore: prefer_const_declarations @@ -828,6 +871,49 @@ class SectionApi { return null; } + /// Performs an HTTP 'GET /api/Section/SectionEventDTO' operation and returns the [Response]. + Future sectionGetSectionEventDTOWithHttpInfo() async { + // ignore: prefer_const_declarations + final path = r'/api/Section/SectionEventDTO'; + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'GET', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + Future sectionGetSectionEventDTO() async { + final response = await sectionGetSectionEventDTOWithHttpInfo(); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'SectionEventDTO', + ) as SectionEventDTO; + } + return null; + } + /// Performs an HTTP 'GET /api/Section/SliderDTO' operation and returns the [Response]. Future sectionGetSliderDTOWithHttpInfo() async { // ignore: prefer_const_declarations diff --git a/manager_api_new/lib/api/section_event_api.dart b/manager_api_new/lib/api/section_event_api.dart new file mode 100644 index 0000000..c0c2887 --- /dev/null +++ b/manager_api_new/lib/api/section_event_api.dart @@ -0,0 +1,484 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class SectionEventApi { + SectionEventApi([ApiClient? apiClient]) + : apiClient = apiClient ?? defaultApiClient; + + final ApiClient apiClient; + + /// Performs an HTTP 'POST /api/SectionEvent/{programmeBlockId}/map-annotations' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] programmeBlockId (required): + /// + /// * [MapAnnotationDTO] mapAnnotationDTO (required): + Future sectionEventCreateMapAnnotationWithHttpInfo( + String programmeBlockId, + MapAnnotationDTO mapAnnotationDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionEvent/{programmeBlockId}/map-annotations' + .replaceAll('{programmeBlockId}', programmeBlockId); + + // ignore: prefer_final_locals + Object? postBody = mapAnnotationDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'POST', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] programmeBlockId (required): + /// + /// * [MapAnnotationDTO] mapAnnotationDTO (required): + Future sectionEventCreateMapAnnotation( + String programmeBlockId, + MapAnnotationDTO mapAnnotationDTO, + ) async { + final response = await sectionEventCreateMapAnnotationWithHttpInfo( + programmeBlockId, + mapAnnotationDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'MapAnnotationDTO', + ) as MapAnnotationDTO; + } + return null; + } + + /// Performs an HTTP 'POST /api/SectionEvent/{sectionEventId}/programmes' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] sectionEventId (required): + /// + /// * [ProgrammeBlockDTO] programmeBlockDTO (required): + Future sectionEventCreateProgrammeBlockWithHttpInfo( + String sectionEventId, + ProgrammeBlockDTO programmeBlockDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionEvent/{sectionEventId}/programmes' + .replaceAll('{sectionEventId}', sectionEventId); + + // ignore: prefer_final_locals + Object? postBody = programmeBlockDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'POST', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] sectionEventId (required): + /// + /// * [ProgrammeBlockDTO] programmeBlockDTO (required): + Future sectionEventCreateProgrammeBlock( + String sectionEventId, + ProgrammeBlockDTO programmeBlockDTO, + ) async { + final response = await sectionEventCreateProgrammeBlockWithHttpInfo( + sectionEventId, + programmeBlockDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'ProgrammeBlockDTO', + ) as ProgrammeBlockDTO; + } + return null; + } + + /// Performs an HTTP 'DELETE /api/SectionEvent/map-annotations/{mapAnnotationId}' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] mapAnnotationId (required): + Future sectionEventDeleteMapAnnotationWithHttpInfo( + String mapAnnotationId, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionEvent/map-annotations/{mapAnnotationId}' + .replaceAll('{mapAnnotationId}', mapAnnotationId); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'DELETE', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] mapAnnotationId (required): + Future sectionEventDeleteMapAnnotation( + String mapAnnotationId, + ) async { + final response = await sectionEventDeleteMapAnnotationWithHttpInfo( + mapAnnotationId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'String', + ) as String; + } + return null; + } + + /// Performs an HTTP 'DELETE /api/SectionEvent/programmes/{programBlockId}' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] programBlockId (required): + Future sectionEventDeleteProgrammeBlockWithHttpInfo( + String programBlockId, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionEvent/programmes/{programBlockId}' + .replaceAll('{programBlockId}', programBlockId); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'DELETE', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] programBlockId (required): + Future sectionEventDeleteProgrammeBlock( + String programBlockId, + ) async { + final response = await sectionEventDeleteProgrammeBlockWithHttpInfo( + programBlockId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'String', + ) as String; + } + return null; + } + + /// Performs an HTTP 'GET /api/SectionEvent/{programBlockId}/map-annotations' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] programBlockId (required): + Future + sectionEventGetAllMapAnnotationsFromProgrammeBlockWithHttpInfo( + String programBlockId, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionEvent/{programBlockId}/map-annotations' + .replaceAll('{programBlockId}', programBlockId); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'GET', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] programBlockId (required): + Future?> + sectionEventGetAllMapAnnotationsFromProgrammeBlock( + String programBlockId, + ) async { + final response = + await sectionEventGetAllMapAnnotationsFromProgrammeBlockWithHttpInfo( + programBlockId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + final responseBody = await _decodeBodyBytes(response); + return (await apiClient.deserializeAsync( + responseBody, 'List') as List) + .cast() + .toList(growable: false); + } + return null; + } + + /// Performs an HTTP 'GET /api/SectionEvent/{sectionEventId}/programmes' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] sectionEventId (required): + Future sectionEventGetAllProgrammeBlockFromSectionWithHttpInfo( + String sectionEventId, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionEvent/{sectionEventId}/programmes' + .replaceAll('{sectionEventId}', sectionEventId); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'GET', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] sectionEventId (required): + Future?> sectionEventGetAllProgrammeBlockFromSection( + String sectionEventId, + ) async { + final response = + await sectionEventGetAllProgrammeBlockFromSectionWithHttpInfo( + sectionEventId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + final responseBody = await _decodeBodyBytes(response); + return (await apiClient.deserializeAsync( + responseBody, 'List') as List) + .cast() + .toList(growable: false); + } + return null; + } + + /// Performs an HTTP 'PUT /api/SectionEvent/map-annotations' operation and returns the [Response]. + /// Parameters: + /// + /// * [MapAnnotationDTO] mapAnnotationDTO (required): + Future sectionEventUpdateMapAnnotationWithHttpInfo( + MapAnnotationDTO mapAnnotationDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionEvent/map-annotations'; + + // ignore: prefer_final_locals + Object? postBody = mapAnnotationDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'PUT', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [MapAnnotationDTO] mapAnnotationDTO (required): + Future sectionEventUpdateMapAnnotation( + MapAnnotationDTO mapAnnotationDTO, + ) async { + final response = await sectionEventUpdateMapAnnotationWithHttpInfo( + mapAnnotationDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'MapAnnotationDTO', + ) as MapAnnotationDTO; + } + return null; + } + + /// Performs an HTTP 'PUT /api/SectionEvent/programmes' operation and returns the [Response]. + /// Parameters: + /// + /// * [ProgrammeBlockDTO] programmeBlockDTO (required): + Future sectionEventUpdateProgrammeBlockWithHttpInfo( + ProgrammeBlockDTO programmeBlockDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionEvent/programmes'; + + // ignore: prefer_final_locals + Object? postBody = programmeBlockDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'PUT', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [ProgrammeBlockDTO] programmeBlockDTO (required): + Future sectionEventUpdateProgrammeBlock( + ProgrammeBlockDTO programmeBlockDTO, + ) async { + final response = await sectionEventUpdateProgrammeBlockWithHttpInfo( + programmeBlockDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'ProgrammeBlockDTO', + ) as ProgrammeBlockDTO; + } + return null; + } +} diff --git a/manager_api_new/lib/api/section_map_api.dart b/manager_api_new/lib/api/section_map_api.dart index 2fd0f88..1c2e9c1 100644 --- a/manager_api_new/lib/api/section_map_api.dart +++ b/manager_api_new/lib/api/section_map_api.dart @@ -79,7 +79,133 @@ class SectionMapApi { return null; } - /// Performs an HTTP 'DELETE /api/SectionMap/points/delete/{geoPointId}' operation and returns the [Response]. + /// Performs an HTTP 'POST /api/SectionMap/{sectionMapId}/guided-path' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] sectionMapId (required): + /// + /// * [GuidedPathDTO] guidedPathDTO (required): + Future sectionMapCreateGuidedPathWithHttpInfo( + String sectionMapId, + GuidedPathDTO guidedPathDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionMap/{sectionMapId}/guided-path' + .replaceAll('{sectionMapId}', sectionMapId); + + // ignore: prefer_final_locals + Object? postBody = guidedPathDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'POST', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] sectionMapId (required): + /// + /// * [GuidedPathDTO] guidedPathDTO (required): + Future sectionMapCreateGuidedPath( + String sectionMapId, + GuidedPathDTO guidedPathDTO, + ) async { + final response = await sectionMapCreateGuidedPathWithHttpInfo( + sectionMapId, + guidedPathDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'GuidedPathDTO', + ) as GuidedPathDTO; + } + return null; + } + + /// Performs an HTTP 'POST /api/SectionMap/guided-path/{guidedPathId}/guided-step' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] guidedPathId (required): + /// + /// * [GuidedStepDTO] guidedStepDTO (required): + Future sectionMapCreateGuidedStepWithHttpInfo( + String guidedPathId, + GuidedStepDTO guidedStepDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionMap/guided-path/{guidedPathId}/guided-step' + .replaceAll('{guidedPathId}', guidedPathId); + + // ignore: prefer_final_locals + Object? postBody = guidedStepDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'POST', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] guidedPathId (required): + /// + /// * [GuidedStepDTO] guidedStepDTO (required): + Future sectionMapCreateGuidedStep( + String guidedPathId, + GuidedStepDTO guidedStepDTO, + ) async { + final response = await sectionMapCreateGuidedStepWithHttpInfo( + guidedPathId, + guidedStepDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'GuidedStepDTO', + ) as GuidedStepDTO; + } + return null; + } + + /// Performs an HTTP 'DELETE /api/SectionMap/points/{geoPointId}' operation and returns the [Response]. /// Parameters: /// /// * [int] geoPointId (required): @@ -87,7 +213,7 @@ class SectionMapApi { int geoPointId, ) async { // ignore: prefer_const_declarations - final path = r'/api/SectionMap/points/delete/{geoPointId}' + final path = r'/api/SectionMap/points/{geoPointId}' .replaceAll('{geoPointId}', geoPointId.toString()); // ignore: prefer_final_locals @@ -135,6 +261,118 @@ class SectionMapApi { return null; } + /// Performs an HTTP 'DELETE /api/SectionMap/guided-path/{guidedPathId}' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] guidedPathId (required): + Future sectionMapDeleteGuidedPathWithHttpInfo( + String guidedPathId, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionMap/guided-path/{guidedPathId}' + .replaceAll('{guidedPathId}', guidedPathId); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'DELETE', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] guidedPathId (required): + Future sectionMapDeleteGuidedPath( + String guidedPathId, + ) async { + final response = await sectionMapDeleteGuidedPathWithHttpInfo( + guidedPathId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'String', + ) as String; + } + return null; + } + + /// Performs an HTTP 'DELETE /api/SectionMap/guided-step/{guidedStepId}' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] guidedStepId (required): + Future sectionMapDeleteGuidedStepWithHttpInfo( + String guidedStepId, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionMap/guided-step/{guidedStepId}' + .replaceAll('{guidedStepId}', guidedStepId); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'DELETE', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] guidedStepId (required): + Future sectionMapDeleteGuidedStep( + String guidedStepId, + ) async { + final response = await sectionMapDeleteGuidedStepWithHttpInfo( + guidedStepId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'String', + ) as String; + } + return null; + } + /// Performs an HTTP 'GET /api/SectionMap/{sectionId}/points' operation and returns the [Response]. /// Parameters: /// @@ -192,6 +430,120 @@ class SectionMapApi { return null; } + /// Performs an HTTP 'GET /api/SectionMap/{sectionMapId}/guided-path' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] sectionMapId (required): + Future sectionMapGetAllGuidedPathFromSectionWithHttpInfo( + String sectionMapId, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionMap/{sectionMapId}/guided-path' + .replaceAll('{sectionMapId}', sectionMapId); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'GET', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] sectionMapId (required): + Future?> sectionMapGetAllGuidedPathFromSection( + String sectionMapId, + ) async { + final response = await sectionMapGetAllGuidedPathFromSectionWithHttpInfo( + sectionMapId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + final responseBody = await _decodeBodyBytes(response); + return (await apiClient.deserializeAsync( + responseBody, 'List') as List) + .cast() + .toList(growable: false); + } + return null; + } + + /// Performs an HTTP 'GET /api/SectionMap/guided-path/{guidedPathId}/guided-step' operation and returns the [Response]. + /// Parameters: + /// + /// * [String] guidedPathId (required): + Future sectionMapGetAllGuidedStepFromGuidedPathWithHttpInfo( + String guidedPathId, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionMap/guided-path/{guidedPathId}/guided-step' + .replaceAll('{guidedPathId}', guidedPathId); + + // ignore: prefer_final_locals + Object? postBody; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = []; + + return apiClient.invokeAPI( + path, + 'GET', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [String] guidedPathId (required): + Future?> sectionMapGetAllGuidedStepFromGuidedPath( + String guidedPathId, + ) async { + final response = await sectionMapGetAllGuidedStepFromGuidedPathWithHttpInfo( + guidedPathId, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + final responseBody = await _decodeBodyBytes(response); + return (await apiClient.deserializeAsync( + responseBody, 'List') as List) + .cast() + .toList(growable: false); + } + return null; + } + /// Performs an HTTP 'PUT /api/SectionMap' operation and returns the [Response]. /// Parameters: /// @@ -246,4 +598,114 @@ class SectionMapApi { } return null; } + + /// Performs an HTTP 'PUT /api/SectionMap/guided-path' operation and returns the [Response]. + /// Parameters: + /// + /// * [GuidedPathDTO] guidedPathDTO (required): + Future sectionMapUpdateGuidedPathWithHttpInfo( + GuidedPathDTO guidedPathDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionMap/guided-path'; + + // ignore: prefer_final_locals + Object? postBody = guidedPathDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'PUT', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [GuidedPathDTO] guidedPathDTO (required): + Future sectionMapUpdateGuidedPath( + GuidedPathDTO guidedPathDTO, + ) async { + final response = await sectionMapUpdateGuidedPathWithHttpInfo( + guidedPathDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'GuidedPathDTO', + ) as GuidedPathDTO; + } + return null; + } + + /// Performs an HTTP 'PUT /api/SectionMap/guided-step' operation and returns the [Response]. + /// Parameters: + /// + /// * [GuidedStepDTO] guidedStepDTO (required): + Future sectionMapUpdateGuidedStepWithHttpInfo( + GuidedStepDTO guidedStepDTO, + ) async { + // ignore: prefer_const_declarations + final path = r'/api/SectionMap/guided-step'; + + // ignore: prefer_final_locals + Object? postBody = guidedStepDTO; + + final queryParams = []; + final headerParams = {}; + final formParams = {}; + + const contentTypes = ['application/json']; + + return apiClient.invokeAPI( + path, + 'PUT', + queryParams, + postBody, + headerParams, + formParams, + contentTypes.isEmpty ? null : contentTypes.first, + ); + } + + /// Parameters: + /// + /// * [GuidedStepDTO] guidedStepDTO (required): + Future sectionMapUpdateGuidedStep( + GuidedStepDTO guidedStepDTO, + ) async { + final response = await sectionMapUpdateGuidedStepWithHttpInfo( + guidedStepDTO, + ); + if (response.statusCode >= HttpStatus.badRequest) { + throw ApiException(response.statusCode, await _decodeBodyBytes(response)); + } + // When a remote server returns no body with a status of 204, we shall not decode it. + // At the time of writing this, `dart:convert` will throw an "Unexpected end of input" + // FormatException when trying to decode an empty string. + if (response.body.isNotEmpty && + response.statusCode != HttpStatus.noContent) { + return await apiClient.deserializeAsync( + await _decodeBodyBytes(response), + 'GuidedStepDTO', + ) as GuidedStepDTO; + } + return null; + } } diff --git a/manager_api_new/lib/api_client.dart b/manager_api_new/lib/api_client.dart index a1dca31..cc7c734 100644 --- a/manager_api_new/lib/api_client.dart +++ b/manager_api_new/lib/api_client.dart @@ -233,34 +233,114 @@ class ApiClient { return AgendaDTO.fromJson(value); case 'AgendaDTOAllOfAgendaMapProvider': return AgendaDTOAllOfAgendaMapProvider.fromJson(value); + case 'AppConfigurationLink': + return AppConfigurationLink.fromJson(value); + case 'AppConfigurationLinkApplicationInstance': + return AppConfigurationLinkApplicationInstance.fromJson(value); + case 'AppConfigurationLinkConfiguration': + return AppConfigurationLinkConfiguration.fromJson(value); + case 'AppConfigurationLinkDTO': + return AppConfigurationLinkDTO.fromJson(value); + case 'AppType': + return AppTypeTypeTransformer().decode(value); + case 'ApplicationInstance': + return ApplicationInstance.fromJson(value); + case 'ApplicationInstanceDTO': + return ApplicationInstanceDTO.fromJson(value); + case 'ApplicationInstanceSectionEvent': + return ApplicationInstanceSectionEvent.fromJson(value); case 'ArticleDTO': return ArticleDTO.fromJson(value); case 'CategorieDTO': return CategorieDTO.fromJson(value); + case 'Configuration': + return Configuration.fromJson(value); case 'ConfigurationDTO': return ConfigurationDTO.fromJson(value); case 'ContentDTO': return ContentDTO.fromJson(value); - case 'ContentDTOResource': - return ContentDTOResource.fromJson(value); + case 'Coordinate': + return Coordinate.fromJson(value); + case 'CoordinateEqualityComparer': + return CoordinateEqualityComparer.fromJson(value); + case 'CoordinateSequence': + return CoordinateSequence.fromJson(value); + case 'CoordinateSequenceFactory': + return CoordinateSequenceFactory.fromJson(value); case 'DeviceDTO': return DeviceDTO.fromJson(value); case 'DeviceDetailDTO': return DeviceDetailDTO.fromJson(value); + case 'Dimension': + return DimensionTypeTransformer().decode(value); + case 'Envelope': + return Envelope.fromJson(value); + case 'EventAddressDTO': + return EventAddressDTO.fromJson(value); + case 'EventAddressDTOGeometry': + return EventAddressDTOGeometry.fromJson(value); + case 'EventAgendaDTO': + return EventAgendaDTO.fromJson(value); + case 'EventAgendaDTOAddress': + return EventAgendaDTOAddress.fromJson(value); + case 'EventAgendaDTOResource': + return EventAgendaDTOResource.fromJson(value); case 'ExportConfigurationDTO': return ExportConfigurationDTO.fromJson(value); case 'GeoPoint': return GeoPoint.fromJson(value); case 'GeoPointDTO': return GeoPointDTO.fromJson(value); - case 'GeoPointSectionMap': - return GeoPointSectionMap.fromJson(value); + case 'Geometry': + return Geometry.fromJson(value); + case 'GeometryCentroid': + return GeometryCentroid.fromJson(value); + case 'GeometryDTO': + return GeometryDTO.fromJson(value); + case 'GeometryEnvelopeInternal': + return GeometryEnvelopeInternal.fromJson(value); + case 'GeometryFactory': + return GeometryFactory.fromJson(value); + case 'GeometryFactoryCoordinateSequenceFactory': + return GeometryFactoryCoordinateSequenceFactory.fromJson(value); + case 'GeometryFactoryGeometryServices': + return GeometryFactoryGeometryServices.fromJson(value); + case 'GeometryPrecisionModel': + return GeometryPrecisionModel.fromJson(value); + case 'GeometryType': + return GeometryTypeTypeTransformer().decode(value); + case 'GuidedPath': + return GuidedPath.fromJson(value); + case 'GuidedPathDTO': + return GuidedPathDTO.fromJson(value); + case 'GuidedPathSectionMap': + return GuidedPathSectionMap.fromJson(value); + case 'GuidedStep': + return GuidedStep.fromJson(value); + case 'GuidedStepDTO': + return GuidedStepDTO.fromJson(value); + case 'GuidedStepDTOTriggerGeoPoint': + return GuidedStepDTOTriggerGeoPoint.fromJson(value); + case 'GuidedStepGuidedPath': + return GuidedStepGuidedPath.fromJson(value); + case 'GuidedStepTriggerGeoPoint': + return GuidedStepTriggerGeoPoint.fromJson(value); case 'Instance': return Instance.fromJson(value); case 'InstanceDTO': return InstanceDTO.fromJson(value); + case 'LayoutMainPageType': + return LayoutMainPageTypeTypeTransformer().decode(value); case 'LoginDTO': return LoginDTO.fromJson(value); + case 'MapAnnotation': + return MapAnnotation.fromJson(value); + case 'MapAnnotationDTO': + return MapAnnotationDTO.fromJson(value); + case 'MapAnnotationGeometry': + return MapAnnotationGeometry.fromJson(value); + case 'MapAnnotationIconResource': + return MapAnnotationIconResource.fromJson(value); case 'MapDTO': return MapDTO.fromJson(value); case 'MapDTOAllOfMapProvider': @@ -277,12 +357,38 @@ class ApiClient { return MapTypeMapBoxTypeTransformer().decode(value); case 'MenuDTO': return MenuDTO.fromJson(value); + case 'NtsGeometryServices': + return NtsGeometryServices.fromJson(value); + case 'NtsGeometryServicesCoordinateEqualityComparer': + return NtsGeometryServicesCoordinateEqualityComparer.fromJson(value); + case 'NtsGeometryServicesGeometryOverlay': + return NtsGeometryServicesGeometryOverlay.fromJson(value); + case 'OgcGeometryType': + return OgcGeometryTypeTypeTransformer().decode(value); case 'OrderedTranslationAndResourceDTO': return OrderedTranslationAndResourceDTO.fromJson(value); + case 'Ordinates': + return OrdinatesTypeTransformer().decode(value); case 'PdfDTO': return PdfDTO.fromJson(value); case 'PlayerMessageDTO': return PlayerMessageDTO.fromJson(value); + case 'Point': + return Point.fromJson(value); + case 'PointAllOfBoundary': + return PointAllOfBoundary.fromJson(value); + case 'PointAllOfCoordinate': + return PointAllOfCoordinate.fromJson(value); + case 'PointAllOfCoordinateSequence': + return PointAllOfCoordinateSequence.fromJson(value); + case 'PrecisionModel': + return PrecisionModel.fromJson(value); + case 'PrecisionModels': + return PrecisionModelsTypeTransformer().decode(value); + case 'ProgrammeBlock': + return ProgrammeBlock.fromJson(value); + case 'ProgrammeBlockDTO': + return ProgrammeBlockDTO.fromJson(value); case 'PuzzleDTO': return PuzzleDTO.fromJson(value); case 'PuzzleDTOAllOfPuzzleImage': @@ -291,8 +397,16 @@ class ApiClient { return QuestionDTO.fromJson(value); case 'QuestionDTOImageBackgroundResourceType': return QuestionDTOImageBackgroundResourceType.fromJson(value); + case 'QuestionType': + return QuestionTypeTypeTransformer().decode(value); case 'QuizDTO': return QuizDTO.fromJson(value); + case 'QuizQuestion': + return QuizQuestion.fromJson(value); + case 'QuizQuestionGuidedStep': + return QuizQuestionGuidedStep.fromJson(value); + case 'QuizQuestionSectionQuiz': + return QuizQuestionSectionQuiz.fromJson(value); case 'Resource': return Resource.fromJson(value); case 'ResourceDTO': @@ -305,6 +419,10 @@ class ApiClient { return Section.fromJson(value); case 'SectionDTO': return SectionDTO.fromJson(value); + case 'SectionEvent': + return SectionEvent.fromJson(value); + case 'SectionEventDTO': + return SectionEventDTO.fromJson(value); case 'SectionMap': return SectionMap.fromJson(value); case 'SectionMapAllOfMapMapProvider': @@ -315,6 +433,8 @@ class ApiClient { return SectionMapAllOfMapResource.fromJson(value); case 'SectionMapAllOfMapTypeMapbox': return SectionMapAllOfMapTypeMapbox.fromJson(value); + case 'SectionQuiz': + return SectionQuiz.fromJson(value); case 'SectionType': return SectionTypeTypeTransformer().decode(value); case 'SliderDTO': diff --git a/manager_api_new/lib/api_helper.dart b/manager_api_new/lib/api_helper.dart index 5a0d454..a9ff625 100644 --- a/manager_api_new/lib/api_helper.dart +++ b/manager_api_new/lib/api_helper.dart @@ -65,6 +65,18 @@ String parameterToString(dynamic value) { if (value is DateTime) { return value.toUtc().toIso8601String(); } + if (value is AppType) { + return AppTypeTypeTransformer().encode(value).toString(); + } + if (value is Dimension) { + return DimensionTypeTransformer().encode(value).toString(); + } + if (value is GeometryType) { + return GeometryTypeTypeTransformer().encode(value).toString(); + } + if (value is LayoutMainPageType) { + return LayoutMainPageTypeTypeTransformer().encode(value).toString(); + } if (value is MapProvider) { return MapProviderTypeTransformer().encode(value).toString(); } @@ -74,6 +86,18 @@ String parameterToString(dynamic value) { if (value is MapTypeMapBox) { return MapTypeMapBoxTypeTransformer().encode(value).toString(); } + if (value is OgcGeometryType) { + return OgcGeometryTypeTypeTransformer().encode(value).toString(); + } + if (value is Ordinates) { + return OrdinatesTypeTransformer().encode(value).toString(); + } + if (value is PrecisionModels) { + return PrecisionModelsTypeTransformer().encode(value).toString(); + } + if (value is QuestionType) { + return QuestionTypeTypeTransformer().encode(value).toString(); + } if (value is ResourceType) { return ResourceTypeTypeTransformer().encode(value).toString(); } diff --git a/manager_api_new/lib/model/agenda_dto.dart b/manager_api_new/lib/model/agenda_dto.dart index c59c63d..cee79c5 100644 --- a/manager_api_new/lib/model/agenda_dto.dart +++ b/manager_api_new/lib/model/agenda_dto.dart @@ -17,6 +17,7 @@ class AgendaDTO { this.label, this.title = const [], this.description = const [], + this.isActive, this.imageId, this.imageSource, this.configurationId, @@ -33,6 +34,7 @@ class AgendaDTO { this.beaconId, this.resourceIds = const [], this.agendaMapProvider, + this.events = const [], }); String? id; @@ -43,6 +45,14 @@ class AgendaDTO { List? description; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + String? imageId; String? imageSource; @@ -67,12 +77,6 @@ class AgendaDTO { /// SectionType? type; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// DateTime? dateCreation; int? order; @@ -99,6 +103,8 @@ class AgendaDTO { MapProvider? agendaMapProvider; + List? events; + @override bool operator ==(Object other) => identical(this, other) || @@ -107,6 +113,7 @@ class AgendaDTO { other.label == label && _deepEquality.equals(other.title, title) && _deepEquality.equals(other.description, description) && + other.isActive == isActive && other.imageId == imageId && other.imageSource == imageSource && other.configurationId == configurationId && @@ -122,7 +129,8 @@ class AgendaDTO { other.isBeacon == isBeacon && other.beaconId == beaconId && _deepEquality.equals(other.resourceIds, resourceIds) && - other.agendaMapProvider == agendaMapProvider; + other.agendaMapProvider == agendaMapProvider && + _deepEquality.equals(other.events, events); @override int get hashCode => @@ -131,6 +139,7 @@ class AgendaDTO { (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (description == null ? 0 : description!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + (imageSource == null ? 0 : imageSource!.hashCode) + (configurationId == null ? 0 : configurationId!.hashCode) + @@ -146,11 +155,12 @@ class AgendaDTO { (isBeacon == null ? 0 : isBeacon!.hashCode) + (beaconId == null ? 0 : beaconId!.hashCode) + (resourceIds == null ? 0 : resourceIds!.hashCode) + - (agendaMapProvider == null ? 0 : agendaMapProvider!.hashCode); + (agendaMapProvider == null ? 0 : agendaMapProvider!.hashCode) + + (events == null ? 0 : events!.hashCode); @override String toString() => - 'AgendaDTO[id=$id, label=$label, title=$title, description=$description, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, resourceIds=$resourceIds, agendaMapProvider=$agendaMapProvider]'; + 'AgendaDTO[id=$id, label=$label, title=$title, description=$description, isActive=$isActive, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, resourceIds=$resourceIds, agendaMapProvider=$agendaMapProvider, events=$events]'; Map toJson() { final json = {}; @@ -174,6 +184,11 @@ class AgendaDTO { } else { json[r'description'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.imageId != null) { json[r'imageId'] = this.imageId; } else { @@ -254,6 +269,11 @@ class AgendaDTO { } else { json[r'agendaMapProvider'] = null; } + if (this.events != null) { + json[r'events'] = this.events; + } else { + json[r'events'] = null; + } return json; } @@ -282,6 +302,7 @@ class AgendaDTO { label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), description: TranslationDTO.listFromJson(json[r'description']), + isActive: mapValueOfType(json, r'isActive'), imageId: mapValueOfType(json, r'imageId'), imageSource: mapValueOfType(json, r'imageSource'), configurationId: mapValueOfType(json, r'configurationId'), @@ -298,6 +319,7 @@ class AgendaDTO { beaconId: mapValueOfType(json, r'beaconId'), resourceIds: TranslationDTO.listFromJson(json[r'resourceIds']), agendaMapProvider: MapProvider.fromJson(json[r'agendaMapProvider']), + events: EventAgendaDTO.listFromJson(json[r'events']), ); } return null; diff --git a/manager_api_new/lib/model/app_configuration_link.dart b/manager_api_new/lib/model/app_configuration_link.dart new file mode 100644 index 0000000..7461769 --- /dev/null +++ b/manager_api_new/lib/model/app_configuration_link.dart @@ -0,0 +1,205 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class AppConfigurationLink { + /// Returns a new [AppConfigurationLink] instance. + AppConfigurationLink({ + required this.configurationId, + required this.applicationInstanceId, + this.id, + this.order, + this.isActive, + this.weightMasonryGrid, + this.configuration, + this.applicationInstance, + }); + + String configurationId; + + String applicationInstanceId; + + String? id; + + int? order; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + + int? weightMasonryGrid; + + AppConfigurationLinkConfiguration? configuration; + + AppConfigurationLinkApplicationInstance? applicationInstance; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is AppConfigurationLink && + other.configurationId == configurationId && + other.applicationInstanceId == applicationInstanceId && + other.id == id && + other.order == order && + other.isActive == isActive && + other.weightMasonryGrid == weightMasonryGrid && + other.configuration == configuration && + other.applicationInstance == applicationInstance; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (configurationId.hashCode) + + (applicationInstanceId.hashCode) + + (id == null ? 0 : id!.hashCode) + + (order == null ? 0 : order!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + + (weightMasonryGrid == null ? 0 : weightMasonryGrid!.hashCode) + + (configuration == null ? 0 : configuration!.hashCode) + + (applicationInstance == null ? 0 : applicationInstance!.hashCode); + + @override + String toString() => + 'AppConfigurationLink[configurationId=$configurationId, applicationInstanceId=$applicationInstanceId, id=$id, order=$order, isActive=$isActive, weightMasonryGrid=$weightMasonryGrid, configuration=$configuration, applicationInstance=$applicationInstance]'; + + Map toJson() { + final json = {}; + json[r'configurationId'] = this.configurationId; + json[r'applicationInstanceId'] = this.applicationInstanceId; + if (this.id != null) { + json[r'id'] = this.id; + } else { + json[r'id'] = null; + } + if (this.order != null) { + json[r'order'] = this.order; + } else { + json[r'order'] = null; + } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } + if (this.weightMasonryGrid != null) { + json[r'weightMasonryGrid'] = this.weightMasonryGrid; + } else { + json[r'weightMasonryGrid'] = null; + } + if (this.configuration != null) { + json[r'configuration'] = this.configuration; + } else { + json[r'configuration'] = null; + } + if (this.applicationInstance != null) { + json[r'applicationInstance'] = this.applicationInstance; + } else { + json[r'applicationInstance'] = null; + } + return json; + } + + /// Returns a new [AppConfigurationLink] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static AppConfigurationLink? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "AppConfigurationLink[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "AppConfigurationLink[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return AppConfigurationLink( + configurationId: mapValueOfType(json, r'configurationId')!, + applicationInstanceId: + mapValueOfType(json, r'applicationInstanceId')!, + id: mapValueOfType(json, r'id'), + order: mapValueOfType(json, r'order'), + isActive: mapValueOfType(json, r'isActive'), + weightMasonryGrid: mapValueOfType(json, r'weightMasonryGrid'), + configuration: + AppConfigurationLinkConfiguration.fromJson(json[r'configuration']), + applicationInstance: AppConfigurationLinkApplicationInstance.fromJson( + json[r'applicationInstance']), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = AppConfigurationLink.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = AppConfigurationLink.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of AppConfigurationLink-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = AppConfigurationLink.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = { + 'configurationId', + 'applicationInstanceId', + }; +} diff --git a/manager_api_new/lib/model/app_configuration_link_application_instance.dart b/manager_api_new/lib/model/app_configuration_link_application_instance.dart new file mode 100644 index 0000000..09570c1 --- /dev/null +++ b/manager_api_new/lib/model/app_configuration_link_application_instance.dart @@ -0,0 +1,358 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class AppConfigurationLinkApplicationInstance { + /// Returns a new [AppConfigurationLinkApplicationInstance] instance. + AppConfigurationLinkApplicationInstance({ + required this.instanceId, + required this.appType, + this.id, + this.configurations = const [], + this.mainImageId, + this.mainImageUrl, + this.loaderImageId, + this.loaderImageUrl, + this.isDate, + this.isHour, + this.primaryColor, + this.secondaryColor, + this.roundedValue, + this.screenPercentageSectionsMainPage, + this.isSectionImageBackground, + this.layoutMainPage, + this.languages = const [], + this.sectionEventId, + this.sectionEvent, + }); + + String instanceId; + + AppType appType; + + String? id; + + List? configurations; + + String? mainImageId; + + String? mainImageUrl; + + String? loaderImageId; + + String? loaderImageUrl; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isDate; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isHour; + + String? primaryColor; + + String? secondaryColor; + + int? roundedValue; + + int? screenPercentageSectionsMainPage; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isSectionImageBackground; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + LayoutMainPageType? layoutMainPage; + + List? languages; + + String? sectionEventId; + + ApplicationInstanceSectionEvent? sectionEvent; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is AppConfigurationLinkApplicationInstance && + other.instanceId == instanceId && + other.appType == appType && + other.id == id && + _deepEquality.equals(other.configurations, configurations) && + other.mainImageId == mainImageId && + other.mainImageUrl == mainImageUrl && + other.loaderImageId == loaderImageId && + other.loaderImageUrl == loaderImageUrl && + other.isDate == isDate && + other.isHour == isHour && + other.primaryColor == primaryColor && + other.secondaryColor == secondaryColor && + other.roundedValue == roundedValue && + other.screenPercentageSectionsMainPage == + screenPercentageSectionsMainPage && + other.isSectionImageBackground == isSectionImageBackground && + other.layoutMainPage == layoutMainPage && + _deepEquality.equals(other.languages, languages) && + other.sectionEventId == sectionEventId && + other.sectionEvent == sectionEvent; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (instanceId.hashCode) + + (appType.hashCode) + + (id == null ? 0 : id!.hashCode) + + (configurations == null ? 0 : configurations!.hashCode) + + (mainImageId == null ? 0 : mainImageId!.hashCode) + + (mainImageUrl == null ? 0 : mainImageUrl!.hashCode) + + (loaderImageId == null ? 0 : loaderImageId!.hashCode) + + (loaderImageUrl == null ? 0 : loaderImageUrl!.hashCode) + + (isDate == null ? 0 : isDate!.hashCode) + + (isHour == null ? 0 : isHour!.hashCode) + + (primaryColor == null ? 0 : primaryColor!.hashCode) + + (secondaryColor == null ? 0 : secondaryColor!.hashCode) + + (roundedValue == null ? 0 : roundedValue!.hashCode) + + (screenPercentageSectionsMainPage == null + ? 0 + : screenPercentageSectionsMainPage!.hashCode) + + (isSectionImageBackground == null + ? 0 + : isSectionImageBackground!.hashCode) + + (layoutMainPage == null ? 0 : layoutMainPage!.hashCode) + + (languages == null ? 0 : languages!.hashCode) + + (sectionEventId == null ? 0 : sectionEventId!.hashCode) + + (sectionEvent == null ? 0 : sectionEvent!.hashCode); + + @override + String toString() => + 'AppConfigurationLinkApplicationInstance[instanceId=$instanceId, appType=$appType, id=$id, configurations=$configurations, mainImageId=$mainImageId, mainImageUrl=$mainImageUrl, loaderImageId=$loaderImageId, loaderImageUrl=$loaderImageUrl, isDate=$isDate, isHour=$isHour, primaryColor=$primaryColor, secondaryColor=$secondaryColor, roundedValue=$roundedValue, screenPercentageSectionsMainPage=$screenPercentageSectionsMainPage, isSectionImageBackground=$isSectionImageBackground, layoutMainPage=$layoutMainPage, languages=$languages, sectionEventId=$sectionEventId, sectionEvent=$sectionEvent]'; + + Map toJson() { + final json = {}; + json[r'instanceId'] = this.instanceId; + json[r'appType'] = this.appType; + if (this.id != null) { + json[r'id'] = this.id; + } else { + json[r'id'] = null; + } + if (this.configurations != null) { + json[r'configurations'] = this.configurations; + } else { + json[r'configurations'] = null; + } + if (this.mainImageId != null) { + json[r'mainImageId'] = this.mainImageId; + } else { + json[r'mainImageId'] = null; + } + if (this.mainImageUrl != null) { + json[r'mainImageUrl'] = this.mainImageUrl; + } else { + json[r'mainImageUrl'] = null; + } + if (this.loaderImageId != null) { + json[r'loaderImageId'] = this.loaderImageId; + } else { + json[r'loaderImageId'] = null; + } + if (this.loaderImageUrl != null) { + json[r'loaderImageUrl'] = this.loaderImageUrl; + } else { + json[r'loaderImageUrl'] = null; + } + if (this.isDate != null) { + json[r'isDate'] = this.isDate; + } else { + json[r'isDate'] = null; + } + if (this.isHour != null) { + json[r'isHour'] = this.isHour; + } else { + json[r'isHour'] = null; + } + if (this.primaryColor != null) { + json[r'primaryColor'] = this.primaryColor; + } else { + json[r'primaryColor'] = null; + } + if (this.secondaryColor != null) { + json[r'secondaryColor'] = this.secondaryColor; + } else { + json[r'secondaryColor'] = null; + } + if (this.roundedValue != null) { + json[r'roundedValue'] = this.roundedValue; + } else { + json[r'roundedValue'] = null; + } + if (this.screenPercentageSectionsMainPage != null) { + json[r'screenPercentageSectionsMainPage'] = + this.screenPercentageSectionsMainPage; + } else { + json[r'screenPercentageSectionsMainPage'] = null; + } + if (this.isSectionImageBackground != null) { + json[r'isSectionImageBackground'] = this.isSectionImageBackground; + } else { + json[r'isSectionImageBackground'] = null; + } + if (this.layoutMainPage != null) { + json[r'layoutMainPage'] = this.layoutMainPage; + } else { + json[r'layoutMainPage'] = null; + } + if (this.languages != null) { + json[r'languages'] = this.languages; + } else { + json[r'languages'] = null; + } + if (this.sectionEventId != null) { + json[r'sectionEventId'] = this.sectionEventId; + } else { + json[r'sectionEventId'] = null; + } + if (this.sectionEvent != null) { + json[r'sectionEvent'] = this.sectionEvent; + } else { + json[r'sectionEvent'] = null; + } + return json; + } + + /// Returns a new [AppConfigurationLinkApplicationInstance] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static AppConfigurationLinkApplicationInstance? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "AppConfigurationLinkApplicationInstance[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "AppConfigurationLinkApplicationInstance[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return AppConfigurationLinkApplicationInstance( + instanceId: mapValueOfType(json, r'instanceId')!, + appType: AppType.fromJson(json[r'appType'])!, + id: mapValueOfType(json, r'id'), + configurations: + AppConfigurationLink.listFromJson(json[r'configurations']), + mainImageId: mapValueOfType(json, r'mainImageId'), + mainImageUrl: mapValueOfType(json, r'mainImageUrl'), + loaderImageId: mapValueOfType(json, r'loaderImageId'), + loaderImageUrl: mapValueOfType(json, r'loaderImageUrl'), + isDate: mapValueOfType(json, r'isDate'), + isHour: mapValueOfType(json, r'isHour'), + primaryColor: mapValueOfType(json, r'primaryColor'), + secondaryColor: mapValueOfType(json, r'secondaryColor'), + roundedValue: mapValueOfType(json, r'roundedValue'), + screenPercentageSectionsMainPage: + mapValueOfType(json, r'screenPercentageSectionsMainPage'), + isSectionImageBackground: + mapValueOfType(json, r'isSectionImageBackground'), + layoutMainPage: LayoutMainPageType.fromJson(json[r'layoutMainPage']), + languages: json[r'languages'] is Iterable + ? (json[r'languages'] as Iterable) + .cast() + .toList(growable: false) + : const [], + sectionEventId: mapValueOfType(json, r'sectionEventId'), + sectionEvent: + ApplicationInstanceSectionEvent.fromJson(json[r'sectionEvent']), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = AppConfigurationLinkApplicationInstance.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson( + dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = + AppConfigurationLinkApplicationInstance.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of AppConfigurationLinkApplicationInstance-objects as value to a dart map + static Map> + mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = AppConfigurationLinkApplicationInstance.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = { + 'instanceId', + 'appType', + }; +} diff --git a/manager_api_new/lib/model/app_configuration_link_configuration.dart b/manager_api_new/lib/model/app_configuration_link_configuration.dart new file mode 100644 index 0000000..1988453 --- /dev/null +++ b/manager_api_new/lib/model/app_configuration_link_configuration.dart @@ -0,0 +1,313 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class AppConfigurationLinkConfiguration { + /// Returns a new [AppConfigurationLinkConfiguration] instance. + AppConfigurationLinkConfiguration({ + required this.id, + required this.instanceId, + required this.label, + this.title = const [], + this.imageId, + this.imageSource, + this.primaryColor, + this.secondaryColor, + this.languages = const [], + this.dateCreation, + this.isOffline, + this.loaderImageId, + this.loaderImageUrl, + this.isQRCode, + this.isSearchText, + this.isSearchNumber, + }); + + String id; + + String instanceId; + + String label; + + List title; + + String? imageId; + + String? imageSource; + + String? primaryColor; + + String? secondaryColor; + + List? languages; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + DateTime? dateCreation; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isOffline; + + String? loaderImageId; + + String? loaderImageUrl; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isQRCode; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isSearchText; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isSearchNumber; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is AppConfigurationLinkConfiguration && + other.id == id && + other.instanceId == instanceId && + other.label == label && + _deepEquality.equals(other.title, title) && + other.imageId == imageId && + other.imageSource == imageSource && + other.primaryColor == primaryColor && + other.secondaryColor == secondaryColor && + _deepEquality.equals(other.languages, languages) && + other.dateCreation == dateCreation && + other.isOffline == isOffline && + other.loaderImageId == loaderImageId && + other.loaderImageUrl == loaderImageUrl && + other.isQRCode == isQRCode && + other.isSearchText == isSearchText && + other.isSearchNumber == isSearchNumber; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (id.hashCode) + + (instanceId.hashCode) + + (label.hashCode) + + (title.hashCode) + + (imageId == null ? 0 : imageId!.hashCode) + + (imageSource == null ? 0 : imageSource!.hashCode) + + (primaryColor == null ? 0 : primaryColor!.hashCode) + + (secondaryColor == null ? 0 : secondaryColor!.hashCode) + + (languages == null ? 0 : languages!.hashCode) + + (dateCreation == null ? 0 : dateCreation!.hashCode) + + (isOffline == null ? 0 : isOffline!.hashCode) + + (loaderImageId == null ? 0 : loaderImageId!.hashCode) + + (loaderImageUrl == null ? 0 : loaderImageUrl!.hashCode) + + (isQRCode == null ? 0 : isQRCode!.hashCode) + + (isSearchText == null ? 0 : isSearchText!.hashCode) + + (isSearchNumber == null ? 0 : isSearchNumber!.hashCode); + + @override + String toString() => + 'AppConfigurationLinkConfiguration[id=$id, instanceId=$instanceId, label=$label, title=$title, imageId=$imageId, imageSource=$imageSource, primaryColor=$primaryColor, secondaryColor=$secondaryColor, languages=$languages, dateCreation=$dateCreation, isOffline=$isOffline, loaderImageId=$loaderImageId, loaderImageUrl=$loaderImageUrl, isQRCode=$isQRCode, isSearchText=$isSearchText, isSearchNumber=$isSearchNumber]'; + + Map toJson() { + final json = {}; + json[r'id'] = this.id; + json[r'instanceId'] = this.instanceId; + json[r'label'] = this.label; + json[r'title'] = this.title; + if (this.imageId != null) { + json[r'imageId'] = this.imageId; + } else { + json[r'imageId'] = null; + } + if (this.imageSource != null) { + json[r'imageSource'] = this.imageSource; + } else { + json[r'imageSource'] = null; + } + if (this.primaryColor != null) { + json[r'primaryColor'] = this.primaryColor; + } else { + json[r'primaryColor'] = null; + } + if (this.secondaryColor != null) { + json[r'secondaryColor'] = this.secondaryColor; + } else { + json[r'secondaryColor'] = null; + } + if (this.languages != null) { + json[r'languages'] = this.languages; + } else { + json[r'languages'] = null; + } + if (this.dateCreation != null) { + json[r'dateCreation'] = this.dateCreation!.toUtc().toIso8601String(); + } else { + json[r'dateCreation'] = null; + } + if (this.isOffline != null) { + json[r'isOffline'] = this.isOffline; + } else { + json[r'isOffline'] = null; + } + if (this.loaderImageId != null) { + json[r'loaderImageId'] = this.loaderImageId; + } else { + json[r'loaderImageId'] = null; + } + if (this.loaderImageUrl != null) { + json[r'loaderImageUrl'] = this.loaderImageUrl; + } else { + json[r'loaderImageUrl'] = null; + } + if (this.isQRCode != null) { + json[r'isQRCode'] = this.isQRCode; + } else { + json[r'isQRCode'] = null; + } + if (this.isSearchText != null) { + json[r'isSearchText'] = this.isSearchText; + } else { + json[r'isSearchText'] = null; + } + if (this.isSearchNumber != null) { + json[r'isSearchNumber'] = this.isSearchNumber; + } else { + json[r'isSearchNumber'] = null; + } + return json; + } + + /// Returns a new [AppConfigurationLinkConfiguration] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static AppConfigurationLinkConfiguration? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "AppConfigurationLinkConfiguration[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "AppConfigurationLinkConfiguration[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return AppConfigurationLinkConfiguration( + id: mapValueOfType(json, r'id')!, + instanceId: mapValueOfType(json, r'instanceId')!, + label: mapValueOfType(json, r'label')!, + title: TranslationDTO.listFromJson(json[r'title']), + imageId: mapValueOfType(json, r'imageId'), + imageSource: mapValueOfType(json, r'imageSource'), + primaryColor: mapValueOfType(json, r'primaryColor'), + secondaryColor: mapValueOfType(json, r'secondaryColor'), + languages: json[r'languages'] is Iterable + ? (json[r'languages'] as Iterable) + .cast() + .toList(growable: false) + : const [], + dateCreation: mapDateTime(json, r'dateCreation', r''), + isOffline: mapValueOfType(json, r'isOffline'), + loaderImageId: mapValueOfType(json, r'loaderImageId'), + loaderImageUrl: mapValueOfType(json, r'loaderImageUrl'), + isQRCode: mapValueOfType(json, r'isQRCode'), + isSearchText: mapValueOfType(json, r'isSearchText'), + isSearchNumber: mapValueOfType(json, r'isSearchNumber'), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = AppConfigurationLinkConfiguration.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson( + dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = AppConfigurationLinkConfiguration.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of AppConfigurationLinkConfiguration-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = AppConfigurationLinkConfiguration.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = { + 'id', + 'instanceId', + 'label', + 'title', + }; +} diff --git a/manager_api_new/lib/model/app_configuration_link_dto.dart b/manager_api_new/lib/model/app_configuration_link_dto.dart new file mode 100644 index 0000000..c9aec9c --- /dev/null +++ b/manager_api_new/lib/model/app_configuration_link_dto.dart @@ -0,0 +1,186 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class AppConfigurationLinkDTO { + /// Returns a new [AppConfigurationLinkDTO] instance. + AppConfigurationLinkDTO({ + this.id, + this.configurationId, + this.applicationInstanceId, + this.order, + this.isActive, + this.weightMasonryGrid, + }); + + String? id; + + String? configurationId; + + String? applicationInstanceId; + + int? order; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + + int? weightMasonryGrid; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is AppConfigurationLinkDTO && + other.id == id && + other.configurationId == configurationId && + other.applicationInstanceId == applicationInstanceId && + other.order == order && + other.isActive == isActive && + other.weightMasonryGrid == weightMasonryGrid; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (id == null ? 0 : id!.hashCode) + + (configurationId == null ? 0 : configurationId!.hashCode) + + (applicationInstanceId == null ? 0 : applicationInstanceId!.hashCode) + + (order == null ? 0 : order!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + + (weightMasonryGrid == null ? 0 : weightMasonryGrid!.hashCode); + + @override + String toString() => + 'AppConfigurationLinkDTO[id=$id, configurationId=$configurationId, applicationInstanceId=$applicationInstanceId, order=$order, isActive=$isActive, weightMasonryGrid=$weightMasonryGrid]'; + + Map toJson() { + final json = {}; + if (this.id != null) { + json[r'id'] = this.id; + } else { + json[r'id'] = null; + } + if (this.configurationId != null) { + json[r'configurationId'] = this.configurationId; + } else { + json[r'configurationId'] = null; + } + if (this.applicationInstanceId != null) { + json[r'applicationInstanceId'] = this.applicationInstanceId; + } else { + json[r'applicationInstanceId'] = null; + } + if (this.order != null) { + json[r'order'] = this.order; + } else { + json[r'order'] = null; + } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } + if (this.weightMasonryGrid != null) { + json[r'weightMasonryGrid'] = this.weightMasonryGrid; + } else { + json[r'weightMasonryGrid'] = null; + } + return json; + } + + /// Returns a new [AppConfigurationLinkDTO] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static AppConfigurationLinkDTO? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "AppConfigurationLinkDTO[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "AppConfigurationLinkDTO[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return AppConfigurationLinkDTO( + id: mapValueOfType(json, r'id'), + configurationId: mapValueOfType(json, r'configurationId'), + applicationInstanceId: + mapValueOfType(json, r'applicationInstanceId'), + order: mapValueOfType(json, r'order'), + isActive: mapValueOfType(json, r'isActive'), + weightMasonryGrid: mapValueOfType(json, r'weightMasonryGrid'), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = AppConfigurationLinkDTO.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = AppConfigurationLinkDTO.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of AppConfigurationLinkDTO-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = AppConfigurationLinkDTO.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = {}; +} diff --git a/manager_api_new/lib/model/app_type.dart b/manager_api_new/lib/model/app_type.dart new file mode 100644 index 0000000..d42895c --- /dev/null +++ b/manager_api_new/lib/model/app_type.dart @@ -0,0 +1,99 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +/// 0 = Mobile 1 = Tablet 2 = Web 3 = VR +class AppType { + /// Instantiate a new enum with the provided [value]. + const AppType._(this.value); + + /// The underlying value of this enum member. + final int value; + + @override + String toString() => value.toString(); + + int toJson() => value; + + static const number0 = AppType._(0); + static const number1 = AppType._(1); + static const number2 = AppType._(2); + static const number3 = AppType._(3); + + /// List of all possible values in this [enum][AppType]. + static const values = [ + number0, + number1, + number2, + number3, + ]; + + static AppType? fromJson(dynamic value) => + AppTypeTypeTransformer().decode(value); + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = AppType.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } +} + +/// Transformation class that can [encode] an instance of [AppType] to int, +/// and [decode] dynamic data back to [AppType]. +class AppTypeTypeTransformer { + factory AppTypeTypeTransformer() => + _instance ??= const AppTypeTypeTransformer._(); + + const AppTypeTypeTransformer._(); + + int encode(AppType data) => data.value; + + /// Decodes a [dynamic value][data] to a AppType. + /// + /// If [allowNull] is true and the [dynamic value][data] cannot be decoded successfully, + /// then null is returned. However, if [allowNull] is false and the [dynamic value][data] + /// cannot be decoded successfully, then an [UnimplementedError] is thrown. + /// + /// The [allowNull] is very handy when an API changes and a new enum value is added or removed, + /// and users are still using an old app with the old code. + AppType? decode(dynamic data, {bool allowNull = true}) { + if (data != null) { + switch (data) { + case 0: + return AppType.number0; + case 1: + return AppType.number1; + case 2: + return AppType.number2; + case 3: + return AppType.number3; + default: + if (!allowNull) { + throw ArgumentError('Unknown enum value to decode: $data'); + } + } + } + return null; + } + + /// Singleton [AppTypeTypeTransformer] instance. + static AppTypeTypeTransformer? _instance; +} diff --git a/manager_api_new/lib/model/application_instance.dart b/manager_api_new/lib/model/application_instance.dart new file mode 100644 index 0000000..9e4936a --- /dev/null +++ b/manager_api_new/lib/model/application_instance.dart @@ -0,0 +1,355 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class ApplicationInstance { + /// Returns a new [ApplicationInstance] instance. + ApplicationInstance({ + required this.instanceId, + required this.appType, + this.id, + this.configurations = const [], + this.mainImageId, + this.mainImageUrl, + this.loaderImageId, + this.loaderImageUrl, + this.isDate, + this.isHour, + this.primaryColor, + this.secondaryColor, + this.roundedValue, + this.screenPercentageSectionsMainPage, + this.isSectionImageBackground, + this.layoutMainPage, + this.languages = const [], + this.sectionEventId, + this.sectionEvent, + }); + + String instanceId; + + AppType appType; + + String? id; + + List? configurations; + + String? mainImageId; + + String? mainImageUrl; + + String? loaderImageId; + + String? loaderImageUrl; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isDate; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isHour; + + String? primaryColor; + + String? secondaryColor; + + int? roundedValue; + + int? screenPercentageSectionsMainPage; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isSectionImageBackground; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + LayoutMainPageType? layoutMainPage; + + List? languages; + + String? sectionEventId; + + ApplicationInstanceSectionEvent? sectionEvent; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is ApplicationInstance && + other.instanceId == instanceId && + other.appType == appType && + other.id == id && + _deepEquality.equals(other.configurations, configurations) && + other.mainImageId == mainImageId && + other.mainImageUrl == mainImageUrl && + other.loaderImageId == loaderImageId && + other.loaderImageUrl == loaderImageUrl && + other.isDate == isDate && + other.isHour == isHour && + other.primaryColor == primaryColor && + other.secondaryColor == secondaryColor && + other.roundedValue == roundedValue && + other.screenPercentageSectionsMainPage == + screenPercentageSectionsMainPage && + other.isSectionImageBackground == isSectionImageBackground && + other.layoutMainPage == layoutMainPage && + _deepEquality.equals(other.languages, languages) && + other.sectionEventId == sectionEventId && + other.sectionEvent == sectionEvent; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (instanceId.hashCode) + + (appType.hashCode) + + (id == null ? 0 : id!.hashCode) + + (configurations == null ? 0 : configurations!.hashCode) + + (mainImageId == null ? 0 : mainImageId!.hashCode) + + (mainImageUrl == null ? 0 : mainImageUrl!.hashCode) + + (loaderImageId == null ? 0 : loaderImageId!.hashCode) + + (loaderImageUrl == null ? 0 : loaderImageUrl!.hashCode) + + (isDate == null ? 0 : isDate!.hashCode) + + (isHour == null ? 0 : isHour!.hashCode) + + (primaryColor == null ? 0 : primaryColor!.hashCode) + + (secondaryColor == null ? 0 : secondaryColor!.hashCode) + + (roundedValue == null ? 0 : roundedValue!.hashCode) + + (screenPercentageSectionsMainPage == null + ? 0 + : screenPercentageSectionsMainPage!.hashCode) + + (isSectionImageBackground == null + ? 0 + : isSectionImageBackground!.hashCode) + + (layoutMainPage == null ? 0 : layoutMainPage!.hashCode) + + (languages == null ? 0 : languages!.hashCode) + + (sectionEventId == null ? 0 : sectionEventId!.hashCode) + + (sectionEvent == null ? 0 : sectionEvent!.hashCode); + + @override + String toString() => + 'ApplicationInstance[instanceId=$instanceId, appType=$appType, id=$id, configurations=$configurations, mainImageId=$mainImageId, mainImageUrl=$mainImageUrl, loaderImageId=$loaderImageId, loaderImageUrl=$loaderImageUrl, isDate=$isDate, isHour=$isHour, primaryColor=$primaryColor, secondaryColor=$secondaryColor, roundedValue=$roundedValue, screenPercentageSectionsMainPage=$screenPercentageSectionsMainPage, isSectionImageBackground=$isSectionImageBackground, layoutMainPage=$layoutMainPage, languages=$languages, sectionEventId=$sectionEventId, sectionEvent=$sectionEvent]'; + + Map toJson() { + final json = {}; + json[r'instanceId'] = this.instanceId; + json[r'appType'] = this.appType; + if (this.id != null) { + json[r'id'] = this.id; + } else { + json[r'id'] = null; + } + if (this.configurations != null) { + json[r'configurations'] = this.configurations; + } else { + json[r'configurations'] = null; + } + if (this.mainImageId != null) { + json[r'mainImageId'] = this.mainImageId; + } else { + json[r'mainImageId'] = null; + } + if (this.mainImageUrl != null) { + json[r'mainImageUrl'] = this.mainImageUrl; + } else { + json[r'mainImageUrl'] = null; + } + if (this.loaderImageId != null) { + json[r'loaderImageId'] = this.loaderImageId; + } else { + json[r'loaderImageId'] = null; + } + if (this.loaderImageUrl != null) { + json[r'loaderImageUrl'] = this.loaderImageUrl; + } else { + json[r'loaderImageUrl'] = null; + } + if (this.isDate != null) { + json[r'isDate'] = this.isDate; + } else { + json[r'isDate'] = null; + } + if (this.isHour != null) { + json[r'isHour'] = this.isHour; + } else { + json[r'isHour'] = null; + } + if (this.primaryColor != null) { + json[r'primaryColor'] = this.primaryColor; + } else { + json[r'primaryColor'] = null; + } + if (this.secondaryColor != null) { + json[r'secondaryColor'] = this.secondaryColor; + } else { + json[r'secondaryColor'] = null; + } + if (this.roundedValue != null) { + json[r'roundedValue'] = this.roundedValue; + } else { + json[r'roundedValue'] = null; + } + if (this.screenPercentageSectionsMainPage != null) { + json[r'screenPercentageSectionsMainPage'] = + this.screenPercentageSectionsMainPage; + } else { + json[r'screenPercentageSectionsMainPage'] = null; + } + if (this.isSectionImageBackground != null) { + json[r'isSectionImageBackground'] = this.isSectionImageBackground; + } else { + json[r'isSectionImageBackground'] = null; + } + if (this.layoutMainPage != null) { + json[r'layoutMainPage'] = this.layoutMainPage; + } else { + json[r'layoutMainPage'] = null; + } + if (this.languages != null) { + json[r'languages'] = this.languages; + } else { + json[r'languages'] = null; + } + if (this.sectionEventId != null) { + json[r'sectionEventId'] = this.sectionEventId; + } else { + json[r'sectionEventId'] = null; + } + if (this.sectionEvent != null) { + json[r'sectionEvent'] = this.sectionEvent; + } else { + json[r'sectionEvent'] = null; + } + return json; + } + + /// Returns a new [ApplicationInstance] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static ApplicationInstance? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "ApplicationInstance[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "ApplicationInstance[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return ApplicationInstance( + instanceId: mapValueOfType(json, r'instanceId')!, + appType: AppType.fromJson(json[r'appType'])!, + id: mapValueOfType(json, r'id'), + configurations: + AppConfigurationLink.listFromJson(json[r'configurations']), + mainImageId: mapValueOfType(json, r'mainImageId'), + mainImageUrl: mapValueOfType(json, r'mainImageUrl'), + loaderImageId: mapValueOfType(json, r'loaderImageId'), + loaderImageUrl: mapValueOfType(json, r'loaderImageUrl'), + isDate: mapValueOfType(json, r'isDate'), + isHour: mapValueOfType(json, r'isHour'), + primaryColor: mapValueOfType(json, r'primaryColor'), + secondaryColor: mapValueOfType(json, r'secondaryColor'), + roundedValue: mapValueOfType(json, r'roundedValue'), + screenPercentageSectionsMainPage: + mapValueOfType(json, r'screenPercentageSectionsMainPage'), + isSectionImageBackground: + mapValueOfType(json, r'isSectionImageBackground'), + layoutMainPage: LayoutMainPageType.fromJson(json[r'layoutMainPage']), + languages: json[r'languages'] is Iterable + ? (json[r'languages'] as Iterable) + .cast() + .toList(growable: false) + : const [], + sectionEventId: mapValueOfType(json, r'sectionEventId'), + sectionEvent: + ApplicationInstanceSectionEvent.fromJson(json[r'sectionEvent']), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = ApplicationInstance.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = ApplicationInstance.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of ApplicationInstance-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = ApplicationInstance.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = { + 'instanceId', + 'appType', + }; +} diff --git a/manager_api_new/lib/model/application_instance_dto.dart b/manager_api_new/lib/model/application_instance_dto.dart new file mode 100644 index 0000000..c36f938 --- /dev/null +++ b/manager_api_new/lib/model/application_instance_dto.dart @@ -0,0 +1,326 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class ApplicationInstanceDTO { + /// Returns a new [ApplicationInstanceDTO] instance. + ApplicationInstanceDTO({ + this.id, + this.instanceId, + this.appType, + this.configurations = const [], + this.mainImageId, + this.mainImageUrl, + this.loaderImageId, + this.loaderImageUrl, + this.isDate, + this.isHour, + this.primaryColor, + this.secondaryColor, + this.roundedValue, + this.screenPercentageSectionsMainPage, + this.isSectionImageBackground, + this.languages = const [], + }); + + String? id; + + String? instanceId; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + AppType? appType; + + List? configurations; + + String? mainImageId; + + String? mainImageUrl; + + String? loaderImageId; + + String? loaderImageUrl; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isDate; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isHour; + + String? primaryColor; + + String? secondaryColor; + + int? roundedValue; + + int? screenPercentageSectionsMainPage; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isSectionImageBackground; + + List? languages; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is ApplicationInstanceDTO && + other.id == id && + other.instanceId == instanceId && + other.appType == appType && + _deepEquality.equals(other.configurations, configurations) && + other.mainImageId == mainImageId && + other.mainImageUrl == mainImageUrl && + other.loaderImageId == loaderImageId && + other.loaderImageUrl == loaderImageUrl && + other.isDate == isDate && + other.isHour == isHour && + other.primaryColor == primaryColor && + other.secondaryColor == secondaryColor && + other.roundedValue == roundedValue && + other.screenPercentageSectionsMainPage == + screenPercentageSectionsMainPage && + other.isSectionImageBackground == isSectionImageBackground && + _deepEquality.equals(other.languages, languages); + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (id == null ? 0 : id!.hashCode) + + (instanceId == null ? 0 : instanceId!.hashCode) + + (appType == null ? 0 : appType!.hashCode) + + (configurations == null ? 0 : configurations!.hashCode) + + (mainImageId == null ? 0 : mainImageId!.hashCode) + + (mainImageUrl == null ? 0 : mainImageUrl!.hashCode) + + (loaderImageId == null ? 0 : loaderImageId!.hashCode) + + (loaderImageUrl == null ? 0 : loaderImageUrl!.hashCode) + + (isDate == null ? 0 : isDate!.hashCode) + + (isHour == null ? 0 : isHour!.hashCode) + + (primaryColor == null ? 0 : primaryColor!.hashCode) + + (secondaryColor == null ? 0 : secondaryColor!.hashCode) + + (roundedValue == null ? 0 : roundedValue!.hashCode) + + (screenPercentageSectionsMainPage == null + ? 0 + : screenPercentageSectionsMainPage!.hashCode) + + (isSectionImageBackground == null + ? 0 + : isSectionImageBackground!.hashCode) + + (languages == null ? 0 : languages!.hashCode); + + @override + String toString() => + 'ApplicationInstanceDTO[id=$id, instanceId=$instanceId, appType=$appType, configurations=$configurations, mainImageId=$mainImageId, mainImageUrl=$mainImageUrl, loaderImageId=$loaderImageId, loaderImageUrl=$loaderImageUrl, isDate=$isDate, isHour=$isHour, primaryColor=$primaryColor, secondaryColor=$secondaryColor, roundedValue=$roundedValue, screenPercentageSectionsMainPage=$screenPercentageSectionsMainPage, isSectionImageBackground=$isSectionImageBackground, languages=$languages]'; + + Map toJson() { + final json = {}; + if (this.id != null) { + json[r'id'] = this.id; + } else { + json[r'id'] = null; + } + if (this.instanceId != null) { + json[r'instanceId'] = this.instanceId; + } else { + json[r'instanceId'] = null; + } + if (this.appType != null) { + json[r'appType'] = this.appType; + } else { + json[r'appType'] = null; + } + if (this.configurations != null) { + json[r'configurations'] = this.configurations; + } else { + json[r'configurations'] = null; + } + if (this.mainImageId != null) { + json[r'mainImageId'] = this.mainImageId; + } else { + json[r'mainImageId'] = null; + } + if (this.mainImageUrl != null) { + json[r'mainImageUrl'] = this.mainImageUrl; + } else { + json[r'mainImageUrl'] = null; + } + if (this.loaderImageId != null) { + json[r'loaderImageId'] = this.loaderImageId; + } else { + json[r'loaderImageId'] = null; + } + if (this.loaderImageUrl != null) { + json[r'loaderImageUrl'] = this.loaderImageUrl; + } else { + json[r'loaderImageUrl'] = null; + } + if (this.isDate != null) { + json[r'isDate'] = this.isDate; + } else { + json[r'isDate'] = null; + } + if (this.isHour != null) { + json[r'isHour'] = this.isHour; + } else { + json[r'isHour'] = null; + } + if (this.primaryColor != null) { + json[r'primaryColor'] = this.primaryColor; + } else { + json[r'primaryColor'] = null; + } + if (this.secondaryColor != null) { + json[r'secondaryColor'] = this.secondaryColor; + } else { + json[r'secondaryColor'] = null; + } + if (this.roundedValue != null) { + json[r'roundedValue'] = this.roundedValue; + } else { + json[r'roundedValue'] = null; + } + if (this.screenPercentageSectionsMainPage != null) { + json[r'screenPercentageSectionsMainPage'] = + this.screenPercentageSectionsMainPage; + } else { + json[r'screenPercentageSectionsMainPage'] = null; + } + if (this.isSectionImageBackground != null) { + json[r'isSectionImageBackground'] = this.isSectionImageBackground; + } else { + json[r'isSectionImageBackground'] = null; + } + if (this.languages != null) { + json[r'languages'] = this.languages; + } else { + json[r'languages'] = null; + } + return json; + } + + /// Returns a new [ApplicationInstanceDTO] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static ApplicationInstanceDTO? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "ApplicationInstanceDTO[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "ApplicationInstanceDTO[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return ApplicationInstanceDTO( + id: mapValueOfType(json, r'id'), + instanceId: mapValueOfType(json, r'instanceId'), + appType: AppType.fromJson(json[r'appType']), + configurations: + AppConfigurationLink.listFromJson(json[r'configurations']), + mainImageId: mapValueOfType(json, r'mainImageId'), + mainImageUrl: mapValueOfType(json, r'mainImageUrl'), + loaderImageId: mapValueOfType(json, r'loaderImageId'), + loaderImageUrl: mapValueOfType(json, r'loaderImageUrl'), + isDate: mapValueOfType(json, r'isDate'), + isHour: mapValueOfType(json, r'isHour'), + primaryColor: mapValueOfType(json, r'primaryColor'), + secondaryColor: mapValueOfType(json, r'secondaryColor'), + roundedValue: mapValueOfType(json, r'roundedValue'), + screenPercentageSectionsMainPage: + mapValueOfType(json, r'screenPercentageSectionsMainPage'), + isSectionImageBackground: + mapValueOfType(json, r'isSectionImageBackground'), + languages: json[r'languages'] is Iterable + ? (json[r'languages'] as Iterable) + .cast() + .toList(growable: false) + : const [], + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = ApplicationInstanceDTO.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = ApplicationInstanceDTO.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of ApplicationInstanceDTO-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = ApplicationInstanceDTO.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = {}; +} diff --git a/manager_api_new/lib/model/application_instance_section_event.dart b/manager_api_new/lib/model/application_instance_section_event.dart new file mode 100644 index 0000000..e878de6 --- /dev/null +++ b/manager_api_new/lib/model/application_instance_section_event.dart @@ -0,0 +1,387 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class ApplicationInstanceSectionEvent { + /// Returns a new [ApplicationInstanceSectionEvent] instance. + ApplicationInstanceSectionEvent({ + required this.id, + required this.label, + this.title = const [], + required this.configurationId, + required this.type, + required this.isSubSection, + required this.instanceId, + this.description = const [], + this.order, + this.imageId, + this.imageSource, + this.parentId, + this.dateCreation, + this.isBeacon, + this.beaconId, + this.latitude, + this.longitude, + this.meterZoneGPS, + this.isActive, + this.startDate, + this.endDate, + this.programme = const [], + this.parcoursIds = const [], + }); + + String id; + + String label; + + List title; + + String configurationId; + + SectionType type; + + bool isSubSection; + + String instanceId; + + List? description; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + int? order; + + String? imageId; + + String? imageSource; + + String? parentId; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + DateTime? dateCreation; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isBeacon; + + int? beaconId; + + String? latitude; + + String? longitude; + + int? meterZoneGPS; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + DateTime? startDate; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + DateTime? endDate; + + List? programme; + + List? parcoursIds; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is ApplicationInstanceSectionEvent && + other.id == id && + other.label == label && + _deepEquality.equals(other.title, title) && + other.configurationId == configurationId && + other.type == type && + other.isSubSection == isSubSection && + other.instanceId == instanceId && + _deepEquality.equals(other.description, description) && + other.order == order && + other.imageId == imageId && + other.imageSource == imageSource && + other.parentId == parentId && + other.dateCreation == dateCreation && + other.isBeacon == isBeacon && + other.beaconId == beaconId && + other.latitude == latitude && + other.longitude == longitude && + other.meterZoneGPS == meterZoneGPS && + other.isActive == isActive && + other.startDate == startDate && + other.endDate == endDate && + _deepEquality.equals(other.programme, programme) && + _deepEquality.equals(other.parcoursIds, parcoursIds); + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (id.hashCode) + + (label.hashCode) + + (title.hashCode) + + (configurationId.hashCode) + + (type.hashCode) + + (isSubSection.hashCode) + + (instanceId.hashCode) + + (description == null ? 0 : description!.hashCode) + + (order == null ? 0 : order!.hashCode) + + (imageId == null ? 0 : imageId!.hashCode) + + (imageSource == null ? 0 : imageSource!.hashCode) + + (parentId == null ? 0 : parentId!.hashCode) + + (dateCreation == null ? 0 : dateCreation!.hashCode) + + (isBeacon == null ? 0 : isBeacon!.hashCode) + + (beaconId == null ? 0 : beaconId!.hashCode) + + (latitude == null ? 0 : latitude!.hashCode) + + (longitude == null ? 0 : longitude!.hashCode) + + (meterZoneGPS == null ? 0 : meterZoneGPS!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + + (startDate == null ? 0 : startDate!.hashCode) + + (endDate == null ? 0 : endDate!.hashCode) + + (programme == null ? 0 : programme!.hashCode) + + (parcoursIds == null ? 0 : parcoursIds!.hashCode); + + @override + String toString() => + 'ApplicationInstanceSectionEvent[id=$id, label=$label, title=$title, configurationId=$configurationId, type=$type, isSubSection=$isSubSection, instanceId=$instanceId, description=$description, order=$order, imageId=$imageId, imageSource=$imageSource, parentId=$parentId, dateCreation=$dateCreation, isBeacon=$isBeacon, beaconId=$beaconId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isActive=$isActive, startDate=$startDate, endDate=$endDate, programme=$programme, parcoursIds=$parcoursIds]'; + + Map toJson() { + final json = {}; + json[r'id'] = this.id; + json[r'label'] = this.label; + json[r'title'] = this.title; + json[r'configurationId'] = this.configurationId; + json[r'type'] = this.type; + json[r'isSubSection'] = this.isSubSection; + json[r'instanceId'] = this.instanceId; + if (this.description != null) { + json[r'description'] = this.description; + } else { + json[r'description'] = null; + } + if (this.order != null) { + json[r'order'] = this.order; + } else { + json[r'order'] = null; + } + if (this.imageId != null) { + json[r'imageId'] = this.imageId; + } else { + json[r'imageId'] = null; + } + if (this.imageSource != null) { + json[r'imageSource'] = this.imageSource; + } else { + json[r'imageSource'] = null; + } + if (this.parentId != null) { + json[r'parentId'] = this.parentId; + } else { + json[r'parentId'] = null; + } + if (this.dateCreation != null) { + json[r'dateCreation'] = this.dateCreation!.toUtc().toIso8601String(); + } else { + json[r'dateCreation'] = null; + } + if (this.isBeacon != null) { + json[r'isBeacon'] = this.isBeacon; + } else { + json[r'isBeacon'] = null; + } + if (this.beaconId != null) { + json[r'beaconId'] = this.beaconId; + } else { + json[r'beaconId'] = null; + } + if (this.latitude != null) { + json[r'latitude'] = this.latitude; + } else { + json[r'latitude'] = null; + } + if (this.longitude != null) { + json[r'longitude'] = this.longitude; + } else { + json[r'longitude'] = null; + } + if (this.meterZoneGPS != null) { + json[r'meterZoneGPS'] = this.meterZoneGPS; + } else { + json[r'meterZoneGPS'] = null; + } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } + if (this.startDate != null) { + json[r'startDate'] = this.startDate!.toUtc().toIso8601String(); + } else { + json[r'startDate'] = null; + } + if (this.endDate != null) { + json[r'endDate'] = this.endDate!.toUtc().toIso8601String(); + } else { + json[r'endDate'] = null; + } + if (this.programme != null) { + json[r'programme'] = this.programme; + } else { + json[r'programme'] = null; + } + if (this.parcoursIds != null) { + json[r'parcoursIds'] = this.parcoursIds; + } else { + json[r'parcoursIds'] = null; + } + return json; + } + + /// Returns a new [ApplicationInstanceSectionEvent] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static ApplicationInstanceSectionEvent? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "ApplicationInstanceSectionEvent[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "ApplicationInstanceSectionEvent[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return ApplicationInstanceSectionEvent( + id: mapValueOfType(json, r'id')!, + label: mapValueOfType(json, r'label')!, + title: TranslationDTO.listFromJson(json[r'title']), + configurationId: mapValueOfType(json, r'configurationId')!, + type: SectionType.fromJson(json[r'type'])!, + isSubSection: mapValueOfType(json, r'isSubSection')!, + instanceId: mapValueOfType(json, r'instanceId')!, + description: TranslationDTO.listFromJson(json[r'description']), + order: mapValueOfType(json, r'order'), + imageId: mapValueOfType(json, r'imageId'), + imageSource: mapValueOfType(json, r'imageSource'), + parentId: mapValueOfType(json, r'parentId'), + dateCreation: mapDateTime(json, r'dateCreation', r''), + isBeacon: mapValueOfType(json, r'isBeacon'), + beaconId: mapValueOfType(json, r'beaconId'), + latitude: mapValueOfType(json, r'latitude'), + longitude: mapValueOfType(json, r'longitude'), + meterZoneGPS: mapValueOfType(json, r'meterZoneGPS'), + isActive: mapValueOfType(json, r'isActive'), + startDate: mapDateTime(json, r'startDate', r''), + endDate: mapDateTime(json, r'endDate', r''), + programme: ProgrammeBlock.listFromJson(json[r'programme']), + parcoursIds: json[r'parcoursIds'] is Iterable + ? (json[r'parcoursIds'] as Iterable) + .cast() + .toList(growable: false) + : const [], + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = ApplicationInstanceSectionEvent.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson( + dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = ApplicationInstanceSectionEvent.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of ApplicationInstanceSectionEvent-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = ApplicationInstanceSectionEvent.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = { + 'id', + 'label', + 'title', + 'configurationId', + 'type', + 'isSubSection', + 'instanceId', + }; +} diff --git a/manager_api_new/lib/model/article_dto.dart b/manager_api_new/lib/model/article_dto.dart index 67ac908..2c995ee 100644 --- a/manager_api_new/lib/model/article_dto.dart +++ b/manager_api_new/lib/model/article_dto.dart @@ -17,6 +17,7 @@ class ArticleDTO { this.label, this.title = const [], this.description = const [], + this.isActive, this.imageId, this.imageSource, this.configurationId, @@ -46,6 +47,14 @@ class ArticleDTO { List? description; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + String? imageId; String? imageSource; @@ -70,12 +79,6 @@ class ArticleDTO { /// SectionType? type; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// DateTime? dateCreation; int? order; @@ -128,6 +131,7 @@ class ArticleDTO { other.label == label && _deepEquality.equals(other.title, title) && _deepEquality.equals(other.description, description) && + other.isActive == isActive && other.imageId == imageId && other.imageSource == imageSource && other.configurationId == configurationId && @@ -155,6 +159,7 @@ class ArticleDTO { (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (description == null ? 0 : description!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + (imageSource == null ? 0 : imageSource!.hashCode) + (configurationId == null ? 0 : configurationId!.hashCode) + @@ -177,7 +182,7 @@ class ArticleDTO { @override String toString() => - 'ArticleDTO[id=$id, label=$label, title=$title, description=$description, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, content=$content, isContentTop=$isContentTop, audioIds=$audioIds, isReadAudioAuto=$isReadAudioAuto, contents=$contents]'; + 'ArticleDTO[id=$id, label=$label, title=$title, description=$description, isActive=$isActive, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, content=$content, isContentTop=$isContentTop, audioIds=$audioIds, isReadAudioAuto=$isReadAudioAuto, contents=$contents]'; Map toJson() { final json = {}; @@ -201,6 +206,11 @@ class ArticleDTO { } else { json[r'description'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.imageId != null) { json[r'imageId'] = this.imageId; } else { @@ -324,6 +334,7 @@ class ArticleDTO { label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), description: TranslationDTO.listFromJson(json[r'description']), + isActive: mapValueOfType(json, r'isActive'), imageId: mapValueOfType(json, r'imageId'), imageSource: mapValueOfType(json, r'imageSource'), configurationId: mapValueOfType(json, r'configurationId'), diff --git a/manager_api_new/lib/model/configuration.dart b/manager_api_new/lib/model/configuration.dart new file mode 100644 index 0000000..cb863fe --- /dev/null +++ b/manager_api_new/lib/model/configuration.dart @@ -0,0 +1,312 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class Configuration { + /// Returns a new [Configuration] instance. + Configuration({ + required this.id, + required this.instanceId, + required this.label, + this.title = const [], + this.imageId, + this.imageSource, + this.primaryColor, + this.secondaryColor, + this.languages = const [], + this.dateCreation, + this.isOffline, + this.loaderImageId, + this.loaderImageUrl, + this.isQRCode, + this.isSearchText, + this.isSearchNumber, + }); + + String id; + + String instanceId; + + String label; + + List title; + + String? imageId; + + String? imageSource; + + String? primaryColor; + + String? secondaryColor; + + List? languages; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + DateTime? dateCreation; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isOffline; + + String? loaderImageId; + + String? loaderImageUrl; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isQRCode; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isSearchText; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isSearchNumber; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is Configuration && + other.id == id && + other.instanceId == instanceId && + other.label == label && + _deepEquality.equals(other.title, title) && + other.imageId == imageId && + other.imageSource == imageSource && + other.primaryColor == primaryColor && + other.secondaryColor == secondaryColor && + _deepEquality.equals(other.languages, languages) && + other.dateCreation == dateCreation && + other.isOffline == isOffline && + other.loaderImageId == loaderImageId && + other.loaderImageUrl == loaderImageUrl && + other.isQRCode == isQRCode && + other.isSearchText == isSearchText && + other.isSearchNumber == isSearchNumber; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (id.hashCode) + + (instanceId.hashCode) + + (label.hashCode) + + (title.hashCode) + + (imageId == null ? 0 : imageId!.hashCode) + + (imageSource == null ? 0 : imageSource!.hashCode) + + (primaryColor == null ? 0 : primaryColor!.hashCode) + + (secondaryColor == null ? 0 : secondaryColor!.hashCode) + + (languages == null ? 0 : languages!.hashCode) + + (dateCreation == null ? 0 : dateCreation!.hashCode) + + (isOffline == null ? 0 : isOffline!.hashCode) + + (loaderImageId == null ? 0 : loaderImageId!.hashCode) + + (loaderImageUrl == null ? 0 : loaderImageUrl!.hashCode) + + (isQRCode == null ? 0 : isQRCode!.hashCode) + + (isSearchText == null ? 0 : isSearchText!.hashCode) + + (isSearchNumber == null ? 0 : isSearchNumber!.hashCode); + + @override + String toString() => + 'Configuration[id=$id, instanceId=$instanceId, label=$label, title=$title, imageId=$imageId, imageSource=$imageSource, primaryColor=$primaryColor, secondaryColor=$secondaryColor, languages=$languages, dateCreation=$dateCreation, isOffline=$isOffline, loaderImageId=$loaderImageId, loaderImageUrl=$loaderImageUrl, isQRCode=$isQRCode, isSearchText=$isSearchText, isSearchNumber=$isSearchNumber]'; + + Map toJson() { + final json = {}; + json[r'id'] = this.id; + json[r'instanceId'] = this.instanceId; + json[r'label'] = this.label; + json[r'title'] = this.title; + if (this.imageId != null) { + json[r'imageId'] = this.imageId; + } else { + json[r'imageId'] = null; + } + if (this.imageSource != null) { + json[r'imageSource'] = this.imageSource; + } else { + json[r'imageSource'] = null; + } + if (this.primaryColor != null) { + json[r'primaryColor'] = this.primaryColor; + } else { + json[r'primaryColor'] = null; + } + if (this.secondaryColor != null) { + json[r'secondaryColor'] = this.secondaryColor; + } else { + json[r'secondaryColor'] = null; + } + if (this.languages != null) { + json[r'languages'] = this.languages; + } else { + json[r'languages'] = null; + } + if (this.dateCreation != null) { + json[r'dateCreation'] = this.dateCreation!.toUtc().toIso8601String(); + } else { + json[r'dateCreation'] = null; + } + if (this.isOffline != null) { + json[r'isOffline'] = this.isOffline; + } else { + json[r'isOffline'] = null; + } + if (this.loaderImageId != null) { + json[r'loaderImageId'] = this.loaderImageId; + } else { + json[r'loaderImageId'] = null; + } + if (this.loaderImageUrl != null) { + json[r'loaderImageUrl'] = this.loaderImageUrl; + } else { + json[r'loaderImageUrl'] = null; + } + if (this.isQRCode != null) { + json[r'isQRCode'] = this.isQRCode; + } else { + json[r'isQRCode'] = null; + } + if (this.isSearchText != null) { + json[r'isSearchText'] = this.isSearchText; + } else { + json[r'isSearchText'] = null; + } + if (this.isSearchNumber != null) { + json[r'isSearchNumber'] = this.isSearchNumber; + } else { + json[r'isSearchNumber'] = null; + } + return json; + } + + /// Returns a new [Configuration] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static Configuration? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "Configuration[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "Configuration[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return Configuration( + id: mapValueOfType(json, r'id')!, + instanceId: mapValueOfType(json, r'instanceId')!, + label: mapValueOfType(json, r'label')!, + title: TranslationDTO.listFromJson(json[r'title']), + imageId: mapValueOfType(json, r'imageId'), + imageSource: mapValueOfType(json, r'imageSource'), + primaryColor: mapValueOfType(json, r'primaryColor'), + secondaryColor: mapValueOfType(json, r'secondaryColor'), + languages: json[r'languages'] is Iterable + ? (json[r'languages'] as Iterable) + .cast() + .toList(growable: false) + : const [], + dateCreation: mapDateTime(json, r'dateCreation', r''), + isOffline: mapValueOfType(json, r'isOffline'), + loaderImageId: mapValueOfType(json, r'loaderImageId'), + loaderImageUrl: mapValueOfType(json, r'loaderImageUrl'), + isQRCode: mapValueOfType(json, r'isQRCode'), + isSearchText: mapValueOfType(json, r'isSearchText'), + isSearchNumber: mapValueOfType(json, r'isSearchNumber'), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = Configuration.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = Configuration.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of Configuration-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = Configuration.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = { + 'id', + 'instanceId', + 'label', + 'title', + }; +} diff --git a/manager_api_new/lib/model/configuration_dto.dart b/manager_api_new/lib/model/configuration_dto.dart index 921b4f5..f574a38 100644 --- a/manager_api_new/lib/model/configuration_dto.dart +++ b/manager_api_new/lib/model/configuration_dto.dart @@ -14,6 +14,7 @@ class ConfigurationDTO { /// Returns a new [ConfigurationDTO] instance. ConfigurationDTO({ this.id, + this.instanceId, this.label, this.title = const [], this.imageId, @@ -22,22 +23,16 @@ class ConfigurationDTO { this.secondaryColor, this.languages = const [], this.dateCreation, - this.isMobile, - this.isTablet, this.isOffline, - this.instanceId, this.sectionIds = const [], this.loaderImageId, this.loaderImageUrl, - this.isDate, - this.isHour, - this.isSectionImageBackground, - this.roundedValue, - this.screenPercentageSectionsMainPage, }); String? id; + String? instanceId; + String? label; List? title; @@ -60,22 +55,6 @@ class ConfigurationDTO { /// DateTime? dateCreation; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isMobile; - - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isTablet; - /// /// Please note: This property should have been non-nullable! Since the specification file /// does not include a default value (using the "default:" property), however, the generated @@ -84,47 +63,18 @@ class ConfigurationDTO { /// bool? isOffline; - String? instanceId; - List? sectionIds; String? loaderImageId; String? loaderImageUrl; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isDate; - - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isHour; - - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isSectionImageBackground; - - int? roundedValue; - - int? screenPercentageSectionsMainPage; - @override bool operator ==(Object other) => identical(this, other) || other is ConfigurationDTO && other.id == id && + other.instanceId == instanceId && other.label == label && _deepEquality.equals(other.title, title) && other.imageId == imageId && @@ -133,24 +83,16 @@ class ConfigurationDTO { other.secondaryColor == secondaryColor && _deepEquality.equals(other.languages, languages) && other.dateCreation == dateCreation && - other.isMobile == isMobile && - other.isTablet == isTablet && other.isOffline == isOffline && - other.instanceId == instanceId && _deepEquality.equals(other.sectionIds, sectionIds) && other.loaderImageId == loaderImageId && - other.loaderImageUrl == loaderImageUrl && - other.isDate == isDate && - other.isHour == isHour && - other.isSectionImageBackground == isSectionImageBackground && - other.roundedValue == roundedValue && - other.screenPercentageSectionsMainPage == - screenPercentageSectionsMainPage; + other.loaderImageUrl == loaderImageUrl; @override int get hashCode => // ignore: unnecessary_parenthesis (id == null ? 0 : id!.hashCode) + + (instanceId == null ? 0 : instanceId!.hashCode) + (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + @@ -159,26 +101,14 @@ class ConfigurationDTO { (secondaryColor == null ? 0 : secondaryColor!.hashCode) + (languages == null ? 0 : languages!.hashCode) + (dateCreation == null ? 0 : dateCreation!.hashCode) + - (isMobile == null ? 0 : isMobile!.hashCode) + - (isTablet == null ? 0 : isTablet!.hashCode) + (isOffline == null ? 0 : isOffline!.hashCode) + - (instanceId == null ? 0 : instanceId!.hashCode) + (sectionIds == null ? 0 : sectionIds!.hashCode) + (loaderImageId == null ? 0 : loaderImageId!.hashCode) + - (loaderImageUrl == null ? 0 : loaderImageUrl!.hashCode) + - (isDate == null ? 0 : isDate!.hashCode) + - (isHour == null ? 0 : isHour!.hashCode) + - (isSectionImageBackground == null - ? 0 - : isSectionImageBackground!.hashCode) + - (roundedValue == null ? 0 : roundedValue!.hashCode) + - (screenPercentageSectionsMainPage == null - ? 0 - : screenPercentageSectionsMainPage!.hashCode); + (loaderImageUrl == null ? 0 : loaderImageUrl!.hashCode); @override String toString() => - 'ConfigurationDTO[id=$id, label=$label, title=$title, imageId=$imageId, imageSource=$imageSource, primaryColor=$primaryColor, secondaryColor=$secondaryColor, languages=$languages, dateCreation=$dateCreation, isMobile=$isMobile, isTablet=$isTablet, isOffline=$isOffline, instanceId=$instanceId, sectionIds=$sectionIds, loaderImageId=$loaderImageId, loaderImageUrl=$loaderImageUrl, isDate=$isDate, isHour=$isHour, isSectionImageBackground=$isSectionImageBackground, roundedValue=$roundedValue, screenPercentageSectionsMainPage=$screenPercentageSectionsMainPage]'; + 'ConfigurationDTO[id=$id, instanceId=$instanceId, label=$label, title=$title, imageId=$imageId, imageSource=$imageSource, primaryColor=$primaryColor, secondaryColor=$secondaryColor, languages=$languages, dateCreation=$dateCreation, isOffline=$isOffline, sectionIds=$sectionIds, loaderImageId=$loaderImageId, loaderImageUrl=$loaderImageUrl]'; Map toJson() { final json = {}; @@ -187,6 +117,11 @@ class ConfigurationDTO { } else { json[r'id'] = null; } + if (this.instanceId != null) { + json[r'instanceId'] = this.instanceId; + } else { + json[r'instanceId'] = null; + } if (this.label != null) { json[r'label'] = this.label; } else { @@ -227,26 +162,11 @@ class ConfigurationDTO { } else { json[r'dateCreation'] = null; } - if (this.isMobile != null) { - json[r'isMobile'] = this.isMobile; - } else { - json[r'isMobile'] = null; - } - if (this.isTablet != null) { - json[r'isTablet'] = this.isTablet; - } else { - json[r'isTablet'] = null; - } if (this.isOffline != null) { json[r'isOffline'] = this.isOffline; } else { json[r'isOffline'] = null; } - if (this.instanceId != null) { - json[r'instanceId'] = this.instanceId; - } else { - json[r'instanceId'] = null; - } if (this.sectionIds != null) { json[r'sectionIds'] = this.sectionIds; } else { @@ -262,32 +182,6 @@ class ConfigurationDTO { } else { json[r'loaderImageUrl'] = null; } - if (this.isDate != null) { - json[r'isDate'] = this.isDate; - } else { - json[r'isDate'] = null; - } - if (this.isHour != null) { - json[r'isHour'] = this.isHour; - } else { - json[r'isHour'] = null; - } - if (this.isSectionImageBackground != null) { - json[r'isSectionImageBackground'] = this.isSectionImageBackground; - } else { - json[r'isSectionImageBackground'] = null; - } - if (this.roundedValue != null) { - json[r'roundedValue'] = this.roundedValue; - } else { - json[r'roundedValue'] = null; - } - if (this.screenPercentageSectionsMainPage != null) { - json[r'screenPercentageSectionsMainPage'] = - this.screenPercentageSectionsMainPage; - } else { - json[r'screenPercentageSectionsMainPage'] = null; - } return json; } @@ -313,6 +207,7 @@ class ConfigurationDTO { return ConfigurationDTO( id: mapValueOfType(json, r'id'), + instanceId: mapValueOfType(json, r'instanceId'), label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), imageId: mapValueOfType(json, r'imageId'), @@ -325,10 +220,7 @@ class ConfigurationDTO { .toList(growable: false) : const [], dateCreation: mapDateTime(json, r'dateCreation', r''), - isMobile: mapValueOfType(json, r'isMobile'), - isTablet: mapValueOfType(json, r'isTablet'), isOffline: mapValueOfType(json, r'isOffline'), - instanceId: mapValueOfType(json, r'instanceId'), sectionIds: json[r'sectionIds'] is Iterable ? (json[r'sectionIds'] as Iterable) .cast() @@ -336,13 +228,6 @@ class ConfigurationDTO { : const [], loaderImageId: mapValueOfType(json, r'loaderImageId'), loaderImageUrl: mapValueOfType(json, r'loaderImageUrl'), - isDate: mapValueOfType(json, r'isDate'), - isHour: mapValueOfType(json, r'isHour'), - isSectionImageBackground: - mapValueOfType(json, r'isSectionImageBackground'), - roundedValue: mapValueOfType(json, r'roundedValue'), - screenPercentageSectionsMainPage: - mapValueOfType(json, r'screenPercentageSectionsMainPage'), ); } return null; diff --git a/manager_api_new/lib/model/coordinate.dart b/manager_api_new/lib/model/coordinate.dart new file mode 100644 index 0000000..6a0d74a --- /dev/null +++ b/manager_api_new/lib/model/coordinate.dart @@ -0,0 +1,210 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class Coordinate { + /// Returns a new [Coordinate] instance. + Coordinate({ + this.x, + this.y, + this.z, + this.m, + this.coordinateValue, + this.isValid, + }); + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? x; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? y; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? z; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? m; + + PointAllOfCoordinate? coordinateValue; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isValid; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is Coordinate && + other.x == x && + other.y == y && + other.z == z && + other.m == m && + other.coordinateValue == coordinateValue && + other.isValid == isValid; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (x == null ? 0 : x!.hashCode) + + (y == null ? 0 : y!.hashCode) + + (z == null ? 0 : z!.hashCode) + + (m == null ? 0 : m!.hashCode) + + (coordinateValue == null ? 0 : coordinateValue!.hashCode) + + (isValid == null ? 0 : isValid!.hashCode); + + @override + String toString() => + 'Coordinate[x=$x, y=$y, z=$z, m=$m, coordinateValue=$coordinateValue, isValid=$isValid]'; + + Map toJson() { + final json = {}; + if (this.x != null) { + json[r'x'] = this.x; + } else { + json[r'x'] = null; + } + if (this.y != null) { + json[r'y'] = this.y; + } else { + json[r'y'] = null; + } + if (this.z != null) { + json[r'z'] = this.z; + } else { + json[r'z'] = null; + } + if (this.m != null) { + json[r'm'] = this.m; + } else { + json[r'm'] = null; + } + if (this.coordinateValue != null) { + json[r'coordinateValue'] = this.coordinateValue; + } else { + json[r'coordinateValue'] = null; + } + if (this.isValid != null) { + json[r'isValid'] = this.isValid; + } else { + json[r'isValid'] = null; + } + return json; + } + + /// Returns a new [Coordinate] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static Coordinate? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "Coordinate[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "Coordinate[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return Coordinate( + x: mapValueOfType(json, r'x'), + y: mapValueOfType(json, r'y'), + z: mapValueOfType(json, r'z'), + m: mapValueOfType(json, r'm'), + coordinateValue: + PointAllOfCoordinate.fromJson(json[r'coordinateValue']), + isValid: mapValueOfType(json, r'isValid'), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = Coordinate.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = Coordinate.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of Coordinate-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = Coordinate.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = {}; +} diff --git a/manager_api_new/lib/model/coordinate_equality_comparer.dart b/manager_api_new/lib/model/coordinate_equality_comparer.dart new file mode 100644 index 0000000..51bb525 --- /dev/null +++ b/manager_api_new/lib/model/coordinate_equality_comparer.dart @@ -0,0 +1,101 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class CoordinateEqualityComparer { + /// Returns a new [CoordinateEqualityComparer] instance. + CoordinateEqualityComparer({ + }); + + @override + bool operator ==(Object other) => identical(this, other) || other is CoordinateEqualityComparer && + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + + @override + String toString() => 'CoordinateEqualityComparer[]'; + + Map toJson() { + final json = {}; + return json; + } + + /// Returns a new [CoordinateEqualityComparer] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static CoordinateEqualityComparer? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), 'Required key "CoordinateEqualityComparer[$key]" is missing from JSON.'); + assert(json[key] != null, 'Required key "CoordinateEqualityComparer[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return CoordinateEqualityComparer( + ); + } + return null; + } + + static List listFromJson(dynamic json, {bool growable = false,}) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = CoordinateEqualityComparer.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = CoordinateEqualityComparer.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of CoordinateEqualityComparer-objects as value to a dart map + static Map> mapListFromJson(dynamic json, {bool growable = false,}) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = CoordinateEqualityComparer.listFromJson(entry.value, growable: growable,); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = { + }; +} + diff --git a/manager_api_new/lib/model/coordinate_sequence.dart b/manager_api_new/lib/model/coordinate_sequence.dart new file mode 100644 index 0000000..e3e8cd6 --- /dev/null +++ b/manager_api_new/lib/model/coordinate_sequence.dart @@ -0,0 +1,288 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class CoordinateSequence { + /// Returns a new [CoordinateSequence] instance. + CoordinateSequence({ + this.dimension, + this.measures, + this.spatial, + this.ordinates, + this.hasZ, + this.hasM, + this.zOrdinateIndex, + this.mOrdinateIndex, + this.first, + this.last, + this.count, + }); + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + int? dimension; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + int? measures; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + int? spatial; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + Ordinates? ordinates; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? hasZ; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? hasM; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + int? zOrdinateIndex; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + int? mOrdinateIndex; + + PointAllOfCoordinate? first; + + PointAllOfCoordinate? last; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + int? count; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is CoordinateSequence && + other.dimension == dimension && + other.measures == measures && + other.spatial == spatial && + other.ordinates == ordinates && + other.hasZ == hasZ && + other.hasM == hasM && + other.zOrdinateIndex == zOrdinateIndex && + other.mOrdinateIndex == mOrdinateIndex && + other.first == first && + other.last == last && + other.count == count; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (dimension == null ? 0 : dimension!.hashCode) + + (measures == null ? 0 : measures!.hashCode) + + (spatial == null ? 0 : spatial!.hashCode) + + (ordinates == null ? 0 : ordinates!.hashCode) + + (hasZ == null ? 0 : hasZ!.hashCode) + + (hasM == null ? 0 : hasM!.hashCode) + + (zOrdinateIndex == null ? 0 : zOrdinateIndex!.hashCode) + + (mOrdinateIndex == null ? 0 : mOrdinateIndex!.hashCode) + + (first == null ? 0 : first!.hashCode) + + (last == null ? 0 : last!.hashCode) + + (count == null ? 0 : count!.hashCode); + + @override + String toString() => + 'CoordinateSequence[dimension=$dimension, measures=$measures, spatial=$spatial, ordinates=$ordinates, hasZ=$hasZ, hasM=$hasM, zOrdinateIndex=$zOrdinateIndex, mOrdinateIndex=$mOrdinateIndex, first=$first, last=$last, count=$count]'; + + Map toJson() { + final json = {}; + if (this.dimension != null) { + json[r'dimension'] = this.dimension; + } else { + json[r'dimension'] = null; + } + if (this.measures != null) { + json[r'measures'] = this.measures; + } else { + json[r'measures'] = null; + } + if (this.spatial != null) { + json[r'spatial'] = this.spatial; + } else { + json[r'spatial'] = null; + } + if (this.ordinates != null) { + json[r'ordinates'] = this.ordinates; + } else { + json[r'ordinates'] = null; + } + if (this.hasZ != null) { + json[r'hasZ'] = this.hasZ; + } else { + json[r'hasZ'] = null; + } + if (this.hasM != null) { + json[r'hasM'] = this.hasM; + } else { + json[r'hasM'] = null; + } + if (this.zOrdinateIndex != null) { + json[r'zOrdinateIndex'] = this.zOrdinateIndex; + } else { + json[r'zOrdinateIndex'] = null; + } + if (this.mOrdinateIndex != null) { + json[r'mOrdinateIndex'] = this.mOrdinateIndex; + } else { + json[r'mOrdinateIndex'] = null; + } + if (this.first != null) { + json[r'first'] = this.first; + } else { + json[r'first'] = null; + } + if (this.last != null) { + json[r'last'] = this.last; + } else { + json[r'last'] = null; + } + if (this.count != null) { + json[r'count'] = this.count; + } else { + json[r'count'] = null; + } + return json; + } + + /// Returns a new [CoordinateSequence] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static CoordinateSequence? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "CoordinateSequence[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "CoordinateSequence[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return CoordinateSequence( + dimension: mapValueOfType(json, r'dimension'), + measures: mapValueOfType(json, r'measures'), + spatial: mapValueOfType(json, r'spatial'), + ordinates: Ordinates.fromJson(json[r'ordinates']), + hasZ: mapValueOfType(json, r'hasZ'), + hasM: mapValueOfType(json, r'hasM'), + zOrdinateIndex: mapValueOfType(json, r'zOrdinateIndex'), + mOrdinateIndex: mapValueOfType(json, r'mOrdinateIndex'), + first: PointAllOfCoordinate.fromJson(json[r'first']), + last: PointAllOfCoordinate.fromJson(json[r'last']), + count: mapValueOfType(json, r'count'), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = CoordinateSequence.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = CoordinateSequence.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of CoordinateSequence-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = CoordinateSequence.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = {}; +} diff --git a/manager_api_new/lib/model/coordinate_sequence_factory.dart b/manager_api_new/lib/model/coordinate_sequence_factory.dart new file mode 100644 index 0000000..b99513f --- /dev/null +++ b/manager_api_new/lib/model/coordinate_sequence_factory.dart @@ -0,0 +1,128 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class CoordinateSequenceFactory { + /// Returns a new [CoordinateSequenceFactory] instance. + CoordinateSequenceFactory({ + this.ordinates, + }); + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + Ordinates? ordinates; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is CoordinateSequenceFactory && other.ordinates == ordinates; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (ordinates == null ? 0 : ordinates!.hashCode); + + @override + String toString() => 'CoordinateSequenceFactory[ordinates=$ordinates]'; + + Map toJson() { + final json = {}; + if (this.ordinates != null) { + json[r'ordinates'] = this.ordinates; + } else { + json[r'ordinates'] = null; + } + return json; + } + + /// Returns a new [CoordinateSequenceFactory] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static CoordinateSequenceFactory? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "CoordinateSequenceFactory[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "CoordinateSequenceFactory[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return CoordinateSequenceFactory( + ordinates: Ordinates.fromJson(json[r'ordinates']), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = CoordinateSequenceFactory.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = CoordinateSequenceFactory.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of CoordinateSequenceFactory-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = CoordinateSequenceFactory.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = {}; +} diff --git a/manager_api_new/lib/model/dimension.dart b/manager_api_new/lib/model/dimension.dart new file mode 100644 index 0000000..364c8f7 --- /dev/null +++ b/manager_api_new/lib/model/dimension.dart @@ -0,0 +1,127 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +/// 0 = Point 0 = P 1 = Curve 1 = L 2 = Surface 2 = A 3 = Collapse -3 = Dontcare -2 = True -1 = False -1 = Unknown +class Dimension { + /// Instantiate a new enum with the provided [value]. + const Dimension._(this.value); + + /// The underlying value of this enum member. + final int value; + + @override + String toString() => value.toString(); + + int toJson() => value; + + static const number0 = Dimension._(0); + static const number02 = Dimension._(0); + static const number1 = Dimension._(1); + static const number12 = Dimension._(1); + static const number2 = Dimension._(2); + static const number22 = Dimension._(2); + static const number3 = Dimension._(3); + static const numberNegative3 = Dimension._(-3); + static const numberNegative2 = Dimension._(-2); + static const numberNegative1 = Dimension._(-1); + static const numberNegative12 = Dimension._(-1); + + /// List of all possible values in this [enum][Dimension]. + static const values = [ + number0, + number02, + number1, + number12, + number2, + number22, + number3, + numberNegative3, + numberNegative2, + numberNegative1, + numberNegative12, + ]; + + static Dimension? fromJson(dynamic value) => + DimensionTypeTransformer().decode(value); + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = Dimension.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } +} + +/// Transformation class that can [encode] an instance of [Dimension] to int, +/// and [decode] dynamic data back to [Dimension]. +class DimensionTypeTransformer { + factory DimensionTypeTransformer() => + _instance ??= const DimensionTypeTransformer._(); + + const DimensionTypeTransformer._(); + + int encode(Dimension data) => data.value; + + /// Decodes a [dynamic value][data] to a Dimension. + /// + /// If [allowNull] is true and the [dynamic value][data] cannot be decoded successfully, + /// then null is returned. However, if [allowNull] is false and the [dynamic value][data] + /// cannot be decoded successfully, then an [UnimplementedError] is thrown. + /// + /// The [allowNull] is very handy when an API changes and a new enum value is added or removed, + /// and users are still using an old app with the old code. + Dimension? decode(dynamic data, {bool allowNull = true}) { + if (data != null) { + switch (data) { + case 0: + return Dimension.number0; + case 0: + return Dimension.number02; + case 1: + return Dimension.number1; + case 1: + return Dimension.number12; + case 2: + return Dimension.number2; + case 2: + return Dimension.number22; + case 3: + return Dimension.number3; + case -3: + return Dimension.numberNegative3; + case -2: + return Dimension.numberNegative2; + case -1: + return Dimension.numberNegative1; + case -1: + return Dimension.numberNegative12; + default: + if (!allowNull) { + throw ArgumentError('Unknown enum value to decode: $data'); + } + } + } + return null; + } + + /// Singleton [DimensionTypeTransformer] instance. + static DimensionTypeTransformer? _instance; +} diff --git a/manager_api_new/lib/model/envelope.dart b/manager_api_new/lib/model/envelope.dart new file mode 100644 index 0000000..bf9dca5 --- /dev/null +++ b/manager_api_new/lib/model/envelope.dart @@ -0,0 +1,311 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class Envelope { + /// Returns a new [Envelope] instance. + Envelope({ + this.isNull, + this.width, + this.height, + this.diameter, + this.minX, + this.maxX, + this.minY, + this.maxY, + this.area, + this.minExtent, + this.maxExtent, + this.centre, + }); + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isNull; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? width; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? height; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? diameter; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? minX; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? maxX; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? minY; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? maxY; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? area; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? minExtent; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + double? maxExtent; + + PointAllOfCoordinate? centre; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is Envelope && + other.isNull == isNull && + other.width == width && + other.height == height && + other.diameter == diameter && + other.minX == minX && + other.maxX == maxX && + other.minY == minY && + other.maxY == maxY && + other.area == area && + other.minExtent == minExtent && + other.maxExtent == maxExtent && + other.centre == centre; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (isNull == null ? 0 : isNull!.hashCode) + + (width == null ? 0 : width!.hashCode) + + (height == null ? 0 : height!.hashCode) + + (diameter == null ? 0 : diameter!.hashCode) + + (minX == null ? 0 : minX!.hashCode) + + (maxX == null ? 0 : maxX!.hashCode) + + (minY == null ? 0 : minY!.hashCode) + + (maxY == null ? 0 : maxY!.hashCode) + + (area == null ? 0 : area!.hashCode) + + (minExtent == null ? 0 : minExtent!.hashCode) + + (maxExtent == null ? 0 : maxExtent!.hashCode) + + (centre == null ? 0 : centre!.hashCode); + + @override + String toString() => + 'Envelope[isNull=$isNull, width=$width, height=$height, diameter=$diameter, minX=$minX, maxX=$maxX, minY=$minY, maxY=$maxY, area=$area, minExtent=$minExtent, maxExtent=$maxExtent, centre=$centre]'; + + Map toJson() { + final json = {}; + if (this.isNull != null) { + json[r'isNull'] = this.isNull; + } else { + json[r'isNull'] = null; + } + if (this.width != null) { + json[r'width'] = this.width; + } else { + json[r'width'] = null; + } + if (this.height != null) { + json[r'height'] = this.height; + } else { + json[r'height'] = null; + } + if (this.diameter != null) { + json[r'diameter'] = this.diameter; + } else { + json[r'diameter'] = null; + } + if (this.minX != null) { + json[r'minX'] = this.minX; + } else { + json[r'minX'] = null; + } + if (this.maxX != null) { + json[r'maxX'] = this.maxX; + } else { + json[r'maxX'] = null; + } + if (this.minY != null) { + json[r'minY'] = this.minY; + } else { + json[r'minY'] = null; + } + if (this.maxY != null) { + json[r'maxY'] = this.maxY; + } else { + json[r'maxY'] = null; + } + if (this.area != null) { + json[r'area'] = this.area; + } else { + json[r'area'] = null; + } + if (this.minExtent != null) { + json[r'minExtent'] = this.minExtent; + } else { + json[r'minExtent'] = null; + } + if (this.maxExtent != null) { + json[r'maxExtent'] = this.maxExtent; + } else { + json[r'maxExtent'] = null; + } + if (this.centre != null) { + json[r'centre'] = this.centre; + } else { + json[r'centre'] = null; + } + return json; + } + + /// Returns a new [Envelope] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static Envelope? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "Envelope[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "Envelope[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return Envelope( + isNull: mapValueOfType(json, r'isNull'), + width: mapValueOfType(json, r'width'), + height: mapValueOfType(json, r'height'), + diameter: mapValueOfType(json, r'diameter'), + minX: mapValueOfType(json, r'minX'), + maxX: mapValueOfType(json, r'maxX'), + minY: mapValueOfType(json, r'minY'), + maxY: mapValueOfType(json, r'maxY'), + area: mapValueOfType(json, r'area'), + minExtent: mapValueOfType(json, r'minExtent'), + maxExtent: mapValueOfType(json, r'maxExtent'), + centre: PointAllOfCoordinate.fromJson(json[r'centre']), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = Envelope.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = Envelope.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of Envelope-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = Envelope.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = {}; +} diff --git a/manager_api_new/lib/model/event_address_dto.dart b/manager_api_new/lib/model/event_address_dto.dart new file mode 100644 index 0000000..01d285b --- /dev/null +++ b/manager_api_new/lib/model/event_address_dto.dart @@ -0,0 +1,229 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class EventAddressDTO { + /// Returns a new [EventAddressDTO] instance. + EventAddressDTO({ + this.address, + this.streetNumber, + this.streetName, + this.city, + this.state, + this.postCode, + this.country, + this.geometry, + this.polyColor, + this.zoom, + }); + + String? address; + + String? streetNumber; + + String? streetName; + + String? city; + + String? state; + + String? postCode; + + String? country; + + EventAddressDTOGeometry? geometry; + + String? polyColor; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + int? zoom; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is EventAddressDTO && + other.address == address && + other.streetNumber == streetNumber && + other.streetName == streetName && + other.city == city && + other.state == state && + other.postCode == postCode && + other.country == country && + other.geometry == geometry && + other.polyColor == polyColor && + other.zoom == zoom; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (address == null ? 0 : address!.hashCode) + + (streetNumber == null ? 0 : streetNumber!.hashCode) + + (streetName == null ? 0 : streetName!.hashCode) + + (city == null ? 0 : city!.hashCode) + + (state == null ? 0 : state!.hashCode) + + (postCode == null ? 0 : postCode!.hashCode) + + (country == null ? 0 : country!.hashCode) + + (geometry == null ? 0 : geometry!.hashCode) + + (polyColor == null ? 0 : polyColor!.hashCode) + + (zoom == null ? 0 : zoom!.hashCode); + + @override + String toString() => + 'EventAddressDTO[address=$address, streetNumber=$streetNumber, streetName=$streetName, city=$city, state=$state, postCode=$postCode, country=$country, geometry=$geometry, polyColor=$polyColor, zoom=$zoom]'; + + Map toJson() { + final json = {}; + if (this.address != null) { + json[r'address'] = this.address; + } else { + json[r'address'] = null; + } + if (this.streetNumber != null) { + json[r'streetNumber'] = this.streetNumber; + } else { + json[r'streetNumber'] = null; + } + if (this.streetName != null) { + json[r'streetName'] = this.streetName; + } else { + json[r'streetName'] = null; + } + if (this.city != null) { + json[r'city'] = this.city; + } else { + json[r'city'] = null; + } + if (this.state != null) { + json[r'state'] = this.state; + } else { + json[r'state'] = null; + } + if (this.postCode != null) { + json[r'postCode'] = this.postCode; + } else { + json[r'postCode'] = null; + } + if (this.country != null) { + json[r'country'] = this.country; + } else { + json[r'country'] = null; + } + if (this.geometry != null) { + json[r'geometry'] = this.geometry; + } else { + json[r'geometry'] = null; + } + if (this.polyColor != null) { + json[r'polyColor'] = this.polyColor; + } else { + json[r'polyColor'] = null; + } + if (this.zoom != null) { + json[r'zoom'] = this.zoom; + } else { + json[r'zoom'] = null; + } + return json; + } + + /// Returns a new [EventAddressDTO] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static EventAddressDTO? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "EventAddressDTO[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "EventAddressDTO[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return EventAddressDTO( + address: mapValueOfType(json, r'address'), + streetNumber: mapValueOfType(json, r'streetNumber'), + streetName: mapValueOfType(json, r'streetName'), + city: mapValueOfType(json, r'city'), + state: mapValueOfType(json, r'state'), + postCode: mapValueOfType(json, r'postCode'), + country: mapValueOfType(json, r'country'), + geometry: EventAddressDTOGeometry.fromJson(json[r'geometry']), + polyColor: mapValueOfType(json, r'polyColor'), + zoom: mapValueOfType(json, r'zoom'), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = EventAddressDTO.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = EventAddressDTO.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of EventAddressDTO-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = EventAddressDTO.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = {}; +} diff --git a/manager_api_new/lib/model/event_address_dto_geometry.dart b/manager_api_new/lib/model/event_address_dto_geometry.dart new file mode 100644 index 0000000..50698c4 --- /dev/null +++ b/manager_api_new/lib/model/event_address_dto_geometry.dart @@ -0,0 +1,135 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class EventAddressDTOGeometry { + /// Returns a new [EventAddressDTOGeometry] instance. + EventAddressDTOGeometry({ + this.type, + this.coordinates, + }); + + String? type; + + Object? coordinates; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is EventAddressDTOGeometry && + other.type == type && + other.coordinates == coordinates; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (type == null ? 0 : type!.hashCode) + + (coordinates == null ? 0 : coordinates!.hashCode); + + @override + String toString() => + 'EventAddressDTOGeometry[type=$type, coordinates=$coordinates]'; + + Map toJson() { + final json = {}; + if (this.type != null) { + json[r'type'] = this.type; + } else { + json[r'type'] = null; + } + if (this.coordinates != null) { + json[r'coordinates'] = this.coordinates; + } else { + json[r'coordinates'] = null; + } + return json; + } + + /// Returns a new [EventAddressDTOGeometry] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static EventAddressDTOGeometry? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "EventAddressDTOGeometry[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "EventAddressDTOGeometry[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return EventAddressDTOGeometry( + type: mapValueOfType(json, r'type'), + coordinates: mapValueOfType(json, r'coordinates'), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = EventAddressDTOGeometry.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = EventAddressDTOGeometry.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of EventAddressDTOGeometry-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = EventAddressDTOGeometry.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = {}; +} diff --git a/manager_api_new/lib/model/event_agenda_dto.dart b/manager_api_new/lib/model/event_agenda_dto.dart new file mode 100644 index 0000000..a94fb41 --- /dev/null +++ b/manager_api_new/lib/model/event_agenda_dto.dart @@ -0,0 +1,284 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class EventAgendaDTO { + /// Returns a new [EventAgendaDTO] instance. + EventAgendaDTO({ + this.id, + this.label = const [], + this.description = const [], + this.type, + this.dateAdded, + this.dateFrom, + this.dateTo, + this.website, + this.resourceId, + this.resource, + this.address, + this.phone, + this.email, + this.sectionAgendaId, + this.sectionEventId, + }); + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + int? id; + + List? label; + + List? description; + + String? type; + + DateTime? dateAdded; + + DateTime? dateFrom; + + DateTime? dateTo; + + String? website; + + String? resourceId; + + EventAgendaDTOResource? resource; + + EventAgendaDTOAddress? address; + + String? phone; + + String? email; + + String? sectionAgendaId; + + String? sectionEventId; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is EventAgendaDTO && + other.id == id && + _deepEquality.equals(other.label, label) && + _deepEquality.equals(other.description, description) && + other.type == type && + other.dateAdded == dateAdded && + other.dateFrom == dateFrom && + other.dateTo == dateTo && + other.website == website && + other.resourceId == resourceId && + other.resource == resource && + other.address == address && + other.phone == phone && + other.email == email && + other.sectionAgendaId == sectionAgendaId && + other.sectionEventId == sectionEventId; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (id == null ? 0 : id!.hashCode) + + (label == null ? 0 : label!.hashCode) + + (description == null ? 0 : description!.hashCode) + + (type == null ? 0 : type!.hashCode) + + (dateAdded == null ? 0 : dateAdded!.hashCode) + + (dateFrom == null ? 0 : dateFrom!.hashCode) + + (dateTo == null ? 0 : dateTo!.hashCode) + + (website == null ? 0 : website!.hashCode) + + (resourceId == null ? 0 : resourceId!.hashCode) + + (resource == null ? 0 : resource!.hashCode) + + (address == null ? 0 : address!.hashCode) + + (phone == null ? 0 : phone!.hashCode) + + (email == null ? 0 : email!.hashCode) + + (sectionAgendaId == null ? 0 : sectionAgendaId!.hashCode) + + (sectionEventId == null ? 0 : sectionEventId!.hashCode); + + @override + String toString() => + 'EventAgendaDTO[id=$id, label=$label, description=$description, type=$type, dateAdded=$dateAdded, dateFrom=$dateFrom, dateTo=$dateTo, website=$website, resourceId=$resourceId, resource=$resource, address=$address, phone=$phone, email=$email, sectionAgendaId=$sectionAgendaId, sectionEventId=$sectionEventId]'; + + Map toJson() { + final json = {}; + if (this.id != null) { + json[r'id'] = this.id; + } else { + json[r'id'] = null; + } + if (this.label != null) { + json[r'label'] = this.label; + } else { + json[r'label'] = null; + } + if (this.description != null) { + json[r'description'] = this.description; + } else { + json[r'description'] = null; + } + if (this.type != null) { + json[r'type'] = this.type; + } else { + json[r'type'] = null; + } + if (this.dateAdded != null) { + json[r'dateAdded'] = this.dateAdded!.toUtc().toIso8601String(); + } else { + json[r'dateAdded'] = null; + } + if (this.dateFrom != null) { + json[r'dateFrom'] = this.dateFrom!.toUtc().toIso8601String(); + } else { + json[r'dateFrom'] = null; + } + if (this.dateTo != null) { + json[r'dateTo'] = this.dateTo!.toUtc().toIso8601String(); + } else { + json[r'dateTo'] = null; + } + if (this.website != null) { + json[r'website'] = this.website; + } else { + json[r'website'] = null; + } + if (this.resourceId != null) { + json[r'resourceId'] = this.resourceId; + } else { + json[r'resourceId'] = null; + } + if (this.resource != null) { + json[r'resource'] = this.resource; + } else { + json[r'resource'] = null; + } + if (this.address != null) { + json[r'address'] = this.address; + } else { + json[r'address'] = null; + } + if (this.phone != null) { + json[r'phone'] = this.phone; + } else { + json[r'phone'] = null; + } + if (this.email != null) { + json[r'email'] = this.email; + } else { + json[r'email'] = null; + } + if (this.sectionAgendaId != null) { + json[r'sectionAgendaId'] = this.sectionAgendaId; + } else { + json[r'sectionAgendaId'] = null; + } + if (this.sectionEventId != null) { + json[r'sectionEventId'] = this.sectionEventId; + } else { + json[r'sectionEventId'] = null; + } + return json; + } + + /// Returns a new [EventAgendaDTO] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static EventAgendaDTO? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "EventAgendaDTO[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "EventAgendaDTO[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return EventAgendaDTO( + id: mapValueOfType(json, r'id'), + label: TranslationDTO.listFromJson(json[r'label']), + description: TranslationDTO.listFromJson(json[r'description']), + type: mapValueOfType(json, r'type'), + dateAdded: mapDateTime(json, r'dateAdded', r''), + dateFrom: mapDateTime(json, r'dateFrom', r''), + dateTo: mapDateTime(json, r'dateTo', r''), + website: mapValueOfType(json, r'website'), + resourceId: mapValueOfType(json, r'resourceId'), + resource: EventAgendaDTOResource.fromJson(json[r'resource']), + address: EventAgendaDTOAddress.fromJson(json[r'address']), + phone: mapValueOfType(json, r'phone'), + email: mapValueOfType(json, r'email'), + sectionAgendaId: mapValueOfType(json, r'sectionAgendaId'), + sectionEventId: mapValueOfType(json, r'sectionEventId'), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = EventAgendaDTO.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = EventAgendaDTO.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of EventAgendaDTO-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = EventAgendaDTO.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = {}; +} diff --git a/manager_api_new/lib/model/event_agenda_dto_address.dart b/manager_api_new/lib/model/event_agenda_dto_address.dart new file mode 100644 index 0000000..209f7c1 --- /dev/null +++ b/manager_api_new/lib/model/event_agenda_dto_address.dart @@ -0,0 +1,229 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class EventAgendaDTOAddress { + /// Returns a new [EventAgendaDTOAddress] instance. + EventAgendaDTOAddress({ + this.address, + this.streetNumber, + this.streetName, + this.city, + this.state, + this.postCode, + this.country, + this.geometry, + this.polyColor, + this.zoom, + }); + + String? address; + + String? streetNumber; + + String? streetName; + + String? city; + + String? state; + + String? postCode; + + String? country; + + EventAddressDTOGeometry? geometry; + + String? polyColor; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + int? zoom; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is EventAgendaDTOAddress && + other.address == address && + other.streetNumber == streetNumber && + other.streetName == streetName && + other.city == city && + other.state == state && + other.postCode == postCode && + other.country == country && + other.geometry == geometry && + other.polyColor == polyColor && + other.zoom == zoom; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (address == null ? 0 : address!.hashCode) + + (streetNumber == null ? 0 : streetNumber!.hashCode) + + (streetName == null ? 0 : streetName!.hashCode) + + (city == null ? 0 : city!.hashCode) + + (state == null ? 0 : state!.hashCode) + + (postCode == null ? 0 : postCode!.hashCode) + + (country == null ? 0 : country!.hashCode) + + (geometry == null ? 0 : geometry!.hashCode) + + (polyColor == null ? 0 : polyColor!.hashCode) + + (zoom == null ? 0 : zoom!.hashCode); + + @override + String toString() => + 'EventAgendaDTOAddress[address=$address, streetNumber=$streetNumber, streetName=$streetName, city=$city, state=$state, postCode=$postCode, country=$country, geometry=$geometry, polyColor=$polyColor, zoom=$zoom]'; + + Map toJson() { + final json = {}; + if (this.address != null) { + json[r'address'] = this.address; + } else { + json[r'address'] = null; + } + if (this.streetNumber != null) { + json[r'streetNumber'] = this.streetNumber; + } else { + json[r'streetNumber'] = null; + } + if (this.streetName != null) { + json[r'streetName'] = this.streetName; + } else { + json[r'streetName'] = null; + } + if (this.city != null) { + json[r'city'] = this.city; + } else { + json[r'city'] = null; + } + if (this.state != null) { + json[r'state'] = this.state; + } else { + json[r'state'] = null; + } + if (this.postCode != null) { + json[r'postCode'] = this.postCode; + } else { + json[r'postCode'] = null; + } + if (this.country != null) { + json[r'country'] = this.country; + } else { + json[r'country'] = null; + } + if (this.geometry != null) { + json[r'geometry'] = this.geometry; + } else { + json[r'geometry'] = null; + } + if (this.polyColor != null) { + json[r'polyColor'] = this.polyColor; + } else { + json[r'polyColor'] = null; + } + if (this.zoom != null) { + json[r'zoom'] = this.zoom; + } else { + json[r'zoom'] = null; + } + return json; + } + + /// Returns a new [EventAgendaDTOAddress] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static EventAgendaDTOAddress? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "EventAgendaDTOAddress[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "EventAgendaDTOAddress[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return EventAgendaDTOAddress( + address: mapValueOfType(json, r'address'), + streetNumber: mapValueOfType(json, r'streetNumber'), + streetName: mapValueOfType(json, r'streetName'), + city: mapValueOfType(json, r'city'), + state: mapValueOfType(json, r'state'), + postCode: mapValueOfType(json, r'postCode'), + country: mapValueOfType(json, r'country'), + geometry: EventAddressDTOGeometry.fromJson(json[r'geometry']), + polyColor: mapValueOfType(json, r'polyColor'), + zoom: mapValueOfType(json, r'zoom'), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = EventAgendaDTOAddress.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = EventAgendaDTOAddress.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of EventAgendaDTOAddress-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = EventAgendaDTOAddress.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = {}; +} diff --git a/manager_api_new/lib/model/event_agenda_dto_resource.dart b/manager_api_new/lib/model/event_agenda_dto_resource.dart new file mode 100644 index 0000000..e50de27 --- /dev/null +++ b/manager_api_new/lib/model/event_agenda_dto_resource.dart @@ -0,0 +1,191 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +part of openapi.api; + +class EventAgendaDTOResource { + /// Returns a new [EventAgendaDTOResource] instance. + EventAgendaDTOResource({ + this.id, + this.type, + this.label, + this.url, + this.dateCreation, + this.instanceId, + }); + + String? id; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + ResourceType? type; + + String? label; + + String? url; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + DateTime? dateCreation; + + String? instanceId; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is EventAgendaDTOResource && + other.id == id && + other.type == type && + other.label == label && + other.url == url && + other.dateCreation == dateCreation && + other.instanceId == instanceId; + + @override + int get hashCode => + // ignore: unnecessary_parenthesis + (id == null ? 0 : id!.hashCode) + + (type == null ? 0 : type!.hashCode) + + (label == null ? 0 : label!.hashCode) + + (url == null ? 0 : url!.hashCode) + + (dateCreation == null ? 0 : dateCreation!.hashCode) + + (instanceId == null ? 0 : instanceId!.hashCode); + + @override + String toString() => + 'EventAgendaDTOResource[id=$id, type=$type, label=$label, url=$url, dateCreation=$dateCreation, instanceId=$instanceId]'; + + Map toJson() { + final json = {}; + if (this.id != null) { + json[r'id'] = this.id; + } else { + json[r'id'] = null; + } + if (this.type != null) { + json[r'type'] = this.type; + } else { + json[r'type'] = null; + } + if (this.label != null) { + json[r'label'] = this.label; + } else { + json[r'label'] = null; + } + if (this.url != null) { + json[r'url'] = this.url; + } else { + json[r'url'] = null; + } + if (this.dateCreation != null) { + json[r'dateCreation'] = this.dateCreation!.toUtc().toIso8601String(); + } else { + json[r'dateCreation'] = null; + } + if (this.instanceId != null) { + json[r'instanceId'] = this.instanceId; + } else { + json[r'instanceId'] = null; + } + return json; + } + + /// Returns a new [EventAgendaDTOResource] instance and imports its values from + /// [value] if it's a [Map], null otherwise. + // ignore: prefer_constructors_over_static_methods + static EventAgendaDTOResource? fromJson(dynamic value) { + if (value is Map) { + final json = value.cast(); + + // Ensure that the map contains the required keys. + // Note 1: the values aren't checked for validity beyond being non-null. + // Note 2: this code is stripped in release mode! + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), + 'Required key "EventAgendaDTOResource[$key]" is missing from JSON.'); + assert(json[key] != null, + 'Required key "EventAgendaDTOResource[$key]" has a null value in JSON.'); + }); + return true; + }()); + + return EventAgendaDTOResource( + id: mapValueOfType(json, r'id'), + type: ResourceType.fromJson(json[r'type']), + label: mapValueOfType(json, r'label'), + url: mapValueOfType(json, r'url'), + dateCreation: mapDateTime(json, r'dateCreation', r''), + instanceId: mapValueOfType(json, r'instanceId'), + ); + } + return null; + } + + static List listFromJson( + dynamic json, { + bool growable = false, + }) { + final result = []; + if (json is List && json.isNotEmpty) { + for (final row in json) { + final value = EventAgendaDTOResource.fromJson(row); + if (value != null) { + result.add(value); + } + } + } + return result.toList(growable: growable); + } + + static Map mapFromJson(dynamic json) { + final map = {}; + if (json is Map && json.isNotEmpty) { + json = json.cast(); // ignore: parameter_assignments + for (final entry in json.entries) { + final value = EventAgendaDTOResource.fromJson(entry.value); + if (value != null) { + map[entry.key] = value; + } + } + } + return map; + } + + // maps a json object with a list of EventAgendaDTOResource-objects as value to a dart map + static Map> mapListFromJson( + dynamic json, { + bool growable = false, + }) { + final map = >{}; + if (json is Map && json.isNotEmpty) { + // ignore: parameter_assignments + json = json.cast(); + for (final entry in json.entries) { + map[entry.key] = EventAgendaDTOResource.listFromJson( + entry.value, + growable: growable, + ); + } + } + return map; + } + + /// The list of required keys that must be present in a JSON. + static const requiredKeys = {}; +} diff --git a/manager_api_new/lib/model/export_configuration_dto.dart b/manager_api_new/lib/model/export_configuration_dto.dart index bdc808c..b567866 100644 --- a/manager_api_new/lib/model/export_configuration_dto.dart +++ b/manager_api_new/lib/model/export_configuration_dto.dart @@ -14,6 +14,7 @@ class ExportConfigurationDTO { /// Returns a new [ExportConfigurationDTO] instance. ExportConfigurationDTO({ this.id, + this.instanceId, this.label, this.title = const [], this.imageId, @@ -22,24 +23,18 @@ class ExportConfigurationDTO { this.secondaryColor, this.languages = const [], this.dateCreation, - this.isMobile, - this.isTablet, this.isOffline, - this.instanceId, this.sectionIds = const [], this.loaderImageId, this.loaderImageUrl, - this.isDate, - this.isHour, - this.isSectionImageBackground, - this.roundedValue, - this.screenPercentageSectionsMainPage, this.sections = const [], this.resources = const [], }); String? id; + String? instanceId; + String? label; List? title; @@ -62,22 +57,6 @@ class ExportConfigurationDTO { /// DateTime? dateCreation; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isMobile; - - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isTablet; - /// /// Please note: This property should have been non-nullable! Since the specification file /// does not include a default value (using the "default:" property), however, the generated @@ -86,42 +65,12 @@ class ExportConfigurationDTO { /// bool? isOffline; - String? instanceId; - List? sectionIds; String? loaderImageId; String? loaderImageUrl; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isDate; - - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isHour; - - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isSectionImageBackground; - - int? roundedValue; - - int? screenPercentageSectionsMainPage; - List? sections; List? resources; @@ -131,6 +80,7 @@ class ExportConfigurationDTO { identical(this, other) || other is ExportConfigurationDTO && other.id == id && + other.instanceId == instanceId && other.label == label && _deepEquality.equals(other.title, title) && other.imageId == imageId && @@ -139,19 +89,10 @@ class ExportConfigurationDTO { other.secondaryColor == secondaryColor && _deepEquality.equals(other.languages, languages) && other.dateCreation == dateCreation && - other.isMobile == isMobile && - other.isTablet == isTablet && other.isOffline == isOffline && - other.instanceId == instanceId && _deepEquality.equals(other.sectionIds, sectionIds) && other.loaderImageId == loaderImageId && other.loaderImageUrl == loaderImageUrl && - other.isDate == isDate && - other.isHour == isHour && - other.isSectionImageBackground == isSectionImageBackground && - other.roundedValue == roundedValue && - other.screenPercentageSectionsMainPage == - screenPercentageSectionsMainPage && _deepEquality.equals(other.sections, sections) && _deepEquality.equals(other.resources, resources); @@ -159,6 +100,7 @@ class ExportConfigurationDTO { int get hashCode => // ignore: unnecessary_parenthesis (id == null ? 0 : id!.hashCode) + + (instanceId == null ? 0 : instanceId!.hashCode) + (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + @@ -167,28 +109,16 @@ class ExportConfigurationDTO { (secondaryColor == null ? 0 : secondaryColor!.hashCode) + (languages == null ? 0 : languages!.hashCode) + (dateCreation == null ? 0 : dateCreation!.hashCode) + - (isMobile == null ? 0 : isMobile!.hashCode) + - (isTablet == null ? 0 : isTablet!.hashCode) + (isOffline == null ? 0 : isOffline!.hashCode) + - (instanceId == null ? 0 : instanceId!.hashCode) + (sectionIds == null ? 0 : sectionIds!.hashCode) + (loaderImageId == null ? 0 : loaderImageId!.hashCode) + (loaderImageUrl == null ? 0 : loaderImageUrl!.hashCode) + - (isDate == null ? 0 : isDate!.hashCode) + - (isHour == null ? 0 : isHour!.hashCode) + - (isSectionImageBackground == null - ? 0 - : isSectionImageBackground!.hashCode) + - (roundedValue == null ? 0 : roundedValue!.hashCode) + - (screenPercentageSectionsMainPage == null - ? 0 - : screenPercentageSectionsMainPage!.hashCode) + (sections == null ? 0 : sections!.hashCode) + (resources == null ? 0 : resources!.hashCode); @override String toString() => - 'ExportConfigurationDTO[id=$id, label=$label, title=$title, imageId=$imageId, imageSource=$imageSource, primaryColor=$primaryColor, secondaryColor=$secondaryColor, languages=$languages, dateCreation=$dateCreation, isMobile=$isMobile, isTablet=$isTablet, isOffline=$isOffline, instanceId=$instanceId, sectionIds=$sectionIds, loaderImageId=$loaderImageId, loaderImageUrl=$loaderImageUrl, isDate=$isDate, isHour=$isHour, isSectionImageBackground=$isSectionImageBackground, roundedValue=$roundedValue, screenPercentageSectionsMainPage=$screenPercentageSectionsMainPage, sections=$sections, resources=$resources]'; + 'ExportConfigurationDTO[id=$id, instanceId=$instanceId, label=$label, title=$title, imageId=$imageId, imageSource=$imageSource, primaryColor=$primaryColor, secondaryColor=$secondaryColor, languages=$languages, dateCreation=$dateCreation, isOffline=$isOffline, sectionIds=$sectionIds, loaderImageId=$loaderImageId, loaderImageUrl=$loaderImageUrl, sections=$sections, resources=$resources]'; Map toJson() { final json = {}; @@ -197,6 +127,11 @@ class ExportConfigurationDTO { } else { json[r'id'] = null; } + if (this.instanceId != null) { + json[r'instanceId'] = this.instanceId; + } else { + json[r'instanceId'] = null; + } if (this.label != null) { json[r'label'] = this.label; } else { @@ -237,26 +172,11 @@ class ExportConfigurationDTO { } else { json[r'dateCreation'] = null; } - if (this.isMobile != null) { - json[r'isMobile'] = this.isMobile; - } else { - json[r'isMobile'] = null; - } - if (this.isTablet != null) { - json[r'isTablet'] = this.isTablet; - } else { - json[r'isTablet'] = null; - } if (this.isOffline != null) { json[r'isOffline'] = this.isOffline; } else { json[r'isOffline'] = null; } - if (this.instanceId != null) { - json[r'instanceId'] = this.instanceId; - } else { - json[r'instanceId'] = null; - } if (this.sectionIds != null) { json[r'sectionIds'] = this.sectionIds; } else { @@ -272,32 +192,6 @@ class ExportConfigurationDTO { } else { json[r'loaderImageUrl'] = null; } - if (this.isDate != null) { - json[r'isDate'] = this.isDate; - } else { - json[r'isDate'] = null; - } - if (this.isHour != null) { - json[r'isHour'] = this.isHour; - } else { - json[r'isHour'] = null; - } - if (this.isSectionImageBackground != null) { - json[r'isSectionImageBackground'] = this.isSectionImageBackground; - } else { - json[r'isSectionImageBackground'] = null; - } - if (this.roundedValue != null) { - json[r'roundedValue'] = this.roundedValue; - } else { - json[r'roundedValue'] = null; - } - if (this.screenPercentageSectionsMainPage != null) { - json[r'screenPercentageSectionsMainPage'] = - this.screenPercentageSectionsMainPage; - } else { - json[r'screenPercentageSectionsMainPage'] = null; - } if (this.sections != null) { json[r'sections'] = this.sections; } else { @@ -333,6 +227,7 @@ class ExportConfigurationDTO { return ExportConfigurationDTO( id: mapValueOfType(json, r'id'), + instanceId: mapValueOfType(json, r'instanceId'), label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), imageId: mapValueOfType(json, r'imageId'), @@ -345,10 +240,7 @@ class ExportConfigurationDTO { .toList(growable: false) : const [], dateCreation: mapDateTime(json, r'dateCreation', r''), - isMobile: mapValueOfType(json, r'isMobile'), - isTablet: mapValueOfType(json, r'isTablet'), isOffline: mapValueOfType(json, r'isOffline'), - instanceId: mapValueOfType(json, r'instanceId'), sectionIds: json[r'sectionIds'] is Iterable ? (json[r'sectionIds'] as Iterable) .cast() @@ -356,13 +248,6 @@ class ExportConfigurationDTO { : const [], loaderImageId: mapValueOfType(json, r'loaderImageId'), loaderImageUrl: mapValueOfType(json, r'loaderImageUrl'), - isDate: mapValueOfType(json, r'isDate'), - isHour: mapValueOfType(json, r'isHour'), - isSectionImageBackground: - mapValueOfType(json, r'isSectionImageBackground'), - roundedValue: mapValueOfType(json, r'roundedValue'), - screenPercentageSectionsMainPage: - mapValueOfType(json, r'screenPercentageSectionsMainPage'), sections: SectionDTO.listFromJson(json[r'sections']), resources: ResourceDTO.listFromJson(json[r'resources']), ); diff --git a/manager_api_new/lib/model/instance.dart b/manager_api_new/lib/model/instance.dart index 84aed0c..fa96a04 100644 --- a/manager_api_new/lib/model/instance.dart +++ b/manager_api_new/lib/model/instance.dart @@ -17,6 +17,11 @@ class Instance { required this.name, this.dateCreation, this.pinCode, + this.isPushNotification, + this.isStatistic, + this.isMobile, + this.isTablet, + this.isVR, }); String id; @@ -33,6 +38,46 @@ class Instance { String? pinCode; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isPushNotification; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isStatistic; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isMobile; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isTablet; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isVR; + @override bool operator ==(Object other) => identical(this, other) || @@ -40,7 +85,12 @@ class Instance { other.id == id && other.name == name && other.dateCreation == dateCreation && - other.pinCode == pinCode; + other.pinCode == pinCode && + other.isPushNotification == isPushNotification && + other.isStatistic == isStatistic && + other.isMobile == isMobile && + other.isTablet == isTablet && + other.isVR == isVR; @override int get hashCode => @@ -48,11 +98,16 @@ class Instance { (id.hashCode) + (name.hashCode) + (dateCreation == null ? 0 : dateCreation!.hashCode) + - (pinCode == null ? 0 : pinCode!.hashCode); + (pinCode == null ? 0 : pinCode!.hashCode) + + (isPushNotification == null ? 0 : isPushNotification!.hashCode) + + (isStatistic == null ? 0 : isStatistic!.hashCode) + + (isMobile == null ? 0 : isMobile!.hashCode) + + (isTablet == null ? 0 : isTablet!.hashCode) + + (isVR == null ? 0 : isVR!.hashCode); @override String toString() => - 'Instance[id=$id, name=$name, dateCreation=$dateCreation, pinCode=$pinCode]'; + 'Instance[id=$id, name=$name, dateCreation=$dateCreation, pinCode=$pinCode, isPushNotification=$isPushNotification, isStatistic=$isStatistic, isMobile=$isMobile, isTablet=$isTablet, isVR=$isVR]'; Map toJson() { final json = {}; @@ -68,6 +123,31 @@ class Instance { } else { json[r'pinCode'] = null; } + if (this.isPushNotification != null) { + json[r'isPushNotification'] = this.isPushNotification; + } else { + json[r'isPushNotification'] = null; + } + if (this.isStatistic != null) { + json[r'isStatistic'] = this.isStatistic; + } else { + json[r'isStatistic'] = null; + } + if (this.isMobile != null) { + json[r'isMobile'] = this.isMobile; + } else { + json[r'isMobile'] = null; + } + if (this.isTablet != null) { + json[r'isTablet'] = this.isTablet; + } else { + json[r'isTablet'] = null; + } + if (this.isVR != null) { + json[r'isVR'] = this.isVR; + } else { + json[r'isVR'] = null; + } return json; } @@ -96,6 +176,11 @@ class Instance { name: mapValueOfType(json, r'name')!, dateCreation: mapDateTime(json, r'dateCreation', r''), pinCode: mapValueOfType(json, r'pinCode'), + isPushNotification: mapValueOfType(json, r'isPushNotification'), + isStatistic: mapValueOfType(json, r'isStatistic'), + isMobile: mapValueOfType(json, r'isMobile'), + isTablet: mapValueOfType(json, r'isTablet'), + isVR: mapValueOfType(json, r'isVR'), ); } return null; diff --git a/manager_api_new/lib/model/instance_dto.dart b/manager_api_new/lib/model/instance_dto.dart index 3dff3e1..082b895 100644 --- a/manager_api_new/lib/model/instance_dto.dart +++ b/manager_api_new/lib/model/instance_dto.dart @@ -17,6 +17,11 @@ class InstanceDTO { this.name, this.dateCreation, this.pinCode, + this.isPushNotification, + this.isStatistic, + this.isMobile, + this.isTablet, + this.isVR, }); String? id; @@ -27,6 +32,46 @@ class InstanceDTO { String? pinCode; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isPushNotification; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isStatistic; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isMobile; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isTablet; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isVR; + @override bool operator ==(Object other) => identical(this, other) || @@ -34,7 +79,12 @@ class InstanceDTO { other.id == id && other.name == name && other.dateCreation == dateCreation && - other.pinCode == pinCode; + other.pinCode == pinCode && + other.isPushNotification == isPushNotification && + other.isStatistic == isStatistic && + other.isMobile == isMobile && + other.isTablet == isTablet && + other.isVR == isVR; @override int get hashCode => @@ -42,11 +92,16 @@ class InstanceDTO { (id == null ? 0 : id!.hashCode) + (name == null ? 0 : name!.hashCode) + (dateCreation == null ? 0 : dateCreation!.hashCode) + - (pinCode == null ? 0 : pinCode!.hashCode); + (pinCode == null ? 0 : pinCode!.hashCode) + + (isPushNotification == null ? 0 : isPushNotification!.hashCode) + + (isStatistic == null ? 0 : isStatistic!.hashCode) + + (isMobile == null ? 0 : isMobile!.hashCode) + + (isTablet == null ? 0 : isTablet!.hashCode) + + (isVR == null ? 0 : isVR!.hashCode); @override String toString() => - 'InstanceDTO[id=$id, name=$name, dateCreation=$dateCreation, pinCode=$pinCode]'; + 'InstanceDTO[id=$id, name=$name, dateCreation=$dateCreation, pinCode=$pinCode, isPushNotification=$isPushNotification, isStatistic=$isStatistic, isMobile=$isMobile, isTablet=$isTablet, isVR=$isVR]'; Map toJson() { final json = {}; @@ -70,6 +125,31 @@ class InstanceDTO { } else { json[r'pinCode'] = null; } + if (this.isPushNotification != null) { + json[r'isPushNotification'] = this.isPushNotification; + } else { + json[r'isPushNotification'] = null; + } + if (this.isStatistic != null) { + json[r'isStatistic'] = this.isStatistic; + } else { + json[r'isStatistic'] = null; + } + if (this.isMobile != null) { + json[r'isMobile'] = this.isMobile; + } else { + json[r'isMobile'] = null; + } + if (this.isTablet != null) { + json[r'isTablet'] = this.isTablet; + } else { + json[r'isTablet'] = null; + } + if (this.isVR != null) { + json[r'isVR'] = this.isVR; + } else { + json[r'isVR'] = null; + } return json; } @@ -98,6 +178,11 @@ class InstanceDTO { name: mapValueOfType(json, r'name'), dateCreation: mapDateTime(json, r'dateCreation', r''), pinCode: mapValueOfType(json, r'pinCode'), + isPushNotification: mapValueOfType(json, r'isPushNotification'), + isStatistic: mapValueOfType(json, r'isStatistic'), + isMobile: mapValueOfType(json, r'isMobile'), + isTablet: mapValueOfType(json, r'isTablet'), + isVR: mapValueOfType(json, r'isVR'), ); } return null; diff --git a/manager_api_new/lib/model/map_dto.dart b/manager_api_new/lib/model/map_dto.dart index e3671f9..07f48bb 100644 --- a/manager_api_new/lib/model/map_dto.dart +++ b/manager_api_new/lib/model/map_dto.dart @@ -17,6 +17,7 @@ class MapDTO { this.label, this.title = const [], this.description = const [], + this.isActive, this.imageId, this.imageSource, this.configurationId, @@ -51,6 +52,14 @@ class MapDTO { List? description; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + String? imageId; String? imageSource; @@ -75,12 +84,6 @@ class MapDTO { /// SectionType? type; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// DateTime? dateCreation; int? order; @@ -137,6 +140,7 @@ class MapDTO { other.label == label && _deepEquality.equals(other.title, title) && _deepEquality.equals(other.description, description) && + other.isActive == isActive && other.imageId == imageId && other.imageSource == imageSource && other.configurationId == configurationId && @@ -169,6 +173,7 @@ class MapDTO { (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (description == null ? 0 : description!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + (imageSource == null ? 0 : imageSource!.hashCode) + (configurationId == null ? 0 : configurationId!.hashCode) + @@ -196,7 +201,7 @@ class MapDTO { @override String toString() => - 'MapDTO[id=$id, label=$label, title=$title, description=$description, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, zoom=$zoom, mapType=$mapType, mapTypeMapbox=$mapTypeMapbox, mapProvider=$mapProvider, points=$points, iconResourceId=$iconResourceId, iconSource=$iconSource, categories=$categories, centerLatitude=$centerLatitude, centerLongitude=$centerLongitude]'; + 'MapDTO[id=$id, label=$label, title=$title, description=$description, isActive=$isActive, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, zoom=$zoom, mapType=$mapType, mapTypeMapbox=$mapTypeMapbox, mapProvider=$mapProvider, points=$points, iconResourceId=$iconResourceId, iconSource=$iconSource, categories=$categories, centerLatitude=$centerLatitude, centerLongitude=$centerLongitude]'; Map toJson() { final json = {}; @@ -220,6 +225,11 @@ class MapDTO { } else { json[r'description'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.imageId != null) { json[r'imageId'] = this.imageId; } else { @@ -368,6 +378,7 @@ class MapDTO { label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), description: TranslationDTO.listFromJson(json[r'description']), + isActive: mapValueOfType(json, r'isActive'), imageId: mapValueOfType(json, r'imageId'), imageSource: mapValueOfType(json, r'imageSource'), configurationId: mapValueOfType(json, r'configurationId'), diff --git a/manager_api_new/lib/model/pdf_dto.dart b/manager_api_new/lib/model/pdf_dto.dart index 9782365..06b0d8f 100644 --- a/manager_api_new/lib/model/pdf_dto.dart +++ b/manager_api_new/lib/model/pdf_dto.dart @@ -17,6 +17,7 @@ class PdfDTO { this.label, this.title = const [], this.description = const [], + this.isActive, this.imageId, this.imageSource, this.configurationId, @@ -42,6 +43,14 @@ class PdfDTO { List? description; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + String? imageId; String? imageSource; @@ -66,12 +75,6 @@ class PdfDTO { /// SectionType? type; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// DateTime? dateCreation; int? order; @@ -104,6 +107,7 @@ class PdfDTO { other.label == label && _deepEquality.equals(other.title, title) && _deepEquality.equals(other.description, description) && + other.isActive == isActive && other.imageId == imageId && other.imageSource == imageSource && other.configurationId == configurationId && @@ -127,6 +131,7 @@ class PdfDTO { (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (description == null ? 0 : description!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + (imageSource == null ? 0 : imageSource!.hashCode) + (configurationId == null ? 0 : configurationId!.hashCode) + @@ -145,7 +150,7 @@ class PdfDTO { @override String toString() => - 'PdfDTO[id=$id, label=$label, title=$title, description=$description, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, pdfs=$pdfs]'; + 'PdfDTO[id=$id, label=$label, title=$title, description=$description, isActive=$isActive, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, pdfs=$pdfs]'; Map toJson() { final json = {}; @@ -169,6 +174,11 @@ class PdfDTO { } else { json[r'description'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.imageId != null) { json[r'imageId'] = this.imageId; } else { @@ -272,6 +282,7 @@ class PdfDTO { label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), description: TranslationDTO.listFromJson(json[r'description']), + isActive: mapValueOfType(json, r'isActive'), imageId: mapValueOfType(json, r'imageId'), imageSource: mapValueOfType(json, r'imageSource'), configurationId: mapValueOfType(json, r'configurationId'), diff --git a/manager_api_new/lib/model/puzzle_dto.dart b/manager_api_new/lib/model/puzzle_dto.dart index de71bc4..071e556 100644 --- a/manager_api_new/lib/model/puzzle_dto.dart +++ b/manager_api_new/lib/model/puzzle_dto.dart @@ -17,6 +17,7 @@ class PuzzleDTO { this.label, this.title = const [], this.description = const [], + this.isActive, this.imageId, this.imageSource, this.configurationId, @@ -47,6 +48,14 @@ class PuzzleDTO { List? description; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + String? imageId; String? imageSource; @@ -71,12 +80,6 @@ class PuzzleDTO { /// SectionType? type; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// DateTime? dateCreation; int? order; @@ -131,6 +134,7 @@ class PuzzleDTO { other.label == label && _deepEquality.equals(other.title, title) && _deepEquality.equals(other.description, description) && + other.isActive == isActive && other.imageId == imageId && other.imageSource == imageSource && other.configurationId == configurationId && @@ -159,6 +163,7 @@ class PuzzleDTO { (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (description == null ? 0 : description!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + (imageSource == null ? 0 : imageSource!.hashCode) + (configurationId == null ? 0 : configurationId!.hashCode) + @@ -182,7 +187,7 @@ class PuzzleDTO { @override String toString() => - 'PuzzleDTO[id=$id, label=$label, title=$title, description=$description, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, messageDebut=$messageDebut, messageFin=$messageFin, puzzleImage=$puzzleImage, puzzleImageId=$puzzleImageId, rows=$rows, cols=$cols]'; + 'PuzzleDTO[id=$id, label=$label, title=$title, description=$description, isActive=$isActive, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, messageDebut=$messageDebut, messageFin=$messageFin, puzzleImage=$puzzleImage, puzzleImageId=$puzzleImageId, rows=$rows, cols=$cols]'; Map toJson() { final json = {}; @@ -206,6 +211,11 @@ class PuzzleDTO { } else { json[r'description'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.imageId != null) { json[r'imageId'] = this.imageId; } else { @@ -334,6 +344,7 @@ class PuzzleDTO { label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), description: TranslationDTO.listFromJson(json[r'description']), + isActive: mapValueOfType(json, r'isActive'), imageId: mapValueOfType(json, r'imageId'), imageSource: mapValueOfType(json, r'imageSource'), configurationId: mapValueOfType(json, r'configurationId'), diff --git a/manager_api_new/lib/model/question_dto.dart b/manager_api_new/lib/model/question_dto.dart index 686d4f4..3dc5854 100644 --- a/manager_api_new/lib/model/question_dto.dart +++ b/manager_api_new/lib/model/question_dto.dart @@ -22,12 +22,6 @@ class QuestionDTO { this.order, }); - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// int? id; List? label; @@ -40,12 +34,6 @@ class QuestionDTO { String? imageBackgroundResourceUrl; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// int? order; @override diff --git a/manager_api_new/lib/model/quiz_dto.dart b/manager_api_new/lib/model/quiz_dto.dart index 62ba692..3339077 100644 --- a/manager_api_new/lib/model/quiz_dto.dart +++ b/manager_api_new/lib/model/quiz_dto.dart @@ -17,6 +17,7 @@ class QuizDTO { this.label, this.title = const [], this.description = const [], + this.isActive, this.imageId, this.imageSource, this.configurationId, @@ -46,6 +47,14 @@ class QuizDTO { List? description; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + String? imageId; String? imageSource; @@ -70,12 +79,6 @@ class QuizDTO { /// SectionType? type; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// DateTime? dateCreation; int? order; @@ -116,6 +119,7 @@ class QuizDTO { other.label == label && _deepEquality.equals(other.title, title) && _deepEquality.equals(other.description, description) && + other.isActive == isActive && other.imageId == imageId && other.imageSource == imageSource && other.configurationId == configurationId && @@ -143,6 +147,7 @@ class QuizDTO { (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (description == null ? 0 : description!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + (imageSource == null ? 0 : imageSource!.hashCode) + (configurationId == null ? 0 : configurationId!.hashCode) + @@ -165,7 +170,7 @@ class QuizDTO { @override String toString() => - 'QuizDTO[id=$id, label=$label, title=$title, description=$description, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, questions=$questions, badLevel=$badLevel, mediumLevel=$mediumLevel, goodLevel=$goodLevel, greatLevel=$greatLevel]'; + 'QuizDTO[id=$id, label=$label, title=$title, description=$description, isActive=$isActive, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, questions=$questions, badLevel=$badLevel, mediumLevel=$mediumLevel, goodLevel=$goodLevel, greatLevel=$greatLevel]'; Map toJson() { final json = {}; @@ -189,6 +194,11 @@ class QuizDTO { } else { json[r'description'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.imageId != null) { json[r'imageId'] = this.imageId; } else { @@ -312,6 +322,7 @@ class QuizDTO { label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), description: TranslationDTO.listFromJson(json[r'description']), + isActive: mapValueOfType(json, r'isActive'), imageId: mapValueOfType(json, r'imageId'), imageSource: mapValueOfType(json, r'imageSource'), configurationId: mapValueOfType(json, r'configurationId'), diff --git a/manager_api_new/lib/model/quiz_question.dart b/manager_api_new/lib/model/quiz_question.dart index 5a34217..950ed01 100644 --- a/manager_api_new/lib/model/quiz_question.dart +++ b/manager_api_new/lib/model/quiz_question.dart @@ -21,6 +21,14 @@ class QuizQuestion { this.order, this.sectionQuizId, this.sectionQuiz, + this.guidedStepId, + this.guidedStep, + this.validationQuestionType, + this.puzzleImageId, + this.puzzleImage, + this.puzzleRows, + this.puzzleCols, + this.isSlidingPuzzle, }); int id; @@ -45,6 +53,34 @@ class QuizQuestion { QuizQuestionSectionQuiz? sectionQuiz; + String? guidedStepId; + + QuizQuestionGuidedStep? guidedStep; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + QuestionType? validationQuestionType; + + String? puzzleImageId; + + Resource? puzzleImage; + + int? puzzleRows; + + int? puzzleCols; + + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isSlidingPuzzle; + @override bool operator ==(Object other) => identical(this, other) || @@ -56,7 +92,15 @@ class QuizQuestion { other.resource == resource && other.order == order && other.sectionQuizId == sectionQuizId && - other.sectionQuiz == sectionQuiz; + other.sectionQuiz == sectionQuiz && + other.guidedStepId == guidedStepId && + other.guidedStep == guidedStep && + other.validationQuestionType == validationQuestionType && + other.puzzleImageId == puzzleImageId && + other.puzzleImage == puzzleImage && + other.puzzleRows == puzzleRows && + other.puzzleCols == puzzleCols && + other.isSlidingPuzzle == isSlidingPuzzle; @override int get hashCode => @@ -68,11 +112,19 @@ class QuizQuestion { (resource == null ? 0 : resource!.hashCode) + (order == null ? 0 : order!.hashCode) + (sectionQuizId == null ? 0 : sectionQuizId!.hashCode) + - (sectionQuiz == null ? 0 : sectionQuiz!.hashCode); + (sectionQuiz == null ? 0 : sectionQuiz!.hashCode) + + (guidedStepId == null ? 0 : guidedStepId!.hashCode) + + (guidedStep == null ? 0 : guidedStep!.hashCode) + + (validationQuestionType == null ? 0 : validationQuestionType!.hashCode) + + (puzzleImageId == null ? 0 : puzzleImageId!.hashCode) + + (puzzleImage == null ? 0 : puzzleImage!.hashCode) + + (puzzleRows == null ? 0 : puzzleRows!.hashCode) + + (puzzleCols == null ? 0 : puzzleCols!.hashCode) + + (isSlidingPuzzle == null ? 0 : isSlidingPuzzle!.hashCode); @override String toString() => - 'QuizQuestion[id=$id, label=$label, responses=$responses, resourceId=$resourceId, resource=$resource, order=$order, sectionQuizId=$sectionQuizId, sectionQuiz=$sectionQuiz]'; + 'QuizQuestion[id=$id, label=$label, responses=$responses, resourceId=$resourceId, resource=$resource, order=$order, sectionQuizId=$sectionQuizId, sectionQuiz=$sectionQuiz, guidedStepId=$guidedStepId, guidedStep=$guidedStep, validationQuestionType=$validationQuestionType, puzzleImageId=$puzzleImageId, puzzleImage=$puzzleImage, puzzleRows=$puzzleRows, puzzleCols=$puzzleCols, isSlidingPuzzle=$isSlidingPuzzle]'; Map toJson() { final json = {}; @@ -104,6 +156,46 @@ class QuizQuestion { } else { json[r'sectionQuiz'] = null; } + if (this.guidedStepId != null) { + json[r'guidedStepId'] = this.guidedStepId; + } else { + json[r'guidedStepId'] = null; + } + if (this.guidedStep != null) { + json[r'guidedStep'] = this.guidedStep; + } else { + json[r'guidedStep'] = null; + } + if (this.validationQuestionType != null) { + json[r'validationQuestionType'] = this.validationQuestionType; + } else { + json[r'validationQuestionType'] = null; + } + if (this.puzzleImageId != null) { + json[r'puzzleImageId'] = this.puzzleImageId; + } else { + json[r'puzzleImageId'] = null; + } + if (this.puzzleImage != null) { + json[r'puzzleImage'] = this.puzzleImage; + } else { + json[r'puzzleImage'] = null; + } + if (this.puzzleRows != null) { + json[r'puzzleRows'] = this.puzzleRows; + } else { + json[r'puzzleRows'] = null; + } + if (this.puzzleCols != null) { + json[r'puzzleCols'] = this.puzzleCols; + } else { + json[r'puzzleCols'] = null; + } + if (this.isSlidingPuzzle != null) { + json[r'isSlidingPuzzle'] = this.isSlidingPuzzle; + } else { + json[r'isSlidingPuzzle'] = null; + } return json; } @@ -136,6 +228,15 @@ class QuizQuestion { order: mapValueOfType(json, r'order'), sectionQuizId: mapValueOfType(json, r'sectionQuizId'), sectionQuiz: QuizQuestionSectionQuiz.fromJson(json[r'sectionQuiz']), + guidedStepId: mapValueOfType(json, r'guidedStepId'), + guidedStep: QuizQuestionGuidedStep.fromJson(json[r'guidedStep']), + validationQuestionType: + QuestionType.fromJson(json[r'validationQuestionType']), + puzzleImageId: mapValueOfType(json, r'puzzleImageId'), + puzzleImage: Resource.fromJson(json[r'puzzleImage']), + puzzleRows: mapValueOfType(json, r'puzzleRows'), + puzzleCols: mapValueOfType(json, r'puzzleCols'), + isSlidingPuzzle: mapValueOfType(json, r'isSlidingPuzzle'), ); } return null; diff --git a/manager_api_new/lib/model/quiz_question_section_quiz.dart b/manager_api_new/lib/model/quiz_question_section_quiz.dart index 44c9be4..ab453fb 100644 --- a/manager_api_new/lib/model/quiz_question_section_quiz.dart +++ b/manager_api_new/lib/model/quiz_question_section_quiz.dart @@ -36,6 +36,7 @@ class QuizQuestionSectionQuiz { this.latitude, this.longitude, this.meterZoneGPS, + this.isActive, }); String id; @@ -102,6 +103,14 @@ class QuizQuestionSectionQuiz { int? meterZoneGPS; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + @override bool operator ==(Object other) => identical(this, other) || @@ -128,7 +137,8 @@ class QuizQuestionSectionQuiz { other.beaconId == beaconId && other.latitude == latitude && other.longitude == longitude && - other.meterZoneGPS == meterZoneGPS; + other.meterZoneGPS == meterZoneGPS && + other.isActive == isActive; @override int get hashCode => @@ -155,11 +165,12 @@ class QuizQuestionSectionQuiz { (beaconId == null ? 0 : beaconId!.hashCode) + (latitude == null ? 0 : latitude!.hashCode) + (longitude == null ? 0 : longitude!.hashCode) + - (meterZoneGPS == null ? 0 : meterZoneGPS!.hashCode); + (meterZoneGPS == null ? 0 : meterZoneGPS!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode); @override String toString() => - 'QuizQuestionSectionQuiz[id=$id, label=$label, title=$title, configurationId=$configurationId, type=$type, isSubSection=$isSubSection, instanceId=$instanceId, quizQuestions=$quizQuestions, quizBadLevel=$quizBadLevel, quizMediumLevel=$quizMediumLevel, quizGoodLevel=$quizGoodLevel, quizGreatLevel=$quizGreatLevel, description=$description, order=$order, imageId=$imageId, imageSource=$imageSource, parentId=$parentId, dateCreation=$dateCreation, isBeacon=$isBeacon, beaconId=$beaconId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS]'; + 'QuizQuestionSectionQuiz[id=$id, label=$label, title=$title, configurationId=$configurationId, type=$type, isSubSection=$isSubSection, instanceId=$instanceId, quizQuestions=$quizQuestions, quizBadLevel=$quizBadLevel, quizMediumLevel=$quizMediumLevel, quizGoodLevel=$quizGoodLevel, quizGreatLevel=$quizGreatLevel, description=$description, order=$order, imageId=$imageId, imageSource=$imageSource, parentId=$parentId, dateCreation=$dateCreation, isBeacon=$isBeacon, beaconId=$beaconId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isActive=$isActive]'; Map toJson() { final json = {}; @@ -230,6 +241,11 @@ class QuizQuestionSectionQuiz { } else { json[r'meterZoneGPS'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } return json; } @@ -281,6 +297,7 @@ class QuizQuestionSectionQuiz { latitude: mapValueOfType(json, r'latitude'), longitude: mapValueOfType(json, r'longitude'), meterZoneGPS: mapValueOfType(json, r'meterZoneGPS'), + isActive: mapValueOfType(json, r'isActive'), ); } return null; diff --git a/manager_api_new/lib/model/section.dart b/manager_api_new/lib/model/section.dart index 43f6ebe..1af105f 100644 --- a/manager_api_new/lib/model/section.dart +++ b/manager_api_new/lib/model/section.dart @@ -31,6 +31,7 @@ class Section { this.latitude, this.longitude, this.meterZoneGPS, + this.isActive, }); String id; @@ -87,6 +88,14 @@ class Section { int? meterZoneGPS; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + @override bool operator ==(Object other) => identical(this, other) || @@ -108,7 +117,8 @@ class Section { other.beaconId == beaconId && other.latitude == latitude && other.longitude == longitude && - other.meterZoneGPS == meterZoneGPS; + other.meterZoneGPS == meterZoneGPS && + other.isActive == isActive; @override int get hashCode => @@ -130,11 +140,12 @@ class Section { (beaconId == null ? 0 : beaconId!.hashCode) + (latitude == null ? 0 : latitude!.hashCode) + (longitude == null ? 0 : longitude!.hashCode) + - (meterZoneGPS == null ? 0 : meterZoneGPS!.hashCode); + (meterZoneGPS == null ? 0 : meterZoneGPS!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode); @override String toString() => - 'Section[id=$id, label=$label, title=$title, configurationId=$configurationId, type=$type, isSubSection=$isSubSection, instanceId=$instanceId, description=$description, order=$order, imageId=$imageId, imageSource=$imageSource, parentId=$parentId, dateCreation=$dateCreation, isBeacon=$isBeacon, beaconId=$beaconId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS]'; + 'Section[id=$id, label=$label, title=$title, configurationId=$configurationId, type=$type, isSubSection=$isSubSection, instanceId=$instanceId, description=$description, order=$order, imageId=$imageId, imageSource=$imageSource, parentId=$parentId, dateCreation=$dateCreation, isBeacon=$isBeacon, beaconId=$beaconId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isActive=$isActive]'; Map toJson() { final json = {}; @@ -200,6 +211,11 @@ class Section { } else { json[r'meterZoneGPS'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } return json; } @@ -242,6 +258,7 @@ class Section { latitude: mapValueOfType(json, r'latitude'), longitude: mapValueOfType(json, r'longitude'), meterZoneGPS: mapValueOfType(json, r'meterZoneGPS'), + isActive: mapValueOfType(json, r'isActive'), ); } return null; diff --git a/manager_api_new/lib/model/section_dto.dart b/manager_api_new/lib/model/section_dto.dart index d03c3c7..f9ab1e3 100644 --- a/manager_api_new/lib/model/section_dto.dart +++ b/manager_api_new/lib/model/section_dto.dart @@ -17,6 +17,7 @@ class SectionDTO { this.label, this.title = const [], this.description = const [], + this.isActive, this.imageId, this.imageSource, this.configurationId, @@ -41,6 +42,14 @@ class SectionDTO { List? description; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + String? imageId; String? imageSource; @@ -65,12 +74,6 @@ class SectionDTO { /// SectionType? type; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// DateTime? dateCreation; int? order; @@ -101,6 +104,7 @@ class SectionDTO { other.label == label && _deepEquality.equals(other.title, title) && _deepEquality.equals(other.description, description) && + other.isActive == isActive && other.imageId == imageId && other.imageSource == imageSource && other.configurationId == configurationId && @@ -123,6 +127,7 @@ class SectionDTO { (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (description == null ? 0 : description!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + (imageSource == null ? 0 : imageSource!.hashCode) + (configurationId == null ? 0 : configurationId!.hashCode) + @@ -140,7 +145,7 @@ class SectionDTO { @override String toString() => - 'SectionDTO[id=$id, label=$label, title=$title, description=$description, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId]'; + 'SectionDTO[id=$id, label=$label, title=$title, description=$description, isActive=$isActive, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId]'; Map toJson() { final json = {}; @@ -164,6 +169,11 @@ class SectionDTO { } else { json[r'description'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.imageId != null) { json[r'imageId'] = this.imageId; } else { @@ -262,6 +272,7 @@ class SectionDTO { label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), description: TranslationDTO.listFromJson(json[r'description']), + isActive: mapValueOfType(json, r'isActive'), imageId: mapValueOfType(json, r'imageId'), imageSource: mapValueOfType(json, r'imageSource'), configurationId: mapValueOfType(json, r'configurationId'), diff --git a/manager_api_new/lib/model/section_map.dart b/manager_api_new/lib/model/section_map.dart index 770b757..5273594 100644 --- a/manager_api_new/lib/model/section_map.dart +++ b/manager_api_new/lib/model/section_map.dart @@ -32,6 +32,7 @@ class SectionMap { this.latitude, this.longitude, this.meterZoneGPS, + this.isActive, this.mapZoom, this.mapMapType, this.mapTypeMapbox, @@ -99,6 +100,14 @@ class SectionMap { int? meterZoneGPS; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + /// /// Please note: This property should have been non-nullable! Since the specification file /// does not include a default value (using the "default:" property), however, the generated @@ -146,6 +155,7 @@ class SectionMap { other.latitude == latitude && other.longitude == longitude && other.meterZoneGPS == meterZoneGPS && + other.isActive == isActive && other.mapZoom == mapZoom && other.mapMapType == mapMapType && other.mapTypeMapbox == mapTypeMapbox && @@ -178,6 +188,7 @@ class SectionMap { (latitude == null ? 0 : latitude!.hashCode) + (longitude == null ? 0 : longitude!.hashCode) + (meterZoneGPS == null ? 0 : meterZoneGPS!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (mapZoom == null ? 0 : mapZoom!.hashCode) + (mapMapType == null ? 0 : mapMapType!.hashCode) + (mapTypeMapbox == null ? 0 : mapTypeMapbox!.hashCode) + @@ -190,7 +201,7 @@ class SectionMap { @override String toString() => - 'SectionMap[id=$id, label=$label, title=$title, configurationId=$configurationId, type=$type, isSubSection=$isSubSection, instanceId=$instanceId, mapCategories=$mapCategories, description=$description, order=$order, imageId=$imageId, imageSource=$imageSource, parentId=$parentId, dateCreation=$dateCreation, isBeacon=$isBeacon, beaconId=$beaconId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, mapZoom=$mapZoom, mapMapType=$mapMapType, mapTypeMapbox=$mapTypeMapbox, mapMapProvider=$mapMapProvider, mapPoints=$mapPoints, mapResourceId=$mapResourceId, mapResource=$mapResource, mapCenterLatitude=$mapCenterLatitude, mapCenterLongitude=$mapCenterLongitude]'; + 'SectionMap[id=$id, label=$label, title=$title, configurationId=$configurationId, type=$type, isSubSection=$isSubSection, instanceId=$instanceId, mapCategories=$mapCategories, description=$description, order=$order, imageId=$imageId, imageSource=$imageSource, parentId=$parentId, dateCreation=$dateCreation, isBeacon=$isBeacon, beaconId=$beaconId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isActive=$isActive, mapZoom=$mapZoom, mapMapType=$mapMapType, mapTypeMapbox=$mapTypeMapbox, mapMapProvider=$mapMapProvider, mapPoints=$mapPoints, mapResourceId=$mapResourceId, mapResource=$mapResource, mapCenterLatitude=$mapCenterLatitude, mapCenterLongitude=$mapCenterLongitude]'; Map toJson() { final json = {}; @@ -257,6 +268,11 @@ class SectionMap { } else { json[r'meterZoneGPS'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.mapZoom != null) { json[r'mapZoom'] = this.mapZoom; } else { @@ -345,6 +361,7 @@ class SectionMap { latitude: mapValueOfType(json, r'latitude'), longitude: mapValueOfType(json, r'longitude'), meterZoneGPS: mapValueOfType(json, r'meterZoneGPS'), + isActive: mapValueOfType(json, r'isActive'), mapZoom: mapValueOfType(json, r'mapZoom'), mapMapType: SectionMapAllOfMapMapType.fromJson(json[r'mapMapType']), mapTypeMapbox: diff --git a/manager_api_new/lib/model/section_quiz.dart b/manager_api_new/lib/model/section_quiz.dart index 43861f1..d634911 100644 --- a/manager_api_new/lib/model/section_quiz.dart +++ b/manager_api_new/lib/model/section_quiz.dart @@ -36,6 +36,7 @@ class SectionQuiz { this.latitude, this.longitude, this.meterZoneGPS, + this.isActive, }); String id; @@ -102,6 +103,14 @@ class SectionQuiz { int? meterZoneGPS; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + @override bool operator ==(Object other) => identical(this, other) || @@ -128,7 +137,8 @@ class SectionQuiz { other.beaconId == beaconId && other.latitude == latitude && other.longitude == longitude && - other.meterZoneGPS == meterZoneGPS; + other.meterZoneGPS == meterZoneGPS && + other.isActive == isActive; @override int get hashCode => @@ -155,11 +165,12 @@ class SectionQuiz { (beaconId == null ? 0 : beaconId!.hashCode) + (latitude == null ? 0 : latitude!.hashCode) + (longitude == null ? 0 : longitude!.hashCode) + - (meterZoneGPS == null ? 0 : meterZoneGPS!.hashCode); + (meterZoneGPS == null ? 0 : meterZoneGPS!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode); @override String toString() => - 'SectionQuiz[id=$id, label=$label, title=$title, configurationId=$configurationId, type=$type, isSubSection=$isSubSection, instanceId=$instanceId, quizQuestions=$quizQuestions, quizBadLevel=$quizBadLevel, quizMediumLevel=$quizMediumLevel, quizGoodLevel=$quizGoodLevel, quizGreatLevel=$quizGreatLevel, description=$description, order=$order, imageId=$imageId, imageSource=$imageSource, parentId=$parentId, dateCreation=$dateCreation, isBeacon=$isBeacon, beaconId=$beaconId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS]'; + 'SectionQuiz[id=$id, label=$label, title=$title, configurationId=$configurationId, type=$type, isSubSection=$isSubSection, instanceId=$instanceId, quizQuestions=$quizQuestions, quizBadLevel=$quizBadLevel, quizMediumLevel=$quizMediumLevel, quizGoodLevel=$quizGoodLevel, quizGreatLevel=$quizGreatLevel, description=$description, order=$order, imageId=$imageId, imageSource=$imageSource, parentId=$parentId, dateCreation=$dateCreation, isBeacon=$isBeacon, beaconId=$beaconId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isActive=$isActive]'; Map toJson() { final json = {}; @@ -230,6 +241,11 @@ class SectionQuiz { } else { json[r'meterZoneGPS'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } return json; } @@ -281,6 +297,7 @@ class SectionQuiz { latitude: mapValueOfType(json, r'latitude'), longitude: mapValueOfType(json, r'longitude'), meterZoneGPS: mapValueOfType(json, r'meterZoneGPS'), + isActive: mapValueOfType(json, r'isActive'), ); } return null; diff --git a/manager_api_new/lib/model/slider_dto.dart b/manager_api_new/lib/model/slider_dto.dart index 87c5f1c..cdd4706 100644 --- a/manager_api_new/lib/model/slider_dto.dart +++ b/manager_api_new/lib/model/slider_dto.dart @@ -17,6 +17,7 @@ class SliderDTO { this.label, this.title = const [], this.description = const [], + this.isActive, this.imageId, this.imageSource, this.configurationId, @@ -42,6 +43,14 @@ class SliderDTO { List? description; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + String? imageId; String? imageSource; @@ -66,12 +75,6 @@ class SliderDTO { /// SectionType? type; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// DateTime? dateCreation; int? order; @@ -104,6 +107,7 @@ class SliderDTO { other.label == label && _deepEquality.equals(other.title, title) && _deepEquality.equals(other.description, description) && + other.isActive == isActive && other.imageId == imageId && other.imageSource == imageSource && other.configurationId == configurationId && @@ -127,6 +131,7 @@ class SliderDTO { (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (description == null ? 0 : description!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + (imageSource == null ? 0 : imageSource!.hashCode) + (configurationId == null ? 0 : configurationId!.hashCode) + @@ -145,7 +150,7 @@ class SliderDTO { @override String toString() => - 'SliderDTO[id=$id, label=$label, title=$title, description=$description, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, contents=$contents]'; + 'SliderDTO[id=$id, label=$label, title=$title, description=$description, isActive=$isActive, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, contents=$contents]'; Map toJson() { final json = {}; @@ -169,6 +174,11 @@ class SliderDTO { } else { json[r'description'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.imageId != null) { json[r'imageId'] = this.imageId; } else { @@ -272,6 +282,7 @@ class SliderDTO { label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), description: TranslationDTO.listFromJson(json[r'description']), + isActive: mapValueOfType(json, r'isActive'), imageId: mapValueOfType(json, r'imageId'), imageSource: mapValueOfType(json, r'imageSource'), configurationId: mapValueOfType(json, r'configurationId'), diff --git a/manager_api_new/lib/model/video_dto.dart b/manager_api_new/lib/model/video_dto.dart index 8cf9e0c..343b30d 100644 --- a/manager_api_new/lib/model/video_dto.dart +++ b/manager_api_new/lib/model/video_dto.dart @@ -17,6 +17,7 @@ class VideoDTO { this.label, this.title = const [], this.description = const [], + this.isActive, this.imageId, this.imageSource, this.configurationId, @@ -42,6 +43,14 @@ class VideoDTO { List? description; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + String? imageId; String? imageSource; @@ -66,12 +75,6 @@ class VideoDTO { /// SectionType? type; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// DateTime? dateCreation; int? order; @@ -104,6 +107,7 @@ class VideoDTO { other.label == label && _deepEquality.equals(other.title, title) && _deepEquality.equals(other.description, description) && + other.isActive == isActive && other.imageId == imageId && other.imageSource == imageSource && other.configurationId == configurationId && @@ -127,6 +131,7 @@ class VideoDTO { (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (description == null ? 0 : description!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + (imageSource == null ? 0 : imageSource!.hashCode) + (configurationId == null ? 0 : configurationId!.hashCode) + @@ -145,7 +150,7 @@ class VideoDTO { @override String toString() => - 'VideoDTO[id=$id, label=$label, title=$title, description=$description, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, source_=$source_]'; + 'VideoDTO[id=$id, label=$label, title=$title, description=$description, isActive=$isActive, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, source_=$source_]'; Map toJson() { final json = {}; @@ -169,6 +174,11 @@ class VideoDTO { } else { json[r'description'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.imageId != null) { json[r'imageId'] = this.imageId; } else { @@ -272,6 +282,7 @@ class VideoDTO { label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), description: TranslationDTO.listFromJson(json[r'description']), + isActive: mapValueOfType(json, r'isActive'), imageId: mapValueOfType(json, r'imageId'), imageSource: mapValueOfType(json, r'imageSource'), configurationId: mapValueOfType(json, r'configurationId'), diff --git a/manager_api_new/lib/model/weather_dto.dart b/manager_api_new/lib/model/weather_dto.dart index 342a85c..78d0a46 100644 --- a/manager_api_new/lib/model/weather_dto.dart +++ b/manager_api_new/lib/model/weather_dto.dart @@ -17,6 +17,7 @@ class WeatherDTO { this.label, this.title = const [], this.description = const [], + this.isActive, this.imageId, this.imageSource, this.configurationId, @@ -44,6 +45,14 @@ class WeatherDTO { List? description; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + String? imageId; String? imageSource; @@ -68,12 +77,6 @@ class WeatherDTO { /// SectionType? type; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// DateTime? dateCreation; int? order; @@ -110,6 +113,7 @@ class WeatherDTO { other.label == label && _deepEquality.equals(other.title, title) && _deepEquality.equals(other.description, description) && + other.isActive == isActive && other.imageId == imageId && other.imageSource == imageSource && other.configurationId == configurationId && @@ -135,6 +139,7 @@ class WeatherDTO { (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (description == null ? 0 : description!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + (imageSource == null ? 0 : imageSource!.hashCode) + (configurationId == null ? 0 : configurationId!.hashCode) + @@ -155,7 +160,7 @@ class WeatherDTO { @override String toString() => - 'WeatherDTO[id=$id, label=$label, title=$title, description=$description, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, city=$city, updatedDate=$updatedDate, result=$result]'; + 'WeatherDTO[id=$id, label=$label, title=$title, description=$description, isActive=$isActive, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, city=$city, updatedDate=$updatedDate, result=$result]'; Map toJson() { final json = {}; @@ -179,6 +184,11 @@ class WeatherDTO { } else { json[r'description'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.imageId != null) { json[r'imageId'] = this.imageId; } else { @@ -292,6 +302,7 @@ class WeatherDTO { label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), description: TranslationDTO.listFromJson(json[r'description']), + isActive: mapValueOfType(json, r'isActive'), imageId: mapValueOfType(json, r'imageId'), imageSource: mapValueOfType(json, r'imageSource'), configurationId: mapValueOfType(json, r'configurationId'), diff --git a/manager_api_new/lib/model/web_dto.dart b/manager_api_new/lib/model/web_dto.dart index 1189110..5fb769c 100644 --- a/manager_api_new/lib/model/web_dto.dart +++ b/manager_api_new/lib/model/web_dto.dart @@ -17,6 +17,7 @@ class WebDTO { this.label, this.title = const [], this.description = const [], + this.isActive, this.imageId, this.imageSource, this.configurationId, @@ -42,6 +43,14 @@ class WebDTO { List? description; + /// + /// Please note: This property should have been non-nullable! Since the specification file + /// does not include a default value (using the "default:" property), however, the generated + /// source code must fall back to having a nullable type. + /// Consider adding a "default:" property in the specification file to hide this note. + /// + bool? isActive; + String? imageId; String? imageSource; @@ -66,12 +75,6 @@ class WebDTO { /// SectionType? type; - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// DateTime? dateCreation; int? order; @@ -104,6 +107,7 @@ class WebDTO { other.label == label && _deepEquality.equals(other.title, title) && _deepEquality.equals(other.description, description) && + other.isActive == isActive && other.imageId == imageId && other.imageSource == imageSource && other.configurationId == configurationId && @@ -127,6 +131,7 @@ class WebDTO { (label == null ? 0 : label!.hashCode) + (title == null ? 0 : title!.hashCode) + (description == null ? 0 : description!.hashCode) + + (isActive == null ? 0 : isActive!.hashCode) + (imageId == null ? 0 : imageId!.hashCode) + (imageSource == null ? 0 : imageSource!.hashCode) + (configurationId == null ? 0 : configurationId!.hashCode) + @@ -145,7 +150,7 @@ class WebDTO { @override String toString() => - 'WebDTO[id=$id, label=$label, title=$title, description=$description, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, source_=$source_]'; + 'WebDTO[id=$id, label=$label, title=$title, description=$description, isActive=$isActive, imageId=$imageId, imageSource=$imageSource, configurationId=$configurationId, isSubSection=$isSubSection, parentId=$parentId, type=$type, dateCreation=$dateCreation, order=$order, instanceId=$instanceId, latitude=$latitude, longitude=$longitude, meterZoneGPS=$meterZoneGPS, isBeacon=$isBeacon, beaconId=$beaconId, source_=$source_]'; Map toJson() { final json = {}; @@ -169,6 +174,11 @@ class WebDTO { } else { json[r'description'] = null; } + if (this.isActive != null) { + json[r'isActive'] = this.isActive; + } else { + json[r'isActive'] = null; + } if (this.imageId != null) { json[r'imageId'] = this.imageId; } else { @@ -272,6 +282,7 @@ class WebDTO { label: mapValueOfType(json, r'label'), title: TranslationDTO.listFromJson(json[r'title']), description: TranslationDTO.listFromJson(json[r'description']), + isActive: mapValueOfType(json, r'isActive'), imageId: mapValueOfType(json, r'imageId'), imageSource: mapValueOfType(json, r'imageSource'), configurationId: mapValueOfType(json, r'configurationId'), diff --git a/manager_api_new/test/app_configuration_link_application_instance_test.dart b/manager_api_new/test/app_configuration_link_application_instance_test.dart new file mode 100644 index 0000000..7e2f275 --- /dev/null +++ b/manager_api_new/test/app_configuration_link_application_instance_test.dart @@ -0,0 +1,114 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for AppConfigurationLinkApplicationInstance +void main() { + // final instance = AppConfigurationLinkApplicationInstance(); + + group('test AppConfigurationLinkApplicationInstance', () { + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // AppType appType + test('to test the property `appType`', () async { + // TODO + }); + + // String id + test('to test the property `id`', () async { + // TODO + }); + + // List configurations (default value: const []) + test('to test the property `configurations`', () async { + // TODO + }); + + // String mainImageId + test('to test the property `mainImageId`', () async { + // TODO + }); + + // String mainImageUrl + test('to test the property `mainImageUrl`', () async { + // TODO + }); + + // String loaderImageId + test('to test the property `loaderImageId`', () async { + // TODO + }); + + // String loaderImageUrl + test('to test the property `loaderImageUrl`', () async { + // TODO + }); + + // bool isDate + test('to test the property `isDate`', () async { + // TODO + }); + + // bool isHour + test('to test the property `isHour`', () async { + // TODO + }); + + // String primaryColor + test('to test the property `primaryColor`', () async { + // TODO + }); + + // String secondaryColor + test('to test the property `secondaryColor`', () async { + // TODO + }); + + // int roundedValue + test('to test the property `roundedValue`', () async { + // TODO + }); + + // int screenPercentageSectionsMainPage + test('to test the property `screenPercentageSectionsMainPage`', () async { + // TODO + }); + + // bool isSectionImageBackground + test('to test the property `isSectionImageBackground`', () async { + // TODO + }); + + // LayoutMainPageType layoutMainPage + test('to test the property `layoutMainPage`', () async { + // TODO + }); + + // List languages (default value: const []) + test('to test the property `languages`', () async { + // TODO + }); + + // String sectionEventId + test('to test the property `sectionEventId`', () async { + // TODO + }); + + // ApplicationInstanceSectionEvent sectionEvent + test('to test the property `sectionEvent`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/app_configuration_link_configuration_test.dart b/manager_api_new/test/app_configuration_link_configuration_test.dart new file mode 100644 index 0000000..6abe40a --- /dev/null +++ b/manager_api_new/test/app_configuration_link_configuration_test.dart @@ -0,0 +1,99 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for AppConfigurationLinkConfiguration +void main() { + // final instance = AppConfigurationLinkConfiguration(); + + group('test AppConfigurationLinkConfiguration', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // String label + test('to test the property `label`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // String imageId + test('to test the property `imageId`', () async { + // TODO + }); + + // String imageSource + test('to test the property `imageSource`', () async { + // TODO + }); + + // String primaryColor + test('to test the property `primaryColor`', () async { + // TODO + }); + + // String secondaryColor + test('to test the property `secondaryColor`', () async { + // TODO + }); + + // List languages (default value: const []) + test('to test the property `languages`', () async { + // TODO + }); + + // DateTime dateCreation + test('to test the property `dateCreation`', () async { + // TODO + }); + + // bool isOffline + test('to test the property `isOffline`', () async { + // TODO + }); + + // String loaderImageId + test('to test the property `loaderImageId`', () async { + // TODO + }); + + // String loaderImageUrl + test('to test the property `loaderImageUrl`', () async { + // TODO + }); + + // bool isQRCode + test('to test the property `isQRCode`', () async { + // TODO + }); + + // bool isSearchText + test('to test the property `isSearchText`', () async { + // TODO + }); + + // bool isSearchNumber + test('to test the property `isSearchNumber`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/app_configuration_link_dto_test.dart b/manager_api_new/test/app_configuration_link_dto_test.dart new file mode 100644 index 0000000..a47c12c --- /dev/null +++ b/manager_api_new/test/app_configuration_link_dto_test.dart @@ -0,0 +1,49 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for AppConfigurationLinkDTO +void main() { + // final instance = AppConfigurationLinkDTO(); + + group('test AppConfigurationLinkDTO', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // String configurationId + test('to test the property `configurationId`', () async { + // TODO + }); + + // String applicationInstanceId + test('to test the property `applicationInstanceId`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // bool isActive + test('to test the property `isActive`', () async { + // TODO + }); + + // int weightMasonryGrid + test('to test the property `weightMasonryGrid`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/app_configuration_link_test.dart b/manager_api_new/test/app_configuration_link_test.dart new file mode 100644 index 0000000..fd04408 --- /dev/null +++ b/manager_api_new/test/app_configuration_link_test.dart @@ -0,0 +1,59 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for AppConfigurationLink +void main() { + // final instance = AppConfigurationLink(); + + group('test AppConfigurationLink', () { + // String configurationId + test('to test the property `configurationId`', () async { + // TODO + }); + + // String applicationInstanceId + test('to test the property `applicationInstanceId`', () async { + // TODO + }); + + // String id + test('to test the property `id`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // bool isActive + test('to test the property `isActive`', () async { + // TODO + }); + + // int weightMasonryGrid + test('to test the property `weightMasonryGrid`', () async { + // TODO + }); + + // AppConfigurationLinkConfiguration configuration + test('to test the property `configuration`', () async { + // TODO + }); + + // AppConfigurationLinkApplicationInstance applicationInstance + test('to test the property `applicationInstance`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/app_type_test.dart b/manager_api_new/test/app_type_test.dart new file mode 100644 index 0000000..2b76b33 --- /dev/null +++ b/manager_api_new/test/app_type_test.dart @@ -0,0 +1,17 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for AppType +void main() { + group('test AppType', () {}); +} diff --git a/manager_api_new/test/application_instance_dto_test.dart b/manager_api_new/test/application_instance_dto_test.dart new file mode 100644 index 0000000..290c60a --- /dev/null +++ b/manager_api_new/test/application_instance_dto_test.dart @@ -0,0 +1,99 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for ApplicationInstanceDTO +void main() { + // final instance = ApplicationInstanceDTO(); + + group('test ApplicationInstanceDTO', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // AppType appType + test('to test the property `appType`', () async { + // TODO + }); + + // List configurations (default value: const []) + test('to test the property `configurations`', () async { + // TODO + }); + + // String mainImageId + test('to test the property `mainImageId`', () async { + // TODO + }); + + // String mainImageUrl + test('to test the property `mainImageUrl`', () async { + // TODO + }); + + // String loaderImageId + test('to test the property `loaderImageId`', () async { + // TODO + }); + + // String loaderImageUrl + test('to test the property `loaderImageUrl`', () async { + // TODO + }); + + // bool isDate + test('to test the property `isDate`', () async { + // TODO + }); + + // bool isHour + test('to test the property `isHour`', () async { + // TODO + }); + + // String primaryColor + test('to test the property `primaryColor`', () async { + // TODO + }); + + // String secondaryColor + test('to test the property `secondaryColor`', () async { + // TODO + }); + + // int roundedValue + test('to test the property `roundedValue`', () async { + // TODO + }); + + // int screenPercentageSectionsMainPage + test('to test the property `screenPercentageSectionsMainPage`', () async { + // TODO + }); + + // bool isSectionImageBackground + test('to test the property `isSectionImageBackground`', () async { + // TODO + }); + + // List languages (default value: const []) + test('to test the property `languages`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/application_instance_section_event_test.dart b/manager_api_new/test/application_instance_section_event_test.dart new file mode 100644 index 0000000..0eac82b --- /dev/null +++ b/manager_api_new/test/application_instance_section_event_test.dart @@ -0,0 +1,134 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for ApplicationInstanceSectionEvent +void main() { + // final instance = ApplicationInstanceSectionEvent(); + + group('test ApplicationInstanceSectionEvent', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // String label + test('to test the property `label`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // String configurationId + test('to test the property `configurationId`', () async { + // TODO + }); + + // SectionType type + test('to test the property `type`', () async { + // TODO + }); + + // bool isSubSection + test('to test the property `isSubSection`', () async { + // TODO + }); + + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // String imageId + test('to test the property `imageId`', () async { + // TODO + }); + + // String imageSource + test('to test the property `imageSource`', () async { + // TODO + }); + + // String parentId + test('to test the property `parentId`', () async { + // TODO + }); + + // DateTime dateCreation + test('to test the property `dateCreation`', () async { + // TODO + }); + + // bool isBeacon + test('to test the property `isBeacon`', () async { + // TODO + }); + + // int beaconId + test('to test the property `beaconId`', () async { + // TODO + }); + + // String latitude + test('to test the property `latitude`', () async { + // TODO + }); + + // String longitude + test('to test the property `longitude`', () async { + // TODO + }); + + // int meterZoneGPS + test('to test the property `meterZoneGPS`', () async { + // TODO + }); + + // bool isActive + test('to test the property `isActive`', () async { + // TODO + }); + + // DateTime startDate + test('to test the property `startDate`', () async { + // TODO + }); + + // DateTime endDate + test('to test the property `endDate`', () async { + // TODO + }); + + // List programme (default value: const []) + test('to test the property `programme`', () async { + // TODO + }); + + // List parcoursIds (default value: const []) + test('to test the property `parcoursIds`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/application_instance_test.dart b/manager_api_new/test/application_instance_test.dart new file mode 100644 index 0000000..96f09d5 --- /dev/null +++ b/manager_api_new/test/application_instance_test.dart @@ -0,0 +1,114 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for ApplicationInstance +void main() { + // final instance = ApplicationInstance(); + + group('test ApplicationInstance', () { + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // AppType appType + test('to test the property `appType`', () async { + // TODO + }); + + // String id + test('to test the property `id`', () async { + // TODO + }); + + // List configurations (default value: const []) + test('to test the property `configurations`', () async { + // TODO + }); + + // String mainImageId + test('to test the property `mainImageId`', () async { + // TODO + }); + + // String mainImageUrl + test('to test the property `mainImageUrl`', () async { + // TODO + }); + + // String loaderImageId + test('to test the property `loaderImageId`', () async { + // TODO + }); + + // String loaderImageUrl + test('to test the property `loaderImageUrl`', () async { + // TODO + }); + + // bool isDate + test('to test the property `isDate`', () async { + // TODO + }); + + // bool isHour + test('to test the property `isHour`', () async { + // TODO + }); + + // String primaryColor + test('to test the property `primaryColor`', () async { + // TODO + }); + + // String secondaryColor + test('to test the property `secondaryColor`', () async { + // TODO + }); + + // int roundedValue + test('to test the property `roundedValue`', () async { + // TODO + }); + + // int screenPercentageSectionsMainPage + test('to test the property `screenPercentageSectionsMainPage`', () async { + // TODO + }); + + // bool isSectionImageBackground + test('to test the property `isSectionImageBackground`', () async { + // TODO + }); + + // LayoutMainPageType layoutMainPage + test('to test the property `layoutMainPage`', () async { + // TODO + }); + + // List languages (default value: const []) + test('to test the property `languages`', () async { + // TODO + }); + + // String sectionEventId + test('to test the property `sectionEventId`', () async { + // TODO + }); + + // ApplicationInstanceSectionEvent sectionEvent + test('to test the property `sectionEvent`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/configuration_test.dart b/manager_api_new/test/configuration_test.dart new file mode 100644 index 0000000..e99a097 --- /dev/null +++ b/manager_api_new/test/configuration_test.dart @@ -0,0 +1,99 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for Configuration +void main() { + // final instance = Configuration(); + + group('test Configuration', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // String label + test('to test the property `label`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // String imageId + test('to test the property `imageId`', () async { + // TODO + }); + + // String imageSource + test('to test the property `imageSource`', () async { + // TODO + }); + + // String primaryColor + test('to test the property `primaryColor`', () async { + // TODO + }); + + // String secondaryColor + test('to test the property `secondaryColor`', () async { + // TODO + }); + + // List languages (default value: const []) + test('to test the property `languages`', () async { + // TODO + }); + + // DateTime dateCreation + test('to test the property `dateCreation`', () async { + // TODO + }); + + // bool isOffline + test('to test the property `isOffline`', () async { + // TODO + }); + + // String loaderImageId + test('to test the property `loaderImageId`', () async { + // TODO + }); + + // String loaderImageUrl + test('to test the property `loaderImageUrl`', () async { + // TODO + }); + + // bool isQRCode + test('to test the property `isQRCode`', () async { + // TODO + }); + + // bool isSearchText + test('to test the property `isSearchText`', () async { + // TODO + }); + + // bool isSearchNumber + test('to test the property `isSearchNumber`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/coordinate_equality_comparer_test.dart b/manager_api_new/test/coordinate_equality_comparer_test.dart new file mode 100644 index 0000000..5758e9b --- /dev/null +++ b/manager_api_new/test/coordinate_equality_comparer_test.dart @@ -0,0 +1,19 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for CoordinateEqualityComparer +void main() { + // final instance = CoordinateEqualityComparer(); + + group('test CoordinateEqualityComparer', () {}); +} diff --git a/manager_api_new/test/coordinate_sequence_factory_test.dart b/manager_api_new/test/coordinate_sequence_factory_test.dart new file mode 100644 index 0000000..9f61c0b --- /dev/null +++ b/manager_api_new/test/coordinate_sequence_factory_test.dart @@ -0,0 +1,24 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for CoordinateSequenceFactory +void main() { + // final instance = CoordinateSequenceFactory(); + + group('test CoordinateSequenceFactory', () { + // Ordinates ordinates + test('to test the property `ordinates`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/coordinate_sequence_test.dart b/manager_api_new/test/coordinate_sequence_test.dart new file mode 100644 index 0000000..121e76f --- /dev/null +++ b/manager_api_new/test/coordinate_sequence_test.dart @@ -0,0 +1,74 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for CoordinateSequence +void main() { + // final instance = CoordinateSequence(); + + group('test CoordinateSequence', () { + // int dimension + test('to test the property `dimension`', () async { + // TODO + }); + + // int measures + test('to test the property `measures`', () async { + // TODO + }); + + // int spatial + test('to test the property `spatial`', () async { + // TODO + }); + + // Ordinates ordinates + test('to test the property `ordinates`', () async { + // TODO + }); + + // bool hasZ + test('to test the property `hasZ`', () async { + // TODO + }); + + // bool hasM + test('to test the property `hasM`', () async { + // TODO + }); + + // int zOrdinateIndex + test('to test the property `zOrdinateIndex`', () async { + // TODO + }); + + // int mOrdinateIndex + test('to test the property `mOrdinateIndex`', () async { + // TODO + }); + + // PointAllOfCoordinate first + test('to test the property `first`', () async { + // TODO + }); + + // PointAllOfCoordinate last + test('to test the property `last`', () async { + // TODO + }); + + // int count + test('to test the property `count`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/coordinate_test.dart b/manager_api_new/test/coordinate_test.dart new file mode 100644 index 0000000..c856c2c --- /dev/null +++ b/manager_api_new/test/coordinate_test.dart @@ -0,0 +1,49 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for Coordinate +void main() { + // final instance = Coordinate(); + + group('test Coordinate', () { + // double x + test('to test the property `x`', () async { + // TODO + }); + + // double y + test('to test the property `y`', () async { + // TODO + }); + + // double z + test('to test the property `z`', () async { + // TODO + }); + + // double m + test('to test the property `m`', () async { + // TODO + }); + + // PointAllOfCoordinate coordinateValue + test('to test the property `coordinateValue`', () async { + // TODO + }); + + // bool isValid + test('to test the property `isValid`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/dimension_test.dart b/manager_api_new/test/dimension_test.dart new file mode 100644 index 0000000..118f33b --- /dev/null +++ b/manager_api_new/test/dimension_test.dart @@ -0,0 +1,17 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for Dimension +void main() { + group('test Dimension', () {}); +} diff --git a/manager_api_new/test/envelope_test.dart b/manager_api_new/test/envelope_test.dart new file mode 100644 index 0000000..fdbb74e --- /dev/null +++ b/manager_api_new/test/envelope_test.dart @@ -0,0 +1,79 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for Envelope +void main() { + // final instance = Envelope(); + + group('test Envelope', () { + // bool isNull + test('to test the property `isNull`', () async { + // TODO + }); + + // double width + test('to test the property `width`', () async { + // TODO + }); + + // double height + test('to test the property `height`', () async { + // TODO + }); + + // double diameter + test('to test the property `diameter`', () async { + // TODO + }); + + // double minX + test('to test the property `minX`', () async { + // TODO + }); + + // double maxX + test('to test the property `maxX`', () async { + // TODO + }); + + // double minY + test('to test the property `minY`', () async { + // TODO + }); + + // double maxY + test('to test the property `maxY`', () async { + // TODO + }); + + // double area + test('to test the property `area`', () async { + // TODO + }); + + // double minExtent + test('to test the property `minExtent`', () async { + // TODO + }); + + // double maxExtent + test('to test the property `maxExtent`', () async { + // TODO + }); + + // PointAllOfCoordinate centre + test('to test the property `centre`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/event_address_dto_geometry_test.dart b/manager_api_new/test/event_address_dto_geometry_test.dart new file mode 100644 index 0000000..2b842fe --- /dev/null +++ b/manager_api_new/test/event_address_dto_geometry_test.dart @@ -0,0 +1,29 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for EventAddressDTOGeometry +void main() { + // final instance = EventAddressDTOGeometry(); + + group('test EventAddressDTOGeometry', () { + // String type + test('to test the property `type`', () async { + // TODO + }); + + // Object coordinates + test('to test the property `coordinates`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/event_address_dto_test.dart b/manager_api_new/test/event_address_dto_test.dart new file mode 100644 index 0000000..b554f0f --- /dev/null +++ b/manager_api_new/test/event_address_dto_test.dart @@ -0,0 +1,69 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for EventAddressDTO +void main() { + // final instance = EventAddressDTO(); + + group('test EventAddressDTO', () { + // String address + test('to test the property `address`', () async { + // TODO + }); + + // String streetNumber + test('to test the property `streetNumber`', () async { + // TODO + }); + + // String streetName + test('to test the property `streetName`', () async { + // TODO + }); + + // String city + test('to test the property `city`', () async { + // TODO + }); + + // String state + test('to test the property `state`', () async { + // TODO + }); + + // String postCode + test('to test the property `postCode`', () async { + // TODO + }); + + // String country + test('to test the property `country`', () async { + // TODO + }); + + // EventAddressDTOGeometry geometry + test('to test the property `geometry`', () async { + // TODO + }); + + // String polyColor + test('to test the property `polyColor`', () async { + // TODO + }); + + // int zoom + test('to test the property `zoom`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/event_agenda_dto_address_test.dart b/manager_api_new/test/event_agenda_dto_address_test.dart new file mode 100644 index 0000000..fb6e772 --- /dev/null +++ b/manager_api_new/test/event_agenda_dto_address_test.dart @@ -0,0 +1,69 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for EventAgendaDTOAddress +void main() { + // final instance = EventAgendaDTOAddress(); + + group('test EventAgendaDTOAddress', () { + // String address + test('to test the property `address`', () async { + // TODO + }); + + // String streetNumber + test('to test the property `streetNumber`', () async { + // TODO + }); + + // String streetName + test('to test the property `streetName`', () async { + // TODO + }); + + // String city + test('to test the property `city`', () async { + // TODO + }); + + // String state + test('to test the property `state`', () async { + // TODO + }); + + // String postCode + test('to test the property `postCode`', () async { + // TODO + }); + + // String country + test('to test the property `country`', () async { + // TODO + }); + + // EventAddressDTOGeometry geometry + test('to test the property `geometry`', () async { + // TODO + }); + + // String polyColor + test('to test the property `polyColor`', () async { + // TODO + }); + + // int zoom + test('to test the property `zoom`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/event_agenda_dto_resource_test.dart b/manager_api_new/test/event_agenda_dto_resource_test.dart new file mode 100644 index 0000000..c8cd090 --- /dev/null +++ b/manager_api_new/test/event_agenda_dto_resource_test.dart @@ -0,0 +1,49 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for EventAgendaDTOResource +void main() { + // final instance = EventAgendaDTOResource(); + + group('test EventAgendaDTOResource', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // ResourceType type + test('to test the property `type`', () async { + // TODO + }); + + // String label + test('to test the property `label`', () async { + // TODO + }); + + // String url + test('to test the property `url`', () async { + // TODO + }); + + // DateTime dateCreation + test('to test the property `dateCreation`', () async { + // TODO + }); + + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/event_agenda_dto_test.dart b/manager_api_new/test/event_agenda_dto_test.dart new file mode 100644 index 0000000..3d8dde4 --- /dev/null +++ b/manager_api_new/test/event_agenda_dto_test.dart @@ -0,0 +1,94 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for EventAgendaDTO +void main() { + // final instance = EventAgendaDTO(); + + group('test EventAgendaDTO', () { + // int id + test('to test the property `id`', () async { + // TODO + }); + + // List label (default value: const []) + test('to test the property `label`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // String type + test('to test the property `type`', () async { + // TODO + }); + + // DateTime dateAdded + test('to test the property `dateAdded`', () async { + // TODO + }); + + // DateTime dateFrom + test('to test the property `dateFrom`', () async { + // TODO + }); + + // DateTime dateTo + test('to test the property `dateTo`', () async { + // TODO + }); + + // String website + test('to test the property `website`', () async { + // TODO + }); + + // String resourceId + test('to test the property `resourceId`', () async { + // TODO + }); + + // EventAgendaDTOResource resource + test('to test the property `resource`', () async { + // TODO + }); + + // EventAgendaDTOAddress address + test('to test the property `address`', () async { + // TODO + }); + + // String phone + test('to test the property `phone`', () async { + // TODO + }); + + // String email + test('to test the property `email`', () async { + // TODO + }); + + // String sectionAgendaId + test('to test the property `sectionAgendaId`', () async { + // TODO + }); + + // String sectionEventId + test('to test the property `sectionEventId`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/geometry_centroid_test.dart b/manager_api_new/test/geometry_centroid_test.dart new file mode 100644 index 0000000..17a0e70 --- /dev/null +++ b/manager_api_new/test/geometry_centroid_test.dart @@ -0,0 +1,164 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GeometryCentroid +void main() { + // final instance = GeometryCentroid(); + + group('test GeometryCentroid', () { + // GeometryFactory factory_ + test('to test the property `factory_`', () async { + // TODO + }); + + // Object userData + test('to test the property `userData`', () async { + // TODO + }); + + // int srid + test('to test the property `srid`', () async { + // TODO + }); + + // GeometryPrecisionModel precisionModel + test('to test the property `precisionModel`', () async { + // TODO + }); + + // int numGeometries + test('to test the property `numGeometries`', () async { + // TODO + }); + + // bool isSimple + test('to test the property `isSimple`', () async { + // TODO + }); + + // bool isValid + test('to test the property `isValid`', () async { + // TODO + }); + + // double area + test('to test the property `area`', () async { + // TODO + }); + + // double length + test('to test the property `length`', () async { + // TODO + }); + + // GeometryCentroid centroid + test('to test the property `centroid`', () async { + // TODO + }); + + // GeometryCentroid interiorPoint + test('to test the property `interiorPoint`', () async { + // TODO + }); + + // GeometryCentroid pointOnSurface + test('to test the property `pointOnSurface`', () async { + // TODO + }); + + // MapAnnotationGeometry envelope + test('to test the property `envelope`', () async { + // TODO + }); + + // GeometryEnvelopeInternal envelopeInternal + test('to test the property `envelopeInternal`', () async { + // TODO + }); + + // bool isRectangle + test('to test the property `isRectangle`', () async { + // TODO + }); + + // PointAllOfCoordinateSequence coordinateSequence + test('to test the property `coordinateSequence`', () async { + // TODO + }); + + // List coordinates (default value: const []) + test('to test the property `coordinates`', () async { + // TODO + }); + + // int numPoints + test('to test the property `numPoints`', () async { + // TODO + }); + + // bool isEmpty + test('to test the property `isEmpty`', () async { + // TODO + }); + + // Dimension dimension + test('to test the property `dimension`', () async { + // TODO + }); + + // Dimension boundaryDimension + test('to test the property `boundaryDimension`', () async { + // TODO + }); + + // double x + test('to test the property `x`', () async { + // TODO + }); + + // double y + test('to test the property `y`', () async { + // TODO + }); + + // PointAllOfCoordinate coordinate + test('to test the property `coordinate`', () async { + // TODO + }); + + // String geometryType + test('to test the property `geometryType`', () async { + // TODO + }); + + // OgcGeometryType ogcGeometryType + test('to test the property `ogcGeometryType`', () async { + // TODO + }); + + // PointAllOfBoundary boundary + test('to test the property `boundary`', () async { + // TODO + }); + + // double z + test('to test the property `z`', () async { + // TODO + }); + + // double m + test('to test the property `m`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/geometry_dto_test.dart b/manager_api_new/test/geometry_dto_test.dart new file mode 100644 index 0000000..502311f --- /dev/null +++ b/manager_api_new/test/geometry_dto_test.dart @@ -0,0 +1,29 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GeometryDTO +void main() { + // final instance = GeometryDTO(); + + group('test GeometryDTO', () { + // String type + test('to test the property `type`', () async { + // TODO + }); + + // Object coordinates + test('to test the property `coordinates`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/geometry_envelope_internal_test.dart b/manager_api_new/test/geometry_envelope_internal_test.dart new file mode 100644 index 0000000..c82d61d --- /dev/null +++ b/manager_api_new/test/geometry_envelope_internal_test.dart @@ -0,0 +1,79 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GeometryEnvelopeInternal +void main() { + // final instance = GeometryEnvelopeInternal(); + + group('test GeometryEnvelopeInternal', () { + // bool isNull + test('to test the property `isNull`', () async { + // TODO + }); + + // double width + test('to test the property `width`', () async { + // TODO + }); + + // double height + test('to test the property `height`', () async { + // TODO + }); + + // double diameter + test('to test the property `diameter`', () async { + // TODO + }); + + // double minX + test('to test the property `minX`', () async { + // TODO + }); + + // double maxX + test('to test the property `maxX`', () async { + // TODO + }); + + // double minY + test('to test the property `minY`', () async { + // TODO + }); + + // double maxY + test('to test the property `maxY`', () async { + // TODO + }); + + // double area + test('to test the property `area`', () async { + // TODO + }); + + // double minExtent + test('to test the property `minExtent`', () async { + // TODO + }); + + // double maxExtent + test('to test the property `maxExtent`', () async { + // TODO + }); + + // PointAllOfCoordinate centre + test('to test the property `centre`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/geometry_factory_coordinate_sequence_factory_test.dart b/manager_api_new/test/geometry_factory_coordinate_sequence_factory_test.dart new file mode 100644 index 0000000..79f1383 --- /dev/null +++ b/manager_api_new/test/geometry_factory_coordinate_sequence_factory_test.dart @@ -0,0 +1,24 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GeometryFactoryCoordinateSequenceFactory +void main() { + // final instance = GeometryFactoryCoordinateSequenceFactory(); + + group('test GeometryFactoryCoordinateSequenceFactory', () { + // Ordinates ordinates + test('to test the property `ordinates`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/geometry_factory_geometry_services_test.dart b/manager_api_new/test/geometry_factory_geometry_services_test.dart new file mode 100644 index 0000000..88fb1cb --- /dev/null +++ b/manager_api_new/test/geometry_factory_geometry_services_test.dart @@ -0,0 +1,44 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GeometryFactoryGeometryServices +void main() { + // final instance = GeometryFactoryGeometryServices(); + + group('test GeometryFactoryGeometryServices', () { + // NtsGeometryServicesGeometryOverlay geometryOverlay + test('to test the property `geometryOverlay`', () async { + // TODO + }); + + // NtsGeometryServicesCoordinateEqualityComparer coordinateEqualityComparer + test('to test the property `coordinateEqualityComparer`', () async { + // TODO + }); + + // int defaultSRID + test('to test the property `defaultSRID`', () async { + // TODO + }); + + // GeometryFactoryCoordinateSequenceFactory defaultCoordinateSequenceFactory + test('to test the property `defaultCoordinateSequenceFactory`', () async { + // TODO + }); + + // GeometryPrecisionModel defaultPrecisionModel + test('to test the property `defaultPrecisionModel`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/geometry_factory_test.dart b/manager_api_new/test/geometry_factory_test.dart new file mode 100644 index 0000000..ecac5af --- /dev/null +++ b/manager_api_new/test/geometry_factory_test.dart @@ -0,0 +1,39 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GeometryFactory +void main() { + // final instance = GeometryFactory(); + + group('test GeometryFactory', () { + // GeometryPrecisionModel precisionModel + test('to test the property `precisionModel`', () async { + // TODO + }); + + // GeometryFactoryCoordinateSequenceFactory coordinateSequenceFactory + test('to test the property `coordinateSequenceFactory`', () async { + // TODO + }); + + // int srid + test('to test the property `srid`', () async { + // TODO + }); + + // GeometryFactoryGeometryServices geometryServices + test('to test the property `geometryServices`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/geometry_precision_model_test.dart b/manager_api_new/test/geometry_precision_model_test.dart new file mode 100644 index 0000000..c7f7426 --- /dev/null +++ b/manager_api_new/test/geometry_precision_model_test.dart @@ -0,0 +1,44 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GeometryPrecisionModel +void main() { + // final instance = GeometryPrecisionModel(); + + group('test GeometryPrecisionModel', () { + // bool isFloating + test('to test the property `isFloating`', () async { + // TODO + }); + + // int maximumSignificantDigits + test('to test the property `maximumSignificantDigits`', () async { + // TODO + }); + + // double scale + test('to test the property `scale`', () async { + // TODO + }); + + // double gridSize + test('to test the property `gridSize`', () async { + // TODO + }); + + // PrecisionModels precisionModelType + test('to test the property `precisionModelType`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/geometry_test.dart b/manager_api_new/test/geometry_test.dart new file mode 100644 index 0000000..0ab7533 --- /dev/null +++ b/manager_api_new/test/geometry_test.dart @@ -0,0 +1,94 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for Geometry +void main() { + // final instance = Geometry(); + + group('test Geometry', () { + // GeometryFactory factory_ + test('to test the property `factory_`', () async { + // TODO + }); + + // Object userData + test('to test the property `userData`', () async { + // TODO + }); + + // int srid + test('to test the property `srid`', () async { + // TODO + }); + + // GeometryPrecisionModel precisionModel + test('to test the property `precisionModel`', () async { + // TODO + }); + + // int numGeometries + test('to test the property `numGeometries`', () async { + // TODO + }); + + // bool isSimple + test('to test the property `isSimple`', () async { + // TODO + }); + + // bool isValid + test('to test the property `isValid`', () async { + // TODO + }); + + // double area + test('to test the property `area`', () async { + // TODO + }); + + // double length + test('to test the property `length`', () async { + // TODO + }); + + // GeometryCentroid centroid + test('to test the property `centroid`', () async { + // TODO + }); + + // GeometryCentroid interiorPoint + test('to test the property `interiorPoint`', () async { + // TODO + }); + + // GeometryCentroid pointOnSurface + test('to test the property `pointOnSurface`', () async { + // TODO + }); + + // MapAnnotationGeometry envelope + test('to test the property `envelope`', () async { + // TODO + }); + + // GeometryEnvelopeInternal envelopeInternal + test('to test the property `envelopeInternal`', () async { + // TODO + }); + + // bool isRectangle + test('to test the property `isRectangle`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/geometry_type_test.dart b/manager_api_new/test/geometry_type_test.dart new file mode 100644 index 0000000..a25c836 --- /dev/null +++ b/manager_api_new/test/geometry_type_test.dart @@ -0,0 +1,17 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GeometryType +void main() { + group('test GeometryType', () {}); +} diff --git a/manager_api_new/test/guided_path_dto_test.dart b/manager_api_new/test/guided_path_dto_test.dart new file mode 100644 index 0000000..c5087eb --- /dev/null +++ b/manager_api_new/test/guided_path_dto_test.dart @@ -0,0 +1,74 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GuidedPathDTO +void main() { + // final instance = GuidedPathDTO(); + + group('test GuidedPathDTO', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // String sectionMapId + test('to test the property `sectionMapId`', () async { + // TODO + }); + + // String sectionEventId + test('to test the property `sectionEventId`', () async { + // TODO + }); + + // bool isLinear + test('to test the property `isLinear`', () async { + // TODO + }); + + // bool requireSuccessToAdvance + test('to test the property `requireSuccessToAdvance`', () async { + // TODO + }); + + // bool hideNextStepsUntilComplete + test('to test the property `hideNextStepsUntilComplete`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // List steps (default value: const []) + test('to test the property `steps`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/guided_path_section_map_test.dart b/manager_api_new/test/guided_path_section_map_test.dart new file mode 100644 index 0000000..73e1f01 --- /dev/null +++ b/manager_api_new/test/guided_path_section_map_test.dart @@ -0,0 +1,164 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GuidedPathSectionMap +void main() { + // final instance = GuidedPathSectionMap(); + + group('test GuidedPathSectionMap', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // String label + test('to test the property `label`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // String configurationId + test('to test the property `configurationId`', () async { + // TODO + }); + + // SectionType type + test('to test the property `type`', () async { + // TODO + }); + + // bool isSubSection + test('to test the property `isSubSection`', () async { + // TODO + }); + + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // List mapCategories (default value: const []) + test('to test the property `mapCategories`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // String imageId + test('to test the property `imageId`', () async { + // TODO + }); + + // String imageSource + test('to test the property `imageSource`', () async { + // TODO + }); + + // String parentId + test('to test the property `parentId`', () async { + // TODO + }); + + // DateTime dateCreation + test('to test the property `dateCreation`', () async { + // TODO + }); + + // bool isBeacon + test('to test the property `isBeacon`', () async { + // TODO + }); + + // int beaconId + test('to test the property `beaconId`', () async { + // TODO + }); + + // String latitude + test('to test the property `latitude`', () async { + // TODO + }); + + // String longitude + test('to test the property `longitude`', () async { + // TODO + }); + + // int meterZoneGPS + test('to test the property `meterZoneGPS`', () async { + // TODO + }); + + // bool isActive + test('to test the property `isActive`', () async { + // TODO + }); + + // int mapZoom + test('to test the property `mapZoom`', () async { + // TODO + }); + + // SectionMapAllOfMapMapType mapMapType + test('to test the property `mapMapType`', () async { + // TODO + }); + + // SectionMapAllOfMapTypeMapbox mapTypeMapbox + test('to test the property `mapTypeMapbox`', () async { + // TODO + }); + + // SectionMapAllOfMapMapProvider mapMapProvider + test('to test the property `mapMapProvider`', () async { + // TODO + }); + + // List mapPoints (default value: const []) + test('to test the property `mapPoints`', () async { + // TODO + }); + + // String mapResourceId + test('to test the property `mapResourceId`', () async { + // TODO + }); + + // SectionMapAllOfMapResource mapResource + test('to test the property `mapResource`', () async { + // TODO + }); + + // String mapCenterLatitude + test('to test the property `mapCenterLatitude`', () async { + // TODO + }); + + // String mapCenterLongitude + test('to test the property `mapCenterLongitude`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/guided_path_test.dart b/manager_api_new/test/guided_path_test.dart new file mode 100644 index 0000000..a9b2a41 --- /dev/null +++ b/manager_api_new/test/guided_path_test.dart @@ -0,0 +1,84 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GuidedPath +void main() { + // final instance = GuidedPath(); + + group('test GuidedPath', () { + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // String id + test('to test the property `id`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // String sectionMapId + test('to test the property `sectionMapId`', () async { + // TODO + }); + + // GuidedPathSectionMap sectionMap + test('to test the property `sectionMap`', () async { + // TODO + }); + + // String sectionEventId + test('to test the property `sectionEventId`', () async { + // TODO + }); + + // ApplicationInstanceSectionEvent sectionEvent + test('to test the property `sectionEvent`', () async { + // TODO + }); + + // bool isLinear + test('to test the property `isLinear`', () async { + // TODO + }); + + // bool requireSuccessToAdvance + test('to test the property `requireSuccessToAdvance`', () async { + // TODO + }); + + // bool hideNextStepsUntilComplete + test('to test the property `hideNextStepsUntilComplete`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // List steps (default value: const []) + test('to test the property `steps`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/guided_step_dto_test.dart b/manager_api_new/test/guided_step_dto_test.dart new file mode 100644 index 0000000..84497a6 --- /dev/null +++ b/manager_api_new/test/guided_step_dto_test.dart @@ -0,0 +1,99 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GuidedStepDTO +void main() { + // final instance = GuidedStepDTO(); + + group('test GuidedStepDTO', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // String guidedPathId + test('to test the property `guidedPathId`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // EventAddressDTOGeometry geometry + test('to test the property `geometry`', () async { + // TODO + }); + + // double zoneRadiusMeters + test('to test the property `zoneRadiusMeters`', () async { + // TODO + }); + + // String imageUrl + test('to test the property `imageUrl`', () async { + // TODO + }); + + // int triggerGeoPointId + test('to test the property `triggerGeoPointId`', () async { + // TODO + }); + + // GuidedStepDTOTriggerGeoPoint triggerGeoPoint + test('to test the property `triggerGeoPoint`', () async { + // TODO + }); + + // bool isHiddenInitially + test('to test the property `isHiddenInitially`', () async { + // TODO + }); + + // bool isStepTimer + test('to test the property `isStepTimer`', () async { + // TODO + }); + + // bool isStepLocked + test('to test the property `isStepLocked`', () async { + // TODO + }); + + // int timerSeconds + test('to test the property `timerSeconds`', () async { + // TODO + }); + + // List timerExpiredMessage (default value: const []) + test('to test the property `timerExpiredMessage`', () async { + // TODO + }); + + // List quizQuestions (default value: const []) + test('to test the property `quizQuestions`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/guided_step_dto_trigger_geo_point_test.dart b/manager_api_new/test/guided_step_dto_trigger_geo_point_test.dart new file mode 100644 index 0000000..09dd638 --- /dev/null +++ b/manager_api_new/test/guided_step_dto_trigger_geo_point_test.dart @@ -0,0 +1,99 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GuidedStepDTOTriggerGeoPoint +void main() { + // final instance = GuidedStepDTOTriggerGeoPoint(); + + group('test GuidedStepDTOTriggerGeoPoint', () { + // int id + test('to test the property `id`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // List contents (default value: const []) + test('to test the property `contents`', () async { + // TODO + }); + + // int categorieId + test('to test the property `categorieId`', () async { + // TODO + }); + + // String imageResourceId + test('to test the property `imageResourceId`', () async { + // TODO + }); + + // String imageUrl + test('to test the property `imageUrl`', () async { + // TODO + }); + + // List schedules (default value: const []) + test('to test the property `schedules`', () async { + // TODO + }); + + // List prices (default value: const []) + test('to test the property `prices`', () async { + // TODO + }); + + // List phone (default value: const []) + test('to test the property `phone`', () async { + // TODO + }); + + // List email (default value: const []) + test('to test the property `email`', () async { + // TODO + }); + + // List site (default value: const []) + test('to test the property `site`', () async { + // TODO + }); + + // EventAddressDTOGeometry geometry + test('to test the property `geometry`', () async { + // TODO + }); + + // String polyColor + test('to test the property `polyColor`', () async { + // TODO + }); + + // String sectionMapId + test('to test the property `sectionMapId`', () async { + // TODO + }); + + // String sectionEventId + test('to test the property `sectionEventId`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/guided_step_guided_path_test.dart b/manager_api_new/test/guided_step_guided_path_test.dart new file mode 100644 index 0000000..f83b9f2 --- /dev/null +++ b/manager_api_new/test/guided_step_guided_path_test.dart @@ -0,0 +1,84 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GuidedStepGuidedPath +void main() { + // final instance = GuidedStepGuidedPath(); + + group('test GuidedStepGuidedPath', () { + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // String id + test('to test the property `id`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // String sectionMapId + test('to test the property `sectionMapId`', () async { + // TODO + }); + + // GuidedPathSectionMap sectionMap + test('to test the property `sectionMap`', () async { + // TODO + }); + + // String sectionEventId + test('to test the property `sectionEventId`', () async { + // TODO + }); + + // ApplicationInstanceSectionEvent sectionEvent + test('to test the property `sectionEvent`', () async { + // TODO + }); + + // bool isLinear + test('to test the property `isLinear`', () async { + // TODO + }); + + // bool requireSuccessToAdvance + test('to test the property `requireSuccessToAdvance`', () async { + // TODO + }); + + // bool hideNextStepsUntilComplete + test('to test the property `hideNextStepsUntilComplete`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // List steps (default value: const []) + test('to test the property `steps`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/guided_step_test.dart b/manager_api_new/test/guided_step_test.dart new file mode 100644 index 0000000..6274870 --- /dev/null +++ b/manager_api_new/test/guided_step_test.dart @@ -0,0 +1,104 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GuidedStep +void main() { + // final instance = GuidedStep(); + + group('test GuidedStep', () { + // String guidedPathId + test('to test the property `guidedPathId`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // String id + test('to test the property `id`', () async { + // TODO + }); + + // GuidedStepGuidedPath guidedPath + test('to test the property `guidedPath`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // PointAllOfBoundary geometry + test('to test the property `geometry`', () async { + // TODO + }); + + // double zoneRadiusMeters + test('to test the property `zoneRadiusMeters`', () async { + // TODO + }); + + // String imageUrl + test('to test the property `imageUrl`', () async { + // TODO + }); + + // int triggerGeoPointId + test('to test the property `triggerGeoPointId`', () async { + // TODO + }); + + // GuidedStepTriggerGeoPoint triggerGeoPoint + test('to test the property `triggerGeoPoint`', () async { + // TODO + }); + + // bool isHiddenInitially + test('to test the property `isHiddenInitially`', () async { + // TODO + }); + + // List quizQuestions (default value: const []) + test('to test the property `quizQuestions`', () async { + // TODO + }); + + // bool isStepTimer + test('to test the property `isStepTimer`', () async { + // TODO + }); + + // bool isStepLocked + test('to test the property `isStepLocked`', () async { + // TODO + }); + + // int timerSeconds + test('to test the property `timerSeconds`', () async { + // TODO + }); + + // List timerExpiredMessage (default value: const []) + test('to test the property `timerExpiredMessage`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/guided_step_trigger_geo_point_test.dart b/manager_api_new/test/guided_step_trigger_geo_point_test.dart new file mode 100644 index 0000000..c42e722 --- /dev/null +++ b/manager_api_new/test/guided_step_trigger_geo_point_test.dart @@ -0,0 +1,109 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for GuidedStepTriggerGeoPoint +void main() { + // final instance = GuidedStepTriggerGeoPoint(); + + group('test GuidedStepTriggerGeoPoint', () { + // int id + test('to test the property `id`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // List contents (default value: const []) + test('to test the property `contents`', () async { + // TODO + }); + + // List schedules (default value: const []) + test('to test the property `schedules`', () async { + // TODO + }); + + // List prices (default value: const []) + test('to test the property `prices`', () async { + // TODO + }); + + // List phone (default value: const []) + test('to test the property `phone`', () async { + // TODO + }); + + // List email (default value: const []) + test('to test the property `email`', () async { + // TODO + }); + + // List site (default value: const []) + test('to test the property `site`', () async { + // TODO + }); + + // int categorieId + test('to test the property `categorieId`', () async { + // TODO + }); + + // PointAllOfBoundary geometry + test('to test the property `geometry`', () async { + // TODO + }); + + // String polyColor + test('to test the property `polyColor`', () async { + // TODO + }); + + // String imageResourceId + test('to test the property `imageResourceId`', () async { + // TODO + }); + + // String imageUrl + test('to test the property `imageUrl`', () async { + // TODO + }); + + // String sectionMapId + test('to test the property `sectionMapId`', () async { + // TODO + }); + + // GuidedPathSectionMap sectionMap + test('to test the property `sectionMap`', () async { + // TODO + }); + + // String sectionEventId + test('to test the property `sectionEventId`', () async { + // TODO + }); + + // ApplicationInstanceSectionEvent sectionEvent + test('to test the property `sectionEvent`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/layout_main_page_type_test.dart b/manager_api_new/test/layout_main_page_type_test.dart new file mode 100644 index 0000000..ed267d4 --- /dev/null +++ b/manager_api_new/test/layout_main_page_type_test.dart @@ -0,0 +1,17 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for LayoutMainPageType +void main() { + group('test LayoutMainPageType', () {}); +} diff --git a/manager_api_new/test/map_annotation_dto_test.dart b/manager_api_new/test/map_annotation_dto_test.dart new file mode 100644 index 0000000..b994f43 --- /dev/null +++ b/manager_api_new/test/map_annotation_dto_test.dart @@ -0,0 +1,64 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for MapAnnotationDTO +void main() { + // final instance = MapAnnotationDTO(); + + group('test MapAnnotationDTO', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // List type (default value: const []) + test('to test the property `type`', () async { + // TODO + }); + + // List label (default value: const []) + test('to test the property `label`', () async { + // TODO + }); + + // GeometryType geometryType + test('to test the property `geometryType`', () async { + // TODO + }); + + // EventAddressDTOGeometry geometry + test('to test the property `geometry`', () async { + // TODO + }); + + // String polyColor + test('to test the property `polyColor`', () async { + // TODO + }); + + // String icon + test('to test the property `icon`', () async { + // TODO + }); + + // String iconResourceId + test('to test the property `iconResourceId`', () async { + // TODO + }); + + // PuzzleDTOAllOfPuzzleImage iconResource + test('to test the property `iconResource`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/map_annotation_geometry_test.dart b/manager_api_new/test/map_annotation_geometry_test.dart new file mode 100644 index 0000000..140c087 --- /dev/null +++ b/manager_api_new/test/map_annotation_geometry_test.dart @@ -0,0 +1,94 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for MapAnnotationGeometry +void main() { + // final instance = MapAnnotationGeometry(); + + group('test MapAnnotationGeometry', () { + // GeometryFactory factory_ + test('to test the property `factory_`', () async { + // TODO + }); + + // Object userData + test('to test the property `userData`', () async { + // TODO + }); + + // int srid + test('to test the property `srid`', () async { + // TODO + }); + + // GeometryPrecisionModel precisionModel + test('to test the property `precisionModel`', () async { + // TODO + }); + + // int numGeometries + test('to test the property `numGeometries`', () async { + // TODO + }); + + // bool isSimple + test('to test the property `isSimple`', () async { + // TODO + }); + + // bool isValid + test('to test the property `isValid`', () async { + // TODO + }); + + // double area + test('to test the property `area`', () async { + // TODO + }); + + // double length + test('to test the property `length`', () async { + // TODO + }); + + // GeometryCentroid centroid + test('to test the property `centroid`', () async { + // TODO + }); + + // GeometryCentroid interiorPoint + test('to test the property `interiorPoint`', () async { + // TODO + }); + + // GeometryCentroid pointOnSurface + test('to test the property `pointOnSurface`', () async { + // TODO + }); + + // MapAnnotationGeometry envelope + test('to test the property `envelope`', () async { + // TODO + }); + + // GeometryEnvelopeInternal envelopeInternal + test('to test the property `envelopeInternal`', () async { + // TODO + }); + + // bool isRectangle + test('to test the property `isRectangle`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/map_annotation_icon_resource_test.dart b/manager_api_new/test/map_annotation_icon_resource_test.dart new file mode 100644 index 0000000..4876710 --- /dev/null +++ b/manager_api_new/test/map_annotation_icon_resource_test.dart @@ -0,0 +1,49 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for MapAnnotationIconResource +void main() { + // final instance = MapAnnotationIconResource(); + + group('test MapAnnotationIconResource', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // ResourceType type + test('to test the property `type`', () async { + // TODO + }); + + // String label + test('to test the property `label`', () async { + // TODO + }); + + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // DateTime dateCreation + test('to test the property `dateCreation`', () async { + // TODO + }); + + // String url + test('to test the property `url`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/map_annotation_test.dart b/manager_api_new/test/map_annotation_test.dart new file mode 100644 index 0000000..97e7dc1 --- /dev/null +++ b/manager_api_new/test/map_annotation_test.dart @@ -0,0 +1,64 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for MapAnnotation +void main() { + // final instance = MapAnnotation(); + + group('test MapAnnotation', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // List type (default value: const []) + test('to test the property `type`', () async { + // TODO + }); + + // List label (default value: const []) + test('to test the property `label`', () async { + // TODO + }); + + // GeometryType geometryType + test('to test the property `geometryType`', () async { + // TODO + }); + + // MapAnnotationGeometry geometry + test('to test the property `geometry`', () async { + // TODO + }); + + // String polyColor + test('to test the property `polyColor`', () async { + // TODO + }); + + // String icon + test('to test the property `icon`', () async { + // TODO + }); + + // String iconResourceId + test('to test the property `iconResourceId`', () async { + // TODO + }); + + // MapAnnotationIconResource iconResource + test('to test the property `iconResource`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/nts_geometry_services_coordinate_equality_comparer_test.dart b/manager_api_new/test/nts_geometry_services_coordinate_equality_comparer_test.dart new file mode 100644 index 0000000..028e343 --- /dev/null +++ b/manager_api_new/test/nts_geometry_services_coordinate_equality_comparer_test.dart @@ -0,0 +1,19 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for NtsGeometryServicesCoordinateEqualityComparer +void main() { + // final instance = NtsGeometryServicesCoordinateEqualityComparer(); + + group('test NtsGeometryServicesCoordinateEqualityComparer', () {}); +} diff --git a/manager_api_new/test/nts_geometry_services_geometry_overlay_test.dart b/manager_api_new/test/nts_geometry_services_geometry_overlay_test.dart new file mode 100644 index 0000000..7cacd2d --- /dev/null +++ b/manager_api_new/test/nts_geometry_services_geometry_overlay_test.dart @@ -0,0 +1,19 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for NtsGeometryServicesGeometryOverlay +void main() { + // final instance = NtsGeometryServicesGeometryOverlay(); + + group('test NtsGeometryServicesGeometryOverlay', () {}); +} diff --git a/manager_api_new/test/nts_geometry_services_test.dart b/manager_api_new/test/nts_geometry_services_test.dart new file mode 100644 index 0000000..5c0d7e4 --- /dev/null +++ b/manager_api_new/test/nts_geometry_services_test.dart @@ -0,0 +1,44 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for NtsGeometryServices +void main() { + // final instance = NtsGeometryServices(); + + group('test NtsGeometryServices', () { + // NtsGeometryServicesGeometryOverlay geometryOverlay + test('to test the property `geometryOverlay`', () async { + // TODO + }); + + // NtsGeometryServicesCoordinateEqualityComparer coordinateEqualityComparer + test('to test the property `coordinateEqualityComparer`', () async { + // TODO + }); + + // int defaultSRID + test('to test the property `defaultSRID`', () async { + // TODO + }); + + // GeometryFactoryCoordinateSequenceFactory defaultCoordinateSequenceFactory + test('to test the property `defaultCoordinateSequenceFactory`', () async { + // TODO + }); + + // GeometryPrecisionModel defaultPrecisionModel + test('to test the property `defaultPrecisionModel`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/ogc_geometry_type_test.dart b/manager_api_new/test/ogc_geometry_type_test.dart new file mode 100644 index 0000000..b6ba996 --- /dev/null +++ b/manager_api_new/test/ogc_geometry_type_test.dart @@ -0,0 +1,17 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for OgcGeometryType +void main() { + group('test OgcGeometryType', () {}); +} diff --git a/manager_api_new/test/ordinates_test.dart b/manager_api_new/test/ordinates_test.dart new file mode 100644 index 0000000..86cd7cd --- /dev/null +++ b/manager_api_new/test/ordinates_test.dart @@ -0,0 +1,17 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for Ordinates +void main() { + group('test Ordinates', () {}); +} diff --git a/manager_api_new/test/point_all_of_boundary_test.dart b/manager_api_new/test/point_all_of_boundary_test.dart new file mode 100644 index 0000000..d861895 --- /dev/null +++ b/manager_api_new/test/point_all_of_boundary_test.dart @@ -0,0 +1,94 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for PointAllOfBoundary +void main() { + // final instance = PointAllOfBoundary(); + + group('test PointAllOfBoundary', () { + // GeometryFactory factory_ + test('to test the property `factory_`', () async { + // TODO + }); + + // Object userData + test('to test the property `userData`', () async { + // TODO + }); + + // int srid + test('to test the property `srid`', () async { + // TODO + }); + + // GeometryPrecisionModel precisionModel + test('to test the property `precisionModel`', () async { + // TODO + }); + + // int numGeometries + test('to test the property `numGeometries`', () async { + // TODO + }); + + // bool isSimple + test('to test the property `isSimple`', () async { + // TODO + }); + + // bool isValid + test('to test the property `isValid`', () async { + // TODO + }); + + // double area + test('to test the property `area`', () async { + // TODO + }); + + // double length + test('to test the property `length`', () async { + // TODO + }); + + // GeometryCentroid centroid + test('to test the property `centroid`', () async { + // TODO + }); + + // GeometryCentroid interiorPoint + test('to test the property `interiorPoint`', () async { + // TODO + }); + + // GeometryCentroid pointOnSurface + test('to test the property `pointOnSurface`', () async { + // TODO + }); + + // MapAnnotationGeometry envelope + test('to test the property `envelope`', () async { + // TODO + }); + + // GeometryEnvelopeInternal envelopeInternal + test('to test the property `envelopeInternal`', () async { + // TODO + }); + + // bool isRectangle + test('to test the property `isRectangle`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/point_all_of_coordinate_sequence_test.dart b/manager_api_new/test/point_all_of_coordinate_sequence_test.dart new file mode 100644 index 0000000..691cf17 --- /dev/null +++ b/manager_api_new/test/point_all_of_coordinate_sequence_test.dart @@ -0,0 +1,74 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for PointAllOfCoordinateSequence +void main() { + // final instance = PointAllOfCoordinateSequence(); + + group('test PointAllOfCoordinateSequence', () { + // int dimension + test('to test the property `dimension`', () async { + // TODO + }); + + // int measures + test('to test the property `measures`', () async { + // TODO + }); + + // int spatial + test('to test the property `spatial`', () async { + // TODO + }); + + // Ordinates ordinates + test('to test the property `ordinates`', () async { + // TODO + }); + + // bool hasZ + test('to test the property `hasZ`', () async { + // TODO + }); + + // bool hasM + test('to test the property `hasM`', () async { + // TODO + }); + + // int zOrdinateIndex + test('to test the property `zOrdinateIndex`', () async { + // TODO + }); + + // int mOrdinateIndex + test('to test the property `mOrdinateIndex`', () async { + // TODO + }); + + // PointAllOfCoordinate first + test('to test the property `first`', () async { + // TODO + }); + + // PointAllOfCoordinate last + test('to test the property `last`', () async { + // TODO + }); + + // int count + test('to test the property `count`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/point_all_of_coordinate_test.dart b/manager_api_new/test/point_all_of_coordinate_test.dart new file mode 100644 index 0000000..d97a4f4 --- /dev/null +++ b/manager_api_new/test/point_all_of_coordinate_test.dart @@ -0,0 +1,49 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for PointAllOfCoordinate +void main() { + // final instance = PointAllOfCoordinate(); + + group('test PointAllOfCoordinate', () { + // double x + test('to test the property `x`', () async { + // TODO + }); + + // double y + test('to test the property `y`', () async { + // TODO + }); + + // double z + test('to test the property `z`', () async { + // TODO + }); + + // double m + test('to test the property `m`', () async { + // TODO + }); + + // PointAllOfCoordinate coordinateValue + test('to test the property `coordinateValue`', () async { + // TODO + }); + + // bool isValid + test('to test the property `isValid`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/point_test.dart b/manager_api_new/test/point_test.dart new file mode 100644 index 0000000..df31063 --- /dev/null +++ b/manager_api_new/test/point_test.dart @@ -0,0 +1,164 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for Point +void main() { + // final instance = Point(); + + group('test Point', () { + // GeometryFactory factory_ + test('to test the property `factory_`', () async { + // TODO + }); + + // Object userData + test('to test the property `userData`', () async { + // TODO + }); + + // int srid + test('to test the property `srid`', () async { + // TODO + }); + + // GeometryPrecisionModel precisionModel + test('to test the property `precisionModel`', () async { + // TODO + }); + + // int numGeometries + test('to test the property `numGeometries`', () async { + // TODO + }); + + // bool isSimple + test('to test the property `isSimple`', () async { + // TODO + }); + + // bool isValid + test('to test the property `isValid`', () async { + // TODO + }); + + // double area + test('to test the property `area`', () async { + // TODO + }); + + // double length + test('to test the property `length`', () async { + // TODO + }); + + // GeometryCentroid centroid + test('to test the property `centroid`', () async { + // TODO + }); + + // GeometryCentroid interiorPoint + test('to test the property `interiorPoint`', () async { + // TODO + }); + + // GeometryCentroid pointOnSurface + test('to test the property `pointOnSurface`', () async { + // TODO + }); + + // MapAnnotationGeometry envelope + test('to test the property `envelope`', () async { + // TODO + }); + + // GeometryEnvelopeInternal envelopeInternal + test('to test the property `envelopeInternal`', () async { + // TODO + }); + + // bool isRectangle + test('to test the property `isRectangle`', () async { + // TODO + }); + + // PointAllOfCoordinateSequence coordinateSequence + test('to test the property `coordinateSequence`', () async { + // TODO + }); + + // List coordinates (default value: const []) + test('to test the property `coordinates`', () async { + // TODO + }); + + // int numPoints + test('to test the property `numPoints`', () async { + // TODO + }); + + // bool isEmpty + test('to test the property `isEmpty`', () async { + // TODO + }); + + // Dimension dimension + test('to test the property `dimension`', () async { + // TODO + }); + + // Dimension boundaryDimension + test('to test the property `boundaryDimension`', () async { + // TODO + }); + + // double x + test('to test the property `x`', () async { + // TODO + }); + + // double y + test('to test the property `y`', () async { + // TODO + }); + + // PointAllOfCoordinate coordinate + test('to test the property `coordinate`', () async { + // TODO + }); + + // String geometryType + test('to test the property `geometryType`', () async { + // TODO + }); + + // OgcGeometryType ogcGeometryType + test('to test the property `ogcGeometryType`', () async { + // TODO + }); + + // PointAllOfBoundary boundary + test('to test the property `boundary`', () async { + // TODO + }); + + // double z + test('to test the property `z`', () async { + // TODO + }); + + // double m + test('to test the property `m`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/precision_model_test.dart b/manager_api_new/test/precision_model_test.dart new file mode 100644 index 0000000..e005df1 --- /dev/null +++ b/manager_api_new/test/precision_model_test.dart @@ -0,0 +1,44 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for PrecisionModel +void main() { + // final instance = PrecisionModel(); + + group('test PrecisionModel', () { + // bool isFloating + test('to test the property `isFloating`', () async { + // TODO + }); + + // int maximumSignificantDigits + test('to test the property `maximumSignificantDigits`', () async { + // TODO + }); + + // double scale + test('to test the property `scale`', () async { + // TODO + }); + + // double gridSize + test('to test the property `gridSize`', () async { + // TODO + }); + + // PrecisionModels precisionModelType + test('to test the property `precisionModelType`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/precision_models_test.dart b/manager_api_new/test/precision_models_test.dart new file mode 100644 index 0000000..ad11efb --- /dev/null +++ b/manager_api_new/test/precision_models_test.dart @@ -0,0 +1,17 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for PrecisionModels +void main() { + group('test PrecisionModels', () {}); +} diff --git a/manager_api_new/test/programme_block_dto_test.dart b/manager_api_new/test/programme_block_dto_test.dart new file mode 100644 index 0000000..6fd0e9c --- /dev/null +++ b/manager_api_new/test/programme_block_dto_test.dart @@ -0,0 +1,49 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for ProgrammeBlockDTO +void main() { + // final instance = ProgrammeBlockDTO(); + + group('test ProgrammeBlockDTO', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // DateTime startTime + test('to test the property `startTime`', () async { + // TODO + }); + + // DateTime endTime + test('to test the property `endTime`', () async { + // TODO + }); + + // List mapAnnotations (default value: const []) + test('to test the property `mapAnnotations`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/programme_block_test.dart b/manager_api_new/test/programme_block_test.dart new file mode 100644 index 0000000..6bd20cf --- /dev/null +++ b/manager_api_new/test/programme_block_test.dart @@ -0,0 +1,49 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for ProgrammeBlock +void main() { + // final instance = ProgrammeBlock(); + + group('test ProgrammeBlock', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // DateTime startTime + test('to test the property `startTime`', () async { + // TODO + }); + + // DateTime endTime + test('to test the property `endTime`', () async { + // TODO + }); + + // List mapAnnotations (default value: const []) + test('to test the property `mapAnnotations`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/question_type_test.dart b/manager_api_new/test/question_type_test.dart new file mode 100644 index 0000000..e704190 --- /dev/null +++ b/manager_api_new/test/question_type_test.dart @@ -0,0 +1,17 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for QuestionType +void main() { + group('test QuestionType', () {}); +} diff --git a/manager_api_new/test/quiz_question_guided_step_test.dart b/manager_api_new/test/quiz_question_guided_step_test.dart new file mode 100644 index 0000000..c64dfdc --- /dev/null +++ b/manager_api_new/test/quiz_question_guided_step_test.dart @@ -0,0 +1,104 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for QuizQuestionGuidedStep +void main() { + // final instance = QuizQuestionGuidedStep(); + + group('test QuizQuestionGuidedStep', () { + // String guidedPathId + test('to test the property `guidedPathId`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // String id + test('to test the property `id`', () async { + // TODO + }); + + // GuidedStepGuidedPath guidedPath + test('to test the property `guidedPath`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // PointAllOfBoundary geometry + test('to test the property `geometry`', () async { + // TODO + }); + + // double zoneRadiusMeters + test('to test the property `zoneRadiusMeters`', () async { + // TODO + }); + + // String imageUrl + test('to test the property `imageUrl`', () async { + // TODO + }); + + // int triggerGeoPointId + test('to test the property `triggerGeoPointId`', () async { + // TODO + }); + + // GuidedStepTriggerGeoPoint triggerGeoPoint + test('to test the property `triggerGeoPoint`', () async { + // TODO + }); + + // bool isHiddenInitially + test('to test the property `isHiddenInitially`', () async { + // TODO + }); + + // List quizQuestions (default value: const []) + test('to test the property `quizQuestions`', () async { + // TODO + }); + + // bool isStepTimer + test('to test the property `isStepTimer`', () async { + // TODO + }); + + // bool isStepLocked + test('to test the property `isStepLocked`', () async { + // TODO + }); + + // int timerSeconds + test('to test the property `timerSeconds`', () async { + // TODO + }); + + // List timerExpiredMessage (default value: const []) + test('to test the property `timerExpiredMessage`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/section_agenda_api_test.dart b/manager_api_new/test/section_agenda_api_test.dart new file mode 100644 index 0000000..c2278d6 --- /dev/null +++ b/manager_api_new/test/section_agenda_api_test.dart @@ -0,0 +1,39 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +/// tests for SectionAgendaApi +void main() { + // final instance = SectionAgendaApi(); + + group('tests for SectionAgendaApi', () { + //Future sectionAgendaCreateEventAgenda(String sectionAgendaId, EventAgendaDTO eventAgendaDTO) async + test('test sectionAgendaCreateEventAgenda', () async { + // TODO + }); + + //Future sectionAgendaDeleteEventAgenda(int eventAgendaId) async + test('test sectionAgendaDeleteEventAgenda', () async { + // TODO + }); + + //Future> sectionAgendaGetAllEventAgendaFromSection(String sectionAgendaId) async + test('test sectionAgendaGetAllEventAgendaFromSection', () async { + // TODO + }); + + //Future sectionAgendaUpdateEventAgenda(EventAgendaDTO eventAgendaDTO) async + test('test sectionAgendaUpdateEventAgenda', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/section_event_api_test.dart b/manager_api_new/test/section_event_api_test.dart new file mode 100644 index 0000000..d9b8ae0 --- /dev/null +++ b/manager_api_new/test/section_event_api_test.dart @@ -0,0 +1,59 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +/// tests for SectionEventApi +void main() { + // final instance = SectionEventApi(); + + group('tests for SectionEventApi', () { + //Future sectionEventCreateMapAnnotation(String programmeBlockId, MapAnnotationDTO mapAnnotationDTO) async + test('test sectionEventCreateMapAnnotation', () async { + // TODO + }); + + //Future sectionEventCreateProgrammeBlock(String sectionEventId, ProgrammeBlockDTO programmeBlockDTO) async + test('test sectionEventCreateProgrammeBlock', () async { + // TODO + }); + + //Future sectionEventDeleteMapAnnotation(String mapAnnotationId) async + test('test sectionEventDeleteMapAnnotation', () async { + // TODO + }); + + //Future sectionEventDeleteProgrammeBlock(String programBlockId) async + test('test sectionEventDeleteProgrammeBlock', () async { + // TODO + }); + + //Future> sectionEventGetAllMapAnnotationsFromProgrammeBlock(String programBlockId) async + test('test sectionEventGetAllMapAnnotationsFromProgrammeBlock', () async { + // TODO + }); + + //Future> sectionEventGetAllProgrammeBlockFromSection(String sectionEventId) async + test('test sectionEventGetAllProgrammeBlockFromSection', () async { + // TODO + }); + + //Future sectionEventUpdateMapAnnotation(MapAnnotationDTO mapAnnotationDTO) async + test('test sectionEventUpdateMapAnnotation', () async { + // TODO + }); + + //Future sectionEventUpdateProgrammeBlock(ProgrammeBlockDTO programmeBlockDTO) async + test('test sectionEventUpdateProgrammeBlock', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/section_event_dto_test.dart b/manager_api_new/test/section_event_dto_test.dart new file mode 100644 index 0000000..43fc943 --- /dev/null +++ b/manager_api_new/test/section_event_dto_test.dart @@ -0,0 +1,134 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for SectionEventDTO +void main() { + // final instance = SectionEventDTO(); + + group('test SectionEventDTO', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // String label + test('to test the property `label`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // bool isActive + test('to test the property `isActive`', () async { + // TODO + }); + + // String imageId + test('to test the property `imageId`', () async { + // TODO + }); + + // String imageSource + test('to test the property `imageSource`', () async { + // TODO + }); + + // String configurationId + test('to test the property `configurationId`', () async { + // TODO + }); + + // bool isSubSection + test('to test the property `isSubSection`', () async { + // TODO + }); + + // String parentId + test('to test the property `parentId`', () async { + // TODO + }); + + // SectionType type + test('to test the property `type`', () async { + // TODO + }); + + // DateTime dateCreation + test('to test the property `dateCreation`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // String latitude + test('to test the property `latitude`', () async { + // TODO + }); + + // String longitude + test('to test the property `longitude`', () async { + // TODO + }); + + // int meterZoneGPS + test('to test the property `meterZoneGPS`', () async { + // TODO + }); + + // bool isBeacon + test('to test the property `isBeacon`', () async { + // TODO + }); + + // int beaconId + test('to test the property `beaconId`', () async { + // TODO + }); + + // DateTime startDate + test('to test the property `startDate`', () async { + // TODO + }); + + // DateTime endDate + test('to test the property `endDate`', () async { + // TODO + }); + + // List parcoursIds (default value: const []) + test('to test the property `parcoursIds`', () async { + // TODO + }); + + // List programme (default value: const []) + test('to test the property `programme`', () async { + // TODO + }); + }); +} diff --git a/manager_api_new/test/section_event_test.dart b/manager_api_new/test/section_event_test.dart new file mode 100644 index 0000000..c85a009 --- /dev/null +++ b/manager_api_new/test/section_event_test.dart @@ -0,0 +1,134 @@ +// +// AUTO-GENERATED FILE, DO NOT MODIFY! +// +// @dart=2.18 + +// ignore_for_file: unused_element, unused_import +// ignore_for_file: always_put_required_named_parameters_first +// ignore_for_file: constant_identifier_names +// ignore_for_file: lines_longer_than_80_chars + +import 'package:manager_api_new/api.dart'; +import 'package:test/test.dart'; + +// tests for SectionEvent +void main() { + // final instance = SectionEvent(); + + group('test SectionEvent', () { + // String id + test('to test the property `id`', () async { + // TODO + }); + + // String label + test('to test the property `label`', () async { + // TODO + }); + + // List title (default value: const []) + test('to test the property `title`', () async { + // TODO + }); + + // String configurationId + test('to test the property `configurationId`', () async { + // TODO + }); + + // SectionType type + test('to test the property `type`', () async { + // TODO + }); + + // bool isSubSection + test('to test the property `isSubSection`', () async { + // TODO + }); + + // String instanceId + test('to test the property `instanceId`', () async { + // TODO + }); + + // List description (default value: const []) + test('to test the property `description`', () async { + // TODO + }); + + // int order + test('to test the property `order`', () async { + // TODO + }); + + // String imageId + test('to test the property `imageId`', () async { + // TODO + }); + + // String imageSource + test('to test the property `imageSource`', () async { + // TODO + }); + + // String parentId + test('to test the property `parentId`', () async { + // TODO + }); + + // DateTime dateCreation + test('to test the property `dateCreation`', () async { + // TODO + }); + + // bool isBeacon + test('to test the property `isBeacon`', () async { + // TODO + }); + + // int beaconId + test('to test the property `beaconId`', () async { + // TODO + }); + + // String latitude + test('to test the property `latitude`', () async { + // TODO + }); + + // String longitude + test('to test the property `longitude`', () async { + // TODO + }); + + // int meterZoneGPS + test('to test the property `meterZoneGPS`', () async { + // TODO + }); + + // bool isActive + test('to test the property `isActive`', () async { + // TODO + }); + + // DateTime startDate + test('to test the property `startDate`', () async { + // TODO + }); + + // DateTime endDate + test('to test the property `endDate`', () async { + // TODO + }); + + // List programme (default value: const []) + test('to test the property `programme`', () async { + // TODO + }); + + // List parcoursIds (default value: const []) + test('to test the property `parcoursIds`', () async { + // TODO + }); + }); +}