Class: Bskyrb::ComAtprotoServerCreateinvitecode::CreateInviteCode::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerCreateinvitecode::CreateInviteCode::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#forAccount ⇒ Object
Returns the value of attribute forAccount.
-
#useCount ⇒ Object
Returns the value of attribute useCount.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#forAccount ⇒ Object
Returns the value of attribute forAccount.
5192 5193 5194 |
# File 'lib/bskyrb/generated_classes.rb', line 5192 def forAccount @forAccount end |
#useCount ⇒ Object
Returns the value of attribute useCount.
5190 5191 5192 |
# File 'lib/bskyrb/generated_classes.rb', line 5190 def useCount @useCount end |
Class Method Details
.from_hash(hash) ⇒ Object
5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 |
# File 'lib/bskyrb/generated_classes.rb', line 5194 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:useCount=, hash["useCount"]) instance.send(:forAccount=, hash["forAccount"]) instance end |
Instance Method Details
#to_h ⇒ Object
5205 5206 5207 5208 5209 5210 5211 5212 5213 |
# File 'lib/bskyrb/generated_classes.rb', line 5205 def to_h { "useCount" => useCount, "forAccount" => forAccount } end |