You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x_property_id: Annotated[StrictStr, Field(description="A numeric, comma-separated string representing the property IDs, sent in the header.")],
1493
-
enabled: Annotated[Enabled, Field(description="List only enabled segments.")],
1490
+
enabled: Annotated[StrictBool, Field(description="List only enabled segments.")],
1494
1491
offset: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The number of items to skip before starting to collect the result set. Used for pagination.")] =None,
1495
1492
limit: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The maximum number of items to return in the response. Default is 100.")] =None,
1496
1493
filters: Annotated[Optional[QueryParameterDynamicFilterSchema], Field(description="This parameter should be formatted as a list of strings separated by ;")] =None,
x_property_id: Annotated[StrictStr, Field(description="A numeric, comma-separated string representing the property IDs, sent in the header.")],
1578
-
enabled: Annotated[Enabled, Field(description="List only enabled segments.")],
1575
+
enabled: Annotated[StrictBool, Field(description="List only enabled segments.")],
1579
1576
offset: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The number of items to skip before starting to collect the result set. Used for pagination.")] =None,
1580
1577
limit: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The maximum number of items to return in the response. Default is 100.")] =None,
1581
1578
filters: Annotated[Optional[QueryParameterDynamicFilterSchema], Field(description="This parameter should be formatted as a list of strings separated by ;")] =None,
x_property_id: Annotated[StrictStr, Field(description="A numeric, comma-separated string representing the property IDs, sent in the header.")],
1663
-
enabled: Annotated[Enabled, Field(description="List only enabled segments.")],
1660
+
enabled: Annotated[StrictBool, Field(description="List only enabled segments.")],
1664
1661
offset: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The number of items to skip before starting to collect the result set. Used for pagination.")] =None,
1665
1662
limit: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The maximum number of items to return in the response. Default is 100.")] =None,
1666
1663
filters: Annotated[Optional[QueryParameterDynamicFilterSchema], Field(description="This parameter should be formatted as a list of strings separated by ;")] =None,
active: Annotated[StrictBool, Field(description="List only active reservations.")],
1828
1825
offset: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The number of items to skip before starting to collect the result set. Used for pagination.")] =None,
1829
1826
limit: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The maximum number of items to return in the response. Default is 100.")] =None,
active: Annotated[StrictBool, Field(description="List only active reservations.")],
1913
1910
offset: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The number of items to skip before starting to collect the result set. Used for pagination.")] =None,
1914
1911
limit: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The maximum number of items to return in the response. Default is 100.")] =None,
active: Annotated[StrictBool, Field(description="List only active reservations.")],
1998
1995
offset: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The number of items to skip before starting to collect the result set. Used for pagination.")] =None,
1999
1996
limit: Annotated[Optional[LimitOffsetPaginationSchema], Field(description="The maximum number of items to return in the response. Default is 100.")] =None,
x_property_id ='1,2,3'# str | A numeric, comma-separated string representing the property IDs, sent in the header.
446
-
enabled =cloudbeds_pms.Enabled()#Enabled | List only enabled segments.
445
+
enabled =false#bool | List only enabled segments.
447
446
offset = cloudbeds_pms.LimitOffsetPaginationSchema() # LimitOffsetPaginationSchema | The number of items to skip before starting to collect the result set. Used for pagination. (optional)
448
447
limit = cloudbeds_pms.LimitOffsetPaginationSchema() # LimitOffsetPaginationSchema | The maximum number of items to return in the response. Default is 100. (optional)
449
448
filters = cloudbeds_pms.QueryParameterDynamicFilterSchema() # QueryParameterDynamicFilterSchema | This parameter should be formatted as a list of strings separated by ; (optional)
@@ -465,7 +464,7 @@ with cloudbeds_pms.ApiClient(configuration) as api_client:
**x_property_id** | **str**| A numeric, comma-separated string representing the property IDs, sent in the header. |
468
-
**enabled** | [**Enabled**](.md)| List only enabled segments. |
467
+
**enabled** | **bool**| List only enabled segments. |
469
468
**offset** | [**LimitOffsetPaginationSchema**](.md)| The number of items to skip before starting to collect the result set. Used for pagination. | [optional]
470
469
**limit** | [**LimitOffsetPaginationSchema**](.md)| The maximum number of items to return in the response. Default is 100. | [optional]
471
470
**filters** | [**QueryParameterDynamicFilterSchema**](.md)| This parameter should be formatted as a list of strings separated by ; | [optional]
@@ -505,8 +504,6 @@ Get a list of reservations linked to a Market Segmentation Segment.
505
504
506
505
```python
507
506
import cloudbeds_pms
508
-
from cloudbeds_pms.models.active import Active
509
-
from cloudbeds_pms.models.id import Id
510
507
from cloudbeds_pms.models.limit_offset_pagination_schema import LimitOffsetPaginationSchema
511
508
from cloudbeds_pms.models.segment_list_reservations_response_schema import SegmentListReservationsResponseSchema
512
509
from cloudbeds_pms.rest import ApiException
@@ -530,8 +527,8 @@ with cloudbeds_pms.ApiClient(configuration) as api_client:
x_property_id ='1,2,3'# str | A numeric, comma-separated string representing the property IDs, sent in the header.
533
-
id=cloudbeds_pms.Id()#Id | Segment ID.
534
-
active =cloudbeds_pms.Active()#Active | List only active reservations.
530
+
id='1-b'#str | Segment ID.
531
+
active =false#bool | List only active reservations.
535
532
offset = cloudbeds_pms.LimitOffsetPaginationSchema() # LimitOffsetPaginationSchema | The number of items to skip before starting to collect the result set. Used for pagination. (optional)
536
533
limit = cloudbeds_pms.LimitOffsetPaginationSchema() # LimitOffsetPaginationSchema | The maximum number of items to return in the response. Default is 100. (optional)
537
534
@@ -552,8 +549,8 @@ with cloudbeds_pms.ApiClient(configuration) as api_client:
**x_property_id** | **str**| A numeric, comma-separated string representing the property IDs, sent in the header. |
555
-
**id** | [**Id**](.md)| Segment ID. |
556
-
**active** | [**Active**](.md)| List only active reservations. |
552
+
**id** | **str**| Segment ID. |
553
+
**active** | **bool**| List only active reservations. |
557
554
**offset** | [**LimitOffsetPaginationSchema**](.md)| The number of items to skip before starting to collect the result set. Used for pagination. | [optional]
558
555
**limit** | [**LimitOffsetPaginationSchema**](.md)| The maximum number of items to return in the response. Default is 100. | [optional]
0 commit comments