waldur-api-client 7.6.8__py3-none-any.whl → 7.7.0__py3-none-any.whl
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.
Potentially problematic release.
This version of waldur-api-client might be problematic. Click here for more details.
- waldur_api_client/api/broadcast_messages/broadcast_messages_schedule.py +89 -0
- waldur_api_client/api/call_proposal_project_role_mappings/call_proposal_project_role_mappings_create.py +152 -0
- waldur_api_client/api/call_proposal_project_role_mappings/call_proposal_project_role_mappings_destroy.py +89 -0
- waldur_api_client/api/call_proposal_project_role_mappings/call_proposal_project_role_mappings_list.py +194 -0
- waldur_api_client/api/call_proposal_project_role_mappings/call_proposal_project_role_mappings_partial_update.py +166 -0
- waldur_api_client/api/call_proposal_project_role_mappings/call_proposal_project_role_mappings_retrieve.py +144 -0
- waldur_api_client/api/call_proposal_project_role_mappings/call_proposal_project_role_mappings_update.py +166 -0
- waldur_api_client/api/invoices/invoices_list.py +0 -30
- waldur_api_client/api/invoices/invoices_stats_list.py +0 -30
- waldur_api_client/api/marketplace_maintenance_announcement_offerings/__init__.py +1 -0
- waldur_api_client/api/marketplace_maintenance_announcement_offerings/marketplace_maintenance_announcement_offerings_create.py +152 -0
- waldur_api_client/api/marketplace_maintenance_announcement_offerings/marketplace_maintenance_announcement_offerings_destroy.py +89 -0
- waldur_api_client/api/marketplace_maintenance_announcement_offerings/marketplace_maintenance_announcement_offerings_list.py +175 -0
- waldur_api_client/api/marketplace_maintenance_announcement_offerings/marketplace_maintenance_announcement_offerings_partial_update.py +166 -0
- waldur_api_client/api/marketplace_maintenance_announcement_offerings/marketplace_maintenance_announcement_offerings_retrieve.py +144 -0
- waldur_api_client/api/marketplace_maintenance_announcement_offerings/marketplace_maintenance_announcement_offerings_update.py +166 -0
- waldur_api_client/api/marketplace_maintenance_announcement_template_offerings/__init__.py +1 -0
- waldur_api_client/api/marketplace_maintenance_announcement_template_offerings/marketplace_maintenance_announcement_template_offerings_create.py +152 -0
- waldur_api_client/api/marketplace_maintenance_announcement_template_offerings/marketplace_maintenance_announcement_template_offerings_destroy.py +89 -0
- waldur_api_client/api/marketplace_maintenance_announcement_template_offerings/marketplace_maintenance_announcement_template_offerings_list.py +175 -0
- waldur_api_client/api/marketplace_maintenance_announcement_template_offerings/marketplace_maintenance_announcement_template_offerings_partial_update.py +168 -0
- waldur_api_client/api/marketplace_maintenance_announcement_template_offerings/marketplace_maintenance_announcement_template_offerings_retrieve.py +144 -0
- waldur_api_client/api/marketplace_maintenance_announcement_template_offerings/marketplace_maintenance_announcement_template_offerings_update.py +166 -0
- waldur_api_client/api/marketplace_maintenance_announcements/__init__.py +1 -0
- waldur_api_client/api/{autoprovisioning_rule_plans/autoprovisioning_rule_plans_create.py → marketplace_maintenance_announcements/marketplace_maintenance_announcements_create.py} +25 -23
- waldur_api_client/api/marketplace_maintenance_announcements/marketplace_maintenance_announcements_destroy.py +89 -0
- waldur_api_client/api/{autoprovisioning_rule_plans/autoprovisioning_rule_plans_list.py → marketplace_maintenance_announcements/marketplace_maintenance_announcements_list.py} +15 -13
- waldur_api_client/api/{autoprovisioning_rule_plans/autoprovisioning_rule_plans_partial_update.py → marketplace_maintenance_announcements/marketplace_maintenance_announcements_partial_update.py} +25 -23
- waldur_api_client/api/{autoprovisioning_rule_plans/autoprovisioning_rule_plans_retrieve.py → marketplace_maintenance_announcements/marketplace_maintenance_announcements_retrieve.py} +15 -13
- waldur_api_client/api/{autoprovisioning_rule_plans/autoprovisioning_rule_plans_update.py → marketplace_maintenance_announcements/marketplace_maintenance_announcements_update.py} +25 -23
- waldur_api_client/api/marketplace_maintenance_announcements_template/__init__.py +1 -0
- waldur_api_client/api/marketplace_maintenance_announcements_template/marketplace_maintenance_announcements_template_create.py +152 -0
- waldur_api_client/api/marketplace_maintenance_announcements_template/marketplace_maintenance_announcements_template_destroy.py +89 -0
- waldur_api_client/api/marketplace_maintenance_announcements_template/marketplace_maintenance_announcements_template_list.py +175 -0
- waldur_api_client/api/marketplace_maintenance_announcements_template/marketplace_maintenance_announcements_template_partial_update.py +166 -0
- waldur_api_client/api/marketplace_maintenance_announcements_template/marketplace_maintenance_announcements_template_retrieve.py +144 -0
- waldur_api_client/api/marketplace_maintenance_announcements_template/marketplace_maintenance_announcements_template_update.py +166 -0
- waldur_api_client/api/{autoprovisioning_rule_plans/autoprovisioning_rule_plans_destroy.py → marketplace_plans/marketplace_plans_destroy.py} +1 -1
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_offering_component.py +6 -6
- waldur_api_client/api/openstack_volume_types/openstack_volume_types_names_retrieve.py +118 -0
- waldur_api_client/models/__init__.py +52 -18
- waldur_api_client/models/constance_settings.py +22 -0
- waldur_api_client/models/constance_settings_request.py +22 -0
- waldur_api_client/models/event_types_enum.py +1 -0
- waldur_api_client/models/impact_level_enum.py +11 -0
- waldur_api_client/models/maintenance_announcement.py +225 -0
- waldur_api_client/models/maintenance_announcement_offering.py +112 -0
- waldur_api_client/models/maintenance_announcement_offering_request.py +95 -0
- waldur_api_client/models/maintenance_announcement_offering_template.py +112 -0
- waldur_api_client/models/maintenance_announcement_offering_template_request.py +95 -0
- waldur_api_client/models/maintenance_announcement_request.py +113 -0
- waldur_api_client/models/maintenance_announcement_state_enum.py +12 -0
- waldur_api_client/models/maintenance_announcement_template.py +134 -0
- waldur_api_client/models/maintenance_announcement_template_request.py +95 -0
- waldur_api_client/models/maintenance_type_enum.py +12 -0
- waldur_api_client/models/merged_plugin_options.py +1 -1
- waldur_api_client/models/merged_plugin_options_request.py +1 -1
- waldur_api_client/models/offering_component.py +15 -4
- waldur_api_client/models/patched_maintenance_announcement_offering_request.py +94 -0
- waldur_api_client/models/patched_maintenance_announcement_offering_template_request.py +94 -0
- waldur_api_client/models/patched_maintenance_announcement_request.py +128 -0
- waldur_api_client/models/patched_maintenance_announcement_template_request.py +94 -0
- waldur_api_client/models/patched_proposal_project_role_mapping_request.py +88 -0
- waldur_api_client/models/patched_protected_call_request.py +0 -17
- waldur_api_client/models/patched_rule_request.py +90 -1
- waldur_api_client/models/{patched_rule_plans_request_limits.py → patched_rule_request_plan_attributes.py} +5 -5
- waldur_api_client/models/patched_rule_request_plan_limits.py +44 -0
- waldur_api_client/models/proposal_project_role_mapping.py +122 -0
- waldur_api_client/models/proposal_project_role_mapping_request.py +89 -0
- waldur_api_client/models/proposal_protected_calls_list_field_item.py +0 -3
- waldur_api_client/models/proposal_protected_calls_retrieve_field_item.py +0 -3
- waldur_api_client/models/protected_call.py +0 -34
- waldur_api_client/models/protected_call_request.py +0 -17
- waldur_api_client/models/provider_offering_details.py +1 -1
- waldur_api_client/models/public_offering_details.py +1 -1
- waldur_api_client/models/rule.py +99 -7
- waldur_api_client/models/{rule_plans_attributes.py → rule_plan_attributes.py} +5 -5
- waldur_api_client/models/{rule_plans_limits.py → rule_plan_limits.py} +5 -5
- waldur_api_client/models/rule_request.py +89 -1
- waldur_api_client/models/{rule_plans_request_attributes.py → rule_request_plan_attributes.py} +5 -5
- waldur_api_client/models/{rule_plans_request_limits.py → rule_request_plan_limits.py} +5 -5
- waldur_api_client/models/update_offering_component_request.py +274 -0
- {waldur_api_client-7.6.8.dist-info → waldur_api_client-7.7.0.dist-info}/METADATA +1 -1
- {waldur_api_client-7.6.8.dist-info → waldur_api_client-7.7.0.dist-info}/RECORD +87 -40
- waldur_api_client/models/patched_rule_plans_request.py +0 -108
- waldur_api_client/models/patched_rule_plans_request_attributes.py +0 -44
- waldur_api_client/models/rule_plans.py +0 -126
- waldur_api_client/models/rule_plans_request.py +0 -109
- /waldur_api_client/api/{autoprovisioning_rule_plans → call_proposal_project_role_mappings}/__init__.py +0 -0
- {waldur_api_client-7.6.8.dist-info → waldur_api_client-7.7.0.dist-info}/LICENSE +0 -0
- {waldur_api_client-7.6.8.dist-info → waldur_api_client-7.7.0.dist-info}/WHEEL +0 -0
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
from collections.abc import Mapping
|
|
2
|
-
from typing import TYPE_CHECKING, Any, TypeVar, Union
|
|
3
|
-
|
|
4
|
-
from attrs import define as _attrs_define
|
|
5
|
-
from attrs import field as _attrs_field
|
|
6
|
-
|
|
7
|
-
from ..types import UNSET, Unset
|
|
8
|
-
|
|
9
|
-
if TYPE_CHECKING:
|
|
10
|
-
from ..models.rule_plans_request_attributes import RulePlansRequestAttributes
|
|
11
|
-
from ..models.rule_plans_request_limits import RulePlansRequestLimits
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
T = TypeVar("T", bound="RulePlansRequest")
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
@_attrs_define
|
|
18
|
-
class RulePlansRequest:
|
|
19
|
-
"""
|
|
20
|
-
Attributes:
|
|
21
|
-
rule (str):
|
|
22
|
-
plan (str):
|
|
23
|
-
attributes (Union[Unset, RulePlansRequestAttributes]):
|
|
24
|
-
limits (Union[Unset, RulePlansRequestLimits]):
|
|
25
|
-
"""
|
|
26
|
-
|
|
27
|
-
rule: str
|
|
28
|
-
plan: str
|
|
29
|
-
attributes: Union[Unset, "RulePlansRequestAttributes"] = UNSET
|
|
30
|
-
limits: Union[Unset, "RulePlansRequestLimits"] = UNSET
|
|
31
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
|
-
|
|
33
|
-
def to_dict(self) -> dict[str, Any]:
|
|
34
|
-
rule = self.rule
|
|
35
|
-
|
|
36
|
-
plan = self.plan
|
|
37
|
-
|
|
38
|
-
attributes: Union[Unset, dict[str, Any]] = UNSET
|
|
39
|
-
if not isinstance(self.attributes, Unset):
|
|
40
|
-
attributes = self.attributes.to_dict()
|
|
41
|
-
|
|
42
|
-
limits: Union[Unset, dict[str, Any]] = UNSET
|
|
43
|
-
if not isinstance(self.limits, Unset):
|
|
44
|
-
limits = self.limits.to_dict()
|
|
45
|
-
|
|
46
|
-
field_dict: dict[str, Any] = {}
|
|
47
|
-
field_dict.update(self.additional_properties)
|
|
48
|
-
field_dict.update(
|
|
49
|
-
{
|
|
50
|
-
"rule": rule,
|
|
51
|
-
"plan": plan,
|
|
52
|
-
}
|
|
53
|
-
)
|
|
54
|
-
if attributes is not UNSET:
|
|
55
|
-
field_dict["attributes"] = attributes
|
|
56
|
-
if limits is not UNSET:
|
|
57
|
-
field_dict["limits"] = limits
|
|
58
|
-
|
|
59
|
-
return field_dict
|
|
60
|
-
|
|
61
|
-
@classmethod
|
|
62
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
63
|
-
from ..models.rule_plans_request_attributes import RulePlansRequestAttributes
|
|
64
|
-
from ..models.rule_plans_request_limits import RulePlansRequestLimits
|
|
65
|
-
|
|
66
|
-
d = dict(src_dict)
|
|
67
|
-
rule = d.pop("rule")
|
|
68
|
-
|
|
69
|
-
plan = d.pop("plan")
|
|
70
|
-
|
|
71
|
-
_attributes = d.pop("attributes", UNSET)
|
|
72
|
-
attributes: Union[Unset, RulePlansRequestAttributes]
|
|
73
|
-
if isinstance(_attributes, Unset):
|
|
74
|
-
attributes = UNSET
|
|
75
|
-
else:
|
|
76
|
-
attributes = RulePlansRequestAttributes.from_dict(_attributes)
|
|
77
|
-
|
|
78
|
-
_limits = d.pop("limits", UNSET)
|
|
79
|
-
limits: Union[Unset, RulePlansRequestLimits]
|
|
80
|
-
if isinstance(_limits, Unset):
|
|
81
|
-
limits = UNSET
|
|
82
|
-
else:
|
|
83
|
-
limits = RulePlansRequestLimits.from_dict(_limits)
|
|
84
|
-
|
|
85
|
-
rule_plans_request = cls(
|
|
86
|
-
rule=rule,
|
|
87
|
-
plan=plan,
|
|
88
|
-
attributes=attributes,
|
|
89
|
-
limits=limits,
|
|
90
|
-
)
|
|
91
|
-
|
|
92
|
-
rule_plans_request.additional_properties = d
|
|
93
|
-
return rule_plans_request
|
|
94
|
-
|
|
95
|
-
@property
|
|
96
|
-
def additional_keys(self) -> list[str]:
|
|
97
|
-
return list(self.additional_properties.keys())
|
|
98
|
-
|
|
99
|
-
def __getitem__(self, key: str) -> Any:
|
|
100
|
-
return self.additional_properties[key]
|
|
101
|
-
|
|
102
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
103
|
-
self.additional_properties[key] = value
|
|
104
|
-
|
|
105
|
-
def __delitem__(self, key: str) -> None:
|
|
106
|
-
del self.additional_properties[key]
|
|
107
|
-
|
|
108
|
-
def __contains__(self, key: str) -> bool:
|
|
109
|
-
return key in self.additional_properties
|
|
File without changes
|
|
File without changes
|
|
File without changes
|