public class GetTemplateArg
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GetTemplateArg.Serializer
For internal use only.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
templateId |
Constructor and Description |
---|
GetTemplateArg(java.lang.String templateId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTemplateId()
An identifier for template added by route See
DbxUserFilePropertiesRequests.templatesAddForUser(String,String,java.util.List)
or DbxTeamFilePropertiesRequests.templatesAddForTeam(String,String,java.util.List) . |
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
public GetTemplateArg(java.lang.String templateId)
templateId
- An identifier for template added by route See DbxUserFilePropertiesRequests.templatesAddForUser(String,String,java.util.List)
or DbxTeamFilePropertiesRequests.templatesAddForTeam(String,String,java.util.List)
.
Must have length of at least 1, match pattern "(/|ptid:).*
",
and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getTemplateId()
DbxUserFilePropertiesRequests.templatesAddForUser(String,String,java.util.List)
or DbxTeamFilePropertiesRequests.templatesAddForTeam(String,String,java.util.List)
.null
.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.