Class: Google::Apis::DfareportingV5::SitesListResponse

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

Overview

Site List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SitesListResponse

Returns a new instance of SitesListResponse.



12278
12279
12280
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12278

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


12266
12267
12268
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12266

def kind
  @kind
end

#next_page_tokenString

Pagination token to be used for the next list operation. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


12271
12272
12273
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12271

def next_page_token
  @next_page_token
end

#sitesArray<Google::Apis::DfareportingV5::Site>

Site collection. Corresponds to the JSON property sites



12276
12277
12278
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12276

def sites
  @sites
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12283
12284
12285
12286
12287
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12283

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