github.com/yaegashi/msgraph.go@v0.1.4/v1.0/ModelMac.go (about)

     1  // Code generated by msgraph.go/gen DO NOT EDIT.
     2  
     3  package msgraph
     4  
     5  // MacOSCompliancePolicy This class contains compliance settings for Mac OS.
     6  type MacOSCompliancePolicy struct {
     7  	// DeviceCompliancePolicy is the base model of MacOSCompliancePolicy
     8  	DeviceCompliancePolicy
     9  	// PasswordRequired Whether or not to require a password.
    10  	PasswordRequired *bool `json:"passwordRequired,omitempty"`
    11  	// PasswordBlockSimple Indicates whether or not to block simple passwords.
    12  	PasswordBlockSimple *bool `json:"passwordBlockSimple,omitempty"`
    13  	// PasswordExpirationDays Number of days before the password expires. Valid values 1 to 65535
    14  	PasswordExpirationDays *int `json:"passwordExpirationDays,omitempty"`
    15  	// PasswordMinimumLength Minimum length of password. Valid values 4 to 14
    16  	PasswordMinimumLength *int `json:"passwordMinimumLength,omitempty"`
    17  	// PasswordMinutesOfInactivityBeforeLock Minutes of inactivity before a password is required.
    18  	PasswordMinutesOfInactivityBeforeLock *int `json:"passwordMinutesOfInactivityBeforeLock,omitempty"`
    19  	// PasswordPreviousPasswordBlockCount Number of previous passwords to block. Valid values 1 to 24
    20  	PasswordPreviousPasswordBlockCount *int `json:"passwordPreviousPasswordBlockCount,omitempty"`
    21  	// PasswordMinimumCharacterSetCount The number of character sets required in the password.
    22  	PasswordMinimumCharacterSetCount *int `json:"passwordMinimumCharacterSetCount,omitempty"`
    23  	// PasswordRequiredType The required password type.
    24  	PasswordRequiredType *RequiredPasswordType `json:"passwordRequiredType,omitempty"`
    25  	// OsMinimumVersion Minimum MacOS version.
    26  	OsMinimumVersion *string `json:"osMinimumVersion,omitempty"`
    27  	// OsMaximumVersion Maximum MacOS version.
    28  	OsMaximumVersion *string `json:"osMaximumVersion,omitempty"`
    29  	// SystemIntegrityProtectionEnabled Require that devices have enabled system integrity protection.
    30  	SystemIntegrityProtectionEnabled *bool `json:"systemIntegrityProtectionEnabled,omitempty"`
    31  	// DeviceThreatProtectionEnabled Require that devices have enabled device threat protection.
    32  	DeviceThreatProtectionEnabled *bool `json:"deviceThreatProtectionEnabled,omitempty"`
    33  	// DeviceThreatProtectionRequiredSecurityLevel Require Mobile Threat Protection minimum risk level to report noncompliance.
    34  	DeviceThreatProtectionRequiredSecurityLevel *DeviceThreatProtectionLevel `json:"deviceThreatProtectionRequiredSecurityLevel,omitempty"`
    35  	// StorageRequireEncryption Require encryption on Mac OS devices.
    36  	StorageRequireEncryption *bool `json:"storageRequireEncryption,omitempty"`
    37  	// FirewallEnabled Whether the firewall should be enabled or not.
    38  	FirewallEnabled *bool `json:"firewallEnabled,omitempty"`
    39  	// FirewallBlockAllIncoming Corresponds to the “Block all incoming connections” option.
    40  	FirewallBlockAllIncoming *bool `json:"firewallBlockAllIncoming,omitempty"`
    41  	// FirewallEnableStealthMode Corresponds to “Enable stealth mode.”
    42  	FirewallEnableStealthMode *bool `json:"firewallEnableStealthMode,omitempty"`
    43  }
    44  
    45  // MacOSCustomConfiguration This topic provides descriptions of the declared methods, properties and relationships exposed by the macOSCustomConfiguration resource.
    46  type MacOSCustomConfiguration struct {
    47  	// DeviceConfiguration is the base model of MacOSCustomConfiguration
    48  	DeviceConfiguration
    49  	// PayloadName Name that is displayed to the user.
    50  	PayloadName *string `json:"payloadName,omitempty"`
    51  	// PayloadFileName Payload file name (*.mobileconfig | *.xml).
    52  	PayloadFileName *string `json:"payloadFileName,omitempty"`
    53  	// Payload Payload. (UTF8 encoded byte array)
    54  	Payload *Binary `json:"payload,omitempty"`
    55  }
    56  
    57  // MacOSDeviceFeaturesConfiguration MacOS device features configuration profile.
    58  type MacOSDeviceFeaturesConfiguration struct {
    59  	// AppleDeviceFeaturesConfigurationBase is the base model of MacOSDeviceFeaturesConfiguration
    60  	AppleDeviceFeaturesConfigurationBase
    61  }
    62  
    63  // MacOSGeneralDeviceConfiguration This topic provides descriptions of the declared methods, properties and relationships exposed by the macOSGeneralDeviceConfiguration resource.
    64  type MacOSGeneralDeviceConfiguration struct {
    65  	// DeviceConfiguration is the base model of MacOSGeneralDeviceConfiguration
    66  	DeviceConfiguration
    67  	// CompliantAppsList List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.
    68  	CompliantAppsList []AppListItem `json:"compliantAppsList,omitempty"`
    69  	// CompliantAppListType List that is in the CompliantAppsList.
    70  	CompliantAppListType *AppListType `json:"compliantAppListType,omitempty"`
    71  	// EmailInDomainSuffixes An email address lacking a suffix that matches any of these strings will be considered out-of-domain.
    72  	EmailInDomainSuffixes []string `json:"emailInDomainSuffixes,omitempty"`
    73  	// PasswordBlockSimple Block simple passwords.
    74  	PasswordBlockSimple *bool `json:"passwordBlockSimple,omitempty"`
    75  	// PasswordExpirationDays Number of days before the password expires.
    76  	PasswordExpirationDays *int `json:"passwordExpirationDays,omitempty"`
    77  	// PasswordMinimumCharacterSetCount Number of character sets a password must contain. Valid values 0 to 4
    78  	PasswordMinimumCharacterSetCount *int `json:"passwordMinimumCharacterSetCount,omitempty"`
    79  	// PasswordMinimumLength Minimum length of passwords.
    80  	PasswordMinimumLength *int `json:"passwordMinimumLength,omitempty"`
    81  	// PasswordMinutesOfInactivityBeforeLock Minutes of inactivity required before a password is required.
    82  	PasswordMinutesOfInactivityBeforeLock *int `json:"passwordMinutesOfInactivityBeforeLock,omitempty"`
    83  	// PasswordMinutesOfInactivityBeforeScreenTimeout Minutes of inactivity required before the screen times out.
    84  	PasswordMinutesOfInactivityBeforeScreenTimeout *int `json:"passwordMinutesOfInactivityBeforeScreenTimeout,omitempty"`
    85  	// PasswordPreviousPasswordBlockCount Number of previous passwords to block.
    86  	PasswordPreviousPasswordBlockCount *int `json:"passwordPreviousPasswordBlockCount,omitempty"`
    87  	// PasswordRequiredType Type of password that is required.
    88  	PasswordRequiredType *RequiredPasswordType `json:"passwordRequiredType,omitempty"`
    89  	// PasswordRequired Whether or not to require a password.
    90  	PasswordRequired *bool `json:"passwordRequired,omitempty"`
    91  }
    92  
    93  // MacOSOfficeSuiteApp Contains properties and inherited properties for the MacOS Office Suite App.
    94  type MacOSOfficeSuiteApp struct {
    95  	// MobileApp is the base model of MacOSOfficeSuiteApp
    96  	MobileApp
    97  }