@classmethod
def create_from_any(cls, any_: any, include_empty: bool=False, many: bool=False) -> Union[(ModelsUpdateAllianceRule, List[ModelsUpdateAllianceRule], Dict[(Any, ModelsUpdateAllianceRule)])]:
    if many:
        if isinstance(any_, dict):
            return cls.create_many_from_dict(any_, include_empty=include_empty)
        elif isinstance(any_, list):
            return cls.create_many_from_list(any_, include_empty=include_empty)
        else:
            raise ValueError()
    else:
        return cls.create_from_dict(any_, include_empty=include_empty)
@classmethod
def create_from_any(cls, any_: any, include_empty: bool=False, many: bool=False) -> Union[(ModelsUpdateAllianceRule, List[ModelsUpdateAllianceRule], Dict[(Any, ModelsUpdateAllianceRule)])]:
    if many:
        if isinstance(any_, dict):
            return cls.create_many_from_dict(any_, include_empty=include_empty)
        elif isinstance(any_, list):
            return cls.create_many_from_list(any_, include_empty=include_empty)
        else:
            raise ValueError()
    else:
        return cls.create_from_dict(any_, include_empty=include_empty)