Class: USIWireDataClass
- Inherits:
-
SwiftClass
- Object
- SwiftClass
- USIWireDataClass
- Defined in:
- lib/swift_generator/code_generation/usi_metaclasses.rb
Instance Attribute Summary collapse
-
#rest_endpoint ⇒ Object
Returns the value of attribute rest_endpoint.
Instance Method Summary collapse
-
#initialize(definition_set, specified_type_name, endpoint: nil) ⇒ USIWireDataClass
constructor
A new instance of USIWireDataClass.
Constructor Details
#initialize(definition_set, specified_type_name, endpoint: nil) ⇒ USIWireDataClass
Returns a new instance of USIWireDataClass.
16 17 18 19 20 21 22 |
# File 'lib/swift_generator/code_generation/usi_metaclasses.rb', line 16 def initialize (definition_set, specified_type_name, endpoint:nil ) super(definition_set, specified_type_name, inheritance_list=['USIBaseModel'], characteristics:$default_uis_model_characteristics, is_test_element: false, is_user_editable: false) add_simple_class_property( "restEndpoint", :AnvilEndpoint, value:endpoint, override:true ) if !endpoint.nil? end |
Instance Attribute Details
#rest_endpoint ⇒ Object
Returns the value of attribute rest_endpoint.
14 15 16 |
# File 'lib/swift_generator/code_generation/usi_metaclasses.rb', line 14 def rest_endpoint @rest_endpoint end |