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.



9915
9916
9917
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9915

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)


9908
9909
9910
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9908

def kind
  @kind
end

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

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



9913
9914
9915
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9913

def tracks
  @tracks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9920
9921
9922
9923
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9920

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