Class: Bskyrb::ComAtprotoRepoPutrecord::PutRecord::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoRepoPutrecord::PutRecord::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#collection ⇒ Object
Returns the value of attribute collection.
-
#record ⇒ Object
Returns the value of attribute record.
-
#repo ⇒ Object
Returns the value of attribute repo.
-
#rkey ⇒ Object
Returns the value of attribute rkey.
-
#swapCommit ⇒ Object
Returns the value of attribute swapCommit.
-
#swapRecord ⇒ Object
Returns the value of attribute swapRecord.
-
#validate ⇒ Object
Returns the value of attribute validate.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#collection ⇒ Object
Returns the value of attribute collection.
4918 4919 4920 |
# File 'lib/bskyrb/generated_classes.rb', line 4918 def collection @collection end |
#record ⇒ Object
Returns the value of attribute record.
4924 4925 4926 |
# File 'lib/bskyrb/generated_classes.rb', line 4924 def record @record end |
#repo ⇒ Object
Returns the value of attribute repo.
4916 4917 4918 |
# File 'lib/bskyrb/generated_classes.rb', line 4916 def repo @repo end |
#rkey ⇒ Object
Returns the value of attribute rkey.
4920 4921 4922 |
# File 'lib/bskyrb/generated_classes.rb', line 4920 def rkey @rkey end |
#swapCommit ⇒ Object
Returns the value of attribute swapCommit.
4928 4929 4930 |
# File 'lib/bskyrb/generated_classes.rb', line 4928 def swapCommit @swapCommit end |
#swapRecord ⇒ Object
Returns the value of attribute swapRecord.
4926 4927 4928 |
# File 'lib/bskyrb/generated_classes.rb', line 4926 def swapRecord @swapRecord end |
#validate ⇒ Object
Returns the value of attribute validate.
4922 4923 4924 |
# File 'lib/bskyrb/generated_classes.rb', line 4922 def validate @validate end |
Class Method Details
.from_hash(hash) ⇒ Object
4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 |
# File 'lib/bskyrb/generated_classes.rb', line 4930 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:repo=, hash["repo"]) instance.send(:collection=, hash["collection"]) instance.send(:rkey=, hash["rkey"]) instance.send(:validate=, hash["validate"]) instance.send(:record=, hash["record"]) instance.send(:swapRecord=, hash["swapRecord"]) instance.send(:swapCommit=, hash["swapCommit"]) instance end |
Instance Method Details
#to_h ⇒ Object
4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 |
# File 'lib/bskyrb/generated_classes.rb', line 4951 def to_h { "repo" => repo, "collection" => collection, "rkey" => rkey, "validate" => validate, "record" => record, "swapRecord" => swapRecord, "swapCommit" => swapCommit } end |