Class: Quark::DatawireMdkMd::QuarkMockMockResponse

Inherits:
Object
  • Object
show all
Extended by:
DatawireQuarkCore::Static
Defined in:
lib/datawire_mdk_md.rb

Constant Summary

Constants included from DatawireQuarkCore::Static

DatawireQuarkCore::Static::Unassigned

Instance Method Summary collapse

Methods included from DatawireQuarkCore::Static

_lazy_statics, static, unlazy_statics

Constructor Details

#initializeQuarkMockMockResponse

Returns a new instance of QuarkMockMockResponse.



25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
# File 'lib/datawire_mdk_md.rb', line 25490

def initialize()
    
    super("quark.mock.MockResponse")
    (self).name = "quark.mock.MockResponse"
    (self).parameters = ::DatawireQuarkCore::List.new([])
    (self).fields = ::DatawireQuarkCore::List.new([::Quark.quark.reflect.Field.new("quark.int", "code"), ::Quark.quark.reflect.Field.new("quark.String", "body"), ::Quark.quark.reflect.Field.new("quark.Map<quark.String,quark.String>", "headers")])
    (self).methods = ::DatawireQuarkCore::List.new([::Quark.datawire_mdk_md.quark_mock_MockResponse_getCode_Method.new(), ::Quark.datawire_mdk_md.quark_mock_MockResponse_setCode_Method.new(), ::Quark.datawire_mdk_md.quark_mock_MockResponse_getBody_Method.new(), ::Quark.datawire_mdk_md.quark_mock_MockResponse_setBody_Method.new(), ::Quark.datawire_mdk_md.quark_mock_MockResponse_setHeader_Method.new(), ::Quark.datawire_mdk_md.quark_mock_MockResponse_getHeader_Method.new(), ::Quark.datawire_mdk_md.quark_mock_MockResponse_getHeaders_Method.new()])
    (self).parents = ::DatawireQuarkCore::List.new(["quark.Object"])

    nil
end

Instance Method Details

#__init_fields__Object



25540
25541
25542
25543
25544
25545
# File 'lib/datawire_mdk_md.rb', line 25540

def __init_fields__()
    
    super

    nil
end

#_getClassObject



25519
25520
25521
25522
25523
25524
# File 'lib/datawire_mdk_md.rb', line 25519

def _getClass()
    
    return ::DatawireQuarkCore.cast(nil) { ::String }

    nil
end

#_getField(name) ⇒ Object



25526
25527
25528
25529
25530
25531
# File 'lib/datawire_mdk_md.rb', line 25526

def _getField(name)
    
    return nil

    nil
end

#_setField(name, value) ⇒ Object



25533
25534
25535
25536
25537
25538
# File 'lib/datawire_mdk_md.rb', line 25533

def _setField(name, value)
    
    nil

    nil
end

#construct(args) ⇒ Object



25505
25506
25507
25508
25509
25510
# File 'lib/datawire_mdk_md.rb', line 25505

def construct(args)
    
    return ::Quark.quark.mock.MockResponse.new()

    nil
end

#isAbstractObject



25512
25513
25514
25515
25516
25517
# File 'lib/datawire_mdk_md.rb', line 25512

def isAbstract()
    
    return false

    nil
end