def __init__(self, client, id, parent_id, nodebalancer_id=None, json=None):
if not nodebalancer_id and not isinstance(parent_id, tuple):<EOL><INDENT>raise ValueError('<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT>if isinstance(parent_id, tuple):<EOL><INDENT>nodebalancer_id = parent_id[<NUM_LIT:1>]<EOL>parent_id = parent_id[<NUM_LIT:0>]<EOL><DEDENT>DerivedBase.__init__(self, client, id, parent_id, json=json)<EOL>self._set('<STR_LIT>', nodebalancer_id)<EOL>
We need a special constructor here because this object's parent
has a parent itself.