class Pterodactyl::CreateServerRequest

Defined in:

pterodactyl/application/create_server_request.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def allocation : NamedTuple(default: Int32, additional: Array(Int32)) #

[View source]
def allocation=(allocation : NamedTuple(default: Int32, additional: Array(Int32))) #

[View source]
def as_json : String #

[View source]
def docker_image : String #

[View source]
def docker_image=(docker_image : String) #

[View source]
def egg : Int64 #

[View source]
def egg=(egg : Int64) #

[View source]
def environment : Hash(String, String) #

[View source]
def environment=(environment : Hash(String, String)) #

[View source]
def feature_limits : Hash(String, Int32) #

[View source]
def feature_limits=(feature_limits : Hash(String, Int32)) #

[View source]
def limits : Hash(String, Int32) #

[View source]
def limits=(limits : Hash(String, Int32)) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def skip_scripts : Bool #

[View source]
def skip_scripts=(skip_scripts : Bool) #

[View source]
def start_on_completion : Bool #

[View source]
def start_on_completion=(start_on_completion : Bool) #

[View source]
def startup : String #

[View source]
def startup=(startup : String) #

[View source]
def user : Int64 #

[View source]
def user=(user : Int64) #

[View source]