class BlueprintV4RequestToCreateClusterTemplateRequestConverter extends AbstractConversionServiceAwareConverter<BlueprintV4Request, CreateClusterTemplateRequest> {

    @Override
    public CreateClusterTemplateRequest convert(BlueprintV4Request source) {
        CreateClusterTemplateRequest createClusterTemplateRequest = new CreateClusterTemplateRequest();
        createClusterTemplateRequest.setClusterTemplateName(source.getName());
        createClusterTemplateRequest.setDescription(source.getDescription());
        createClusterTemplateRequest.setClusterTemplateContent(source.getBlueprint());
        createClusterTemplateRequest.setTags(convertTags(source));
        return createClusterTemplateRequest;
    }

}