diff --git a/README.md b/README.md index 6e8b815..78ef3f4 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,8 @@ Add this dependency to your project's POM: ```xml - com.extrawest - extrawest-ocpi-2.2.1-emsp-client - compile + com.extrawest + Extrawest-OCPI-2.2.1-EMSP-Client ``` @@ -187,28 +186,29 @@ All URIs are relative to *http://localhost:8080* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*ClientInfoControllerApi* | [**getHubClientInfo**](docs/ClientInfoControllerApi.md#getHubClientInfo) | **GET** /api/2.2.1/hubClientInfo/{country_code}/{party_id} | -*ClientInfoControllerApi* | [**putHubClientInfo**](docs/ClientInfoControllerApi.md#putHubClientInfo) | **PUT** /api/2.2.1/hubClientInfo/{country_code}/{party_id} | -*EmspCdrControllerApi* | [**getCdr**](docs/EmspCdrControllerApi.md#getCdr) | **GET** /emsp/api/2.2.1/cdr/{id} | -*EmspCdrControllerApi* | [**postCdr**](docs/EmspCdrControllerApi.md#postCdr) | **POST** /emsp/api/2.2.1/cdr | -*EmspChargingProfilesControllerApi* | [**postChargingProfile**](docs/EmspChargingProfilesControllerApi.md#postChargingProfile) | **POST** /emsp/api/2.2.1/chargingProfiles | -*EmspChargingProfilesControllerApi* | [**putChargingProfile**](docs/EmspChargingProfilesControllerApi.md#putChargingProfile) | **PUT** /emsp/api/2.2.1/chargingProfiles/{session_id} | -*EmspCredentialsControllerApi* | [**deleteCredentials**](docs/EmspCredentialsControllerApi.md#deleteCredentials) | **DELETE** /emsp/api/2.2.1/credentials | -*EmspCredentialsControllerApi* | [**getCredentials**](docs/EmspCredentialsControllerApi.md#getCredentials) | **GET** /emsp/api/2.2.1/credentials | -*EmspCredentialsControllerApi* | [**postCredentials**](docs/EmspCredentialsControllerApi.md#postCredentials) | **POST** /emsp/api/2.2.1/credentials | -*EmspCredentialsControllerApi* | [**putCredentials**](docs/EmspCredentialsControllerApi.md#putCredentials) | **PUT** /emsp/api/2.2.1/credentials | -*EmspLocationControllerApi* | [**getLocationEvseController**](docs/EmspLocationControllerApi.md#getLocationEvseController) | **GET** /emsp/api/2.2.1/locations | -*EmspLocationControllerApi* | [**patchLocation**](docs/EmspLocationControllerApi.md#patchLocation) | **PATCH** /emsp/api/2.2.1/locations | -*EmspLocationControllerApi* | [**pushLocation**](docs/EmspLocationControllerApi.md#pushLocation) | **PUT** /emsp/api/2.2.1/locations | -*EmspSessionsControllerApi* | [**getSession**](docs/EmspSessionsControllerApi.md#getSession) | **GET** /emsp/api/2.2.1/sessions | -*EmspSessionsControllerApi* | [**patchSession**](docs/EmspSessionsControllerApi.md#patchSession) | **PATCH** /emsp/api/2.2.1/sessions | -*EmspSessionsControllerApi* | [**putSession**](docs/EmspSessionsControllerApi.md#putSession) | **PUT** /emsp/api/2.2.1/sessions | -*EmspTariffControllerApi* | [**deleteTariff**](docs/EmspTariffControllerApi.md#deleteTariff) | **DELETE** /emsp/api/2.2.1/tariffs | -*EmspTariffControllerApi* | [**getTariff**](docs/EmspTariffControllerApi.md#getTariff) | **GET** /emsp/api/2.2.1/tariffs | -*EmspTariffControllerApi* | [**saveTariff**](docs/EmspTariffControllerApi.md#saveTariff) | **PUT** /emsp/api/2.2.1/tariffs | -*EmspTokenControllerApi* | [**getToken**](docs/EmspTokenControllerApi.md#getToken) | **GET** /emsp/api/2.2.1/tokens/{date_from}/{date_to}/{offset}/{limit} | -*EmspTokenControllerApi* | [**postToken**](docs/EmspTokenControllerApi.md#postToken) | **POST** /emsp/api/2.2.1/tokens/{token_uid}/{type} | -*EmspVersionControllerApi* | [**getVersionDetails**](docs/EmspVersionControllerApi.md#getVersionDetails) | **GET** /emsp/api/2.2.1/versions/details/{version} | +*ClientInfoApi* | [**getHubClientInfo**](docs/ClientInfoApi.md#getHubClientInfo) | **GET** /api/2.2.1/hubClientInfo/{country_code}/{party_id} | +*ClientInfoApi* | [**putHubClientInfo**](docs/ClientInfoApi.md#putHubClientInfo) | **PUT** /api/2.2.1/hubClientInfo/{country_code}/{party_id} | +*EmspCdrApi* | [**getCdr**](docs/EmspCdrApi.md#getCdr) | **GET** /emsp/api/2.2.1/cdr/{id} | +*EmspCdrApi* | [**postCdr**](docs/EmspCdrApi.md#postCdr) | **POST** /emsp/api/2.2.1/cdr | +*EmspChargingProfilesApi* | [**postChargingProfile**](docs/EmspChargingProfilesApi.md#postChargingProfile) | **POST** /emsp/api/2.2.1/chargingProfiles | +*EmspChargingProfilesApi* | [**putChargingProfile**](docs/EmspChargingProfilesApi.md#putChargingProfile) | **PUT** /emsp/api/2.2.1/chargingProfiles/{session_id} | +*EmspCommandsApi* | [**postCommand**](docs/EmspCommandsApi.md#postCommand) | **POST** /emsp/api/2.2.1/commands/{commandType}/{uniqueId} | +*EmspCredentialsApi* | [**deleteCredentials**](docs/EmspCredentialsApi.md#deleteCredentials) | **DELETE** /emsp/api/2.2.1/credentials | +*EmspCredentialsApi* | [**getCredentials**](docs/EmspCredentialsApi.md#getCredentials) | **GET** /emsp/api/2.2.1/credentials | +*EmspCredentialsApi* | [**postCredentials**](docs/EmspCredentialsApi.md#postCredentials) | **POST** /emsp/api/2.2.1/credentials | +*EmspCredentialsApi* | [**putCredentials**](docs/EmspCredentialsApi.md#putCredentials) | **PUT** /emsp/api/2.2.1/credentials | +*EmspLocationApi* | [**getLocationEvseController**](docs/EmspLocationApi.md#getLocationEvseController) | **GET** /emsp/api/2.2.1/locations | +*EmspLocationApi* | [**patchLocation**](docs/EmspLocationApi.md#patchLocation) | **PATCH** /emsp/api/2.2.1/locations | +*EmspLocationApi* | [**pushLocation**](docs/EmspLocationApi.md#pushLocation) | **PUT** /emsp/api/2.2.1/locations | +*EmspSessionsApi* | [**getSession**](docs/EmspSessionsApi.md#getSession) | **GET** /emsp/api/2.2.1/sessions | +*EmspSessionsApi* | [**patchSession**](docs/EmspSessionsApi.md#patchSession) | **PATCH** /emsp/api/2.2.1/sessions | +*EmspSessionsApi* | [**putSession**](docs/EmspSessionsApi.md#putSession) | **PUT** /emsp/api/2.2.1/sessions | +*EmspTariffApi* | [**deleteTariff**](docs/EmspTariffApi.md#deleteTariff) | **DELETE** /emsp/api/2.2.1/tariffs | +*EmspTariffApi* | [**getTariff**](docs/EmspTariffApi.md#getTariff) | **GET** /emsp/api/2.2.1/tariffs | +*EmspTariffApi* | [**saveTariff**](docs/EmspTariffApi.md#saveTariff) | **PUT** /emsp/api/2.2.1/tariffs | +*EmspTokenApi* | [**getToken**](docs/EmspTokenApi.md#getToken) | **GET** /emsp/api/2.2.1/tokens/{date_from}/{date_to}/{offset}/{limit} | +*EmspTokenApi* | [**postToken**](docs/EmspTokenApi.md#postToken) | **POST** /emsp/api/2.2.1/tokens/{token_uid}/{type} | +*EmspVersionApi* | [**getVersionDetails**](docs/EmspVersionApi.md#getVersionDetails) | **GET** /emsp/api/2.2.1/versions/details/{version} | ## Documentation for Models @@ -226,6 +226,7 @@ Class | Method | HTTP request | Description - [ChargingProfile](docs/ChargingProfile.md) - [ChargingProfilePeriod](docs/ChargingProfilePeriod.md) - [ClientInfoDTO](docs/ClientInfoDTO.md) +- [CommandResultRequestDTO](docs/CommandResultRequestDTO.md) - [Connector](docs/Connector.md) - [CredentialsDTO](docs/CredentialsDTO.md) - [CredentialsRole](docs/CredentialsRole.md) diff --git a/api/openapi.yaml b/api/openapi.yaml deleted file mode 100644 index f475159..0000000 --- a/api/openapi.yaml +++ /dev/null @@ -1,3249 +0,0 @@ -openapi: 3.0.1 -info: - contact: - email: ocpi@extrawest.com - name: Extrawest - url: https://extrawest.com - description: This API exposes endpoints to manage OCPI entities. - license: - name: MIT License - url: https://choosealicense.com/licenses/mit/ - termsOfService: https://extrawest.com - title: OCPI 2.2.1 - version: "1.0" -servers: -- description: Server URL in Development environment - url: http://localhost:8080 -- description: Server URL in Production environment - url: https://extrawest-api.com -paths: - /emsp/api/2.2.1/tariffs: - delete: - operationId: deleteTariff - parameters: - - explode: true - in: query - name: country_code - required: true - schema: - type: string - style: form - - explode: true - in: query - name: party_id - required: true - schema: - type: string - style: form - - explode: true - in: query - name: tariff_id - required: true - schema: - type: string - style: form - responses: - "200": - description: OK - tags: - - emsp-tariff-controller - x-accepts: application/json - get: - operationId: getTariff - parameters: - - explode: true - in: query - name: country_code - required: true - schema: - type: string - style: form - - explode: true - in: query - name: party_id - required: true - schema: - type: string - style: form - - explode: true - in: query - name: tariff_id - required: true - schema: - type: string - style: form - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/TariffDTO' - description: OK - tags: - - emsp-tariff-controller - x-accepts: '*/*' - put: - operationId: saveTariff - parameters: - - explode: true - in: query - name: country_code - required: true - schema: - type: string - style: form - - explode: true - in: query - name: party_id - required: true - schema: - type: string - style: form - - explode: true - in: query - name: tariff_id - required: true - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TariffDTO' - required: true - responses: - "200": - description: OK - tags: - - emsp-tariff-controller - x-content-type: application/json - x-accepts: application/json - /emsp/api/2.2.1/sessions: - get: - operationId: getSession - parameters: - - explode: true - in: query - name: country_code - required: true - schema: - maximum: 2 - type: string - style: form - - explode: true - in: query - name: party_id - required: true - schema: - maximum: 3 - type: string - style: form - - explode: true - in: query - name: session_id - required: true - schema: - maximum: 36 - type: string - style: form - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/SessionDTO' - description: OK - tags: - - emsp-sessions-controller - x-accepts: '*/*' - patch: - operationId: patchSession - parameters: - - explode: true - in: query - name: country_code - required: true - schema: - maximum: 2 - type: string - style: form - - explode: true - in: query - name: party_id - required: true - schema: - maximum: 3 - type: string - style: form - - explode: true - in: query - name: session_id - required: true - schema: - maximum: 36 - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SessionDTO' - required: true - responses: - "200": - description: OK - tags: - - emsp-sessions-controller - x-content-type: application/json - x-accepts: application/json - put: - operationId: putSession - parameters: - - explode: true - in: query - name: country_code - required: true - schema: - maximum: 2 - type: string - style: form - - explode: true - in: query - name: party_id - required: true - schema: - maximum: 3 - type: string - style: form - - explode: true - in: query - name: session_id - required: true - schema: - maximum: 36 - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SessionDTO' - required: true - responses: - "200": - description: OK - tags: - - emsp-sessions-controller - x-content-type: application/json - x-accepts: application/json - /emsp/api/2.2.1/locations: - get: - operationId: getLocationEvseController - parameters: - - explode: true - in: query - name: country_code - required: true - schema: - type: string - style: form - - explode: true - in: query - name: party_id - required: true - schema: - type: string - style: form - - explode: true - in: query - name: location_id - required: true - schema: - type: string - style: form - - explode: true - in: query - name: evse_uid - required: false - schema: - type: string - style: form - - explode: true - in: query - name: connector_id - required: false - schema: - type: string - style: form - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/AbstractDomainObject' - description: OK - tags: - - emsp-location-controller - x-accepts: '*/*' - patch: - operationId: patchLocation - parameters: - - explode: true - in: query - name: country_code - required: true - schema: - type: string - style: form - - explode: true - in: query - name: party_id - required: true - schema: - type: string - style: form - - explode: true - in: query - name: location_id - required: true - schema: - type: string - style: form - - explode: true - in: query - name: evse_uid - required: false - schema: - type: string - style: form - - explode: true - in: query - name: connector_id - required: false - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/LocationDTO' - required: true - responses: - "200": - description: OK - tags: - - emsp-location-controller - x-content-type: application/json - x-accepts: application/json - put: - operationId: pushLocation - parameters: - - explode: true - in: query - name: country_code - required: true - schema: - type: string - style: form - - explode: true - in: query - name: party_id - required: true - schema: - type: string - style: form - - explode: true - in: query - name: location_id - required: true - schema: - type: string - style: form - - explode: true - in: query - name: evse_uid - required: false - schema: - type: string - style: form - - explode: true - in: query - name: connector_id - required: false - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/LocationDTO' - required: true - responses: - "200": - description: OK - tags: - - emsp-location-controller - x-content-type: application/json - x-accepts: application/json - /emsp/api/2.2.1/credentials: - delete: - operationId: deleteCredentials - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CredentialsDTO' - required: true - responses: - "200": - description: OK - tags: - - emsp-credentials-controller - x-content-type: application/json - x-accepts: application/json - get: - operationId: getCredentials - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/CredentialsDTO' - description: OK - tags: - - emsp-credentials-controller - x-accepts: '*/*' - post: - operationId: postCredentials - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CredentialsDTO' - required: true - responses: - "200": - description: OK - tags: - - emsp-credentials-controller - x-content-type: application/json - x-accepts: application/json - put: - operationId: putCredentials - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CredentialsDTO' - required: true - responses: - "200": - description: OK - tags: - - emsp-credentials-controller - x-content-type: application/json - x-accepts: application/json - /emsp/api/2.2.1/chargingProfiles/{session_id}: - put: - operationId: putChargingProfile - parameters: - - explode: false - in: path - name: session_id - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ActiveChargingProfileRequestDTO' - required: true - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/ResponseFormat' - description: OK - tags: - - emsp-charging-profiles-controller - x-content-type: application/json - x-accepts: '*/*' - /api/2.2.1/hubClientInfo/{country_code}/{party_id}: - get: - operationId: getHubClientInfo - parameters: - - explode: false - in: path - name: country_code - required: true - schema: - maximum: 2 - type: string - style: simple - - explode: false - in: path - name: party_id - required: true - schema: - maximum: 3 - type: string - style: simple - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/ClientInfoDTO' - description: OK - tags: - - client-info-controller - x-accepts: '*/*' - put: - operationId: putHubClientInfo - parameters: - - explode: false - in: path - name: country_code - required: true - schema: - maximum: 2 - type: string - style: simple - - explode: false - in: path - name: party_id - required: true - schema: - maximum: 3 - type: string - style: simple - responses: - "200": - description: OK - tags: - - client-info-controller - x-accepts: application/json - /emsp/api/2.2.1/tokens/{token_uid}/{type}: - post: - operationId: postToken - parameters: - - explode: false - in: path - name: token_uid - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: type - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/LocationReferencesRequestDTO' - required: true - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/AuthorizationInfoResponseDTO' - description: OK - tags: - - emsp-token-controller - x-content-type: application/json - x-accepts: '*/*' - /emsp/api/2.2.1/chargingProfiles: - post: - operationId: postChargingProfile - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AbstractProfileResult' - required: true - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/ResponseFormat' - description: OK - tags: - - emsp-charging-profiles-controller - x-content-type: application/json - x-accepts: '*/*' - /emsp/api/2.2.1/cdr: - post: - operationId: postCdr - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CdrDTO' - required: true - responses: - "200": - content: - '*/*': - schema: - type: string - description: OK - tags: - - emsp-cdr-controller - x-content-type: application/json - x-accepts: '*/*' - /emsp/api/2.2.1/versions/details/{version}: - get: - operationId: getVersionDetails - parameters: - - explode: false - in: path - name: version - required: true - schema: - enum: - - "2.0" - - "2.1" - - 2.1.1 - - "2.2" - - 2.2.1 - type: string - style: simple - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/VersionDetailsResponseDTO' - description: OK - tags: - - emsp-version-controller - x-accepts: '*/*' - /emsp/api/2.2.1/tokens/{date_from}/{date_to}/{offset}/{limit}: - get: - operationId: getToken - parameters: - - explode: false - in: path - name: date_from - required: true - schema: - format: date-time - type: string - style: simple - - explode: false - in: path - name: date_to - required: true - schema: - format: date-time - type: string - style: simple - - explode: false - in: path - name: offset - required: true - schema: - format: int32 - type: integer - style: simple - - explode: false - in: path - name: limit - required: true - schema: - format: int32 - type: integer - style: simple - responses: - "200": - content: - '*/*': - schema: - items: - $ref: '#/components/schemas/TokenDTO' - type: array - description: OK - tags: - - emsp-token-controller - x-accepts: '*/*' - /emsp/api/2.2.1/cdr/{id}: - get: - operationId: getCdr - parameters: - - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/CdrDTO' - description: OK - tags: - - emsp-cdr-controller - x-accepts: '*/*' -components: - schemas: - DisplayText: - example: - language: language - text: text - properties: - language: - type: string - text: - type: string - type: object - EnergyMix: - example: - energy_product_name: energy_product_name - is_green_energy: true - supplier_name: supplier_name - energy_sources: - - percentage: 1.0246457 - source: NUCLEAR - - percentage: 1.0246457 - source: NUCLEAR - environ_impact: - - amount: 1.4894159 - category: NUCLEAR_WASTE - - amount: 1.4894159 - category: NUCLEAR_WASTE - properties: - is_green_energy: - type: boolean - energy_sources: - items: - $ref: '#/components/schemas/EnergySource' - type: array - environ_impact: - items: - $ref: '#/components/schemas/EnvironmentalImpact' - type: array - supplier_name: - type: string - energy_product_name: - type: string - type: object - EnergySource: - example: - percentage: 1.0246457 - source: NUCLEAR - properties: - source: - enum: - - NUCLEAR - - GENERAL_FOSSIL - - COAL - - GAS - - GENERAL_GREEN - - SOLAR - - WIND - - WATER - type: string - percentage: - format: float - type: number - type: object - EnvironmentalImpact: - example: - amount: 1.4894159 - category: NUCLEAR_WASTE - properties: - category: - enum: - - NUCLEAR_WASTE - - CARBON_DIOXIDE - type: string - amount: - format: float - type: number - type: object - Price: - example: - inclVat: 1.2315135 - exclVat: 7.386282 - properties: - exclVat: - format: float - type: number - inclVat: - format: float - type: number - type: object - PriceComponent: - example: - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - properties: - type: - enum: - - ENERGY - - FLAT - - PARKING_TIME - - TIME - type: string - price: - format: float - type: number - vat: - format: float - type: number - step_size: - format: int32 - type: integer - type: object - TariffDTO: - example: - tariff_alt_url: tariff_alt_url - last_updated: 2000-01-23T04:56:07.000+00:00 - type: AD_HOC_PAYMENT - country_code: country_code - end_date_time: 2000-01-23T04:56:07.000+00:00 - energy_mix: - energy_product_name: energy_product_name - is_green_energy: true - supplier_name: supplier_name - energy_sources: - - percentage: 1.0246457 - source: NUCLEAR - - percentage: 1.0246457 - source: NUCLEAR - environ_impact: - - amount: 1.4894159 - category: NUCLEAR_WASTE - - amount: 1.4894159 - category: NUCLEAR_WASTE - max_price: - inclVat: 1.2315135 - exclVat: 7.386282 - min_price: - inclVat: 1.2315135 - exclVat: 7.386282 - tariff_alt_text: - - language: language - text: text - - language: language - text: text - elements: - - restrictions: - end_date: end_date - min_kwh: 5.962134 - end_time: end_time - min_duration: 2 - min_current: 2.302136 - max_duration: 4 - start_time: start_time - max_power: 3.6160767 - max_kwh: 5.637377 - reservation: RESERVATION - max_current: 7.0614014 - start_date: start_date - min_power: 9.301444 - day_of_week: - - MONDAY - - MONDAY - price_components: - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - restrictions: - end_date: end_date - min_kwh: 5.962134 - end_time: end_time - min_duration: 2 - min_current: 2.302136 - max_duration: 4 - start_time: start_time - max_power: 3.6160767 - max_kwh: 5.637377 - reservation: RESERVATION - max_current: 7.0614014 - start_date: start_date - min_power: 9.301444 - day_of_week: - - MONDAY - - MONDAY - price_components: - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - party_id: party_id - currency: currency - id: id - start_date_time: 2000-01-23T04:56:07.000+00:00 - properties: - id: - maxLength: 36 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - currency: - maxLength: 3 - minLength: 1 - type: string - type: - enum: - - AD_HOC_PAYMENT - - PROFILE_CHEAP - - PROFILE_FAST - - REGULAR - - PROFILE_GREEN - type: string - elements: - items: - $ref: '#/components/schemas/TariffElement' - type: array - country_code: - maxLength: 2 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - party_id: - maxLength: 3 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - tariff_alt_text: - items: - $ref: '#/components/schemas/DisplayText' - type: array - tariff_alt_url: - type: string - min_price: - $ref: '#/components/schemas/Price' - max_price: - $ref: '#/components/schemas/Price' - start_date_time: - format: date-time - type: string - end_date_time: - format: date-time - type: string - energy_mix: - $ref: '#/components/schemas/EnergyMix' - last_updated: - format: date-time - type: string - required: - - country_code - - currency - - elements - - id - - last_updated - - party_id - type: object - TariffElement: - example: - restrictions: - end_date: end_date - min_kwh: 5.962134 - end_time: end_time - min_duration: 2 - min_current: 2.302136 - max_duration: 4 - start_time: start_time - max_power: 3.6160767 - max_kwh: 5.637377 - reservation: RESERVATION - max_current: 7.0614014 - start_date: start_date - min_power: 9.301444 - day_of_week: - - MONDAY - - MONDAY - price_components: - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - properties: - price_components: - items: - $ref: '#/components/schemas/PriceComponent' - type: array - restrictions: - $ref: '#/components/schemas/TariffRestrictions' - type: object - TariffRestrictions: - example: - end_date: end_date - min_kwh: 5.962134 - end_time: end_time - min_duration: 2 - min_current: 2.302136 - max_duration: 4 - start_time: start_time - max_power: 3.6160767 - max_kwh: 5.637377 - reservation: RESERVATION - max_current: 7.0614014 - start_date: start_date - min_power: 9.301444 - day_of_week: - - MONDAY - - MONDAY - properties: - reservation: - enum: - - RESERVATION - - RESERVATION_EXPIRES - type: string - start_time: - type: string - end_time: - type: string - start_date: - type: string - end_date: - type: string - min_kwh: - format: float - type: number - max_kwh: - format: float - type: number - min_current: - format: float - type: number - max_current: - format: float - type: number - min_power: - format: float - type: number - max_power: - format: float - type: number - min_duration: - format: int32 - type: integer - max_duration: - format: int32 - type: integer - day_of_week: - items: - enum: - - MONDAY - - TUESDAY - - WEDNESDAY - - THURSDAY - - FRIDAY - - SATURDAY - - SUNDAY - type: string - type: array - type: object - CdrDimension: - example: - volume: 6.0274563 - type: CURRENT - properties: - type: - enum: - - CURRENT - - ENERGY - - ENERGY_EXPORT - - ENERGY_IMPORT - - MAX_CURRENT - - MIN_CURRENT - - MAX_POWER - - MIN_POWER - - PARKING_TIME - - POWER - - RESERVATION_TIME - - STATE_OF_CHARGE - - TIME - type: string - volume: - format: float - type: number - type: object - CdrToken: - example: - country_code: country_code - uid: uid - contract_id: contract_id - party_id: party_id - type: AD_HOC_USER - properties: - country_code: - type: string - party_id: - type: string - uid: - type: string - type: - enum: - - AD_HOC_USER - - APP_USER - - OTHER - - RFID - type: string - contract_id: - type: string - type: object - ChargingPeriod: - example: - tariff_id: tariff_id - start_date_time: 2000-01-23T04:56:07.000+00:00 - dimensions: - - volume: 6.0274563 - type: CURRENT - - volume: 6.0274563 - type: CURRENT - properties: - start_date_time: - format: date-time - type: string - dimensions: - items: - $ref: '#/components/schemas/CdrDimension' - type: array - tariff_id: - type: string - type: object - SessionDTO: - example: - last_updated: 2000-01-23T04:56:07.000+00:00 - authorization_reference: authorization_reference - charging_periods: - - tariff_id: tariff_id - start_date_time: 2000-01-23T04:56:07.000+00:00 - dimensions: - - volume: 6.0274563 - type: CURRENT - - volume: 6.0274563 - type: CURRENT - - tariff_id: tariff_id - start_date_time: 2000-01-23T04:56:07.000+00:00 - dimensions: - - volume: 6.0274563 - type: CURRENT - - volume: 6.0274563 - type: CURRENT - total_cost: - inclVat: 1.2315135 - exclVat: 7.386282 - cdr_token: - country_code: country_code - uid: uid - contract_id: contract_id - party_id: party_id - type: AD_HOC_USER - location_id: location_id - country_code: country_code - end_date_time: 2000-01-23T04:56:07.000+00:00 - auth_method: AUTH_REQUEST - party_id: party_id - connector_id: connector_id - currency: currency - id: id - evse_uid: evse_uid - start_date_time: 2000-01-23T04:56:07.000+00:00 - kwh: 0.8008282 - meter_id: meter_id - status: ACTIVE - properties: - country_code: - maxLength: 2 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - party_id: - maxLength: 3 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - id: - maxLength: 36 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - start_date_time: - format: date-time - type: string - end_date_time: - format: date-time - type: string - kwh: - format: float - type: number - cdr_token: - $ref: '#/components/schemas/CdrToken' - auth_method: - enum: - - AUTH_REQUEST - - COMMAND - - WHITELIST - type: string - authorization_reference: - maxLength: 36 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - location_id: - maxLength: 36 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - evse_uid: - maxLength: 36 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - connector_id: - maxLength: 36 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - meter_id: - maxLength: 255 - minLength: 1 - type: string - currency: - maxLength: 3 - minLength: 1 - type: string - charging_periods: - items: - $ref: '#/components/schemas/ChargingPeriod' - type: array - total_cost: - $ref: '#/components/schemas/Price' - status: - enum: - - ACTIVE - - COMPLETED - - INVALID - - PENDING - - RESERVATION - type: string - last_updated: - format: date-time - type: string - required: - - auth_method - - cdr_token - - connector_id - - country_code - - currency - - evse_uid - - id - - kwh - - last_updated - - location_id - - party_id - - start_date_time - - status - type: object - AdditionalGeoLocation: - example: - latitude: latitude - name: - language: language - text: text - longitude: longitude - properties: - latitude: - type: string - longitude: - type: string - name: - $ref: '#/components/schemas/DisplayText' - type: object - BusinessDetails: - example: - website: website - name: name - logo: - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - properties: - name: - type: string - website: - type: string - logo: - $ref: '#/components/schemas/Image' - type: object - Connector: - example: - standard: CHADEMO - max_amperage: 6 - terms_and_conditions: terms_and_conditions - last_updated: 2000-01-23T04:56:07.000+00:00 - format: SOCKET - max_voltage: 0 - id: id - max_electric_power: 1 - power_type: AC_1_PHASE - url: url - tariff_ids: - - tariff_ids - - tariff_ids - properties: - url: - type: string - writeOnly: true - id: - type: string - standard: - enum: - - CHADEMO - - CHAOJI - - DOMESTIC_A - - DOMESTIC_B - - DOMESTIC_C - - DOMESTIC_D - - DOMESTIC_E - - DOMESTIC_F - - DOMESTIC_G - - DOMESTIC_H - - DOMESTIC_I - - DOMESTIC_J - - DOMESTIC_K - - DOMESTIC_L - - DOMESTIC_M - - DOMESTIC_N - - DOMESTIC_O - - GBT_AC - - GBT_DC - - IEC_60309_2_single_16 - - IEC_60309_2_three_16 - - IEC_60309_2_three_32 - - IEC_60309_2_three_64 - - IEC_62196_T1 - - IEC_62196_T1_COMBO - - IEC_62196_T2 - - IEC_62196_T2_COMBO - - IEC_62196_T3A - - IEC_62196_T3C - - NEMA_5_20 - - NEMA_6_30 - - NEMA_6_50 - - NEMA_10_30 - - NEMA_10_50 - - NEMA_14_30 - - NEMA_14_50 - - PANTOGRAPH_BOTTOM_UP - - PANTOGRAPH_TOP_DOWN - - TESLA_R - - TESLA_S - type: string - format: - enum: - - SOCKET - - CABLE - type: string - power_type: - enum: - - AC_1_PHASE - - AC_2_PHASE - - AC_2_PHASE_SPLIT - - AC_3_PHASE - - DC - type: string - max_voltage: - format: int32 - type: integer - max_amperage: - format: int32 - type: integer - max_electric_power: - format: int32 - type: integer - tariff_ids: - items: - type: string - type: array - terms_and_conditions: - type: string - last_updated: - format: date-time - type: string - type: object - EVSE: - example: - physical_reference: physical_reference - evse_id: evse_id - connectors: - - standard: CHADEMO - max_amperage: 6 - terms_and_conditions: terms_and_conditions - last_updated: 2000-01-23T04:56:07.000+00:00 - format: SOCKET - max_voltage: 0 - id: id - max_electric_power: 1 - power_type: AC_1_PHASE - url: url - tariff_ids: - - tariff_ids - - tariff_ids - - standard: CHADEMO - max_amperage: 6 - terms_and_conditions: terms_and_conditions - last_updated: 2000-01-23T04:56:07.000+00:00 - format: SOCKET - max_voltage: 0 - id: id - max_electric_power: 1 - power_type: AC_1_PHASE - url: url - tariff_ids: - - tariff_ids - - tariff_ids - images: - - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - last_updated: 2000-01-23T04:56:07.000+00:00 - capabilities: - - CHARGING_PROFILE_CAPABLE - - CHARGING_PROFILE_CAPABLE - status_schedule: - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - status: AVAILABLE - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - status: AVAILABLE - coordinates: - latitude: latitude - longitude: longitude - uid: uid - directions: - - language: language - text: text - - language: language - text: text - parking_restrictions: - - EV_ONLY - - EV_ONLY - floor_level: floor_level - status: AVAILABLE - properties: - uid: - type: string - evse_id: - type: string - status: - enum: - - AVAILABLE - - BLOCKED - - CHARGING - - INOPERATIVE - - OUTOFORDER - - PLANNED - - REMOVED - - RESERVED - - UNKNOWN - type: string - status_schedule: - items: - $ref: '#/components/schemas/StatusSchedule' - type: array - capabilities: - items: - enum: - - CHARGING_PROFILE_CAPABLE - - CHARGING_PREFERENCES_CAPABLE - - CHIP_CARD_SUPPORT - - CONTACTLESS_CARD_SUPPORT - - CREDIT_CARD_PAYABLE - - DEBIT_CARD_PAYABLE - - PED_TERMINAL - - REMOTE_START_STOP_CAPABLE - - RESERVABLE - - RFID_READER - - START_SESSION_CONNECTOR_REQUIRED - - TOKEN_GROUP_CAPABLE - - UNLOCK_CAPABLE - type: string - type: array - connectors: - items: - $ref: '#/components/schemas/Connector' - type: array - floor_level: - type: string - coordinates: - $ref: '#/components/schemas/GeoLocation' - physical_reference: - type: string - directions: - items: - $ref: '#/components/schemas/DisplayText' - type: array - parking_restrictions: - items: - enum: - - EV_ONLY - - PLUGGED - - DISABLED - - CUSTOMERS - - MOTORCYCLES - type: string - type: array - images: - items: - $ref: '#/components/schemas/Image' - type: array - last_updated: - format: date-time - type: string - type: object - ExceptionalPeriod: - example: - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - properties: - period_begin: - format: date-time - type: string - period_end: - format: date-time - type: string - type: object - GeoLocation: - example: - latitude: latitude - longitude: longitude - properties: - latitude: - type: string - longitude: - type: string - type: object - Hours: - example: - twentyfourseven: true - regular_hours: - - period_begin: period_begin - period_end: period_end - weekday: 5 - - period_begin: period_begin - period_end: period_end - weekday: 5 - exceptional_closings: - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - exceptional_openings: - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - properties: - twentyfourseven: - type: boolean - regular_hours: - items: - $ref: '#/components/schemas/RegularHours' - type: array - exceptional_openings: - items: - $ref: '#/components/schemas/ExceptionalPeriod' - type: array - exceptional_closings: - items: - $ref: '#/components/schemas/ExceptionalPeriod' - type: array - type: object - Image: - example: - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - properties: - url: - type: string - thumbnail: - type: string - category: - enum: - - CHARGER - - ENTRANCE - - LOCATION - - NETWORK - - OPERATOR - - OTHER - - OWNER - type: string - type: - type: string - width: - type: string - height: - type: string - type: object - LocationDTO: - example: - subOperator: - website: website - name: name - logo: - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - country: country - city: city - charging_when_closed: true - parking_type: ALONG_MOTORWAY - operator: - website: website - name: name - logo: - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - evses: - - physical_reference: physical_reference - evse_id: evse_id - connectors: - - standard: CHADEMO - max_amperage: 6 - terms_and_conditions: terms_and_conditions - last_updated: 2000-01-23T04:56:07.000+00:00 - format: SOCKET - max_voltage: 0 - id: id - max_electric_power: 1 - power_type: AC_1_PHASE - url: url - tariff_ids: - - tariff_ids - - tariff_ids - - standard: CHADEMO - max_amperage: 6 - terms_and_conditions: terms_and_conditions - last_updated: 2000-01-23T04:56:07.000+00:00 - format: SOCKET - max_voltage: 0 - id: id - max_electric_power: 1 - power_type: AC_1_PHASE - url: url - tariff_ids: - - tariff_ids - - tariff_ids - images: - - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - last_updated: 2000-01-23T04:56:07.000+00:00 - capabilities: - - CHARGING_PROFILE_CAPABLE - - CHARGING_PROFILE_CAPABLE - status_schedule: - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - status: AVAILABLE - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - status: AVAILABLE - coordinates: - latitude: latitude - longitude: longitude - uid: uid - directions: - - language: language - text: text - - language: language - text: text - parking_restrictions: - - EV_ONLY - - EV_ONLY - floor_level: floor_level - status: AVAILABLE - - physical_reference: physical_reference - evse_id: evse_id - connectors: - - standard: CHADEMO - max_amperage: 6 - terms_and_conditions: terms_and_conditions - last_updated: 2000-01-23T04:56:07.000+00:00 - format: SOCKET - max_voltage: 0 - id: id - max_electric_power: 1 - power_type: AC_1_PHASE - url: url - tariff_ids: - - tariff_ids - - tariff_ids - - standard: CHADEMO - max_amperage: 6 - terms_and_conditions: terms_and_conditions - last_updated: 2000-01-23T04:56:07.000+00:00 - format: SOCKET - max_voltage: 0 - id: id - max_electric_power: 1 - power_type: AC_1_PHASE - url: url - tariff_ids: - - tariff_ids - - tariff_ids - images: - - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - last_updated: 2000-01-23T04:56:07.000+00:00 - capabilities: - - CHARGING_PROFILE_CAPABLE - - CHARGING_PROFILE_CAPABLE - status_schedule: - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - status: AVAILABLE - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - status: AVAILABLE - coordinates: - latitude: latitude - longitude: longitude - uid: uid - directions: - - language: language - text: text - - language: language - text: text - parking_restrictions: - - EV_ONLY - - EV_ONLY - floor_level: floor_level - status: AVAILABLE - id: id - state: state - owner: - website: website - name: name - logo: - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - images: - - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - last_updated: 2000-01-23T04:56:07.000+00:00 - address: address - coordinates: - latitude: latitude - longitude: longitude - opening_times: - twentyfourseven: true - regular_hours: - - period_begin: period_begin - period_end: period_end - weekday: 5 - - period_begin: period_begin - period_end: period_end - weekday: 5 - exceptional_closings: - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - exceptional_openings: - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - publish_allowed_to: - - uid: uid - group_id: group_id - type: AD_HOC_USER - visual_number: visual_number - issuer: issuer - - uid: uid - group_id: group_id - type: AD_HOC_USER - visual_number: visual_number - issuer: issuer - time_zone: time_zone - country_code: country_code - related_locations: - - latitude: latitude - name: - language: language - text: text - longitude: longitude - - latitude: latitude - name: - language: language - text: text - longitude: longitude - energy_mix: - energy_product_name: energy_product_name - is_green_energy: true - supplier_name: supplier_name - energy_sources: - - percentage: 1.0246457 - source: NUCLEAR - - percentage: 1.0246457 - source: NUCLEAR - environ_impact: - - amount: 1.4894159 - category: NUCLEAR_WASTE - - amount: 1.4894159 - category: NUCLEAR_WASTE - directions: - - language: language - text: text - - language: language - text: text - publish: true - party_id: party_id - name: name - facilities: - - HOTEL - - HOTEL - postal_code: postal_code - properties: - id: - maxLength: 36 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - publish: - type: boolean - name: - maxLength: 255 - minLength: 1 - type: string - address: - maxLength: 45 - minLength: 1 - type: string - city: - maxLength: 45 - minLength: 1 - type: string - state: - maxLength: 20 - minLength: 1 - type: string - country: - maxLength: 3 - minLength: 1 - type: string - coordinates: - $ref: '#/components/schemas/GeoLocation' - evses: - items: - $ref: '#/components/schemas/EVSE' - type: array - directions: - items: - $ref: '#/components/schemas/DisplayText' - type: array - operator: - $ref: '#/components/schemas/BusinessDetails' - subOperator: - $ref: '#/components/schemas/BusinessDetails' - owner: - $ref: '#/components/schemas/BusinessDetails' - facilities: - items: - enum: - - HOTEL - - RESTAURANT - - CAFE - - MALL - - SUPERMARKET - - SPORT - - RECREATION_AREA - - NATURE - - MUSEUM - - BIKE_SHARING - - BUS_STOP - - TAXI_STAND - - TRAM_STOP - - METRO_STATION - - TRAIN_STATION - - AIRPORT - - PARKING_LOT - - CARPOOL_PARKING - - FUEL_STATION - - WIFI - type: string - type: array - images: - items: - $ref: '#/components/schemas/Image' - type: array - country_code: - maxLength: 2 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - party_id: - maxLength: 3 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - publish_allowed_to: - items: - $ref: '#/components/schemas/PublishTokenType' - type: array - postal_code: - maxLength: 10 - minLength: 1 - type: string - related_locations: - items: - $ref: '#/components/schemas/AdditionalGeoLocation' - type: array - parking_type: - enum: - - ALONG_MOTORWAY - - PARKING_GARAGE - - PARKING_LOT - - ON_DRIVEWAY - - ON_STREET - - UNDERGROUND_GARAGE - type: string - time_zone: - maxLength: 255 - minLength: 1 - type: string - opening_times: - $ref: '#/components/schemas/Hours' - charging_when_closed: - type: boolean - energy_mix: - $ref: '#/components/schemas/EnergyMix' - last_updated: - format: date-time - type: string - required: - - coordinates - - country_code - - id - - last_updated - - party_id - - publish - - time_zone - type: object - PublishTokenType: - example: - uid: uid - group_id: group_id - type: AD_HOC_USER - visual_number: visual_number - issuer: issuer - properties: - uid: - type: string - type: - enum: - - AD_HOC_USER - - APP_USER - - OTHER - - RFID - type: string - visual_number: - type: string - issuer: - type: string - group_id: - type: string - type: object - RegularHours: - example: - period_begin: period_begin - period_end: period_end - weekday: 5 - properties: - weekday: - format: int32 - type: integer - period_begin: - type: string - period_end: - type: string - type: object - StatusSchedule: - example: - period_begin: 2000-01-23T04:56:07.000+00:00 - period_end: 2000-01-23T04:56:07.000+00:00 - status: AVAILABLE - properties: - period_begin: - format: date-time - type: string - period_end: - format: date-time - type: string - status: - enum: - - AVAILABLE - - BLOCKED - - CHARGING - - INOPERATIVE - - OUTOFORDER - - PLANNED - - REMOVED - - RESERVED - - UNKNOWN - type: string - type: object - CredentialsDTO: - example: - roles: - - country_code: country_code - business_details: - website: website - name: name - logo: - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - role: CPO - party_id: party_id - - country_code: country_code - business_details: - website: website - name: name - logo: - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - role: CPO - party_id: party_id - url: url - token: token - properties: - token: - maxLength: 64 - minLength: 1 - type: string - url: - maxLength: 255 - minLength: 0 - type: string - roles: - items: - $ref: '#/components/schemas/CredentialsRole' - type: array - required: - - roles - - token - - url - type: object - CredentialsRole: - example: - country_code: country_code - business_details: - website: website - name: name - logo: - thumbnail: thumbnail - width: width - category: CHARGER - type: type - url: url - height: height - role: CPO - party_id: party_id - properties: - role: - enum: - - CPO - - EMSP - - HUB - - NAP - - NSP - - OTHER - - SCSP - type: string - business_details: - $ref: '#/components/schemas/BusinessDetails' - party_id: - type: string - country_code: - type: string - type: object - ActiveChargingProfileRequestDTO: - example: - charging_profile: - duration: 0 - charging_profile_period: - - limit: 5.962134 - start_period: 1 - - limit: 5.962134 - start_period: 1 - charging_rate_unit: W - min_charging_rate: 6.0274563 - start_date_time: 2000-01-23T04:56:07.000+00:00 - start_date_time: 2000-01-23T04:56:07.000+00:00 - properties: - start_date_time: - format: date-time - type: string - charging_profile: - $ref: '#/components/schemas/ChargingProfile' - required: - - charging_profile - - start_date_time - type: object - ChargingProfile: - example: - duration: 0 - charging_profile_period: - - limit: 5.962134 - start_period: 1 - - limit: 5.962134 - start_period: 1 - charging_rate_unit: W - min_charging_rate: 6.0274563 - start_date_time: 2000-01-23T04:56:07.000+00:00 - properties: - start_date_time: - format: date-time - type: string - duration: - format: int32 - type: integer - charging_rate_unit: - enum: - - W - - A - type: string - min_charging_rate: - format: float - type: number - charging_profile_period: - items: - $ref: '#/components/schemas/ChargingProfilePeriod' - type: array - type: object - ChargingProfilePeriod: - example: - limit: 5.962134 - start_period: 1 - properties: - start_period: - format: int32 - type: integer - limit: - format: float - type: number - type: object - ResponseFormat: - example: - status_message: status_message - status_code: 0 - properties: - status_code: - format: int32 - type: integer - status_message: - type: string - type: object - LocationReferencesRequestDTO: - example: - evse_uids: - - evse_uids - - evse_uids - location_id: location_id - properties: - location_id: - maxLength: 36 - minLength: 1 - type: string - evse_uids: - items: - type: string - type: array - required: - - location_id - type: object - AuthorizationInfoResponseDTO: - example: - authorization_reference: authorization_reference - allowed: ALLOWED - location: - evse_uids: - - evse_uids - - evse_uids - location_id: location_id - token: - last_updated: 2000-01-23T04:56:07.000+00:00 - contract_id: contract_id - language: language - whitelist: ALWAYS - type: AD_HOC_USER - visual_number: visual_number - issuer: issuer - valid: true - country_code: country_code - uid: uid - default_profile_type: CHEAP - group_id: group_id - energy_contract: - contract_id: contract_id - supplier_name: supplier_name - party_id: party_id - info: - language: language - text: text - properties: - allowed: - enum: - - ALLOWED - - BLOCKED - - EXPIRED - - NO_CREDIT - - NOT_ALLOWED - type: string - token: - $ref: '#/components/schemas/Token' - location: - $ref: '#/components/schemas/LocationReferences' - authorization_reference: - maxLength: 36 - minLength: 1 - type: string - info: - $ref: '#/components/schemas/DisplayText' - required: - - allowed - - token - type: object - EnergyContract: - example: - contract_id: contract_id - supplier_name: supplier_name - properties: - supplier_name: - type: string - contract_id: - type: string - type: object - LocationReferences: - example: - evse_uids: - - evse_uids - - evse_uids - location_id: location_id - properties: - location_id: - type: string - evse_uids: - items: - type: string - type: array - type: object - Token: - example: - last_updated: 2000-01-23T04:56:07.000+00:00 - contract_id: contract_id - language: language - whitelist: ALWAYS - type: AD_HOC_USER - visual_number: visual_number - issuer: issuer - valid: true - country_code: country_code - uid: uid - default_profile_type: CHEAP - group_id: group_id - energy_contract: - contract_id: contract_id - supplier_name: supplier_name - party_id: party_id - properties: - country_code: - type: string - party_id: - type: string - uid: - type: string - type: - enum: - - AD_HOC_USER - - APP_USER - - OTHER - - RFID - type: string - contract_id: - type: string - visual_number: - type: string - issuer: - type: string - group_id: - type: string - valid: - type: boolean - whitelist: - enum: - - ALWAYS - - ALLOWED - - ALLOWED_OFFLINE - - NEVER - type: string - language: - type: string - default_profile_type: - enum: - - CHEAP - - FAST - - GREEN - - REGULAR - type: string - energy_contract: - $ref: '#/components/schemas/EnergyContract' - last_updated: - format: date-time - type: string - type: object - AbstractProfileResult: - example: - result: ACCEPTED - properties: - result: - enum: - - ACCEPTED - - REJECTED - - UNKNOWN - type: string - type: object - CdrDTO: - example: - total_energy: 6.0274563 - authorization_reference: authorization_reference - total_cost: - inclVat: 1.2315135 - exclVat: 7.386282 - remark: remark - cdr_token: - country_code: country_code - uid: uid - contract_id: contract_id - party_id: party_id - type: AD_HOC_USER - end_date_time: 2000-01-23T04:56:07.000+00:00 - total_parking_time: 5.962134 - credit_reference_id: credit_reference_id - currency: currency - id: id - credit: true - total_time: 1.4658129 - total_energy_cost: - inclVat: 1.2315135 - exclVat: 7.386282 - total_parking_cost: - inclVat: 1.2315135 - exclVat: 7.386282 - total_reservation_cost: - inclVat: 1.2315135 - exclVat: 7.386282 - tariffs: - - tariff_alt_url: tariff_alt_url - last_updated: 2000-01-23T04:56:07.000+00:00 - type: AD_HOC_PAYMENT - country_code: country_code - end_date_time: 2000-01-23T04:56:07.000+00:00 - energy_mix: - energy_product_name: energy_product_name - is_green_energy: true - supplier_name: supplier_name - energy_sources: - - percentage: 1.0246457 - source: NUCLEAR - - percentage: 1.0246457 - source: NUCLEAR - environ_impact: - - amount: 1.4894159 - category: NUCLEAR_WASTE - - amount: 1.4894159 - category: NUCLEAR_WASTE - max_price: - inclVat: 1.2315135 - exclVat: 7.386282 - min_price: - inclVat: 1.2315135 - exclVat: 7.386282 - tariff_alt_text: - - language: language - text: text - - language: language - text: text - party_id: party_id - elements: - - restrictions: - end_date: end_date - min_kwh: 5.962134 - end_time: end_time - min_duration: 2 - min_current: 2.302136 - max_duration: 4 - start_time: start_time - max_power: 3.6160767 - max_kwh: 5.637377 - reservation: RESERVATION - max_current: 7.0614014 - start_date: start_date - min_power: 9.301444 - day_of_week: - - MONDAY - - MONDAY - price_components: - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - restrictions: - end_date: end_date - min_kwh: 5.962134 - end_time: end_time - min_duration: 2 - min_current: 2.302136 - max_duration: 4 - start_time: start_time - max_power: 3.6160767 - max_kwh: 5.637377 - reservation: RESERVATION - max_current: 7.0614014 - start_date: start_date - min_power: 9.301444 - day_of_week: - - MONDAY - - MONDAY - price_components: - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - currency: currency - id: id - start_date_time: 2000-01-23T04:56:07.000+00:00 - - tariff_alt_url: tariff_alt_url - last_updated: 2000-01-23T04:56:07.000+00:00 - type: AD_HOC_PAYMENT - country_code: country_code - end_date_time: 2000-01-23T04:56:07.000+00:00 - energy_mix: - energy_product_name: energy_product_name - is_green_energy: true - supplier_name: supplier_name - energy_sources: - - percentage: 1.0246457 - source: NUCLEAR - - percentage: 1.0246457 - source: NUCLEAR - environ_impact: - - amount: 1.4894159 - category: NUCLEAR_WASTE - - amount: 1.4894159 - category: NUCLEAR_WASTE - max_price: - inclVat: 1.2315135 - exclVat: 7.386282 - min_price: - inclVat: 1.2315135 - exclVat: 7.386282 - tariff_alt_text: - - language: language - text: text - - language: language - text: text - party_id: party_id - elements: - - restrictions: - end_date: end_date - min_kwh: 5.962134 - end_time: end_time - min_duration: 2 - min_current: 2.302136 - max_duration: 4 - start_time: start_time - max_power: 3.6160767 - max_kwh: 5.637377 - reservation: RESERVATION - max_current: 7.0614014 - start_date: start_date - min_power: 9.301444 - day_of_week: - - MONDAY - - MONDAY - price_components: - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - restrictions: - end_date: end_date - min_kwh: 5.962134 - end_time: end_time - min_duration: 2 - min_current: 2.302136 - max_duration: 4 - start_time: start_time - max_power: 3.6160767 - max_kwh: 5.637377 - reservation: RESERVATION - max_current: 7.0614014 - start_date: start_date - min_power: 9.301444 - day_of_week: - - MONDAY - - MONDAY - price_components: - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - currency: currency - id: id - start_date_time: 2000-01-23T04:56:07.000+00:00 - last_updated: 2000-01-23T04:56:07.000+00:00 - charging_periods: - - tariff_id: tariff_id - start_date_time: 2000-01-23T04:56:07.000+00:00 - dimensions: - - volume: 6.0274563 - type: CURRENT - - volume: 6.0274563 - type: CURRENT - - tariff_id: tariff_id - start_date_time: 2000-01-23T04:56:07.000+00:00 - dimensions: - - volume: 6.0274563 - type: CURRENT - - volume: 6.0274563 - type: CURRENT - signed_data: - public_key: public_key - signed_values: - - plain_data: plain_data - signed_data: signed_data - nature: nature - plainDat: plainDat - - plain_data: plain_data - signed_data: signed_data - nature: nature - plainDat: plainDat - encoding_method: encoding_method - encoding_method_version: 0 - url: url - total_fixed_cost: - inclVat: 1.2315135 - exclVat: 7.386282 - session_id: session_id - total_time_cost: - inclVat: 1.2315135 - exclVat: 7.386282 - country_code: country_code - auth_method: AUTH_REQUEST - cdr_location: - country: country - evse_id: evse_id - address: address - city: city - coordinates: - latitude: latitude - longitude: longitude - name: name - connector_id: connector_id - id: id - state: state - evse_uid: evse_uid - postal_code: postal_code - connector_power_type: AC_1_PHASE - connector_standard: CHADEMO - connector_format: SOCKET - party_id: party_id - invoice_reference_id: invoice_reference_id - home_charging_compensation: true - start_date_time: 2000-01-23T04:56:07.000+00:00 - meter_id: meter_id - properties: - id: - maxLength: 39 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - currency: - type: string - tariffs: - items: - $ref: '#/components/schemas/Tariff' - type: array - remark: - maxLength: 255 - minLength: 1 - type: string - credit: - type: boolean - country_code: - type: string - party_id: - type: string - start_date_time: - format: date-time - type: string - end_date_time: - format: date-time - type: string - session_id: - maxLength: 36 - minLength: 1 - type: string - cdr_token: - $ref: '#/components/schemas/CdrToken' - auth_method: - enum: - - AUTH_REQUEST - - COMMAND - - WHITELIST - type: string - authorization_reference: - maxLength: 36 - minLength: 1 - type: string - cdr_location: - $ref: '#/components/schemas/CdrLocation' - meter_id: - type: string - charging_periods: - items: - $ref: '#/components/schemas/ChargingPeriod' - type: array - signed_data: - $ref: '#/components/schemas/SignedData' - total_cost: - $ref: '#/components/schemas/Price' - total_fixed_cost: - $ref: '#/components/schemas/Price' - total_energy: - format: float - type: number - total_energy_cost: - $ref: '#/components/schemas/Price' - total_time: - format: float - type: number - total_time_cost: - $ref: '#/components/schemas/Price' - total_parking_time: - format: float - type: number - total_parking_cost: - $ref: '#/components/schemas/Price' - total_reservation_cost: - $ref: '#/components/schemas/Price' - invoice_reference_id: - maxLength: 39 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - credit_reference_id: - maxLength: 39 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - home_charging_compensation: - type: boolean - last_updated: - format: date-time - type: string - required: - - auth_method - - cdr_location - - cdr_token - - charging_periods - - end_date_time - - id - - last_updated - - start_date_time - - total_cost - - total_energy - - total_time - type: object - CdrLocation: - example: - country: country - evse_id: evse_id - address: address - city: city - coordinates: - latitude: latitude - longitude: longitude - name: name - connector_id: connector_id - id: id - state: state - evse_uid: evse_uid - postal_code: postal_code - connector_power_type: AC_1_PHASE - connector_standard: CHADEMO - connector_format: SOCKET - properties: - id: - type: string - name: - type: string - address: - type: string - city: - type: string - postal_code: - type: string - state: - type: string - country: - type: string - coordinates: - $ref: '#/components/schemas/GeoLocation' - evse_uid: - type: string - evse_id: - type: string - connector_id: - type: string - connector_standard: - enum: - - CHADEMO - - CHAOJI - - DOMESTIC_A - - DOMESTIC_B - - DOMESTIC_C - - DOMESTIC_D - - DOMESTIC_E - - DOMESTIC_F - - DOMESTIC_G - - DOMESTIC_H - - DOMESTIC_I - - DOMESTIC_J - - DOMESTIC_K - - DOMESTIC_L - - DOMESTIC_M - - DOMESTIC_N - - DOMESTIC_O - - GBT_AC - - GBT_DC - - IEC_60309_2_single_16 - - IEC_60309_2_three_16 - - IEC_60309_2_three_32 - - IEC_60309_2_three_64 - - IEC_62196_T1 - - IEC_62196_T1_COMBO - - IEC_62196_T2 - - IEC_62196_T2_COMBO - - IEC_62196_T3A - - IEC_62196_T3C - - NEMA_5_20 - - NEMA_6_30 - - NEMA_6_50 - - NEMA_10_30 - - NEMA_10_50 - - NEMA_14_30 - - NEMA_14_50 - - PANTOGRAPH_BOTTOM_UP - - PANTOGRAPH_TOP_DOWN - - TESLA_R - - TESLA_S - type: string - connector_format: - enum: - - SOCKET - - CABLE - type: string - connector_power_type: - enum: - - AC_1_PHASE - - AC_2_PHASE - - AC_2_PHASE_SPLIT - - AC_3_PHASE - - DC - type: string - type: object - SignedData: - example: - public_key: public_key - signed_values: - - plain_data: plain_data - signed_data: signed_data - nature: nature - plainDat: plainDat - - plain_data: plain_data - signed_data: signed_data - nature: nature - plainDat: plainDat - encoding_method: encoding_method - encoding_method_version: 0 - url: url - properties: - encoding_method: - type: string - encoding_method_version: - format: int32 - type: integer - public_key: - type: string - signed_values: - items: - $ref: '#/components/schemas/SignedValue' - type: array - url: - type: string - type: object - SignedValue: - example: - plain_data: plain_data - signed_data: signed_data - nature: nature - plainDat: plainDat - properties: - plainDat: - type: string - writeOnly: true - nature: - type: string - plain_data: - type: string - signed_data: - type: string - type: object - Tariff: - example: - tariff_alt_url: tariff_alt_url - last_updated: 2000-01-23T04:56:07.000+00:00 - type: AD_HOC_PAYMENT - country_code: country_code - end_date_time: 2000-01-23T04:56:07.000+00:00 - energy_mix: - energy_product_name: energy_product_name - is_green_energy: true - supplier_name: supplier_name - energy_sources: - - percentage: 1.0246457 - source: NUCLEAR - - percentage: 1.0246457 - source: NUCLEAR - environ_impact: - - amount: 1.4894159 - category: NUCLEAR_WASTE - - amount: 1.4894159 - category: NUCLEAR_WASTE - max_price: - inclVat: 1.2315135 - exclVat: 7.386282 - min_price: - inclVat: 1.2315135 - exclVat: 7.386282 - tariff_alt_text: - - language: language - text: text - - language: language - text: text - party_id: party_id - elements: - - restrictions: - end_date: end_date - min_kwh: 5.962134 - end_time: end_time - min_duration: 2 - min_current: 2.302136 - max_duration: 4 - start_time: start_time - max_power: 3.6160767 - max_kwh: 5.637377 - reservation: RESERVATION - max_current: 7.0614014 - start_date: start_date - min_power: 9.301444 - day_of_week: - - MONDAY - - MONDAY - price_components: - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - restrictions: - end_date: end_date - min_kwh: 5.962134 - end_time: end_time - min_duration: 2 - min_current: 2.302136 - max_duration: 4 - start_time: start_time - max_power: 3.6160767 - max_kwh: 5.637377 - reservation: RESERVATION - max_current: 7.0614014 - start_date: start_date - min_power: 9.301444 - day_of_week: - - MONDAY - - MONDAY - price_components: - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - - price: 0.8008282 - vat: 6.0274563 - type: ENERGY - step_size: 1 - currency: currency - id: id - start_date_time: 2000-01-23T04:56:07.000+00:00 - properties: - country_code: - type: string - party_id: - type: string - id: - type: string - currency: - type: string - type: - enum: - - AD_HOC_PAYMENT - - PROFILE_CHEAP - - PROFILE_FAST - - REGULAR - - PROFILE_GREEN - type: string - tariff_alt_text: - items: - $ref: '#/components/schemas/DisplayText' - type: array - tariff_alt_url: - type: string - min_price: - $ref: '#/components/schemas/Price' - max_price: - $ref: '#/components/schemas/Price' - elements: - items: - $ref: '#/components/schemas/TariffElement' - type: array - start_date_time: - format: date-time - type: string - end_date_time: - format: date-time - type: string - energy_mix: - $ref: '#/components/schemas/EnergyMix' - last_updated: - format: date-time - type: string - type: object - Endpoint: - example: - identifier: cdrs - role: SENDER - url: url - properties: - identifier: - enum: - - cdrs - - chargingprofiles - - commands - - credentials - - hubclientinfo - - locations - - sessions - - tariffs - - tokens - type: string - role: - enum: - - SENDER - - RECEIVER - type: string - url: - type: string - type: object - VersionDetailsResponseDTO: - example: - endpoints: - - identifier: cdrs - role: SENDER - url: url - - identifier: cdrs - role: SENDER - url: url - version: "2.0" - properties: - version: - enum: - - "2.0" - - "2.1" - - 2.1.1 - - "2.2" - - 2.2.1 - type: string - endpoints: - items: - $ref: '#/components/schemas/Endpoint' - type: array - required: - - endpoints - - version - type: object - TokenDTO: - example: - last_updated: 2000-01-23T04:56:07.000+00:00 - contract_id: contract_id - language: language - whitelist: ALWAYS - type: AD_HOC_USER - visual_number: visual_number - issuer: issuer - valid: true - country_code: country_code - uid: uid - default_profile_type: CHEAP - group_id: group_id - energy_contract: - contract_id: contract_id - supplier_name: supplier_name - party_id: party_id - properties: - country_code: - maxLength: 2 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - party_id: - maxLength: 3 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - uid: - maxLength: 36 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - type: - enum: - - AD_HOC_USER - - APP_USER - - OTHER - - RFID - type: string - contract_id: - maxLength: 36 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - visual_number: - maxLength: 64 - minLength: 1 - type: string - issuer: - maxLength: 64 - minLength: 1 - type: string - group_id: - maxLength: 36 - minLength: 1 - type: string - valid: - type: boolean - whitelist: - enum: - - ALWAYS - - ALLOWED - - ALLOWED_OFFLINE - - NEVER - type: string - language: - maxLength: 2 - minLength: 1 - type: string - default_profile_type: - enum: - - CHEAP - - FAST - - GREEN - - REGULAR - type: string - energy_contract: - $ref: '#/components/schemas/EnergyContract' - last_updated: - format: date-time - type: string - required: - - contract_id - - country_code - - issuer - - last_updated - - party_id - - type - - uid - - valid - - whitelist - type: object - AbstractDomainObject: - type: object - ClientInfoDTO: - example: - country_code: country_code - last_updated: 2000-01-23T04:56:07.000+00:00 - role: CPO - party_id: party_id - status: CONNECTED - properties: - party_id: - maxLength: 3 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - country_code: - maxLength: 2 - minLength: 1 - pattern: "/[:ascii:]/i" - type: string - role: - enum: - - CPO - - EMSP - - HUB - - NAP - - NSP - - OTHER - - SCSP - type: string - status: - enum: - - CONNECTED - - OFFLINE - - PLANNED - - SUSPENDED - type: string - last_updated: - format: date-time - type: string - required: - - country_code - - last_updated - - party_id - - role - - status - type: object - diff --git a/docs/ClientInfoControllerApi.md b/docs/ClientInfoApi.md similarity index 83% rename from docs/ClientInfoControllerApi.md rename to docs/ClientInfoApi.md index 1f55d5c..84ff882 100644 --- a/docs/ClientInfoControllerApi.md +++ b/docs/ClientInfoApi.md @@ -1,11 +1,11 @@ -# ClientInfoControllerApi +# ClientInfoApi All URIs are relative to *http://localhost:8080* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**getHubClientInfo**](ClientInfoControllerApi.md#getHubClientInfo) | **GET** /api/2.2.1/hubClientInfo/{country_code}/{party_id} | | -| [**putHubClientInfo**](ClientInfoControllerApi.md#putHubClientInfo) | **PUT** /api/2.2.1/hubClientInfo/{country_code}/{party_id} | | +| [**getHubClientInfo**](ClientInfoApi.md#getHubClientInfo) | **GET** /api/2.2.1/hubClientInfo/{country_code}/{party_id} | | +| [**putHubClientInfo**](ClientInfoApi.md#putHubClientInfo) | **PUT** /api/2.2.1/hubClientInfo/{country_code}/{party_id} | | @@ -23,21 +23,21 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.ClientInfoControllerApi; +import com.extrawest.ocpi.emsp.client.api.ClientInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - ClientInfoControllerApi apiInstance = new ClientInfoControllerApi(defaultClient); + ClientInfoApi apiInstance = new ClientInfoApi(defaultClient); String countryCode = "countryCode_example"; // String | String partyId = "partyId_example"; // String | try { ClientInfoDTO result = apiInstance.getHubClientInfo(countryCode, partyId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ClientInfoControllerApi#getHubClientInfo"); + System.err.println("Exception when calling ClientInfoApi#getHubClientInfo"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -89,20 +89,20 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.ClientInfoControllerApi; +import com.extrawest.ocpi.emsp.client.api.ClientInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - ClientInfoControllerApi apiInstance = new ClientInfoControllerApi(defaultClient); + ClientInfoApi apiInstance = new ClientInfoApi(defaultClient); String countryCode = "countryCode_example"; // String | String partyId = "partyId_example"; // String | try { apiInstance.putHubClientInfo(countryCode, partyId); } catch (ApiException e) { - System.err.println("Exception when calling ClientInfoControllerApi#putHubClientInfo"); + System.err.println("Exception when calling ClientInfoApi#putHubClientInfo"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/docs/CommandResultRequestDTO.md b/docs/CommandResultRequestDTO.md new file mode 100644 index 0000000..a8148ef --- /dev/null +++ b/docs/CommandResultRequestDTO.md @@ -0,0 +1,30 @@ + + +# CommandResultRequestDTO + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**result** | [**ResultEnum**](#ResultEnum) | | | +|**message** | [**DisplayText**](DisplayText.md) | | [optional] | + + + +## Enum: ResultEnum + +| Name | Value | +|---- | -----| +| ACCEPTED_ | "ACCEPTED " | +| CANCELED_RESERVATION_ | "CANCELED_RESERVATION " | +| EVSE_OCCUPIED | "EVSE_OCCUPIED" | +| EVSE_INOPERATIVE | "EVSE_INOPERATIVE" | +| FAILED | "FAILED" | +| NOT_SUPPORTED | "NOT_SUPPORTED" | +| REJECTED | "REJECTED" | +| TIMEOUT | "TIMEOUT" | +| UNKNOWN_RESERVATION | "UNKNOWN_RESERVATION" | + + + diff --git a/docs/EmspCdrControllerApi.md b/docs/EmspCdrApi.md similarity index 81% rename from docs/EmspCdrControllerApi.md rename to docs/EmspCdrApi.md index be6aeff..8b03cb6 100644 --- a/docs/EmspCdrControllerApi.md +++ b/docs/EmspCdrApi.md @@ -1,11 +1,11 @@ -# EmspCdrControllerApi +# EmspCdrApi All URIs are relative to *http://localhost:8080* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**getCdr**](EmspCdrControllerApi.md#getCdr) | **GET** /emsp/api/2.2.1/cdr/{id} | | -| [**postCdr**](EmspCdrControllerApi.md#postCdr) | **POST** /emsp/api/2.2.1/cdr | | +| [**getCdr**](EmspCdrApi.md#getCdr) | **GET** /emsp/api/2.2.1/cdr/{id} | | +| [**postCdr**](EmspCdrApi.md#postCdr) | **POST** /emsp/api/2.2.1/cdr | | @@ -23,20 +23,20 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspCdrControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspCdrApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspCdrControllerApi apiInstance = new EmspCdrControllerApi(defaultClient); + EmspCdrApi apiInstance = new EmspCdrApi(defaultClient); String id = "id_example"; // String | try { CdrDTO result = apiInstance.getCdr(id); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling EmspCdrControllerApi#getCdr"); + System.err.println("Exception when calling EmspCdrApi#getCdr"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -87,20 +87,20 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspCdrControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspCdrApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspCdrControllerApi apiInstance = new EmspCdrControllerApi(defaultClient); + EmspCdrApi apiInstance = new EmspCdrApi(defaultClient); CdrDTO cdrDTO = new CdrDTO(); // CdrDTO | try { String result = apiInstance.postCdr(cdrDTO); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling EmspCdrControllerApi#postCdr"); + System.err.println("Exception when calling EmspCdrApi#postCdr"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/docs/EmspChargingProfilesControllerApi.md b/docs/EmspChargingProfilesApi.md similarity index 82% rename from docs/EmspChargingProfilesControllerApi.md rename to docs/EmspChargingProfilesApi.md index a2d11c3..76c5c3e 100644 --- a/docs/EmspChargingProfilesControllerApi.md +++ b/docs/EmspChargingProfilesApi.md @@ -1,11 +1,11 @@ -# EmspChargingProfilesControllerApi +# EmspChargingProfilesApi All URIs are relative to *http://localhost:8080* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**postChargingProfile**](EmspChargingProfilesControllerApi.md#postChargingProfile) | **POST** /emsp/api/2.2.1/chargingProfiles | | -| [**putChargingProfile**](EmspChargingProfilesControllerApi.md#putChargingProfile) | **PUT** /emsp/api/2.2.1/chargingProfiles/{session_id} | | +| [**postChargingProfile**](EmspChargingProfilesApi.md#postChargingProfile) | **POST** /emsp/api/2.2.1/chargingProfiles | | +| [**putChargingProfile**](EmspChargingProfilesApi.md#putChargingProfile) | **PUT** /emsp/api/2.2.1/chargingProfiles/{session_id} | | @@ -23,20 +23,20 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspChargingProfilesControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspChargingProfilesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspChargingProfilesControllerApi apiInstance = new EmspChargingProfilesControllerApi(defaultClient); + EmspChargingProfilesApi apiInstance = new EmspChargingProfilesApi(defaultClient); AbstractProfileResult abstractProfileResult = new AbstractProfileResult(); // AbstractProfileResult | try { ResponseFormat result = apiInstance.postChargingProfile(abstractProfileResult); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling EmspChargingProfilesControllerApi#postChargingProfile"); + System.err.println("Exception when calling EmspChargingProfilesApi#postChargingProfile"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -87,21 +87,21 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspChargingProfilesControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspChargingProfilesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspChargingProfilesControllerApi apiInstance = new EmspChargingProfilesControllerApi(defaultClient); + EmspChargingProfilesApi apiInstance = new EmspChargingProfilesApi(defaultClient); String sessionId = "sessionId_example"; // String | ActiveChargingProfileRequestDTO activeChargingProfileRequestDTO = new ActiveChargingProfileRequestDTO(); // ActiveChargingProfileRequestDTO | try { ResponseFormat result = apiInstance.putChargingProfile(sessionId, activeChargingProfileRequestDTO); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling EmspChargingProfilesControllerApi#putChargingProfile"); + System.err.println("Exception when calling EmspChargingProfilesApi#putChargingProfile"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/docs/EmspCommandsApi.md b/docs/EmspCommandsApi.md new file mode 100644 index 0000000..3fe5c06 --- /dev/null +++ b/docs/EmspCommandsApi.md @@ -0,0 +1,76 @@ +# EmspCommandsApi + +All URIs are relative to *http://localhost:8080* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**postCommand**](EmspCommandsApi.md#postCommand) | **POST** /emsp/api/2.2.1/commands/{commandType}/{uniqueId} | | + + + +## postCommand + +> postCommand(commandType, uniqueId, commandResultRequestDTO) + + + +### Example + +```java +// Import classes: +import com.extrawest.ocpi.emsp.client.invoker.ApiClient; +import com.extrawest.ocpi.emsp.client.invoker.ApiException; +import com.extrawest.ocpi.emsp.client.invoker.Configuration; +import com.extrawest.ocpi.emsp.client.invoker.models.*; +import com.extrawest.ocpi.emsp.client.api.EmspCommandsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost:8080"); + + EmspCommandsApi apiInstance = new EmspCommandsApi(defaultClient); + String commandType = "CANCEL_RESERVATION"; // String | + String uniqueId = "uniqueId_example"; // String | + CommandResultRequestDTO commandResultRequestDTO = new CommandResultRequestDTO(); // CommandResultRequestDTO | + try { + apiInstance.postCommand(commandType, uniqueId, commandResultRequestDTO); + } catch (ApiException e) { + System.err.println("Exception when calling EmspCommandsApi#postCommand"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **commandType** | **String**| | [enum: CANCEL_RESERVATION, RESERVE_NOW, START_SESSION, STOP_SESSION, UNLOCK_CONNECTOR] | +| **uniqueId** | **String**| | | +| **commandResultRequestDTO** | [**CommandResultRequestDTO**](CommandResultRequestDTO.md)| | | + +### Return type + +null (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: Not defined + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/EmspCredentialsControllerApi.md b/docs/EmspCredentialsApi.md similarity index 82% rename from docs/EmspCredentialsControllerApi.md rename to docs/EmspCredentialsApi.md index f49d9f2..a6447dd 100644 --- a/docs/EmspCredentialsControllerApi.md +++ b/docs/EmspCredentialsApi.md @@ -1,13 +1,13 @@ -# EmspCredentialsControllerApi +# EmspCredentialsApi All URIs are relative to *http://localhost:8080* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**deleteCredentials**](EmspCredentialsControllerApi.md#deleteCredentials) | **DELETE** /emsp/api/2.2.1/credentials | | -| [**getCredentials**](EmspCredentialsControllerApi.md#getCredentials) | **GET** /emsp/api/2.2.1/credentials | | -| [**postCredentials**](EmspCredentialsControllerApi.md#postCredentials) | **POST** /emsp/api/2.2.1/credentials | | -| [**putCredentials**](EmspCredentialsControllerApi.md#putCredentials) | **PUT** /emsp/api/2.2.1/credentials | | +| [**deleteCredentials**](EmspCredentialsApi.md#deleteCredentials) | **DELETE** /emsp/api/2.2.1/credentials | | +| [**getCredentials**](EmspCredentialsApi.md#getCredentials) | **GET** /emsp/api/2.2.1/credentials | | +| [**postCredentials**](EmspCredentialsApi.md#postCredentials) | **POST** /emsp/api/2.2.1/credentials | | +| [**putCredentials**](EmspCredentialsApi.md#putCredentials) | **PUT** /emsp/api/2.2.1/credentials | | @@ -25,19 +25,19 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspCredentialsControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspCredentialsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspCredentialsControllerApi apiInstance = new EmspCredentialsControllerApi(defaultClient); + EmspCredentialsApi apiInstance = new EmspCredentialsApi(defaultClient); CredentialsDTO credentialsDTO = new CredentialsDTO(); // CredentialsDTO | try { apiInstance.deleteCredentials(credentialsDTO); } catch (ApiException e) { - System.err.println("Exception when calling EmspCredentialsControllerApi#deleteCredentials"); + System.err.println("Exception when calling EmspCredentialsApi#deleteCredentials"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -88,19 +88,19 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspCredentialsControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspCredentialsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspCredentialsControllerApi apiInstance = new EmspCredentialsControllerApi(defaultClient); + EmspCredentialsApi apiInstance = new EmspCredentialsApi(defaultClient); try { CredentialsDTO result = apiInstance.getCredentials(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling EmspCredentialsControllerApi#getCredentials"); + System.err.println("Exception when calling EmspCredentialsApi#getCredentials"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -148,19 +148,19 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspCredentialsControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspCredentialsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspCredentialsControllerApi apiInstance = new EmspCredentialsControllerApi(defaultClient); + EmspCredentialsApi apiInstance = new EmspCredentialsApi(defaultClient); CredentialsDTO credentialsDTO = new CredentialsDTO(); // CredentialsDTO | try { apiInstance.postCredentials(credentialsDTO); } catch (ApiException e) { - System.err.println("Exception when calling EmspCredentialsControllerApi#postCredentials"); + System.err.println("Exception when calling EmspCredentialsApi#postCredentials"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -211,19 +211,19 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspCredentialsControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspCredentialsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspCredentialsControllerApi apiInstance = new EmspCredentialsControllerApi(defaultClient); + EmspCredentialsApi apiInstance = new EmspCredentialsApi(defaultClient); CredentialsDTO credentialsDTO = new CredentialsDTO(); // CredentialsDTO | try { apiInstance.putCredentials(credentialsDTO); } catch (ApiException e) { - System.err.println("Exception when calling EmspCredentialsControllerApi#putCredentials"); + System.err.println("Exception when calling EmspCredentialsApi#putCredentials"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/docs/EmspLocationControllerApi.md b/docs/EmspLocationApi.md similarity index 86% rename from docs/EmspLocationControllerApi.md rename to docs/EmspLocationApi.md index f98d9b6..a1e31ad 100644 --- a/docs/EmspLocationControllerApi.md +++ b/docs/EmspLocationApi.md @@ -1,12 +1,12 @@ -# EmspLocationControllerApi +# EmspLocationApi All URIs are relative to *http://localhost:8080* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**getLocationEvseController**](EmspLocationControllerApi.md#getLocationEvseController) | **GET** /emsp/api/2.2.1/locations | | -| [**patchLocation**](EmspLocationControllerApi.md#patchLocation) | **PATCH** /emsp/api/2.2.1/locations | | -| [**pushLocation**](EmspLocationControllerApi.md#pushLocation) | **PUT** /emsp/api/2.2.1/locations | | +| [**getLocationEvseController**](EmspLocationApi.md#getLocationEvseController) | **GET** /emsp/api/2.2.1/locations | | +| [**patchLocation**](EmspLocationApi.md#patchLocation) | **PATCH** /emsp/api/2.2.1/locations | | +| [**pushLocation**](EmspLocationApi.md#pushLocation) | **PUT** /emsp/api/2.2.1/locations | | @@ -24,14 +24,14 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspLocationControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspLocationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspLocationControllerApi apiInstance = new EmspLocationControllerApi(defaultClient); + EmspLocationApi apiInstance = new EmspLocationApi(defaultClient); String countryCode = "countryCode_example"; // String | String partyId = "partyId_example"; // String | String locationId = "locationId_example"; // String | @@ -41,7 +41,7 @@ public class Example { Object result = apiInstance.getLocationEvseController(countryCode, partyId, locationId, evseUid, connectorId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling EmspLocationControllerApi#getLocationEvseController"); + System.err.println("Exception when calling EmspLocationApi#getLocationEvseController"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -96,14 +96,14 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspLocationControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspLocationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspLocationControllerApi apiInstance = new EmspLocationControllerApi(defaultClient); + EmspLocationApi apiInstance = new EmspLocationApi(defaultClient); String countryCode = "countryCode_example"; // String | String partyId = "partyId_example"; // String | String locationId = "locationId_example"; // String | @@ -113,7 +113,7 @@ public class Example { try { apiInstance.patchLocation(countryCode, partyId, locationId, locationDTO, evseUid, connectorId); } catch (ApiException e) { - System.err.println("Exception when calling EmspLocationControllerApi#patchLocation"); + System.err.println("Exception when calling EmspLocationApi#patchLocation"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -169,14 +169,14 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspLocationControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspLocationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspLocationControllerApi apiInstance = new EmspLocationControllerApi(defaultClient); + EmspLocationApi apiInstance = new EmspLocationApi(defaultClient); String countryCode = "countryCode_example"; // String | String partyId = "partyId_example"; // String | String locationId = "locationId_example"; // String | @@ -186,7 +186,7 @@ public class Example { try { apiInstance.pushLocation(countryCode, partyId, locationId, locationDTO, evseUid, connectorId); } catch (ApiException e) { - System.err.println("Exception when calling EmspLocationControllerApi#pushLocation"); + System.err.println("Exception when calling EmspLocationApi#pushLocation"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/docs/EmspSessionsControllerApi.md b/docs/EmspSessionsApi.md similarity index 86% rename from docs/EmspSessionsControllerApi.md rename to docs/EmspSessionsApi.md index cce3e0c..80bc039 100644 --- a/docs/EmspSessionsControllerApi.md +++ b/docs/EmspSessionsApi.md @@ -1,12 +1,12 @@ -# EmspSessionsControllerApi +# EmspSessionsApi All URIs are relative to *http://localhost:8080* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**getSession**](EmspSessionsControllerApi.md#getSession) | **GET** /emsp/api/2.2.1/sessions | | -| [**patchSession**](EmspSessionsControllerApi.md#patchSession) | **PATCH** /emsp/api/2.2.1/sessions | | -| [**putSession**](EmspSessionsControllerApi.md#putSession) | **PUT** /emsp/api/2.2.1/sessions | | +| [**getSession**](EmspSessionsApi.md#getSession) | **GET** /emsp/api/2.2.1/sessions | | +| [**patchSession**](EmspSessionsApi.md#patchSession) | **PATCH** /emsp/api/2.2.1/sessions | | +| [**putSession**](EmspSessionsApi.md#putSession) | **PUT** /emsp/api/2.2.1/sessions | | @@ -24,14 +24,14 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspSessionsControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspSessionsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspSessionsControllerApi apiInstance = new EmspSessionsControllerApi(defaultClient); + EmspSessionsApi apiInstance = new EmspSessionsApi(defaultClient); String countryCode = "countryCode_example"; // String | String partyId = "partyId_example"; // String | String sessionId = "sessionId_example"; // String | @@ -39,7 +39,7 @@ public class Example { SessionDTO result = apiInstance.getSession(countryCode, partyId, sessionId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling EmspSessionsControllerApi#getSession"); + System.err.println("Exception when calling EmspSessionsApi#getSession"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -92,14 +92,14 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspSessionsControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspSessionsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspSessionsControllerApi apiInstance = new EmspSessionsControllerApi(defaultClient); + EmspSessionsApi apiInstance = new EmspSessionsApi(defaultClient); String countryCode = "countryCode_example"; // String | String partyId = "partyId_example"; // String | String sessionId = "sessionId_example"; // String | @@ -107,7 +107,7 @@ public class Example { try { apiInstance.patchSession(countryCode, partyId, sessionId, sessionDTO); } catch (ApiException e) { - System.err.println("Exception when calling EmspSessionsControllerApi#patchSession"); + System.err.println("Exception when calling EmspSessionsApi#patchSession"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -161,14 +161,14 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspSessionsControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspSessionsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspSessionsControllerApi apiInstance = new EmspSessionsControllerApi(defaultClient); + EmspSessionsApi apiInstance = new EmspSessionsApi(defaultClient); String countryCode = "countryCode_example"; // String | String partyId = "partyId_example"; // String | String sessionId = "sessionId_example"; // String | @@ -176,7 +176,7 @@ public class Example { try { apiInstance.putSession(countryCode, partyId, sessionId, sessionDTO); } catch (ApiException e) { - System.err.println("Exception when calling EmspSessionsControllerApi#putSession"); + System.err.println("Exception when calling EmspSessionsApi#putSession"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/docs/EmspTariffControllerApi.md b/docs/EmspTariffApi.md similarity index 86% rename from docs/EmspTariffControllerApi.md rename to docs/EmspTariffApi.md index 23fd85f..a6ee8b3 100644 --- a/docs/EmspTariffControllerApi.md +++ b/docs/EmspTariffApi.md @@ -1,12 +1,12 @@ -# EmspTariffControllerApi +# EmspTariffApi All URIs are relative to *http://localhost:8080* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**deleteTariff**](EmspTariffControllerApi.md#deleteTariff) | **DELETE** /emsp/api/2.2.1/tariffs | | -| [**getTariff**](EmspTariffControllerApi.md#getTariff) | **GET** /emsp/api/2.2.1/tariffs | | -| [**saveTariff**](EmspTariffControllerApi.md#saveTariff) | **PUT** /emsp/api/2.2.1/tariffs | | +| [**deleteTariff**](EmspTariffApi.md#deleteTariff) | **DELETE** /emsp/api/2.2.1/tariffs | | +| [**getTariff**](EmspTariffApi.md#getTariff) | **GET** /emsp/api/2.2.1/tariffs | | +| [**saveTariff**](EmspTariffApi.md#saveTariff) | **PUT** /emsp/api/2.2.1/tariffs | | @@ -24,21 +24,21 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspTariffControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspTariffApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspTariffControllerApi apiInstance = new EmspTariffControllerApi(defaultClient); + EmspTariffApi apiInstance = new EmspTariffApi(defaultClient); String countryCode = "countryCode_example"; // String | String partyId = "partyId_example"; // String | String tariffId = "tariffId_example"; // String | try { apiInstance.deleteTariff(countryCode, partyId, tariffId); } catch (ApiException e) { - System.err.println("Exception when calling EmspTariffControllerApi#deleteTariff"); + System.err.println("Exception when calling EmspTariffApi#deleteTariff"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -91,14 +91,14 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspTariffControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspTariffApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspTariffControllerApi apiInstance = new EmspTariffControllerApi(defaultClient); + EmspTariffApi apiInstance = new EmspTariffApi(defaultClient); String countryCode = "countryCode_example"; // String | String partyId = "partyId_example"; // String | String tariffId = "tariffId_example"; // String | @@ -106,7 +106,7 @@ public class Example { TariffDTO result = apiInstance.getTariff(countryCode, partyId, tariffId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling EmspTariffControllerApi#getTariff"); + System.err.println("Exception when calling EmspTariffApi#getTariff"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -159,14 +159,14 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspTariffControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspTariffApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspTariffControllerApi apiInstance = new EmspTariffControllerApi(defaultClient); + EmspTariffApi apiInstance = new EmspTariffApi(defaultClient); String countryCode = "countryCode_example"; // String | String partyId = "partyId_example"; // String | String tariffId = "tariffId_example"; // String | @@ -174,7 +174,7 @@ public class Example { try { apiInstance.saveTariff(countryCode, partyId, tariffId, tariffDTO); } catch (ApiException e) { - System.err.println("Exception when calling EmspTariffControllerApi#saveTariff"); + System.err.println("Exception when calling EmspTariffApi#saveTariff"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/docs/EmspTokenControllerApi.md b/docs/EmspTokenApi.md similarity index 86% rename from docs/EmspTokenControllerApi.md rename to docs/EmspTokenApi.md index ad6e077..0d2d13e 100644 --- a/docs/EmspTokenControllerApi.md +++ b/docs/EmspTokenApi.md @@ -1,11 +1,11 @@ -# EmspTokenControllerApi +# EmspTokenApi All URIs are relative to *http://localhost:8080* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**getToken**](EmspTokenControllerApi.md#getToken) | **GET** /emsp/api/2.2.1/tokens/{date_from}/{date_to}/{offset}/{limit} | | -| [**postToken**](EmspTokenControllerApi.md#postToken) | **POST** /emsp/api/2.2.1/tokens/{token_uid}/{type} | | +| [**getToken**](EmspTokenApi.md#getToken) | **GET** /emsp/api/2.2.1/tokens/{date_from}/{date_to}/{offset}/{limit} | | +| [**postToken**](EmspTokenApi.md#postToken) | **POST** /emsp/api/2.2.1/tokens/{token_uid}/{type} | | @@ -23,14 +23,14 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspTokenControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspTokenApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspTokenControllerApi apiInstance = new EmspTokenControllerApi(defaultClient); + EmspTokenApi apiInstance = new EmspTokenApi(defaultClient); OffsetDateTime dateFrom = OffsetDateTime.now(); // OffsetDateTime | OffsetDateTime dateTo = OffsetDateTime.now(); // OffsetDateTime | Integer offset = 56; // Integer | @@ -39,7 +39,7 @@ public class Example { List result = apiInstance.getToken(dateFrom, dateTo, offset, limit); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling EmspTokenControllerApi#getToken"); + System.err.println("Exception when calling EmspTokenApi#getToken"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -93,14 +93,14 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspTokenControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspTokenApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspTokenControllerApi apiInstance = new EmspTokenControllerApi(defaultClient); + EmspTokenApi apiInstance = new EmspTokenApi(defaultClient); String tokenUid = "tokenUid_example"; // String | String type = "type_example"; // String | LocationReferencesRequestDTO locationReferencesRequestDTO = new LocationReferencesRequestDTO(); // LocationReferencesRequestDTO | @@ -108,7 +108,7 @@ public class Example { AuthorizationInfoResponseDTO result = apiInstance.postToken(tokenUid, type, locationReferencesRequestDTO); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling EmspTokenControllerApi#postToken"); + System.err.println("Exception when calling EmspTokenApi#postToken"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/docs/EmspVersionControllerApi.md b/docs/EmspVersionApi.md similarity index 83% rename from docs/EmspVersionControllerApi.md rename to docs/EmspVersionApi.md index c549afd..5f52640 100644 --- a/docs/EmspVersionControllerApi.md +++ b/docs/EmspVersionApi.md @@ -1,10 +1,10 @@ -# EmspVersionControllerApi +# EmspVersionApi All URIs are relative to *http://localhost:8080* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**getVersionDetails**](EmspVersionControllerApi.md#getVersionDetails) | **GET** /emsp/api/2.2.1/versions/details/{version} | | +| [**getVersionDetails**](EmspVersionApi.md#getVersionDetails) | **GET** /emsp/api/2.2.1/versions/details/{version} | | @@ -22,20 +22,20 @@ import com.extrawest.ocpi.emsp.client.invoker.ApiClient; import com.extrawest.ocpi.emsp.client.invoker.ApiException; import com.extrawest.ocpi.emsp.client.invoker.Configuration; import com.extrawest.ocpi.emsp.client.invoker.models.*; -import com.extrawest.ocpi.emsp.client.api.EmspVersionControllerApi; +import com.extrawest.ocpi.emsp.client.api.EmspVersionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost:8080"); - EmspVersionControllerApi apiInstance = new EmspVersionControllerApi(defaultClient); + EmspVersionApi apiInstance = new EmspVersionApi(defaultClient); String version = "2.0"; // String | try { VersionDetailsResponseDTO result = apiInstance.getVersionDetails(version); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling EmspVersionControllerApi#getVersionDetails"); + System.err.println("Exception when calling EmspVersionApi#getVersionDetails"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/pom.xml b/pom.xml index e2369e9..33c42f4 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.extrawest Extrawest-OCPI-2.2.1-EMSP-Client - 2023.8.18 + 2023.8.29 Extrawest-OCPI-2.2.1-EMSP-Client Extrawest-OCPI-2.2.1-EMSP-Client diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/api/ClientInfoControllerApi.java b/src/main/java/com/extrawest/ocpi/emsp/client/api/ClientInfoApi.java similarity index 97% rename from src/main/java/com/extrawest/ocpi/emsp/client/api/ClientInfoControllerApi.java rename to src/main/java/com/extrawest/ocpi/emsp/client/api/ClientInfoApi.java index 847b2f9..66d1aa8 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/api/ClientInfoControllerApi.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/api/ClientInfoApi.java @@ -13,15 +13,15 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") -public class ClientInfoControllerApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") +public class ClientInfoApi { private ApiClient apiClient; - public ClientInfoControllerApi() { + public ClientInfoApi() { this(new ApiClient()); } - public ClientInfoControllerApi(ApiClient apiClient) { + public ClientInfoApi(ApiClient apiClient) { this.apiClient = apiClient; } diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCdrControllerApi.java b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCdrApi.java similarity index 96% rename from src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCdrControllerApi.java rename to src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCdrApi.java index a56a64e..63892de 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCdrControllerApi.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCdrApi.java @@ -14,15 +14,15 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") -public class EmspCdrControllerApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") +public class EmspCdrApi { private ApiClient apiClient; - public EmspCdrControllerApi() { + public EmspCdrApi() { this(new ApiClient()); } - public EmspCdrControllerApi(ApiClient apiClient) { + public EmspCdrApi(ApiClient apiClient) { this.apiClient = apiClient; } diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspChargingProfilesControllerApi.java b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspChargingProfilesApi.java similarity index 96% rename from src/main/java/com/extrawest/ocpi/emsp/client/api/EmspChargingProfilesControllerApi.java rename to src/main/java/com/extrawest/ocpi/emsp/client/api/EmspChargingProfilesApi.java index 56e9c6d..9368885 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspChargingProfilesControllerApi.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspChargingProfilesApi.java @@ -16,15 +16,15 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") -public class EmspChargingProfilesControllerApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") +public class EmspChargingProfilesApi { private ApiClient apiClient; - public EmspChargingProfilesControllerApi() { + public EmspChargingProfilesApi() { this(new ApiClient()); } - public EmspChargingProfilesControllerApi(ApiClient apiClient) { + public EmspChargingProfilesApi(ApiClient apiClient) { this.apiClient = apiClient; } diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCommandsApi.java b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCommandsApi.java new file mode 100644 index 0000000..2a4eb42 --- /dev/null +++ b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCommandsApi.java @@ -0,0 +1,98 @@ +package com.extrawest.ocpi.emsp.client.api; + +import com.extrawest.ocpi.emsp.client.invoker.ApiClient; +import com.extrawest.ocpi.emsp.client.model.CommandResultRequestDTO; +import org.springframework.core.ParameterizedTypeReference; +import org.springframework.http.*; +import org.springframework.util.LinkedMultiValueMap; +import org.springframework.util.MultiValueMap; +import org.springframework.web.client.HttpClientErrorException; +import org.springframework.web.client.RestClientException; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") +public class EmspCommandsApi { + private ApiClient apiClient; + + public EmspCommandsApi() { + this(new ApiClient()); + } + + public EmspCommandsApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + *

200 - OK + * + * @param commandType (required) + * @param uniqueId (required) + * @param commandResultRequestDTO (required) + * @throws RestClientException if an error occurs while attempting to invoke the API + */ + public void postCommand(String commandType, String uniqueId, CommandResultRequestDTO commandResultRequestDTO) throws RestClientException { + postCommandWithHttpInfo(commandType, uniqueId, commandResultRequestDTO); + } + + /** + *

200 - OK + * + * @param commandType (required) + * @param uniqueId (required) + * @param commandResultRequestDTO (required) + * @return ResponseEntity<Void> + * @throws RestClientException if an error occurs while attempting to invoke the API + */ + public ResponseEntity postCommandWithHttpInfo(String commandType, String uniqueId, CommandResultRequestDTO commandResultRequestDTO) throws RestClientException { + Object localVarPostBody = commandResultRequestDTO; + + // verify the required parameter 'commandType' is set + if (commandType == null) { + throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'commandType' when calling postCommand"); + } + + // verify the required parameter 'uniqueId' is set + if (uniqueId == null) { + throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'uniqueId' when calling postCommand"); + } + + // verify the required parameter 'commandResultRequestDTO' is set + if (commandResultRequestDTO == null) { + throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'commandResultRequestDTO' when calling postCommand"); + } + + // create path and map variables + final Map uriVariables = new HashMap(); + uriVariables.put("commandType", commandType); + uriVariables.put("uniqueId", uniqueId); + + final MultiValueMap localVarQueryParams = new LinkedMultiValueMap(); + final HttpHeaders localVarHeaderParams = new HttpHeaders(); + final MultiValueMap localVarCookieParams = new LinkedMultiValueMap(); + final MultiValueMap localVarFormParams = new LinkedMultiValueMap(); + + final String[] localVarAccepts = {}; + final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + "application/json" + }; + final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[]{}; + + ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() { + }; + return apiClient.invokeAPI("/emsp/api/2.2.1/commands/{commandType}/{uniqueId}", HttpMethod.POST, uriVariables, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType); + } +} diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCredentialsControllerApi.java b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCredentialsApi.java similarity index 97% rename from src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCredentialsControllerApi.java rename to src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCredentialsApi.java index 56f57be..cf3314b 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCredentialsControllerApi.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspCredentialsApi.java @@ -12,15 +12,15 @@ import java.util.Collections; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") -public class EmspCredentialsControllerApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") +public class EmspCredentialsApi { private ApiClient apiClient; - public EmspCredentialsControllerApi() { + public EmspCredentialsApi() { this(new ApiClient()); } - public EmspCredentialsControllerApi(ApiClient apiClient) { + public EmspCredentialsApi(ApiClient apiClient) { this.apiClient = apiClient; } diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspLocationControllerApi.java b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspLocationApi.java similarity index 98% rename from src/main/java/com/extrawest/ocpi/emsp/client/api/EmspLocationControllerApi.java rename to src/main/java/com/extrawest/ocpi/emsp/client/api/EmspLocationApi.java index a68b54c..230c9d0 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspLocationControllerApi.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspLocationApi.java @@ -12,15 +12,15 @@ import java.util.Collections; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") -public class EmspLocationControllerApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") +public class EmspLocationApi { private ApiClient apiClient; - public EmspLocationControllerApi() { + public EmspLocationApi() { this(new ApiClient()); } - public EmspLocationControllerApi(ApiClient apiClient) { + public EmspLocationApi(ApiClient apiClient) { this.apiClient = apiClient; } diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspSessionsControllerApi.java b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspSessionsApi.java similarity index 98% rename from src/main/java/com/extrawest/ocpi/emsp/client/api/EmspSessionsControllerApi.java rename to src/main/java/com/extrawest/ocpi/emsp/client/api/EmspSessionsApi.java index 9ecec7b..ccab9c2 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspSessionsControllerApi.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspSessionsApi.java @@ -12,15 +12,15 @@ import java.util.Collections; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") -public class EmspSessionsControllerApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") +public class EmspSessionsApi { private ApiClient apiClient; - public EmspSessionsControllerApi() { + public EmspSessionsApi() { this(new ApiClient()); } - public EmspSessionsControllerApi(ApiClient apiClient) { + public EmspSessionsApi(ApiClient apiClient) { this.apiClient = apiClient; } diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTariffControllerApi.java b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTariffApi.java similarity index 98% rename from src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTariffControllerApi.java rename to src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTariffApi.java index b5d4500..7d3d571 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTariffControllerApi.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTariffApi.java @@ -12,15 +12,15 @@ import java.util.Collections; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") -public class EmspTariffControllerApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") +public class EmspTariffApi { private ApiClient apiClient; - public EmspTariffControllerApi() { + public EmspTariffApi() { this(new ApiClient()); } - public EmspTariffControllerApi(ApiClient apiClient) { + public EmspTariffApi(ApiClient apiClient) { this.apiClient = apiClient; } diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTokenControllerApi.java b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTokenApi.java similarity index 97% rename from src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTokenControllerApi.java rename to src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTokenApi.java index 281b336..1cd1440 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTokenControllerApi.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspTokenApi.java @@ -16,15 +16,15 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") -public class EmspTokenControllerApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") +public class EmspTokenApi { private ApiClient apiClient; - public EmspTokenControllerApi() { + public EmspTokenApi() { this(new ApiClient()); } - public EmspTokenControllerApi(ApiClient apiClient) { + public EmspTokenApi(ApiClient apiClient) { this.apiClient = apiClient; } diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspVersionControllerApi.java b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspVersionApi.java similarity index 94% rename from src/main/java/com/extrawest/ocpi/emsp/client/api/EmspVersionControllerApi.java rename to src/main/java/com/extrawest/ocpi/emsp/client/api/EmspVersionApi.java index f12701d..c6418e5 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspVersionControllerApi.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/api/EmspVersionApi.java @@ -13,15 +13,15 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") -public class EmspVersionControllerApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") +public class EmspVersionApi { private ApiClient apiClient; - public EmspVersionControllerApi() { + public EmspVersionApi() { this(new ApiClient()); } - public EmspVersionControllerApi(ApiClient apiClient) { + public EmspVersionApi(ApiClient apiClient) { this.apiClient = apiClient; } diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/invoker/ApiClient.java b/src/main/java/com/extrawest/ocpi/emsp/client/invoker/ApiClient.java index 9f9c161..a53d5b8 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/invoker/ApiClient.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/invoker/ApiClient.java @@ -30,7 +30,7 @@ import java.util.*; import java.util.Map.Entry; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); @@ -602,7 +602,7 @@ protected void addCookiesToRequest(MultiValueMap cookies, BodyBu private String buildCookieHeader(MultiValueMap cookies) { final StringBuilder cookieValue = new StringBuilder(); String delimiter = ""; - for (final Entry> entry : cookies.entrySet()) { + for (final Map.Entry> entry : cookies.entrySet()) { final String value = entry.getValue().get(entry.getValue().size() - 1); cookieValue.append(String.format("%s%s=%s", delimiter, entry.getKey(), value)); delimiter = "; "; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/invoker/JavaTimeFormatter.java b/src/main/java/com/extrawest/ocpi/emsp/client/invoker/JavaTimeFormatter.java index 11205e2..e3d6a2d 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/invoker/JavaTimeFormatter.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/invoker/JavaTimeFormatter.java @@ -20,7 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/ApiKeyAuth.java b/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/ApiKeyAuth.java index 0ce5b2a..60e704a 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/ApiKeyAuth.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/ApiKeyAuth.java @@ -3,7 +3,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/HttpBasicAuth.java b/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/HttpBasicAuth.java index 7810fa8..19471a9 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/HttpBasicAuth.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/HttpBasicAuth.java @@ -6,7 +6,7 @@ import java.nio.charset.StandardCharsets; import java.util.Base64; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/HttpBearerAuth.java b/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/HttpBearerAuth.java index 5ebca7e..784dcee 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/HttpBearerAuth.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/invoker/auth/HttpBearerAuth.java @@ -3,7 +3,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/AbstractProfileResult.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/AbstractProfileResult.java index 89cfa7f..5781790 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/AbstractProfileResult.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/AbstractProfileResult.java @@ -21,9 +21,9 @@ * AbstractProfileResult */ @JsonPropertyOrder({ - AbstractProfileResult.JSON_PROPERTY_RESULT + AbstractProfileResult.JSON_PROPERTY_RESULT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class AbstractProfileResult { /** * Gets or Sets result diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/ActiveChargingProfileRequestDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/ActiveChargingProfileRequestDTO.java index f8724bc..2c3c2e7 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/ActiveChargingProfileRequestDTO.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/ActiveChargingProfileRequestDTO.java @@ -24,10 +24,10 @@ * ActiveChargingProfileRequestDTO */ @JsonPropertyOrder({ - ActiveChargingProfileRequestDTO.JSON_PROPERTY_START_DATE_TIME, - ActiveChargingProfileRequestDTO.JSON_PROPERTY_CHARGING_PROFILE + ActiveChargingProfileRequestDTO.JSON_PROPERTY_START_DATE_TIME, + ActiveChargingProfileRequestDTO.JSON_PROPERTY_CHARGING_PROFILE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class ActiveChargingProfileRequestDTO { public static final String JSON_PROPERTY_START_DATE_TIME = "start_date_time"; private OffsetDateTime startDateTime; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/AdditionalGeoLocation.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/AdditionalGeoLocation.java index a4d7c45..220d19a 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/AdditionalGeoLocation.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/AdditionalGeoLocation.java @@ -23,11 +23,11 @@ * AdditionalGeoLocation */ @JsonPropertyOrder({ - AdditionalGeoLocation.JSON_PROPERTY_LATITUDE, - AdditionalGeoLocation.JSON_PROPERTY_LONGITUDE, - AdditionalGeoLocation.JSON_PROPERTY_NAME + AdditionalGeoLocation.JSON_PROPERTY_LATITUDE, + AdditionalGeoLocation.JSON_PROPERTY_LONGITUDE, + AdditionalGeoLocation.JSON_PROPERTY_NAME }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class AdditionalGeoLocation { public static final String JSON_PROPERTY_LATITUDE = "latitude"; private String latitude; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/AuthorizationInfoResponseDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/AuthorizationInfoResponseDTO.java index 309f446..f8d491c 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/AuthorizationInfoResponseDTO.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/AuthorizationInfoResponseDTO.java @@ -21,13 +21,13 @@ * AuthorizationInfoResponseDTO */ @JsonPropertyOrder({ - AuthorizationInfoResponseDTO.JSON_PROPERTY_ALLOWED, - AuthorizationInfoResponseDTO.JSON_PROPERTY_TOKEN, - AuthorizationInfoResponseDTO.JSON_PROPERTY_LOCATION, - AuthorizationInfoResponseDTO.JSON_PROPERTY_AUTHORIZATION_REFERENCE, - AuthorizationInfoResponseDTO.JSON_PROPERTY_INFO + AuthorizationInfoResponseDTO.JSON_PROPERTY_ALLOWED, + AuthorizationInfoResponseDTO.JSON_PROPERTY_TOKEN, + AuthorizationInfoResponseDTO.JSON_PROPERTY_LOCATION, + AuthorizationInfoResponseDTO.JSON_PROPERTY_AUTHORIZATION_REFERENCE, + AuthorizationInfoResponseDTO.JSON_PROPERTY_INFO }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class AuthorizationInfoResponseDTO { /** * Gets or Sets allowed diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/BusinessDetails.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/BusinessDetails.java index 4b76992..9d39777 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/BusinessDetails.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/BusinessDetails.java @@ -23,11 +23,11 @@ * BusinessDetails */ @JsonPropertyOrder({ - BusinessDetails.JSON_PROPERTY_NAME, - BusinessDetails.JSON_PROPERTY_WEBSITE, - BusinessDetails.JSON_PROPERTY_LOGO + BusinessDetails.JSON_PROPERTY_NAME, + BusinessDetails.JSON_PROPERTY_WEBSITE, + BusinessDetails.JSON_PROPERTY_LOGO }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class BusinessDetails { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrDTO.java index d3bf26d..2a71cfd 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrDTO.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrDTO.java @@ -45,17 +45,17 @@ CdrDTO.JSON_PROPERTY_TOTAL_FIXED_COST, CdrDTO.JSON_PROPERTY_TOTAL_ENERGY, CdrDTO.JSON_PROPERTY_TOTAL_ENERGY_COST, - CdrDTO.JSON_PROPERTY_TOTAL_TIME, - CdrDTO.JSON_PROPERTY_TOTAL_TIME_COST, - CdrDTO.JSON_PROPERTY_TOTAL_PARKING_TIME, - CdrDTO.JSON_PROPERTY_TOTAL_PARKING_COST, - CdrDTO.JSON_PROPERTY_TOTAL_RESERVATION_COST, - CdrDTO.JSON_PROPERTY_INVOICE_REFERENCE_ID, - CdrDTO.JSON_PROPERTY_CREDIT_REFERENCE_ID, - CdrDTO.JSON_PROPERTY_HOME_CHARGING_COMPENSATION, - CdrDTO.JSON_PROPERTY_LAST_UPDATED + CdrDTO.JSON_PROPERTY_TOTAL_TIME, + CdrDTO.JSON_PROPERTY_TOTAL_TIME_COST, + CdrDTO.JSON_PROPERTY_TOTAL_PARKING_TIME, + CdrDTO.JSON_PROPERTY_TOTAL_PARKING_COST, + CdrDTO.JSON_PROPERTY_TOTAL_RESERVATION_COST, + CdrDTO.JSON_PROPERTY_INVOICE_REFERENCE_ID, + CdrDTO.JSON_PROPERTY_CREDIT_REFERENCE_ID, + CdrDTO.JSON_PROPERTY_HOME_CHARGING_COMPENSATION, + CdrDTO.JSON_PROPERTY_LAST_UPDATED }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class CdrDTO { public static final String JSON_PROPERTY_ID = "id"; private String id; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrDimension.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrDimension.java index 9311feb..978ab00 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrDimension.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrDimension.java @@ -21,10 +21,10 @@ * CdrDimension */ @JsonPropertyOrder({ - CdrDimension.JSON_PROPERTY_TYPE, - CdrDimension.JSON_PROPERTY_VOLUME + CdrDimension.JSON_PROPERTY_TYPE, + CdrDimension.JSON_PROPERTY_VOLUME }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class CdrDimension { /** * Gets or Sets type diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrLocation.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrLocation.java index 3d30987..1a884dd 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrLocation.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrLocation.java @@ -26,17 +26,17 @@ CdrLocation.JSON_PROPERTY_ADDRESS, CdrLocation.JSON_PROPERTY_CITY, CdrLocation.JSON_PROPERTY_POSTAL_CODE, - CdrLocation.JSON_PROPERTY_STATE, - CdrLocation.JSON_PROPERTY_COUNTRY, - CdrLocation.JSON_PROPERTY_COORDINATES, - CdrLocation.JSON_PROPERTY_EVSE_UID, - CdrLocation.JSON_PROPERTY_EVSE_ID, - CdrLocation.JSON_PROPERTY_CONNECTOR_ID, - CdrLocation.JSON_PROPERTY_CONNECTOR_STANDARD, - CdrLocation.JSON_PROPERTY_CONNECTOR_FORMAT, - CdrLocation.JSON_PROPERTY_CONNECTOR_POWER_TYPE + CdrLocation.JSON_PROPERTY_STATE, + CdrLocation.JSON_PROPERTY_COUNTRY, + CdrLocation.JSON_PROPERTY_COORDINATES, + CdrLocation.JSON_PROPERTY_EVSE_UID, + CdrLocation.JSON_PROPERTY_EVSE_ID, + CdrLocation.JSON_PROPERTY_CONNECTOR_ID, + CdrLocation.JSON_PROPERTY_CONNECTOR_STANDARD, + CdrLocation.JSON_PROPERTY_CONNECTOR_FORMAT, + CdrLocation.JSON_PROPERTY_CONNECTOR_POWER_TYPE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class CdrLocation { public static final String JSON_PROPERTY_ID = "id"; private String id; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrToken.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrToken.java index b023082..0a7c07f 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrToken.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/CdrToken.java @@ -21,13 +21,13 @@ * CdrToken */ @JsonPropertyOrder({ - CdrToken.JSON_PROPERTY_COUNTRY_CODE, - CdrToken.JSON_PROPERTY_PARTY_ID, - CdrToken.JSON_PROPERTY_UID, - CdrToken.JSON_PROPERTY_TYPE, - CdrToken.JSON_PROPERTY_CONTRACT_ID + CdrToken.JSON_PROPERTY_COUNTRY_CODE, + CdrToken.JSON_PROPERTY_PARTY_ID, + CdrToken.JSON_PROPERTY_UID, + CdrToken.JSON_PROPERTY_TYPE, + CdrToken.JSON_PROPERTY_CONTRACT_ID }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class CdrToken { public static final String JSON_PROPERTY_COUNTRY_CODE = "country_code"; private String countryCode; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingPeriod.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingPeriod.java index 966a70a..c012e33 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingPeriod.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingPeriod.java @@ -26,11 +26,11 @@ * ChargingPeriod */ @JsonPropertyOrder({ - ChargingPeriod.JSON_PROPERTY_START_DATE_TIME, - ChargingPeriod.JSON_PROPERTY_DIMENSIONS, - ChargingPeriod.JSON_PROPERTY_TARIFF_ID + ChargingPeriod.JSON_PROPERTY_START_DATE_TIME, + ChargingPeriod.JSON_PROPERTY_DIMENSIONS, + ChargingPeriod.JSON_PROPERTY_TARIFF_ID }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class ChargingPeriod { public static final String JSON_PROPERTY_START_DATE_TIME = "start_date_time"; private OffsetDateTime startDateTime; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingProfile.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingProfile.java index 980a9e5..8db2868 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingProfile.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingProfile.java @@ -24,13 +24,13 @@ * ChargingProfile */ @JsonPropertyOrder({ - ChargingProfile.JSON_PROPERTY_START_DATE_TIME, - ChargingProfile.JSON_PROPERTY_DURATION, - ChargingProfile.JSON_PROPERTY_CHARGING_RATE_UNIT, - ChargingProfile.JSON_PROPERTY_MIN_CHARGING_RATE, - ChargingProfile.JSON_PROPERTY_CHARGING_PROFILE_PERIOD + ChargingProfile.JSON_PROPERTY_START_DATE_TIME, + ChargingProfile.JSON_PROPERTY_DURATION, + ChargingProfile.JSON_PROPERTY_CHARGING_RATE_UNIT, + ChargingProfile.JSON_PROPERTY_MIN_CHARGING_RATE, + ChargingProfile.JSON_PROPERTY_CHARGING_PROFILE_PERIOD }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class ChargingProfile { public static final String JSON_PROPERTY_START_DATE_TIME = "start_date_time"; private OffsetDateTime startDateTime; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingProfilePeriod.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingProfilePeriod.java index 9dc1198..39654c6 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingProfilePeriod.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/ChargingProfilePeriod.java @@ -23,10 +23,10 @@ * ChargingProfilePeriod */ @JsonPropertyOrder({ - ChargingProfilePeriod.JSON_PROPERTY_START_PERIOD, - ChargingProfilePeriod.JSON_PROPERTY_LIMIT + ChargingProfilePeriod.JSON_PROPERTY_START_PERIOD, + ChargingProfilePeriod.JSON_PROPERTY_LIMIT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class ChargingProfilePeriod { public static final String JSON_PROPERTY_START_PERIOD = "start_period"; private Integer startPeriod; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/ClientInfoDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/ClientInfoDTO.java index f40cf98..bef1451 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/ClientInfoDTO.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/ClientInfoDTO.java @@ -22,13 +22,13 @@ * ClientInfoDTO */ @JsonPropertyOrder({ - ClientInfoDTO.JSON_PROPERTY_PARTY_ID, - ClientInfoDTO.JSON_PROPERTY_COUNTRY_CODE, - ClientInfoDTO.JSON_PROPERTY_ROLE, - ClientInfoDTO.JSON_PROPERTY_STATUS, - ClientInfoDTO.JSON_PROPERTY_LAST_UPDATED + ClientInfoDTO.JSON_PROPERTY_PARTY_ID, + ClientInfoDTO.JSON_PROPERTY_COUNTRY_CODE, + ClientInfoDTO.JSON_PROPERTY_ROLE, + ClientInfoDTO.JSON_PROPERTY_STATUS, + ClientInfoDTO.JSON_PROPERTY_LAST_UPDATED }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class ClientInfoDTO { public static final String JSON_PROPERTY_PARTY_ID = "party_id"; private String partyId; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/CommandResultRequestDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/CommandResultRequestDTO.java new file mode 100644 index 0000000..caac196 --- /dev/null +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/CommandResultRequestDTO.java @@ -0,0 +1,175 @@ +/* + * OCPI 2.2.1 + * This API exposes endpoints to manage OCPI entities. + * + * The version of the OpenAPI document: 1.0 + * Contact: ocpi@extrawest.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.extrawest.ocpi.emsp.client.model; + +import com.fasterxml.jackson.annotation.*; + +import java.util.Objects; + +/** + * CommandResultRequestDTO + */ +@JsonPropertyOrder({ + CommandResultRequestDTO.JSON_PROPERTY_RESULT, + CommandResultRequestDTO.JSON_PROPERTY_MESSAGE +}) +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") +public class CommandResultRequestDTO { + public static final String JSON_PROPERTY_RESULT = "result"; + public static final String JSON_PROPERTY_MESSAGE = "message"; + private ResultEnum result; + private DisplayText message; + public CommandResultRequestDTO() { + } + + public CommandResultRequestDTO result(ResultEnum result) { + + this.result = result; + return this; + } + + /** + * Get result + * + * @return result + **/ + @javax.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_RESULT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public ResultEnum getResult() { + return result; + } + + @JsonProperty(JSON_PROPERTY_RESULT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setResult(ResultEnum result) { + this.result = result; + } + + public CommandResultRequestDTO message(DisplayText message) { + + this.message = message; + return this; + } + + /** + * Get message + * + * @return message + **/ + @javax.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public DisplayText getMessage() { + return message; + } + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(DisplayText message) { + this.message = message; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CommandResultRequestDTO commandResultRequestDTO = (CommandResultRequestDTO) o; + return Objects.equals(this.result, commandResultRequestDTO.result) && + Objects.equals(this.message, commandResultRequestDTO.message); + } + + @Override + public int hashCode() { + return Objects.hash(result, message); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CommandResultRequestDTO {\n"); + sb.append(" result: ").append(toIndentedString(result)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Gets or Sets result + */ + public enum ResultEnum { + ACCEPTED_("ACCEPTED "), + + CANCELED_RESERVATION_("CANCELED_RESERVATION "), + + EVSE_OCCUPIED("EVSE_OCCUPIED"), + + EVSE_INOPERATIVE("EVSE_INOPERATIVE"), + + FAILED("FAILED"), + + NOT_SUPPORTED("NOT_SUPPORTED"), + + REJECTED("REJECTED"), + + TIMEOUT("TIMEOUT"), + + UNKNOWN_RESERVATION("UNKNOWN_RESERVATION"); + + private String value; + + ResultEnum(String value) { + this.value = value; + } + + @JsonCreator + public static ResultEnum fromValue(String value) { + for (ResultEnum b : ResultEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + } + +} + diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/Connector.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/Connector.java index 814dfc5..8387ff5 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/Connector.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/Connector.java @@ -26,17 +26,17 @@ @JsonPropertyOrder({ Connector.JSON_PROPERTY_URL, Connector.JSON_PROPERTY_ID, - Connector.JSON_PROPERTY_STANDARD, - Connector.JSON_PROPERTY_FORMAT, - Connector.JSON_PROPERTY_POWER_TYPE, - Connector.JSON_PROPERTY_MAX_VOLTAGE, - Connector.JSON_PROPERTY_MAX_AMPERAGE, - Connector.JSON_PROPERTY_MAX_ELECTRIC_POWER, - Connector.JSON_PROPERTY_TARIFF_IDS, - Connector.JSON_PROPERTY_TERMS_AND_CONDITIONS, - Connector.JSON_PROPERTY_LAST_UPDATED + Connector.JSON_PROPERTY_STANDARD, + Connector.JSON_PROPERTY_FORMAT, + Connector.JSON_PROPERTY_POWER_TYPE, + Connector.JSON_PROPERTY_MAX_VOLTAGE, + Connector.JSON_PROPERTY_MAX_AMPERAGE, + Connector.JSON_PROPERTY_MAX_ELECTRIC_POWER, + Connector.JSON_PROPERTY_TARIFF_IDS, + Connector.JSON_PROPERTY_TERMS_AND_CONDITIONS, + Connector.JSON_PROPERTY_LAST_UPDATED }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class Connector { public static final String JSON_PROPERTY_URL = "url"; private String url; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/CredentialsDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/CredentialsDTO.java index 954370e..9b31325 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/CredentialsDTO.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/CredentialsDTO.java @@ -25,11 +25,11 @@ * CredentialsDTO */ @JsonPropertyOrder({ - CredentialsDTO.JSON_PROPERTY_TOKEN, - CredentialsDTO.JSON_PROPERTY_URL, - CredentialsDTO.JSON_PROPERTY_ROLES + CredentialsDTO.JSON_PROPERTY_TOKEN, + CredentialsDTO.JSON_PROPERTY_URL, + CredentialsDTO.JSON_PROPERTY_ROLES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class CredentialsDTO { public static final String JSON_PROPERTY_TOKEN = "token"; private String token; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/CredentialsRole.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/CredentialsRole.java index 9232325..fb404a6 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/CredentialsRole.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/CredentialsRole.java @@ -21,12 +21,12 @@ * CredentialsRole */ @JsonPropertyOrder({ - CredentialsRole.JSON_PROPERTY_ROLE, - CredentialsRole.JSON_PROPERTY_BUSINESS_DETAILS, - CredentialsRole.JSON_PROPERTY_PARTY_ID, - CredentialsRole.JSON_PROPERTY_COUNTRY_CODE + CredentialsRole.JSON_PROPERTY_ROLE, + CredentialsRole.JSON_PROPERTY_BUSINESS_DETAILS, + CredentialsRole.JSON_PROPERTY_PARTY_ID, + CredentialsRole.JSON_PROPERTY_COUNTRY_CODE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class CredentialsRole { /** * Gets or Sets role diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/DisplayText.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/DisplayText.java index 61a62e4..707f3df 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/DisplayText.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/DisplayText.java @@ -23,10 +23,10 @@ * DisplayText */ @JsonPropertyOrder({ - DisplayText.JSON_PROPERTY_LANGUAGE, - DisplayText.JSON_PROPERTY_TEXT + DisplayText.JSON_PROPERTY_LANGUAGE, + DisplayText.JSON_PROPERTY_TEXT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class DisplayText { public static final String JSON_PROPERTY_LANGUAGE = "language"; private String language; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/EVSE.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/EVSE.java index fbe6123..db5ee42 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/EVSE.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/EVSE.java @@ -28,17 +28,17 @@ EVSE.JSON_PROPERTY_EVSE_ID, EVSE.JSON_PROPERTY_STATUS, EVSE.JSON_PROPERTY_STATUS_SCHEDULE, - EVSE.JSON_PROPERTY_CAPABILITIES, - EVSE.JSON_PROPERTY_CONNECTORS, - EVSE.JSON_PROPERTY_FLOOR_LEVEL, - EVSE.JSON_PROPERTY_COORDINATES, - EVSE.JSON_PROPERTY_PHYSICAL_REFERENCE, - EVSE.JSON_PROPERTY_DIRECTIONS, - EVSE.JSON_PROPERTY_PARKING_RESTRICTIONS, - EVSE.JSON_PROPERTY_IMAGES, - EVSE.JSON_PROPERTY_LAST_UPDATED + EVSE.JSON_PROPERTY_CAPABILITIES, + EVSE.JSON_PROPERTY_CONNECTORS, + EVSE.JSON_PROPERTY_FLOOR_LEVEL, + EVSE.JSON_PROPERTY_COORDINATES, + EVSE.JSON_PROPERTY_PHYSICAL_REFERENCE, + EVSE.JSON_PROPERTY_DIRECTIONS, + EVSE.JSON_PROPERTY_PARKING_RESTRICTIONS, + EVSE.JSON_PROPERTY_IMAGES, + EVSE.JSON_PROPERTY_LAST_UPDATED }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class EVSE { public static final String JSON_PROPERTY_UID = "uid"; private String uid; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/Endpoint.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/Endpoint.java index caf9b3b..d6c275c 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/Endpoint.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/Endpoint.java @@ -21,11 +21,11 @@ * Endpoint */ @JsonPropertyOrder({ - Endpoint.JSON_PROPERTY_IDENTIFIER, - Endpoint.JSON_PROPERTY_ROLE, - Endpoint.JSON_PROPERTY_URL + Endpoint.JSON_PROPERTY_IDENTIFIER, + Endpoint.JSON_PROPERTY_ROLE, + Endpoint.JSON_PROPERTY_URL }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class Endpoint { /** * Gets or Sets identifier diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergyContract.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergyContract.java index b02a64e..9f40f62 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergyContract.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergyContract.java @@ -23,10 +23,10 @@ * EnergyContract */ @JsonPropertyOrder({ - EnergyContract.JSON_PROPERTY_SUPPLIER_NAME, - EnergyContract.JSON_PROPERTY_CONTRACT_ID + EnergyContract.JSON_PROPERTY_SUPPLIER_NAME, + EnergyContract.JSON_PROPERTY_CONTRACT_ID }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class EnergyContract { public static final String JSON_PROPERTY_SUPPLIER_NAME = "supplier_name"; private String supplierName; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergyMix.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergyMix.java index 1110de7..1347180 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergyMix.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergyMix.java @@ -25,13 +25,13 @@ * EnergyMix */ @JsonPropertyOrder({ - EnergyMix.JSON_PROPERTY_IS_GREEN_ENERGY, - EnergyMix.JSON_PROPERTY_ENERGY_SOURCES, - EnergyMix.JSON_PROPERTY_ENVIRON_IMPACT, - EnergyMix.JSON_PROPERTY_SUPPLIER_NAME, - EnergyMix.JSON_PROPERTY_ENERGY_PRODUCT_NAME + EnergyMix.JSON_PROPERTY_IS_GREEN_ENERGY, + EnergyMix.JSON_PROPERTY_ENERGY_SOURCES, + EnergyMix.JSON_PROPERTY_ENVIRON_IMPACT, + EnergyMix.JSON_PROPERTY_SUPPLIER_NAME, + EnergyMix.JSON_PROPERTY_ENERGY_PRODUCT_NAME }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class EnergyMix { public static final String JSON_PROPERTY_IS_GREEN_ENERGY = "is_green_energy"; private Boolean isGreenEnergy; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergySource.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergySource.java index 833890a..9240a98 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergySource.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/EnergySource.java @@ -21,10 +21,10 @@ * EnergySource */ @JsonPropertyOrder({ - EnergySource.JSON_PROPERTY_SOURCE, - EnergySource.JSON_PROPERTY_PERCENTAGE + EnergySource.JSON_PROPERTY_SOURCE, + EnergySource.JSON_PROPERTY_PERCENTAGE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class EnergySource { /** * Gets or Sets source diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/EnvironmentalImpact.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/EnvironmentalImpact.java index 356bc31..e80de47 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/EnvironmentalImpact.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/EnvironmentalImpact.java @@ -21,10 +21,10 @@ * EnvironmentalImpact */ @JsonPropertyOrder({ - EnvironmentalImpact.JSON_PROPERTY_CATEGORY, - EnvironmentalImpact.JSON_PROPERTY_AMOUNT + EnvironmentalImpact.JSON_PROPERTY_CATEGORY, + EnvironmentalImpact.JSON_PROPERTY_AMOUNT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class EnvironmentalImpact { /** * Gets or Sets category diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/ExceptionalPeriod.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/ExceptionalPeriod.java index fc49ba7..50859c1 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/ExceptionalPeriod.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/ExceptionalPeriod.java @@ -24,10 +24,10 @@ * ExceptionalPeriod */ @JsonPropertyOrder({ - ExceptionalPeriod.JSON_PROPERTY_PERIOD_BEGIN, - ExceptionalPeriod.JSON_PROPERTY_PERIOD_END + ExceptionalPeriod.JSON_PROPERTY_PERIOD_BEGIN, + ExceptionalPeriod.JSON_PROPERTY_PERIOD_END }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class ExceptionalPeriod { public static final String JSON_PROPERTY_PERIOD_BEGIN = "period_begin"; private OffsetDateTime periodBegin; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/GeoLocation.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/GeoLocation.java index bd00fcb..40479cc 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/GeoLocation.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/GeoLocation.java @@ -23,10 +23,10 @@ * GeoLocation */ @JsonPropertyOrder({ - GeoLocation.JSON_PROPERTY_LATITUDE, - GeoLocation.JSON_PROPERTY_LONGITUDE + GeoLocation.JSON_PROPERTY_LATITUDE, + GeoLocation.JSON_PROPERTY_LONGITUDE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class GeoLocation { public static final String JSON_PROPERTY_LATITUDE = "latitude"; private String latitude; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/Hours.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/Hours.java index dab46f6..c391de4 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/Hours.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/Hours.java @@ -25,12 +25,12 @@ * Hours */ @JsonPropertyOrder({ - Hours.JSON_PROPERTY_TWENTYFOURSEVEN, - Hours.JSON_PROPERTY_REGULAR_HOURS, - Hours.JSON_PROPERTY_EXCEPTIONAL_OPENINGS, - Hours.JSON_PROPERTY_EXCEPTIONAL_CLOSINGS + Hours.JSON_PROPERTY_TWENTYFOURSEVEN, + Hours.JSON_PROPERTY_REGULAR_HOURS, + Hours.JSON_PROPERTY_EXCEPTIONAL_OPENINGS, + Hours.JSON_PROPERTY_EXCEPTIONAL_CLOSINGS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class Hours { public static final String JSON_PROPERTY_TWENTYFOURSEVEN = "twentyfourseven"; private Boolean twentyfourseven; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/Image.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/Image.java index 0b87f11..5aee722 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/Image.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/Image.java @@ -21,14 +21,14 @@ * Image */ @JsonPropertyOrder({ - Image.JSON_PROPERTY_URL, - Image.JSON_PROPERTY_THUMBNAIL, - Image.JSON_PROPERTY_CATEGORY, - Image.JSON_PROPERTY_TYPE, - Image.JSON_PROPERTY_WIDTH, - Image.JSON_PROPERTY_HEIGHT + Image.JSON_PROPERTY_URL, + Image.JSON_PROPERTY_THUMBNAIL, + Image.JSON_PROPERTY_CATEGORY, + Image.JSON_PROPERTY_TYPE, + Image.JSON_PROPERTY_WIDTH, + Image.JSON_PROPERTY_HEIGHT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class Image { public static final String JSON_PROPERTY_URL = "url"; private String url; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationDTO.java index 2ffdb94..eac1aaa 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationDTO.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationDTO.java @@ -41,17 +41,17 @@ LocationDTO.JSON_PROPERTY_IMAGES, LocationDTO.JSON_PROPERTY_COUNTRY_CODE, LocationDTO.JSON_PROPERTY_PARTY_ID, - LocationDTO.JSON_PROPERTY_PUBLISH_ALLOWED_TO, - LocationDTO.JSON_PROPERTY_POSTAL_CODE, - LocationDTO.JSON_PROPERTY_RELATED_LOCATIONS, - LocationDTO.JSON_PROPERTY_PARKING_TYPE, - LocationDTO.JSON_PROPERTY_TIME_ZONE, - LocationDTO.JSON_PROPERTY_OPENING_TIMES, - LocationDTO.JSON_PROPERTY_CHARGING_WHEN_CLOSED, - LocationDTO.JSON_PROPERTY_ENERGY_MIX, - LocationDTO.JSON_PROPERTY_LAST_UPDATED + LocationDTO.JSON_PROPERTY_PUBLISH_ALLOWED_TO, + LocationDTO.JSON_PROPERTY_POSTAL_CODE, + LocationDTO.JSON_PROPERTY_RELATED_LOCATIONS, + LocationDTO.JSON_PROPERTY_PARKING_TYPE, + LocationDTO.JSON_PROPERTY_TIME_ZONE, + LocationDTO.JSON_PROPERTY_OPENING_TIMES, + LocationDTO.JSON_PROPERTY_CHARGING_WHEN_CLOSED, + LocationDTO.JSON_PROPERTY_ENERGY_MIX, + LocationDTO.JSON_PROPERTY_LAST_UPDATED }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class LocationDTO { public static final String JSON_PROPERTY_ID = "id"; private String id; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationReferences.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationReferences.java index b8d019e..f707f4c 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationReferences.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationReferences.java @@ -25,10 +25,10 @@ * LocationReferences */ @JsonPropertyOrder({ - LocationReferences.JSON_PROPERTY_LOCATION_ID, - LocationReferences.JSON_PROPERTY_EVSE_UIDS + LocationReferences.JSON_PROPERTY_LOCATION_ID, + LocationReferences.JSON_PROPERTY_EVSE_UIDS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class LocationReferences { public static final String JSON_PROPERTY_LOCATION_ID = "location_id"; private String locationId; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationReferencesRequestDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationReferencesRequestDTO.java index 47b66d8..0ad4b33 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationReferencesRequestDTO.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/LocationReferencesRequestDTO.java @@ -25,10 +25,10 @@ * LocationReferencesRequestDTO */ @JsonPropertyOrder({ - LocationReferencesRequestDTO.JSON_PROPERTY_LOCATION_ID, - LocationReferencesRequestDTO.JSON_PROPERTY_EVSE_UIDS + LocationReferencesRequestDTO.JSON_PROPERTY_LOCATION_ID, + LocationReferencesRequestDTO.JSON_PROPERTY_EVSE_UIDS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class LocationReferencesRequestDTO { public static final String JSON_PROPERTY_LOCATION_ID = "location_id"; private String locationId; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/Price.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/Price.java index 1b7c8b9..4c025bf 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/Price.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/Price.java @@ -23,10 +23,10 @@ * Price */ @JsonPropertyOrder({ - Price.JSON_PROPERTY_EXCL_VAT, - Price.JSON_PROPERTY_INCL_VAT + Price.JSON_PROPERTY_EXCL_VAT, + Price.JSON_PROPERTY_INCL_VAT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class Price { public static final String JSON_PROPERTY_EXCL_VAT = "exclVat"; private Float exclVat; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/PriceComponent.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/PriceComponent.java index bac2557..318b4e1 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/PriceComponent.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/PriceComponent.java @@ -21,12 +21,12 @@ * PriceComponent */ @JsonPropertyOrder({ - PriceComponent.JSON_PROPERTY_TYPE, - PriceComponent.JSON_PROPERTY_PRICE, - PriceComponent.JSON_PROPERTY_VAT, - PriceComponent.JSON_PROPERTY_STEP_SIZE + PriceComponent.JSON_PROPERTY_TYPE, + PriceComponent.JSON_PROPERTY_PRICE, + PriceComponent.JSON_PROPERTY_VAT, + PriceComponent.JSON_PROPERTY_STEP_SIZE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class PriceComponent { /** * Gets or Sets type diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/PublishTokenType.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/PublishTokenType.java index e269021..48a3a05 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/PublishTokenType.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/PublishTokenType.java @@ -21,13 +21,13 @@ * PublishTokenType */ @JsonPropertyOrder({ - PublishTokenType.JSON_PROPERTY_UID, - PublishTokenType.JSON_PROPERTY_TYPE, - PublishTokenType.JSON_PROPERTY_VISUAL_NUMBER, - PublishTokenType.JSON_PROPERTY_ISSUER, - PublishTokenType.JSON_PROPERTY_GROUP_ID + PublishTokenType.JSON_PROPERTY_UID, + PublishTokenType.JSON_PROPERTY_TYPE, + PublishTokenType.JSON_PROPERTY_VISUAL_NUMBER, + PublishTokenType.JSON_PROPERTY_ISSUER, + PublishTokenType.JSON_PROPERTY_GROUP_ID }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class PublishTokenType { public static final String JSON_PROPERTY_UID = "uid"; private String uid; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/RegularHours.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/RegularHours.java index 06ee967..7a2e5df 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/RegularHours.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/RegularHours.java @@ -23,11 +23,11 @@ * RegularHours */ @JsonPropertyOrder({ - RegularHours.JSON_PROPERTY_WEEKDAY, - RegularHours.JSON_PROPERTY_PERIOD_BEGIN, - RegularHours.JSON_PROPERTY_PERIOD_END + RegularHours.JSON_PROPERTY_WEEKDAY, + RegularHours.JSON_PROPERTY_PERIOD_BEGIN, + RegularHours.JSON_PROPERTY_PERIOD_END }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class RegularHours { public static final String JSON_PROPERTY_WEEKDAY = "weekday"; private Integer weekday; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/ResponseFormat.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/ResponseFormat.java index 829c217..ec598fd 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/ResponseFormat.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/ResponseFormat.java @@ -23,10 +23,10 @@ * ResponseFormat */ @JsonPropertyOrder({ - ResponseFormat.JSON_PROPERTY_STATUS_CODE, - ResponseFormat.JSON_PROPERTY_STATUS_MESSAGE + ResponseFormat.JSON_PROPERTY_STATUS_CODE, + ResponseFormat.JSON_PROPERTY_STATUS_MESSAGE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class ResponseFormat { public static final String JSON_PROPERTY_STATUS_CODE = "status_code"; private Integer statusCode; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/SessionDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/SessionDTO.java index 6f7a9a6..3311d3f 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/SessionDTO.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/SessionDTO.java @@ -33,17 +33,17 @@ SessionDTO.JSON_PROPERTY_CDR_TOKEN, SessionDTO.JSON_PROPERTY_AUTH_METHOD, SessionDTO.JSON_PROPERTY_AUTHORIZATION_REFERENCE, - SessionDTO.JSON_PROPERTY_LOCATION_ID, - SessionDTO.JSON_PROPERTY_EVSE_UID, - SessionDTO.JSON_PROPERTY_CONNECTOR_ID, - SessionDTO.JSON_PROPERTY_METER_ID, - SessionDTO.JSON_PROPERTY_CURRENCY, - SessionDTO.JSON_PROPERTY_CHARGING_PERIODS, - SessionDTO.JSON_PROPERTY_TOTAL_COST, - SessionDTO.JSON_PROPERTY_STATUS, - SessionDTO.JSON_PROPERTY_LAST_UPDATED + SessionDTO.JSON_PROPERTY_LOCATION_ID, + SessionDTO.JSON_PROPERTY_EVSE_UID, + SessionDTO.JSON_PROPERTY_CONNECTOR_ID, + SessionDTO.JSON_PROPERTY_METER_ID, + SessionDTO.JSON_PROPERTY_CURRENCY, + SessionDTO.JSON_PROPERTY_CHARGING_PERIODS, + SessionDTO.JSON_PROPERTY_TOTAL_COST, + SessionDTO.JSON_PROPERTY_STATUS, + SessionDTO.JSON_PROPERTY_LAST_UPDATED }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class SessionDTO { public static final String JSON_PROPERTY_COUNTRY_CODE = "country_code"; private String countryCode; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/SignedData.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/SignedData.java index 89270bc..521e5fe 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/SignedData.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/SignedData.java @@ -25,13 +25,13 @@ * SignedData */ @JsonPropertyOrder({ - SignedData.JSON_PROPERTY_ENCODING_METHOD, - SignedData.JSON_PROPERTY_ENCODING_METHOD_VERSION, - SignedData.JSON_PROPERTY_PUBLIC_KEY, - SignedData.JSON_PROPERTY_SIGNED_VALUES, - SignedData.JSON_PROPERTY_URL + SignedData.JSON_PROPERTY_ENCODING_METHOD, + SignedData.JSON_PROPERTY_ENCODING_METHOD_VERSION, + SignedData.JSON_PROPERTY_PUBLIC_KEY, + SignedData.JSON_PROPERTY_SIGNED_VALUES, + SignedData.JSON_PROPERTY_URL }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class SignedData { public static final String JSON_PROPERTY_ENCODING_METHOD = "encoding_method"; private String encodingMethod; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/SignedValue.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/SignedValue.java index 8d18063..32d9146 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/SignedValue.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/SignedValue.java @@ -23,12 +23,12 @@ * SignedValue */ @JsonPropertyOrder({ - SignedValue.JSON_PROPERTY_PLAIN_DAT, - SignedValue.JSON_PROPERTY_NATURE, - SignedValue.JSON_PROPERTY_PLAIN_DATA, - SignedValue.JSON_PROPERTY_SIGNED_DATA + SignedValue.JSON_PROPERTY_PLAIN_DAT, + SignedValue.JSON_PROPERTY_NATURE, + SignedValue.JSON_PROPERTY_PLAIN_DATA, + SignedValue.JSON_PROPERTY_SIGNED_DATA }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class SignedValue { public static final String JSON_PROPERTY_PLAIN_DAT = "plainDat"; private String plainDat; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/StatusSchedule.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/StatusSchedule.java index d0c095a..84ca196 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/StatusSchedule.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/StatusSchedule.java @@ -22,11 +22,11 @@ * StatusSchedule */ @JsonPropertyOrder({ - StatusSchedule.JSON_PROPERTY_PERIOD_BEGIN, - StatusSchedule.JSON_PROPERTY_PERIOD_END, - StatusSchedule.JSON_PROPERTY_STATUS + StatusSchedule.JSON_PROPERTY_PERIOD_BEGIN, + StatusSchedule.JSON_PROPERTY_PERIOD_END, + StatusSchedule.JSON_PROPERTY_STATUS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class StatusSchedule { public static final String JSON_PROPERTY_PERIOD_BEGIN = "period_begin"; private OffsetDateTime periodBegin; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/Tariff.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/Tariff.java index f739f78..bf4f199 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/Tariff.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/Tariff.java @@ -29,17 +29,17 @@ Tariff.JSON_PROPERTY_ID, Tariff.JSON_PROPERTY_CURRENCY, Tariff.JSON_PROPERTY_TYPE, - Tariff.JSON_PROPERTY_TARIFF_ALT_TEXT, - Tariff.JSON_PROPERTY_TARIFF_ALT_URL, - Tariff.JSON_PROPERTY_MIN_PRICE, - Tariff.JSON_PROPERTY_MAX_PRICE, - Tariff.JSON_PROPERTY_ELEMENTS, - Tariff.JSON_PROPERTY_START_DATE_TIME, - Tariff.JSON_PROPERTY_END_DATE_TIME, - Tariff.JSON_PROPERTY_ENERGY_MIX, - Tariff.JSON_PROPERTY_LAST_UPDATED + Tariff.JSON_PROPERTY_TARIFF_ALT_TEXT, + Tariff.JSON_PROPERTY_TARIFF_ALT_URL, + Tariff.JSON_PROPERTY_MIN_PRICE, + Tariff.JSON_PROPERTY_MAX_PRICE, + Tariff.JSON_PROPERTY_ELEMENTS, + Tariff.JSON_PROPERTY_START_DATE_TIME, + Tariff.JSON_PROPERTY_END_DATE_TIME, + Tariff.JSON_PROPERTY_ENERGY_MIX, + Tariff.JSON_PROPERTY_LAST_UPDATED }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class Tariff { public static final String JSON_PROPERTY_COUNTRY_CODE = "country_code"; private String countryCode; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffDTO.java index 1c3ed23..9d55124 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffDTO.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffDTO.java @@ -29,17 +29,17 @@ TariffDTO.JSON_PROPERTY_TYPE, TariffDTO.JSON_PROPERTY_ELEMENTS, TariffDTO.JSON_PROPERTY_COUNTRY_CODE, - TariffDTO.JSON_PROPERTY_PARTY_ID, - TariffDTO.JSON_PROPERTY_TARIFF_ALT_TEXT, - TariffDTO.JSON_PROPERTY_TARIFF_ALT_URL, - TariffDTO.JSON_PROPERTY_MIN_PRICE, - TariffDTO.JSON_PROPERTY_MAX_PRICE, - TariffDTO.JSON_PROPERTY_START_DATE_TIME, - TariffDTO.JSON_PROPERTY_END_DATE_TIME, - TariffDTO.JSON_PROPERTY_ENERGY_MIX, - TariffDTO.JSON_PROPERTY_LAST_UPDATED + TariffDTO.JSON_PROPERTY_PARTY_ID, + TariffDTO.JSON_PROPERTY_TARIFF_ALT_TEXT, + TariffDTO.JSON_PROPERTY_TARIFF_ALT_URL, + TariffDTO.JSON_PROPERTY_MIN_PRICE, + TariffDTO.JSON_PROPERTY_MAX_PRICE, + TariffDTO.JSON_PROPERTY_START_DATE_TIME, + TariffDTO.JSON_PROPERTY_END_DATE_TIME, + TariffDTO.JSON_PROPERTY_ENERGY_MIX, + TariffDTO.JSON_PROPERTY_LAST_UPDATED }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class TariffDTO { public static final String JSON_PROPERTY_ID = "id"; private String id; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffElement.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffElement.java index 17a2235..dfac414 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffElement.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffElement.java @@ -25,10 +25,10 @@ * TariffElement */ @JsonPropertyOrder({ - TariffElement.JSON_PROPERTY_PRICE_COMPONENTS, - TariffElement.JSON_PROPERTY_RESTRICTIONS + TariffElement.JSON_PROPERTY_PRICE_COMPONENTS, + TariffElement.JSON_PROPERTY_RESTRICTIONS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class TariffElement { public static final String JSON_PROPERTY_PRICE_COMPONENTS = "price_components"; private List priceComponents; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffRestrictions.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffRestrictions.java index 8e049b7..70e1ac3 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffRestrictions.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/TariffRestrictions.java @@ -28,17 +28,17 @@ TariffRestrictions.JSON_PROPERTY_END_TIME, TariffRestrictions.JSON_PROPERTY_START_DATE, TariffRestrictions.JSON_PROPERTY_END_DATE, - TariffRestrictions.JSON_PROPERTY_MIN_KWH, - TariffRestrictions.JSON_PROPERTY_MAX_KWH, - TariffRestrictions.JSON_PROPERTY_MIN_CURRENT, - TariffRestrictions.JSON_PROPERTY_MAX_CURRENT, - TariffRestrictions.JSON_PROPERTY_MIN_POWER, - TariffRestrictions.JSON_PROPERTY_MAX_POWER, - TariffRestrictions.JSON_PROPERTY_MIN_DURATION, - TariffRestrictions.JSON_PROPERTY_MAX_DURATION, - TariffRestrictions.JSON_PROPERTY_DAY_OF_WEEK + TariffRestrictions.JSON_PROPERTY_MIN_KWH, + TariffRestrictions.JSON_PROPERTY_MAX_KWH, + TariffRestrictions.JSON_PROPERTY_MIN_CURRENT, + TariffRestrictions.JSON_PROPERTY_MAX_CURRENT, + TariffRestrictions.JSON_PROPERTY_MIN_POWER, + TariffRestrictions.JSON_PROPERTY_MAX_POWER, + TariffRestrictions.JSON_PROPERTY_MIN_DURATION, + TariffRestrictions.JSON_PROPERTY_MAX_DURATION, + TariffRestrictions.JSON_PROPERTY_DAY_OF_WEEK }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class TariffRestrictions { /** * Gets or Sets reservation diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/Token.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/Token.java index 1d3f35d..f40df1a 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/Token.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/Token.java @@ -27,17 +27,17 @@ Token.JSON_PROPERTY_UID, Token.JSON_PROPERTY_TYPE, Token.JSON_PROPERTY_CONTRACT_ID, - Token.JSON_PROPERTY_VISUAL_NUMBER, - Token.JSON_PROPERTY_ISSUER, - Token.JSON_PROPERTY_GROUP_ID, - Token.JSON_PROPERTY_VALID, - Token.JSON_PROPERTY_WHITELIST, - Token.JSON_PROPERTY_LANGUAGE, - Token.JSON_PROPERTY_DEFAULT_PROFILE_TYPE, - Token.JSON_PROPERTY_ENERGY_CONTRACT, - Token.JSON_PROPERTY_LAST_UPDATED + Token.JSON_PROPERTY_VISUAL_NUMBER, + Token.JSON_PROPERTY_ISSUER, + Token.JSON_PROPERTY_GROUP_ID, + Token.JSON_PROPERTY_VALID, + Token.JSON_PROPERTY_WHITELIST, + Token.JSON_PROPERTY_LANGUAGE, + Token.JSON_PROPERTY_DEFAULT_PROFILE_TYPE, + Token.JSON_PROPERTY_ENERGY_CONTRACT, + Token.JSON_PROPERTY_LAST_UPDATED }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class Token { public static final String JSON_PROPERTY_COUNTRY_CODE = "country_code"; private String countryCode; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/TokenDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/TokenDTO.java index e3da5f6..82e6009 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/TokenDTO.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/TokenDTO.java @@ -27,17 +27,17 @@ TokenDTO.JSON_PROPERTY_UID, TokenDTO.JSON_PROPERTY_TYPE, TokenDTO.JSON_PROPERTY_CONTRACT_ID, - TokenDTO.JSON_PROPERTY_VISUAL_NUMBER, - TokenDTO.JSON_PROPERTY_ISSUER, - TokenDTO.JSON_PROPERTY_GROUP_ID, - TokenDTO.JSON_PROPERTY_VALID, - TokenDTO.JSON_PROPERTY_WHITELIST, - TokenDTO.JSON_PROPERTY_LANGUAGE, - TokenDTO.JSON_PROPERTY_DEFAULT_PROFILE_TYPE, - TokenDTO.JSON_PROPERTY_ENERGY_CONTRACT, - TokenDTO.JSON_PROPERTY_LAST_UPDATED + TokenDTO.JSON_PROPERTY_VISUAL_NUMBER, + TokenDTO.JSON_PROPERTY_ISSUER, + TokenDTO.JSON_PROPERTY_GROUP_ID, + TokenDTO.JSON_PROPERTY_VALID, + TokenDTO.JSON_PROPERTY_WHITELIST, + TokenDTO.JSON_PROPERTY_LANGUAGE, + TokenDTO.JSON_PROPERTY_DEFAULT_PROFILE_TYPE, + TokenDTO.JSON_PROPERTY_ENERGY_CONTRACT, + TokenDTO.JSON_PROPERTY_LAST_UPDATED }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class TokenDTO { public static final String JSON_PROPERTY_COUNTRY_CODE = "country_code"; private String countryCode; diff --git a/src/main/java/com/extrawest/ocpi/emsp/client/model/VersionDetailsResponseDTO.java b/src/main/java/com/extrawest/ocpi/emsp/client/model/VersionDetailsResponseDTO.java index bde5a92..bcd8b9f 100644 --- a/src/main/java/com/extrawest/ocpi/emsp/client/model/VersionDetailsResponseDTO.java +++ b/src/main/java/com/extrawest/ocpi/emsp/client/model/VersionDetailsResponseDTO.java @@ -23,10 +23,10 @@ * VersionDetailsResponseDTO */ @JsonPropertyOrder({ - VersionDetailsResponseDTO.JSON_PROPERTY_VERSION, - VersionDetailsResponseDTO.JSON_PROPERTY_ENDPOINTS + VersionDetailsResponseDTO.JSON_PROPERTY_VERSION, + VersionDetailsResponseDTO.JSON_PROPERTY_ENDPOINTS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-18T11:17:51.079281+03:00[Europe/Kiev]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-08-30T00:02:35.798322+03:00[Europe/Kiev]") public class VersionDetailsResponseDTO { /** * Gets or Sets version