Class: Rubyang::Model::List

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



631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'lib/rubyang/model.rb', line 631

def substatements
  {
    :'anyxml'       => 0..Float::INFINITY,
    :'choice'       => 0..Float::INFINITY,
    :'config'       => 0..1,
    :'container'    => 0..Float::INFINITY,
    :'description'  => 0..1,
    :'grouping'     => 0..Float::INFINITY,
    :'if-feature'   => 0..Float::INFINITY,
    :'key'          => 0..1,
    :'leaf'         => 0..Float::INFINITY,
    :'leaf-list'    => 0..Float::INFINITY,
    :'list'         => 0..Float::INFINITY,
    :'max-elements' => 0..1,
    :'min-elements' => 0..1,
    :'must'         => 0..Float::INFINITY,
    :'ordered-by'   => 0..1,
    :'reference'    => 0..1,
    :'status'       => 0..1,
    :'typedef'      => 0..Float::INFINITY,
    :'unique'       => 0..Float::INFINITY,
    :'uses'         => 0..Float::INFINITY,
    :'when'         => 0..1,
    :'unknown'      => 0..Float::INFINITY,
  }
end