use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(PKAddSecureElementPassConfiguration, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "PKAddSecureElementPassConfiguration")]
pub struct PKAddCarKeyPassConfiguration;
);
#[cfg(feature = "PKAddSecureElementPassConfiguration")]
extern_conformance!(
unsafe impl NSObjectProtocol for PKAddCarKeyPassConfiguration {}
);
#[cfg(feature = "PKAddSecureElementPassConfiguration")]
impl PKAddCarKeyPassConfiguration {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(password))]
#[unsafe(method_family = none)]
pub unsafe fn password(&self) -> Retained<NSString>;
#[unsafe(method(setPassword:))]
#[unsafe(method_family = none)]
pub unsafe fn setPassword(&self, password: &NSString);
#[cfg(feature = "PKConstants")]
#[unsafe(method(supportedRadioTechnologies))]
#[unsafe(method_family = none)]
pub unsafe fn supportedRadioTechnologies(&self) -> PKRadioTechnology;
#[cfg(feature = "PKConstants")]
#[unsafe(method(setSupportedRadioTechnologies:))]
#[unsafe(method_family = none)]
pub unsafe fn setSupportedRadioTechnologies(
&self,
supported_radio_technologies: PKRadioTechnology,
);
#[unsafe(method(manufacturerIdentifier))]
#[unsafe(method_family = none)]
pub unsafe fn manufacturerIdentifier(&self) -> Retained<NSString>;
#[unsafe(method(setManufacturerIdentifier:))]
#[unsafe(method_family = none)]
pub unsafe fn setManufacturerIdentifier(&self, manufacturer_identifier: &NSString);
#[unsafe(method(provisioningTemplateIdentifier))]
#[unsafe(method_family = none)]
pub unsafe fn provisioningTemplateIdentifier(&self) -> Option<Retained<NSString>>;
#[unsafe(method(setProvisioningTemplateIdentifier:))]
#[unsafe(method_family = none)]
pub unsafe fn setProvisioningTemplateIdentifier(
&self,
provisioning_template_identifier: Option<&NSString>,
);
);
}
#[cfg(feature = "PKAddSecureElementPassConfiguration")]
impl PKAddCarKeyPassConfiguration {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}