class XIVAPI::Dataclasses::SearchResult
- XIVAPI::Dataclasses::SearchResult
- Reference
- Object
Overview
Dataclass for results from the /search
endpoint
Defined in:
dataclasses/other/search_result.crConstructors
Instance Method Summary
-
#datatype : String
The name of the type of data that this item is.
- #datatype=(_datatype : String)
-
#icon : String
The URL of the icon for the item.
- #icon=(_icon : String)
-
#id : UInt64
The ID of the item returned from the search results.
- #id=(_id : UInt64)
-
#name : String
The name of the item.
- #name=(_name : String)
-
#score : String
The score of the item relative to the user's search query.
- #score=(_score : String)
- #to_json(json : JSON::Builder)
-
#url : String
The URL to the XIVAPI page for the item.
- #url=(_url : String)
-
#url_type : String
The type of the URL, without the ID.
- #url_type=(_url_type : String)