Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1003 Bytes

File metadata and controls

31 lines (22 loc) · 1003 Bytes

PolicySpec

Properties

Name Type Description Notes
config_map_name str Reference name of ConfigMap extension [optional]
display_name str Display name of policy
template_name str Reference name of PolicyTemplate

Example

from halo_client.models.policy_spec import PolicySpec

# TODO update the JSON string below
json = "{}"
# create an instance of PolicySpec from a JSON string
policy_spec_instance = PolicySpec.from_json(json)
# print the JSON string representation of the object
print(PolicySpec.to_json())

# convert the object into a dict
policy_spec_dict = policy_spec_instance.to_dict()
# create an instance of PolicySpec from a dict
policy_spec_from_dict = PolicySpec.from_dict(policy_spec_dict)

[Back to Model list] [Back to API list] [Back to README]