Class: Google::Apis::BooksV1::DictLayerData

Inherits:
Object
  • Object
show all
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: Common, Dict

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DictLayerData

Returns a new instance of DictLayerData.



825
826
827
# File 'generated/google/apis/books_v1/classes.rb', line 825

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#commonGoogle::Apis::BooksV1::DictLayerData::Common

Corresponds to the JSON property common



813
814
815
# File 'generated/google/apis/books_v1/classes.rb', line 813

def common
  @common
end

#dictGoogle::Apis::BooksV1::DictLayerData::Dict

Corresponds to the JSON property dict



818
819
820
# File 'generated/google/apis/books_v1/classes.rb', line 818

def dict
  @dict
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


823
824
825
# File 'generated/google/apis/books_v1/classes.rb', line 823

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



830
831
832
833
834
# File 'generated/google/apis/books_v1/classes.rb', line 830

def update!(**args)
  @common = args[:common] if args.key?(:common)
  @dict = args[:dict] if args.key?(:dict)
  @kind = args[:kind] if args.key?(:kind)
end