Class: Rubyang::Model::Submodule

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



285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
# File 'lib/rubyang/model.rb', line 285

def substatements
  {
    :'anyxml'       => 0..Float::INFINITY,
    :'augment'      => 0..Float::INFINITY,
    :'belongs-to'   => 1..1,
    :'choice'       => 0..Float::INFINITY,
    :'contact'      => 0..1,
    :'container'    => 0..Float::INFINITY,
    :'description'  => 0..1,
    :'deviation'    => 0..Float::INFINITY,
    :'extension'    => 0..Float::INFINITY,
    :'feature'      => 0..Float::INFINITY,
    :'grouping'     => 0..Float::INFINITY,
    :'identity'     => 0..Float::INFINITY,
    :'import'       => 0..Float::INFINITY,
    :'include'      => 0..Float::INFINITY,
    :'leaf'         => 0..Float::INFINITY,
    :'leaf-list'    => 0..Float::INFINITY,
    :'list'         => 0..Float::INFINITY,
    :'notification' => 0..Float::INFINITY,
    :'organization' => 0..1,
    :'reference'    => 0..1,
    :'revision'     => 0..Float::INFINITY,
    :'rpc'          => 0..Float::INFINITY,
    :'typedef'      => 0..Float::INFINITY,
    :'uses'         => 0..Float::INFINITY,
    :'yang-version' => 0..1,
    :'unknown'      => 0..Float::INFINITY,
  }
end