use of com.sequenceiq.environment.api.v1.credential.model.response.CredentialViewResponse in project cloudbreak by hortonworks.
the class CredentialViewConverter method convert.
public CredentialViewResponse convert(CredentialView credentialView) {
CredentialViewResponse response = new CredentialViewResponse();
response.setName(credentialView.getName());
response.setCloudPlatform(credentialView.getCloudPlatform());
response.setCreator(credentialView.getCreator());
response.setCrn(credentialView.getResourceCrn());
response.setDescription(credentialView.getDescription());
response.setVerificationStatusText(credentialView.getVerificationStatusText());
response.setType(credentialView.getType());
response.setGovCloud(credentialView.getGovCloud());
return response;
}
Aggregations