class Net

Included Modules

Defined in:

models/net.cr:1
models/net.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 id : Int64 | Nil #

[View source]
def id! : Int64 #

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

[View source]
def received_mb : Float64 #

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

[View source]
def received_packets : Int64 #

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

[View source]
def seconds : Int64 #

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

[View source]
def sent_mb : Float64 #

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

[View source]
def sent_packets : Int64 #

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

[View source]