Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
Multiverse Travels Booker API
main
Top Level Namespace
Api
TravelsPlanController
TravelsPlanRepository
TravelsPlanService
Error
TravelsPlans
AttrType
TravelsPlanStruct
TravelsPlansTwin
Generated using Crystal 1.10.1
2024-02-25 07:39:45 UTC
struct
TravelsPlanStruct
TravelsPlanStruct
Struct
Value
Object
Included Modules
JSON::Serializable
Defined in:
structs/travels_plan.cr
Constructors
.new
(id : Int32, travel_stops : String | Array(Int32))
.new
(pull : JSON::PullParser)
Instance Method Summary
#id
: Int32
#travel_stops
: Array(Int32) | String
Constructor Detail
def self.
new
(id : Int32, travel_stops : String | Array(Int32))
#
[
View source
]
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
id
: Int32
#
[
View source
]
def
travel_stops
: Array(Int32) | String
#
[
View source
]