Package com.dropbox.core.v2.team
Class RevokeLinkedApiAppArg
- java.lang.Object
-
- com.dropbox.core.v2.team.RevokeLinkedApiAppArg
-
public class RevokeLinkedApiAppArg extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
appId
protected boolean
keepAppFolder
protected java.lang.String
teamMemberId
-
Constructor Summary
Constructors Constructor Description RevokeLinkedApiAppArg(java.lang.String appId, java.lang.String teamMemberId)
NoneRevokeLinkedApiAppArg(java.lang.String appId, java.lang.String teamMemberId, boolean keepAppFolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAppId()
The application's unique id.boolean
getKeepAppFolder()
This flag is not longer supported, the application dedicated folder (in case the application uses one) will be kept.java.lang.String
getTeamMemberId()
The unique id of the member owning the device.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Constructor Detail
-
RevokeLinkedApiAppArg
public RevokeLinkedApiAppArg(@Nonnull java.lang.String appId, @Nonnull java.lang.String teamMemberId, boolean keepAppFolder)
- Parameters:
appId
- The application's unique id. Must not benull
.teamMemberId
- The unique id of the member owning the device. Must not benull
.keepAppFolder
- This flag is not longer supported, the application dedicated folder (in case the application uses one) will be kept.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
RevokeLinkedApiAppArg
public RevokeLinkedApiAppArg(@Nonnull java.lang.String appId, @Nonnull java.lang.String teamMemberId)
NoneThe default values for unset fields will be used.
- Parameters:
appId
- The application's unique id. Must not benull
.teamMemberId
- The unique id of the member owning the device. Must not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getAppId
@Nonnull public java.lang.String getAppId()
The application's unique id.- Returns:
- value for this field, never
null
.
-
getTeamMemberId
@Nonnull public java.lang.String getTeamMemberId()
The unique id of the member owning the device.- Returns:
- value for this field, never
null
.
-
getKeepAppFolder
public boolean getKeepAppFolder()
This flag is not longer supported, the application dedicated folder (in case the application uses one) will be kept.- Returns:
- value for this field, or
null
if not present. Defaults to true.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-
-