# Licensed to the StackStorm, Inc ('StackStorm') under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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.

from __future__ import absolute_import

from st2client.models import core

__all__ = [
    'ServiceRegistry',

    'ServiceRegistryGroup',
    'ServiceRegistryMember'
]


class ServiceRegistry(core.Resource):
    _alias = 'service-registry'
    _display_name = 'service registry'
    _plural = 'service registry'
    _plural_display_name = 'service registry'


class ServiceRegistryGroup(core.Resource):
    _alias = 'group'
    _display_name = 'Group'
    _plural = 'Groups'
    _plural_display_name = 'Groups'
    _repr_attributes = ['group_id']


class ServiceRegistryMember(core.Resource):
    _alias = 'member'
    _display_name = 'Group Member'
    _plural = 'Group Members'
    _plural_display_name = 'Group Members'
    _repr_attributes = ['group_id', 'member_id']

@@ -1031,33 +1031,33 @@
 lay_name = '
-s
+S
 ervice 
-r
+R
 egistry'%0A   
@@ -1064,33 +1064,33 @@
  _plural = '
-s
+S
 ervice 
-r
+R
 egistry'%0A   
@@ -1118,17 +1118,17 @@
  = '
-s
+S
 ervice 
-r
+R
 egis

Use consistent casing.