Class: Rubyang::Model::Leaf

Inherits:
ArgStmt show all
Defined in:
lib/rubyang/model.rb

Instance Method Summary collapse

Methods inherited from ArgStmt

#arg, #arg_regexp, #initialize, #to_s, #valid_arg?

Methods inherited from BaseStmt

#has_substmt?, #initialize, #not_schema_node_substmts, #schema_node_substmts, #substmt, #substmts, #to_s, #to_yang, #without_not_schema_node_substmts

Constructor Details

This class inherits a constructor from Rubyang::Model::ArgStmt

Instance Method Details

#substatementsObject



560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
# File 'lib/rubyang/model.rb', line 560

def substatements
  {
    :'config'      => 0..1,
    :'default'     => 0..1,
    :'description' => 0..1,
    :'if-feature'  => 0..Float::INFINITY,
    :'mandatory'   => 0..1,
    :'must'        => 0..Float::INFINITY,
    :'reference'   => 0..1,
    :'status'      => 0..1,
    :'type'        => 1..1,
    :'units'       => 0..1,
    :'when'        => 0..1,
    :'unknown'     => 0..Float::INFINITY,
  }
end