class Host

Included Modules

Defined in:

models/host.cr:1
models/host.cr:3

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

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

Class Method Detail

def self.adapter : Granite::Adapter::Base #

Instance Method Detail

def arch : String #

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

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

[View source]
def id=(id : Int64 | Nil) #

[View source]
def name : String #

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

[View source]
def os : String #

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

[View source]
def uptime : Int64 #

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

[View source]