in azure/durable_functions/models/RetryOptions.py [0:0]
def to_json(self) -> Dict[str, Union[str, int]]:
"""Convert object into a json dictionary.
Returns
-------
Dict[str, Any]
The instance of the class converted into a json dictionary
"""
json_dict: Dict[str, Union[str, int]] = {}
add_attrib(
json_dict,
self,
'first_retry_interval_in_milliseconds',
'firstRetryIntervalInMilliseconds')
add_attrib(
json_dict,
self,
'max_number_of_attempts',
'maxNumberOfAttempts')
return json_dict