public class CreateObjectCommentRequest extends ApiServiceRequest
| Constructor and Description |
|---|
CreateObjectCommentRequest() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComment() |
java.lang.Long |
getObjectId() |
ObjectType |
getObjectType() |
java.lang.Long |
getProjectId() |
void |
setComment(java.lang.String comment)
Sets object comment.
|
void |
setObjectId(java.lang.Long objectId)
Sets object identifier from the given its value.
|
void |
setObjectType(ObjectType objectType)
Sets the object type.
|
void |
setProjectId(java.lang.Long projectId)
Sets project identifier.
|
java.lang.String |
toString() |
CreateObjectCommentRequest |
withComment(java.lang.String comment)
Sets object comment and return current instance.
|
CreateObjectCommentRequest |
withObjectId(java.lang.Long objectId)
Sets object identifier from the given its value and return the current
instance.
|
CreateObjectCommentRequest |
withObjectType(ObjectType objectType)
Sets the object type and return current instance.
|
CreateObjectCommentRequest |
withProjectId(java.lang.Long projectId)
Sets the project identifier and return current instance.
|
copyPrivateRequestParameters, getCredentials, getRequestClientOptions, setCredentials, withCredentialspublic java.lang.Long getProjectId()
public void setProjectId(java.lang.Long projectId)
projectId - the given project identifier to set.public CreateObjectCommentRequest withProjectId(java.lang.Long projectId)
projectId - the given project identifier to set.CreateObjectCommentRequest instance.public ObjectType getObjectType()
public void setObjectType(ObjectType objectType)
objectType - the given object type to set.public CreateObjectCommentRequest withObjectType(ObjectType objectType)
objectType - the given object type to set.CreateObjectCommentRequest instance.public java.lang.Long getObjectId()
public void setObjectId(java.lang.Long objectId)
objectId - the given object identifier value to set.public CreateObjectCommentRequest withObjectId(java.lang.Long objectId)
objectId - the given object identifier value to set.CreateObjectCommentRequest instance.public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment - the given object comment value to set.public CreateObjectCommentRequest withComment(java.lang.String comment)
comment - the given object comment value to set.CreateObjectCommentRequest instance.public java.lang.String toString()
toString in class ApiServiceRequest