SingleValueFilter

class oci.fleet_apps_management.models.SingleValueFilter(**kwargs)

Bases: oci.fleet_apps_management.models.filter.Filter

Content Source details.

Attributes

EXPRESSION_EQUAL A constant which can be used with the expression property of a SingleValueFilter.
EXPRESSION_GREATER_THAN A constant which can be used with the expression property of a SingleValueFilter.
EXPRESSION_GREATER_THAN_OR_EQUAL_TO A constant which can be used with the expression property of a SingleValueFilter.
EXPRESSION_LESS_THAN A constant which can be used with the expression property of a SingleValueFilter.
EXPRESSION_LESS_THAN_OR_EQUAL_TO A constant which can be used with the expression property of a SingleValueFilter.
EXPRESSION_NOT_EQUAL A constant which can be used with the expression property of a SingleValueFilter.
FILTER_TYPE_MULTI_VALUE str(object=’’) -> str
FILTER_TYPE_SINGLE_VALUE str(object=’’) -> str
expression [Required] Gets the expression of this SingleValueFilter.
field_name [Required] Gets the field_name of this Filter.
filter_type [Required] Gets the filter_type of this Filter.
value [Required] Gets the value of this SingleValueFilter.

Methods

__init__(**kwargs) Initializes a new SingleValueFilter 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.
EXPRESSION_EQUAL = 'EQUAL'

A constant which can be used with the expression property of a SingleValueFilter. This constant has a value of “EQUAL”

EXPRESSION_GREATER_THAN = 'GREATER_THAN'

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

EXPRESSION_GREATER_THAN_OR_EQUAL_TO = 'GREATER_THAN_OR_EQUAL_TO'

A constant which can be used with the expression property of a SingleValueFilter. This constant has a value of “GREATER_THAN_OR_EQUAL_TO”

EXPRESSION_LESS_THAN = 'LESS_THAN'

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

EXPRESSION_LESS_THAN_OR_EQUAL_TO = 'LESS_THAN_OR_EQUAL_TO'

A constant which can be used with the expression property of a SingleValueFilter. This constant has a value of “LESS_THAN_OR_EQUAL_TO”

EXPRESSION_NOT_EQUAL = 'NOT_EQUAL'

A constant which can be used with the expression property of a SingleValueFilter. This constant has a value of “NOT_EQUAL”

FILTER_TYPE_MULTI_VALUE = 'MULTI_VALUE'
FILTER_TYPE_SINGLE_VALUE = 'SINGLE_VALUE'
__init__(**kwargs)

Initializes a new SingleValueFilter object with values from keyword arguments. The default value of the filter_type attribute of this class is SINGLE_VALUE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • field_name (str) – The value to assign to the field_name property of this SingleValueFilter.
  • filter_type (str) – The value to assign to the filter_type property of this SingleValueFilter. Allowed values for this property are: “SINGLE_VALUE”, “MULTI_VALUE”
  • expression (str) – The value to assign to the expression property of this SingleValueFilter. Allowed values for this property are: “EQUAL”, “NOT_EQUAL”, “LESS_THAN”, “GREATER_THAN”, “LESS_THAN_OR_EQUAL_TO”, “GREATER_THAN_OR_EQUAL_TO”
  • value (str) – The value to assign to the value property of this SingleValueFilter.
expression

[Required] Gets the expression of this SingleValueFilter. Expression for Filter

Allowed values for this property are: “EQUAL”, “NOT_EQUAL”, “LESS_THAN”, “GREATER_THAN”, “LESS_THAN_OR_EQUAL_TO”, “GREATER_THAN_OR_EQUAL_TO”

Returns:The expression of this SingleValueFilter.
Return type:str
field_name

[Required] Gets the field_name of this Filter. Name of report.

Returns:The field_name of this Filter.
Return type:str
filter_type

[Required] Gets the filter_type of this Filter. Content Source type details.

Allowed values for this property are: “SINGLE_VALUE”, “MULTI_VALUE”

Returns:The filter_type of this Filter.
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.

value

[Required] Gets the value of this SingleValueFilter. Value.

Returns:The value of this SingleValueFilter.
Return type:str