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 MLSequence;
);
extern_conformance!(
unsafe impl NSCoding for MLSequence {}
);
extern_conformance!(
unsafe impl NSObjectProtocol for MLSequence {}
);
extern_conformance!(
unsafe impl NSSecureCoding for MLSequence {}
);
impl MLSequence {
extern_methods!(
#[cfg(feature = "MLFeatureType")]
#[unsafe(method(type))]
#[unsafe(method_family = none)]
pub unsafe fn r#type(&self) -> MLFeatureType;
#[cfg(feature = "MLFeatureType")]
#[unsafe(method(emptySequenceWithType:))]
#[unsafe(method_family = none)]
pub unsafe fn emptySequenceWithType(r#type: MLFeatureType) -> Retained<Self>;
#[unsafe(method(sequenceWithStringArray:))]
#[unsafe(method_family = none)]
pub unsafe fn sequenceWithStringArray(string_values: &NSArray<NSString>) -> Retained<Self>;
#[unsafe(method(stringValues))]
#[unsafe(method_family = none)]
pub unsafe fn stringValues(&self) -> Retained<NSArray<NSString>>;
#[unsafe(method(sequenceWithInt64Array:))]
#[unsafe(method_family = none)]
pub unsafe fn sequenceWithInt64Array(int64_values: &NSArray<NSNumber>) -> Retained<Self>;
#[unsafe(method(int64Values))]
#[unsafe(method_family = none)]
pub unsafe fn int64Values(&self) -> Retained<NSArray<NSNumber>>;
);
}
impl MLSequence {
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>;
);
}