Skip to content

Commit

Permalink
Generate current sources
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed Feb 6, 2024
1 parent b0f2116 commit de69487
Show file tree
Hide file tree
Showing 21 changed files with 514 additions and 677 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,21 @@
NSString * const kGTLRAndroidManagement_Enterprise_EnabledNotificationTypes_StatusReport = @"STATUS_REPORT";
NSString * const kGTLRAndroidManagement_Enterprise_EnabledNotificationTypes_UsageLogs = @"USAGE_LOGS";

// GTLRAndroidManagement_InstallConstraint.chargingConstraint
NSString * const kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_ChargingConstraintUnspecified = @"CHARGING_CONSTRAINT_UNSPECIFIED";
NSString * const kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_ChargingNotRequired = @"CHARGING_NOT_REQUIRED";
NSString * const kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_InstallOnlyWhenCharging = @"INSTALL_ONLY_WHEN_CHARGING";

// GTLRAndroidManagement_InstallConstraint.deviceIdleConstraint
NSString * const kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_DeviceIdleConstraintUnspecified = @"DEVICE_IDLE_CONSTRAINT_UNSPECIFIED";
NSString * const kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_DeviceIdleNotRequired = @"DEVICE_IDLE_NOT_REQUIRED";
NSString * const kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_InstallOnlyWhenDeviceIdle = @"INSTALL_ONLY_WHEN_DEVICE_IDLE";

// GTLRAndroidManagement_InstallConstraint.networkTypeConstraint
NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_InstallOnAnyNetwork = @"INSTALL_ON_ANY_NETWORK";
NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_InstallOnlyOnUnmeteredNetwork = @"INSTALL_ONLY_ON_UNMETERED_NETWORK";
NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_NetworkTypeConstraintUnspecified = @"NETWORK_TYPE_CONSTRAINT_UNSPECIFIED";

// GTLRAndroidManagement_KeyedAppState.severity
NSString * const kGTLRAndroidManagement_KeyedAppState_Severity_Error = @"ERROR";
NSString * const kGTLRAndroidManagement_KeyedAppState_Severity_Info = @"INFO";
Expand Down Expand Up @@ -813,14 +828,16 @@ @implementation GTLRAndroidManagement_ApplicationPermission
@implementation GTLRAndroidManagement_ApplicationPolicy
@dynamic accessibleTrackIds, alwaysOnVpnLockdownExemption, autoUpdateMode,
connectedWorkAndPersonalApp, defaultPermissionPolicy, delegatedScopes,
disabled, extensionConfig, installType, lockTaskAllowed,
managedConfiguration, managedConfigurationTemplate, minimumVersionCode,
packageName, permissionGrants, workProfileWidgets;
disabled, extensionConfig, installConstraint, installPriority,
installType, lockTaskAllowed, managedConfiguration,
managedConfigurationTemplate, minimumVersionCode, packageName,
permissionGrants, workProfileWidgets;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
@"accessibleTrackIds" : [NSString class],
@"delegatedScopes" : [NSString class],
@"installConstraint" : [GTLRAndroidManagement_InstallConstraint class],
@"permissionGrants" : [GTLRAndroidManagement_PermissionGrant class]
};
return map;
Expand Down Expand Up @@ -1452,6 +1469,16 @@ @implementation GTLRAndroidManagement_HardwareStatus
@end


// ----------------------------------------------------------------------------
//
// GTLRAndroidManagement_InstallConstraint
//

@implementation GTLRAndroidManagement_InstallConstraint
@dynamic chargingConstraint, deviceIdleConstraint, networkTypeConstraint;
@end


// ----------------------------------------------------------------------------
//
// GTLRAndroidManagement_IssueCommandResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,25 +205,6 @@ + (instancetype)queryWithName:(NSString *)name {

@end

@implementation GTLRAndroidManagementQuery_EnterprisesDevicesOperationsDelete

@dynamic name;

+ (instancetype)queryWithName:(NSString *)name {
NSArray *pathParams = @[ @"name" ];
NSString *pathURITemplate = @"v1/{+name}";
GTLRAndroidManagementQuery_EnterprisesDevicesOperationsDelete *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:@"DELETE"
pathParameterNames:pathParams];
query.name = name;
query.expectedObjectClass = [GTLRAndroidManagement_Empty class];
query.loggingName = @"androidmanagement.enterprises.devices.operations.delete";
return query;
}

@end

@implementation GTLRAndroidManagementQuery_EnterprisesDevicesOperationsGet

@dynamic name;
Expand Down
Loading

0 comments on commit de69487

Please sign in to comment.