code: def init_from_condition_json(self, condition_json):
          
          self.name = condition_json['name']
          self.timelock = condition_json['timelock']
          self.timeout = condition_json['timeout']
          self.contract_name = condition_json['contractName']
          self.function_name = condition_json['functionName']
          self.parameters = [Parameter(p) for p in condition_json['parameters']]
          self.events = [Event(e) for e in condition_json['events']]
docs: Init the condition values from a condition json.
  
          :param condition_json: dict