ibm-platform-services 0.58.0__tar.gz → 0.59.0__tar.gz

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 (34) hide show
  1. {ibm_platform_services-0.58.0/ibm_platform_services.egg-info → ibm_platform_services-0.59.0}/PKG-INFO +2 -2
  2. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/README.md +1 -1
  3. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/usage_reports_v4.py +11 -1
  4. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/version.py +1 -1
  5. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0/ibm_platform_services.egg-info}/PKG-INFO +2 -2
  6. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/pyproject.toml +1 -1
  7. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/LICENSE +0 -0
  8. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/MANIFEST.in +0 -0
  9. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/__init__.py +0 -0
  10. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/case_management_v1.py +0 -0
  11. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/catalog_management_v1.py +0 -0
  12. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/common.py +0 -0
  13. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/context_based_restrictions_v1.py +0 -0
  14. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/enterprise_billing_units_v1.py +0 -0
  15. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/enterprise_management_v1.py +0 -0
  16. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/enterprise_usage_reports_v1.py +0 -0
  17. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/global_catalog_v1.py +0 -0
  18. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/global_search_v2.py +0 -0
  19. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/global_tagging_v1.py +0 -0
  20. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/iam_access_groups_v2.py +0 -0
  21. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/iam_identity_v1.py +0 -0
  22. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/iam_policy_management_v1.py +0 -0
  23. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/ibm_cloud_shell_v1.py +0 -0
  24. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/open_service_broker_v1.py +0 -0
  25. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/partner_management_v1.py +0 -0
  26. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/resource_controller_v2.py +0 -0
  27. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/resource_manager_v2.py +0 -0
  28. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/usage_metering_v4.py +0 -0
  29. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services/user_management_v1.py +0 -0
  30. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services.egg-info/SOURCES.txt +0 -0
  31. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services.egg-info/dependency_links.txt +0 -0
  32. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services.egg-info/requires.txt +0 -0
  33. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/ibm_platform_services.egg-info/top_level.txt +0 -0
  34. {ibm_platform_services-0.58.0 → ibm_platform_services-0.59.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ibm-platform-services
3
- Version: 0.58.0
3
+ Version: 0.59.0
4
4
  Summary: Python client library for IBM Cloud Platform Services
5
5
  Author-email: IBM <devxsdk@us.ibm.com>
6
6
  Project-URL: Repository, https://github.com/IBM/platform-services-python-sdk
@@ -50,7 +50,7 @@ Requires-Dist: twine; extra == "publish"
50
50
  [![CLA assistant](https://cla-assistant.io/readme/badge/IBM/platform-services-python-sdk)](https://cla-assistant.io/IBM/platform-services-python-sdk)
51
51
 
52
52
 
53
- # IBM Cloud Platform Services Python SDK Version 0.58.0
53
+ # IBM Cloud Platform Services Python SDK Version 0.59.0
54
54
 
55
55
  Python client library to interact with various
56
56
  [IBM Cloud Platform Service APIs](https://cloud.ibm.com/docs?tab=api-docs&category=platform_services).
@@ -8,7 +8,7 @@
8
8
  [![CLA assistant](https://cla-assistant.io/readme/badge/IBM/platform-services-python-sdk)](https://cla-assistant.io/IBM/platform-services-python-sdk)
9
9
 
10
10
 
11
- # IBM Cloud Platform Services Python SDK Version 0.58.0
11
+ # IBM Cloud Platform Services Python SDK Version 0.59.0
12
12
 
13
13
  Python client library to interact with various
14
14
  [IBM Cloud Platform Service APIs](https://cloud.ibm.com/docs?tab=api-docs&category=platform_services).
@@ -14,7 +14,7 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- # IBM OpenAPI SDK Code Generator Version: 3.89.0-f33c767b-20240410-144451
17
+ # IBM OpenAPI SDK Code Generator Version: 3.96.0-d6dec9d7-20241008-212902
18
18
 
19
19
  """
20
20
  Usage reports for IBM Cloud accounts
@@ -2171,6 +2171,7 @@ class Offer:
2171
2171
  :param float credits_total: The total credits before applying the offer.
2172
2172
  :param str offer_template: The template with which the offer was generated.
2173
2173
  :param datetime valid_from: The date from which the offer is valid.
2174
+ :param str created_by_email_id: The offer's creator's email id.
2174
2175
  :param datetime expires_on: The date until the offer is valid.
2175
2176
  :param OfferCredits credits: Credit information related to an offer.
2176
2177
  """
@@ -2181,6 +2182,7 @@ class Offer:
2181
2182
  credits_total: float,
2182
2183
  offer_template: str,
2183
2184
  valid_from: datetime,
2185
+ created_by_email_id: str,
2184
2186
  expires_on: datetime,
2185
2187
  credits: 'OfferCredits',
2186
2188
  ) -> None:
@@ -2191,6 +2193,7 @@ class Offer:
2191
2193
  :param float credits_total: The total credits before applying the offer.
2192
2194
  :param str offer_template: The template with which the offer was generated.
2193
2195
  :param datetime valid_from: The date from which the offer is valid.
2196
+ :param str created_by_email_id: The offer's creator's email id.
2194
2197
  :param datetime expires_on: The date until the offer is valid.
2195
2198
  :param OfferCredits credits: Credit information related to an offer.
2196
2199
  """
@@ -2198,6 +2201,7 @@ class Offer:
2198
2201
  self.credits_total = credits_total
2199
2202
  self.offer_template = offer_template
2200
2203
  self.valid_from = valid_from
2204
+ self.created_by_email_id = created_by_email_id
2201
2205
  self.expires_on = expires_on
2202
2206
  self.credits = credits
2203
2207
 
@@ -2221,6 +2225,10 @@ class Offer:
2221
2225
  args['valid_from'] = string_to_datetime(valid_from)
2222
2226
  else:
2223
2227
  raise ValueError('Required property \'valid_from\' not present in Offer JSON')
2228
+ if (created_by_email_id := _dict.get('created_by_email_id')) is not None:
2229
+ args['created_by_email_id'] = created_by_email_id
2230
+ else:
2231
+ raise ValueError('Required property \'created_by_email_id\' not present in Offer JSON')
2224
2232
  if (expires_on := _dict.get('expires_on')) is not None:
2225
2233
  args['expires_on'] = string_to_datetime(expires_on)
2226
2234
  else:
@@ -2247,6 +2255,8 @@ class Offer:
2247
2255
  _dict['offer_template'] = self.offer_template
2248
2256
  if hasattr(self, 'valid_from') and self.valid_from is not None:
2249
2257
  _dict['valid_from'] = datetime_to_string(self.valid_from)
2258
+ if hasattr(self, 'created_by_email_id') and self.created_by_email_id is not None:
2259
+ _dict['created_by_email_id'] = self.created_by_email_id
2250
2260
  if hasattr(self, 'expires_on') and self.expires_on is not None:
2251
2261
  _dict['expires_on'] = datetime_to_string(self.expires_on)
2252
2262
  if hasattr(self, 'credits') and self.credits is not None:
@@ -2,4 +2,4 @@
2
2
  Version of platform_services
3
3
  """
4
4
 
5
- __version__ = '0.58.0'
5
+ __version__ = '0.59.0'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ibm-platform-services
3
- Version: 0.58.0
3
+ Version: 0.59.0
4
4
  Summary: Python client library for IBM Cloud Platform Services
5
5
  Author-email: IBM <devxsdk@us.ibm.com>
6
6
  Project-URL: Repository, https://github.com/IBM/platform-services-python-sdk
@@ -50,7 +50,7 @@ Requires-Dist: twine; extra == "publish"
50
50
  [![CLA assistant](https://cla-assistant.io/readme/badge/IBM/platform-services-python-sdk)](https://cla-assistant.io/IBM/platform-services-python-sdk)
51
51
 
52
52
 
53
- # IBM Cloud Platform Services Python SDK Version 0.58.0
53
+ # IBM Cloud Platform Services Python SDK Version 0.59.0
54
54
 
55
55
  Python client library to interact with various
56
56
  [IBM Cloud Platform Service APIs](https://cloud.ibm.com/docs?tab=api-docs&category=platform_services).
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ibm-platform-services"
3
- version = "0.58.0"
3
+ version = "0.59.0"
4
4
  authors = [
5
5
  { name="IBM", email="devxsdk@us.ibm.com" }
6
6
  ]