Infoblox::Grid::Extattr - an extensible attribute representation for an attribute.
An object that provides an extensible attribute representation for an attribute.
my $extattr = Infoblox::Grid::Extattr->new( value => $scalar | [$scalar1, $scalar2, ...], # required inheritance_operation => 'DELETE' | 'INHERIT' | 'OVERRIDE', # optional descendants_action => $descendants, # optional );
The object does not support any session methods.
This section describes all the methods that you can use to configure and retrieve the attribute values of the extensible attribute representation for an attribute.
Use this method to set the actions for extensible attributes that exist on descendants. This attribute is write-only and cannot be retrieved.
Valid value is an Infoblox::Grid::ExtensibleAttributeDef::Descendants object.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
#Modify attribute value $extattr->descendants_action($descendants);
Use this method to set the operation that will be performed on an extensible attribute. This attribute is write-only and cannot be retrieved.
Valid value is 'DELETE', 'INHERIT' or 'OVERRIDE'.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
#Modify attribute value $extattr->inheritance_operation('INHERIT');
Use this method to retrieve the object from which the extensible attribute was inherited. This attribute is read-only and cannot be set
This object is considered a 'partial' object. See Infoblox::Session->fill_partial_object() for more information on how it can be converted to a 'full' API object.
None.
The method returns the attribute value.
#Get attribute value my $value = $extattr->inheritance_source();
Use this method to set or retrieve the value of the extensible attribute representation for an attribute.
For email, URL, and string types, the value is a string with a maximum of 256 characters.
For a list, the value is a reference to an array of strings with a maximum of 64 characters.
For an integer, the value is an integer from -2147483648 through 2147483647.
For a date, the value is the number of seconds that have elapsed since January 1st, 1970 UTC or a string in YYYY-MM-DD format. Any date entered will be converted to an epoch time corresponding to that day at 11:01am UTC.
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.
#Get attribute value my $value = $extattr->value(); #Modify attribute value $extattr->value('www.infoblox.com');
Infoblox Inc. http://www.infoblox.com/
Infoblox::Session, Infoblox::Grid::ExtensibleAttributeDef::Descendants
Copyright (c) 2017 Infoblox Inc.