Create TableRateRule

        Create a new TableRateRule
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.create_table_rate_rule(table_rate_rule, async=True)
        >>> result = thread.get()

        :param async bool
        :param TableRateRule table_rate_rule: Attributes of tableRateRule to create (required)
        :return: TableRateRule
                 If the method is called asynchronously,
                 returns the request thread.

def create_table_rate_rule(cls, table_rate_rule, **kwargs):
        """Create TableRateRule

        Create a new TableRateRule
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.create_table_rate_rule(table_rate_rule, async=True)
        >>> result = thread.get()

        :param async bool
        :param TableRateRule table_rate_rule: Attributes of tableRateRule to create (required)
        :return: TableRateRule
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._create_table_rate_rule_with_http_info(table_rate_rule, **kwargs)
        else:
            (data) = cls._create_table_rate_rule_with_http_info(table_rate_rule, **kwargs)
            return data