Search in sources :

Example 1 with StorageTagResponse

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

the class StorageTagDaoImpl method newStorageTagResponse.

@Override
public StorageTagResponse newStorageTagResponse(final StorageTagVO tag) {
    final StorageTagResponse tagResponse = new StorageTagResponse();
    tagResponse.setName(tag.getName());
    tagResponse.setPoolId(tag.getPoolId());
    tagResponse.setObjectName("storagetag");
    return tagResponse;
}
Also used : StorageTagResponse(com.cloud.api.response.StorageTagResponse)

Aggregations

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