use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(ASAccountAuthenticationModificationRequest, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "ASAccountAuthenticationModificationRequest")]
pub struct ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest;
);
#[cfg(feature = "ASAccountAuthenticationModificationRequest")]
extern_conformance!(
unsafe impl NSObjectProtocol
for ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest
{
}
);
#[cfg(feature = "ASAccountAuthenticationModificationRequest")]
impl ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest {
extern_methods!(
#[cfg(feature = "ASCredentialServiceIdentifier")]
#[unsafe(method(initWithUser:serviceIdentifier:userInfo:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithUser_serviceIdentifier_userInfo(
this: Allocated<Self>,
user: &NSString,
service_identifier: &ASCredentialServiceIdentifier,
user_info: Option<&NSDictionary>,
) -> Retained<Self>;
#[unsafe(method(user))]
#[unsafe(method_family = none)]
pub unsafe fn user(&self) -> Retained<NSString>;
#[cfg(feature = "ASCredentialServiceIdentifier")]
#[unsafe(method(serviceIdentifier))]
#[unsafe(method_family = none)]
pub unsafe fn serviceIdentifier(&self) -> Retained<ASCredentialServiceIdentifier>;
#[unsafe(method(userInfo))]
#[unsafe(method_family = none)]
pub unsafe fn userInfo(&self) -> Option<Retained<NSDictionary>>;
);
}
#[cfg(feature = "ASAccountAuthenticationModificationRequest")]
impl ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}