Infoblox::Notification::REST::TemplateInstance - A REST API template instance.
The REST API template instance is used to configure REST API template setting for notification rule and REST API endpoint.
my $templ_instance = Infoblox::Notification::REST::TemplateInstance->new( template => $string, #Required parameters => [$param1, $param2, ...], #Optional / Default is empty list );
The object does not have any session methods.
This section describes all the functions that you can apply to REST API template instance object.
Use this method to set or retrieve the REST API template instance. See Infoblox::Notification::Rule->template_instance() for parameters and return values.
#Get template_instance value my $template_instance = $object->template_instance();
#Modify template_instance value $object->template_instance($instance);
Use this method to set or retrieve the REST API template instance. See Infoblox::Notification::REST::Endpoint->template_instance() for parameters and return values.
#Get template_instance value my $template_instance = $object->template_instance();
#Modify template_instance value $object->template_instance($instance);
This section describes all the methods that you can use to configure and retrieve the attribute values of a REST API template instance object.
Use this method to set or retrieve the REST API template name.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is an Infoblox::Notification::REST::Template object name.
If you have 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 template value my $template = $object->template();
#Modify template value $object->template('template1');
Use this method to set or retrieve the list of template parameters.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is array of Infoblox::Notification::REST::TemplateParameter objects.
If you have 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 parameters value my $parameters = $object->parameters();
#Modify parameters value $object->parameters([$param1, $param2]);
Infoblox Inc. http://www.infoblox.com/
Infoblox::Notification::REST::Template, Infoblox::Notification::REST::TemplateParameter
Copyright (c) 2017 Infoblox Inc.