//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttype?language=objc)
// NS_TYPED_ENUM
pub type NSTextContentType = NSString;

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypeusername?language=objc)
    pub static NSTextContentTypeUsername: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypepassword?language=objc)
    pub static NSTextContentTypePassword: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypeonetimecode?language=objc)
    pub static NSTextContentTypeOneTimeCode: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypenewpassword?language=objc)
    pub static NSTextContentTypeNewPassword: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypename?language=objc)
    pub static NSTextContentTypeName: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypenameprefix?language=objc)
    pub static NSTextContentTypeNamePrefix: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypegivenname?language=objc)
    pub static NSTextContentTypeGivenName: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypemiddlename?language=objc)
    pub static NSTextContentTypeMiddleName: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypefamilyname?language=objc)
    pub static NSTextContentTypeFamilyName: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypenamesuffix?language=objc)
    pub static NSTextContentTypeNameSuffix: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypenickname?language=objc)
    pub static NSTextContentTypeNickname: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypejobtitle?language=objc)
    pub static NSTextContentTypeJobTitle: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypeorganizationname?language=objc)
    pub static NSTextContentTypeOrganizationName: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypelocation?language=objc)
    pub static NSTextContentTypeLocation: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypefullstreetaddress?language=objc)
    pub static NSTextContentTypeFullStreetAddress: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypestreetaddressline1?language=objc)
    pub static NSTextContentTypeStreetAddressLine1: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypestreetaddressline2?language=objc)
    pub static NSTextContentTypeStreetAddressLine2: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypeaddresscity?language=objc)
    pub static NSTextContentTypeAddressCity: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypeaddressstate?language=objc)
    pub static NSTextContentTypeAddressState: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypeaddresscityandstate?language=objc)
    pub static NSTextContentTypeAddressCityAndState: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypesublocality?language=objc)
    pub static NSTextContentTypeSublocality: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypecountryname?language=objc)
    pub static NSTextContentTypeCountryName: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypepostalcode?language=objc)
    pub static NSTextContentTypePostalCode: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypetelephonenumber?language=objc)
    pub static NSTextContentTypeTelephoneNumber: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypeemailaddress?language=objc)
    pub static NSTextContentTypeEmailAddress: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypeurl?language=objc)
    pub static NSTextContentTypeURL: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypecreditcardnumber?language=objc)
    pub static NSTextContentTypeCreditCardNumber: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypecreditcardname?language=objc)
    pub static NSTextContentTypeCreditCardName: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypecreditcardgivenname?language=objc)
    pub static NSTextContentTypeCreditCardGivenName: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypecreditcardmiddlename?language=objc)
    pub static NSTextContentTypeCreditCardMiddleName: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypecreditcardfamilyname?language=objc)
    pub static NSTextContentTypeCreditCardFamilyName: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypecreditcardsecuritycode?language=objc)
    pub static NSTextContentTypeCreditCardSecurityCode: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypecreditcardexpiration?language=objc)
    pub static NSTextContentTypeCreditCardExpiration: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypecreditcardexpirationmonth?language=objc)
    pub static NSTextContentTypeCreditCardExpirationMonth: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypecreditcardexpirationyear?language=objc)
    pub static NSTextContentTypeCreditCardExpirationYear: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypecreditcardtype?language=objc)
    pub static NSTextContentTypeCreditCardType: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypeshipmenttrackingnumber?language=objc)
    pub static NSTextContentTypeShipmentTrackingNumber: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypeflightnumber?language=objc)
    pub static NSTextContentTypeFlightNumber: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypedatetime?language=objc)
    pub static NSTextContentTypeDateTime: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypebirthdate?language=objc)
    pub static NSTextContentTypeBirthdate: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypebirthdateday?language=objc)
    pub static NSTextContentTypeBirthdateDay: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypebirthdatemonth?language=objc)
    pub static NSTextContentTypeBirthdateMonth: &'static NSTextContentType;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontenttypebirthdateyear?language=objc)
    pub static NSTextContentTypeBirthdateYear: &'static NSTextContentType;
}

extern_protocol!(
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nstextcontent?language=objc)
    pub unsafe trait NSTextContent {
        #[unsafe(method(contentType))]
        #[unsafe(method_family = none)]
        fn contentType(&self) -> Option<Retained<NSTextContentType>>;

        /// Setter for [`contentType`][Self::contentType].
        ///
        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
        #[unsafe(method(setContentType:))]
        #[unsafe(method_family = none)]
        fn setContentType(&self, content_type: Option<&NSTextContentType>);
    }
);
