Class: Google::Apis::AndroidpublisherV2::ListTracksResponse

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

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

Returns a new instance of ListTracksResponse



1641
1642
1643
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1641

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " androidpublisher#tracksListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


1634
1635
1636
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1634

def kind
  @kind
end

#tracksArray<Google::Apis::AndroidpublisherV2::Track>

Corresponds to the JSON property tracks



1639
1640
1641
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1639

def tracks
  @tracks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1646
1647
1648
1649
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1646

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