
* eventbrite_id / external_summit_id * secondary_registration_link * secondary_registration_label * calendar_sync_name * calendar_sync_desc * time_zone_id Change-Id: I9966add955923727c705c0435ed319e066173290
30 lines
1.4 KiB
PHP
30 lines
1.4 KiB
PHP
<?php namespace App\ModelSerializers\Summit;
|
|
/**
|
|
* Copyright 2018 OpenStack Foundation
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
**/
|
|
use ModelSerializers\SummitSerializer;
|
|
/**
|
|
* Class AdminSummitSerializer
|
|
* @package App\ModelSerializers\Summit
|
|
*/
|
|
final class AdminSummitSerializer extends SummitSerializer
|
|
{
|
|
protected static $array_mappings = [
|
|
'AvailableOnApi' => 'available_on_api:json_boolean',
|
|
'MaxSubmissionAllowedPerUser' => 'max_submission_allowed_per_user:json_int',
|
|
'RegistrationLink' => 'registration_link:json_string',
|
|
'Link' => 'link:json_string',
|
|
'ExternalSummitId' => 'external_summit_id:json_string',
|
|
'CalendarSyncName' => 'calendar_sync_name:json_string',
|
|
'CalendarSyncDesc' => 'calendar_sync_desc:json_string',
|
|
];
|
|
} |