from kalshi_python.models.get_markets_response import GetMarketsResponse# Create an instance with example dataget_markets_response_instance = GetMarketsResponse( # Add required fields here)# Convert to JSON stringjson_str = get_markets_response_instance.to_json()print(json_str)# Create from JSON stringget_markets_response_from_json = GetMarketsResponse.from_json(json_str)# Convert to dictget_markets_response_dict = get_markets_response_instance.to_dict()# Create from dictget_markets_response_from_dict = GetMarketsResponse.from_dict(get_markets_response_dict)