Class: Bskyrb::ComAtprotoAdminDefs::RepoView

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#didObject

Returns the value of attribute did.



1232
1233
1234
# File 'lib/bskyrb/generated_classes.rb', line 1232

def did
  @did
end

#emailObject

Returns the value of attribute email.



1236
1237
1238
# File 'lib/bskyrb/generated_classes.rb', line 1236

def email
  @email
end

#handleObject

Returns the value of attribute handle.



1234
1235
1236
# File 'lib/bskyrb/generated_classes.rb', line 1234

def handle
  @handle
end

#indexedAtObject

Returns the value of attribute indexedAt.



1240
1241
1242
# File 'lib/bskyrb/generated_classes.rb', line 1240

def indexedAt
  @indexedAt
end

#invitedByObject

Returns the value of attribute invitedBy.



1244
1245
1246
# File 'lib/bskyrb/generated_classes.rb', line 1244

def invitedBy
  @invitedBy
end

#invitesDisabledObject

Returns the value of attribute invitesDisabled.



1246
1247
1248
# File 'lib/bskyrb/generated_classes.rb', line 1246

def invitesDisabled
  @invitesDisabled
end

#moderationObject

Returns the value of attribute moderation.



1242
1243
1244
# File 'lib/bskyrb/generated_classes.rb', line 1242

def moderation
  @moderation
end

#relatedRecordsObject

Returns the value of attribute relatedRecords.



1238
1239
1240
# File 'lib/bskyrb/generated_classes.rb', line 1238

def relatedRecords
  @relatedRecords
end

Class Method Details

.from_hash(hash) ⇒ Object



1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
# File 'lib/bskyrb/generated_classes.rb', line 1248

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

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

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

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

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

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

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

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

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

  instance
end