Class: Orb::Internal::Type::BaseModel Abstract
- Inherits:
-
Object
- Object
- Orb::Internal::Type::BaseModel
- Extended by:
- Converter, Util::SorbetRuntimeSupport
- Defined in:
- lib/orb/internal/type/base_model.rb,
sig/orb/internal/type/base_model.rbs
Overview
Direct Known Subclasses
Page::PaginationMetadata, Models::AccountingProviderConfig, Models::Address, Models::AddressInput, Models::AdjustmentInterval, Models::AdjustmentInterval::Adjustment::TieredPercentageDiscount, Models::AdjustmentInterval::Adjustment::TieredPercentageDiscount::Filter, Models::AdjustmentInterval::Adjustment::TieredPercentageDiscount::Tier, Models::AggregatedCost, Models::Alert, Models::Alert::BalanceAlertStatus, Models::Alert::LicenseType, Models::Alert::Metric, Models::Alert::Plan, Models::Alert::PriceFilter, Models::Alert::ThresholdOverride, Models::AlertCreateForCustomerParams, Models::AlertCreateForExternalCustomerParams, Models::AlertCreateForSubscriptionParams, Models::AlertCreateForSubscriptionParams::PriceFilter, Models::AlertCreateForSubscriptionParams::ThresholdOverride, Models::AlertDisableParams, Models::AlertEnableParams, Models::AlertListParams, Models::AlertRetrieveParams, Models::AlertUpdateParams, Models::AlertUpdateParams::PriceFilter, Models::AlertUpdateParams::ThresholdOverride, Models::Allocation, Models::Allocation::Filter, Models::AmountDiscount, Models::AmountDiscount::Filter, Models::AmountDiscountInterval, Models::AmountDiscountInterval::Filter, Models::Beta::ExternalPlanIDCreatePlanVersionParams, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddAdjustment, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier, Models::Beta::ExternalPlanIDCreatePlanVersionParams::RemoveAdjustment, Models::Beta::ExternalPlanIDCreatePlanVersionParams::RemovePrice, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig, Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier, Models::Beta::ExternalPlanIDFetchPlanVersionParams, Models::Beta::ExternalPlanIDSetDefaultPlanVersionParams, Models::BetaCreatePlanVersionParams, Models::BetaCreatePlanVersionParams::AddAdjustment, Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount, Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter, Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier, Models::BetaCreatePlanVersionParams::AddPrice, Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice, Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation, Models::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters, Models::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig, Models::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation, Models::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance, Models::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput, Models::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig, Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds, Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts, Models::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance, Models::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig, Models::BetaCreatePlanVersionParams::AddPrice::Price::Percent, Models::BetaCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig, Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration, Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig, Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier, Models::BetaCreatePlanVersionParams::RemoveAdjustment, Models::BetaCreatePlanVersionParams::RemovePrice, Models::BetaCreatePlanVersionParams::ReplaceAdjustment, Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount, Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter, Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier, Models::BetaCreatePlanVersionParams::ReplacePrice, Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice, Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig, Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier, Models::BetaFetchPlanVersionParams, Models::BetaSetDefaultPlanVersionParams, Models::BillableMetric, Models::BillableMetricTiny, Models::BillingCycleAnchorConfiguration, Models::BillingCycleConfiguration, Models::BulkConfig, Models::BulkTier, Models::ChangedSubscriptionResources, Models::ChangedSubscriptionResources::CreatedInvoice, Models::ChangedSubscriptionResources::CreatedInvoice::AutoCollection, Models::ChangedSubscriptionResources::CreatedInvoice::CreditNote, Models::ChangedSubscriptionResources::CreatedInvoice::CustomerBalanceTransaction, Models::ChangedSubscriptionResources::CreatedInvoice::LineItem, Models::ChangedSubscriptionResources::CreatedInvoice::LineItem::Adjustment::TieredPercentageDiscount, Models::ChangedSubscriptionResources::CreatedInvoice::LineItem::Adjustment::TieredPercentageDiscount::Filter, Models::ChangedSubscriptionResources::CreatedInvoice::LineItem::Adjustment::TieredPercentageDiscount::Tier, Models::ChangedSubscriptionResources::CreatedInvoice::PaymentAttempt, Models::ConversionRateTier, Models::ConversionRateTieredConfig, Models::ConversionRateUnitConfig, Models::Coupon, Models::CouponArchiveParams, Models::CouponCreateParams, Models::CouponCreateParams::Discount::Amount, Models::CouponCreateParams::Discount::Percentage, Models::CouponFetchParams, Models::CouponListParams, Models::CouponRedemption, Models::Coupons::SubscriptionListParams, Models::CreditBlockDeleteParams, Models::CreditBlockListInvoicesParams, Models::CreditBlockListInvoicesResponse, Models::CreditBlockListInvoicesResponse::Block, Models::CreditBlockListInvoicesResponse::Block::CreditAllocation, Models::CreditBlockListInvoicesResponse::Block::CreditAllocation::Filter, Models::CreditBlockListInvoicesResponse::Block::CreditCommitment, Models::CreditBlockListInvoicesResponse::Block::Filter, Models::CreditBlockListInvoicesResponse::Invoice, Models::CreditBlockRetrieveParams, Models::CreditBlockRetrieveResponse, Models::CreditBlockRetrieveResponse::CreditAllocation, Models::CreditBlockRetrieveResponse::CreditAllocation::Filter, Models::CreditBlockRetrieveResponse::CreditCommitment, Models::CreditBlockRetrieveResponse::Filter, Models::CreditNote, Models::CreditNote::Discount, Models::CreditNote::Discount::AppliesToPrice, Models::CreditNote::LineItem, Models::CreditNote::LineItem::Discount, Models::CreditNote::MaximumAmountAdjustment, Models::CreditNote::MaximumAmountAdjustment::AppliesToPrice, Models::CreditNoteCreateParams, Models::CreditNoteCreateParams::LineItem, Models::CreditNoteFetchParams, Models::CreditNoteListParams, Models::CreditNoteTiny, Models::CustomExpiration, Models::Customer, Models::Customer::AccountingSyncConfiguration, Models::Customer::AccountingSyncConfiguration::AccountingProvider, Models::Customer::DefaultPaymentMethod, Models::Customer::Hierarchy, Models::Customer::PaymentConfiguration, Models::Customer::PaymentConfiguration::PaymentProvider, Models::Customer::ReportingConfiguration, Models::CustomerCreateParams, Models::CustomerCreateParams::PaymentConfiguration, Models::CustomerCreateParams::PaymentConfiguration::PaymentProvider, Models::CustomerCreateParams::TaxConfiguration::Anrok, Models::CustomerCreateParams::TaxConfiguration::Numeral, Models::CustomerCreateParams::TaxConfiguration::Stripe, Models::CustomerDeleteParams, Models::CustomerFetchByExternalIDParams, Models::CustomerFetchParams, Models::CustomerHierarchyConfig, Models::CustomerListParams, Models::CustomerMinified, Models::CustomerSyncPaymentMethodsFromGatewayByExternalCustomerIDParams, Models::CustomerSyncPaymentMethodsFromGatewayParams, Models::CustomerTaxID, Models::CustomerUpdateByExternalIDParams, Models::CustomerUpdateByExternalIDParams::PaymentConfiguration, Models::CustomerUpdateByExternalIDParams::PaymentConfiguration::PaymentProvider, Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Anrok, Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Numeral, Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Stripe, Models::CustomerUpdateParams, Models::CustomerUpdateParams::PaymentConfiguration, Models::CustomerUpdateParams::PaymentConfiguration::PaymentProvider, Models::CustomerUpdateParams::TaxConfiguration::Anrok, Models::CustomerUpdateParams::TaxConfiguration::Numeral, Models::CustomerUpdateParams::TaxConfiguration::Stripe, Models::Customers::BalanceTransactionCreateParams, Models::Customers::BalanceTransactionCreateResponse, Models::Customers::BalanceTransactionListParams, Models::Customers::BalanceTransactionListResponse, Models::Customers::CostListByExternalIDParams, Models::Customers::CostListByExternalIDResponse, Models::Customers::CostListParams, Models::Customers::CostListResponse, Models::Customers::CreditListByExternalIDParams, Models::Customers::CreditListByExternalIDResponse, Models::Customers::CreditListByExternalIDResponse::CreditAllocation, Models::Customers::CreditListByExternalIDResponse::CreditAllocation::Filter, Models::Customers::CreditListByExternalIDResponse::CreditCommitment, Models::Customers::CreditListByExternalIDResponse::Filter, Models::Customers::CreditListParams, Models::Customers::CreditListResponse, Models::Customers::CreditListResponse::CreditAllocation, Models::Customers::CreditListResponse::CreditAllocation::Filter, Models::Customers::CreditListResponse::CreditCommitment, Models::Customers::CreditListResponse::Filter, Models::Customers::Credits::AffectedBlock, Models::Customers::Credits::AffectedBlock::Filter, Models::Customers::Credits::AmendmentLedgerEntry, Models::Customers::Credits::CreditBlockExpiryLedgerEntry, Models::Customers::Credits::DecrementLedgerEntry, Models::Customers::Credits::ExpirationChangeLedgerEntry, Models::Customers::Credits::IncrementLedgerEntry, Models::Customers::Credits::LedgerCreateEntryByExternalIDParams, Models::Customers::Credits::LedgerCreateEntryByExternalIDParams::Body::Amendment, Models::Customers::Credits::LedgerCreateEntryByExternalIDParams::Body::Decrement, Models::Customers::Credits::LedgerCreateEntryByExternalIDParams::Body::ExpirationChange, Models::Customers::Credits::LedgerCreateEntryByExternalIDParams::Body::Increment, Models::Customers::Credits::LedgerCreateEntryByExternalIDParams::Body::Increment::Filter, Models::Customers::Credits::LedgerCreateEntryByExternalIDParams::Body::Increment::InvoiceSettings, Models::Customers::Credits::LedgerCreateEntryByExternalIDParams::Body::Void, Models::Customers::Credits::LedgerCreateEntryParams, Models::Customers::Credits::LedgerCreateEntryParams::Body::Amendment, Models::Customers::Credits::LedgerCreateEntryParams::Body::Decrement, Models::Customers::Credits::LedgerCreateEntryParams::Body::ExpirationChange, Models::Customers::Credits::LedgerCreateEntryParams::Body::Increment, Models::Customers::Credits::LedgerCreateEntryParams::Body::Increment::Filter, Models::Customers::Credits::LedgerCreateEntryParams::Body::Increment::InvoiceSettings, Models::Customers::Credits::LedgerCreateEntryParams::Body::Void, Models::Customers::Credits::LedgerListByExternalIDParams, Models::Customers::Credits::LedgerListParams, Models::Customers::Credits::TopUpCreateByExternalIDParams, Models::Customers::Credits::TopUpCreateByExternalIDParams::InvoiceSettings, Models::Customers::Credits::TopUpCreateByExternalIDResponse, Models::Customers::Credits::TopUpCreateParams, Models::Customers::Credits::TopUpCreateParams::InvoiceSettings, Models::Customers::Credits::TopUpCreateResponse, Models::Customers::Credits::TopUpDeleteByExternalIDParams, Models::Customers::Credits::TopUpDeleteParams, Models::Customers::Credits::TopUpInvoiceSettings, Models::Customers::Credits::TopUpListByExternalIDParams, Models::Customers::Credits::TopUpListByExternalIDResponse, Models::Customers::Credits::TopUpListParams, Models::Customers::Credits::TopUpListResponse, Models::Customers::Credits::VoidInitiatedLedgerEntry, Models::Customers::Credits::VoidLedgerEntry, Models::DimensionalPriceConfiguration, Models::DimensionalPriceGroup, Models::DimensionalPriceGroupCreateParams, Models::DimensionalPriceGroupListParams, Models::DimensionalPriceGroupRetrieveParams, Models::DimensionalPriceGroupUpdateParams, Models::DimensionalPriceGroups::ExternalDimensionalPriceGroupIDRetrieveParams, Models::DimensionalPriceGroups::ExternalDimensionalPriceGroupIDUpdateParams, Models::DimensionalPriceGroupsAPI, Models::Discount::TieredPercentage, Models::Discount::TieredPercentage::Filter, Models::Discount::TieredPercentage::Tier, Models::DiscountOverride, Models::EvaluatePriceGroup, Models::EventDeprecateParams, Models::EventDeprecateResponse, Models::EventIngestParams, Models::EventIngestParams::Event, Models::EventIngestResponse, Models::EventIngestResponse::Debug, Models::EventIngestResponse::ValidationFailed, Models::EventSearchParams, Models::EventSearchResponse, Models::EventSearchResponse::Data, Models::EventUpdateParams, Models::EventUpdateResponse, Models::Events::BackfillCloseParams, Models::Events::BackfillCloseResponse, Models::Events::BackfillCreateParams, Models::Events::BackfillCreateResponse, Models::Events::BackfillFetchParams, Models::Events::BackfillFetchResponse, Models::Events::BackfillListParams, Models::Events::BackfillListResponse, Models::Events::BackfillRevertParams, Models::Events::BackfillRevertResponse, Models::Events::EventVolumes, Models::Events::EventVolumes::Data, Models::Events::VolumeListParams, Models::FixedFeeQuantityScheduleEntry, Models::FixedFeeQuantityTransition, Models::Invoice, Models::Invoice::AutoCollection, Models::Invoice::CreditNote, Models::Invoice::CustomerBalanceTransaction, Models::Invoice::LineItem, Models::Invoice::LineItem::Adjustment::TieredPercentageDiscount, Models::Invoice::LineItem::Adjustment::TieredPercentageDiscount::Filter, Models::Invoice::LineItem::Adjustment::TieredPercentageDiscount::Tier, Models::Invoice::PaymentAttempt, Models::InvoiceCreateParams, Models::InvoiceCreateParams::LineItem, Models::InvoiceDeleteLineItemParams, Models::InvoiceFetchParams, Models::InvoiceFetchUpcomingParams, Models::InvoiceFetchUpcomingResponse, Models::InvoiceFetchUpcomingResponse::AutoCollection, Models::InvoiceFetchUpcomingResponse::CreditNote, Models::InvoiceFetchUpcomingResponse::CustomerBalanceTransaction, Models::InvoiceFetchUpcomingResponse::LineItem, Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::TieredPercentageDiscount, Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::TieredPercentageDiscount::Filter, Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::TieredPercentageDiscount::Tier, Models::InvoiceFetchUpcomingResponse::PaymentAttempt, Models::InvoiceIssueParams, Models::InvoiceIssueSummaryParams, Models::InvoiceIssueSummaryResponse, Models::InvoiceIssueSummaryResponse::AutoCollection, Models::InvoiceIssueSummaryResponse::CreditNote, Models::InvoiceIssueSummaryResponse::CustomerBalanceTransaction, Models::InvoiceIssueSummaryResponse::PaymentAttempt, Models::InvoiceLevelDiscount::TieredPercentage, Models::InvoiceLevelDiscount::TieredPercentage::Filter, Models::InvoiceLevelDiscount::TieredPercentage::Tier, Models::InvoiceLineItemCreateParams, Models::InvoiceLineItemCreateResponse, Models::InvoiceLineItemCreateResponse::Adjustment::TieredPercentageDiscount, Models::InvoiceLineItemCreateResponse::Adjustment::TieredPercentageDiscount::Filter, Models::InvoiceLineItemCreateResponse::Adjustment::TieredPercentageDiscount::Tier, Models::InvoiceListParams, Models::InvoiceListSummaryParams, Models::InvoiceListSummaryResponse, Models::InvoiceListSummaryResponse::AutoCollection, Models::InvoiceListSummaryResponse::CreditNote, Models::InvoiceListSummaryResponse::CustomerBalanceTransaction, Models::InvoiceListSummaryResponse::PaymentAttempt, Models::InvoiceMarkPaidParams, Models::InvoicePayParams, Models::InvoiceTiny, Models::InvoiceUpdateParams, Models::InvoiceVoidParams, Models::Item, Models::Item::ExternalConnection, Models::ItemArchiveParams, Models::ItemCreateParams, Models::ItemFetchParams, Models::ItemListParams, Models::ItemSlim, Models::ItemUpdateParams, Models::ItemUpdateParams::ExternalConnection, Models::LicenseCreateParams, Models::LicenseCreateResponse, Models::LicenseDeactivateParams, Models::LicenseDeactivateResponse, Models::LicenseListParams, Models::LicenseListResponse, Models::LicenseRetrieveByExternalIDParams, Models::LicenseRetrieveByExternalIDResponse, Models::LicenseRetrieveParams, Models::LicenseRetrieveResponse, Models::LicenseTypeCreateParams, Models::LicenseTypeCreateResponse, Models::LicenseTypeListParams, Models::LicenseTypeListResponse, Models::LicenseTypeRetrieveParams, Models::LicenseTypeRetrieveResponse, Models::Licenses::ExternalLicenseGetUsageParams, Models::Licenses::ExternalLicenseGetUsageResponse, Models::Licenses::ExternalLicenseGetUsageResponse::Data, Models::Licenses::UsageGetAllUsageParams, Models::Licenses::UsageGetAllUsageResponse, Models::Licenses::UsageGetAllUsageResponse::Data, Models::Licenses::UsageGetUsageParams, Models::Licenses::UsageGetUsageResponse, Models::Licenses::UsageGetUsageResponse::Data, Models::MatrixConfig, Models::MatrixSubLineItem, Models::MatrixValue, Models::MatrixWithAllocationConfig, Models::MatrixWithAllocationConfig::MatrixValue, Models::Maximum, Models::Maximum::Filter, Models::MaximumInterval, Models::MaximumInterval::Filter, Models::MetricCreateParams, Models::MetricFetchParams, Models::MetricListParams, Models::MetricUpdateParams, Models::Minimum, Models::Minimum::Filter, Models::MinimumInterval, Models::MinimumInterval::Filter, Models::MonetaryAmountDiscountAdjustment, Models::MonetaryAmountDiscountAdjustment::Filter, Models::MonetaryMaximumAdjustment, Models::MonetaryMaximumAdjustment::Filter, Models::MonetaryMinimumAdjustment, Models::MonetaryMinimumAdjustment::Filter, Models::MonetaryPercentageDiscountAdjustment, Models::MonetaryPercentageDiscountAdjustment::Filter, Models::MonetaryUsageDiscountAdjustment, Models::MonetaryUsageDiscountAdjustment::Filter, Models::MutatedSubscription, Models::MutatedSubscription::DiscountInterval::TieredPercentage, Models::MutatedSubscription::DiscountInterval::TieredPercentage::Filter, Models::MutatedSubscription::DiscountInterval::TieredPercentage::Tier, Models::NewAccountingSyncConfiguration, Models::NewAllocationPrice, Models::NewAllocationPrice::Filter, Models::NewAmountDiscount, Models::NewAmountDiscount::Filter, Models::NewAvalaraTaxConfiguration, Models::NewBillingCycleConfiguration, Models::NewDimensionalPriceConfiguration, Models::NewFloatingBulkPrice, Models::NewFloatingBulkWithProrationPrice, Models::NewFloatingBulkWithProrationPrice::BulkWithProrationConfig, Models::NewFloatingBulkWithProrationPrice::BulkWithProrationConfig::Tier, Models::NewFloatingCumulativeGroupedBulkPrice, Models::NewFloatingCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig, Models::NewFloatingCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig::DimensionValue, Models::NewFloatingGroupedAllocationPrice, Models::NewFloatingGroupedAllocationPrice::GroupedAllocationConfig, Models::NewFloatingGroupedTieredPackagePrice, Models::NewFloatingGroupedTieredPackagePrice::GroupedTieredPackageConfig, Models::NewFloatingGroupedTieredPackagePrice::GroupedTieredPackageConfig::Tier, Models::NewFloatingGroupedTieredPrice, Models::NewFloatingGroupedTieredPrice::GroupedTieredConfig, Models::NewFloatingGroupedTieredPrice::GroupedTieredConfig::Tier, Models::NewFloatingGroupedWithMeteredMinimumPrice, Models::NewFloatingGroupedWithMeteredMinimumPrice::GroupedWithMeteredMinimumConfig, Models::NewFloatingGroupedWithMeteredMinimumPrice::GroupedWithMeteredMinimumConfig::ScalingFactor, Models::NewFloatingGroupedWithMeteredMinimumPrice::GroupedWithMeteredMinimumConfig::UnitAmount, Models::NewFloatingGroupedWithProratedMinimumPrice, Models::NewFloatingGroupedWithProratedMinimumPrice::GroupedWithProratedMinimumConfig, Models::NewFloatingMatrixPrice, Models::NewFloatingMatrixWithAllocationPrice, Models::NewFloatingMatrixWithDisplayNamePrice, Models::NewFloatingMatrixWithDisplayNamePrice::MatrixWithDisplayNameConfig, Models::NewFloatingMatrixWithDisplayNamePrice::MatrixWithDisplayNameConfig::UnitAmount, Models::NewFloatingMaxGroupTieredPackagePrice, Models::NewFloatingMaxGroupTieredPackagePrice::MaxGroupTieredPackageConfig, Models::NewFloatingMaxGroupTieredPackagePrice::MaxGroupTieredPackageConfig::Tier, Models::NewFloatingMinimumCompositePrice, Models::NewFloatingMinimumCompositePrice::MinimumCompositeConfig, Models::NewFloatingPackagePrice, Models::NewFloatingPackageWithAllocationPrice, Models::NewFloatingPackageWithAllocationPrice::PackageWithAllocationConfig, Models::NewFloatingScalableMatrixWithTieredPricingPrice, Models::NewFloatingScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig, Models::NewFloatingScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig::MatrixScalingFactor, Models::NewFloatingScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig::Tier, Models::NewFloatingScalableMatrixWithUnitPricingPrice, Models::NewFloatingScalableMatrixWithUnitPricingPrice::ScalableMatrixWithUnitPricingConfig, Models::NewFloatingScalableMatrixWithUnitPricingPrice::ScalableMatrixWithUnitPricingConfig::MatrixScalingFactor, Models::NewFloatingThresholdTotalAmountPrice, Models::NewFloatingThresholdTotalAmountPrice::ThresholdTotalAmountConfig, Models::NewFloatingThresholdTotalAmountPrice::ThresholdTotalAmountConfig::ConsumptionTable, Models::NewFloatingTieredPackagePrice, Models::NewFloatingTieredPackagePrice::TieredPackageConfig, Models::NewFloatingTieredPackagePrice::TieredPackageConfig::Tier, Models::NewFloatingTieredPackageWithMinimumPrice, Models::NewFloatingTieredPackageWithMinimumPrice::TieredPackageWithMinimumConfig, Models::NewFloatingTieredPackageWithMinimumPrice::TieredPackageWithMinimumConfig::Tier, Models::NewFloatingTieredPrice, Models::NewFloatingTieredWithMinimumPrice, Models::NewFloatingTieredWithMinimumPrice::TieredWithMinimumConfig, Models::NewFloatingTieredWithMinimumPrice::TieredWithMinimumConfig::Tier, Models::NewFloatingTieredWithProrationPrice, Models::NewFloatingTieredWithProrationPrice::TieredWithProrationConfig, Models::NewFloatingTieredWithProrationPrice::TieredWithProrationConfig::Tier, Models::NewFloatingUnitPrice, Models::NewFloatingUnitWithPercentPrice, Models::NewFloatingUnitWithPercentPrice::UnitWithPercentConfig, Models::NewFloatingUnitWithProrationPrice, Models::NewFloatingUnitWithProrationPrice::UnitWithProrationConfig, Models::NewMaximum, Models::NewMaximum::Filter, Models::NewMinimum, Models::NewMinimum::Filter, Models::NewPercentageDiscount, Models::NewPercentageDiscount::Filter, Models::NewPlanBulkPrice, Models::NewPlanBulkWithProrationPrice, Models::NewPlanBulkWithProrationPrice::BulkWithProrationConfig, Models::NewPlanBulkWithProrationPrice::BulkWithProrationConfig::Tier, Models::NewPlanCumulativeGroupedBulkPrice, Models::NewPlanCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig, Models::NewPlanCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig::DimensionValue, Models::NewPlanGroupedAllocationPrice, Models::NewPlanGroupedAllocationPrice::GroupedAllocationConfig, Models::NewPlanGroupedTieredPackagePrice, Models::NewPlanGroupedTieredPackagePrice::GroupedTieredPackageConfig, Models::NewPlanGroupedTieredPackagePrice::GroupedTieredPackageConfig::Tier, Models::NewPlanGroupedTieredPrice, Models::NewPlanGroupedTieredPrice::GroupedTieredConfig, Models::NewPlanGroupedTieredPrice::GroupedTieredConfig::Tier, Models::NewPlanGroupedWithMeteredMinimumPrice, Models::NewPlanGroupedWithMeteredMinimumPrice::GroupedWithMeteredMinimumConfig, Models::NewPlanGroupedWithMeteredMinimumPrice::GroupedWithMeteredMinimumConfig::ScalingFactor, Models::NewPlanGroupedWithMeteredMinimumPrice::GroupedWithMeteredMinimumConfig::UnitAmount, Models::NewPlanGroupedWithProratedMinimumPrice, Models::NewPlanGroupedWithProratedMinimumPrice::GroupedWithProratedMinimumConfig, Models::NewPlanMatrixPrice, Models::NewPlanMatrixWithAllocationPrice, Models::NewPlanMatrixWithDisplayNamePrice, Models::NewPlanMatrixWithDisplayNamePrice::MatrixWithDisplayNameConfig, Models::NewPlanMatrixWithDisplayNamePrice::MatrixWithDisplayNameConfig::UnitAmount, Models::NewPlanMaxGroupTieredPackagePrice, Models::NewPlanMaxGroupTieredPackagePrice::MaxGroupTieredPackageConfig, Models::NewPlanMaxGroupTieredPackagePrice::MaxGroupTieredPackageConfig::Tier, Models::NewPlanMinimumCompositePrice, Models::NewPlanMinimumCompositePrice::MinimumCompositeConfig, Models::NewPlanPackagePrice, Models::NewPlanPackageWithAllocationPrice, Models::NewPlanPackageWithAllocationPrice::PackageWithAllocationConfig, Models::NewPlanScalableMatrixWithTieredPricingPrice, Models::NewPlanScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig, Models::NewPlanScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig::MatrixScalingFactor, Models::NewPlanScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig::Tier, Models::NewPlanScalableMatrixWithUnitPricingPrice, Models::NewPlanScalableMatrixWithUnitPricingPrice::ScalableMatrixWithUnitPricingConfig, Models::NewPlanScalableMatrixWithUnitPricingPrice::ScalableMatrixWithUnitPricingConfig::MatrixScalingFactor, Models::NewPlanThresholdTotalAmountPrice, Models::NewPlanThresholdTotalAmountPrice::ThresholdTotalAmountConfig, Models::NewPlanThresholdTotalAmountPrice::ThresholdTotalAmountConfig::ConsumptionTable, Models::NewPlanTieredPackagePrice, Models::NewPlanTieredPackagePrice::TieredPackageConfig, Models::NewPlanTieredPackagePrice::TieredPackageConfig::Tier, Models::NewPlanTieredPackageWithMinimumPrice, Models::NewPlanTieredPackageWithMinimumPrice::TieredPackageWithMinimumConfig, Models::NewPlanTieredPackageWithMinimumPrice::TieredPackageWithMinimumConfig::Tier, Models::NewPlanTieredPrice, Models::NewPlanTieredWithMinimumPrice, Models::NewPlanTieredWithMinimumPrice::TieredWithMinimumConfig, Models::NewPlanTieredWithMinimumPrice::TieredWithMinimumConfig::Tier, Models::NewPlanUnitPrice, Models::NewPlanUnitWithPercentPrice, Models::NewPlanUnitWithPercentPrice::UnitWithPercentConfig, Models::NewPlanUnitWithProrationPrice, Models::NewPlanUnitWithProrationPrice::UnitWithProrationConfig, Models::NewReportingConfiguration, Models::NewSphereConfiguration, Models::NewSubscriptionBulkPrice, Models::NewSubscriptionBulkWithProrationPrice, Models::NewSubscriptionBulkWithProrationPrice::BulkWithProrationConfig, Models::NewSubscriptionBulkWithProrationPrice::BulkWithProrationConfig::Tier, Models::NewSubscriptionCumulativeGroupedBulkPrice, Models::NewSubscriptionCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig, Models::NewSubscriptionCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig::DimensionValue, Models::NewSubscriptionGroupedAllocationPrice, Models::NewSubscriptionGroupedAllocationPrice::GroupedAllocationConfig, Models::NewSubscriptionGroupedTieredPackagePrice, Models::NewSubscriptionGroupedTieredPackagePrice::GroupedTieredPackageConfig, Models::NewSubscriptionGroupedTieredPackagePrice::GroupedTieredPackageConfig::Tier, Models::NewSubscriptionGroupedTieredPrice, Models::NewSubscriptionGroupedTieredPrice::GroupedTieredConfig, Models::NewSubscriptionGroupedTieredPrice::GroupedTieredConfig::Tier, Models::NewSubscriptionGroupedWithMeteredMinimumPrice, Models::NewSubscriptionGroupedWithMeteredMinimumPrice::GroupedWithMeteredMinimumConfig, Models::NewSubscriptionGroupedWithMeteredMinimumPrice::GroupedWithMeteredMinimumConfig::ScalingFactor, Models::NewSubscriptionGroupedWithMeteredMinimumPrice::GroupedWithMeteredMinimumConfig::UnitAmount, Models::NewSubscriptionGroupedWithProratedMinimumPrice, Models::NewSubscriptionGroupedWithProratedMinimumPrice::GroupedWithProratedMinimumConfig, Models::NewSubscriptionMatrixPrice, Models::NewSubscriptionMatrixWithAllocationPrice, Models::NewSubscriptionMatrixWithDisplayNamePrice, Models::NewSubscriptionMatrixWithDisplayNamePrice::MatrixWithDisplayNameConfig, Models::NewSubscriptionMatrixWithDisplayNamePrice::MatrixWithDisplayNameConfig::UnitAmount, Models::NewSubscriptionMaxGroupTieredPackagePrice, Models::NewSubscriptionMaxGroupTieredPackagePrice::MaxGroupTieredPackageConfig, Models::NewSubscriptionMaxGroupTieredPackagePrice::MaxGroupTieredPackageConfig::Tier, Models::NewSubscriptionMinimumCompositePrice, Models::NewSubscriptionMinimumCompositePrice::MinimumCompositeConfig, Models::NewSubscriptionPackagePrice, Models::NewSubscriptionPackageWithAllocationPrice, Models::NewSubscriptionPackageWithAllocationPrice::PackageWithAllocationConfig, Models::NewSubscriptionScalableMatrixWithTieredPricingPrice, Models::NewSubscriptionScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig, Models::NewSubscriptionScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig::MatrixScalingFactor, Models::NewSubscriptionScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig::Tier, Models::NewSubscriptionScalableMatrixWithUnitPricingPrice, Models::NewSubscriptionScalableMatrixWithUnitPricingPrice::ScalableMatrixWithUnitPricingConfig, Models::NewSubscriptionScalableMatrixWithUnitPricingPrice::ScalableMatrixWithUnitPricingConfig::MatrixScalingFactor, Models::NewSubscriptionThresholdTotalAmountPrice, Models::NewSubscriptionThresholdTotalAmountPrice::ThresholdTotalAmountConfig, Models::NewSubscriptionThresholdTotalAmountPrice::ThresholdTotalAmountConfig::ConsumptionTable, Models::NewSubscriptionTieredPackagePrice, Models::NewSubscriptionTieredPackagePrice::TieredPackageConfig, Models::NewSubscriptionTieredPackagePrice::TieredPackageConfig::Tier, Models::NewSubscriptionTieredPackageWithMinimumPrice, Models::NewSubscriptionTieredPackageWithMinimumPrice::TieredPackageWithMinimumConfig, Models::NewSubscriptionTieredPackageWithMinimumPrice::TieredPackageWithMinimumConfig::Tier, Models::NewSubscriptionTieredPrice, Models::NewSubscriptionTieredWithMinimumPrice, Models::NewSubscriptionTieredWithMinimumPrice::TieredWithMinimumConfig, Models::NewSubscriptionTieredWithMinimumPrice::TieredWithMinimumConfig::Tier, Models::NewSubscriptionUnitPrice, Models::NewSubscriptionUnitWithPercentPrice, Models::NewSubscriptionUnitWithPercentPrice::UnitWithPercentConfig, Models::NewSubscriptionUnitWithProrationPrice, Models::NewSubscriptionUnitWithProrationPrice::UnitWithProrationConfig, Models::NewTaxJarConfiguration, Models::NewUsageDiscount, Models::NewUsageDiscount::Filter, Models::OtherSubLineItem, Models::PackageConfig, Models::PaginationMetadata, Models::PerPriceCost, Models::PercentageDiscount, Models::PercentageDiscount::Filter, Models::PercentageDiscountInterval, Models::PercentageDiscountInterval::Filter, Models::Plan, Models::Plan::Adjustment::TieredPercentageDiscount, Models::Plan::Adjustment::TieredPercentageDiscount::Filter, Models::Plan::Adjustment::TieredPercentageDiscount::Tier, Models::Plan::BasePlan, Models::Plan::PlanPhase, Models::Plan::Product, Models::Plan::TrialConfig, Models::PlanCreateParams, Models::PlanCreateParams::Adjustment, Models::PlanCreateParams::Adjustment::Adjustment::TieredPercentageDiscount, Models::PlanCreateParams::Adjustment::Adjustment::TieredPercentageDiscount::Filter, Models::PlanCreateParams::Adjustment::Adjustment::TieredPercentageDiscount::Tier, Models::PlanCreateParams::PlanPhase, Models::PlanCreateParams::Price, Models::PlanCreateParams::Price::LicenseAllocationPrice, Models::PlanCreateParams::Price::LicenseAllocationPrice::LicenseAllocation, Models::PlanCreateParams::Price::Price::BulkWithFilters, Models::PlanCreateParams::Price::Price::BulkWithFilters::BulkWithFiltersConfig, Models::PlanCreateParams::Price::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::PlanCreateParams::Price::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::PlanCreateParams::Price::Price::CumulativeGroupedAllocation, Models::PlanCreateParams::Price::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::PlanCreateParams::Price::Price::DailyCreditAllowance, Models::PlanCreateParams::Price::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::PlanCreateParams::Price::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::PlanCreateParams::Price::Price::EventOutput, Models::PlanCreateParams::Price::Price::EventOutput::EventOutputConfig, Models::PlanCreateParams::Price::Price::GroupedWithMinMaxThresholds, Models::PlanCreateParams::Price::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::PlanCreateParams::Price::Price::MatrixWithThresholdDiscounts, Models::PlanCreateParams::Price::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::PlanCreateParams::Price::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::PlanCreateParams::Price::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::PlanCreateParams::Price::Price::MeteredAllowance, Models::PlanCreateParams::Price::Price::MeteredAllowance::MeteredAllowanceConfig, Models::PlanCreateParams::Price::Price::Percent, Models::PlanCreateParams::Price::Price::Percent::PercentConfig, Models::PlanCreateParams::Price::Price::TieredWithProration, Models::PlanCreateParams::Price::Price::TieredWithProration::TieredWithProrationConfig, Models::PlanCreateParams::Price::Price::TieredWithProration::TieredWithProrationConfig::Tier, Models::PlanFetchParams, Models::PlanListParams, Models::PlanPhaseAmountDiscountAdjustment, Models::PlanPhaseAmountDiscountAdjustment::Filter, Models::PlanPhaseMaximumAdjustment, Models::PlanPhaseMaximumAdjustment::Filter, Models::PlanPhaseMinimumAdjustment, Models::PlanPhaseMinimumAdjustment::Filter, Models::PlanPhasePercentageDiscountAdjustment, Models::PlanPhasePercentageDiscountAdjustment::Filter, Models::PlanPhaseUsageDiscountAdjustment, Models::PlanPhaseUsageDiscountAdjustment::Filter, Models::PlanUpdateParams, Models::PlanVersion, Models::PlanVersion::Adjustment::TieredPercentageDiscount, Models::PlanVersion::Adjustment::TieredPercentageDiscount::Filter, Models::PlanVersion::Adjustment::TieredPercentageDiscount::Tier, Models::PlanVersionPhase, Models::Plans::ExternalPlanIDFetchParams, Models::Plans::ExternalPlanIDUpdateParams, Models::Plans::MigrationCancelParams, Models::Plans::MigrationCancelResponse, Models::Plans::MigrationListParams, Models::Plans::MigrationListResponse, Models::Plans::MigrationRetrieveParams, Models::Plans::MigrationRetrieveResponse, Models::Price::Bulk, Models::Price::Bulk::CompositePriceFilter, Models::Price::Bulk::LicenseType, Models::Price::BulkWithFilters, Models::Price::BulkWithFilters::BulkWithFiltersConfig, Models::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::Price::BulkWithFilters::CompositePriceFilter, Models::Price::BulkWithFilters::LicenseType, Models::Price::BulkWithProration, Models::Price::BulkWithProration::BulkWithProrationConfig, Models::Price::BulkWithProration::BulkWithProrationConfig::Tier, Models::Price::BulkWithProration::CompositePriceFilter, Models::Price::BulkWithProration::LicenseType, Models::Price::CumulativeGroupedAllocation, Models::Price::CumulativeGroupedAllocation::CompositePriceFilter, Models::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::Price::CumulativeGroupedAllocation::LicenseType, Models::Price::CumulativeGroupedBulk, Models::Price::CumulativeGroupedBulk::CompositePriceFilter, Models::Price::CumulativeGroupedBulk::CumulativeGroupedBulkConfig, Models::Price::CumulativeGroupedBulk::CumulativeGroupedBulkConfig::DimensionValue, Models::Price::CumulativeGroupedBulk::LicenseType, Models::Price::DailyCreditAllowance, Models::Price::DailyCreditAllowance::CompositePriceFilter, Models::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::Price::DailyCreditAllowance::LicenseType, Models::Price::EventOutput, Models::Price::EventOutput::CompositePriceFilter, Models::Price::EventOutput::EventOutputConfig, Models::Price::EventOutput::LicenseType, Models::Price::GroupedAllocation, Models::Price::GroupedAllocation::CompositePriceFilter, Models::Price::GroupedAllocation::GroupedAllocationConfig, Models::Price::GroupedAllocation::LicenseType, Models::Price::GroupedTiered, Models::Price::GroupedTiered::CompositePriceFilter, Models::Price::GroupedTiered::GroupedTieredConfig, Models::Price::GroupedTiered::GroupedTieredConfig::Tier, Models::Price::GroupedTiered::LicenseType, Models::Price::GroupedTieredPackage, Models::Price::GroupedTieredPackage::CompositePriceFilter, Models::Price::GroupedTieredPackage::GroupedTieredPackageConfig, Models::Price::GroupedTieredPackage::GroupedTieredPackageConfig::Tier, Models::Price::GroupedTieredPackage::LicenseType, Models::Price::GroupedWithMeteredMinimum, Models::Price::GroupedWithMeteredMinimum::CompositePriceFilter, Models::Price::GroupedWithMeteredMinimum::GroupedWithMeteredMinimumConfig, Models::Price::GroupedWithMeteredMinimum::GroupedWithMeteredMinimumConfig::ScalingFactor, Models::Price::GroupedWithMeteredMinimum::GroupedWithMeteredMinimumConfig::UnitAmount, Models::Price::GroupedWithMeteredMinimum::LicenseType, Models::Price::GroupedWithMinMaxThresholds, Models::Price::GroupedWithMinMaxThresholds::CompositePriceFilter, Models::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::Price::GroupedWithMinMaxThresholds::LicenseType, Models::Price::GroupedWithProratedMinimum, Models::Price::GroupedWithProratedMinimum::CompositePriceFilter, Models::Price::GroupedWithProratedMinimum::GroupedWithProratedMinimumConfig, Models::Price::GroupedWithProratedMinimum::LicenseType, Models::Price::Matrix, Models::Price::Matrix::CompositePriceFilter, Models::Price::Matrix::LicenseType, Models::Price::MatrixWithAllocation, Models::Price::MatrixWithAllocation::CompositePriceFilter, Models::Price::MatrixWithAllocation::LicenseType, Models::Price::MatrixWithDisplayName, Models::Price::MatrixWithDisplayName::CompositePriceFilter, Models::Price::MatrixWithDisplayName::LicenseType, Models::Price::MatrixWithDisplayName::MatrixWithDisplayNameConfig, Models::Price::MatrixWithDisplayName::MatrixWithDisplayNameConfig::UnitAmount, Models::Price::MatrixWithThresholdDiscounts, Models::Price::MatrixWithThresholdDiscounts::CompositePriceFilter, Models::Price::MatrixWithThresholdDiscounts::LicenseType, Models::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::Price::MaxGroupTieredPackage, Models::Price::MaxGroupTieredPackage::CompositePriceFilter, Models::Price::MaxGroupTieredPackage::LicenseType, Models::Price::MaxGroupTieredPackage::MaxGroupTieredPackageConfig, Models::Price::MaxGroupTieredPackage::MaxGroupTieredPackageConfig::Tier, Models::Price::MeteredAllowance, Models::Price::MeteredAllowance::CompositePriceFilter, Models::Price::MeteredAllowance::LicenseType, Models::Price::MeteredAllowance::MeteredAllowanceConfig, Models::Price::MinimumComposite, Models::Price::MinimumComposite::CompositePriceFilter, Models::Price::MinimumComposite::LicenseType, Models::Price::MinimumComposite::MinimumCompositeConfig, Models::Price::Package, Models::Price::Package::CompositePriceFilter, Models::Price::Package::LicenseType, Models::Price::PackageWithAllocation, Models::Price::PackageWithAllocation::CompositePriceFilter, Models::Price::PackageWithAllocation::LicenseType, Models::Price::PackageWithAllocation::PackageWithAllocationConfig, Models::Price::Percent, Models::Price::Percent::CompositePriceFilter, Models::Price::Percent::LicenseType, Models::Price::Percent::PercentConfig, Models::Price::ScalableMatrixWithTieredPricing, Models::Price::ScalableMatrixWithTieredPricing::CompositePriceFilter, Models::Price::ScalableMatrixWithTieredPricing::LicenseType, Models::Price::ScalableMatrixWithTieredPricing::ScalableMatrixWithTieredPricingConfig, Models::Price::ScalableMatrixWithTieredPricing::ScalableMatrixWithTieredPricingConfig::MatrixScalingFactor, Models::Price::ScalableMatrixWithTieredPricing::ScalableMatrixWithTieredPricingConfig::Tier, Models::Price::ScalableMatrixWithUnitPricing, Models::Price::ScalableMatrixWithUnitPricing::CompositePriceFilter, Models::Price::ScalableMatrixWithUnitPricing::LicenseType, Models::Price::ScalableMatrixWithUnitPricing::ScalableMatrixWithUnitPricingConfig, Models::Price::ScalableMatrixWithUnitPricing::ScalableMatrixWithUnitPricingConfig::MatrixScalingFactor, Models::Price::ThresholdTotalAmount, Models::Price::ThresholdTotalAmount::CompositePriceFilter, Models::Price::ThresholdTotalAmount::LicenseType, Models::Price::ThresholdTotalAmount::ThresholdTotalAmountConfig, Models::Price::ThresholdTotalAmount::ThresholdTotalAmountConfig::ConsumptionTable, Models::Price::Tiered, Models::Price::Tiered::CompositePriceFilter, Models::Price::Tiered::LicenseType, Models::Price::TieredPackage, Models::Price::TieredPackage::CompositePriceFilter, Models::Price::TieredPackage::LicenseType, Models::Price::TieredPackage::TieredPackageConfig, Models::Price::TieredPackage::TieredPackageConfig::Tier, Models::Price::TieredPackageWithMinimum, Models::Price::TieredPackageWithMinimum::CompositePriceFilter, Models::Price::TieredPackageWithMinimum::LicenseType, Models::Price::TieredPackageWithMinimum::TieredPackageWithMinimumConfig, Models::Price::TieredPackageWithMinimum::TieredPackageWithMinimumConfig::Tier, Models::Price::TieredWithMinimum, Models::Price::TieredWithMinimum::CompositePriceFilter, Models::Price::TieredWithMinimum::LicenseType, Models::Price::TieredWithMinimum::TieredWithMinimumConfig, Models::Price::TieredWithMinimum::TieredWithMinimumConfig::Tier, Models::Price::TieredWithProration, Models::Price::TieredWithProration::CompositePriceFilter, Models::Price::TieredWithProration::LicenseType, Models::Price::TieredWithProration::TieredWithProrationConfig, Models::Price::TieredWithProration::TieredWithProrationConfig::Tier, Models::Price::Unit, Models::Price::Unit::CompositePriceFilter, Models::Price::Unit::LicenseType, Models::Price::UnitWithPercent, Models::Price::UnitWithPercent::CompositePriceFilter, Models::Price::UnitWithPercent::LicenseType, Models::Price::UnitWithPercent::UnitWithPercentConfig, Models::Price::UnitWithProration, Models::Price::UnitWithProration::CompositePriceFilter, Models::Price::UnitWithProration::LicenseType, Models::Price::UnitWithProration::UnitWithProrationConfig, Models::PriceCreateParams, Models::PriceCreateParams::Body::BulkWithFilters, Models::PriceCreateParams::Body::BulkWithFilters::BulkWithFiltersConfig, Models::PriceCreateParams::Body::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::PriceCreateParams::Body::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::PriceCreateParams::Body::CumulativeGroupedAllocation, Models::PriceCreateParams::Body::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::PriceCreateParams::Body::DailyCreditAllowance, Models::PriceCreateParams::Body::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::PriceCreateParams::Body::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::PriceCreateParams::Body::EventOutput, Models::PriceCreateParams::Body::EventOutput::EventOutputConfig, Models::PriceCreateParams::Body::GroupedWithMinMaxThresholds, Models::PriceCreateParams::Body::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::PriceCreateParams::Body::MatrixWithThresholdDiscounts, Models::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::PriceCreateParams::Body::MeteredAllowance, Models::PriceCreateParams::Body::MeteredAllowance::MeteredAllowanceConfig, Models::PriceCreateParams::Body::Percent, Models::PriceCreateParams::Body::Percent::PercentConfig, Models::PriceEvaluateMultipleParams, Models::PriceEvaluateMultipleParams::PriceEvaluation, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::BulkWithFilters, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::BulkWithFilters::BulkWithFiltersConfig, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::CumulativeGroupedAllocation, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::EventOutput, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::EventOutput::EventOutputConfig, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::GroupedWithMinMaxThresholds, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance::MeteredAllowanceConfig, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::Percent, Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::Percent::PercentConfig, Models::PriceEvaluateMultipleResponse, Models::PriceEvaluateMultipleResponse::Data, Models::PriceEvaluateParams, Models::PriceEvaluatePreviewEventsParams, Models::PriceEvaluatePreviewEventsParams::Event, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::BulkWithFilters, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::BulkWithFilters::BulkWithFiltersConfig, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::CumulativeGroupedAllocation, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::DailyCreditAllowance, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::EventOutput, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::EventOutput::EventOutputConfig, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::GroupedWithMinMaxThresholds, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::MeteredAllowance, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::MeteredAllowance::MeteredAllowanceConfig, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::Percent, Models::PriceEvaluatePreviewEventsParams::PriceEvaluation::Price::Percent::PercentConfig, Models::PriceEvaluatePreviewEventsResponse, Models::PriceEvaluatePreviewEventsResponse::Data, Models::PriceEvaluateResponse, Models::PriceFetchParams, Models::PriceInterval, Models::PriceListParams, Models::PriceUpdateParams, Models::Prices::ExternalPriceIDFetchParams, Models::Prices::ExternalPriceIDUpdateParams, Models::SubLineItemGrouping, Models::SubLineItemMatrixConfig, Models::Subscription, Models::Subscription::DiscountInterval::TieredPercentage, Models::Subscription::DiscountInterval::TieredPercentage::Filter, Models::Subscription::DiscountInterval::TieredPercentage::Tier, Models::SubscriptionCancelParams, Models::SubscriptionChangeApplyParams, Models::SubscriptionChangeApplyResponse, Models::SubscriptionChangeCancelParams, Models::SubscriptionChangeCancelResponse, Models::SubscriptionChangeListParams, Models::SubscriptionChangeListResponse, Models::SubscriptionChangeMinified, Models::SubscriptionChangeRetrieveParams, Models::SubscriptionChangeRetrieveResponse, Models::SubscriptionCreateParams, Models::SubscriptionCreateParams::AddAdjustment, Models::SubscriptionCreateParams::AddAdjustment::Adjustment::TieredPercentageDiscount, Models::SubscriptionCreateParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter, Models::SubscriptionCreateParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier, Models::SubscriptionCreateParams::AddPrice, Models::SubscriptionCreateParams::AddPrice::Price::BulkWithFilters, Models::SubscriptionCreateParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig, Models::SubscriptionCreateParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::SubscriptionCreateParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::SubscriptionCreateParams::AddPrice::Price::CumulativeGroupedAllocation, Models::SubscriptionCreateParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::SubscriptionCreateParams::AddPrice::Price::DailyCreditAllowance, Models::SubscriptionCreateParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::SubscriptionCreateParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::SubscriptionCreateParams::AddPrice::Price::EventOutput, Models::SubscriptionCreateParams::AddPrice::Price::EventOutput::EventOutputConfig, Models::SubscriptionCreateParams::AddPrice::Price::GroupedWithMinMaxThresholds, Models::SubscriptionCreateParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::SubscriptionCreateParams::AddPrice::Price::MatrixWithThresholdDiscounts, Models::SubscriptionCreateParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::SubscriptionCreateParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::SubscriptionCreateParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::SubscriptionCreateParams::AddPrice::Price::MeteredAllowance, Models::SubscriptionCreateParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig, Models::SubscriptionCreateParams::AddPrice::Price::Percent, Models::SubscriptionCreateParams::AddPrice::Price::Percent::PercentConfig, Models::SubscriptionCreateParams::AddPrice::Price::TieredWithProration, Models::SubscriptionCreateParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig, Models::SubscriptionCreateParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier, Models::SubscriptionCreateParams::RemoveAdjustment, Models::SubscriptionCreateParams::RemovePrice, Models::SubscriptionCreateParams::ReplaceAdjustment, Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount, Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter, Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier, Models::SubscriptionCreateParams::ReplacePrice, Models::SubscriptionCreateParams::ReplacePrice::Price::BulkWithFilters, Models::SubscriptionCreateParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig, Models::SubscriptionCreateParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::SubscriptionCreateParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::SubscriptionCreateParams::ReplacePrice::Price::CumulativeGroupedAllocation, Models::SubscriptionCreateParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::SubscriptionCreateParams::ReplacePrice::Price::DailyCreditAllowance, Models::SubscriptionCreateParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::SubscriptionCreateParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::SubscriptionCreateParams::ReplacePrice::Price::EventOutput, Models::SubscriptionCreateParams::ReplacePrice::Price::EventOutput::EventOutputConfig, Models::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithMinMaxThresholds, Models::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithThresholdDiscounts, Models::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::SubscriptionCreateParams::ReplacePrice::Price::MeteredAllowance, Models::SubscriptionCreateParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig, Models::SubscriptionCreateParams::ReplacePrice::Price::Percent, Models::SubscriptionCreateParams::ReplacePrice::Price::Percent::PercentConfig, Models::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration, Models::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig, Models::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier, Models::SubscriptionFetchCostsParams, Models::SubscriptionFetchCostsResponse, Models::SubscriptionFetchParams, Models::SubscriptionFetchScheduleParams, Models::SubscriptionFetchScheduleResponse, Models::SubscriptionFetchScheduleResponse::Plan, Models::SubscriptionFetchUsageParams, Models::SubscriptionListParams, Models::SubscriptionMinified, Models::SubscriptionPriceIntervalsParams, Models::SubscriptionPriceIntervalsParams::Add, Models::SubscriptionPriceIntervalsParams::Add::Discount::Amount, Models::SubscriptionPriceIntervalsParams::Add::Discount::Percentage, Models::SubscriptionPriceIntervalsParams::Add::Discount::Usage, Models::SubscriptionPriceIntervalsParams::Add::FixedFeeQuantityTransition, Models::SubscriptionPriceIntervalsParams::Add::Price::BulkWithFilters, Models::SubscriptionPriceIntervalsParams::Add::Price::BulkWithFilters::BulkWithFiltersConfig, Models::SubscriptionPriceIntervalsParams::Add::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::SubscriptionPriceIntervalsParams::Add::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::SubscriptionPriceIntervalsParams::Add::Price::CumulativeGroupedAllocation, Models::SubscriptionPriceIntervalsParams::Add::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::SubscriptionPriceIntervalsParams::Add::Price::DailyCreditAllowance, Models::SubscriptionPriceIntervalsParams::Add::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::SubscriptionPriceIntervalsParams::Add::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::SubscriptionPriceIntervalsParams::Add::Price::EventOutput, Models::SubscriptionPriceIntervalsParams::Add::Price::EventOutput::EventOutputConfig, Models::SubscriptionPriceIntervalsParams::Add::Price::GroupedWithMinMaxThresholds, Models::SubscriptionPriceIntervalsParams::Add::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithThresholdDiscounts, Models::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::SubscriptionPriceIntervalsParams::Add::Price::MeteredAllowance, Models::SubscriptionPriceIntervalsParams::Add::Price::MeteredAllowance::MeteredAllowanceConfig, Models::SubscriptionPriceIntervalsParams::Add::Price::Percent, Models::SubscriptionPriceIntervalsParams::Add::Price::Percent::PercentConfig, Models::SubscriptionPriceIntervalsParams::AddAdjustment, Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::TieredPercentageDiscount, Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter, Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier, Models::SubscriptionPriceIntervalsParams::Edit, Models::SubscriptionPriceIntervalsParams::Edit::FixedFeeQuantityTransition, Models::SubscriptionPriceIntervalsParams::EditAdjustment, Models::SubscriptionRedeemCouponParams, Models::SubscriptionSchedulePlanChangeParams, Models::SubscriptionSchedulePlanChangeParams::AddAdjustment, Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::TieredPercentageDiscount, Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter, Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier, Models::SubscriptionSchedulePlanChangeParams::AddPrice, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkWithFilters, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::CumulativeGroupedAllocation, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::DailyCreditAllowance, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::EventOutput, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::EventOutput::EventOutputConfig, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithMinMaxThresholds, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MatrixWithThresholdDiscounts, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MeteredAllowance, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Percent, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Percent::PercentConfig, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithProration, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig, Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier, Models::SubscriptionSchedulePlanChangeParams::RemoveAdjustment, Models::SubscriptionSchedulePlanChangeParams::RemovePrice, Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment, Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount, Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter, Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkWithFilters, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::CumulativeGroupedAllocation, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::DailyCreditAllowance, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::EventOutput, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::EventOutput::EventOutputConfig, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithMinMaxThresholds, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MatrixWithThresholdDiscounts, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MeteredAllowance, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Percent, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Percent::PercentConfig, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithProration, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig, Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier, Models::SubscriptionTrialInfo, Models::SubscriptionTriggerPhaseParams, Models::SubscriptionUnscheduleCancellationParams, Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, Models::SubscriptionUnschedulePendingPlanChangesParams, Models::SubscriptionUpdateFixedFeeQuantityParams, Models::SubscriptionUpdateParams, Models::SubscriptionUpdateTrialParams, Models::SubscriptionUsage::GroupedSubscriptionUsage, Models::SubscriptionUsage::GroupedSubscriptionUsage::Data, Models::SubscriptionUsage::GroupedSubscriptionUsage::Data::BillableMetric, Models::SubscriptionUsage::GroupedSubscriptionUsage::Data::MetricGroup, Models::SubscriptionUsage::GroupedSubscriptionUsage::Data::Usage, Models::SubscriptionUsage::UngroupedSubscriptionUsage, Models::SubscriptionUsage::UngroupedSubscriptionUsage::Data, Models::SubscriptionUsage::UngroupedSubscriptionUsage::Data::BillableMetric, Models::SubscriptionUsage::UngroupedSubscriptionUsage::Data::Usage, Models::SubscriptionsAPI, Models::TaxAmount, Models::Threshold, Models::Tier, Models::TierSubLineItem, Models::TierSubLineItem::TierConfig, Models::TieredConfig, Models::TieredConversionRateConfig, Models::TopLevelPingParams, Models::TopLevelPingResponse, Models::TrialDiscount, Models::TrialDiscount::Filter, Models::UnitConfig, Models::UnitConversionRateConfig, Models::UsageDiscount, Models::UsageDiscount::Filter, Models::UsageDiscountInterval, Models::UsageDiscountInterval::Filter, RequestOptions
Class Method Summary collapse
- .==(other) ⇒ Boolean
- .coerce(value, state:) ⇒ self, Object private
- .dump(value, state:) ⇒ Hash{Object=>Object}, Object private
- .fields ⇒ Hash{Symbol=>Hash{Symbol=>Object}} private
- .hash ⇒ Integer
-
.inherited(child) ⇒ void
private
Assumes superclass fields are totally defined before fields are accessed / defined on subclasses.
- .inspect(depth: 0) ⇒ String private
- .known_fields ⇒ Hash{Symbol=>Hash{Symbol=>Object}} private
- .optional(name_sym, type_info, spec = {}) ⇒ Object private
- .recursively_to_h(model, convert:) ⇒ Hash{Symbol=>Object} private
- .required(name_sym, type_info, spec = {}) ⇒ Object private
- .to_sorbet_type ⇒ Object private
Instance Method Summary collapse
- #==(other) ⇒ Boolean
-
#[](key) ⇒ Object?
Returns the raw value associated with the given key, if found.
- #deconstruct_keys(keys) ⇒ Hash{Symbol=>Object}
-
#deep_to_h ⇒ Hash{Symbol=>Object}
In addition to the behaviour of
#to_h, this method will recursively call#to_hon nested models. - #hash ⇒ Integer
-
#initialize(data = {}) ⇒ BaseModel
constructor
Create a new instance of a model.
- #inspect ⇒ String private
-
#to_h ⇒ Hash{Symbol=>Object}
(also: #to_hash)
Returns a Hash of the data underlying this object.
- #to_json(*a) ⇒ String
- #to_s ⇒ String
- #to_yaml(*a) ⇒ String
Methods included from Converter
coerce, dump, meta_info, new_coerce_state, type_info
Methods included from Util::SorbetRuntimeSupport
const_missing, define_sorbet_constant!, sorbet_constant_defined?, to_sorbet_type
Constructor Details
#initialize(data = {}) ⇒ BaseModel
Create a new instance of a model.
478 479 480 481 482 483 484 485 486 487 488 489 |
# File 'lib/orb/internal/type/base_model.rb', line 478 def initialize(data = {}) @data = {} @coerced = {} Orb::Internal::Util.coerce_hash!(data).each do if self.class.known_fields.key?(_1) public_send(:"#{_1}=", _2) else @data.store(_1, _2) @coerced.store(_1, false) end end end |
Class Method Details
.==(other) ⇒ Boolean
209 210 211 |
# File 'lib/orb/internal/type/base_model.rb', line 209 def ==(other) other.is_a?(Class) && other <= Orb::Internal::Type::BaseModel && other.fields == fields end |
.coerce(value, state:) ⇒ self, Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 |
# File 'lib/orb/internal/type/base_model.rb', line 249 def coerce(value, state:) exactness = state.fetch(:exactness) if value.is_a?(self) exactness[:yes] += 1 return value end unless (val = Orb::Internal::Util.coerce_hash(value)).is_a?(Hash) exactness[:no] += 1 state[:error] = TypeError.new("#{value.class} can't be coerced into #{Hash}") return value end exactness[:yes] += 1 keys = val.keys.to_set instance = new data = instance.to_h status = instance.instance_variable_get(:@coerced) # rubocop:disable Metrics/BlockLength fields.each do |name, field| mode, required, target = field.fetch_values(:mode, :required, :type) api_name, nilable, const = field.fetch_values(:api_name, :nilable, :const) src_name = state.fetch(:translate_names) ? api_name : name unless val.key?(src_name) if required && mode != :dump && const == Orb::Internal::OMIT exactness[nilable ? :maybe : :no] += 1 else exactness[:yes] += 1 end next end item = val.fetch(src_name) keys.delete(src_name) state[:error] = nil converted = if item.nil? && (nilable || !required) exactness[nilable ? :yes : :maybe] += 1 nil else coerced = Orb::Internal::Type::Converter.coerce(target, item, state: state) case target in Orb::Internal::Type::Converter | Symbol coerced else item end end status.store(name, state.fetch(:error) || true) data.store(name, converted) end # rubocop:enable Metrics/BlockLength keys.each { data.store(_1, val.fetch(_1)) } instance end |
.dump(value, state:) ⇒ Hash{Object=>Object}, Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 |
# File 'lib/orb/internal/type/base_model.rb', line 320 def dump(value, state:) unless (coerced = Orb::Internal::Util.coerce_hash(value)).is_a?(Hash) return super end acc = {} coerced.each do |key, val| name = key.is_a?(String) ? key.to_sym : key case (field = known_fields[name]) in nil acc.store(name, super(val, state: state)) else api_name, mode, type_fn = field.fetch_values(:api_name, :mode, :type_fn) case mode in :coerce next else target = type_fn.call acc.store(api_name, Orb::Internal::Type::Converter.dump(target, val, state: state)) end end end known_fields.each_value do |field| api_name, mode, const = field.fetch_values(:api_name, :mode, :const) next if mode == :coerce || acc.key?(api_name) || const == Orb::Internal::OMIT acc.store(api_name, const) end acc end |
.fields ⇒ Hash{Symbol=>Hash{Symbol=>Object}}
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
31 32 33 34 35 |
# File 'lib/orb/internal/type/base_model.rb', line 31 def fields known_fields.transform_values do |field| {**field.except(:type_fn), type: field.fetch(:type_fn).call} end end |
.hash ⇒ Integer
216 |
# File 'lib/orb/internal/type/base_model.rb', line 216 def hash = fields.hash |
.inherited(child) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
Assumes superclass fields are totally defined before fields are accessed / defined on subclasses.
18 19 20 21 |
# File 'lib/orb/internal/type/base_model.rb', line 18 def inherited(child) super child.known_fields.replace(known_fields.dup) end |
.inspect(depth: 0) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 |
# File 'lib/orb/internal/type/base_model.rb', line 497 def inspect(depth: 0) return super() if depth.positive? depth = depth.succ deferred = fields.transform_values do |field| type, required, nilable = field.fetch_values(:type, :required, :nilable) inspected = [ Orb::Internal::Type::Converter.inspect(type, depth: depth), !required || nilable ? "nil" : nil ].compact.join(" | ") -> { inspected }.tap { _1.define_singleton_method(:inspect) { call } } end "#{name}[#{deferred.inspect}]" end |
.known_fields ⇒ Hash{Symbol=>Hash{Symbol=>Object}}
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
26 |
# File 'lib/orb/internal/type/base_model.rb', line 26 def known_fields = @known_fields ||= {} |
.optional(name_sym, type_info, spec = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
175 176 177 |
# File 'lib/orb/internal/type/base_model.rb', line 175 def optional(name_sym, type_info, spec = {}) add_field(name_sym, required: false, type_info: type_info, spec: spec) end |
.recursively_to_h(model, convert:) ⇒ Hash{Symbol=>Object}
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 |
# File 'lib/orb/internal/type/base_model.rb', line 368 def recursively_to_h(model, convert:) rec = ->(x) do case x in Orb::Internal::Type::BaseModel if convert fields = x.class.known_fields x.to_h.to_h do |key, val| [key, rec.call(fields.key?(key) ? x.public_send(key) : val)] rescue Orb::Errors::ConversionError [key, rec.call(val)] end else rec.call(x.to_h) end in Hash x.transform_values(&rec) in Array x.map(&rec) else x end end rec.call(model) end |
.required(name_sym, type_info, spec = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
156 157 158 |
# File 'lib/orb/internal/type/base_model.rb', line 156 def required(name_sym, type_info, spec = {}) add_field(name_sym, required: true, type_info: type_info, spec: spec) end |
.to_sorbet_type ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
356 357 358 |
# File 'lib/orb/internal/type/base_model.rb', line 356 def to_sorbet_type self end |
Instance Method Details
#==(other) ⇒ Boolean
224 |
# File 'lib/orb/internal/type/base_model.rb', line 224 def ==(other) = self.class == other.class && @data == other.to_h |
#[](key) ⇒ Object?
Returns the raw value associated with the given key, if found. Otherwise, nil is returned.
It is valid to lookup keys that are not in the API spec, for example to access undocumented features. This method does not parse response data into higher-level types. Lookup by anything other than a Symbol is an ArgumentError.
406 407 408 409 410 411 412 |
# File 'lib/orb/internal/type/base_model.rb', line 406 def [](key) unless key.instance_of?(Symbol) raise ArgumentError.new("Expected symbol key for lookup, got #{key.inspect}") end @data[key] end |
#deconstruct_keys(keys) ⇒ Hash{Symbol=>Object}
449 450 451 452 453 454 455 456 457 458 459 |
# File 'lib/orb/internal/type/base_model.rb', line 449 def deconstruct_keys(keys) (keys || self.class.known_fields.keys) .filter_map do |k| unless self.class.known_fields.key?(k) next end [k, public_send(k)] end .to_h end |
#deep_to_h ⇒ Hash{Symbol=>Object}
In addition to the behaviour of #to_h, this method will recursively call
#to_h on nested models.
436 |
# File 'lib/orb/internal/type/base_model.rb', line 436 def deep_to_h = self.class.recursively_to_h(@data, convert: false) |
#hash ⇒ Integer
229 |
# File 'lib/orb/internal/type/base_model.rb', line 229 def hash = [self.class, @data].hash |
#inspect ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
522 523 524 525 |
# File 'lib/orb/internal/type/base_model.rb', line 522 def inspect converted = self.class.recursively_to_h(self, convert: true) "#<#{self.class}:0x#{object_id.to_s(16)} #{converted}>" end |
#to_h ⇒ Hash{Symbol=>Object} Also known as: to_hash
Returns a Hash of the data underlying this object. O(1)
Keys are Symbols and values are the raw values from the response. The return value indicates which values were ever set on the object. i.e. there will be a key in this hash if they ever were, even if the set value was nil.
This method is not recursive. The returned value is shared by the object, so it should not be mutated.
426 |
# File 'lib/orb/internal/type/base_model.rb', line 426 def to_h = @data |
#to_json(*a) ⇒ String
466 |
# File 'lib/orb/internal/type/base_model.rb', line 466 def to_json(*a) = Orb::Internal::Type::Converter.dump(self.class, self).to_json(*a) |
#to_s ⇒ String
517 |
# File 'lib/orb/internal/type/base_model.rb', line 517 def to_s = deep_to_h.to_s |
#to_yaml(*a) ⇒ String
473 |
# File 'lib/orb/internal/type/base_model.rb', line 473 def to_yaml(*a) = Orb::Internal::Type::Converter.dump(self.class, self).to_yaml(*a) |