"""Mappings schema.""" from marshmallow import Schema from marshmallow import fields class UpdateMappingsSchema(Schema): """Update Mapping schema. Properties: -parent_rep_owner_key (str): parent_rep_owner_key. -rep_owner_key (str): rep_owner_key. -vendor_id (str): Vendor id. -subaccount_id (str): Subaccount id. """ parent_rep_owner_key = fields.String( required=True, data_key='parent_rep_owner_key') rep_owner_key = fields.String( required=True, data_key='rep_owner_key') vendor_id = fields.Integer( required=True, data_key='vendor_id') subaccount_id = fields.Integer( required=True, data_key='subaccount_id')