Class: Google::Apis::FusiontablesV1::StyleSettingList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/fusiontables_v1/classes.rb,
generated/google/apis/fusiontables_v1/representations.rb,
generated/google/apis/fusiontables_v1/representations.rb

Overview

Represents a list of styles for a given table.

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) ⇒ StyleSettingList

Returns a new instance of StyleSettingList



678
679
680
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 678

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

Instance Attribute Details

#itemsArray<Google::Apis::FusiontablesV1::StyleSetting>

All requested style settings. Corresponds to the JSON property items



660
661
662
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 660

def items
  @items
end

#kindString

Type name: in this case, a list of style settings. Corresponds to the JSON property kind

Returns:

  • (String)


665
666
667
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 665

def kind
  @kind
end

#next_page_tokenString

Token used to access the next page of this result. No token is displayed if there are no more pages left. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


671
672
673
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 671

def next_page_token
  @next_page_token
end

#total_itemsFixnum

Total number of styles for the table. Corresponds to the JSON property totalItems

Returns:

  • (Fixnum)


676
677
678
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 676

def total_items
  @total_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



683
684
685
686
687
688
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 683

def update!(**args)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @total_items = args[:total_items] if args.key?(:total_items)
end