""" Options: Date: 2025-05-04 23:10:05 Version: 8.71 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://team.evovoice.io #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: ListUsageRecords.* #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("/billing/usage", "GET") # @Api(Description="Gets all usage records for specified date range") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ListUsageRecords(IReturn[List[UsageRecordInfo]], IGet): """ Gets all usage records for specified date range """ # @ApiMember(Description="The account ID you are listing for") account_id: Optional[str] = None """ The account ID you are listing for """ # @ApiMember(Description="The start date to retrieve usage records for (YYYY-MM-DD)") start_date: Optional[str] = None """ The start date to retrieve usage records for (YYYY-MM-DD) """ # @ApiMember(Description="The end date to retrieve usage records for (YYYY-MM-DD)") end_date: Optional[str] = None """ The end date to retrieve usage records for (YYYY-MM-DD) """