Class: Nextcloud::Ruby::Models::Tag
- Inherits:
-
Object
- Object
- Nextcloud::Ruby::Models::Tag
- Defined in:
- lib/nextcloud/ruby/models/tag.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id, name) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(id, name) ⇒ Tag
Returns a new instance of Tag.
7 8 9 10 |
# File 'lib/nextcloud/ruby/models/tag.rb', line 7 def initialize(id, name) @id = id @name = name end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/nextcloud/ruby/models/tag.rb', line 5 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/nextcloud/ruby/models/tag.rb', line 5 def name @name end |