def with_max_number(self, value: int) -> ModelsUpdateAllianceRule:
    self.max_number = value
    return self
def with_max_number(self, value: int) -> ModelsUpdateAllianceRule:
    self.max_number = value
    return self