Class: Killbill::Plugin::Model::TenantData
- Defined in:
- lib/killbill/gen/api/tenant_data.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
-
#external_key ⇒ Object
Returns the value of attribute external_key.
Instance Method Summary collapse
-
#initialize ⇒ TenantData
constructor
A new instance of TenantData.
- #to_java ⇒ Object
- #to_ruby(j_obj) ⇒ Object
Constructor Details
#initialize ⇒ TenantData
Returns a new instance of TenantData.
39 40 |
# File 'lib/killbill/gen/api/tenant_data.rb', line 39 def initialize() end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
37 38 39 |
# File 'lib/killbill/gen/api/tenant_data.rb', line 37 def api_key @api_key end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
37 38 39 |
# File 'lib/killbill/gen/api/tenant_data.rb', line 37 def api_secret @api_secret end |
#external_key ⇒ Object
Returns the value of attribute external_key.
37 38 39 |
# File 'lib/killbill/gen/api/tenant_data.rb', line 37 def external_key @external_key end |
Instance Method Details
#to_java ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/killbill/gen/api/tenant_data.rb', line 42 def to_java() # conversion for external_key [type = java.lang.String] @external_key = @external_key.to_s unless @external_key.nil? # conversion for api_key [type = java.lang.String] @api_key = @api_key.to_s unless @api_key.nil? # conversion for api_secret [type = java.lang.String] @api_secret = @api_secret.to_s unless @api_secret.nil? self end |
#to_ruby(j_obj) ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/killbill/gen/api/tenant_data.rb', line 54 def to_ruby(j_obj) # conversion for external_key [type = java.lang.String] @external_key = j_obj.external_key # conversion for api_key [type = java.lang.String] @api_key = j_obj.api_key # conversion for api_secret [type = java.lang.String] @api_secret = j_obj.api_secret self end |