Class: Appwrite::Models::Project
- Inherits:
-
Object
- Object
- Appwrite::Models::Project
- Defined in:
- lib/appwrite/models/project.rb
Instance Attribute Summary collapse
-
#auth_anonymous ⇒ Object
readonly
Returns the value of attribute auth_anonymous.
-
#auth_canonical_emails ⇒ Object
readonly
Returns the value of attribute auth_canonical_emails.
-
#auth_disposable_emails ⇒ Object
readonly
Returns the value of attribute auth_disposable_emails.
-
#auth_duration ⇒ Object
readonly
Returns the value of attribute auth_duration.
-
#auth_email_otp ⇒ Object
readonly
Returns the value of attribute auth_email_otp.
-
#auth_email_password ⇒ Object
readonly
Returns the value of attribute auth_email_password.
-
#auth_free_emails ⇒ Object
readonly
Returns the value of attribute auth_free_emails.
-
#auth_invalidate_sessions ⇒ Object
readonly
Returns the value of attribute auth_invalidate_sessions.
-
#auth_invites ⇒ Object
readonly
Returns the value of attribute auth_invites.
-
#auth_jwt ⇒ Object
readonly
Returns the value of attribute auth_jwt.
-
#auth_limit ⇒ Object
readonly
Returns the value of attribute auth_limit.
-
#auth_memberships_mfa ⇒ Object
readonly
Returns the value of attribute auth_memberships_mfa.
-
#auth_memberships_user_email ⇒ Object
readonly
Returns the value of attribute auth_memberships_user_email.
-
#auth_memberships_user_name ⇒ Object
readonly
Returns the value of attribute auth_memberships_user_name.
-
#auth_mock_numbers ⇒ Object
readonly
Returns the value of attribute auth_mock_numbers.
-
#auth_password_dictionary ⇒ Object
readonly
Returns the value of attribute auth_password_dictionary.
-
#auth_password_history ⇒ Object
readonly
Returns the value of attribute auth_password_history.
-
#auth_personal_data_check ⇒ Object
readonly
Returns the value of attribute auth_personal_data_check.
-
#auth_phone ⇒ Object
readonly
Returns the value of attribute auth_phone.
-
#auth_session_alerts ⇒ Object
readonly
Returns the value of attribute auth_session_alerts.
-
#auth_sessions_limit ⇒ Object
readonly
Returns the value of attribute auth_sessions_limit.
-
#auth_users_auth_magic_url ⇒ Object
readonly
Returns the value of attribute auth_users_auth_magic_url.
-
#billing_limits ⇒ Object
readonly
Returns the value of attribute billing_limits.
-
#blocks ⇒ Object
readonly
Returns the value of attribute blocks.
-
#console_accessed_at ⇒ Object
readonly
Returns the value of attribute console_accessed_at.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#dev_keys ⇒ Object
readonly
Returns the value of attribute dev_keys.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#keys ⇒ Object
readonly
Returns the value of attribute keys.
-
#labels ⇒ Object
readonly
Returns the value of attribute labels.
-
#legal_address ⇒ Object
readonly
Returns the value of attribute legal_address.
-
#legal_city ⇒ Object
readonly
Returns the value of attribute legal_city.
-
#legal_country ⇒ Object
readonly
Returns the value of attribute legal_country.
-
#legal_name ⇒ Object
readonly
Returns the value of attribute legal_name.
-
#legal_state ⇒ Object
readonly
Returns the value of attribute legal_state.
-
#legal_tax_id ⇒ Object
readonly
Returns the value of attribute legal_tax_id.
-
#logo ⇒ Object
readonly
Returns the value of attribute logo.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#o_auth_providers ⇒ Object
readonly
Returns the value of attribute o_auth_providers.
-
#ping_count ⇒ Object
readonly
Returns the value of attribute ping_count.
-
#pinged_at ⇒ Object
readonly
Returns the value of attribute pinged_at.
-
#platforms ⇒ Object
readonly
Returns the value of attribute platforms.
-
#protocol_status_for_graphql ⇒ Object
readonly
Returns the value of attribute protocol_status_for_graphql.
-
#protocol_status_for_rest ⇒ Object
readonly
Returns the value of attribute protocol_status_for_rest.
-
#protocol_status_for_websocket ⇒ Object
readonly
Returns the value of attribute protocol_status_for_websocket.
-
#region ⇒ Object
readonly
Returns the value of attribute region.
-
#service_status_for_account ⇒ Object
readonly
Returns the value of attribute service_status_for_account.
-
#service_status_for_avatars ⇒ Object
readonly
Returns the value of attribute service_status_for_avatars.
-
#service_status_for_databases ⇒ Object
readonly
Returns the value of attribute service_status_for_databases.
-
#service_status_for_functions ⇒ Object
readonly
Returns the value of attribute service_status_for_functions.
-
#service_status_for_graphql ⇒ Object
readonly
Returns the value of attribute service_status_for_graphql.
-
#service_status_for_health ⇒ Object
readonly
Returns the value of attribute service_status_for_health.
-
#service_status_for_locale ⇒ Object
readonly
Returns the value of attribute service_status_for_locale.
-
#service_status_for_messaging ⇒ Object
readonly
Returns the value of attribute service_status_for_messaging.
-
#service_status_for_migrations ⇒ Object
readonly
Returns the value of attribute service_status_for_migrations.
-
#service_status_for_project ⇒ Object
readonly
Returns the value of attribute service_status_for_project.
-
#service_status_for_proxy ⇒ Object
readonly
Returns the value of attribute service_status_for_proxy.
-
#service_status_for_sites ⇒ Object
readonly
Returns the value of attribute service_status_for_sites.
-
#service_status_for_storage ⇒ Object
readonly
Returns the value of attribute service_status_for_storage.
-
#service_status_for_tablesdb ⇒ Object
readonly
Returns the value of attribute service_status_for_tablesdb.
-
#service_status_for_teams ⇒ Object
readonly
Returns the value of attribute service_status_for_teams.
-
#service_status_for_users ⇒ Object
readonly
Returns the value of attribute service_status_for_users.
-
#service_status_for_vcs ⇒ Object
readonly
Returns the value of attribute service_status_for_vcs.
-
#smtp_enabled ⇒ Object
readonly
Returns the value of attribute smtp_enabled.
-
#smtp_host ⇒ Object
readonly
Returns the value of attribute smtp_host.
-
#smtp_password ⇒ Object
readonly
Returns the value of attribute smtp_password.
-
#smtp_port ⇒ Object
readonly
Returns the value of attribute smtp_port.
-
#smtp_reply_to ⇒ Object
readonly
Returns the value of attribute smtp_reply_to.
-
#smtp_secure ⇒ Object
readonly
Returns the value of attribute smtp_secure.
-
#smtp_sender_email ⇒ Object
readonly
Returns the value of attribute smtp_sender_email.
-
#smtp_sender_name ⇒ Object
readonly
Returns the value of attribute smtp_sender_name.
-
#smtp_username ⇒ Object
readonly
Returns the value of attribute smtp_username.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#team_id ⇒ Object
readonly
Returns the value of attribute team_id.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#webhooks ⇒ Object
readonly
Returns the value of attribute webhooks.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, created_at:, updated_at:, name:, description:, team_id:, logo:, url:, legal_name:, legal_country:, legal_state:, legal_city:, legal_address:, legal_tax_id:, auth_duration:, auth_limit:, auth_sessions_limit:, auth_password_history:, auth_password_dictionary:, auth_personal_data_check:, auth_disposable_emails:, auth_canonical_emails:, auth_free_emails:, auth_mock_numbers:, auth_session_alerts:, auth_memberships_user_name:, auth_memberships_user_email:, auth_memberships_mfa:, auth_invalidate_sessions:, o_auth_providers:, platforms:, webhooks:, keys:, dev_keys:, smtp_enabled:, smtp_sender_name:, smtp_sender_email:, smtp_reply_to:, smtp_host:, smtp_port:, smtp_username:, smtp_password:, smtp_secure:, ping_count:, pinged_at:, labels:, status:, auth_email_password:, auth_users_auth_magic_url:, auth_email_otp:, auth_anonymous:, auth_invites:, auth_jwt:, auth_phone:, service_status_for_account:, service_status_for_avatars:, service_status_for_databases:, service_status_for_tablesdb:, service_status_for_locale:, service_status_for_health:, service_status_for_project:, service_status_for_storage:, service_status_for_teams:, service_status_for_users:, service_status_for_vcs:, service_status_for_sites:, service_status_for_functions:, service_status_for_proxy:, service_status_for_graphql:, service_status_for_migrations:, service_status_for_messaging:, protocol_status_for_rest:, protocol_status_for_graphql:, protocol_status_for_websocket:, region:, billing_limits:, blocks:, console_accessed_at:) ⇒ Project
constructor
A new instance of Project.
- #to_map ⇒ Object
Constructor Details
#initialize(id:, created_at:, updated_at:, name:, description:, team_id:, logo:, url:, legal_name:, legal_country:, legal_state:, legal_city:, legal_address:, legal_tax_id:, auth_duration:, auth_limit:, auth_sessions_limit:, auth_password_history:, auth_password_dictionary:, auth_personal_data_check:, auth_disposable_emails:, auth_canonical_emails:, auth_free_emails:, auth_mock_numbers:, auth_session_alerts:, auth_memberships_user_name:, auth_memberships_user_email:, auth_memberships_mfa:, auth_invalidate_sessions:, o_auth_providers:, platforms:, webhooks:, keys:, dev_keys:, smtp_enabled:, smtp_sender_name:, smtp_sender_email:, smtp_reply_to:, smtp_host:, smtp_port:, smtp_username:, smtp_password:, smtp_secure:, ping_count:, pinged_at:, labels:, status:, auth_email_password:, auth_users_auth_magic_url:, auth_email_otp:, auth_anonymous:, auth_invites:, auth_jwt:, auth_phone:, service_status_for_account:, service_status_for_avatars:, service_status_for_databases:, service_status_for_tablesdb:, service_status_for_locale:, service_status_for_health:, service_status_for_project:, service_status_for_storage:, service_status_for_teams:, service_status_for_users:, service_status_for_vcs:, service_status_for_sites:, service_status_for_functions:, service_status_for_proxy:, service_status_for_graphql:, service_status_for_migrations:, service_status_for_messaging:, protocol_status_for_rest:, protocol_status_for_graphql:, protocol_status_for_websocket:, region:, billing_limits:, blocks:, console_accessed_at:) ⇒ Project
Returns a new instance of Project.
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 214 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 |
# File 'lib/appwrite/models/project.rb', line 85 def initialize( id:, created_at:, updated_at:, name:, description:, team_id:, logo:, url:, legal_name:, legal_country:, legal_state:, legal_city:, legal_address:, legal_tax_id:, auth_duration:, auth_limit:, auth_sessions_limit:, auth_password_history:, auth_password_dictionary:, auth_personal_data_check:, auth_disposable_emails:, auth_canonical_emails:, auth_free_emails:, auth_mock_numbers:, auth_session_alerts:, auth_memberships_user_name:, auth_memberships_user_email:, auth_memberships_mfa:, auth_invalidate_sessions:, o_auth_providers:, platforms:, webhooks:, keys:, dev_keys:, smtp_enabled:, smtp_sender_name:, smtp_sender_email:, smtp_reply_to:, smtp_host:, smtp_port:, smtp_username:, smtp_password:, smtp_secure:, ping_count:, pinged_at:, labels:, status:, auth_email_password:, auth_users_auth_magic_url:, auth_email_otp:, auth_anonymous:, auth_invites:, auth_jwt:, auth_phone:, service_status_for_account:, service_status_for_avatars:, service_status_for_databases:, service_status_for_tablesdb:, service_status_for_locale:, service_status_for_health:, service_status_for_project:, service_status_for_storage:, service_status_for_teams:, service_status_for_users:, service_status_for_vcs:, service_status_for_sites:, service_status_for_functions:, service_status_for_proxy:, service_status_for_graphql:, service_status_for_migrations:, service_status_for_messaging:, protocol_status_for_rest:, protocol_status_for_graphql:, protocol_status_for_websocket:, region:, billing_limits:, blocks:, console_accessed_at: ) @id = id @created_at = created_at @updated_at = updated_at @name = name @description = description @team_id = team_id @logo = logo @url = url @legal_name = legal_name @legal_country = legal_country @legal_state = legal_state @legal_city = legal_city @legal_address = legal_address @legal_tax_id = legal_tax_id @auth_duration = auth_duration @auth_limit = auth_limit @auth_sessions_limit = auth_sessions_limit @auth_password_history = auth_password_history @auth_password_dictionary = auth_password_dictionary @auth_personal_data_check = auth_personal_data_check @auth_disposable_emails = auth_disposable_emails @auth_canonical_emails = auth_canonical_emails @auth_free_emails = auth_free_emails @auth_mock_numbers = auth_mock_numbers @auth_session_alerts = auth_session_alerts @auth_memberships_user_name = auth_memberships_user_name @auth_memberships_user_email = auth_memberships_user_email @auth_memberships_mfa = auth_memberships_mfa @auth_invalidate_sessions = auth_invalidate_sessions @o_auth_providers = o_auth_providers @platforms = platforms @webhooks = webhooks @keys = keys @dev_keys = dev_keys @smtp_enabled = smtp_enabled @smtp_sender_name = smtp_sender_name @smtp_sender_email = smtp_sender_email @smtp_reply_to = smtp_reply_to @smtp_host = smtp_host @smtp_port = smtp_port @smtp_username = smtp_username @smtp_password = smtp_password @smtp_secure = smtp_secure @ping_count = ping_count @pinged_at = pinged_at @labels = labels @status = status @auth_email_password = auth_email_password @auth_users_auth_magic_url = auth_users_auth_magic_url @auth_email_otp = auth_email_otp @auth_anonymous = auth_anonymous @auth_invites = auth_invites @auth_jwt = auth_jwt @auth_phone = auth_phone @service_status_for_account = service_status_for_account @service_status_for_avatars = service_status_for_avatars @service_status_for_databases = service_status_for_databases @service_status_for_tablesdb = service_status_for_tablesdb @service_status_for_locale = service_status_for_locale @service_status_for_health = service_status_for_health @service_status_for_project = service_status_for_project @service_status_for_storage = service_status_for_storage @service_status_for_teams = service_status_for_teams @service_status_for_users = service_status_for_users @service_status_for_vcs = service_status_for_vcs @service_status_for_sites = service_status_for_sites @service_status_for_functions = service_status_for_functions @service_status_for_proxy = service_status_for_proxy @service_status_for_graphql = service_status_for_graphql @service_status_for_migrations = service_status_for_migrations @service_status_for_messaging = service_status_for_messaging @protocol_status_for_rest = protocol_status_for_rest @protocol_status_for_graphql = protocol_status_for_graphql @protocol_status_for_websocket = protocol_status_for_websocket @region = region @billing_limits = billing_limits @blocks = blocks @console_accessed_at = console_accessed_at end |
Instance Attribute Details
#auth_anonymous ⇒ Object (readonly)
Returns the value of attribute auth_anonymous.
56 57 58 |
# File 'lib/appwrite/models/project.rb', line 56 def auth_anonymous @auth_anonymous end |
#auth_canonical_emails ⇒ Object (readonly)
Returns the value of attribute auth_canonical_emails.
27 28 29 |
# File 'lib/appwrite/models/project.rb', line 27 def auth_canonical_emails @auth_canonical_emails end |
#auth_disposable_emails ⇒ Object (readonly)
Returns the value of attribute auth_disposable_emails.
26 27 28 |
# File 'lib/appwrite/models/project.rb', line 26 def auth_disposable_emails @auth_disposable_emails end |
#auth_duration ⇒ Object (readonly)
Returns the value of attribute auth_duration.
20 21 22 |
# File 'lib/appwrite/models/project.rb', line 20 def auth_duration @auth_duration end |
#auth_email_otp ⇒ Object (readonly)
Returns the value of attribute auth_email_otp.
55 56 57 |
# File 'lib/appwrite/models/project.rb', line 55 def auth_email_otp @auth_email_otp end |
#auth_email_password ⇒ Object (readonly)
Returns the value of attribute auth_email_password.
53 54 55 |
# File 'lib/appwrite/models/project.rb', line 53 def auth_email_password @auth_email_password end |
#auth_free_emails ⇒ Object (readonly)
Returns the value of attribute auth_free_emails.
28 29 30 |
# File 'lib/appwrite/models/project.rb', line 28 def auth_free_emails @auth_free_emails end |
#auth_invalidate_sessions ⇒ Object (readonly)
Returns the value of attribute auth_invalidate_sessions.
34 35 36 |
# File 'lib/appwrite/models/project.rb', line 34 def auth_invalidate_sessions @auth_invalidate_sessions end |
#auth_invites ⇒ Object (readonly)
Returns the value of attribute auth_invites.
57 58 59 |
# File 'lib/appwrite/models/project.rb', line 57 def auth_invites @auth_invites end |
#auth_jwt ⇒ Object (readonly)
Returns the value of attribute auth_jwt.
58 59 60 |
# File 'lib/appwrite/models/project.rb', line 58 def auth_jwt @auth_jwt end |
#auth_limit ⇒ Object (readonly)
Returns the value of attribute auth_limit.
21 22 23 |
# File 'lib/appwrite/models/project.rb', line 21 def auth_limit @auth_limit end |
#auth_memberships_mfa ⇒ Object (readonly)
Returns the value of attribute auth_memberships_mfa.
33 34 35 |
# File 'lib/appwrite/models/project.rb', line 33 def auth_memberships_mfa @auth_memberships_mfa end |
#auth_memberships_user_email ⇒ Object (readonly)
Returns the value of attribute auth_memberships_user_email.
32 33 34 |
# File 'lib/appwrite/models/project.rb', line 32 def auth_memberships_user_email @auth_memberships_user_email end |
#auth_memberships_user_name ⇒ Object (readonly)
Returns the value of attribute auth_memberships_user_name.
31 32 33 |
# File 'lib/appwrite/models/project.rb', line 31 def auth_memberships_user_name @auth_memberships_user_name end |
#auth_mock_numbers ⇒ Object (readonly)
Returns the value of attribute auth_mock_numbers.
29 30 31 |
# File 'lib/appwrite/models/project.rb', line 29 def auth_mock_numbers @auth_mock_numbers end |
#auth_password_dictionary ⇒ Object (readonly)
Returns the value of attribute auth_password_dictionary.
24 25 26 |
# File 'lib/appwrite/models/project.rb', line 24 def auth_password_dictionary @auth_password_dictionary end |
#auth_password_history ⇒ Object (readonly)
Returns the value of attribute auth_password_history.
23 24 25 |
# File 'lib/appwrite/models/project.rb', line 23 def auth_password_history @auth_password_history end |
#auth_personal_data_check ⇒ Object (readonly)
Returns the value of attribute auth_personal_data_check.
25 26 27 |
# File 'lib/appwrite/models/project.rb', line 25 def auth_personal_data_check @auth_personal_data_check end |
#auth_phone ⇒ Object (readonly)
Returns the value of attribute auth_phone.
59 60 61 |
# File 'lib/appwrite/models/project.rb', line 59 def auth_phone @auth_phone end |
#auth_session_alerts ⇒ Object (readonly)
Returns the value of attribute auth_session_alerts.
30 31 32 |
# File 'lib/appwrite/models/project.rb', line 30 def auth_session_alerts @auth_session_alerts end |
#auth_sessions_limit ⇒ Object (readonly)
Returns the value of attribute auth_sessions_limit.
22 23 24 |
# File 'lib/appwrite/models/project.rb', line 22 def auth_sessions_limit @auth_sessions_limit end |
#auth_users_auth_magic_url ⇒ Object (readonly)
Returns the value of attribute auth_users_auth_magic_url.
54 55 56 |
# File 'lib/appwrite/models/project.rb', line 54 def auth_users_auth_magic_url @auth_users_auth_magic_url end |
#billing_limits ⇒ Object (readonly)
Returns the value of attribute billing_limits.
81 82 83 |
# File 'lib/appwrite/models/project.rb', line 81 def billing_limits @billing_limits end |
#blocks ⇒ Object (readonly)
Returns the value of attribute blocks.
82 83 84 |
# File 'lib/appwrite/models/project.rb', line 82 def blocks @blocks end |
#console_accessed_at ⇒ Object (readonly)
Returns the value of attribute console_accessed_at.
83 84 85 |
# File 'lib/appwrite/models/project.rb', line 83 def console_accessed_at @console_accessed_at end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
7 8 9 |
# File 'lib/appwrite/models/project.rb', line 7 def created_at @created_at end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
10 11 12 |
# File 'lib/appwrite/models/project.rb', line 10 def description @description end |
#dev_keys ⇒ Object (readonly)
Returns the value of attribute dev_keys.
39 40 41 |
# File 'lib/appwrite/models/project.rb', line 39 def dev_keys @dev_keys end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/appwrite/models/project.rb', line 6 def id @id end |
#keys ⇒ Object (readonly)
Returns the value of attribute keys.
38 39 40 |
# File 'lib/appwrite/models/project.rb', line 38 def keys @keys end |
#labels ⇒ Object (readonly)
Returns the value of attribute labels.
51 52 53 |
# File 'lib/appwrite/models/project.rb', line 51 def labels @labels end |
#legal_address ⇒ Object (readonly)
Returns the value of attribute legal_address.
18 19 20 |
# File 'lib/appwrite/models/project.rb', line 18 def legal_address @legal_address end |
#legal_city ⇒ Object (readonly)
Returns the value of attribute legal_city.
17 18 19 |
# File 'lib/appwrite/models/project.rb', line 17 def legal_city @legal_city end |
#legal_country ⇒ Object (readonly)
Returns the value of attribute legal_country.
15 16 17 |
# File 'lib/appwrite/models/project.rb', line 15 def legal_country @legal_country end |
#legal_name ⇒ Object (readonly)
Returns the value of attribute legal_name.
14 15 16 |
# File 'lib/appwrite/models/project.rb', line 14 def legal_name @legal_name end |
#legal_state ⇒ Object (readonly)
Returns the value of attribute legal_state.
16 17 18 |
# File 'lib/appwrite/models/project.rb', line 16 def legal_state @legal_state end |
#legal_tax_id ⇒ Object (readonly)
Returns the value of attribute legal_tax_id.
19 20 21 |
# File 'lib/appwrite/models/project.rb', line 19 def legal_tax_id @legal_tax_id end |
#logo ⇒ Object (readonly)
Returns the value of attribute logo.
12 13 14 |
# File 'lib/appwrite/models/project.rb', line 12 def logo @logo end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'lib/appwrite/models/project.rb', line 9 def name @name end |
#o_auth_providers ⇒ Object (readonly)
Returns the value of attribute o_auth_providers.
35 36 37 |
# File 'lib/appwrite/models/project.rb', line 35 def o_auth_providers @o_auth_providers end |
#ping_count ⇒ Object (readonly)
Returns the value of attribute ping_count.
49 50 51 |
# File 'lib/appwrite/models/project.rb', line 49 def ping_count @ping_count end |
#pinged_at ⇒ Object (readonly)
Returns the value of attribute pinged_at.
50 51 52 |
# File 'lib/appwrite/models/project.rb', line 50 def pinged_at @pinged_at end |
#platforms ⇒ Object (readonly)
Returns the value of attribute platforms.
36 37 38 |
# File 'lib/appwrite/models/project.rb', line 36 def platforms @platforms end |
#protocol_status_for_graphql ⇒ Object (readonly)
Returns the value of attribute protocol_status_for_graphql.
78 79 80 |
# File 'lib/appwrite/models/project.rb', line 78 def protocol_status_for_graphql @protocol_status_for_graphql end |
#protocol_status_for_rest ⇒ Object (readonly)
Returns the value of attribute protocol_status_for_rest.
77 78 79 |
# File 'lib/appwrite/models/project.rb', line 77 def protocol_status_for_rest @protocol_status_for_rest end |
#protocol_status_for_websocket ⇒ Object (readonly)
Returns the value of attribute protocol_status_for_websocket.
79 80 81 |
# File 'lib/appwrite/models/project.rb', line 79 def protocol_status_for_websocket @protocol_status_for_websocket end |
#region ⇒ Object (readonly)
Returns the value of attribute region.
80 81 82 |
# File 'lib/appwrite/models/project.rb', line 80 def region @region end |
#service_status_for_account ⇒ Object (readonly)
Returns the value of attribute service_status_for_account.
60 61 62 |
# File 'lib/appwrite/models/project.rb', line 60 def service_status_for_account @service_status_for_account end |
#service_status_for_avatars ⇒ Object (readonly)
Returns the value of attribute service_status_for_avatars.
61 62 63 |
# File 'lib/appwrite/models/project.rb', line 61 def service_status_for_avatars @service_status_for_avatars end |
#service_status_for_databases ⇒ Object (readonly)
Returns the value of attribute service_status_for_databases.
62 63 64 |
# File 'lib/appwrite/models/project.rb', line 62 def service_status_for_databases @service_status_for_databases end |
#service_status_for_functions ⇒ Object (readonly)
Returns the value of attribute service_status_for_functions.
72 73 74 |
# File 'lib/appwrite/models/project.rb', line 72 def service_status_for_functions @service_status_for_functions end |
#service_status_for_graphql ⇒ Object (readonly)
Returns the value of attribute service_status_for_graphql.
74 75 76 |
# File 'lib/appwrite/models/project.rb', line 74 def service_status_for_graphql @service_status_for_graphql end |
#service_status_for_health ⇒ Object (readonly)
Returns the value of attribute service_status_for_health.
65 66 67 |
# File 'lib/appwrite/models/project.rb', line 65 def service_status_for_health @service_status_for_health end |
#service_status_for_locale ⇒ Object (readonly)
Returns the value of attribute service_status_for_locale.
64 65 66 |
# File 'lib/appwrite/models/project.rb', line 64 def service_status_for_locale @service_status_for_locale end |
#service_status_for_messaging ⇒ Object (readonly)
Returns the value of attribute service_status_for_messaging.
76 77 78 |
# File 'lib/appwrite/models/project.rb', line 76 def service_status_for_messaging @service_status_for_messaging end |
#service_status_for_migrations ⇒ Object (readonly)
Returns the value of attribute service_status_for_migrations.
75 76 77 |
# File 'lib/appwrite/models/project.rb', line 75 def service_status_for_migrations @service_status_for_migrations end |
#service_status_for_project ⇒ Object (readonly)
Returns the value of attribute service_status_for_project.
66 67 68 |
# File 'lib/appwrite/models/project.rb', line 66 def service_status_for_project @service_status_for_project end |
#service_status_for_proxy ⇒ Object (readonly)
Returns the value of attribute service_status_for_proxy.
73 74 75 |
# File 'lib/appwrite/models/project.rb', line 73 def service_status_for_proxy @service_status_for_proxy end |
#service_status_for_sites ⇒ Object (readonly)
Returns the value of attribute service_status_for_sites.
71 72 73 |
# File 'lib/appwrite/models/project.rb', line 71 def service_status_for_sites @service_status_for_sites end |
#service_status_for_storage ⇒ Object (readonly)
Returns the value of attribute service_status_for_storage.
67 68 69 |
# File 'lib/appwrite/models/project.rb', line 67 def service_status_for_storage @service_status_for_storage end |
#service_status_for_tablesdb ⇒ Object (readonly)
Returns the value of attribute service_status_for_tablesdb.
63 64 65 |
# File 'lib/appwrite/models/project.rb', line 63 def service_status_for_tablesdb @service_status_for_tablesdb end |
#service_status_for_teams ⇒ Object (readonly)
Returns the value of attribute service_status_for_teams.
68 69 70 |
# File 'lib/appwrite/models/project.rb', line 68 def service_status_for_teams @service_status_for_teams end |
#service_status_for_users ⇒ Object (readonly)
Returns the value of attribute service_status_for_users.
69 70 71 |
# File 'lib/appwrite/models/project.rb', line 69 def service_status_for_users @service_status_for_users end |
#service_status_for_vcs ⇒ Object (readonly)
Returns the value of attribute service_status_for_vcs.
70 71 72 |
# File 'lib/appwrite/models/project.rb', line 70 def service_status_for_vcs @service_status_for_vcs end |
#smtp_enabled ⇒ Object (readonly)
Returns the value of attribute smtp_enabled.
40 41 42 |
# File 'lib/appwrite/models/project.rb', line 40 def smtp_enabled @smtp_enabled end |
#smtp_host ⇒ Object (readonly)
Returns the value of attribute smtp_host.
44 45 46 |
# File 'lib/appwrite/models/project.rb', line 44 def smtp_host @smtp_host end |
#smtp_password ⇒ Object (readonly)
Returns the value of attribute smtp_password.
47 48 49 |
# File 'lib/appwrite/models/project.rb', line 47 def smtp_password @smtp_password end |
#smtp_port ⇒ Object (readonly)
Returns the value of attribute smtp_port.
45 46 47 |
# File 'lib/appwrite/models/project.rb', line 45 def smtp_port @smtp_port end |
#smtp_reply_to ⇒ Object (readonly)
Returns the value of attribute smtp_reply_to.
43 44 45 |
# File 'lib/appwrite/models/project.rb', line 43 def smtp_reply_to @smtp_reply_to end |
#smtp_secure ⇒ Object (readonly)
Returns the value of attribute smtp_secure.
48 49 50 |
# File 'lib/appwrite/models/project.rb', line 48 def smtp_secure @smtp_secure end |
#smtp_sender_email ⇒ Object (readonly)
Returns the value of attribute smtp_sender_email.
42 43 44 |
# File 'lib/appwrite/models/project.rb', line 42 def smtp_sender_email @smtp_sender_email end |
#smtp_sender_name ⇒ Object (readonly)
Returns the value of attribute smtp_sender_name.
41 42 43 |
# File 'lib/appwrite/models/project.rb', line 41 def smtp_sender_name @smtp_sender_name end |
#smtp_username ⇒ Object (readonly)
Returns the value of attribute smtp_username.
46 47 48 |
# File 'lib/appwrite/models/project.rb', line 46 def smtp_username @smtp_username end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
52 53 54 |
# File 'lib/appwrite/models/project.rb', line 52 def status @status end |
#team_id ⇒ Object (readonly)
Returns the value of attribute team_id.
11 12 13 |
# File 'lib/appwrite/models/project.rb', line 11 def team_id @team_id end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
8 9 10 |
# File 'lib/appwrite/models/project.rb', line 8 def updated_at @updated_at end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
13 14 15 |
# File 'lib/appwrite/models/project.rb', line 13 def url @url end |
#webhooks ⇒ Object (readonly)
Returns the value of attribute webhooks.
37 38 39 |
# File 'lib/appwrite/models/project.rb', line 37 def webhooks @webhooks end |
Class Method Details
.from(map:) ⇒ Object
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 287 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 |
# File 'lib/appwrite/models/project.rb', line 245 def self.from(map:) Project.new( id: map["$id"], created_at: map["$createdAt"], updated_at: map["$updatedAt"], name: map["name"], description: map["description"], team_id: map["teamId"], logo: map["logo"], url: map["url"], legal_name: map["legalName"], legal_country: map["legalCountry"], legal_state: map["legalState"], legal_city: map["legalCity"], legal_address: map["legalAddress"], legal_tax_id: map["legalTaxId"], auth_duration: map["authDuration"], auth_limit: map["authLimit"], auth_sessions_limit: map["authSessionsLimit"], auth_password_history: map["authPasswordHistory"], auth_password_dictionary: map["authPasswordDictionary"], auth_personal_data_check: map["authPersonalDataCheck"], auth_disposable_emails: map["authDisposableEmails"], auth_canonical_emails: map["authCanonicalEmails"], auth_free_emails: map["authFreeEmails"], auth_mock_numbers: map["authMockNumbers"].map { |it| MockNumber.from(map: it) }, auth_session_alerts: map["authSessionAlerts"], auth_memberships_user_name: map["authMembershipsUserName"], auth_memberships_user_email: map["authMembershipsUserEmail"], auth_memberships_mfa: map["authMembershipsMfa"], auth_invalidate_sessions: map["authInvalidateSessions"], o_auth_providers: map["oAuthProviders"].map { |it| AuthProvider.from(map: it) }, platforms: map["platforms"], webhooks: map["webhooks"].map { |it| Webhook.from(map: it) }, keys: map["keys"].map { |it| Key.from(map: it) }, dev_keys: map["devKeys"].map { |it| DevKey.from(map: it) }, smtp_enabled: map["smtpEnabled"], smtp_sender_name: map["smtpSenderName"], smtp_sender_email: map["smtpSenderEmail"], smtp_reply_to: map["smtpReplyTo"], smtp_host: map["smtpHost"], smtp_port: map["smtpPort"], smtp_username: map["smtpUsername"], smtp_password: map["smtpPassword"], smtp_secure: map["smtpSecure"], ping_count: map["pingCount"], pinged_at: map["pingedAt"], labels: map["labels"], status: map["status"], auth_email_password: map["authEmailPassword"], auth_users_auth_magic_url: map["authUsersAuthMagicURL"], auth_email_otp: map["authEmailOtp"], auth_anonymous: map["authAnonymous"], auth_invites: map["authInvites"], auth_jwt: map["authJWT"], auth_phone: map["authPhone"], service_status_for_account: map["serviceStatusForAccount"], service_status_for_avatars: map["serviceStatusForAvatars"], service_status_for_databases: map["serviceStatusForDatabases"], service_status_for_tablesdb: map["serviceStatusForTablesdb"], service_status_for_locale: map["serviceStatusForLocale"], service_status_for_health: map["serviceStatusForHealth"], service_status_for_project: map["serviceStatusForProject"], service_status_for_storage: map["serviceStatusForStorage"], service_status_for_teams: map["serviceStatusForTeams"], service_status_for_users: map["serviceStatusForUsers"], service_status_for_vcs: map["serviceStatusForVcs"], service_status_for_sites: map["serviceStatusForSites"], service_status_for_functions: map["serviceStatusForFunctions"], service_status_for_proxy: map["serviceStatusForProxy"], service_status_for_graphql: map["serviceStatusForGraphql"], service_status_for_migrations: map["serviceStatusForMigrations"], service_status_for_messaging: map["serviceStatusForMessaging"], protocol_status_for_rest: map["protocolStatusForRest"], protocol_status_for_graphql: map["protocolStatusForGraphql"], protocol_status_for_websocket: map["protocolStatusForWebsocket"], region: map["region"], billing_limits: BillingLimits.from(map: map["billingLimits"]), blocks: map["blocks"].map { |it| Block.from(map: it) }, console_accessed_at: map["consoleAccessedAt"] ) end |
Instance Method Details
#to_map ⇒ Object
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 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 |
# File 'lib/appwrite/models/project.rb', line 328 def to_map { "$id": @id, "$createdAt": @created_at, "$updatedAt": @updated_at, "name": @name, "description": @description, "teamId": @team_id, "logo": @logo, "url": @url, "legalName": @legal_name, "legalCountry": @legal_country, "legalState": @legal_state, "legalCity": @legal_city, "legalAddress": @legal_address, "legalTaxId": @legal_tax_id, "authDuration": @auth_duration, "authLimit": @auth_limit, "authSessionsLimit": @auth_sessions_limit, "authPasswordHistory": @auth_password_history, "authPasswordDictionary": @auth_password_dictionary, "authPersonalDataCheck": @auth_personal_data_check, "authDisposableEmails": @auth_disposable_emails, "authCanonicalEmails": @auth_canonical_emails, "authFreeEmails": @auth_free_emails, "authMockNumbers": @auth_mock_numbers.map { |it| it.to_map }, "authSessionAlerts": @auth_session_alerts, "authMembershipsUserName": @auth_memberships_user_name, "authMembershipsUserEmail": @auth_memberships_user_email, "authMembershipsMfa": @auth_memberships_mfa, "authInvalidateSessions": @auth_invalidate_sessions, "oAuthProviders": @o_auth_providers.map { |it| it.to_map }, "platforms": @platforms, "webhooks": @webhooks.map { |it| it.to_map }, "keys": @keys.map { |it| it.to_map }, "devKeys": @dev_keys.map { |it| it.to_map }, "smtpEnabled": @smtp_enabled, "smtpSenderName": @smtp_sender_name, "smtpSenderEmail": @smtp_sender_email, "smtpReplyTo": @smtp_reply_to, "smtpHost": @smtp_host, "smtpPort": @smtp_port, "smtpUsername": @smtp_username, "smtpPassword": @smtp_password, "smtpSecure": @smtp_secure, "pingCount": @ping_count, "pingedAt": @pinged_at, "labels": @labels, "status": @status, "authEmailPassword": @auth_email_password, "authUsersAuthMagicURL": @auth_users_auth_magic_url, "authEmailOtp": @auth_email_otp, "authAnonymous": @auth_anonymous, "authInvites": @auth_invites, "authJWT": @auth_jwt, "authPhone": @auth_phone, "serviceStatusForAccount": @service_status_for_account, "serviceStatusForAvatars": @service_status_for_avatars, "serviceStatusForDatabases": @service_status_for_databases, "serviceStatusForTablesdb": @service_status_for_tablesdb, "serviceStatusForLocale": @service_status_for_locale, "serviceStatusForHealth": @service_status_for_health, "serviceStatusForProject": @service_status_for_project, "serviceStatusForStorage": @service_status_for_storage, "serviceStatusForTeams": @service_status_for_teams, "serviceStatusForUsers": @service_status_for_users, "serviceStatusForVcs": @service_status_for_vcs, "serviceStatusForSites": @service_status_for_sites, "serviceStatusForFunctions": @service_status_for_functions, "serviceStatusForProxy": @service_status_for_proxy, "serviceStatusForGraphql": @service_status_for_graphql, "serviceStatusForMigrations": @service_status_for_migrations, "serviceStatusForMessaging": @service_status_for_messaging, "protocolStatusForRest": @protocol_status_for_rest, "protocolStatusForGraphql": @protocol_status_for_graphql, "protocolStatusForWebsocket": @protocol_status_for_websocket, "region": @region, "billingLimits": @billing_limits.to_map, "blocks": @blocks.map { |it| it.to_map }, "consoleAccessedAt": @console_accessed_at } end |