def __eq__(self, other):
    'Returns true if both objects are equal'
    if (not isinstance(other, ExtensionsV1beta1Scale)):
        return False
    return (self.__dict__ == other.__dict__)
Returns true if both objects are equal
def __eq__(self, other):
    
    if (not isinstance(other, ExtensionsV1beta1Scale)):
        return False
    return (self.__dict__ == other.__dict__)