Class: Killbill::Plugin::Model::NodeCommandProperty

Inherits:
Object
  • Object
show all
Defined in:
lib/killbill/gen/api/node_command_property.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNodeCommandProperty

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

#keyObject

Returns the value of attribute key.



35
36
37
# File 'lib/killbill/gen/api/node_command_property.rb', line 35

def key
  @key
end

#valueObject

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_javaObject



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