Class: IControl::LocalLB::ProfileUShort

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/local_lb.rb,
lib/icontrol/local_lb.rb

Overview

A structure that specifies an unsigned short used in profile attributes.

Instance Attribute Summary collapse

Instance Attribute Details

#default_flagObject

The flag that indicates how the value should be interpreted. On queries, if default_flag is true, that means the requested value is the parent profile’s value. If false, that means the requested value has been explicitly set. On creations/modifications, if default_flag is true, that means the parent profile’s value should be restored for this attribute value, hence the passed-in value is ignored. If false, that means the user wants to set the attribute value using the passed-in value.

Returns:

  • (Object)

    the current value of default_flag



517
518
519
# File 'lib/icontrol/local_lb.rb', line 517

def default_flag
  @default_flag
end

#valueNumeric

The attribute value.

Returns:

  • (Numeric)

    the current value of value



517
518
519
# File 'lib/icontrol/local_lb.rb', line 517

def value
  @value
end