struct Ptero::Models::Node

Included Modules

Defined in:

models/node.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def allocated_resources : NodeResources #

[View source]
def behind_proxy? : Bool #

[View source]
def created_at : Time #

[View source]
def daemon_base : String #

[View source]
def daemon_listen : Int32 #

[View source]
def daemon_sftp : Int32 #

[View source]
def description : String | Nil #

[View source]
def disk : Int32 #

[View source]
def disk_overallocate : Int32 #

[View source]
def fqdn : String #

[View source]
def id : Int32 #

[View source]
def location_id : Int32 #

[View source]
def maintenance_mode? : Bool #

[View source]
def memory : Int32 #

[View source]
def memory_overallocate : Int32 #

[View source]
def name : String #

[View source]
def public? : Bool #

[View source]
def scheme : String #

[View source]
def updated_at : Time | Nil #

[View source]
def upload_size : Int32 #

[View source]