com.aliyun.sdk.service.linkedmall20230930.models.ProductExtendProperty Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.linkedmall20230930.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ProductExtendProperty} extends {@link TeaModel}
*
* ProductExtendProperty
*/
public class ProductExtendProperty extends TeaModel {
@com.aliyun.core.annotation.NameInMap("key")
private String key;
@com.aliyun.core.annotation.NameInMap("value")
private String value;
private ProductExtendProperty(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static ProductExtendProperty create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public ProductExtendProperty build() {
return new ProductExtendProperty(this);
}
}
}