tesla-api-sdk 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. tesla_api_sdk-1.0.0.dist-info/METADATA +145 -0
  2. tesla_api_sdk-1.0.0.dist-info/RECORD +119 -0
  3. tesla_api_sdk-1.0.0.dist-info/WHEEL +5 -0
  4. tesla_api_sdk-1.0.0.dist-info/licenses/LICENSE +28 -0
  5. tesla_api_sdk-1.0.0.dist-info/top_level.txt +1 -0
  6. teslafleetmanagementapi/__init__.py +13 -0
  7. teslafleetmanagementapi/api_helper.py +19 -0
  8. teslafleetmanagementapi/configuration.py +270 -0
  9. teslafleetmanagementapi/controllers/__init__.py +11 -0
  10. teslafleetmanagementapi/controllers/base_controller.py +70 -0
  11. teslafleetmanagementapi/controllers/charging_controller.py +140 -0
  12. teslafleetmanagementapi/controllers/energy_controller.py +572 -0
  13. teslafleetmanagementapi/controllers/oauth_authorization_controller.py +165 -0
  14. teslafleetmanagementapi/controllers/partner_controller.py +181 -0
  15. teslafleetmanagementapi/controllers/user_controller.py +158 -0
  16. teslafleetmanagementapi/controllers/vehicles_controller.py +832 -0
  17. teslafleetmanagementapi/exceptions/__init__.py +6 -0
  18. teslafleetmanagementapi/exceptions/api_exception.py +36 -0
  19. teslafleetmanagementapi/exceptions/oauth_provider_exception.py +75 -0
  20. teslafleetmanagementapi/http/__init__.py +11 -0
  21. teslafleetmanagementapi/http/api_response.py +67 -0
  22. teslafleetmanagementapi/http/auth/__init__.py +6 -0
  23. teslafleetmanagementapi/http/auth/bearer_auth.py +103 -0
  24. teslafleetmanagementapi/http/auth/oauth_2.py +311 -0
  25. teslafleetmanagementapi/http/http_call_back.py +20 -0
  26. teslafleetmanagementapi/http/http_client_provider.py +23 -0
  27. teslafleetmanagementapi/http/http_method_enum.py +25 -0
  28. teslafleetmanagementapi/http/http_request.py +55 -0
  29. teslafleetmanagementapi/http/http_response.py +45 -0
  30. teslafleetmanagementapi/http/proxy_settings.py +50 -0
  31. teslafleetmanagementapi/logging/__init__.py +6 -0
  32. teslafleetmanagementapi/logging/configuration/__init__.py +5 -0
  33. teslafleetmanagementapi/logging/configuration/api_logging_configuration.py +398 -0
  34. teslafleetmanagementapi/logging/sdk_logger.py +28 -0
  35. teslafleetmanagementapi/models/__init__.py +85 -0
  36. teslafleetmanagementapi/models/api_1_dx_vehicles_options_response.py +110 -0
  37. teslafleetmanagementapi/models/api_1_dx_warranty_details_response.py +110 -0
  38. teslafleetmanagementapi/models/api_1_vehicles_mobile_enabled_response.py +109 -0
  39. teslafleetmanagementapi/models/api_1_vehicles_nearby_charging_sites_response.py +109 -0
  40. teslafleetmanagementapi/models/api_1_vehicles_response.py +162 -0
  41. teslafleetmanagementapi/models/api_1_vehicles_response_get_vehicle.py +109 -0
  42. teslafleetmanagementapi/models/api_1_vehicles_wake_up_response.py +109 -0
  43. teslafleetmanagementapi/models/backup_request.py +92 -0
  44. teslafleetmanagementapi/models/backup_response.py +95 -0
  45. teslafleetmanagementapi/models/calendar_history_response.py +96 -0
  46. teslafleetmanagementapi/models/charge_duration.py +92 -0
  47. teslafleetmanagementapi/models/charge_history.py +125 -0
  48. teslafleetmanagementapi/models/charge_history_response.py +96 -0
  49. teslafleetmanagementapi/models/charge_start_time.py +92 -0
  50. teslafleetmanagementapi/models/charging_dimension.py +128 -0
  51. teslafleetmanagementapi/models/charging_fee.py +641 -0
  52. teslafleetmanagementapi/models/charging_history_data.py +98 -0
  53. teslafleetmanagementapi/models/charging_history_item.py +336 -0
  54. teslafleetmanagementapi/models/charging_history_response.py +96 -0
  55. teslafleetmanagementapi/models/charging_invoice.py +151 -0
  56. teslafleetmanagementapi/models/charging_location.py +293 -0
  57. teslafleetmanagementapi/models/charging_period.py +136 -0
  58. teslafleetmanagementapi/models/charging_session.py +355 -0
  59. teslafleetmanagementapi/models/charging_sessions_data.py +182 -0
  60. teslafleetmanagementapi/models/charging_sessions_response.py +96 -0
  61. teslafleetmanagementapi/models/default_real_mode.py +45 -0
  62. teslafleetmanagementapi/models/driver.py +289 -0
  63. teslafleetmanagementapi/models/drivers_response.py +135 -0
  64. teslafleetmanagementapi/models/enterprise_payer_request.py +141 -0
  65. teslafleetmanagementapi/models/event.py +107 -0
  66. teslafleetmanagementapi/models/fleet_status_request.py +105 -0
  67. teslafleetmanagementapi/models/fleet_telemetry_error.py +118 -0
  68. teslafleetmanagementapi/models/fleet_telemetry_errors_response.py +96 -0
  69. teslafleetmanagementapi/models/fleet_telemetry_jws_request.py +128 -0
  70. teslafleetmanagementapi/models/generic_update_response.py +95 -0
  71. teslafleetmanagementapi/models/kind.py +45 -0
  72. teslafleetmanagementapi/models/kind_get_wall_connector_charging_history.py +42 -0
  73. teslafleetmanagementapi/models/live_status_response.py +96 -0
  74. teslafleetmanagementapi/models/location.py +128 -0
  75. teslafleetmanagementapi/models/location_1.py +128 -0
  76. teslafleetmanagementapi/models/me_response.py +95 -0
  77. teslafleetmanagementapi/models/mobile_enabled.py +128 -0
  78. teslafleetmanagementapi/models/oauth_provider_error.py +67 -0
  79. teslafleetmanagementapi/models/oauth_token.py +115 -0
  80. teslafleetmanagementapi/models/off_grid_vehicle_charging_reserve_request.py +95 -0
  81. teslafleetmanagementapi/models/operation_request.py +93 -0
  82. teslafleetmanagementapi/models/orders_response.py +111 -0
  83. teslafleetmanagementapi/models/pagination.py +225 -0
  84. teslafleetmanagementapi/models/price_component.py +151 -0
  85. teslafleetmanagementapi/models/products_response.py +128 -0
  86. teslafleetmanagementapi/models/public_key_response.py +96 -0
  87. teslafleetmanagementapi/models/region_response.py +96 -0
  88. teslafleetmanagementapi/models/register_partner_request.py +92 -0
  89. teslafleetmanagementapi/models/register_partner_response.py +96 -0
  90. teslafleetmanagementapi/models/response.py +105 -0
  91. teslafleetmanagementapi/models/response_1.py +92 -0
  92. teslafleetmanagementapi/models/response_2.py +95 -0
  93. teslafleetmanagementapi/models/response_3.py +164 -0
  94. teslafleetmanagementapi/models/response_api_1_dx_vehicles_options_response.py +112 -0
  95. teslafleetmanagementapi/models/response_api_1_dx_warranty_details_response.py +169 -0
  96. teslafleetmanagementapi/models/response_calendar_history_response.py +110 -0
  97. teslafleetmanagementapi/models/response_charge_history_response.py +98 -0
  98. teslafleetmanagementapi/models/response_fleet_telemetry_errors_response.py +98 -0
  99. teslafleetmanagementapi/models/response_live_status_response.py +310 -0
  100. teslafleetmanagementapi/models/response_me_response.py +131 -0
  101. teslafleetmanagementapi/models/response_orders_response.py +209 -0
  102. teslafleetmanagementapi/models/response_public_key_response.py +92 -0
  103. teslafleetmanagementapi/models/response_region_response.py +105 -0
  104. teslafleetmanagementapi/models/response_register_partner_response.py +331 -0
  105. teslafleetmanagementapi/models/signaling.py +118 -0
  106. teslafleetmanagementapi/models/simple_ok_response.py +105 -0
  107. teslafleetmanagementapi/models/site_info_response.py +105 -0
  108. teslafleetmanagementapi/models/storm_mode_request.py +92 -0
  109. teslafleetmanagementapi/models/tariff_element.py +136 -0
  110. teslafleetmanagementapi/models/tariffs.py +136 -0
  111. teslafleetmanagementapi/models/time_of_use_settings_request.py +95 -0
  112. teslafleetmanagementapi/models/total_cost.py +151 -0
  113. teslafleetmanagementapi/models/tou_settings.py +105 -0
  114. teslafleetmanagementapi/models/vehicle_base.py +266 -0
  115. teslafleetmanagementapi/models/vehicle_option.py +178 -0
  116. teslafleetmanagementapi/models/warranty_item.py +249 -0
  117. teslafleetmanagementapi/teslafleetmanagementapi_client.py +128 -0
  118. teslafleetmanagementapi/utilities/__init__.py +6 -0
  119. teslafleetmanagementapi/utilities/file_wrapper.py +45 -0
@@ -0,0 +1,169 @@
1
+ """teslafleetmanagementapi.
2
+
3
+ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
4
+ """
5
+
6
+ # ruff: noqa: E501
7
+ from teslafleetmanagementapi.api_helper import (
8
+ APIHelper,
9
+ )
10
+ from teslafleetmanagementapi.models.warranty_item import (
11
+ WarrantyItem,
12
+ )
13
+
14
+
15
+ class ResponseApi1DxWarrantyDetailsResponse(object):
16
+ """Implementation of the 'Response_Api 1 Dx Warranty Details Response' model.
17
+
18
+ Attributes:
19
+ active_warranty (List[WarrantyItem]): The model property of type
20
+ List[WarrantyItem].
21
+ upcoming_warranty (List[WarrantyItem]): The model property of type
22
+ List[WarrantyItem].
23
+ expired_warranty (List[WarrantyItem]): The model property of type
24
+ List[WarrantyItem].
25
+ additional_properties (Dict[str, Any]): The additional properties for the
26
+ model.
27
+
28
+ """
29
+
30
+ # Create a mapping from Model property names to API property names
31
+ _names = {
32
+ "active_warranty": "activeWarranty",
33
+ "upcoming_warranty": "upcomingWarranty",
34
+ "expired_warranty": "expiredWarranty",
35
+ }
36
+
37
+ _optionals = [
38
+ "active_warranty",
39
+ "upcoming_warranty",
40
+ "expired_warranty",
41
+ ]
42
+
43
+ def __init__(
44
+ self,
45
+ active_warranty=APIHelper.SKIP,
46
+ upcoming_warranty=APIHelper.SKIP,
47
+ expired_warranty=APIHelper.SKIP,
48
+ additional_properties=None):
49
+ """Initialize a ResponseApi1DxWarrantyDetailsResponse instance."""
50
+ # Initialize members of the class
51
+ if active_warranty is not APIHelper.SKIP:
52
+ self.active_warranty = active_warranty
53
+ if upcoming_warranty is not APIHelper.SKIP:
54
+ self.upcoming_warranty = upcoming_warranty
55
+ if expired_warranty is not APIHelper.SKIP:
56
+ self.expired_warranty = expired_warranty
57
+
58
+ # Add additional model properties to the instance
59
+ if additional_properties is None:
60
+ additional_properties = {}
61
+ self.additional_properties = additional_properties
62
+
63
+ @classmethod
64
+ def from_dictionary(cls,
65
+ dictionary):
66
+ """Create an instance of this model from a dictionary
67
+
68
+ Args:
69
+ dictionary (dictionary): A dictionary representation of the object
70
+ as obtained from the deserialization of the server's response. The
71
+ keys MUST match property names in the API description.
72
+
73
+ Returns:
74
+ object: An instance of this structure class.
75
+
76
+ """
77
+ if not isinstance(dictionary, dict) or dictionary is None:
78
+ return None
79
+
80
+ # Extract variables from the dictionary
81
+ active_warranty = None
82
+ if dictionary.get("activeWarranty") is not None:
83
+ active_warranty = [
84
+ WarrantyItem.from_dictionary(x)
85
+ for x in dictionary.get("activeWarranty")
86
+ ]
87
+ else:
88
+ active_warranty = APIHelper.SKIP
89
+ upcoming_warranty = None
90
+ if dictionary.get("upcomingWarranty") is not None:
91
+ upcoming_warranty = [
92
+ WarrantyItem.from_dictionary(x)
93
+ for x in dictionary.get("upcomingWarranty")
94
+ ]
95
+ else:
96
+ upcoming_warranty = APIHelper.SKIP
97
+ expired_warranty = None
98
+ if dictionary.get("expiredWarranty") is not None:
99
+ expired_warranty = [
100
+ WarrantyItem.from_dictionary(x)
101
+ for x in dictionary.get("expiredWarranty")
102
+ ]
103
+ else:
104
+ expired_warranty = APIHelper.SKIP
105
+
106
+ additional_properties = APIHelper.get_additional_properties(
107
+ dictionary={k: v for k, v in dictionary.items()
108
+ if k not in cls._names.values()},
109
+ unboxing_function=lambda value: value)
110
+
111
+ # Return an object of this model
112
+ return cls(active_warranty,
113
+ upcoming_warranty,
114
+ expired_warranty,
115
+ additional_properties)
116
+
117
+ def __repr__(self):
118
+ """Return a unambiguous string representation."""
119
+ _active_warranty=(
120
+ self.active_warranty
121
+ if hasattr(self, "active_warranty")
122
+ else None
123
+ )
124
+ _upcoming_warranty=(
125
+ self.upcoming_warranty
126
+ if hasattr(self, "upcoming_warranty")
127
+ else None
128
+ )
129
+ _expired_warranty=(
130
+ self.expired_warranty
131
+ if hasattr(self, "expired_warranty")
132
+ else None
133
+ )
134
+ _additional_properties=self.additional_properties
135
+ return (
136
+ f"{self.__class__.__name__}("
137
+ f"active_warranty={_active_warranty!r}, "
138
+ f"upcoming_warranty={_upcoming_warranty!r}, "
139
+ f"expired_warranty={_expired_warranty!r}, "
140
+ f"additional_properties={_additional_properties!r}, "
141
+ f")"
142
+ )
143
+
144
+ def __str__(self):
145
+ """Return a human-readable string representation."""
146
+ _active_warranty=(
147
+ self.active_warranty
148
+ if hasattr(self, "active_warranty")
149
+ else None
150
+ )
151
+ _upcoming_warranty=(
152
+ self.upcoming_warranty
153
+ if hasattr(self, "upcoming_warranty")
154
+ else None
155
+ )
156
+ _expired_warranty=(
157
+ self.expired_warranty
158
+ if hasattr(self, "expired_warranty")
159
+ else None
160
+ )
161
+ _additional_properties=self.additional_properties
162
+ return (
163
+ f"{self.__class__.__name__}("
164
+ f"active_warranty={_active_warranty!s}, "
165
+ f"upcoming_warranty={_upcoming_warranty!s}, "
166
+ f"expired_warranty={_expired_warranty!s}, "
167
+ f"additional_properties={_additional_properties!s}, "
168
+ f")"
169
+ )
@@ -0,0 +1,110 @@
1
+ """teslafleetmanagementapi.
2
+
3
+ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
4
+ """
5
+
6
+ # ruff: noqa: E501
7
+ from teslafleetmanagementapi.api_helper import (
8
+ APIHelper,
9
+ )
10
+ from teslafleetmanagementapi.models.event import (
11
+ Event,
12
+ )
13
+
14
+
15
+ class ResponseCalendarHistoryResponse(object):
16
+ """Implementation of the 'Response_CalendarHistoryResponse' model.
17
+
18
+ Attributes:
19
+ events (List[Event]): The model property of type List[Event].
20
+ total_events (int): The model property of type int.
21
+ additional_properties (Dict[str, Any]): The additional properties for the
22
+ model.
23
+
24
+ """
25
+
26
+ # Create a mapping from Model property names to API property names
27
+ _names = {
28
+ "events": "events",
29
+ "total_events": "total_events",
30
+ }
31
+
32
+ def __init__(
33
+ self,
34
+ events=None,
35
+ total_events=None,
36
+ additional_properties=None):
37
+ """Initialize a ResponseCalendarHistoryResponse instance."""
38
+ # Initialize members of the class
39
+ self.events = events
40
+ self.total_events = total_events
41
+
42
+ # Add additional model properties to the instance
43
+ if additional_properties is None:
44
+ additional_properties = {}
45
+ self.additional_properties = additional_properties
46
+
47
+ @classmethod
48
+ def from_dictionary(cls,
49
+ dictionary):
50
+ """Create an instance of this model from a dictionary
51
+
52
+ Args:
53
+ dictionary (dictionary): A dictionary representation of the object
54
+ as obtained from the deserialization of the server's response. The
55
+ keys MUST match property names in the API description.
56
+
57
+ Returns:
58
+ object: An instance of this structure class.
59
+
60
+ """
61
+ if not isinstance(dictionary, dict) or dictionary is None:
62
+ return None
63
+
64
+ # Extract variables from the dictionary
65
+ events = None
66
+ if dictionary.get("events") is not None:
67
+ events = [
68
+ Event.from_dictionary(x)
69
+ for x in dictionary.get("events")
70
+ ]
71
+ total_events =\
72
+ dictionary.get("total_events")\
73
+ if dictionary.get("total_events")\
74
+ else None
75
+
76
+ additional_properties = APIHelper.get_additional_properties(
77
+ dictionary={k: v for k, v in dictionary.items()
78
+ if k not in cls._names.values()},
79
+ unboxing_function=lambda value: value)
80
+
81
+ # Return an object of this model
82
+ return cls(events,
83
+ total_events,
84
+ additional_properties)
85
+
86
+ def __repr__(self):
87
+ """Return a unambiguous string representation."""
88
+ _events=self.events
89
+ _total_events=self.total_events
90
+ _additional_properties=self.additional_properties
91
+ return (
92
+ f"{self.__class__.__name__}("
93
+ f"events={_events!r}, "
94
+ f"total_events={_total_events!r}, "
95
+ f"additional_properties={_additional_properties!r}, "
96
+ f")"
97
+ )
98
+
99
+ def __str__(self):
100
+ """Return a human-readable string representation."""
101
+ _events=self.events
102
+ _total_events=self.total_events
103
+ _additional_properties=self.additional_properties
104
+ return (
105
+ f"{self.__class__.__name__}("
106
+ f"events={_events!s}, "
107
+ f"total_events={_total_events!s}, "
108
+ f"additional_properties={_additional_properties!s}, "
109
+ f")"
110
+ )
@@ -0,0 +1,98 @@
1
+ """teslafleetmanagementapi.
2
+
3
+ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
4
+ """
5
+
6
+ # ruff: noqa: E501
7
+ from teslafleetmanagementapi.api_helper import (
8
+ APIHelper,
9
+ )
10
+ from teslafleetmanagementapi.models.charge_history import (
11
+ ChargeHistory,
12
+ )
13
+
14
+
15
+ class ResponseChargeHistoryResponse(object):
16
+ """Implementation of the 'Response_ChargeHistoryResponse' model.
17
+
18
+ Attributes:
19
+ charge_history (List[ChargeHistory]): The model property of type
20
+ List[ChargeHistory].
21
+ additional_properties (Dict[str, Any]): The additional properties for the
22
+ model.
23
+
24
+ """
25
+
26
+ # Create a mapping from Model property names to API property names
27
+ _names = {
28
+ "charge_history": "charge_history",
29
+ }
30
+
31
+ def __init__(
32
+ self,
33
+ charge_history=None,
34
+ additional_properties=None):
35
+ """Initialize a ResponseChargeHistoryResponse instance."""
36
+ # Initialize members of the class
37
+ self.charge_history = charge_history
38
+
39
+ # Add additional model properties to the instance
40
+ if additional_properties is None:
41
+ additional_properties = {}
42
+ self.additional_properties = additional_properties
43
+
44
+ @classmethod
45
+ def from_dictionary(cls,
46
+ dictionary):
47
+ """Create an instance of this model from a dictionary
48
+
49
+ Args:
50
+ dictionary (dictionary): A dictionary representation of the object
51
+ as obtained from the deserialization of the server's response. The
52
+ keys MUST match property names in the API description.
53
+
54
+ Returns:
55
+ object: An instance of this structure class.
56
+
57
+ """
58
+ if not isinstance(dictionary, dict) or dictionary is None:
59
+ return None
60
+
61
+ # Extract variables from the dictionary
62
+ charge_history = None
63
+ if dictionary.get("charge_history") is not None:
64
+ charge_history = [
65
+ ChargeHistory.from_dictionary(x)
66
+ for x in dictionary.get("charge_history")
67
+ ]
68
+
69
+ additional_properties = APIHelper.get_additional_properties(
70
+ dictionary={k: v for k, v in dictionary.items()
71
+ if k not in cls._names.values()},
72
+ unboxing_function=lambda value: value)
73
+
74
+ # Return an object of this model
75
+ return cls(charge_history,
76
+ additional_properties)
77
+
78
+ def __repr__(self):
79
+ """Return a unambiguous string representation."""
80
+ _charge_history=self.charge_history
81
+ _additional_properties=self.additional_properties
82
+ return (
83
+ f"{self.__class__.__name__}("
84
+ f"charge_history={_charge_history!r}, "
85
+ f"additional_properties={_additional_properties!r}, "
86
+ f")"
87
+ )
88
+
89
+ def __str__(self):
90
+ """Return a human-readable string representation."""
91
+ _charge_history=self.charge_history
92
+ _additional_properties=self.additional_properties
93
+ return (
94
+ f"{self.__class__.__name__}("
95
+ f"charge_history={_charge_history!s}, "
96
+ f"additional_properties={_additional_properties!s}, "
97
+ f")"
98
+ )
@@ -0,0 +1,98 @@
1
+ """teslafleetmanagementapi.
2
+
3
+ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
4
+ """
5
+
6
+ # ruff: noqa: E501
7
+ from teslafleetmanagementapi.api_helper import (
8
+ APIHelper,
9
+ )
10
+ from teslafleetmanagementapi.models.fleet_telemetry_error import (
11
+ FleetTelemetryError,
12
+ )
13
+
14
+
15
+ class ResponseFleetTelemetryErrorsResponse(object):
16
+ """Implementation of the 'Response_FleetTelemetryErrorsResponse' model.
17
+
18
+ Attributes:
19
+ fleet_telemetry_errors (List[FleetTelemetryError]): The model property of
20
+ type List[FleetTelemetryError].
21
+ additional_properties (Dict[str, Any]): The additional properties for the
22
+ model.
23
+
24
+ """
25
+
26
+ # Create a mapping from Model property names to API property names
27
+ _names = {
28
+ "fleet_telemetry_errors": "fleet_telemetry_errors",
29
+ }
30
+
31
+ def __init__(
32
+ self,
33
+ fleet_telemetry_errors=None,
34
+ additional_properties=None):
35
+ """Initialize a ResponseFleetTelemetryErrorsResponse instance."""
36
+ # Initialize members of the class
37
+ self.fleet_telemetry_errors = fleet_telemetry_errors
38
+
39
+ # Add additional model properties to the instance
40
+ if additional_properties is None:
41
+ additional_properties = {}
42
+ self.additional_properties = additional_properties
43
+
44
+ @classmethod
45
+ def from_dictionary(cls,
46
+ dictionary):
47
+ """Create an instance of this model from a dictionary
48
+
49
+ Args:
50
+ dictionary (dictionary): A dictionary representation of the object
51
+ as obtained from the deserialization of the server's response. The
52
+ keys MUST match property names in the API description.
53
+
54
+ Returns:
55
+ object: An instance of this structure class.
56
+
57
+ """
58
+ if not isinstance(dictionary, dict) or dictionary is None:
59
+ return None
60
+
61
+ # Extract variables from the dictionary
62
+ fleet_telemetry_errors = None
63
+ if dictionary.get("fleet_telemetry_errors") is not None:
64
+ fleet_telemetry_errors = [
65
+ FleetTelemetryError.from_dictionary(x)
66
+ for x in dictionary.get("fleet_telemetry_errors")
67
+ ]
68
+
69
+ additional_properties = APIHelper.get_additional_properties(
70
+ dictionary={k: v for k, v in dictionary.items()
71
+ if k not in cls._names.values()},
72
+ unboxing_function=lambda value: value)
73
+
74
+ # Return an object of this model
75
+ return cls(fleet_telemetry_errors,
76
+ additional_properties)
77
+
78
+ def __repr__(self):
79
+ """Return a unambiguous string representation."""
80
+ _fleet_telemetry_errors=self.fleet_telemetry_errors
81
+ _additional_properties=self.additional_properties
82
+ return (
83
+ f"{self.__class__.__name__}("
84
+ f"fleet_telemetry_errors={_fleet_telemetry_errors!r}, "
85
+ f"additional_properties={_additional_properties!r}, "
86
+ f")"
87
+ )
88
+
89
+ def __str__(self):
90
+ """Return a human-readable string representation."""
91
+ _fleet_telemetry_errors=self.fleet_telemetry_errors
92
+ _additional_properties=self.additional_properties
93
+ return (
94
+ f"{self.__class__.__name__}("
95
+ f"fleet_telemetry_errors={_fleet_telemetry_errors!s}, "
96
+ f"additional_properties={_additional_properties!s}, "
97
+ f")"
98
+ )