@classmethod
def create(cls, max_number: Optional[int]=None, min_number: Optional[int]=None, player_max_number: Optional[int]=None, player_min_number: Optional[int]=None) -> ModelsUpdateAllianceRule:
    instance = cls()
    if (max_number is not None):
        instance.max_number = max_number
    if (min_number is not None):
        instance.min_number = min_number
    if (player_max_number is not None):
        instance.player_max_number = player_max_number
    if (player_min_number is not None):
        instance.player_min_number = player_min_number
    return instance
@classmethod
def create(cls, max_number: Optional[int]=None, min_number: Optional[int]=None, player_max_number: Optional[int]=None, player_min_number: Optional[int]=None) -> ModelsUpdateAllianceRule:
    instance = cls()
    if (max_number is not None):
        instance.max_number = max_number
    if (min_number is not None):
        instance.min_number = min_number
    if (player_max_number is not None):
        instance.player_max_number = player_max_number
    if (player_min_number is not None):
        instance.player_min_number = player_min_number
    return instance