public final class CreateCustomFieldRequest extends ApiServiceRequest
| Constructor and Description |
|---|
CreateCustomFieldRequest() |
| Modifier and Type | Method and Description |
|---|---|
Field |
getField() |
ObjectType |
getObjectType() |
java.lang.Long |
getProjectId() |
void |
setField(Field field)
Sets the field object.
|
void |
setObjectType(ObjectType objectType)
Sets the object type.
|
void |
setProjectId(java.lang.Long projectId)
Sets project identifier.
|
java.lang.String |
toString() |
CreateCustomFieldRequest |
withField(Field field)
Sets the field object.
|
CreateCustomFieldRequest |
withFieldType(ObjectType objectType)
Sets the object type and return current instance.
|
CreateCustomFieldRequest |
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 CreateCustomFieldRequest withProjectId(java.lang.Long projectId)
projectId - the given project identifier to set.CreateCustomFieldRequest instance.public ObjectType getObjectType()
public void setObjectType(ObjectType objectType)
objectType - the given object type to set.public CreateCustomFieldRequest withFieldType(ObjectType objectType)
objectType - the given object type to set.CreateCustomFieldRequest instance.public Field getField()
public void setField(Field field)
field - the given field object to set.public CreateCustomFieldRequest withField(Field field)
field - the given field object to set.CreateCustomFieldRequest instance.public java.lang.String toString()
toString in class ApiServiceRequest