Class: Google::Apis::HealthcareV1::ListConsentsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListConsentsResponse

Returns a new instance of ListConsentsResponse.



2673
2674
2675
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2673

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

Instance Attribute Details

#consentsArray<Google::Apis::HealthcareV1::Consent>

The returned Consents. The maximum number of Consents returned is determined by the value of page_size in the ListConsentsRequest. Corresponds to the JSON property consents



2665
2666
2667
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2665

def consents
  @consents
end

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2671
2672
2673
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2671

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2678
2679
2680
2681
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2678

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