use of org.thingsboard.server.common.data.id.OAuth2MobileId in project thingsboard by thingsboard.
the class OAuth2MobileEntity method toData.
@Override
public OAuth2Mobile toData() {
OAuth2Mobile mobile = new OAuth2Mobile();
mobile.setId(new OAuth2MobileId(id));
mobile.setCreatedTime(createdTime);
mobile.setOauth2ParamsId(new OAuth2ParamsId(oauth2ParamsId));
mobile.setPkgName(pkgName);
mobile.setAppSecret(appSecret);
return mobile;
}
Aggregations