Search in sources :

Example 1 with OAuth2DomainId

use of org.thingsboard.server.common.data.id.OAuth2DomainId in project thingsboard by thingsboard.

the class OAuth2DomainEntity method toData.

@Override
public OAuth2Domain toData() {
    OAuth2Domain domain = new OAuth2Domain();
    domain.setId(new OAuth2DomainId(id));
    domain.setCreatedTime(createdTime);
    domain.setOauth2ParamsId(new OAuth2ParamsId(oauth2ParamsId));
    domain.setDomainName(domainName);
    domain.setDomainScheme(domainScheme);
    return domain;
}
Also used : OAuth2ParamsId(org.thingsboard.server.common.data.id.OAuth2ParamsId) OAuth2DomainId(org.thingsboard.server.common.data.id.OAuth2DomainId) OAuth2Domain(org.thingsboard.server.common.data.oauth2.OAuth2Domain)

Aggregations

OAuth2DomainId (org.thingsboard.server.common.data.id.OAuth2DomainId)1 OAuth2ParamsId (org.thingsboard.server.common.data.id.OAuth2ParamsId)1 OAuth2Domain (org.thingsboard.server.common.data.oauth2.OAuth2Domain)1