Search in sources :

Example 1 with HostTagResponse

use of com.cloud.api.response.HostTagResponse in project cosmic by MissionCriticalCloud.

the class HostTagDaoImpl method newHostTagResponse.

@Override
public HostTagResponse newHostTagResponse(final HostTagVO tag) {
    final HostTagResponse tagResponse = new HostTagResponse();
    tagResponse.setName(tag.getName());
    tagResponse.setHostId(tag.getHostId());
    tagResponse.setObjectName("hosttag");
    return tagResponse;
}
Also used : HostTagResponse(com.cloud.api.response.HostTagResponse)

Aggregations

HostTagResponse (com.cloud.api.response.HostTagResponse)1