com.github.hy2cone.retrofit.spring.boot.autoconfigure.ServiceProperties Maven / Gradle / Ivy
package com.github.hy2cone.retrofit.spring.boot.autoconfigure;
import org.springframework.validation.annotation.Validated;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Validated
public class ServiceProperties {
@NotNull
private Class> ref;
@NotBlank
private String baseUrl;
public Class> getRef() {
return ref;
}
public void setRef(Class> ref) {
this.ref = ref;
}
public String getBaseUrl() {
return baseUrl;
}
public void setBaseUrl(String baseUrl) {
this.baseUrl = baseUrl;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy