class Seatsio::SeasonsClient
def build_create_season_request(chart_key, key, number_of_events, event_keys, table_booking_config, channels, for_sale_config)
def build_create_season_request(chart_key, key, number_of_events, event_keys, table_booking_config, channels, for_sale_config) request = {} request['chartKey'] = chart_key if chart_key request['key'] = key if key request['numberOfEvents'] = number_of_events if number_of_events request['eventKeys'] = event_keys if event_keys request['tableBookingConfig'] = table_booking_config_to_request(table_booking_config) if table_booking_config != nil request['channels'] = ChannelsClient::channels_to_request(channels) if channels != nil request['forSaleConfig'] = for_sale_config_to_request(for_sale_config) if for_sale_config != nil request end