openstackid-resources/app/ModelSerializers/OrganizationSerializer.php
Sebastian Marcet 261c71f361 Update list members endpoint
* Added email filter param to query by
Member email ( looks on primary, secondary
and third email).
* added affiliation data

Change-Id: I628fa3dfca666767e1031839be29fb51116b9eb6
2017-02-03 11:57:46 -03:00

24 lines
851 B
PHP

<?php namespace ModelSerializers;
/**
* Copyright 2016 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.
**/
/**
* Class OrganizationSerializer
* @package ModelSerializers
*/
final class OrganizationSerializer extends SilverStripeSerializer
{
protected static $array_mappings = [
'Name' => 'name:json_string',
];
}