Class: Google::Apis::JobsV4::ListCompaniesResponse
- Inherits:
-
Object
- Object
- Google::Apis::JobsV4::ListCompaniesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/jobs_v4/classes.rb,
lib/google/apis/jobs_v4/representations.rb,
lib/google/apis/jobs_v4/representations.rb
Overview
The List companies response object.
Instance Attribute Summary collapse
-
#companies ⇒ Array<Google::Apis::JobsV4::Company>
Companies for the current client.
-
#metadata ⇒ Google::Apis::JobsV4::ResponseMetadata
Additional information returned to client, such as debugging information.
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListCompaniesResponse
constructor
A new instance of ListCompaniesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListCompaniesResponse
Returns a new instance of ListCompaniesResponse.
1507 1508 1509 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1507 def initialize(**args) update!(**args) end |
Instance Attribute Details
#companies ⇒ Array<Google::Apis::JobsV4::Company>
Companies for the current client.
Corresponds to the JSON property companies
1495 1496 1497 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1495 def companies @companies end |
#metadata ⇒ Google::Apis::JobsV4::ResponseMetadata
Additional information returned to client, such as debugging information.
Corresponds to the JSON property metadata
1500 1501 1502 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1500 def @metadata end |
#next_page_token ⇒ String
A token to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
1505 1506 1507 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1505 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1512 1513 1514 1515 1516 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1512 def update!(**args) @companies = args[:companies] if args.key?(:companies) @metadata = args[:metadata] if args.key?(:metadata) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |