github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelWin32.go (about)

     1  // Code generated by msgraph.go/gen DO NOT EDIT.
     2  
     3  package msgraph
     4  
     5  // Win32LobApp Contains properties and inherited properties for Win32 apps.
     6  type Win32LobApp struct {
     7  	// MobileLobApp is the base model of Win32LobApp
     8  	MobileLobApp
     9  	// InstallCommandLine The command line to install this app
    10  	InstallCommandLine *string `json:"installCommandLine,omitempty"`
    11  	// UninstallCommandLine The command line to uninstall this app
    12  	UninstallCommandLine *string `json:"uninstallCommandLine,omitempty"`
    13  	// ApplicableArchitectures The Windows architecture(s) for which this app can run on.
    14  	ApplicableArchitectures *WindowsArchitecture `json:"applicableArchitectures,omitempty"`
    15  	// MinimumSupportedOperatingSystem The value for the minimum applicable operating system.
    16  	MinimumSupportedOperatingSystem *WindowsMinimumOperatingSystem `json:"minimumSupportedOperatingSystem,omitempty"`
    17  	// MinimumFreeDiskSpaceInMB The value for the minimum free disk space which is required to install this app.
    18  	MinimumFreeDiskSpaceInMB *int `json:"minimumFreeDiskSpaceInMB,omitempty"`
    19  	// MinimumMemoryInMB The value for the minimum physical memory which is required to install this app.
    20  	MinimumMemoryInMB *int `json:"minimumMemoryInMB,omitempty"`
    21  	// MinimumNumberOfProcessors The value for the minimum number of processors which is required to install this app.
    22  	MinimumNumberOfProcessors *int `json:"minimumNumberOfProcessors,omitempty"`
    23  	// MinimumCPUSpeedInMHz The value for the minimum CPU speed which is required to install this app.
    24  	MinimumCPUSpeedInMHz *int `json:"minimumCpuSpeedInMHz,omitempty"`
    25  	// DetectionRules The detection rules to detect Win32 Line of Business (LoB) app.
    26  	DetectionRules []Win32LobAppDetection `json:"detectionRules,omitempty"`
    27  	// RequirementRules The requirement rules to detect Win32 Line of Business (LoB) app.
    28  	RequirementRules []Win32LobAppRequirement `json:"requirementRules,omitempty"`
    29  	// InstallExperience The install experience for this app.
    30  	InstallExperience *Win32LobAppInstallExperience `json:"installExperience,omitempty"`
    31  	// ReturnCodes The return codes for post installation behavior.
    32  	ReturnCodes []Win32LobAppReturnCode `json:"returnCodes,omitempty"`
    33  	// MsiInformation The MSI details if this Win32 app is an MSI app.
    34  	MsiInformation *Win32LobAppMsiInformation `json:"msiInformation,omitempty"`
    35  	// SetupFilePath The relative path of the setup file in the encrypted Win32LobApp package.
    36  	SetupFilePath *string `json:"setupFilePath,omitempty"`
    37  }
    38  
    39  // Win32LobAppAssignmentSettings undocumented
    40  type Win32LobAppAssignmentSettings struct {
    41  	// MobileAppAssignmentSettings is the base model of Win32LobAppAssignmentSettings
    42  	MobileAppAssignmentSettings
    43  	// Notifications The notification status for this app assignment.
    44  	Notifications *Win32LobAppNotification `json:"notifications,omitempty"`
    45  	// RestartSettings The reboot settings to apply for this app assignment.
    46  	RestartSettings *Win32LobAppRestartSettings `json:"restartSettings,omitempty"`
    47  	// InstallTimeSettings The install time settings to apply for this app assignment.
    48  	InstallTimeSettings *MobileAppInstallTimeSettings `json:"installTimeSettings,omitempty"`
    49  }
    50  
    51  // Win32LobAppDetection undocumented
    52  type Win32LobAppDetection struct {
    53  	// Object is the base model of Win32LobAppDetection
    54  	Object
    55  }
    56  
    57  // Win32LobAppFileSystemDetection undocumented
    58  type Win32LobAppFileSystemDetection struct {
    59  	// Win32LobAppDetection is the base model of Win32LobAppFileSystemDetection
    60  	Win32LobAppDetection
    61  	// Path The file or folder path to detect Win32 Line of Business (LoB) app
    62  	Path *string `json:"path,omitempty"`
    63  	// FileOrFolderName The file or folder name to detect Win32 Line of Business (LoB) app
    64  	FileOrFolderName *string `json:"fileOrFolderName,omitempty"`
    65  	// Check32BitOn64System A value indicating whether this file or folder is for checking 32-bit app on 64-bit system
    66  	Check32BitOn64System *bool `json:"check32BitOn64System,omitempty"`
    67  	// DetectionType The file system detection type
    68  	DetectionType *Win32LobAppFileSystemDetectionType `json:"detectionType,omitempty"`
    69  	// Operator The operator for file or folder detection
    70  	Operator *Win32LobAppDetectionOperator `json:"operator,omitempty"`
    71  	// DetectionValue The file or folder detection value
    72  	DetectionValue *string `json:"detectionValue,omitempty"`
    73  }
    74  
    75  // Win32LobAppFileSystemRequirement undocumented
    76  type Win32LobAppFileSystemRequirement struct {
    77  	// Win32LobAppRequirement is the base model of Win32LobAppFileSystemRequirement
    78  	Win32LobAppRequirement
    79  	// Path The file or folder path to detect Win32 Line of Business (LoB) app
    80  	Path *string `json:"path,omitempty"`
    81  	// FileOrFolderName The file or folder name to detect Win32 Line of Business (LoB) app
    82  	FileOrFolderName *string `json:"fileOrFolderName,omitempty"`
    83  	// Check32BitOn64System A value indicating whether this file or folder is for checking 32-bit app on 64-bit system
    84  	Check32BitOn64System *bool `json:"check32BitOn64System,omitempty"`
    85  	// DetectionType The file system detection type
    86  	DetectionType *Win32LobAppFileSystemDetectionType `json:"detectionType,omitempty"`
    87  }
    88  
    89  // Win32LobAppInstallExperience undocumented
    90  type Win32LobAppInstallExperience struct {
    91  	// Object is the base model of Win32LobAppInstallExperience
    92  	Object
    93  	// RunAsAccount Indicates the type of execution context the app runs in.
    94  	RunAsAccount *RunAsAccountType `json:"runAsAccount,omitempty"`
    95  	// DeviceRestartBehavior Device restart behavior.
    96  	DeviceRestartBehavior *Win32LobAppRestartBehavior `json:"deviceRestartBehavior,omitempty"`
    97  }
    98  
    99  // Win32LobAppMsiInformation undocumented
   100  type Win32LobAppMsiInformation struct {
   101  	// Object is the base model of Win32LobAppMsiInformation
   102  	Object
   103  	// ProductCode The MSI product code.
   104  	ProductCode *string `json:"productCode,omitempty"`
   105  	// ProductVersion The MSI product version.
   106  	ProductVersion *string `json:"productVersion,omitempty"`
   107  	// UpgradeCode The MSI upgrade code.
   108  	UpgradeCode *string `json:"upgradeCode,omitempty"`
   109  	// RequiresReboot Whether the MSI app requires the machine to reboot to complete installation.
   110  	RequiresReboot *bool `json:"requiresReboot,omitempty"`
   111  	// PackageType The MSI package type.
   112  	PackageType *Win32LobAppMsiPackageType `json:"packageType,omitempty"`
   113  	// ProductName The MSI product name.
   114  	ProductName *string `json:"productName,omitempty"`
   115  	// Publisher The MSI publisher.
   116  	Publisher *string `json:"publisher,omitempty"`
   117  }
   118  
   119  // Win32LobAppPowerShellScriptDetection undocumented
   120  type Win32LobAppPowerShellScriptDetection struct {
   121  	// Win32LobAppDetection is the base model of Win32LobAppPowerShellScriptDetection
   122  	Win32LobAppDetection
   123  	// EnforceSignatureCheck A value indicating whether signature check is enforced
   124  	EnforceSignatureCheck *bool `json:"enforceSignatureCheck,omitempty"`
   125  	// RunAs32Bit A value indicating whether this script should run as 32-bit
   126  	RunAs32Bit *bool `json:"runAs32Bit,omitempty"`
   127  	// ScriptContent The base64 encoded script content to detect Win32 Line of Business (LoB) app
   128  	ScriptContent *string `json:"scriptContent,omitempty"`
   129  }
   130  
   131  // Win32LobAppPowerShellScriptRequirement undocumented
   132  type Win32LobAppPowerShellScriptRequirement struct {
   133  	// Win32LobAppRequirement is the base model of Win32LobAppPowerShellScriptRequirement
   134  	Win32LobAppRequirement
   135  	// DisplayName The unique display name for this rule
   136  	DisplayName *string `json:"displayName,omitempty"`
   137  	// EnforceSignatureCheck A value indicating whether signature check is enforced
   138  	EnforceSignatureCheck *bool `json:"enforceSignatureCheck,omitempty"`
   139  	// RunAs32Bit A value indicating whether this script should run as 32-bit
   140  	RunAs32Bit *bool `json:"runAs32Bit,omitempty"`
   141  	// RunAsAccount Indicates the type of execution context the script runs in.
   142  	RunAsAccount *RunAsAccountType `json:"runAsAccount,omitempty"`
   143  	// ScriptContent The base64 encoded script content to detect Win32 Line of Business (LoB) app
   144  	ScriptContent *string `json:"scriptContent,omitempty"`
   145  	// DetectionType The detection type for script output
   146  	DetectionType *Win32LobAppPowerShellScriptDetectionType `json:"detectionType,omitempty"`
   147  }
   148  
   149  // Win32LobAppProductCodeDetection undocumented
   150  type Win32LobAppProductCodeDetection struct {
   151  	// Win32LobAppDetection is the base model of Win32LobAppProductCodeDetection
   152  	Win32LobAppDetection
   153  	// ProductCode The product code of Win32 Line of Business (LoB) app.
   154  	ProductCode *string `json:"productCode,omitempty"`
   155  	// ProductVersionOperator The operator to detect product version.
   156  	ProductVersionOperator *Win32LobAppDetectionOperator `json:"productVersionOperator,omitempty"`
   157  	// ProductVersion The product version of Win32 Line of Business (LoB) app.
   158  	ProductVersion *string `json:"productVersion,omitempty"`
   159  }
   160  
   161  // Win32LobAppRegistryDetection undocumented
   162  type Win32LobAppRegistryDetection struct {
   163  	// Win32LobAppDetection is the base model of Win32LobAppRegistryDetection
   164  	Win32LobAppDetection
   165  	// Check32BitOn64System A value indicating whether this registry path is for checking 32-bit app on 64-bit system
   166  	Check32BitOn64System *bool `json:"check32BitOn64System,omitempty"`
   167  	// KeyPath The registry key path to detect Win32 Line of Business (LoB) app
   168  	KeyPath *string `json:"keyPath,omitempty"`
   169  	// ValueName The registry value name
   170  	ValueName *string `json:"valueName,omitempty"`
   171  	// DetectionType The registry data detection type
   172  	DetectionType *Win32LobAppRegistryDetectionType `json:"detectionType,omitempty"`
   173  	// Operator The operator for registry data detection
   174  	Operator *Win32LobAppDetectionOperator `json:"operator,omitempty"`
   175  	// DetectionValue The registry detection value
   176  	DetectionValue *string `json:"detectionValue,omitempty"`
   177  }
   178  
   179  // Win32LobAppRegistryRequirement undocumented
   180  type Win32LobAppRegistryRequirement struct {
   181  	// Win32LobAppRequirement is the base model of Win32LobAppRegistryRequirement
   182  	Win32LobAppRequirement
   183  	// Check32BitOn64System A value indicating whether this registry path is for checking 32-bit app on 64-bit system
   184  	Check32BitOn64System *bool `json:"check32BitOn64System,omitempty"`
   185  	// KeyPath The registry key path to detect Win32 Line of Business (LoB) app
   186  	KeyPath *string `json:"keyPath,omitempty"`
   187  	// ValueName The registry value name
   188  	ValueName *string `json:"valueName,omitempty"`
   189  	// DetectionType The registry data detection type
   190  	DetectionType *Win32LobAppRegistryDetectionType `json:"detectionType,omitempty"`
   191  }
   192  
   193  // Win32LobAppRequirement undocumented
   194  type Win32LobAppRequirement struct {
   195  	// Object is the base model of Win32LobAppRequirement
   196  	Object
   197  	// Operator The operator for detection
   198  	Operator *Win32LobAppDetectionOperator `json:"operator,omitempty"`
   199  	// DetectionValue The detection value
   200  	DetectionValue *string `json:"detectionValue,omitempty"`
   201  }
   202  
   203  // Win32LobAppRestartSettings undocumented
   204  type Win32LobAppRestartSettings struct {
   205  	// Object is the base model of Win32LobAppRestartSettings
   206  	Object
   207  	// GracePeriodInMinutes The number of minutes to wait before restarting the device after an app installation.
   208  	GracePeriodInMinutes *int `json:"gracePeriodInMinutes,omitempty"`
   209  	// CountdownDisplayBeforeRestartInMinutes The number of minutes before the restart time to display the countdown dialog for pending restarts.
   210  	CountdownDisplayBeforeRestartInMinutes *int `json:"countdownDisplayBeforeRestartInMinutes,omitempty"`
   211  	// RestartNotificationSnoozeDurationInMinutes The number of minutes to snooze the restart notification dialog when the snooze button is selected.
   212  	RestartNotificationSnoozeDurationInMinutes *int `json:"restartNotificationSnoozeDurationInMinutes,omitempty"`
   213  }
   214  
   215  // Win32LobAppReturnCode undocumented
   216  type Win32LobAppReturnCode struct {
   217  	// Object is the base model of Win32LobAppReturnCode
   218  	Object
   219  	// ReturnCode Return code.
   220  	ReturnCode *int `json:"returnCode,omitempty"`
   221  	// Type The type of return code.
   222  	Type *Win32LobAppReturnCodeType `json:"type,omitempty"`
   223  }