Class: Bskyrb::ComAtprotoAdminDefs::RepoViewDetail

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.



1275
1276
1277
# File 'lib/bskyrb/generated_classes.rb', line 1275

def did
  @did
end

#emailObject

Returns the value of attribute email.



1279
1280
1281
# File 'lib/bskyrb/generated_classes.rb', line 1279

def email
  @email
end

#handleObject

Returns the value of attribute handle.



1277
1278
1279
# File 'lib/bskyrb/generated_classes.rb', line 1277

def handle
  @handle
end

#indexedAtObject

Returns the value of attribute indexedAt.



1283
1284
1285
# File 'lib/bskyrb/generated_classes.rb', line 1283

def indexedAt
  @indexedAt
end

#invitedByObject

Returns the value of attribute invitedBy.



1289
1290
1291
# File 'lib/bskyrb/generated_classes.rb', line 1289

def invitedBy
  @invitedBy
end

#invitesObject

Returns the value of attribute invites.



1291
1292
1293
# File 'lib/bskyrb/generated_classes.rb', line 1291

def invites
  @invites
end

#invitesDisabledObject

Returns the value of attribute invitesDisabled.



1293
1294
1295
# File 'lib/bskyrb/generated_classes.rb', line 1293

def invitesDisabled
  @invitesDisabled
end

#labelsObject

Returns the value of attribute labels.



1287
1288
1289
# File 'lib/bskyrb/generated_classes.rb', line 1287

def labels
  @labels
end

#moderationObject

Returns the value of attribute moderation.



1285
1286
1287
# File 'lib/bskyrb/generated_classes.rb', line 1285

def moderation
  @moderation
end

#relatedRecordsObject

Returns the value of attribute relatedRecords.



1281
1282
1283
# File 'lib/bskyrb/generated_classes.rb', line 1281

def relatedRecords
  @relatedRecords
end

Class Method Details

.from_hash(hash) ⇒ Object



1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'lib/bskyrb/generated_classes.rb', line 1295

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(:labels=, hash["labels"])

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

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

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

  instance
end