Class: Bskyrb::AppBskyGraphGetlistmutes::GetListMutes::Input

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.



3067
3068
3069
# File 'lib/bskyrb/generated_classes.rb', line 3067

def cursor
  @cursor
end

#limitObject

Returns the value of attribute limit.



3065
3066
3067
# File 'lib/bskyrb/generated_classes.rb', line 3065

def limit
  @limit
end

Class Method Details

.from_hash(hash) ⇒ Object



3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
# File 'lib/bskyrb/generated_classes.rb', line 3069

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

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

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

  instance
end

Instance Method Details

#to_hObject



3080
3081
3082
3083
3084
3085
3086
3087
3088
# File 'lib/bskyrb/generated_classes.rb', line 3080

def to_h
  {

    "limit" => limit,

    "cursor" => cursor

  }
end