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
33 changes: 33 additions & 0 deletions core/api/core.api
Original file line number Diff line number Diff line change
Expand Up @@ -21988,6 +21988,7 @@ public final class com/dropbox/core/v2/teamlog/EventDetails {
public fun getResellerSupportChangePolicyDetailsValue ()Lcom/dropbox/core/v2/teamlog/ResellerSupportChangePolicyDetails;
public fun getResellerSupportSessionEndDetailsValue ()Lcom/dropbox/core/v2/teamlog/ResellerSupportSessionEndDetails;
public fun getResellerSupportSessionStartDetailsValue ()Lcom/dropbox/core/v2/teamlog/ResellerSupportSessionStartDetails;
public fun getRetrieveFrozenFileDetailsValue ()Lcom/dropbox/core/v2/teamlog/RetrieveFrozenFileDetails;
public fun getRewindFolderDetailsValue ()Lcom/dropbox/core/v2/teamlog/RewindFolderDetails;
public fun getRewindPolicyChangedDetailsValue ()Lcom/dropbox/core/v2/teamlog/RewindPolicyChangedDetails;
public fun getRiscSecurityEventDetailsValue ()Lcom/dropbox/core/v2/teamlog/RiscSecurityEventDetails;
Expand Down Expand Up @@ -22669,6 +22670,7 @@ public final class com/dropbox/core/v2/teamlog/EventDetails {
public fun isResellerSupportChangePolicyDetails ()Z
public fun isResellerSupportSessionEndDetails ()Z
public fun isResellerSupportSessionStartDetails ()Z
public fun isRetrieveFrozenFileDetails ()Z
public fun isRewindFolderDetails ()Z
public fun isRewindPolicyChangedDetails ()Z
public fun isRiscSecurityEventDetails ()Z
Expand Down Expand Up @@ -23081,6 +23083,7 @@ public final class com/dropbox/core/v2/teamlog/EventDetails {
public static fun resellerSupportChangePolicyDetails (Lcom/dropbox/core/v2/teamlog/ResellerSupportChangePolicyDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
public static fun resellerSupportSessionEndDetails (Lcom/dropbox/core/v2/teamlog/ResellerSupportSessionEndDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
public static fun resellerSupportSessionStartDetails (Lcom/dropbox/core/v2/teamlog/ResellerSupportSessionStartDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
public static fun retrieveFrozenFileDetails (Lcom/dropbox/core/v2/teamlog/RetrieveFrozenFileDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
public static fun rewindFolderDetails (Lcom/dropbox/core/v2/teamlog/RewindFolderDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
public static fun rewindPolicyChangedDetails (Lcom/dropbox/core/v2/teamlog/RewindPolicyChangedDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
public static fun riscSecurityEventDetails (Lcom/dropbox/core/v2/teamlog/RiscSecurityEventDetails;)Lcom/dropbox/core/v2/teamlog/EventDetails;
Expand Down Expand Up @@ -23732,6 +23735,7 @@ public final class com/dropbox/core/v2/teamlog/EventDetails$Tag : java/lang/Enum
public static final field RESELLER_SUPPORT_CHANGE_POLICY_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field RESELLER_SUPPORT_SESSION_END_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field RESELLER_SUPPORT_SESSION_START_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field RETRIEVE_FROZEN_FILE_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field REWIND_FOLDER_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field REWIND_POLICY_CHANGED_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
public static final field RISC_SECURITY_EVENT_DETAILS Lcom/dropbox/core/v2/teamlog/EventDetails$Tag;
Expand Down Expand Up @@ -24579,6 +24583,7 @@ public final class com/dropbox/core/v2/teamlog/EventType {
public fun getResellerSupportChangePolicyValue ()Lcom/dropbox/core/v2/teamlog/ResellerSupportChangePolicyType;
public fun getResellerSupportSessionEndValue ()Lcom/dropbox/core/v2/teamlog/ResellerSupportSessionEndType;
public fun getResellerSupportSessionStartValue ()Lcom/dropbox/core/v2/teamlog/ResellerSupportSessionStartType;
public fun getRetrieveFrozenFileValue ()Lcom/dropbox/core/v2/teamlog/RetrieveFrozenFileType;
public fun getRewindFolderValue ()Lcom/dropbox/core/v2/teamlog/RewindFolderType;
public fun getRewindPolicyChangedValue ()Lcom/dropbox/core/v2/teamlog/RewindPolicyChangedType;
public fun getRiscSecurityEventValue ()Lcom/dropbox/core/v2/teamlog/RiscSecurityEventType;
Expand Down Expand Up @@ -25259,6 +25264,7 @@ public final class com/dropbox/core/v2/teamlog/EventType {
public fun isResellerSupportChangePolicy ()Z
public fun isResellerSupportSessionEnd ()Z
public fun isResellerSupportSessionStart ()Z
public fun isRetrieveFrozenFile ()Z
public fun isRewindFolder ()Z
public fun isRewindPolicyChanged ()Z
public fun isRiscSecurityEvent ()Z
Expand Down Expand Up @@ -25670,6 +25676,7 @@ public final class com/dropbox/core/v2/teamlog/EventType {
public static fun resellerSupportChangePolicy (Lcom/dropbox/core/v2/teamlog/ResellerSupportChangePolicyType;)Lcom/dropbox/core/v2/teamlog/EventType;
public static fun resellerSupportSessionEnd (Lcom/dropbox/core/v2/teamlog/ResellerSupportSessionEndType;)Lcom/dropbox/core/v2/teamlog/EventType;
public static fun resellerSupportSessionStart (Lcom/dropbox/core/v2/teamlog/ResellerSupportSessionStartType;)Lcom/dropbox/core/v2/teamlog/EventType;
public static fun retrieveFrozenFile (Lcom/dropbox/core/v2/teamlog/RetrieveFrozenFileType;)Lcom/dropbox/core/v2/teamlog/EventType;
public static fun rewindFolder (Lcom/dropbox/core/v2/teamlog/RewindFolderType;)Lcom/dropbox/core/v2/teamlog/EventType;
public static fun rewindPolicyChanged (Lcom/dropbox/core/v2/teamlog/RewindPolicyChangedType;)Lcom/dropbox/core/v2/teamlog/EventType;
public static fun riscSecurityEvent (Lcom/dropbox/core/v2/teamlog/RiscSecurityEventType;)Lcom/dropbox/core/v2/teamlog/EventType;
Expand Down Expand Up @@ -26320,6 +26327,7 @@ public final class com/dropbox/core/v2/teamlog/EventType$Tag : java/lang/Enum {
public static final field RESELLER_SUPPORT_CHANGE_POLICY Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field RESELLER_SUPPORT_SESSION_END Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field RESELLER_SUPPORT_SESSION_START Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field RETRIEVE_FROZEN_FILE Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field REWIND_FOLDER Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field REWIND_POLICY_CHANGED Lcom/dropbox/core/v2/teamlog/EventType$Tag;
public static final field RISC_SECURITY_EVENT Lcom/dropbox/core/v2/teamlog/EventType$Tag;
Expand Down Expand Up @@ -26969,6 +26977,7 @@ public final class com/dropbox/core/v2/teamlog/EventTypeArg : java/lang/Enum {
public static final field RESELLER_SUPPORT_CHANGE_POLICY Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field RESELLER_SUPPORT_SESSION_END Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field RESELLER_SUPPORT_SESSION_START Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field RETRIEVE_FROZEN_FILE Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field REWIND_FOLDER Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field REWIND_POLICY_CHANGED Lcom/dropbox/core/v2/teamlog/EventTypeArg;
public static final field RISC_SECURITY_EVENT Lcom/dropbox/core/v2/teamlog/EventTypeArg;
Expand Down Expand Up @@ -34686,6 +34695,30 @@ public class com/dropbox/core/v2/teamlog/ResellerSupportSessionStartType {
public fun toStringMultiline ()Ljava/lang/String;
}

public class com/dropbox/core/v2/teamlog/RetrieveFrozenFileDetails {
protected final field destAssetIndex J
protected final field parentAssetIndex J
protected final field srcAssetIndex J
public fun <init> (JJJ)V
public fun equals (Ljava/lang/Object;)Z
public fun getDestAssetIndex ()J
public fun getParentAssetIndex ()J
public fun getSrcAssetIndex ()J
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
public fun toStringMultiline ()Ljava/lang/String;
}

public class com/dropbox/core/v2/teamlog/RetrieveFrozenFileType {
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/RewindFolderDetails {
protected final field rewindFolderTargetTsMs Ljava/util/Date;
public fun <init> (Ljava/util/Date;)V
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ public enum Tag {
SSO_REMOVE_CERT_DETAILS, // SsoRemoveCertDetails
SSO_REMOVE_LOGIN_URL_DETAILS, // SsoRemoveLoginUrlDetails
SSO_REMOVE_LOGOUT_URL_DETAILS, // SsoRemoveLogoutUrlDetails
RETRIEVE_FROZEN_FILE_DETAILS, // RetrieveFrozenFileDetails
TEAM_FOLDER_CHANGE_STATUS_DETAILS, // TeamFolderChangeStatusDetails
TEAM_FOLDER_CREATE_DETAILS, // TeamFolderCreateDetails
TEAM_FOLDER_DOWNGRADE_DETAILS, // TeamFolderDowngradeDetails
Expand Down Expand Up @@ -1176,6 +1177,7 @@ public enum Tag {
private SsoRemoveCertDetails ssoRemoveCertDetailsValue;
private SsoRemoveLoginUrlDetails ssoRemoveLoginUrlDetailsValue;
private SsoRemoveLogoutUrlDetails ssoRemoveLogoutUrlDetailsValue;
private RetrieveFrozenFileDetails retrieveFrozenFileDetailsValue;
private TeamFolderChangeStatusDetails teamFolderChangeStatusDetailsValue;
private TeamFolderCreateDetails teamFolderCreateDetailsValue;
private TeamFolderDowngradeDetails teamFolderDowngradeDetailsValue;
Expand Down Expand Up @@ -9052,6 +9054,22 @@ private EventDetails withTagAndSsoRemoveLogoutUrlDetails(Tag _tag, SsoRemoveLogo
return result;
}

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

/**
* Additional fields depending on the event type.
*
Expand Down Expand Up @@ -34975,6 +34993,53 @@ public SsoRemoveLogoutUrlDetails getSsoRemoveLogoutUrlDetailsValue() {
return ssoRemoveLogoutUrlDetailsValue;
}

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

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

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

/**
* Returns {@code true} if this instance has the tag {@link
* Tag#TEAM_FOLDER_CHANGE_STATUS_DETAILS}, {@code false} otherwise.
Expand Down Expand Up @@ -44039,6 +44104,7 @@ public int hashCode() {
this.ssoRemoveCertDetailsValue,
this.ssoRemoveLoginUrlDetailsValue,
this.ssoRemoveLogoutUrlDetailsValue,
this.retrieveFrozenFileDetailsValue,
this.teamFolderChangeStatusDetailsValue,
this.teamFolderCreateDetailsValue,
this.teamFolderDowngradeDetailsValue,
Expand Down Expand Up @@ -45173,6 +45239,8 @@ else if (obj instanceof EventDetails) {
return (this.ssoRemoveLoginUrlDetailsValue == other.ssoRemoveLoginUrlDetailsValue) || (this.ssoRemoveLoginUrlDetailsValue.equals(other.ssoRemoveLoginUrlDetailsValue));
case SSO_REMOVE_LOGOUT_URL_DETAILS:
return (this.ssoRemoveLogoutUrlDetailsValue == other.ssoRemoveLogoutUrlDetailsValue) || (this.ssoRemoveLogoutUrlDetailsValue.equals(other.ssoRemoveLogoutUrlDetailsValue));
case RETRIEVE_FROZEN_FILE_DETAILS:
return (this.retrieveFrozenFileDetailsValue == other.retrieveFrozenFileDetailsValue) || (this.retrieveFrozenFileDetailsValue.equals(other.retrieveFrozenFileDetailsValue));
case TEAM_FOLDER_CHANGE_STATUS_DETAILS:
return (this.teamFolderChangeStatusDetailsValue == other.teamFolderChangeStatusDetailsValue) || (this.teamFolderChangeStatusDetailsValue.equals(other.teamFolderChangeStatusDetailsValue));
case TEAM_FOLDER_CREATE_DETAILS:
Expand Down Expand Up @@ -48858,6 +48926,13 @@ public void serialize(EventDetails value, JsonGenerator g) throws IOException, J
g.writeEndObject();
break;
}
case RETRIEVE_FROZEN_FILE_DETAILS: {
g.writeStartObject();
writeTag("retrieve_frozen_file_details", g);
RetrieveFrozenFileDetails.Serializer.INSTANCE.serialize(value.retrieveFrozenFileDetailsValue, g, true);
g.writeEndObject();
break;
}
case TEAM_FOLDER_CHANGE_STATUS_DETAILS: {
g.writeStartObject();
writeTag("team_folder_change_status_details", g);
Expand Down Expand Up @@ -52446,6 +52521,11 @@ else if ("sso_remove_logout_url_details".equals(tag)) {
fieldValue = SsoRemoveLogoutUrlDetails.Serializer.INSTANCE.deserialize(p, true);
value = EventDetails.ssoRemoveLogoutUrlDetails(fieldValue);
}
else if ("retrieve_frozen_file_details".equals(tag)) {
RetrieveFrozenFileDetails fieldValue = null;
fieldValue = RetrieveFrozenFileDetails.Serializer.INSTANCE.deserialize(p, true);
value = EventDetails.retrieveFrozenFileDetails(fieldValue);
}
else if ("team_folder_change_status_details".equals(tag)) {
TeamFolderChangeStatusDetails fieldValue = null;
fieldValue = TeamFolderChangeStatusDetails.Serializer.INSTANCE.deserialize(p, true);
Expand Down
Loading