Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1514,9 +1514,9 @@ def list_vendor_subscriptions(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ListVendorSubscriptionsResponse:
"""List all subscriptions
"""List all subscriptions of a project.

List all subscriptions.
List all subscriptions of a project.

:param project_id: The project ID. (required)
:type project_id: str
Expand Down Expand Up @@ -1606,9 +1606,9 @@ def list_vendor_subscriptions_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[ListVendorSubscriptionsResponse]:
"""List all subscriptions
"""List all subscriptions of a project.

List all subscriptions.
List all subscriptions of a project.

:param project_id: The project ID. (required)
:type project_id: str
Expand Down Expand Up @@ -1698,9 +1698,9 @@ def list_vendor_subscriptions_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""List all subscriptions
"""List all subscriptions of a project.

List all subscriptions.
List all subscriptions of a project.

:param project_id: The project ID. (required)
:type project_id: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ class VendorSubscription(BaseModel):
"""

lifecycle_state: SubscriptionLifecycleState = Field(alias="lifecycleState")
organization_id: object = Field(alias="organizationId")
product: SubscriptionProduct
project_id: object = Field(alias="projectId")
subscription_id: object = Field(alias="subscriptionId")
__properties: ClassVar[List[str]] = ["lifecycleState", "product", "projectId", "subscriptionId"]
__properties: ClassVar[List[str]] = ["lifecycleState", "organizationId", "product", "projectId", "subscriptionId"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -92,6 +93,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate(
{
"lifecycleState": obj.get("lifecycleState"),
"organizationId": obj.get("organizationId"),
"product": SubscriptionProduct.from_dict(obj["product"]) if obj.get("product") is not None else None,
"projectId": obj.get("projectId"),
"subscriptionId": obj.get("subscriptionId"),
Expand Down
Loading