use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-core-location")]
use objc2_core_location::*;
use objc2_foundation::*;
use crate::*;
#[cfg(all(feature = "INIntent", feature = "INSearchForNotebookItemsIntent"))]
impl INSearchForNotebookItemsIntent {
extern_methods!(
#[cfg(all(
feature = "INDateComponentsRange",
feature = "INDateSearchType",
feature = "INLocationSearchType",
feature = "INNotebookItemType",
feature = "INSpeakableString",
feature = "INTaskStatus",
feature = "objc2-core-location"
))]
#[deprecated = "Use the designated initializer instead"]
#[unsafe(method(initWithTitle:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithTitle_content_itemType_status_location_locationSearchType_dateTime_dateSearchType(
this: Allocated<Self>,
title: Option<&INSpeakableString>,
content: Option<&NSString>,
item_type: INNotebookItemType,
status: INTaskStatus,
location: Option<&CLPlacemark>,
location_search_type: INLocationSearchType,
date_time: Option<&INDateComponentsRange>,
date_search_type: INDateSearchType,
) -> Retained<Self>;
#[cfg(all(
feature = "INDateComponentsRange",
feature = "INDateSearchType",
feature = "INLocationSearchType",
feature = "INNotebookItemType",
feature = "INSpeakableString",
feature = "INTaskStatus",
feature = "objc2-core-location"
))]
#[deprecated = "Use the designated initializer instead"]
#[unsafe(method(initWithTitle:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:notebookItemIdentifier:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithTitle_content_itemType_status_location_locationSearchType_dateTime_dateSearchType_notebookItemIdentifier(
this: Allocated<Self>,
title: Option<&INSpeakableString>,
content: Option<&NSString>,
item_type: INNotebookItemType,
status: INTaskStatus,
location: Option<&CLPlacemark>,
location_search_type: INLocationSearchType,
date_time: Option<&INDateComponentsRange>,
date_search_type: INDateSearchType,
notebook_item_identifier: Option<&NSString>,
) -> Retained<Self>;
);
}