Class: Google::Apis::AndroidpublisherV3::TracksListResponse

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

Overview

Response listing all tracks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TracksListResponse

Returns a new instance of TracksListResponse.



2008
2009
2010
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2008

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

Instance Attribute Details

#kindString

The kind of this response ("androidpublisher#tracksListResponse"). Corresponds to the JSON property kind

Returns:

  • (String)


2001
2002
2003
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2001

def kind
  @kind
end

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

All tracks. Corresponds to the JSON property tracks



2006
2007
2008
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2006

def tracks
  @tracks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2013
2014
2015
2016
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2013

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