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



481
482
483
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 481

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

Instance Attribute Details

#page_infoGoogle::Apis::AndroidpublisherV2::PageInfo

Corresponds to the JSON property pageInfo



469
470
471
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 469

def page_info
  @page_info
end

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

Corresponds to the JSON property resources



474
475
476
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 474

def resources
  @resources
end

#token_paginationGoogle::Apis::AndroidpublisherV2::TokenPagination

Corresponds to the JSON property tokenPagination



479
480
481
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 479

def token_pagination
  @token_pagination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



486
487
488
489
490
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 486

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