Class: Keiyaku::Emitter::Model
- Inherits:
-
Data
- Object
- Data
- Keiyaku::Emitter::Model
- Defined in:
- lib/keiyaku/emitter.rb
Overview
One model class to be emitted. fields maps the Ruby name to the Ruby
source for its type, from to the JSON name where the two differ, and
open carries what additionalProperties said. Being a value, two of
these built from the same schema compare equal, which is what lets an
inline schema appearing twice be emitted once.
Instance Attribute Summary collapse
-
#fields ⇒ Object
readonly
Returns the value of attribute fields.
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#open ⇒ Object
readonly
Returns the value of attribute open.
-
#required ⇒ Object
readonly
Returns the value of attribute required.
Instance Attribute Details
#fields ⇒ Object (readonly)
Returns the value of attribute fields
24 25 26 |
# File 'lib/keiyaku/emitter.rb', line 24 def fields @fields end |
#from ⇒ Object (readonly)
Returns the value of attribute from
24 25 26 |
# File 'lib/keiyaku/emitter.rb', line 24 def from @from end |
#open ⇒ Object (readonly)
Returns the value of attribute open
24 25 26 |
# File 'lib/keiyaku/emitter.rb', line 24 def open @open end |
#required ⇒ Object (readonly)
Returns the value of attribute required
24 25 26 |
# File 'lib/keiyaku/emitter.rb', line 24 def required @required end |