Class: Inttegro::Payout::SearchResponseSearchResultsItemResource
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Payout::SearchResponseSearchResultsItemResource
- Defined in:
- lib/inttegro/payout/search_response_search_results_item_resource.rb
Overview
Typed representation of the search response search results item resource object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#type ⇒ Inttegro::Payout::SearchResponseSearchResultsItemResourceType
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
31 32 33 34 |
# File 'lib/inttegro/payout/search_response_search_results_item_resource.rb', line 31 class SearchResponseSearchResultsItemResource < T::Struct const :type, Inttegro::Payout::SearchResponseSearchResultsItemResourceType const :id, String end |
#type ⇒ Inttegro::Payout::SearchResponseSearchResultsItemResourceType (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
31 32 33 34 |
# File 'lib/inttegro/payout/search_response_search_results_item_resource.rb', line 31 class SearchResponseSearchResultsItemResource < T::Struct const :type, Inttegro::Payout::SearchResponseSearchResultsItemResourceType const :id, String end |