use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-cloud-kit")]
use objc2_cloud_kit::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSPersistentCloudKitContainerOptions;
);
extern_conformance!(
unsafe impl NSObjectProtocol for NSPersistentCloudKitContainerOptions {}
);
impl NSPersistentCloudKitContainerOptions {
extern_methods!(
#[unsafe(method(containerIdentifier))]
#[unsafe(method_family = none)]
pub unsafe fn containerIdentifier(&self) -> Retained<NSString>;
#[cfg(feature = "objc2-cloud-kit")]
#[unsafe(method(databaseScope))]
#[unsafe(method_family = none)]
pub unsafe fn databaseScope(&self) -> CKDatabaseScope;
#[cfg(feature = "objc2-cloud-kit")]
#[unsafe(method(setDatabaseScope:))]
#[unsafe(method_family = none)]
pub unsafe fn setDatabaseScope(&self, database_scope: CKDatabaseScope);
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(initWithContainerIdentifier:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithContainerIdentifier(
this: Allocated<Self>,
container_identifier: &NSString,
) -> Retained<Self>;
);
}
impl NSPersistentCloudKitContainerOptions {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}