def METHOD_NAME(self, obj):
    balancer = LoadBalancer(
        id=obj["id"],
        name=obj["name"],
        state=self.LB_STATE_MAP.get(obj["state"], State.UNKNOWN),
        ip=obj["publicip"],
        port=obj["publicport"],
        driver=self.connection.driver,
    )
    balancer.ex_private_port = obj["privateport"]
    balancer.ex_public_ip_id = obj["publicipid"]
    return balancer