Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.5 KB

File metadata and controls

34 lines (25 loc) · 1.5 KB

VPSV1FirewallFirewallResource

Properties

Name Type Description Notes
id int Firewall ID [optional]
name str Firewall name [optional]
is_synced bool Is current firewall synced with VPS [optional]
rules List[VPSV1FirewallFirewallRuleResource] Array of `VPS.V1.Firewall.FirewallRuleResource` [optional]
created_at datetime [optional]
updated_at datetime [optional]

Example

from hostinger_api.models.vpsv1_firewall_firewall_resource import VPSV1FirewallFirewallResource

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

# convert the object into a dict
vpsv1_firewall_firewall_resource_dict = vpsv1_firewall_firewall_resource_instance.to_dict()
# create an instance of VPSV1FirewallFirewallResource from a dict
vpsv1_firewall_firewall_resource_from_dict = VPSV1FirewallFirewallResource.from_dict(vpsv1_firewall_firewall_resource_dict)

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