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

Constructor Details

#initialize(**args) ⇒ DictLayerData

Returns a new instance of DictLayerData.



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

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

Instance Attribute Details

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

Corresponds to the JSON property common



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

def common
  @common
end

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

Corresponds to the JSON property dict



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

def dict
  @dict
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


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

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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