package it.digione.dg1cloud.ws.client.isd;
|
|
import java.util.List;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.stereotype.Component;
|
|
@Component
|
@ConfigurationProperties("isharedoc.ws")
|
public class IsdProperties {
|
|
private Endpoint endpoint;
|
private Urp urp;
|
private String username;
|
private String password;
|
private String notificationFrom;
|
|
public Endpoint getEndpoint() {
|
return endpoint;
|
}
|
public void setEndpoint(Endpoint endpoint) {
|
this.endpoint = endpoint;
|
}
|
public Urp getUrp() {
|
return urp;
|
}
|
public void setUrp(Urp urp) {
|
this.urp = urp;
|
}
|
public String getUsername() {
|
return username;
|
}
|
public void setUsername(String username) {
|
this.username = username;
|
}
|
public String getPassword() {
|
return password;
|
}
|
public void setPassword(String password) {
|
this.password = password;
|
}
|
public String getNotificationFrom() {
|
return notificationFrom;
|
}
|
public void setNotificationFrom(String notificationFrom) {
|
this.notificationFrom = notificationFrom;
|
}
|
@Override
|
public String toString() {
|
return "IsdProperties{" +
|
"username='" + username + "'," +
|
"endpoint=" + endpoint + "," +
|
"notificationFrom=" + notificationFrom + "," +
|
"urp=" + urp +
|
"}";
|
}
|
|
public static class Endpoint {
|
|
private String instance;
|
public String getInstance() {
|
return instance;
|
}
|
public void setInstance(String instance) {
|
this.instance = instance;
|
}
|
|
@Override
|
public String toString() {
|
return "Endpoint{" +
|
"instance='" + instance + "'" +
|
"}";
|
}
|
}
|
|
public static class Urp {
|
|
private String puid;
|
private String mbox;
|
private String storyboad;
|
private String metaviewname;
|
private String direction;
|
private String transition;
|
private List<Contact> contacts;
|
|
public String getPuid() {
|
return puid;
|
}
|
public void setPuid(String puid) {
|
this.puid = puid;
|
}
|
public String getMbox() {
|
return mbox;
|
}
|
public void setMbox(String mbox) {
|
this.mbox = mbox;
|
}
|
public String getStoryboad() {
|
return storyboad;
|
}
|
public void setStoryboad(String storyboad) {
|
this.storyboad = storyboad;
|
}
|
public String getMetaviewname() {
|
return metaviewname;
|
}
|
public void setMetaviewname(String metaviewname) {
|
this.metaviewname = metaviewname;
|
}
|
public String getDirection() {
|
return direction;
|
}
|
public void setDirection(String direction) {
|
this.direction = direction;
|
}
|
public String getTransition() {
|
return transition;
|
}
|
public void setTransition(String transition) {
|
this.transition = transition;
|
}
|
public List<Contact> getContacts() {
|
return contacts;
|
}
|
public void setContacts(List<Contact> contacts) {
|
this.contacts = contacts;
|
}
|
@Override
|
public String toString() {
|
return "Urp{" +
|
"puid='" + puid + "'," +
|
"mbox='" + mbox + "'," +
|
"storyboad='" + storyboad + "'," +
|
"metaviewname='" + metaviewname + "'," +
|
"direction='" + direction + "'," +
|
"transition='" + transition + "'," +
|
"contacts=" + contacts +
|
"}";
|
}
|
|
public static class Contact {
|
private String type;
|
private String referenceType;
|
private String code;
|
|
public String getType() {
|
return type;
|
}
|
public void setType(String type) {
|
this.type = type;
|
}
|
public String getReferenceType() {
|
return referenceType;
|
}
|
public void setReferenceType(String referenceType) {
|
this.referenceType = referenceType;
|
}
|
public String getCode() {
|
return code;
|
}
|
public void setCode(String code) {
|
this.code = code;
|
}
|
@Override
|
public String toString() {
|
return "Contacts{" +
|
"type='" + type + "'," +
|
"referenceType='" + referenceType + "'," +
|
"code='" + code + "'" +
|
"}";
|
}
|
}
|
}
|
}
|