""" Options: Date: 2024-12-29 02:20:21 Version: 8.22 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://data.regent-college.edu #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: FinanceBalanceRequest.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FinanceBalanceResponse: response_status: Optional[ResponseStatus] = None regent_id: int = 0 first_name: Optional[str] = None last_name: Optional[str] = None email: Optional[str] = None current_program: Optional[str] = None first_regent_term: Optional[str] = None first_registered_date: Optional[datetime.datetime] = None last_registered_date: Optional[datetime.datetime] = None uuid: Optional[str] = None total_payments: Decimal = decimal.Decimal(0) total_charges: Decimal = decimal.Decimal(0) balance: Decimal = decimal.Decimal(0) gp_raw_balance: Decimal = decimal.Decimal(0) is_vendor: bool = False is_customer: bool = False # @Route("/Finance/Balance/{uuid}", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FinanceBalanceRequest(IReturn[FinanceBalanceResponse]): uuid: Optional[str] = None