stackit-dns 0.9.0__tar.gz → 0.10.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 (53) hide show
  1. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/PKG-INFO +1 -1
  2. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/pyproject.toml +1 -1
  3. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/api/default_api.py +58 -36
  4. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/create_label_payload.py +1 -1
  5. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/create_zone_payload.py +7 -0
  6. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/label.py +1 -1
  7. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/partial_update_zone_payload.py +10 -3
  8. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/zone.py +5 -0
  9. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/.gitignore +0 -0
  10. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/LICENSE.md +0 -0
  11. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/NOTICE.txt +0 -0
  12. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/README.md +0 -0
  13. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/__init__.py +0 -0
  14. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/api/__init__.py +0 -0
  15. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/api_client.py +0 -0
  16. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/api_response.py +0 -0
  17. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/configuration.py +0 -0
  18. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/exceptions.py +0 -0
  19. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/__init__.py +0 -0
  20. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/clone_zone_payload.py +0 -0
  21. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/create_label_response.py +0 -0
  22. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/create_move_code_payload.py +0 -0
  23. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/create_record_set_payload.py +0 -0
  24. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/delete_label_response.py +0 -0
  25. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/domain_extensions.py +0 -0
  26. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/domain_observability_extension.py +0 -0
  27. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/error_message.py +0 -0
  28. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/export_record_sets_payload.py +0 -0
  29. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/import_record_sets_payload.py +0 -0
  30. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/import_record_sets_response.py +0 -0
  31. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/import_summary.py +0 -0
  32. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/list_labels_response.py +0 -0
  33. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/list_record_sets_response.py +0 -0
  34. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/list_zones_response.py +0 -0
  35. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/message.py +0 -0
  36. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/move_code_response.py +0 -0
  37. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/move_zone_payload.py +0 -0
  38. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/partial_update_record_payload.py +0 -0
  39. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/partial_update_record_set_payload.py +0 -0
  40. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/record.py +0 -0
  41. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/record_data_exchange.py +0 -0
  42. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/record_payload.py +0 -0
  43. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/record_set.py +0 -0
  44. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/record_set_response.py +0 -0
  45. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/validate_move_code_payload.py +0 -0
  46. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/zone_data_exchange.py +0 -0
  47. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/zone_extensions.py +0 -0
  48. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/zone_models_import_record_model.py +0 -0
  49. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/zone_models_import_zone_json.py +0 -0
  50. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/zone_observability_extension.py +0 -0
  51. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/models/zone_response.py +0 -0
  52. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/py.typed +0 -0
  53. {stackit_dns-0.9.0 → stackit_dns-0.10.0}/src/stackit/dns/rest.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: stackit-dns
3
- Version: 0.9.0
3
+ Version: v0.10.0
4
4
  Summary: STACKIT DNS API
5
5
  Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
6
6
  Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "stackit-dns"
3
- version = "v0.9.0"
3
+ version = "v0.10.0"
4
4
  description = "STACKIT DNS API"
5
5
  authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
6
6
  requires-python = ">=3.10,<4.0"
@@ -12,6 +12,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
  Do not edit the class manually.
13
13
  """ # noqa: E501
14
14
 
15
+ import warnings
15
16
  from typing import Any, Dict, List, Optional, Tuple, Union
16
17
 
17
18
  from pydantic import (
@@ -363,9 +364,9 @@ class DefaultApi:
363
364
  _headers: Optional[Dict[StrictStr, Any]] = None,
364
365
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
365
366
  ) -> CreateLabelResponse:
366
- """Create or update label
367
+ """(Deprecated) Create or update label [DEPRECATED]
367
368
 
368
- Create or update label
369
+ Create or update label DEPRECATED: Scheduled for sunset on 2027-10-01. Use the labelsMap field in the Zone resource instead.
369
370
 
370
371
  :param project_id: project id (required)
371
372
  :type project_id: str
@@ -394,6 +395,7 @@ class DefaultApi:
394
395
  :type _host_index: int, optional
395
396
  :return: Returns the result object.
396
397
  """ # noqa: E501
398
+ warnings.warn("PUT /v1/projects/{projectId}/zones/{zoneId}/labels is deprecated.", DeprecationWarning)
397
399
 
398
400
  _param = self._create_label_serialize(
399
401
  project_id=project_id,
@@ -435,9 +437,9 @@ class DefaultApi:
435
437
  _headers: Optional[Dict[StrictStr, Any]] = None,
436
438
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
437
439
  ) -> ApiResponse[CreateLabelResponse]:
438
- """Create or update label
440
+ """(Deprecated) Create or update label [DEPRECATED]
439
441
 
440
- Create or update label
442
+ Create or update label DEPRECATED: Scheduled for sunset on 2027-10-01. Use the labelsMap field in the Zone resource instead.
441
443
 
442
444
  :param project_id: project id (required)
443
445
  :type project_id: str
@@ -466,6 +468,7 @@ class DefaultApi:
466
468
  :type _host_index: int, optional
467
469
  :return: Returns the result object.
468
470
  """ # noqa: E501
471
+ warnings.warn("PUT /v1/projects/{projectId}/zones/{zoneId}/labels is deprecated.", DeprecationWarning)
469
472
 
470
473
  _param = self._create_label_serialize(
471
474
  project_id=project_id,
@@ -507,9 +510,9 @@ class DefaultApi:
507
510
  _headers: Optional[Dict[StrictStr, Any]] = None,
508
511
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
509
512
  ) -> RESTResponseType:
510
- """Create or update label
513
+ """(Deprecated) Create or update label [DEPRECATED]
511
514
 
512
- Create or update label
515
+ Create or update label DEPRECATED: Scheduled for sunset on 2027-10-01. Use the labelsMap field in the Zone resource instead.
513
516
 
514
517
  :param project_id: project id (required)
515
518
  :type project_id: str
@@ -538,6 +541,7 @@ class DefaultApi:
538
541
  :type _host_index: int, optional
539
542
  :return: Returns the result object.
540
543
  """ # noqa: E501
544
+ warnings.warn("PUT /v1/projects/{projectId}/zones/{zoneId}/labels is deprecated.", DeprecationWarning)
541
545
 
542
546
  _param = self._create_label_serialize(
543
547
  project_id=project_id,
@@ -1464,9 +1468,9 @@ class DefaultApi:
1464
1468
  _headers: Optional[Dict[StrictStr, Any]] = None,
1465
1469
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1466
1470
  ) -> DeleteLabelResponse:
1467
- """Delete a label
1471
+ """(Deprecated) Delete a label [DEPRECATED]
1468
1472
 
1469
- Delete a label
1473
+ Delete a label DEPRECATED: Scheduled for sunset on 2027-10-01. Use the labelsMap field in the Zone resource instead.
1470
1474
 
1471
1475
  :param project_id: project id (required)
1472
1476
  :type project_id: str
@@ -1495,6 +1499,7 @@ class DefaultApi:
1495
1499
  :type _host_index: int, optional
1496
1500
  :return: Returns the result object.
1497
1501
  """ # noqa: E501
1502
+ warnings.warn("DELETE /v1/projects/{projectId}/zones/{zoneId}/labels/{key} is deprecated.", DeprecationWarning)
1498
1503
 
1499
1504
  _param = self._delete_label_serialize(
1500
1505
  project_id=project_id,
@@ -1537,9 +1542,9 @@ class DefaultApi:
1537
1542
  _headers: Optional[Dict[StrictStr, Any]] = None,
1538
1543
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1539
1544
  ) -> ApiResponse[DeleteLabelResponse]:
1540
- """Delete a label
1545
+ """(Deprecated) Delete a label [DEPRECATED]
1541
1546
 
1542
- Delete a label
1547
+ Delete a label DEPRECATED: Scheduled for sunset on 2027-10-01. Use the labelsMap field in the Zone resource instead.
1543
1548
 
1544
1549
  :param project_id: project id (required)
1545
1550
  :type project_id: str
@@ -1568,6 +1573,7 @@ class DefaultApi:
1568
1573
  :type _host_index: int, optional
1569
1574
  :return: Returns the result object.
1570
1575
  """ # noqa: E501
1576
+ warnings.warn("DELETE /v1/projects/{projectId}/zones/{zoneId}/labels/{key} is deprecated.", DeprecationWarning)
1571
1577
 
1572
1578
  _param = self._delete_label_serialize(
1573
1579
  project_id=project_id,
@@ -1610,9 +1616,9 @@ class DefaultApi:
1610
1616
  _headers: Optional[Dict[StrictStr, Any]] = None,
1611
1617
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1612
1618
  ) -> RESTResponseType:
1613
- """Delete a label
1619
+ """(Deprecated) Delete a label [DEPRECATED]
1614
1620
 
1615
- Delete a label
1621
+ Delete a label DEPRECATED: Scheduled for sunset on 2027-10-01. Use the labelsMap field in the Zone resource instead.
1616
1622
 
1617
1623
  :param project_id: project id (required)
1618
1624
  :type project_id: str
@@ -1641,6 +1647,7 @@ class DefaultApi:
1641
1647
  :type _host_index: int, optional
1642
1648
  :return: Returns the result object.
1643
1649
  """ # noqa: E501
1650
+ warnings.warn("DELETE /v1/projects/{projectId}/zones/{zoneId}/labels/{key} is deprecated.", DeprecationWarning)
1644
1651
 
1645
1652
  _param = self._delete_label_serialize(
1646
1653
  project_id=project_id,
@@ -3622,9 +3629,9 @@ class DefaultApi:
3622
3629
  _headers: Optional[Dict[StrictStr, Any]] = None,
3623
3630
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3624
3631
  ) -> ListLabelsResponse:
3625
- """Get all labels
3632
+ """(Deprecated) Get all labels [DEPRECATED]
3626
3633
 
3627
- All Labels
3634
+ All Labels DEPRECATED: Scheduled for sunset on 2027-10-01. Use the labelsMap field in the Zone resource instead.
3628
3635
 
3629
3636
  :param project_id: project id (required)
3630
3637
  :type project_id: str
@@ -3651,6 +3658,7 @@ class DefaultApi:
3651
3658
  :type _host_index: int, optional
3652
3659
  :return: Returns the result object.
3653
3660
  """ # noqa: E501
3661
+ warnings.warn("GET /v1/projects/{projectId}/zones/{zoneId}/labels is deprecated.", DeprecationWarning)
3654
3662
 
3655
3663
  _param = self._list_labels_serialize(
3656
3664
  project_id=project_id,
@@ -3691,9 +3699,9 @@ class DefaultApi:
3691
3699
  _headers: Optional[Dict[StrictStr, Any]] = None,
3692
3700
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3693
3701
  ) -> ApiResponse[ListLabelsResponse]:
3694
- """Get all labels
3702
+ """(Deprecated) Get all labels [DEPRECATED]
3695
3703
 
3696
- All Labels
3704
+ All Labels DEPRECATED: Scheduled for sunset on 2027-10-01. Use the labelsMap field in the Zone resource instead.
3697
3705
 
3698
3706
  :param project_id: project id (required)
3699
3707
  :type project_id: str
@@ -3720,6 +3728,7 @@ class DefaultApi:
3720
3728
  :type _host_index: int, optional
3721
3729
  :return: Returns the result object.
3722
3730
  """ # noqa: E501
3731
+ warnings.warn("GET /v1/projects/{projectId}/zones/{zoneId}/labels is deprecated.", DeprecationWarning)
3723
3732
 
3724
3733
  _param = self._list_labels_serialize(
3725
3734
  project_id=project_id,
@@ -3760,9 +3769,9 @@ class DefaultApi:
3760
3769
  _headers: Optional[Dict[StrictStr, Any]] = None,
3761
3770
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3762
3771
  ) -> RESTResponseType:
3763
- """Get all labels
3772
+ """(Deprecated) Get all labels [DEPRECATED]
3764
3773
 
3765
- All Labels
3774
+ All Labels DEPRECATED: Scheduled for sunset on 2027-10-01. Use the labelsMap field in the Zone resource instead.
3766
3775
 
3767
3776
  :param project_id: project id (required)
3768
3777
  :type project_id: str
@@ -3789,6 +3798,7 @@ class DefaultApi:
3789
3798
  :type _host_index: int, optional
3790
3799
  :return: Returns the result object.
3791
3800
  """ # noqa: E501
3801
+ warnings.warn("GET /v1/projects/{projectId}/zones/{zoneId}/labels is deprecated.", DeprecationWarning)
3792
3802
 
3793
3803
  _param = self._list_labels_serialize(
3794
3804
  project_id=project_id,
@@ -3875,7 +3885,9 @@ class DefaultApi:
3875
3885
  name_eq: Annotated[Optional[StrictStr], Field(description="filter name equal")] = None,
3876
3886
  name_like: Annotated[Optional[StrictStr], Field(description="filter name like")] = None,
3877
3887
  type_eq: Annotated[Optional[StrictStr], Field(description="filter type")] = None,
3878
- state_eq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
3888
+ state_eq: Annotated[
3889
+ Optional[StrictStr], Field(description="filter state (DELETE_SUCCEEDED is excluded by default)")
3890
+ ] = None,
3879
3891
  state_neq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
3880
3892
  active_eq: Annotated[Optional[StrictBool], Field(description="filter active equal")] = None,
3881
3893
  creation_started_gt: Annotated[
@@ -3948,7 +3960,7 @@ class DefaultApi:
3948
3960
  ) -> ListRecordSetsResponse:
3949
3961
  """All get selected RRSets
3950
3962
 
3951
- All RRSet
3963
+ Retrieve all RRSets. By default, records in the 'DELETE_SUCCEEDED' state are excluded. To retrieve them, explicitly specify 'state[eq]=DELETE_SUCCEEDED' in the query parameters.
3952
3964
 
3953
3965
  :param project_id: project id (required)
3954
3966
  :type project_id: str
@@ -3964,7 +3976,7 @@ class DefaultApi:
3964
3976
  :type name_like: str
3965
3977
  :param type_eq: filter type
3966
3978
  :type type_eq: str
3967
- :param state_eq: filter state
3979
+ :param state_eq: filter state (DELETE_SUCCEEDED is excluded by default)
3968
3980
  :type state_eq: str
3969
3981
  :param state_neq: filter state
3970
3982
  :type state_neq: str
@@ -4107,7 +4119,9 @@ class DefaultApi:
4107
4119
  name_eq: Annotated[Optional[StrictStr], Field(description="filter name equal")] = None,
4108
4120
  name_like: Annotated[Optional[StrictStr], Field(description="filter name like")] = None,
4109
4121
  type_eq: Annotated[Optional[StrictStr], Field(description="filter type")] = None,
4110
- state_eq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
4122
+ state_eq: Annotated[
4123
+ Optional[StrictStr], Field(description="filter state (DELETE_SUCCEEDED is excluded by default)")
4124
+ ] = None,
4111
4125
  state_neq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
4112
4126
  active_eq: Annotated[Optional[StrictBool], Field(description="filter active equal")] = None,
4113
4127
  creation_started_gt: Annotated[
@@ -4180,7 +4194,7 @@ class DefaultApi:
4180
4194
  ) -> ApiResponse[ListRecordSetsResponse]:
4181
4195
  """All get selected RRSets
4182
4196
 
4183
- All RRSet
4197
+ Retrieve all RRSets. By default, records in the 'DELETE_SUCCEEDED' state are excluded. To retrieve them, explicitly specify 'state[eq]=DELETE_SUCCEEDED' in the query parameters.
4184
4198
 
4185
4199
  :param project_id: project id (required)
4186
4200
  :type project_id: str
@@ -4196,7 +4210,7 @@ class DefaultApi:
4196
4210
  :type name_like: str
4197
4211
  :param type_eq: filter type
4198
4212
  :type type_eq: str
4199
- :param state_eq: filter state
4213
+ :param state_eq: filter state (DELETE_SUCCEEDED is excluded by default)
4200
4214
  :type state_eq: str
4201
4215
  :param state_neq: filter state
4202
4216
  :type state_neq: str
@@ -4339,7 +4353,9 @@ class DefaultApi:
4339
4353
  name_eq: Annotated[Optional[StrictStr], Field(description="filter name equal")] = None,
4340
4354
  name_like: Annotated[Optional[StrictStr], Field(description="filter name like")] = None,
4341
4355
  type_eq: Annotated[Optional[StrictStr], Field(description="filter type")] = None,
4342
- state_eq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
4356
+ state_eq: Annotated[
4357
+ Optional[StrictStr], Field(description="filter state (DELETE_SUCCEEDED is excluded by default)")
4358
+ ] = None,
4343
4359
  state_neq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
4344
4360
  active_eq: Annotated[Optional[StrictBool], Field(description="filter active equal")] = None,
4345
4361
  creation_started_gt: Annotated[
@@ -4412,7 +4428,7 @@ class DefaultApi:
4412
4428
  ) -> RESTResponseType:
4413
4429
  """All get selected RRSets
4414
4430
 
4415
- All RRSet
4431
+ Retrieve all RRSets. By default, records in the 'DELETE_SUCCEEDED' state are excluded. To retrieve them, explicitly specify 'state[eq]=DELETE_SUCCEEDED' in the query parameters.
4416
4432
 
4417
4433
  :param project_id: project id (required)
4418
4434
  :type project_id: str
@@ -4428,7 +4444,7 @@ class DefaultApi:
4428
4444
  :type name_like: str
4429
4445
  :param type_eq: filter type
4430
4446
  :type type_eq: str
4431
- :param state_eq: filter state
4447
+ :param state_eq: filter state (DELETE_SUCCEEDED is excluded by default)
4432
4448
  :type state_eq: str
4433
4449
  :param state_neq: filter state
4434
4450
  :type state_neq: str
@@ -4785,7 +4801,9 @@ class DefaultApi:
4785
4801
  description_eq: Annotated[Optional[StrictStr], Field(description="filter description equal")] = None,
4786
4802
  description_neq: Annotated[Optional[StrictStr], Field(description="filter description not equal")] = None,
4787
4803
  description_like: Annotated[Optional[StrictStr], Field(description="filter description like")] = None,
4788
- state_eq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
4804
+ state_eq: Annotated[
4805
+ Optional[StrictStr], Field(description="filter state (DELETE_SUCCEEDED is excluded by default)")
4806
+ ] = None,
4789
4807
  state_neq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
4790
4808
  primary_name_server_eq: Annotated[
4791
4809
  Optional[StrictStr], Field(description="filter primary name server equal")
@@ -4872,7 +4890,7 @@ class DefaultApi:
4872
4890
  ) -> ListZonesResponse:
4873
4891
  """All get selected zones
4874
4892
 
4875
- All zone
4893
+ Retrieve all zones. By default, zones in the 'DELETE_SUCCEEDED' state are excluded. To retrieve them, explicitly specify 'state[eq]=DELETE_SUCCEEDED' in the query parameters.
4876
4894
 
4877
4895
  :param project_id: project id (required)
4878
4896
  :type project_id: str
@@ -4898,7 +4916,7 @@ class DefaultApi:
4898
4916
  :type description_neq: str
4899
4917
  :param description_like: filter description like
4900
4918
  :type description_like: str
4901
- :param state_eq: filter state
4919
+ :param state_eq: filter state (DELETE_SUCCEEDED is excluded by default)
4902
4920
  :type state_eq: str
4903
4921
  :param state_neq: filter state
4904
4922
  :type state_neq: str
@@ -5069,7 +5087,9 @@ class DefaultApi:
5069
5087
  description_eq: Annotated[Optional[StrictStr], Field(description="filter description equal")] = None,
5070
5088
  description_neq: Annotated[Optional[StrictStr], Field(description="filter description not equal")] = None,
5071
5089
  description_like: Annotated[Optional[StrictStr], Field(description="filter description like")] = None,
5072
- state_eq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
5090
+ state_eq: Annotated[
5091
+ Optional[StrictStr], Field(description="filter state (DELETE_SUCCEEDED is excluded by default)")
5092
+ ] = None,
5073
5093
  state_neq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
5074
5094
  primary_name_server_eq: Annotated[
5075
5095
  Optional[StrictStr], Field(description="filter primary name server equal")
@@ -5156,7 +5176,7 @@ class DefaultApi:
5156
5176
  ) -> ApiResponse[ListZonesResponse]:
5157
5177
  """All get selected zones
5158
5178
 
5159
- All zone
5179
+ Retrieve all zones. By default, zones in the 'DELETE_SUCCEEDED' state are excluded. To retrieve them, explicitly specify 'state[eq]=DELETE_SUCCEEDED' in the query parameters.
5160
5180
 
5161
5181
  :param project_id: project id (required)
5162
5182
  :type project_id: str
@@ -5182,7 +5202,7 @@ class DefaultApi:
5182
5202
  :type description_neq: str
5183
5203
  :param description_like: filter description like
5184
5204
  :type description_like: str
5185
- :param state_eq: filter state
5205
+ :param state_eq: filter state (DELETE_SUCCEEDED is excluded by default)
5186
5206
  :type state_eq: str
5187
5207
  :param state_neq: filter state
5188
5208
  :type state_neq: str
@@ -5353,7 +5373,9 @@ class DefaultApi:
5353
5373
  description_eq: Annotated[Optional[StrictStr], Field(description="filter description equal")] = None,
5354
5374
  description_neq: Annotated[Optional[StrictStr], Field(description="filter description not equal")] = None,
5355
5375
  description_like: Annotated[Optional[StrictStr], Field(description="filter description like")] = None,
5356
- state_eq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
5376
+ state_eq: Annotated[
5377
+ Optional[StrictStr], Field(description="filter state (DELETE_SUCCEEDED is excluded by default)")
5378
+ ] = None,
5357
5379
  state_neq: Annotated[Optional[StrictStr], Field(description="filter state")] = None,
5358
5380
  primary_name_server_eq: Annotated[
5359
5381
  Optional[StrictStr], Field(description="filter primary name server equal")
@@ -5440,7 +5462,7 @@ class DefaultApi:
5440
5462
  ) -> RESTResponseType:
5441
5463
  """All get selected zones
5442
5464
 
5443
- All zone
5465
+ Retrieve all zones. By default, zones in the 'DELETE_SUCCEEDED' state are excluded. To retrieve them, explicitly specify 'state[eq]=DELETE_SUCCEEDED' in the query parameters.
5444
5466
 
5445
5467
  :param project_id: project id (required)
5446
5468
  :type project_id: str
@@ -5466,7 +5488,7 @@ class DefaultApi:
5466
5488
  :type description_neq: str
5467
5489
  :param description_like: filter description like
5468
5490
  :type description_like: str
5469
- :param state_eq: filter state
5491
+ :param state_eq: filter state (DELETE_SUCCEEDED is excluded by default)
5470
5492
  :type state_eq: str
5471
5493
  :param state_neq: filter state
5472
5494
  :type state_neq: str
@@ -28,7 +28,7 @@ class CreateLabelPayload(BaseModel):
28
28
  CreateLabelPayload
29
29
  """ # noqa: E501
30
30
 
31
- key: Annotated[str, Field(min_length=1, strict=True, max_length=63)]
31
+ key: Annotated[str, Field(min_length=1, strict=True, max_length=314)]
32
32
  value: Optional[Annotated[str, Field(strict=True, max_length=63)]] = None
33
33
  __properties: ClassVar[List[str]] = ["key", "value"]
34
34
 
@@ -60,6 +60,11 @@ class CreateZonePayload(BaseModel):
60
60
  is_reverse_zone: Optional[StrictBool] = Field(
61
61
  default=False, description="if the zone is a reverse zone or not", alias="isReverseZone"
62
62
  )
63
+ labels_map: Optional[Dict[str, StrictStr]] = Field(
64
+ default=None,
65
+ description="labels for the zone - max 64 items. Keys: 1-314 chars (up to 250 prefix, 1 for slash, 1-63 the actual key). Values: 0-63 chars.",
66
+ alias="labelsMap",
67
+ )
63
68
  name: Annotated[str, Field(min_length=1, strict=True, max_length=63)] = Field(description="user given name")
64
69
  negative_cache: Optional[Annotated[int, Field(strict=True, ge=60)]] = Field(
65
70
  default=None, description="negative caching", alias="negativeCache"
@@ -81,6 +86,7 @@ class CreateZonePayload(BaseModel):
81
86
  "expireTime",
82
87
  "extensions",
83
88
  "isReverseZone",
89
+ "labelsMap",
84
90
  "name",
85
91
  "negativeCache",
86
92
  "primaries",
@@ -164,6 +170,7 @@ class CreateZonePayload(BaseModel):
164
170
  ZoneExtensions.from_dict(obj["extensions"]) if obj.get("extensions") is not None else None
165
171
  ),
166
172
  "isReverseZone": obj.get("isReverseZone") if obj.get("isReverseZone") is not None else False,
173
+ "labelsMap": obj.get("labelsMap"),
167
174
  "name": obj.get("name"),
168
175
  "negativeCache": obj.get("negativeCache"),
169
176
  "primaries": obj.get("primaries"),
@@ -28,7 +28,7 @@ class Label(BaseModel):
28
28
  Label
29
29
  """ # noqa: E501
30
30
 
31
- key: Annotated[str, Field(min_length=1, strict=True, max_length=63)]
31
+ key: Annotated[str, Field(min_length=1, strict=True, max_length=314)]
32
32
  value: Optional[Annotated[str, Field(strict=True, max_length=63)]] = None
33
33
  __properties: ClassVar[List[str]] = ["key", "value"]
34
34
 
@@ -22,7 +22,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr
22
22
  from pydantic_core import to_jsonable_python
23
23
  from typing_extensions import Annotated, Self
24
24
 
25
- from stackit.dns.models.zone_extensions import ZoneExtensions
25
+ from stackit.dns.models.domain_extensions import DomainExtensions
26
26
 
27
27
 
28
28
  class PartialUpdateZonePayload(BaseModel):
@@ -46,7 +46,12 @@ class PartialUpdateZonePayload(BaseModel):
46
46
  expire_time: Optional[Annotated[int, Field(strict=True, ge=60)]] = Field(
47
47
  default=1209600, description="expire time", alias="expireTime"
48
48
  )
49
- extensions: Optional[ZoneExtensions] = Field(default=None, description="optional extensions")
49
+ extensions: Optional[DomainExtensions] = Field(default=None, description="optional extensions")
50
+ labels_map: Optional[Dict[str, StrictStr]] = Field(
51
+ default=None,
52
+ description="labels for the zone - max 64 items. Keys: 1-314 chars (up to 250 prefix, 1 for slash, 1-63 the actual key). Values: 0-63 chars.",
53
+ alias="labelsMap",
54
+ )
50
55
  name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=63)]] = Field(
51
56
  default=None, description="user given name"
52
57
  )
@@ -67,6 +72,7 @@ class PartialUpdateZonePayload(BaseModel):
67
72
  "description",
68
73
  "expireTime",
69
74
  "extensions",
75
+ "labelsMap",
70
76
  "name",
71
77
  "negativeCache",
72
78
  "primaries",
@@ -135,8 +141,9 @@ class PartialUpdateZonePayload(BaseModel):
135
141
  "description": obj.get("description"),
136
142
  "expireTime": obj.get("expireTime") if obj.get("expireTime") is not None else 1209600,
137
143
  "extensions": (
138
- ZoneExtensions.from_dict(obj["extensions"]) if obj.get("extensions") is not None else None
144
+ DomainExtensions.from_dict(obj["extensions"]) if obj.get("extensions") is not None else None
139
145
  ),
146
+ "labelsMap": obj.get("labelsMap"),
140
147
  "name": obj.get("name"),
141
148
  "negativeCache": obj.get("negativeCache"),
142
149
  "primaries": obj.get("primaries"),
@@ -67,6 +67,9 @@ class Zone(BaseModel):
67
67
  default=None, description="if the zone is a reverse zone or not", alias="isReverseZone"
68
68
  )
69
69
  labels: Optional[List[Label]] = None
70
+ labels_map: Optional[Dict[str, StrictStr]] = Field(
71
+ default=None, description="labels for the zone", alias="labelsMap"
72
+ )
70
73
  name: Annotated[str, Field(min_length=1, strict=True, max_length=63)] = Field(description="user given name")
71
74
  negative_cache: Annotated[int, Field(le=99999999, strict=True, ge=60)] = Field(
72
75
  description="negative caching", alias="negativeCache"
@@ -105,6 +108,7 @@ class Zone(BaseModel):
105
108
  "id",
106
109
  "isReverseZone",
107
110
  "labels",
111
+ "labelsMap",
108
112
  "name",
109
113
  "negativeCache",
110
114
  "primaries",
@@ -233,6 +237,7 @@ class Zone(BaseModel):
233
237
  "labels": (
234
238
  [Label.from_dict(_item) for _item in obj["labels"]] if obj.get("labels") is not None else None
235
239
  ),
240
+ "labelsMap": obj.get("labelsMap"),
236
241
  "name": obj.get("name"),
237
242
  "negativeCache": obj.get("negativeCache"),
238
243
  "primaries": obj.get("primaries"),
File without changes
File without changes
File without changes
File without changes