public class SfAddGroupDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
originalFolderName |
protected java.lang.String |
sharingPermission |
protected long |
targetAssetIndex |
protected java.lang.String |
teamName |
Constructor and Description |
---|
SfAddGroupDetails(long targetAssetIndex,
java.lang.String originalFolderName,
java.lang.String teamName)
Added team to shared folder.
|
SfAddGroupDetails(long targetAssetIndex,
java.lang.String originalFolderName,
java.lang.String teamName,
java.lang.String sharingPermission)
Added team to shared folder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getOriginalFolderName()
Original shared folder name.
|
java.lang.String |
getSharingPermission()
Sharing permission.
|
long |
getTargetAssetIndex()
Target asset position in the Assets list.
|
java.lang.String |
getTeamName()
Team name.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final long targetAssetIndex
protected final java.lang.String originalFolderName
protected final java.lang.String sharingPermission
protected final java.lang.String teamName
public SfAddGroupDetails(long targetAssetIndex, java.lang.String originalFolderName, java.lang.String teamName, java.lang.String sharingPermission)
targetAssetIndex
- Target asset position in the Assets list.originalFolderName
- Original shared folder name. Must not be
null
.teamName
- Team name. Must not be null
.sharingPermission
- Sharing permission. Might be missing due to
historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public SfAddGroupDetails(long targetAssetIndex, java.lang.String originalFolderName, java.lang.String teamName)
The default values for unset fields will be used.
targetAssetIndex
- Target asset position in the Assets list.originalFolderName
- Original shared folder name. Must not be
null
.teamName
- Team name. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public long getTargetAssetIndex()
public java.lang.String getOriginalFolderName()
null
.public java.lang.String getTeamName()
null
.public java.lang.String getSharingPermission()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.