public AuthorizationValue(String keyName, String value, String type) { this.setKeyName(keyName); this.setValue(value); this.setType(type); }
public List<io.swagger.models.auth.AuthorizationValue> convert(List<AuthorizationValue> auths) { List<io.swagger.models.auth.AuthorizationValue> convertedAuth = new ArrayList<>(); if (auths != null) { for (AuthorizationValue auth : auths) { io.swagger.models.auth.AuthorizationValue v = new io.swagger.models.auth.AuthorizationValue(); v.setType(auth.getType()); v.setValue(auth.getValue()); v.setKeyName(auth.getKeyName()); convertedAuth.add(v); } } return convertedAuth; }
public List<io.swagger.models.auth.AuthorizationValue> convert(List<AuthorizationValue> auths) { List<io.swagger.models.auth.AuthorizationValue> convertedAuth = new ArrayList<>(); if (auths != null) { for (AuthorizationValue auth : auths) { io.swagger.models.auth.AuthorizationValue v = new io.swagger.models.auth.AuthorizationValue(); v.setType(auth.getType()); v.setValue(auth.getValue()); v.setKeyName(auth.getKeyName()); convertedAuth.add(v); } } return convertedAuth; }
public List<io.swagger.models.auth.AuthorizationValue> convert(List<AuthorizationValue> auths) { List<io.swagger.models.auth.AuthorizationValue> convertedAuth = new ArrayList<>(); if (auths != null) { for (AuthorizationValue auth : auths) { io.swagger.models.auth.AuthorizationValue v = new io.swagger.models.auth.AuthorizationValue(); v.setType(auth.getType()); v.setValue(auth.getValue()); v.setKeyName(auth.getKeyName()); convertedAuth.add(v); } } return convertedAuth; }