Show / Hide Table of Contents

Class GenericConditionBlock

A condition block. This could represent a single condition, or have nested condition blocks under it. To form a single condition, specify the name, operator and value(s). To form nested conditions, specify the conditions in conditionBlocks, and how to join them in conditionBlocksOperator.

Inheritance
object
GenericConditionBlock
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class GenericConditionBlock

Properties

ConditionBlocksOperator

Declaration
[JsonProperty(PropertyName = "conditionBlocksOperator")]
[JsonConverter(typeof(ResponseEnumConverter))]
public GenericConditionBlock.ConditionBlocksOperatorEnum? ConditionBlocksOperator { get; set; }
Property Value
Type Description
GenericConditionBlock.ConditionBlocksOperatorEnum?

Operator using which the conditionBlocks should be joined. Specify this for nested conditions.

GenericConditionBlocks

Declaration
[JsonProperty(PropertyName = "genericConditionBlocks")]
public List<GenericConditionBlock> GenericConditionBlocks { get; set; }
Property Value
Type Description
List<GenericConditionBlock>

Condition blocks to evaluate within this condition block. Specify this for nested conditions.

Name

Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

The name of the field the condition is based on. Specify this if this condition block represents a single condition.

Operator

Declaration
[JsonProperty(PropertyName = "operator")]
public string Operator { get; set; }
Property Value
Type Description
string

The condition operator. Specify this if this condition block represents a single condition.

Value

Declaration
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
Property Value
Type Description
string

The condition value. Specify this if this condition block represents a single condition.

Values

Declaration
[JsonProperty(PropertyName = "values")]
public List<string> Values { get; set; }
Property Value
Type Description
List<string>

A list of condition values. Specify this if this condition block represents a single condition.

In this article
Back to top