def METHOD_NAME(self, tableInFirstNS):
    if tableInFirstNS is None:
        return
    if tableInFirstNS.FooTable() is not None:
        self.fooTable = TableInNestedNST.InitFromObj(tableInFirstNS.FooTable())
    self.fooEnum = tableInFirstNS.FooEnum()
    self.fooUnionType = tableInFirstNS.FooUnionType()
    self.fooUnion = UnionInNestedNSCreator(self.fooUnionType, tableInFirstNS.FooUnion())
    if tableInFirstNS.FooStruct() is not None:
        self.fooStruct = StructInNestedNST.InitFromObj(tableInFirstNS.FooStruct())