class Pterodactyl::CreateServerRequest
- Pterodactyl::CreateServerRequest
- Reference
- Object
Defined in:
pterodactyl/application/create_server_request.crConstructors
Instance Method Summary
- #allocation : NamedTuple(default: Int32, additional: Array(Int32))
- #allocation=(allocation : NamedTuple(default: Int32, additional: Array(Int32)))
- #as_json : String
- #docker_image : String
- #docker_image=(docker_image : String)
- #egg : Int64
- #egg=(egg : Int64)
- #environment : Hash(String, String)
- #environment=(environment : Hash(String, String))
- #feature_limits : Hash(String, Int32)
- #feature_limits=(feature_limits : Hash(String, Int32))
- #limits : Hash(String, Int32)
- #limits=(limits : Hash(String, Int32))
- #name : String
- #name=(name : String)
- #skip_scripts : Bool
- #skip_scripts=(skip_scripts : Bool)
- #start_on_completion : Bool
- #start_on_completion=(start_on_completion : Bool)
- #startup : String
- #startup=(startup : String)
- #user : Int64
- #user=(user : Int64)
Constructor Detail
def self.new(name : String, user : Int64, egg : Int64, docker_image : String, startup : String, environment : Hash(String, String), limits : Hash(String, Int32), feature_limits : Hash(String, Int32), allocation : NamedTuple(default: Int32, additional: Array(Int32)), start_on_completion : Bool = false, skip_scripts : Bool = false)
#