
PUT /api/v1/summits/{id} Payload * name (sometimes|string|max:50) * start_date (sometimes|date_format:U) * end_date (required_with:start_date|date_format:U|after:start_date) * submission_begin_date (sometimes|date_format:U) * submission_end_date (required_with:submission_begin_date|date_format:U|after:submission_begin_date) * voting_begin_date (sometimes|date_format:U) * voting_end_date (required_with:voting_begin_date|date_format:U|after:voting_begin_date) * selection_begin_date (sometimes|date_format:U) * selection_end_date (required_with:selection_begin_date|date_format:U|after:selection_begin_date) * registration_begin_date (sometimes|date_format:U) * registration_end_date (required_with:registration_begin_date|date_format:U|after:registration_begin_date) * start_showing_venues_date (sometimes|date_format:U|before:start_date) * schedule_start_date (sometimes|date_format:U) * active (sometimes|boolean) * dates_label (sometimes|string) * time_zone_id (sometimes|timezone) check http://php.net/manual/en/timezones.php * external_summit_id (sometimes|string) * available_on_api (sometimes|boolean) * calendar_sync_name (sometimes|string|max:255) * calendar_sync_desc (sometimes|string) * link (sometimes|url) * registration_link (sometimes|url) * max_submission_allowed_per_user (sometimes|integer|min:1) Required scopes '%s/summits/write' Change-Id: Ib50c64994f9de5e8cfba0aaf2a990708a3c6afb9
45 lines
1.1 KiB
PHP
45 lines
1.1 KiB
PHP
<?php namespace App\Events;
|
|
/**
|
|
* 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 Illuminate\Queue\SerializesModels;
|
|
|
|
/**
|
|
* Class SummitAction
|
|
* @package App\Events
|
|
*/
|
|
class SummitAction
|
|
{
|
|
use SerializesModels;
|
|
|
|
/**
|
|
* @var int
|
|
*/
|
|
protected $summit_id;
|
|
|
|
/**
|
|
* SummitAction constructor.
|
|
* @param int $summit_id
|
|
*/
|
|
public function __construct($summit_id)
|
|
{
|
|
$this->summit_id = $summit_id;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getSummitId()
|
|
{
|
|
return $this->summit_id;
|
|
}
|
|
} |