Class: Killbill::Plugin::Model::NodeCommandProperty
- Defined in:
- lib/killbill/gen/api/node_command_property.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ NodeCommandProperty
constructor
A new instance of NodeCommandProperty.
- #to_java ⇒ Object
- #to_ruby(j_obj) ⇒ Object
Constructor Details
#initialize ⇒ NodeCommandProperty
Returns a new instance of NodeCommandProperty.
37 38 |
# File 'lib/killbill/gen/api/node_command_property.rb', line 37 def initialize() end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
35 36 37 |
# File 'lib/killbill/gen/api/node_command_property.rb', line 35 def key @key end |
#value ⇒ Object
Returns the value of attribute value.
35 36 37 |
# File 'lib/killbill/gen/api/node_command_property.rb', line 35 def value @value end |
Instance Method Details
#to_java ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'lib/killbill/gen/api/node_command_property.rb', line 40 def to_java() # conversion for key [type = java.lang.String] @key = @key.to_s unless @key.nil? # conversion for value [type = java.lang.Object] @value = @value.to_s unless @value.nil? Java::org.killbill.billing.util.nodes.NodeCommandProperty.new(@key, @value) end |
#to_ruby(j_obj) ⇒ Object
49 50 51 52 53 54 55 56 |
# File 'lib/killbill/gen/api/node_command_property.rb', line 49 def to_ruby(j_obj) # conversion for key [type = java.lang.String] @key = j_obj.key # conversion for value [type = java.lang.Object] @value = j_obj.value self end |