Class: Google::Apis::CloudsupportV2::SearchCaseClassificationsResponse

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

Overview

The response message for SearchCaseClassifications endpoint.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchCaseClassificationsResponse

Returns a new instance of SearchCaseClassificationsResponse.



1097
1098
1099
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 1097

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

Instance Attribute Details

#case_classificationsArray<Google::Apis::CloudsupportV2::CaseClassification>

The classifications retrieved. Corresponds to the JSON property caseClassifications



1088
1089
1090
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 1088

def case_classifications
  @case_classifications
end

#next_page_tokenString

A token to retrieve the next page of results. Set this in the page_token field of subsequent caseClassifications.list requests. If unspecified, there are no more results to retrieve. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1095
1096
1097
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 1095

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1102
1103
1104
1105
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 1102

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