Class: Google::Apis::AndroidpublisherV2::ListEntitlementsResponse

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

Returns a new instance of ListEntitlementsResponse.



364
365
366
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 364

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

Instance Attribute Details

#page_infoGoogle::Apis::AndroidpublisherV2::PageInfo

Corresponds to the JSON property pageInfo



352
353
354
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 352

def page_info
  @page_info
end

#resourcesArray<Google::Apis::AndroidpublisherV2::Entitlement>

Corresponds to the JSON property resources



357
358
359
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 357

def resources
  @resources
end

#token_paginationGoogle::Apis::AndroidpublisherV2::TokenPagination

Corresponds to the JSON property tokenPagination



362
363
364
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 362

def token_pagination
  @token_pagination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



369
370
371
372
373
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 369

def update!(**args)
  @page_info = args[:page_info] if args.key?(:page_info)
  @resources = args[:resources] if args.key?(:resources)
  @token_pagination = args[:token_pagination] if args.key?(:token_pagination)
end