barbican/functionaltests/api/v1/models/consumer_model.py
Sheena Gregson 3082d59fb6 Updated copyright dates for functional tests/models
Change-Id: Iafaebcc298759485033bdb70f7bd86aa7f7ada3e
2015-02-17 12:30:20 -06:00

29 lines
950 B
Python

"""
Copyright 2014-2015 Rackspace
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.
"""
from functionaltests.api.v1.models.base_models import BaseModel
class ConsumerModel(BaseModel):
def __init__(self, name=None, URL=None, created=None, updated=None,
status=None):
super(ConsumerModel, self).__init__()
self.name = name
self.URL = URL
self.created = created
self.updated = updated
self.status = status