class Disk

Included Modules

Defined in:

models/disk.cr:1
models/disk.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 free_mb : Float64 #

[View source]
def free_mb=(free_mb : Float64) #

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

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

[View source]
def partition : Partition | Nil #

[View source]
def partition! : Partition #

[View source]
def partition=(parent : Partition) #

[View source]
def partition_id : Int64 | Nil #

def partition_id! : Int64 #

def partition_id=(partition_id : Int64 | Nil) #

def seconds : Int64 #

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

[View source]
def size_mb : Float64 #

[View source]
def size_mb=(size_mb : Float64) #

[View source]
def usage : Float64 #

[View source]
def usage=(usage : Float64) #

[View source]
def used_mb : Float64 #

[View source]
def used_mb=(used_mb : Float64) #

[View source]