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