Infoblox::Grid::ExtensibleAttributeDef::Descendants - an action for the extensible attributes that exist on descendants.


NAME

Infoblox::Grid::ExtensibleAttributeDef::Descendants - an action for the extensible attributes that exist on descendants.


DESCRIPTION

An object that provides the action for extensible attributes that exist on descendants.


CONSTRUCTOR

 my $descendants = Infoblox::Grid::ExtensibleAttributeDef::Descendants->new(
    option_without_ea => "INHERIT" | "NOT_INHERIT",            # optional
    option_with_ea    => "RETAIN" | "CONVERT" | "INHERIT",     # optional
    option_delete_ea  => "RETAIN" | "REMOVE",                  # optional
 );


SESSION METHODS

The object does not support any session methods.


METHODS

This section describes all the methods that you can use to configure and retrieve attribute values of the extensible attributes that exist on descendants based on the corresponding action.

option_delete_ea( )

Use this method to set or retrieve the action for objects that contain inheritable extensible attributes if a parent object is deleted.

Parameter

Valid value is "RETAIN" or "REMOVE".

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 attribute value
 my $value = $descendants->option_delete_ea();
 #Modify attribute value
 $descendants->option_delete_ea('RETAIN');

option_with_ea( )

Use this method to set or retrieve the action for objects that contain inheritable extensible attributes.

Parameter

Valid value is "RETAIN", "CONVERT" or "INHERIT".

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 attribute value
 my $value = $descendants->option_with_ea();
 #Modify attribute value
 $descendants->option_with_ea('INHERIT');

option_without_ea( )

Use this method to set or retrieve the action for objects that do not contain inheritable extensible attributes.

Parameter

Valid value is "INHERIT" or "NOT_INHERIT".

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 attribute value
 my $value = $descendants->option_without_ea();
 #Modify attribute value
 $descendants->option_without_ea('NOT_INHERIT');


AUTHOR

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


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.