Skip to content
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
41 changes: 41 additions & 0 deletions core/api/core.api
Original file line number Diff line number Diff line change
Expand Up @@ -20775,6 +20775,38 @@ public final class com/dropbox/core/v2/teamlog/EnforceLinkPasswordPolicy : java/
public static fun values ()[Lcom/dropbox/core/v2/teamlog/EnforceLinkPasswordPolicy;
}

public final class com/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy : java/lang/Enum {
public static final field DEFAULT Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;
public static final field DISABLED Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;
public static final field ENABLED Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;
public static final field OTHER Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;
public static fun valueOf (Ljava/lang/String;)Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;
public static fun values ()[Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;
}

public class com/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicyChangedDetails {
protected final field newValue Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;
protected final field previousValue Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;
public fun <init> (Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;)V
public fun <init> (Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;)V
public fun equals (Ljava/lang/Object;)Z
public fun getNewValue ()Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;
public fun getPreviousValue ()Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicy;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
public fun toStringMultiline ()Ljava/lang/String;
}

public class com/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicyChangedType {
protected final field description Ljava/lang/String;
public fun <init> (Ljava/lang/String;)V
public fun equals (Ljava/lang/Object;)Z
public fun getDescription ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
public fun toStringMultiline ()Ljava/lang/String;
}

public class com/dropbox/core/v2/teamlog/EnterpriseSettingsLockingDetails {
protected final field newSettingsPageLockingState Ljava/lang/String;
protected final field previousSettingsPageLockingState Ljava/lang/String;
Expand Down Expand Up @@ -20974,6 +21006,7 @@ public final class com/dropbox/core/v2/teamlog/EventDetails {
public static fun encryptedFolderUnenrollClientDetails (Lcom/dropbox/core/v2/teamlog/EncryptedFolderUnenrollClientDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
public static fun endedEnterpriseAdminSessionDeprecatedDetails (Lcom/dropbox/core/v2/teamlog/EndedEnterpriseAdminSessionDeprecatedDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
public static fun endedEnterpriseAdminSessionDetails (Lcom/dropbox/core/v2/teamlog/EndedEnterpriseAdminSessionDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
public static fun enterpriseManagedAuthPolicyChangedDetails (Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicyChangedDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
public static fun enterpriseSettingsLockingDetails (Lcom/dropbox/core/v2/teamlog/EnterpriseSettingsLockingDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
public fun equals (Ljava/lang/Object;)Z
public static fun exportMembersReportDetails (Lcom/dropbox/core/v2/teamlog/ExportMembersReportDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
Expand Down Expand Up @@ -21170,6 +21203,7 @@ public final class com/dropbox/core/v2/teamlog/EventDetails {
public fun getEncryptedFolderUnenrollClientDetailsValue ()Lcom/dropbox/core/v2/teamlog/EncryptedFolderUnenrollClientDetails;
public fun getEndedEnterpriseAdminSessionDeprecatedDetailsValue ()Lcom/dropbox/core/v2/teamlog/EndedEnterpriseAdminSessionDeprecatedDetails;
public fun getEndedEnterpriseAdminSessionDetailsValue ()Lcom/dropbox/core/v2/teamlog/EndedEnterpriseAdminSessionDetails;
public fun getEnterpriseManagedAuthPolicyChangedDetailsValue ()Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicyChangedDetails;
public fun getEnterpriseSettingsLockingDetailsValue ()Lcom/dropbox/core/v2/teamlog/EnterpriseSettingsLockingDetails;
public fun getExportMembersReportDetailsValue ()Lcom/dropbox/core/v2/teamlog/ExportMembersReportDetails;
public fun getExportMembersReportFailDetailsValue ()Lcom/dropbox/core/v2/teamlog/ExportMembersReportFailDetails;
Expand Down Expand Up @@ -21847,6 +21881,7 @@ public final class com/dropbox/core/v2/teamlog/EventDetails {
public fun isEncryptedFolderUnenrollClientDetails ()Z
public fun isEndedEnterpriseAdminSessionDeprecatedDetails ()Z
public fun isEndedEnterpriseAdminSessionDetails ()Z
public fun isEnterpriseManagedAuthPolicyChangedDetails ()Z
public fun isEnterpriseSettingsLockingDetails ()Z
public fun isExportMembersReportDetails ()Z
public fun isExportMembersReportFailDetails ()Z
Expand Down Expand Up @@ -22906,6 +22941,7 @@ public final class com/dropbox/core/v2/teamlog/EventDetails$Tag : java/lang/Enum
public static final field ENCRYPTED_FOLDER_UNENROLL_CLIENT_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field ENDED_ENTERPRISE_ADMIN_SESSION_DEPRECATED_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field ENDED_ENTERPRISE_ADMIN_SESSION_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field ENTERPRISE_SETTINGS_LOCKING_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field EXPORT_MEMBERS_REPORT_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field EXPORT_MEMBERS_REPORT_FAIL_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
Expand Down Expand Up @@ -23554,6 +23590,7 @@ public final class com/dropbox/core/v2/teamlog/EventType {
public static fun encryptedFolderUnenrollClient (Lcom/dropbox/core/v2/teamlog/EncryptedFolderUnenrollClientType;)Lcom/dropbox/core/v2/teamlog/EventType;
public static fun endedEnterpriseAdminSession (Lcom/dropbox/core/v2/teamlog/EndedEnterpriseAdminSessionType;)Lcom/dropbox/core/v2/teamlog/EventType;
public static fun endedEnterpriseAdminSessionDeprecated (Lcom/dropbox/core/v2/teamlog/EndedEnterpriseAdminSessionDeprecatedType;)Lcom/dropbox/core/v2/teamlog/EventType;
public static fun enterpriseManagedAuthPolicyChanged (Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicyChangedType;)Lcom/dropbox/core/v2/teamlog/EventType;
public static fun enterpriseSettingsLocking (Lcom/dropbox/core/v2/teamlog/EnterpriseSettingsLockingType;)Lcom/dropbox/core/v2/teamlog/EventType;
public fun equals (Ljava/lang/Object;)Z
public static fun exportMembersReport (Lcom/dropbox/core/v2/teamlog/ExportMembersReportType;)Lcom/dropbox/core/v2/teamlog/EventType;
Expand Down Expand Up @@ -23750,6 +23787,7 @@ public final class com/dropbox/core/v2/teamlog/EventType {
public fun getEncryptedFolderUnenrollClientValue ()Lcom/dropbox/core/v2/teamlog/EncryptedFolderUnenrollClientType;
public fun getEndedEnterpriseAdminSessionDeprecatedValue ()Lcom/dropbox/core/v2/teamlog/EndedEnterpriseAdminSessionDeprecatedType;
public fun getEndedEnterpriseAdminSessionValue ()Lcom/dropbox/core/v2/teamlog/EndedEnterpriseAdminSessionType;
public fun getEnterpriseManagedAuthPolicyChangedValue ()Lcom/dropbox/core/v2/teamlog/EnterpriseManagedAuthPolicyChangedType;
public fun getEnterpriseSettingsLockingValue ()Lcom/dropbox/core/v2/teamlog/EnterpriseSettingsLockingType;
public fun getExportMembersReportFailValue ()Lcom/dropbox/core/v2/teamlog/ExportMembersReportFailType;
public fun getExportMembersReportValue ()Lcom/dropbox/core/v2/teamlog/ExportMembersReportType;
Expand Down Expand Up @@ -24426,6 +24464,7 @@ public final class com/dropbox/core/v2/teamlog/EventType {
public fun isEncryptedFolderUnenrollClient ()Z
public fun isEndedEnterpriseAdminSession ()Z
public fun isEndedEnterpriseAdminSessionDeprecated ()Z
public fun isEnterpriseManagedAuthPolicyChanged ()Z
public fun isEnterpriseSettingsLocking ()Z
public fun isExportMembersReport ()Z
public fun isExportMembersReportFail ()Z
Expand Down Expand Up @@ -25483,6 +25522,7 @@ public final class com/dropbox/core/v2/teamlog/EventType$Tag : java/lang/Enum {
public static final field ENCRYPTED_FOLDER_UNENROLL_CLIENT Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field ENDED_ENTERPRISE_ADMIN_SESSION Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field ENDED_ENTERPRISE_ADMIN_SESSION_DEPRECATED Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field ENTERPRISE_SETTINGS_LOCKING Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field EXPORT_MEMBERS_REPORT Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field EXPORT_MEMBERS_REPORT_FAIL Lcom/dropbox/core/v2/teamlog/EventType$Tag;
Expand Down Expand Up @@ -26129,6 +26169,7 @@ public final class com/dropbox/core/v2/teamlog/EventTypeArg : java/lang/Enum {
public static final field ENCRYPTED_FOLDER_UNENROLL_CLIENT Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field ENDED_ENTERPRISE_ADMIN_SESSION Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field ENDED_ENTERPRISE_ADMIN_SESSION_DEPRECATED Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field ENTERPRISE_SETTINGS_LOCKING Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field EXPORT_MEMBERS_REPORT Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field EXPORT_MEMBERS_REPORT_FAIL Lcom/dropbox/core/v2/teamlog/EventTypeArg;
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ public enum Tag {
EMM_ADD_EXCEPTION_DETAILS, // EmmAddExceptionDetails
EMM_CHANGE_POLICY_DETAILS, // EmmChangePolicyDetails
EMM_REMOVE_EXCEPTION_DETAILS, // EmmRemoveExceptionDetails
ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS, // EnterpriseManagedAuthPolicyChangedDetails
EXTENDED_VERSION_HISTORY_CHANGE_POLICY_DETAILS, // ExtendedVersionHistoryChangePolicyDetails
EXTERNAL_DRIVE_BACKUP_POLICY_CHANGED_DETAILS, // ExternalDriveBackupPolicyChangedDetails
FILE_COMMENTS_CHANGE_POLICY_DETAILS, // FileCommentsChangePolicyDetails
Expand Down Expand Up @@ -1211,6 +1212,7 @@ public enum Tag {
private EmmAddExceptionDetails emmAddExceptionDetailsValue;
private EmmChangePolicyDetails emmChangePolicyDetailsValue;
private EmmRemoveExceptionDetails emmRemoveExceptionDetailsValue;
private EnterpriseManagedAuthPolicyChangedDetails enterpriseManagedAuthPolicyChangedDetailsValue;
private ExtendedVersionHistoryChangePolicyDetails extendedVersionHistoryChangePolicyDetailsValue;
private ExternalDriveBackupPolicyChangedDetails externalDriveBackupPolicyChangedDetailsValue;
private FileCommentsChangePolicyDetails fileCommentsChangePolicyDetailsValue;
Expand Down Expand Up @@ -9673,6 +9675,23 @@ private EventDetails withTagAndEmmRemoveExceptionDetails(Tag _tag, EmmRemoveExce
return result;
}

/**
* Additional fields depending on the event type.
*
* @param enterpriseManagedAuthPolicyChangedDetailsValue Must not be {@code
* null}.
* @param _tag Discriminating tag for this instance.
*
* @throws IllegalArgumentException If any argument does not meet its
* preconditions.
*/
private EventDetails withTagAndEnterpriseManagedAuthPolicyChangedDetails(Tag _tag, EnterpriseManagedAuthPolicyChangedDetails enterpriseManagedAuthPolicyChangedDetailsValue) {
EventDetails result = new EventDetails();
result._tag = _tag;
result.enterpriseManagedAuthPolicyChangedDetailsValue = enterpriseManagedAuthPolicyChangedDetailsValue;
return result;
}

/**
* Additional fields depending on the event type.
*
Expand Down Expand Up @@ -36807,6 +36826,57 @@ public EmmRemoveExceptionDetails getEmmRemoveExceptionDetailsValue() {
return emmRemoveExceptionDetailsValue;
}

/**
* Returns {@code true} if this instance has the tag {@link
* Tag#ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS}, {@code false}
* otherwise.
*
* @return {@code true} if this instance is tagged as {@link
* Tag#ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS}, {@code false}
* otherwise.
*/
public boolean isEnterpriseManagedAuthPolicyChangedDetails() {
return this._tag == Tag.ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS;
}

/**
* Returns an instance of {@code EventDetails} that has its tag set to
* {@link Tag#ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS}.
*
* <p> None </p>
*
* @param value value to assign to this instance.
*
* @return Instance of {@code EventDetails} with its tag set to {@link
* Tag#ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS}.
*
* @throws IllegalArgumentException if {@code value} is {@code null}.
*/
public static EventDetails enterpriseManagedAuthPolicyChangedDetails(EnterpriseManagedAuthPolicyChangedDetails value) {
if (value == null) {
throw new IllegalArgumentException("Value is null");
}
return new EventDetails().withTagAndEnterpriseManagedAuthPolicyChangedDetails(Tag.ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS, value);
}

/**
* This instance must be tagged as {@link
* Tag#ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS}.
*
* @return The {@link EnterpriseManagedAuthPolicyChangedDetails} value
* associated with this instance if {@link
* #isEnterpriseManagedAuthPolicyChangedDetails} is {@code true}.
*
* @throws IllegalStateException If {@link
* #isEnterpriseManagedAuthPolicyChangedDetails} is {@code false}.
*/
public EnterpriseManagedAuthPolicyChangedDetails getEnterpriseManagedAuthPolicyChangedDetailsValue() {
if (this._tag != Tag.ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS) {
throw new IllegalStateException("Invalid tag: required Tag.ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS, but was Tag." + this._tag.name());
}
return enterpriseManagedAuthPolicyChangedDetailsValue;
}

/**
* Returns {@code true} if this instance has the tag {@link
* Tag#EXTENDED_VERSION_HISTORY_CHANGE_POLICY_DETAILS}, {@code false}
Expand Down Expand Up @@ -43868,6 +43938,7 @@ public int hashCode() {
this.emmAddExceptionDetailsValue,
this.emmChangePolicyDetailsValue,
this.emmRemoveExceptionDetailsValue,
this.enterpriseManagedAuthPolicyChangedDetailsValue,
this.extendedVersionHistoryChangePolicyDetailsValue,
this.externalDriveBackupPolicyChangedDetailsValue,
this.fileCommentsChangePolicyDetailsValue,
Expand Down Expand Up @@ -45037,6 +45108,8 @@ else if (obj instanceof EventDetails) {
return (this.emmChangePolicyDetailsValue == other.emmChangePolicyDetailsValue) || (this.emmChangePolicyDetailsValue.equals(other.emmChangePolicyDetailsValue));
case EMM_REMOVE_EXCEPTION_DETAILS:
return (this.emmRemoveExceptionDetailsValue == other.emmRemoveExceptionDetailsValue) || (this.emmRemoveExceptionDetailsValue.equals(other.emmRemoveExceptionDetailsValue));
case ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS:
return (this.enterpriseManagedAuthPolicyChangedDetailsValue == other.enterpriseManagedAuthPolicyChangedDetailsValue) || (this.enterpriseManagedAuthPolicyChangedDetailsValue.equals(other.enterpriseManagedAuthPolicyChangedDetailsValue));
case EXTENDED_VERSION_HISTORY_CHANGE_POLICY_DETAILS:
return (this.extendedVersionHistoryChangePolicyDetailsValue == other.extendedVersionHistoryChangePolicyDetailsValue) || (this.extendedVersionHistoryChangePolicyDetailsValue.equals(other.extendedVersionHistoryChangePolicyDetailsValue));
case EXTERNAL_DRIVE_BACKUP_POLICY_CHANGED_DETAILS:
Expand Down Expand Up @@ -48906,6 +48979,13 @@ public void serialize(EventDetails value, JsonGenerator g) throws IOException, J
g.writeEndObject();
break;
}
case ENTERPRISE_MANAGED_AUTH_POLICY_CHANGED_DETAILS: {
g.writeStartObject();
writeTag("enterprise_managed_auth_policy_changed_details", g);
EnterpriseManagedAuthPolicyChangedDetails.Serializer.INSTANCE.serialize(value.enterpriseManagedAuthPolicyChangedDetailsValue, g, true);
g.writeEndObject();
break;
}
case EXTENDED_VERSION_HISTORY_CHANGE_POLICY_DETAILS: {
g.writeStartObject();
writeTag("extended_version_history_change_policy_details", g);
Expand Down Expand Up @@ -52397,6 +52477,11 @@ else if ("emm_remove_exception_details".equals(tag)) {
fieldValue = EmmRemoveExceptionDetails.Serializer.INSTANCE.deserialize(p, true);
value = EventDetails.emmRemoveExceptionDetails(fieldValue);
}
else if ("enterprise_managed_auth_policy_changed_details".equals(tag)) {
EnterpriseManagedAuthPolicyChangedDetails fieldValue = null;
fieldValue = EnterpriseManagedAuthPolicyChangedDetails.Serializer.INSTANCE.deserialize(p, true);
value = EventDetails.enterpriseManagedAuthPolicyChangedDetails(fieldValue);
}
else if ("extended_version_history_change_policy_details".equals(tag)) {
ExtendedVersionHistoryChangePolicyDetails fieldValue = null;
fieldValue = ExtendedVersionHistoryChangePolicyDetails.Serializer.INSTANCE.deserialize(p, true);
Expand Down
Loading
Loading