smartcar / java-sdk

Java client SDK for the Smartcar API.
https://smartcar.github.io/java-sdk
MIT License
20 stars 20 forks source link

include a new method serviceHistory #149

Closed aytekin-smartcar closed 3 months ago

aytekin-smartcar commented 3 months ago

Overview

This pull request updates the Smartcar Java SDK from version 4.4.0 to 4.5.0. It includes changes across several files to enhance the SDK's functionality and maintain up-to-date dependencies.

Changes

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 53.07692% with 61 lines in your changes are missing coverage. Please review.

Project coverage is 65.63%. Comparing base (ef42277) to head (dc0acfa).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/smartcar/java-sdk/pull/149/graphs/tree.svg?width=650&height=150&src=pr&token=nZAITx7w3X&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar)](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar) ```diff @@ Coverage Diff @@ ## master #149 +/- ## ============================================ - Coverage 68.99% 65.63% -3.37% - Complexity 240 244 +4 ============================================ Files 50 55 +5 Lines 1016 1094 +78 Branches 71 74 +3 ============================================ + Hits 701 718 +17 - Misses 281 339 +58 - Partials 34 37 +3 ``` | [Flag](https://app.codecov.io/gh/smartcar/java-sdk/pull/149/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar) | Coverage Δ | | |---|---|---| | [integration](https://app.codecov.io/gh/smartcar/java-sdk/pull/149/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar) | `50.73% <30.76%> (-4.39%)` | :arrow_down: | | [test](https://app.codecov.io/gh/smartcar/java-sdk/pull/149/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar) | `45.15% <47.69%> (-1.70%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar) | Coverage Δ | | |---|---|---| | [src/main/java/com/smartcar/sdk/ApiClient.java](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fcom%2Fsmartcar%2Fsdk%2FApiClient.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar#diff-c3JjL21haW4vamF2YS9jb20vc21hcnRjYXIvc2RrL0FwaUNsaWVudC5qYXZh) | `89.39% <94.59%> (-1.00%)` | :arrow_down: | | [...ain/java/com/smartcar/sdk/data/ServiceHistory.java](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fcom%2Fsmartcar%2Fsdk%2Fdata%2FServiceHistory.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar#diff-c3JjL21haW4vamF2YS9jb20vc21hcnRjYXIvc2RrL2RhdGEvU2VydmljZUhpc3RvcnkuamF2YQ==) | `50.00% <50.00%> (ø)` | | | [src/main/java/com/smartcar/sdk/Vehicle.java](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fcom%2Fsmartcar%2Fsdk%2FVehicle.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar#diff-c3JjL21haW4vamF2YS9jb20vc21hcnRjYXIvc2RrL1ZlaGljbGUuamF2YQ==) | `92.41% <88.57%> (-2.56%)` | :arrow_down: | | [...ain/java/com/smartcar/sdk/data/ServiceDetails.java](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fcom%2Fsmartcar%2Fsdk%2Fdata%2FServiceDetails.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar#diff-c3JjL21haW4vamF2YS9jb20vc21hcnRjYXIvc2RrL2RhdGEvU2VydmljZURldGFpbHMuamF2YQ==) | `0.00% <0.00%> (ø)` | | | [...c/main/java/com/smartcar/sdk/data/ServiceCost.java](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fcom%2Fsmartcar%2Fsdk%2Fdata%2FServiceCost.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar#diff-c3JjL21haW4vamF2YS9jb20vc21hcnRjYXIvc2RrL2RhdGEvU2VydmljZUNvc3QuamF2YQ==) | `0.00% <0.00%> (ø)` | | | [...c/main/java/com/smartcar/sdk/data/ServiceTask.java](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fcom%2Fsmartcar%2Fsdk%2Fdata%2FServiceTask.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar#diff-c3JjL21haW4vamF2YS9jb20vc21hcnRjYXIvc2RrL2RhdGEvU2VydmljZVRhc2suamF2YQ==) | `0.00% <0.00%> (ø)` | | | [...main/java/com/smartcar/sdk/data/ServiceRecord.java](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fcom%2Fsmartcar%2Fsdk%2Fdata%2FServiceRecord.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar#diff-c3JjL21haW4vamF2YS9jb20vc21hcnRjYXIvc2RrL2RhdGEvU2VydmljZVJlY29yZC5qYXZh) | `0.00% <0.00%> (ø)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar). Last update [ef42277...dc0acfa](https://app.codecov.io/gh/smartcar/java-sdk/pull/149?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smartcar).