class Pterodactyl::ApplicationSdk
- Pterodactyl::ApplicationSdk
- Reference
- Object
Defined in:
pterodactyl/application/sdk.crConstructors
Instance Method Summary
- #create_allocation(node_id : Int64 | Int32 | String, ip : String, ports : Array(String) | Array(Int64) | Array(Int32))
- #create_server(create_server_request : CreateServerRequest)
- #create_user(email : String, username : String, first_name : String, last_name : String, password : String)
- #delete_allocation(node_id : Int64 | Int32 | String, allocation_id : Int64 | Int32 | String)
- #delete_server(id : Int64 | Int32 | String, force : Bool = false)
- #get_allocations(node_id : Int64 | Int32 | String, page : Int64 = 1)
- #get_egg(egg_id : Int64 | Int32 | String, nest_id : Int32 | Int64 | String, relationships : Array(String) = [] of String)
- #get_eggs(id : Int64 | Int32 | String)
- #get_location(id : Int32 | Int64 | String) : Models::Location
- #get_nest(id : Int32 | Int64 | String, relationships : Array(String) = [] of String)
- #get_node(node_id : Int64 | Int32 | String)
- #get_nodes(params : Array(NodeParam) = [] of NodeParam)
- #get_server(id : Int32 | Int64 | String) : Models::ApplicationServer
- #list_locations : Array(Models::Location)
- #list_nests : Array(Models::Nest)
- #list_servers
- #reinstall_server(id : Int64 | Int32 | String)
- #suspend_server(id : Int64 | Int32 | String)
- #unsuspend_server(id : Int64 | Int32 | String)
- #update_server_build(id : Int64 | Int32 | String, body : Body::UpdateServerBuild)
- #update_server_details(id : Int32 | Int64 | String, name : String, user : Int32, external_id : String | Nil = nil, description : String | Nil = nil) : Models::ApplicationServer
- #update_server_startup(id : String | Int32 | Int64, body : Body::UpdateServerStartup)
Constructor Detail
Instance Method Detail
def create_allocation(node_id : Int64 | Int32 | String, ip : String, ports : Array(String) | Array(Int64) | Array(Int32))
#
def create_user(email : String, username : String, first_name : String, last_name : String, password : String)
#
def delete_allocation(node_id : Int64 | Int32 | String, allocation_id : Int64 | Int32 | String)
#
def get_egg(egg_id : Int64 | Int32 | String, nest_id : Int32 | Int64 | String, relationships : Array(String) = [] of String)
#
def update_server_build(id : Int64 | Int32 | String, body : Body::UpdateServerBuild)
#
def update_server_details(id : Int32 | Int64 | String, name : String, user : Int32, external_id : String | Nil = nil, description : String | Nil = nil) : Models::ApplicationServer
#
def update_server_startup(id : String | Int32 | Int64, body : Body::UpdateServerStartup)
#