use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct ASAuthorizationPublicKeyCredentialParameters;
);
extern_conformance!(
unsafe impl NSCoding for ASAuthorizationPublicKeyCredentialParameters {}
);
extern_conformance!(
unsafe impl NSCopying for ASAuthorizationPublicKeyCredentialParameters {}
);
unsafe impl CopyingHelper for ASAuthorizationPublicKeyCredentialParameters {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for ASAuthorizationPublicKeyCredentialParameters {}
);
extern_conformance!(
unsafe impl NSSecureCoding for ASAuthorizationPublicKeyCredentialParameters {}
);
impl ASAuthorizationPublicKeyCredentialParameters {
extern_methods!(
#[cfg(feature = "ASCOSEConstants")]
#[unsafe(method(initWithAlgorithm:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithAlgorithm(
this: Allocated<Self>,
algorithm: ASCOSEAlgorithmIdentifier,
) -> Retained<Self>;
#[cfg(feature = "ASCOSEConstants")]
#[unsafe(method(algorithm))]
#[unsafe(method_family = none)]
pub unsafe fn algorithm(&self) -> ASCOSEAlgorithmIdentifier;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}