Class: Appwrite::Models::BillingPlan
- Inherits:
-
Object
- Object
- Appwrite::Models::BillingPlan
- Defined in:
- lib/appwrite/models/billing_plan.rb
Instance Attribute Summary collapse
-
#activity_logs ⇒ Object
readonly
Returns the value of attribute activity_logs.
-
#addons ⇒ Object
readonly
Returns the value of attribute addons.
-
#alert_limit ⇒ Object
readonly
Returns the value of attribute alert_limit.
-
#auth_phone ⇒ Object
readonly
Returns the value of attribute auth_phone.
-
#backup_policies ⇒ Object
readonly
Returns the value of attribute backup_policies.
-
#backups_enabled ⇒ Object
readonly
Returns the value of attribute backups_enabled.
-
#bandwidth ⇒ Object
readonly
Returns the value of attribute bandwidth.
-
#buckets ⇒ Object
readonly
Returns the value of attribute buckets.
-
#budget_cap_enabled ⇒ Object
readonly
Returns the value of attribute budget_cap_enabled.
-
#budgeting ⇒ Object
readonly
Returns the value of attribute budgeting.
-
#build_size ⇒ Object
readonly
Returns the value of attribute build_size.
-
#custom_smtp ⇒ Object
readonly
Returns the value of attribute custom_smtp.
-
#databases ⇒ Object
readonly
Returns the value of attribute databases.
-
#databases_allow_encrypt ⇒ Object
readonly
Returns the value of attribute databases_allow_encrypt.
-
#databases_batch_size ⇒ Object
readonly
Returns the value of attribute databases_batch_size.
-
#databases_reads ⇒ Object
readonly
Returns the value of attribute databases_reads.
-
#databases_writes ⇒ Object
readonly
Returns the value of attribute databases_writes.
-
#dedicated_databases ⇒ Object
readonly
Returns the value of attribute dedicated_databases.
-
#deployment_size ⇒ Object
readonly
Returns the value of attribute deployment_size.
-
#desc ⇒ Object
readonly
Returns the value of attribute desc.
-
#domains ⇒ Object
readonly
Returns the value of attribute domains.
-
#email_branding ⇒ Object
readonly
Returns the value of attribute email_branding.
-
#executions ⇒ Object
readonly
Returns the value of attribute executions.
-
#executions_retention_count ⇒ Object
readonly
Returns the value of attribute executions_retention_count.
-
#file_size ⇒ Object
readonly
Returns the value of attribute file_size.
-
#functions ⇒ Object
readonly
Returns the value of attribute functions.
-
#gb_hours ⇒ Object
readonly
Returns the value of attribute gb_hours.
-
#group ⇒ Object
readonly
Returns the value of attribute group.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#image_transformations ⇒ Object
readonly
Returns the value of attribute image_transformations.
-
#is_available ⇒ Object
readonly
Returns the value of attribute is_available.
-
#limits ⇒ Object
readonly
Returns the value of attribute limits.
-
#members ⇒ Object
readonly
Returns the value of attribute members.
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#order ⇒ Object
readonly
Returns the value of attribute order.
-
#platforms ⇒ Object
readonly
Returns the value of attribute platforms.
-
#premium_support ⇒ Object
readonly
Returns the value of attribute premium_support.
-
#price ⇒ Object
readonly
Returns the value of attribute price.
-
#program ⇒ Object
readonly
Returns the value of attribute program.
-
#project_inactivity_days ⇒ Object
readonly
Returns the value of attribute project_inactivity_days.
-
#projects ⇒ Object
readonly
Returns the value of attribute projects.
-
#realtime ⇒ Object
readonly
Returns the value of attribute realtime.
-
#realtime_messages ⇒ Object
readonly
Returns the value of attribute realtime_messages.
-
#requires_billing_address ⇒ Object
readonly
Returns the value of attribute requires_billing_address.
-
#requires_payment_method ⇒ Object
readonly
Returns the value of attribute requires_payment_method.
-
#screenshots_generated ⇒ Object
readonly
Returns the value of attribute screenshots_generated.
-
#self_service ⇒ Object
readonly
Returns the value of attribute self_service.
-
#sites ⇒ Object
readonly
Returns the value of attribute sites.
-
#storage ⇒ Object
readonly
Returns the value of attribute storage.
-
#supported_addons ⇒ Object
readonly
Returns the value of attribute supported_addons.
-
#supports_canonical_email_validation ⇒ Object
readonly
Returns the value of attribute supports_canonical_email_validation.
-
#supports_corporate_email_validation ⇒ Object
readonly
Returns the value of attribute supports_corporate_email_validation.
-
#supports_credits ⇒ Object
readonly
Returns the value of attribute supports_credits.
-
#supports_disposable_email_validation ⇒ Object
readonly
Returns the value of attribute supports_disposable_email_validation.
-
#supports_free_email_validation ⇒ Object
readonly
Returns the value of attribute supports_free_email_validation.
-
#supports_mock_numbers ⇒ Object
readonly
Returns the value of attribute supports_mock_numbers.
-
#supports_organization_roles ⇒ Object
readonly
Returns the value of attribute supports_organization_roles.
-
#supports_project_specific_roles ⇒ Object
readonly
Returns the value of attribute supports_project_specific_roles.
-
#teams ⇒ Object
readonly
Returns the value of attribute teams.
-
#topics ⇒ Object
readonly
Returns the value of attribute topics.
-
#trial ⇒ Object
readonly
Returns the value of attribute trial.
-
#usage ⇒ Object
readonly
Returns the value of attribute usage.
-
#usage_logs ⇒ Object
readonly
Returns the value of attribute usage_logs.
-
#usage_logs_intervals ⇒ Object
readonly
Returns the value of attribute usage_logs_intervals.
-
#usage_per_project ⇒ Object
readonly
Returns the value of attribute usage_per_project.
-
#users ⇒ Object
readonly
Returns the value of attribute users.
-
#webhooks ⇒ Object
readonly
Returns the value of attribute webhooks.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, name:, desc:, order:, price:, trial:, bandwidth:, storage:, image_transformations:, screenshots_generated:, members:, webhooks:, projects:, platforms:, users:, teams:, databases:, databases_reads:, databases_writes:, databases_batch_size:, buckets:, file_size:, functions:, sites:, executions:, executions_retention_count:, gb_hours:, realtime:, realtime_messages:, messages:, topics:, auth_phone:, domains:, activity_logs:, usage_logs:, usage_logs_intervals:, project_inactivity_days:, alert_limit:, usage:, addons:, budget_cap_enabled:, custom_smtp:, email_branding:, requires_payment_method:, requires_billing_address:, is_available:, self_service:, premium_support:, budgeting:, supports_mock_numbers:, supports_organization_roles:, supports_credits:, supports_disposable_email_validation:, supports_canonical_email_validation:, supports_free_email_validation:, supports_corporate_email_validation:, supports_project_specific_roles:, backups_enabled:, usage_per_project:, supported_addons:, backup_policies:, deployment_size:, build_size:, databases_allow_encrypt:, limits:, group:, program:, dedicated_databases:) ⇒ BillingPlan
constructor
A new instance of BillingPlan.
- #to_map ⇒ Object
Constructor Details
#initialize(id:, name:, desc:, order:, price:, trial:, bandwidth:, storage:, image_transformations:, screenshots_generated:, members:, webhooks:, projects:, platforms:, users:, teams:, databases:, databases_reads:, databases_writes:, databases_batch_size:, buckets:, file_size:, functions:, sites:, executions:, executions_retention_count:, gb_hours:, realtime:, realtime_messages:, messages:, topics:, auth_phone:, domains:, activity_logs:, usage_logs:, usage_logs_intervals:, project_inactivity_days:, alert_limit:, usage:, addons:, budget_cap_enabled:, custom_smtp:, email_branding:, requires_payment_method:, requires_billing_address:, is_available:, self_service:, premium_support:, budgeting:, supports_mock_numbers:, supports_organization_roles:, supports_credits:, supports_disposable_email_validation:, supports_canonical_email_validation:, supports_free_email_validation:, supports_corporate_email_validation:, supports_project_specific_roles:, backups_enabled:, usage_per_project:, supported_addons:, backup_policies:, deployment_size:, build_size:, databases_allow_encrypt:, limits:, group:, program:, dedicated_databases:) ⇒ BillingPlan
Returns a new instance of BillingPlan.
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
# File 'lib/appwrite/models/billing_plan.rb', line 75 def initialize( id:, name:, desc:, order:, price:, trial:, bandwidth:, storage:, image_transformations:, screenshots_generated:, members:, webhooks:, projects:, platforms:, users:, teams:, databases:, databases_reads:, databases_writes:, databases_batch_size:, buckets:, file_size:, functions:, sites:, executions:, executions_retention_count:, gb_hours:, realtime:, realtime_messages:, messages:, topics:, auth_phone:, domains:, activity_logs:, usage_logs:, usage_logs_intervals: , project_inactivity_days:, alert_limit:, usage:, addons:, budget_cap_enabled:, custom_smtp:, email_branding:, requires_payment_method:, requires_billing_address:, is_available:, self_service:, premium_support:, budgeting:, supports_mock_numbers:, supports_organization_roles:, supports_credits:, supports_disposable_email_validation:, supports_canonical_email_validation:, supports_free_email_validation:, supports_corporate_email_validation:, supports_project_specific_roles:, backups_enabled:, usage_per_project:, supported_addons:, backup_policies:, deployment_size:, build_size:, databases_allow_encrypt:, limits: , group:, program: , dedicated_databases: ) @id = id @name = name @desc = desc @order = order @price = price @trial = trial @bandwidth = bandwidth @storage = storage @image_transformations = image_transformations @screenshots_generated = screenshots_generated @members = members @webhooks = webhooks @projects = projects @platforms = platforms @users = users @teams = teams @databases = databases @databases_reads = databases_reads @databases_writes = databases_writes @databases_batch_size = databases_batch_size @buckets = buckets @file_size = file_size @functions = functions @sites = sites @executions = executions @executions_retention_count = executions_retention_count @gb_hours = gb_hours @realtime = realtime @realtime_messages = @messages = @topics = topics @auth_phone = auth_phone @domains = domains @activity_logs = activity_logs @usage_logs = usage_logs @usage_logs_intervals = usage_logs_intervals @project_inactivity_days = project_inactivity_days @alert_limit = alert_limit @usage = usage @addons = addons @budget_cap_enabled = budget_cap_enabled @custom_smtp = custom_smtp @email_branding = email_branding @requires_payment_method = requires_payment_method @requires_billing_address = requires_billing_address @is_available = is_available @self_service = self_service @premium_support = premium_support @budgeting = budgeting @supports_mock_numbers = supports_mock_numbers @supports_organization_roles = supports_organization_roles @supports_credits = supports_credits @supports_disposable_email_validation = supports_disposable_email_validation @supports_canonical_email_validation = supports_canonical_email_validation @supports_free_email_validation = supports_free_email_validation @supports_corporate_email_validation = supports_corporate_email_validation @supports_project_specific_roles = supports_project_specific_roles @backups_enabled = backups_enabled @usage_per_project = usage_per_project @supported_addons = supported_addons @backup_policies = backup_policies @deployment_size = deployment_size @build_size = build_size @databases_allow_encrypt = databases_allow_encrypt @limits = limits @group = validate_group(group) @program = program @dedicated_databases = dedicated_databases end |
Instance Attribute Details
#activity_logs ⇒ Object (readonly)
Returns the value of attribute activity_logs.
39 40 41 |
# File 'lib/appwrite/models/billing_plan.rb', line 39 def activity_logs @activity_logs end |
#addons ⇒ Object (readonly)
Returns the value of attribute addons.
45 46 47 |
# File 'lib/appwrite/models/billing_plan.rb', line 45 def addons @addons end |
#alert_limit ⇒ Object (readonly)
Returns the value of attribute alert_limit.
43 44 45 |
# File 'lib/appwrite/models/billing_plan.rb', line 43 def alert_limit @alert_limit end |
#auth_phone ⇒ Object (readonly)
Returns the value of attribute auth_phone.
37 38 39 |
# File 'lib/appwrite/models/billing_plan.rb', line 37 def auth_phone @auth_phone end |
#backup_policies ⇒ Object (readonly)
Returns the value of attribute backup_policies.
66 67 68 |
# File 'lib/appwrite/models/billing_plan.rb', line 66 def backup_policies @backup_policies end |
#backups_enabled ⇒ Object (readonly)
Returns the value of attribute backups_enabled.
63 64 65 |
# File 'lib/appwrite/models/billing_plan.rb', line 63 def backups_enabled @backups_enabled end |
#bandwidth ⇒ Object (readonly)
Returns the value of attribute bandwidth.
12 13 14 |
# File 'lib/appwrite/models/billing_plan.rb', line 12 def bandwidth @bandwidth end |
#buckets ⇒ Object (readonly)
Returns the value of attribute buckets.
26 27 28 |
# File 'lib/appwrite/models/billing_plan.rb', line 26 def buckets @buckets end |
#budget_cap_enabled ⇒ Object (readonly)
Returns the value of attribute budget_cap_enabled.
46 47 48 |
# File 'lib/appwrite/models/billing_plan.rb', line 46 def budget_cap_enabled @budget_cap_enabled end |
#budgeting ⇒ Object (readonly)
Returns the value of attribute budgeting.
54 55 56 |
# File 'lib/appwrite/models/billing_plan.rb', line 54 def budgeting @budgeting end |
#build_size ⇒ Object (readonly)
Returns the value of attribute build_size.
68 69 70 |
# File 'lib/appwrite/models/billing_plan.rb', line 68 def build_size @build_size end |
#custom_smtp ⇒ Object (readonly)
Returns the value of attribute custom_smtp.
47 48 49 |
# File 'lib/appwrite/models/billing_plan.rb', line 47 def custom_smtp @custom_smtp end |
#databases ⇒ Object (readonly)
Returns the value of attribute databases.
22 23 24 |
# File 'lib/appwrite/models/billing_plan.rb', line 22 def databases @databases end |
#databases_allow_encrypt ⇒ Object (readonly)
Returns the value of attribute databases_allow_encrypt.
69 70 71 |
# File 'lib/appwrite/models/billing_plan.rb', line 69 def databases_allow_encrypt @databases_allow_encrypt end |
#databases_batch_size ⇒ Object (readonly)
Returns the value of attribute databases_batch_size.
25 26 27 |
# File 'lib/appwrite/models/billing_plan.rb', line 25 def databases_batch_size @databases_batch_size end |
#databases_reads ⇒ Object (readonly)
Returns the value of attribute databases_reads.
23 24 25 |
# File 'lib/appwrite/models/billing_plan.rb', line 23 def databases_reads @databases_reads end |
#databases_writes ⇒ Object (readonly)
Returns the value of attribute databases_writes.
24 25 26 |
# File 'lib/appwrite/models/billing_plan.rb', line 24 def databases_writes @databases_writes end |
#dedicated_databases ⇒ Object (readonly)
Returns the value of attribute dedicated_databases.
73 74 75 |
# File 'lib/appwrite/models/billing_plan.rb', line 73 def dedicated_databases @dedicated_databases end |
#deployment_size ⇒ Object (readonly)
Returns the value of attribute deployment_size.
67 68 69 |
# File 'lib/appwrite/models/billing_plan.rb', line 67 def deployment_size @deployment_size end |
#desc ⇒ Object (readonly)
Returns the value of attribute desc.
8 9 10 |
# File 'lib/appwrite/models/billing_plan.rb', line 8 def desc @desc end |
#domains ⇒ Object (readonly)
Returns the value of attribute domains.
38 39 40 |
# File 'lib/appwrite/models/billing_plan.rb', line 38 def domains @domains end |
#email_branding ⇒ Object (readonly)
Returns the value of attribute email_branding.
48 49 50 |
# File 'lib/appwrite/models/billing_plan.rb', line 48 def email_branding @email_branding end |
#executions ⇒ Object (readonly)
Returns the value of attribute executions.
30 31 32 |
# File 'lib/appwrite/models/billing_plan.rb', line 30 def executions @executions end |
#executions_retention_count ⇒ Object (readonly)
Returns the value of attribute executions_retention_count.
31 32 33 |
# File 'lib/appwrite/models/billing_plan.rb', line 31 def executions_retention_count @executions_retention_count end |
#file_size ⇒ Object (readonly)
Returns the value of attribute file_size.
27 28 29 |
# File 'lib/appwrite/models/billing_plan.rb', line 27 def file_size @file_size end |
#functions ⇒ Object (readonly)
Returns the value of attribute functions.
28 29 30 |
# File 'lib/appwrite/models/billing_plan.rb', line 28 def functions @functions end |
#gb_hours ⇒ Object (readonly)
Returns the value of attribute gb_hours.
32 33 34 |
# File 'lib/appwrite/models/billing_plan.rb', line 32 def gb_hours @gb_hours end |
#group ⇒ Object (readonly)
Returns the value of attribute group.
71 72 73 |
# File 'lib/appwrite/models/billing_plan.rb', line 71 def group @group end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/appwrite/models/billing_plan.rb', line 6 def id @id end |
#image_transformations ⇒ Object (readonly)
Returns the value of attribute image_transformations.
14 15 16 |
# File 'lib/appwrite/models/billing_plan.rb', line 14 def image_transformations @image_transformations end |
#is_available ⇒ Object (readonly)
Returns the value of attribute is_available.
51 52 53 |
# File 'lib/appwrite/models/billing_plan.rb', line 51 def is_available @is_available end |
#limits ⇒ Object (readonly)
Returns the value of attribute limits.
70 71 72 |
# File 'lib/appwrite/models/billing_plan.rb', line 70 def limits @limits end |
#members ⇒ Object (readonly)
Returns the value of attribute members.
16 17 18 |
# File 'lib/appwrite/models/billing_plan.rb', line 16 def members @members end |
#messages ⇒ Object (readonly)
Returns the value of attribute messages.
35 36 37 |
# File 'lib/appwrite/models/billing_plan.rb', line 35 def @messages end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/appwrite/models/billing_plan.rb', line 7 def name @name end |
#order ⇒ Object (readonly)
Returns the value of attribute order.
9 10 11 |
# File 'lib/appwrite/models/billing_plan.rb', line 9 def order @order end |
#platforms ⇒ Object (readonly)
Returns the value of attribute platforms.
19 20 21 |
# File 'lib/appwrite/models/billing_plan.rb', line 19 def platforms @platforms end |
#premium_support ⇒ Object (readonly)
Returns the value of attribute premium_support.
53 54 55 |
# File 'lib/appwrite/models/billing_plan.rb', line 53 def premium_support @premium_support end |
#price ⇒ Object (readonly)
Returns the value of attribute price.
10 11 12 |
# File 'lib/appwrite/models/billing_plan.rb', line 10 def price @price end |
#program ⇒ Object (readonly)
Returns the value of attribute program.
72 73 74 |
# File 'lib/appwrite/models/billing_plan.rb', line 72 def program @program end |
#project_inactivity_days ⇒ Object (readonly)
Returns the value of attribute project_inactivity_days.
42 43 44 |
# File 'lib/appwrite/models/billing_plan.rb', line 42 def project_inactivity_days @project_inactivity_days end |
#projects ⇒ Object (readonly)
Returns the value of attribute projects.
18 19 20 |
# File 'lib/appwrite/models/billing_plan.rb', line 18 def projects @projects end |
#realtime ⇒ Object (readonly)
Returns the value of attribute realtime.
33 34 35 |
# File 'lib/appwrite/models/billing_plan.rb', line 33 def realtime @realtime end |
#realtime_messages ⇒ Object (readonly)
Returns the value of attribute realtime_messages.
34 35 36 |
# File 'lib/appwrite/models/billing_plan.rb', line 34 def @realtime_messages end |
#requires_billing_address ⇒ Object (readonly)
Returns the value of attribute requires_billing_address.
50 51 52 |
# File 'lib/appwrite/models/billing_plan.rb', line 50 def requires_billing_address @requires_billing_address end |
#requires_payment_method ⇒ Object (readonly)
Returns the value of attribute requires_payment_method.
49 50 51 |
# File 'lib/appwrite/models/billing_plan.rb', line 49 def requires_payment_method @requires_payment_method end |
#screenshots_generated ⇒ Object (readonly)
Returns the value of attribute screenshots_generated.
15 16 17 |
# File 'lib/appwrite/models/billing_plan.rb', line 15 def screenshots_generated @screenshots_generated end |
#self_service ⇒ Object (readonly)
Returns the value of attribute self_service.
52 53 54 |
# File 'lib/appwrite/models/billing_plan.rb', line 52 def self_service @self_service end |
#sites ⇒ Object (readonly)
Returns the value of attribute sites.
29 30 31 |
# File 'lib/appwrite/models/billing_plan.rb', line 29 def sites @sites end |
#storage ⇒ Object (readonly)
Returns the value of attribute storage.
13 14 15 |
# File 'lib/appwrite/models/billing_plan.rb', line 13 def storage @storage end |
#supported_addons ⇒ Object (readonly)
Returns the value of attribute supported_addons.
65 66 67 |
# File 'lib/appwrite/models/billing_plan.rb', line 65 def supported_addons @supported_addons end |
#supports_canonical_email_validation ⇒ Object (readonly)
Returns the value of attribute supports_canonical_email_validation.
59 60 61 |
# File 'lib/appwrite/models/billing_plan.rb', line 59 def supports_canonical_email_validation @supports_canonical_email_validation end |
#supports_corporate_email_validation ⇒ Object (readonly)
Returns the value of attribute supports_corporate_email_validation.
61 62 63 |
# File 'lib/appwrite/models/billing_plan.rb', line 61 def supports_corporate_email_validation @supports_corporate_email_validation end |
#supports_credits ⇒ Object (readonly)
Returns the value of attribute supports_credits.
57 58 59 |
# File 'lib/appwrite/models/billing_plan.rb', line 57 def supports_credits @supports_credits end |
#supports_disposable_email_validation ⇒ Object (readonly)
Returns the value of attribute supports_disposable_email_validation.
58 59 60 |
# File 'lib/appwrite/models/billing_plan.rb', line 58 def supports_disposable_email_validation @supports_disposable_email_validation end |
#supports_free_email_validation ⇒ Object (readonly)
Returns the value of attribute supports_free_email_validation.
60 61 62 |
# File 'lib/appwrite/models/billing_plan.rb', line 60 def supports_free_email_validation @supports_free_email_validation end |
#supports_mock_numbers ⇒ Object (readonly)
Returns the value of attribute supports_mock_numbers.
55 56 57 |
# File 'lib/appwrite/models/billing_plan.rb', line 55 def supports_mock_numbers @supports_mock_numbers end |
#supports_organization_roles ⇒ Object (readonly)
Returns the value of attribute supports_organization_roles.
56 57 58 |
# File 'lib/appwrite/models/billing_plan.rb', line 56 def supports_organization_roles @supports_organization_roles end |
#supports_project_specific_roles ⇒ Object (readonly)
Returns the value of attribute supports_project_specific_roles.
62 63 64 |
# File 'lib/appwrite/models/billing_plan.rb', line 62 def supports_project_specific_roles @supports_project_specific_roles end |
#teams ⇒ Object (readonly)
Returns the value of attribute teams.
21 22 23 |
# File 'lib/appwrite/models/billing_plan.rb', line 21 def teams @teams end |
#topics ⇒ Object (readonly)
Returns the value of attribute topics.
36 37 38 |
# File 'lib/appwrite/models/billing_plan.rb', line 36 def topics @topics end |
#trial ⇒ Object (readonly)
Returns the value of attribute trial.
11 12 13 |
# File 'lib/appwrite/models/billing_plan.rb', line 11 def trial @trial end |
#usage ⇒ Object (readonly)
Returns the value of attribute usage.
44 45 46 |
# File 'lib/appwrite/models/billing_plan.rb', line 44 def usage @usage end |
#usage_logs ⇒ Object (readonly)
Returns the value of attribute usage_logs.
40 41 42 |
# File 'lib/appwrite/models/billing_plan.rb', line 40 def usage_logs @usage_logs end |
#usage_logs_intervals ⇒ Object (readonly)
Returns the value of attribute usage_logs_intervals.
41 42 43 |
# File 'lib/appwrite/models/billing_plan.rb', line 41 def usage_logs_intervals @usage_logs_intervals end |
#usage_per_project ⇒ Object (readonly)
Returns the value of attribute usage_per_project.
64 65 66 |
# File 'lib/appwrite/models/billing_plan.rb', line 64 def usage_per_project @usage_per_project end |
#users ⇒ Object (readonly)
Returns the value of attribute users.
20 21 22 |
# File 'lib/appwrite/models/billing_plan.rb', line 20 def users @users end |
#webhooks ⇒ Object (readonly)
Returns the value of attribute webhooks.
17 18 19 |
# File 'lib/appwrite/models/billing_plan.rb', line 17 def webhooks @webhooks end |
Class Method Details
.from(map:) ⇒ Object
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 |
# File 'lib/appwrite/models/billing_plan.rb', line 215 def self.from(map:) BillingPlan.new( id: map["$id"], name: map["name"], desc: map["desc"], order: map["order"], price: map["price"], trial: map["trial"], bandwidth: map["bandwidth"], storage: map["storage"], image_transformations: map["imageTransformations"], screenshots_generated: map["screenshotsGenerated"], members: map["members"], webhooks: map["webhooks"], projects: map["projects"], platforms: map["platforms"], users: map["users"], teams: map["teams"], databases: map["databases"], databases_reads: map["databasesReads"], databases_writes: map["databasesWrites"], databases_batch_size: map["databasesBatchSize"], buckets: map["buckets"], file_size: map["fileSize"], functions: map["functions"], sites: map["sites"], executions: map["executions"], executions_retention_count: map["executionsRetentionCount"], gb_hours: map["GBHours"], realtime: map["realtime"], realtime_messages: map["realtimeMessages"], messages: map["messages"], topics: map["topics"], auth_phone: map["authPhone"], domains: map["domains"], activity_logs: map["activityLogs"], usage_logs: map["usageLogs"], usage_logs_intervals: map["usageLogsIntervals"], project_inactivity_days: map["projectInactivityDays"], alert_limit: map["alertLimit"], usage: UsageBillingPlan.from(map: map["usage"]), addons: BillingPlanAddon.from(map: map["addons"]), budget_cap_enabled: map["budgetCapEnabled"], custom_smtp: map["customSmtp"], email_branding: map["emailBranding"], requires_payment_method: map["requiresPaymentMethod"], requires_billing_address: map["requiresBillingAddress"], is_available: map["isAvailable"], self_service: map["selfService"], premium_support: map["premiumSupport"], budgeting: map["budgeting"], supports_mock_numbers: map["supportsMockNumbers"], supports_organization_roles: map["supportsOrganizationRoles"], supports_credits: map["supportsCredits"], supports_disposable_email_validation: map["supportsDisposableEmailValidation"], supports_canonical_email_validation: map["supportsCanonicalEmailValidation"], supports_free_email_validation: map["supportsFreeEmailValidation"], supports_corporate_email_validation: map["supportsCorporateEmailValidation"], supports_project_specific_roles: map["supportsProjectSpecificRoles"], backups_enabled: map["backupsEnabled"], usage_per_project: map["usagePerProject"], supported_addons: BillingPlanSupportedAddons.from(map: map["supportedAddons"]), backup_policies: map["backupPolicies"], deployment_size: map["deploymentSize"], build_size: map["buildSize"], databases_allow_encrypt: map["databasesAllowEncrypt"], limits: map["limits"].nil? ? nil : BillingPlanLimits.from(map: map["limits"]), group: map["group"], program: map["program"].nil? ? nil : Program.from(map: map["program"]), dedicated_databases: map["dedicatedDatabases"].nil? ? nil : BillingPlanDedicatedDatabaseLimits.from(map: map["dedicatedDatabases"]) ) end |
Instance Method Details
#to_map ⇒ Object
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 |
# File 'lib/appwrite/models/billing_plan.rb', line 288 def to_map { "$id": @id, "name": @name, "desc": @desc, "order": @order, "price": @price, "trial": @trial, "bandwidth": @bandwidth, "storage": @storage, "imageTransformations": @image_transformations, "screenshotsGenerated": @screenshots_generated, "members": @members, "webhooks": @webhooks, "projects": @projects, "platforms": @platforms, "users": @users, "teams": @teams, "databases": @databases, "databasesReads": @databases_reads, "databasesWrites": @databases_writes, "databasesBatchSize": @databases_batch_size, "buckets": @buckets, "fileSize": @file_size, "functions": @functions, "sites": @sites, "executions": @executions, "executionsRetentionCount": @executions_retention_count, "GBHours": @gb_hours, "realtime": @realtime, "realtimeMessages": @realtime_messages, "messages": @messages, "topics": @topics, "authPhone": @auth_phone, "domains": @domains, "activityLogs": @activity_logs, "usageLogs": @usage_logs, "usageLogsIntervals": @usage_logs_intervals, "projectInactivityDays": @project_inactivity_days, "alertLimit": @alert_limit, "usage": @usage.to_map, "addons": @addons.to_map, "budgetCapEnabled": @budget_cap_enabled, "customSmtp": @custom_smtp, "emailBranding": @email_branding, "requiresPaymentMethod": @requires_payment_method, "requiresBillingAddress": @requires_billing_address, "isAvailable": @is_available, "selfService": @self_service, "premiumSupport": @premium_support, "budgeting": @budgeting, "supportsMockNumbers": @supports_mock_numbers, "supportsOrganizationRoles": @supports_organization_roles, "supportsCredits": @supports_credits, "supportsDisposableEmailValidation": @supports_disposable_email_validation, "supportsCanonicalEmailValidation": @supports_canonical_email_validation, "supportsFreeEmailValidation": @supports_free_email_validation, "supportsCorporateEmailValidation": @supports_corporate_email_validation, "supportsProjectSpecificRoles": @supports_project_specific_roles, "backupsEnabled": @backups_enabled, "usagePerProject": @usage_per_project, "supportedAddons": @supported_addons.to_map, "backupPolicies": @backup_policies, "deploymentSize": @deployment_size, "buildSize": @build_size, "databasesAllowEncrypt": @databases_allow_encrypt, "limits": @limits&.to_map, "group": @group, "program": @program&.to_map, "dedicatedDatabases": @dedicated_databases&.to_map } end |