
POST /api/v1/summits/{id}/attendees payload * member_id ( int | required ) * share_contact_info ( boolean | optional ) * summit_hall_checked_in ( boolean | optional ) * summit_hall_checked_in_date ( epoch | optional ) Change-Id: Ie71d33941f8cc2dbe74446eefc747e306025f17f
28 lines
951 B
PHP
28 lines
951 B
PHP
<?php namespace App\Services\Model;
|
|
/**
|
|
* 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 models\summit\Summit;
|
|
use models\summit\SummitAttendee;
|
|
/**
|
|
* Interface IAttendeeService
|
|
* @package App\Services\Model
|
|
*/
|
|
interface IAttendeeService
|
|
{
|
|
/**
|
|
* @param Summit $summit
|
|
* @param array $data
|
|
* @return SummitAttendee
|
|
*/
|
|
public function addAttendee(Summit $summit, array $data);
|
|
} |