Class: Google::Apis::BooksV1::FamilyInfo
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::FamilyInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb
Defined Under Namespace
Classes: Membership
Instance Attribute Summary collapse
-
#kind ⇒ String
Resource type.
-
#membership ⇒ Google::Apis::BooksV1::FamilyInfo::Membership
Family membership info of the user that made the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FamilyInfo
constructor
A new instance of FamilyInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FamilyInfo
Returns a new instance of FamilyInfo
1568 1569 1570 |
# File 'generated/google/apis/books_v1/classes.rb', line 1568 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
1561 1562 1563 |
# File 'generated/google/apis/books_v1/classes.rb', line 1561 def kind @kind end |
#membership ⇒ Google::Apis::BooksV1::FamilyInfo::Membership
Family membership info of the user that made the request.
Corresponds to the JSON property membership
1566 1567 1568 |
# File 'generated/google/apis/books_v1/classes.rb', line 1566 def membership @membership end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1573 1574 1575 1576 |
# File 'generated/google/apis/books_v1/classes.rb', line 1573 def update!(**args) @kind = args[:kind] if args.key?(:kind) @membership = args[:membership] if args.key?(:membership) end |