Class: Appwrite::Models::BillingPlanSupportedAddons
- Inherits:
-
Object
- Object
- Appwrite::Models::BillingPlanSupportedAddons
- Defined in:
- lib/appwrite/models/billing_plan_supported_addons.rb
Instance Attribute Summary collapse
-
#baa ⇒ Object
readonly
Returns the value of attribute baa.
-
#premium_geo_db ⇒ Object
readonly
Returns the value of attribute premium_geo_db.
-
#premium_geo_db_org ⇒ Object
readonly
Returns the value of attribute premium_geo_db_org.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(baa:, premium_geo_db:, premium_geo_db_org:) ⇒ BillingPlanSupportedAddons
constructor
A new instance of BillingPlanSupportedAddons.
- #to_map ⇒ Object
Constructor Details
#initialize(baa:, premium_geo_db:, premium_geo_db_org:) ⇒ BillingPlanSupportedAddons
Returns a new instance of BillingPlanSupportedAddons.
10 11 12 13 14 15 16 17 18 |
# File 'lib/appwrite/models/billing_plan_supported_addons.rb', line 10 def initialize( baa:, premium_geo_db:, premium_geo_db_org: ) @baa = baa @premium_geo_db = premium_geo_db @premium_geo_db_org = premium_geo_db_org end |
Instance Attribute Details
#baa ⇒ Object (readonly)
Returns the value of attribute baa.
6 7 8 |
# File 'lib/appwrite/models/billing_plan_supported_addons.rb', line 6 def baa @baa end |
#premium_geo_db ⇒ Object (readonly)
Returns the value of attribute premium_geo_db.
7 8 9 |
# File 'lib/appwrite/models/billing_plan_supported_addons.rb', line 7 def premium_geo_db @premium_geo_db end |
#premium_geo_db_org ⇒ Object (readonly)
Returns the value of attribute premium_geo_db_org.
8 9 10 |
# File 'lib/appwrite/models/billing_plan_supported_addons.rb', line 8 def premium_geo_db_org @premium_geo_db_org end |
Class Method Details
.from(map:) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/appwrite/models/billing_plan_supported_addons.rb', line 20 def self.from(map:) BillingPlanSupportedAddons.new( baa: map["baa"], premium_geo_db: map["premiumGeoDB"], premium_geo_db_org: map["premiumGeoDBOrg"] ) end |
Instance Method Details
#to_map ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/appwrite/models/billing_plan_supported_addons.rb', line 28 def to_map { "baa": @baa, "premiumGeoDB": @premium_geo_db, "premiumGeoDBOrg": @premium_geo_db_org } end |