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.



11328
11329
11330
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 11328

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)


11321
11322
11323
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 11321

def kind
  @kind
end

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

All tracks (including tracks with no releases). Corresponds to the JSON property tracks



11326
11327
11328
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 11326

def tracks
  @tracks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11333
11334
11335
11336
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 11333

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