""" Options: Date: 2024-12-29 04:04:58 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: CRMEducationUpsertRequest.* #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 # @Route("/DynamicsCRM/Education/Upsert/{regent_id}", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class CRMEducationUpsertRequest(IReturn[ResponseStatus]): regent_id: int = 0 import_id: Optional[int] = None institution_regent_id: Optional[int] = None application_guid: Optional[str] = None degree_status: Optional[str] = None degree_type: Optional[str] = None unofficial_institution_name: Optional[str] = None unofficial_degree_name: Optional[str] = None degree_name: Optional[str] = None degree_code: Optional[str] = None description: Optional[str] = None major: Optional[str] = None second_major: Optional[str] = None cumulative_gpa: Optional[Decimal] = None is_final: bool = False is_regis_external_degree: bool = False start_year: Optional[int] = None end_year: Optional[int] = None month_graduated: Optional[int] = None year_graduated: Optional[int] = None added_date: Optional[datetime.datetime] = None