com.aliyun.ccc20200701.models.AddSchemaPropertyRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ccc20200701 Show documentation
Show all versions of ccc20200701 Show documentation
Alibaba Cloud cloud call center (20200701) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ccc20200701.models;
import com.aliyun.tea.*;
public class AddSchemaPropertyRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* b0eb2742-f37e-4c67-82d4-25c651c1xxxx
*/
@NameInMap("InstanceId")
public String instanceId;
@NameInMap("Property")
public AddSchemaPropertyRequestProperty property;
/**
* example:
* 03C67DAD-EB26-41D8-949D-9B0C470FB716
*/
@NameInMap("RequestId")
public String requestId;
/**
* schema id
* This parameter is required.
*
* example:
* profile
*/
@NameInMap("SchemaId")
public String schemaId;
public static AddSchemaPropertyRequest build(java.util.Map map) throws Exception {
AddSchemaPropertyRequest self = new AddSchemaPropertyRequest();
return TeaModel.build(map, self);
}
public AddSchemaPropertyRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public AddSchemaPropertyRequest setProperty(AddSchemaPropertyRequestProperty property) {
this.property = property;
return this;
}
public AddSchemaPropertyRequestProperty getProperty() {
return this.property;
}
public AddSchemaPropertyRequest setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public AddSchemaPropertyRequest setSchemaId(String schemaId) {
this.schemaId = schemaId;
return this;
}
public String getSchemaId() {
return this.schemaId;
}
public static class AddSchemaPropertyRequestProperty extends TeaModel {
/**
* example:
* false
*/
@NameInMap("Array")
public Boolean array;
@NameInMap("Attributes")
public String attributes;
/**
* This parameter is required.
*
* example:
* string
*/
@NameInMap("DataType")
public String dataType;
/**
* example:
*
*
*
*/
@NameInMap("Description")
public String description;
/**
* example:
* False
*/
@NameInMap("Disabled")
public Boolean disabled;
/**
* example:
* name
*/
@NameInMap("DisplayName")
public String displayName;
/**
* example:
* 10
*/
@NameInMap("DisplayOrder")
public Integer displayOrder;
/**
* example:
* textbox
*/
@NameInMap("EditorType")
public String editorType;
/**
* example:
* 100
*/
@NameInMap("MaxLength")
public Integer maxLength;
/**
* example:
* 1
*/
@NameInMap("Maximum")
public Double maximum;
/**
* example:
* 1
*/
@NameInMap("MinLength")
public Integer minLength;
/**
* example:
* 1
*/
@NameInMap("Minimum")
public Double minimum;
/**
* This parameter is required.
*
* example:
* name
*/
@NameInMap("Name")
public String name;
/**
* example:
*
*
*
*/
@NameInMap("Pattern")
public String pattern;
@NameInMap("PatternErrorMessage")
public String patternErrorMessage;
/**
* example:
* true
*/
@NameInMap("ReadOnly")
public Boolean readOnly;
/**
* example:
* false
*/
@NameInMap("Required")
public Boolean required;
public static AddSchemaPropertyRequestProperty build(java.util.Map map) throws Exception {
AddSchemaPropertyRequestProperty self = new AddSchemaPropertyRequestProperty();
return TeaModel.build(map, self);
}
public AddSchemaPropertyRequestProperty setArray(Boolean array) {
this.array = array;
return this;
}
public Boolean getArray() {
return this.array;
}
public AddSchemaPropertyRequestProperty setAttributes(String attributes) {
this.attributes = attributes;
return this;
}
public String getAttributes() {
return this.attributes;
}
public AddSchemaPropertyRequestProperty setDataType(String dataType) {
this.dataType = dataType;
return this;
}
public String getDataType() {
return this.dataType;
}
public AddSchemaPropertyRequestProperty setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public AddSchemaPropertyRequestProperty setDisabled(Boolean disabled) {
this.disabled = disabled;
return this;
}
public Boolean getDisabled() {
return this.disabled;
}
public AddSchemaPropertyRequestProperty setDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
public String getDisplayName() {
return this.displayName;
}
public AddSchemaPropertyRequestProperty setDisplayOrder(Integer displayOrder) {
this.displayOrder = displayOrder;
return this;
}
public Integer getDisplayOrder() {
return this.displayOrder;
}
public AddSchemaPropertyRequestProperty setEditorType(String editorType) {
this.editorType = editorType;
return this;
}
public String getEditorType() {
return this.editorType;
}
public AddSchemaPropertyRequestProperty setMaxLength(Integer maxLength) {
this.maxLength = maxLength;
return this;
}
public Integer getMaxLength() {
return this.maxLength;
}
public AddSchemaPropertyRequestProperty setMaximum(Double maximum) {
this.maximum = maximum;
return this;
}
public Double getMaximum() {
return this.maximum;
}
public AddSchemaPropertyRequestProperty setMinLength(Integer minLength) {
this.minLength = minLength;
return this;
}
public Integer getMinLength() {
return this.minLength;
}
public AddSchemaPropertyRequestProperty setMinimum(Double minimum) {
this.minimum = minimum;
return this;
}
public Double getMinimum() {
return this.minimum;
}
public AddSchemaPropertyRequestProperty setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public AddSchemaPropertyRequestProperty setPattern(String pattern) {
this.pattern = pattern;
return this;
}
public String getPattern() {
return this.pattern;
}
public AddSchemaPropertyRequestProperty setPatternErrorMessage(String patternErrorMessage) {
this.patternErrorMessage = patternErrorMessage;
return this;
}
public String getPatternErrorMessage() {
return this.patternErrorMessage;
}
public AddSchemaPropertyRequestProperty setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
public Boolean getReadOnly() {
return this.readOnly;
}
public AddSchemaPropertyRequestProperty setRequired(Boolean required) {
this.required = required;
return this;
}
public Boolean getRequired() {
return this.required;
}
}
}