Infoblox::Grid::EAExpressionOp - A extensible attribute expression operand object.


NAME

Infoblox::Grid::EAExpressionOp - A extensible attribute expression operand object.


DESCRIPTION

The extensible attribute expression operand object is used to build an extensible attribute expression lists. The allowed values for the expression operand object depend on the object they appear to be a part of.


CONSTRUCTOR

 my $expression = Infoblox::Grid::EAExpressionOp->new(
     op       => 'AND'| 'ENDLIST'| 'EQ'| 'EXISTS'| 'NOT_EQ'| 'NOT_EXISTS'| 'OR', # Required
     op1      => $ead,                                                           # Optional / Default is undefined
     op2      => $string,                                                        # Optional / Default is undefined
     op1_type => 'FIELD' | 'LIST' | 'STRING',                                    # Optional / Default is undefined
     op2_type => 'FIELD' | 'LIST' | 'STRING',                                    # Optional / Default is undefined
 );


SESSION METHODS

The object does not support any session methods.


MODULE METHODS

Infoblox::Grid::DNS::ReclamationSetting->ea_expression_list( )

Use this method to set or retrieve the ea_expression list. See Infoblox::Grid::DNS::ReclamationSetting->ea_expression_list() for parameters and return values.

Example
 #Get ea_expression_list value
 my $ea_expression_list = $object->ea_expression_list();
 #Modify ea_expression_list value
 $object->ea_expression_list([$start_list, $op1, $op2, $end_list]);


METHODS

op( )

Use this method to set or retrieve the operation name.

Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.

Parameter

The valid values are 'AND', 'ENDLIST', 'EQ', 'EXISTS', 'NOT_EQ', 'NOT_EXISTS' and 'OR'.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #Get op value
 my $op = $object->op();
 #Modify op value
 $object->op('AND');

op1( )

Use this method to set or retrieve the first operand value.

Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.

Parameter

The valid value is an Infoblox::Grid::ExtensibleAttributeDef object.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #Get op1 value
 my $op1 = $object->op1();
 #Modify op1 value
 $object->op1($ead);

op1_type( )

Use this method to set or retrieve the first operand type.

Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.

Parameter

The valid values are 'FIELD', 'LIST' and 'STRING'.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #Get op1_type value
 my $op1_type = $object->op1_type();
 #Modify op1_type value
 $object->op1_type('LIST');

op2( )

Use this method to set or retrieve the second operand value.

Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.

Parameter

The valid value is a string that contains the second operand value.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #Get op2 value
 my $op2 = $object->op2();
 #Modify op2 value
 $object->op2('OP2_VAL');

op2_type( )

Use this method to set or retrieve the second operand type.

Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.

Parameter

The valid values are 'FIELD', 'LIST' and 'STRING'.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #Get op2_type value
 my $op2_type = $object->op2_type();
 #Modify op2_type value
 $object->op2_type('STRING');


AUTHOR

Infoblox Inc. http://www.infoblox.com/


SEE ALSO

Infoblox::Grid::DNS::ReclamationSetting, Infoblox::Grid::DNS::ReclamationSetting->ea_expression_list(), Infoblox::Grid::ExtensibleAttributeDef,


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.