2017-07-13 01:46:11 +02:00
|
|
|
"""
|
|
|
|
.. module: lemur.policies.schemas
|
|
|
|
:platform: unix
|
2018-05-29 19:18:16 +02:00
|
|
|
:copyright: (c) 2018 by Netflix Inc., see AUTHORS for more
|
2017-07-13 01:46:11 +02:00
|
|
|
:license: Apache, see LICENSE for more details.
|
|
|
|
.. moduleauthor:: Kevin Glisson <kglisson@netflix.com>
|
|
|
|
"""
|
|
|
|
from marshmallow import fields
|
|
|
|
|
|
|
|
from lemur.common.schema import LemurOutputSchema
|
|
|
|
|
|
|
|
|
|
|
|
class RotationPolicyOutputSchema(LemurOutputSchema):
|
|
|
|
id = fields.Integer()
|
|
|
|
days = fields.Integer()
|
|
|
|
|
|
|
|
|
|
|
|
class RotationPolicyNestedOutputSchema(RotationPolicyOutputSchema):
|
|
|
|
pass
|