Class: Bskyrb::AppBskyGraphGetlistmutes::GetListMutes::Output

Inherits:
Object
  • Object
show all
Defined in:
lib/bskyrb/generated_classes.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cursorObject

Returns the value of attribute cursor.



3092
3093
3094
# File 'lib/bskyrb/generated_classes.rb', line 3092

def cursor
  @cursor
end

#listsObject

Returns the value of attribute lists.



3094
3095
3096
# File 'lib/bskyrb/generated_classes.rb', line 3094

def lists
  @lists
end

Class Method Details

.from_hash(hash) ⇒ Object



3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
# File 'lib/bskyrb/generated_classes.rb', line 3096

def self.from_hash(hash)
  # httparty-returned string-keyed hash
  instance = new

  instance.send(:cursor=, hash["cursor"])

  instance.send(:lists=, hash["lists"])

  instance
end

Instance Method Details

#to_hObject



3107
3108
3109
3110
3111
3112
3113
3114
3115
# File 'lib/bskyrb/generated_classes.rb', line 3107

def to_h
  {

    "cursor" => cursor,

    "lists" => lists

  }
end