UpdateApplicationDetails

class oci.network_firewall.models.UpdateApplicationDetails(**kwargs)

Bases: object

Request for updating an existing application in context to the network firewall policy.

Attributes

TYPE_ICMP A constant which can be used with the type property of a UpdateApplicationDetails.
TYPE_ICMP_V6 A constant which can be used with the type property of a UpdateApplicationDetails.
description Gets the description of this UpdateApplicationDetails.
type [Required] Gets the type of this UpdateApplicationDetails.

Methods

__init__(**kwargs) Initializes a new UpdateApplicationDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TYPE_ICMP = 'ICMP'

A constant which can be used with the type property of a UpdateApplicationDetails. This constant has a value of “ICMP”

TYPE_ICMP_V6 = 'ICMP_V6'

A constant which can be used with the type property of a UpdateApplicationDetails. This constant has a value of “ICMP_V6”

__init__(**kwargs)

Initializes a new UpdateApplicationDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this UpdateApplicationDetails. Allowed values for this property are: “ICMP”, “ICMP_V6”
  • description (str) – The value to assign to the description property of this UpdateApplicationDetails.
description

Gets the description of this UpdateApplicationDetails. The description of the application. This field can be used to add additional info.

Returns:The description of this UpdateApplicationDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

type

[Required] Gets the type of this UpdateApplicationDetails. Describes the type of Application.

Allowed values for this property are: “ICMP”, “ICMP_V6”

Returns:The type of this UpdateApplicationDetails.
Return type:str