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



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

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

Instance Attribute Details

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

Corresponds to the JSON property common



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

def common
  @common
end

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

Corresponds to the JSON property dict



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

def dict
  @dict
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


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

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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