Class: Bskyrb::ComAtprotoSyncSubscriberepos::Commit
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoSyncSubscriberepos::Commit
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#blobs ⇒ Object
Returns the value of attribute blobs.
-
#blocks ⇒ Object
Returns the value of attribute blocks.
-
#commit ⇒ Object
Returns the value of attribute commit.
-
#ops ⇒ Object
Returns the value of attribute ops.
-
#prev ⇒ Object
Returns the value of attribute prev.
-
#rebase ⇒ Object
Returns the value of attribute rebase.
-
#repo ⇒ Object
Returns the value of attribute repo.
-
#seq ⇒ Object
Returns the value of attribute seq.
-
#time ⇒ Object
Returns the value of attribute time.
-
#tooBig ⇒ Object
Returns the value of attribute tooBig.
Class Method Summary collapse
Instance Attribute Details
#blobs ⇒ Object
Returns the value of attribute blobs.
1935 1936 1937 |
# File 'lib/bskyrb/generated_classes.rb', line 1935 def blobs @blobs end |
#blocks ⇒ Object
Returns the value of attribute blocks.
1931 1932 1933 |
# File 'lib/bskyrb/generated_classes.rb', line 1931 def blocks @blocks end |
#commit ⇒ Object
Returns the value of attribute commit.
1927 1928 1929 |
# File 'lib/bskyrb/generated_classes.rb', line 1927 def commit @commit end |
#ops ⇒ Object
Returns the value of attribute ops.
1933 1934 1935 |
# File 'lib/bskyrb/generated_classes.rb', line 1933 def ops @ops end |
#prev ⇒ Object
Returns the value of attribute prev.
1929 1930 1931 |
# File 'lib/bskyrb/generated_classes.rb', line 1929 def prev @prev end |
#rebase ⇒ Object
Returns the value of attribute rebase.
1921 1922 1923 |
# File 'lib/bskyrb/generated_classes.rb', line 1921 def rebase @rebase end |
#repo ⇒ Object
Returns the value of attribute repo.
1925 1926 1927 |
# File 'lib/bskyrb/generated_classes.rb', line 1925 def repo @repo end |
#seq ⇒ Object
Returns the value of attribute seq.
1919 1920 1921 |
# File 'lib/bskyrb/generated_classes.rb', line 1919 def seq @seq end |
#time ⇒ Object
Returns the value of attribute time.
1937 1938 1939 |
# File 'lib/bskyrb/generated_classes.rb', line 1937 def time @time end |
#tooBig ⇒ Object
Returns the value of attribute tooBig.
1923 1924 1925 |
# File 'lib/bskyrb/generated_classes.rb', line 1923 def tooBig @tooBig end |
Class Method Details
.from_hash(hash) ⇒ Object
1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 |
# File 'lib/bskyrb/generated_classes.rb', line 1939 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:seq=, hash["seq"]) instance.send(:rebase=, hash["rebase"]) instance.send(:tooBig=, hash["tooBig"]) instance.send(:repo=, hash["repo"]) instance.send(:commit=, hash["commit"]) instance.send(:prev=, hash["prev"]) instance.send(:blocks=, hash["blocks"]) instance.send(:ops=, hash["ops"]) instance.send(:blobs=, hash["blobs"]) instance.send(:time=, hash["time"]) instance end |