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.


402
403
404
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 402

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

Instance Attribute Details

#page_infoGoogle::Apis::AndroidpublisherV2::PageInfo

Corresponds to the JSON property pageInfo


390
391
392
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 390

def page_info
  @page_info
end

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

Corresponds to the JSON property resources


395
396
397
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 395

def resources
  @resources
end

#token_paginationGoogle::Apis::AndroidpublisherV2::TokenPagination

Corresponds to the JSON property tokenPagination


400
401
402
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 400

def token_pagination
  @token_pagination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


407
408
409
410
411
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 407

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