Class: Appwrite::Models::AppScope
- Inherits:
-
Object
- Object
- Appwrite::Models::AppScope
- Defined in:
- lib/appwrite/models/app_scope.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
readonly
Returns the value of attribute category.
-
#deprecated ⇒ Object
readonly
Returns the value of attribute deprecated.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(value:, description:, type:, category:, deprecated:) ⇒ AppScope
constructor
A new instance of AppScope.
- #to_map ⇒ Object
Constructor Details
#initialize(value:, description:, type:, category:, deprecated:) ⇒ AppScope
Returns a new instance of AppScope.
12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/appwrite/models/app_scope.rb', line 12 def initialize( value:, description:, type:, category:, deprecated: ) @value = value @description = description @type = type @category = category @deprecated = deprecated end |
Instance Attribute Details
#category ⇒ Object (readonly)
Returns the value of attribute category.
9 10 11 |
# File 'lib/appwrite/models/app_scope.rb', line 9 def category @category end |
#deprecated ⇒ Object (readonly)
Returns the value of attribute deprecated.
10 11 12 |
# File 'lib/appwrite/models/app_scope.rb', line 10 def deprecated @deprecated end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
7 8 9 |
# File 'lib/appwrite/models/app_scope.rb', line 7 def description @description end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'lib/appwrite/models/app_scope.rb', line 8 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
6 7 8 |
# File 'lib/appwrite/models/app_scope.rb', line 6 def value @value end |
Class Method Details
Instance Method Details
#to_map ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/appwrite/models/app_scope.rb', line 36 def to_map { "value": @value, "description": @description, "type": @type, "category": @category, "deprecated": @deprecated } end |