Examples of ApiKeyDto


Examples of lv.odylab.evemanage.client.rpc.dto.eve.ApiKeyDto

        return characterInfo;
    }

    @Override
    public ApiKeyDto map(ApiKey apiKey, Class<ApiKeyDto> apiKeyDtoClass) {
        ApiKeyDto apiKeyDto = new ApiKeyDto();
        apiKeyDto.setId(apiKey.getId());
        List<ApiKeyCharacterInfoDto> characterInfoDtos = new ArrayList<ApiKeyCharacterInfoDto>();
        for (ApiKeyCharacterInfo characterInfo : apiKey.getCharacterInfos()) {
            characterInfoDtos.add(map(characterInfo, ApiKeyCharacterInfoDto.class));
        }
        apiKeyDto.setCharacterInfos(characterInfoDtos);
        apiKeyDto.setLastCheckDate(apiKey.getLastCheckDate());
        apiKeyDto.setKeyType(apiKey.getKeyType());
        apiKeyDto.setValid(apiKey.isValid());
        return apiKeyDto;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.