Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate current sources #630

Merged
merged 2 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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