Skip to content

Commit c8e49fc

Browse files
authored
fix(Global Catalog): remove bad metadata fields (#297)
Signed-off-by: Ben Buchanan <[email protected]>
1 parent 5b326ee commit c8e49fc

File tree

2 files changed

+15
-57
lines changed

2 files changed

+15
-57
lines changed

ibm_platform_services/global_catalog_v1.py

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# IBM OpenAPI SDK Code Generator Version: 3.104.0-b4a47c49-20250418-184351
17+
# IBM OpenAPI SDK Code Generator Version: 3.106.0-09823488-20250707-071701
1818

1919
"""
2020
The catalog service manages offerings across geographies as the system of record. The
@@ -2017,10 +2017,6 @@ class CFMetaData:
20172017
`us-south=123`.
20182018
:param str crn_mask: (optional) Cloud resource name identifying the environment
20192019
containing this service.
2020-
:param dict user_defined_service: (optional) Deprecated: An extended set of
2021-
metadata fields that pertain to user-defined services.
2022-
:param dict extension: (optional) Deprecated: A property-bag like extension to
2023-
service metadata.
20242020
:param bool paid_only: (optional) Deprecated: Boolean flag indicating if this
20252021
service only offers paid pricing plans rather than the default paygo.
20262022
:param bool custom_create_page_hybrid_enabled: (optional) Boolean flag that
@@ -2046,8 +2042,6 @@ def __init__(
20462042
service_key_supported: Optional[bool] = None,
20472043
cf_guid: Optional[dict] = None,
20482044
crn_mask: Optional[str] = None,
2049-
user_defined_service: Optional[dict] = None,
2050-
extension: Optional[dict] = None,
20512045
paid_only: Optional[bool] = None,
20522046
custom_create_page_hybrid_enabled: Optional[bool] = None,
20532047
) -> None:
@@ -2097,10 +2091,6 @@ def __init__(
20972091
For example, `us-south=123`.
20982092
:param str crn_mask: (optional) Cloud resource name identifying the
20992093
environment containing this service.
2100-
:param dict user_defined_service: (optional) Deprecated: An extended set of
2101-
metadata fields that pertain to user-defined services.
2102-
:param dict extension: (optional) Deprecated: A property-bag like extension
2103-
to service metadata.
21042094
:param bool paid_only: (optional) Deprecated: Boolean flag indicating if
21052095
this service only offers paid pricing plans rather than the default paygo.
21062096
:param bool custom_create_page_hybrid_enabled: (optional) Boolean flag that
@@ -2122,8 +2112,6 @@ def __init__(
21222112
self.service_key_supported = service_key_supported
21232113
self.cf_guid = cf_guid
21242114
self.crn_mask = crn_mask
2125-
self.user_defined_service = user_defined_service
2126-
self.extension = extension
21272115
self.paid_only = paid_only
21282116
self.custom_create_page_hybrid_enabled = custom_create_page_hybrid_enabled
21292117

@@ -2161,10 +2149,6 @@ def from_dict(cls, _dict: Dict) -> 'CFMetaData':
21612149
args['cf_guid'] = cf_guid
21622150
if (crn_mask := _dict.get('crn_mask')) is not None:
21632151
args['crn_mask'] = crn_mask
2164-
if (user_defined_service := _dict.get('user_defined_service')) is not None:
2165-
args['user_defined_service'] = user_defined_service
2166-
if (extension := _dict.get('extension')) is not None:
2167-
args['extension'] = extension
21682152
if (paid_only := _dict.get('paid_only')) is not None:
21692153
args['paid_only'] = paid_only
21702154
if (custom_create_page_hybrid_enabled := _dict.get('custom_create_page_hybrid_enabled')) is not None:
@@ -2209,10 +2193,6 @@ def to_dict(self) -> Dict:
22092193
_dict['cf_guid'] = self.cf_guid
22102194
if hasattr(self, 'crn_mask') and self.crn_mask is not None:
22112195
_dict['crn_mask'] = self.crn_mask
2212-
if hasattr(self, 'user_defined_service') and self.user_defined_service is not None:
2213-
_dict['user_defined_service'] = self.user_defined_service
2214-
if hasattr(self, 'extension') and self.extension is not None:
2215-
_dict['extension'] = self.extension
22162196
if hasattr(self, 'paid_only') and self.paid_only is not None:
22172197
_dict['paid_only'] = self.paid_only
22182198
if hasattr(self, 'custom_create_page_hybrid_enabled') and self.custom_create_page_hybrid_enabled is not None:

0 commit comments

Comments
 (0)