SwiftclassGenerativePartnerServiceUI
@Observable class GenerativePartnerServiceUI.SettingsViewModel
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolObservation.Observable
Members 25
- deinit
deinit - field
let _$observationRegistrar: Observation.ObservationRegistrar - field
var _adamID: String? - field
var _billingInfo: GenerativePartnerServiceUI.BillingInfo - field
var _currentLLM: GenerativePartnerService.LLMProvider? - field
var _deepLinkParams: GenerativePartnerServiceUI.SettingsViewModel.IdentifiableDeepLinkParams - field
var _lastRateLimitResponseDate: Foundation.Date? - field
var _latestRateLimitStates: [Anvil.TicketingType : GenerativePartnerServiceUI.RateLimitState] - field
var _legacyConfirmationPromptsOn: Bool - field
var _legacyEnableToggleState: Bool - field
var _legacySetupPromptsOn: Bool - field
var _mdmRequiresSignIn: Bool - field
var _pendingRateLimitFetchStart: Foundation.Date? - field
var _showManageSubscription: Bool - field
var _showRateLimitStatus: Bool - field
var _showSignInFailedDueToWorkspaceRestriction: Bool - field
var _showingSignInFailureAlert: Bool - field
var _showingSignOutDialog: Bool - field
var _signInStatus: GenerativePartnerServiceUI.SettingsViewModel.AccountSignInStatus - field
var _subscriptionInfo: GenerativePartnerServiceUI.SubscriptionInfo - field
var _userAccountStatus: Anvil.UserInfo.AccountStatus? - field
let observer: GenerativePartnerServiceUI.SettingsObserver - field
let rateLimitCategories: [Anvil.TicketingType] - init
GenerativePartnerServiceUI.SettingsViewModel.__allocating_init() -> GenerativePartnerServiceUI.SettingsViewModel - var
var deepLinkParams: GenerativePartnerServiceUI.SettingsViewModel.IdentifiableDeepLinkParams { get set }
Header
@Observation.Observable class SettingsViewModel { struct IdentifiableDeepLinkParams { var id: Foundation.UUID var params: [Swift.String : Swift.String]? init(_: [Swift.String : Swift.String]?) } enum AccountSignInStatus { case hasSignedIn(credentials: Anvil.Credentials) case notSignedIn case signingIn case signingOut case expired } // synthesized from the storage `_currentLLM` that @Observable generated; the property's own accessors are stripped var currentLLM: (any GenerativePartnerService.LLMProvider)? // synthesized from the storage `_signInStatus` that @Observable generated; the property's own accessors are stripped var signInStatus: GenerativePartnerServiceUI.SettingsViewModel.AccountSignInStatus var deepLinkParams: GenerativePartnerServiceUI.SettingsViewModel.IdentifiableDeepLinkParams // synthesized from the storage `_showingSignInFailureAlert` that @Observable generated; the property's own accessors are stripped var showingSignInFailureAlert: Swift.Bool // synthesized from the storage `_showSignInFailedDueToWorkspaceRestriction` that @Observable generated; the property's own accessors are stripped var showSignInFailedDueToWorkspaceRestriction: Swift.Bool // synthesized from the storage `_showingSignOutDialog` that @Observable generated; the property's own accessors are stripped var showingSignOutDialog: Swift.Bool // synthesized from the storage `_legacyEnableToggleState` that @Observable generated; the property's own accessors are stripped var legacyEnableToggleState: Swift.Bool // synthesized from the storage `_legacySetupPromptsOn` that @Observable generated; the property's own accessors are stripped var legacySetupPromptsOn: Swift.Bool // synthesized from the storage `_legacyConfirmationPromptsOn` that @Observable generated; the property's own accessors are stripped var legacyConfirmationPromptsOn: Swift.Bool // synthesized from the storage `_subscriptionInfo` that @Observable generated; the property's own accessors are stripped var subscriptionInfo: GenerativePartnerServiceUI.SubscriptionInfo // synthesized from the storage `_showManageSubscription` that @Observable generated; the property's own accessors are stripped var showManageSubscription: Swift.Bool // synthesized from the storage `_adamID` that @Observable generated; the property's own accessors are stripped var adamID: Swift.String? // synthesized from the storage `_showRateLimitStatus` that @Observable generated; the property's own accessors are stripped var showRateLimitStatus: Swift.Bool let rateLimitCategories: [Anvil.TicketingType] // synthesized from the storage `_latestRateLimitStates` that @Observable generated; the property's own accessors are stripped var latestRateLimitStates: [Anvil.TicketingType : GenerativePartnerServiceUI.RateLimitState] // synthesized from the storage `_userAccountStatus` that @Observable generated; the property's own accessors are stripped var userAccountStatus: Anvil.UserInfo.AccountStatus? // synthesized from the storage `_mdmRequiresSignIn` that @Observable generated; the property's own accessors are stripped var mdmRequiresSignIn: Swift.Bool // synthesized from the storage `_billingInfo` that @Observable generated; the property's own accessors are stripped var billingInfo: GenerativePartnerServiceUI.BillingInfo // synthesized from the storage `_lastRateLimitResponseDate` that @Observable generated; the property's own accessors are stripped var lastRateLimitResponseDate: Foundation.Date? // synthesized from the storage `_pendingRateLimitFetchStart` that @Observable generated; the property's own accessors are stripped var pendingRateLimitFetchStart: Foundation.Date? let observer: GenerativePartnerServiceUI.SettingsObserver init() deinit }