ConditionOperator

class oci.cloud_guard.models.ConditionOperator(**kwargs)

Bases: object

Conditions related to the parameter data type.

Attributes:

NAME_AND

A constant which can be used with the name property of a ConditionOperator.

NAME_EQUALS

A constant which can be used with the name property of a ConditionOperator.

NAME_GREATER_THAN

A constant which can be used with the name property of a ConditionOperator.

NAME_IN

A constant which can be used with the name property of a ConditionOperator.

NAME_LESS_THAN

A constant which can be used with the name property of a ConditionOperator.

NAME_NOT_EQUALS

A constant which can be used with the name property of a ConditionOperator.

NAME_NOT_IN

A constant which can be used with the name property of a ConditionOperator.

NAME_OR

A constant which can be used with the name property of a ConditionOperator.

NAME_RANGE

A constant which can be used with the name property of a ConditionOperator.

display_name

[Required] Gets the display_name of this ConditionOperator.

name

[Required] Gets the name of this ConditionOperator.

Methods:

__init__(**kwargs)

Initializes a new ConditionOperator object with values from keyword arguments.

NAME_AND = 'AND'

A constant which can be used with the name property of a ConditionOperator. This constant has a value of “AND”

NAME_EQUALS = 'EQUALS'

A constant which can be used with the name property of a ConditionOperator. This constant has a value of “EQUALS”

NAME_GREATER_THAN = 'GREATER_THAN'

A constant which can be used with the name property of a ConditionOperator. This constant has a value of “GREATER_THAN”

NAME_IN = 'IN'

A constant which can be used with the name property of a ConditionOperator. This constant has a value of “IN”

NAME_LESS_THAN = 'LESS_THAN'

A constant which can be used with the name property of a ConditionOperator. This constant has a value of “LESS_THAN”

NAME_NOT_EQUALS = 'NOT_EQUALS'

A constant which can be used with the name property of a ConditionOperator. This constant has a value of “NOT_EQUALS”

NAME_NOT_IN = 'NOT_IN'

A constant which can be used with the name property of a ConditionOperator. This constant has a value of “NOT_IN”

NAME_OR = 'OR'

A constant which can be used with the name property of a ConditionOperator. This constant has a value of “OR”

NAME_RANGE = 'RANGE'

A constant which can be used with the name property of a ConditionOperator. This constant has a value of “RANGE”

__init__(**kwargs)

Initializes a new ConditionOperator object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • name (str) – The value to assign to the name property of this ConditionOperator. Allowed values for this property are: “AND”, “OR”, “IN”, “NOT_IN”, “EQUALS”, “NOT_EQUALS”, “LESS_THAN”, “GREATER_THAN”, “RANGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • display_name (str) – The value to assign to the display_name property of this ConditionOperator.

property display_name

[Required] Gets the display_name of this ConditionOperator. Display name of the operator

Returns

The display_name of this ConditionOperator.

Return type

str

property name

[Required] Gets the name of this ConditionOperator. Operator name

Allowed values for this property are: “AND”, “OR”, “IN”, “NOT_IN”, “EQUALS”, “NOT_EQUALS”, “LESS_THAN”, “GREATER_THAN”, “RANGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The name of this ConditionOperator.

Return type

str