Infoblox::Notification::REST::TemplateParameter - A REST API template parameter.
The REST API template parameter is used to configure REST API template instance variables.
my $templ_parameter = Infoblox::Notification::REST::TemplateParameter->new( name => $string, # Required syntax => 'STR' | 'INT' | 'BOOL', # Required value => $string, # Optional / Default is undefined );
The object does not have any session methods.
This section describes all the functions that you can apply to REST API template parameter object.
Use this method to set or retrieve the list of REST API template parameters. See Infoblox::Notification::REST::TemplateInstance->parameters() for parameters and return values.
#Get parameters value my $parameters = $object->parameters();
#Modify parameters value $object->parameters([[$param1, $param2]);
This section describes all the methods that you can use to configure and retrieve the attribute values of a REST API template parameter object.
Use this method to retrieve the template parameter default value. This is a read-only attribute.
Omit the parameter to retrieve the attribute value.
None
The method returns the attribute value.
#Get default_value value my $default_value = $object->default_value();
Use this method to set or retrieve the template parameter name.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is desired name in string format.
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 name value my $name = $object->name();
#Modify name value $object->name('param1');
Use this method to set or retrieve the template parameter syntax.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid values are 'BOOL', 'STR' and 'INT'.
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 syntax value my $syntax = $object->syntax();
#Modify syntax value $object->syntax('INT');
Use this method to set or retrieve the template parameter value.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The desired value in string format.
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 value value my $value = $object->value();
#Modify value value $object->value('val');
Infoblox Inc. http://www.infoblox.com/
Infoblox::Notification::REST::TemplateInstance, Infoblox::Notification::REST::TemplateInstance->parameters()
Copyright (c) 2017 Infoblox Inc.