public class ShowProductResponse extends SdkResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
ShowProductResponse.ProductTypeEnum
产品类型,0-普通产品(不支持子设备) 1-网关产品
|
static class |
ShowProductResponse.ProtocolTypeEnum
产品的协议类型 0-mqtt 2-modbus 4-opcua
|
| Constructor and Description |
|---|
ShowProductResponse() |
getHttpStatusCode, setHttpStatusCodepublic ShowProductResponse withPermissions(List<String> permissions)
public ShowProductResponse addPermissionsItem(String permissionsItem)
public ShowProductResponse withPermissions(java.util.function.Consumer<List<String>> permissionsSetter)
public ShowProductResponse withId(Integer id)
public Integer getId()
public void setId(Integer id)
public ShowProductResponse withProductSerial(String productSerial)
public String getProductSerial()
public void setProductSerial(String productSerial)
public ShowProductResponse withAppId(String appId)
public String getAppId()
public void setAppId(String appId)
public ShowProductResponse withName(String name)
public String getName()
public void setName(String name)
public ShowProductResponse withManufacturerId(String manufacturerId)
public String getManufacturerId()
public void setManufacturerId(String manufacturerId)
public ShowProductResponse withManufacturerName(String manufacturerName)
public String getManufacturerName()
public void setManufacturerName(String manufacturerName)
public ShowProductResponse withModel(String model)
public String getModel()
public void setModel(String model)
public ShowProductResponse withProductType(ShowProductResponse.ProductTypeEnum productType)
public ShowProductResponse.ProductTypeEnum getProductType()
public void setProductType(ShowProductResponse.ProductTypeEnum productType)
public ShowProductResponse withDescription(String description)
public String getDescription()
public void setDescription(String description)
public ShowProductResponse withProtocolType(ShowProductResponse.ProtocolTypeEnum protocolType)
public ShowProductResponse.ProtocolTypeEnum getProtocolType()
public void setProtocolType(ShowProductResponse.ProtocolTypeEnum protocolType)
public ShowProductResponse withDeviceType(String deviceType)
public String getDeviceType()
public void setDeviceType(String deviceType)
public ShowProductResponse withVersion(String version)
public String getVersion()
public void setVersion(String version)
public ShowProductResponse withCreatedUser(CreatedUser createdUser)
public ShowProductResponse withCreatedUser(java.util.function.Consumer<CreatedUser> createdUserSetter)
public CreatedUser getCreatedUser()
public void setCreatedUser(CreatedUser createdUser)
public ShowProductResponse withLastUpdatedUser(LastUpdatedUser lastUpdatedUser)
public ShowProductResponse withLastUpdatedUser(java.util.function.Consumer<LastUpdatedUser> lastUpdatedUserSetter)
public LastUpdatedUser getLastUpdatedUser()
public void setLastUpdatedUser(LastUpdatedUser lastUpdatedUser)
public ShowProductResponse withAuthentication(Authentication authentication)
public ShowProductResponse withAuthentication(java.util.function.Consumer<Authentication> authenticationSetter)
public Authentication getAuthentication()
public void setAuthentication(Authentication authentication)
public ShowProductResponse withCreatedDatetime(Long createdDatetime)
public Long getCreatedDatetime()
public void setCreatedDatetime(Long createdDatetime)
public ShowProductResponse withAppName(String appName)
public String getAppName()
public void setAppName(String appName)
public ShowProductResponse withDataFormat(Integer dataFormat)
public Integer getDataFormat()
public void setDataFormat(Integer dataFormat)
Copyright © 2022. All rights reserved.