use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use crate::*;
extern_class!(
#[unsafe(super(INIntentResolutionResult, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "INIntentResolutionResult")]
pub struct INTemporalEventTriggerTypeOptionsResolutionResult;
);
#[cfg(feature = "INIntentResolutionResult")]
extern_conformance!(
unsafe impl NSObjectProtocol for INTemporalEventTriggerTypeOptionsResolutionResult {}
);
#[cfg(feature = "INIntentResolutionResult")]
impl INTemporalEventTriggerTypeOptionsResolutionResult {
extern_methods!(
#[cfg(feature = "INTemporalEventTriggerTypeOptions")]
#[unsafe(method(successWithResolvedTemporalEventTriggerTypeOptions:))]
#[unsafe(method_family = none)]
pub unsafe fn successWithResolvedTemporalEventTriggerTypeOptions(
resolved_temporal_event_trigger_type_options: INTemporalEventTriggerTypeOptions,
) -> Retained<Self>;
#[cfg(feature = "INTemporalEventTriggerTypeOptions")]
#[unsafe(method(confirmationRequiredWithTemporalEventTriggerTypeOptionsToConfirm:))]
#[unsafe(method_family = none)]
pub unsafe fn confirmationRequiredWithTemporalEventTriggerTypeOptionsToConfirm(
temporal_event_trigger_type_options_to_confirm: INTemporalEventTriggerTypeOptions,
) -> Retained<Self>;
);
}
#[cfg(feature = "INIntentResolutionResult")]
impl INTemporalEventTriggerTypeOptionsResolutionResult {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(needsValue))]
#[unsafe(method_family = none)]
pub unsafe fn needsValue() -> Retained<Self>;
#[unsafe(method(notRequired))]
#[unsafe(method_family = none)]
pub unsafe fn notRequired() -> Retained<Self>;
#[unsafe(method(unsupported))]
#[unsafe(method_family = none)]
pub unsafe fn unsupported() -> Retained<Self>;
);
}
#[cfg(feature = "INIntentResolutionResult")]
impl INTemporalEventTriggerTypeOptionsResolutionResult {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}