class Seatsio::EventsClient

def build_event_request(chart_key: nil, event_key: nil, table_booking_config: nil, social_distancing_ruleset_key: nil)

def build_event_request(chart_key: nil, event_key: nil, table_booking_config: nil, social_distancing_ruleset_key: nil)
  result = {}
  result["chartKey"] = chart_key if chart_key
  result["eventKey"] = event_key if event_key
  result["tableBookingConfig"] = table_booking_config_to_request(table_booking_config) if table_booking_config != nil
  result["socialDistancingRulesetKey"] = social_distancing_ruleset_key if social_distancing_ruleset_key != nil
  result
end