Class: Rubyang::Model::Deviate

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



963
964
965
966
967
968
969
970
971
972
973
974
975
976
# File 'lib/rubyang/model.rb', line 963

def substatements
  {
    :'config'       => 0..1,
    :'default'      => 0..1,
    :'mandatory'    => 0..1,
    :'max-elements' => 0..1,
    :'min-elements' => 0..1,
    :'must'         => 0..Float::INFINITY,
    :'type'         => 0..1,
    :'unique'       => 0..Float::INFINITY,
    :'units'        => 0..1,
    :'unknown'      => 0..Float::INFINITY,
  }
end