You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.5 KiB
70 lines
1.5 KiB
package com.github.zxbu.webdavteambition.config; |
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties; |
|
|
|
@ConfigurationProperties(prefix = "teambition", ignoreUnknownFields = true) |
|
public class TeambitionProperties { |
|
private String url = "https://pan.teambition.com"; |
|
private String cookies; |
|
private String agent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"; |
|
private String orgId; |
|
private String driveId; |
|
private String spaceId; |
|
private String rootId; |
|
|
|
public String getUrl() { |
|
return url; |
|
} |
|
|
|
public void setUrl(String url) { |
|
this.url = url; |
|
} |
|
|
|
public String getCookies() { |
|
return cookies; |
|
} |
|
|
|
public void setCookies(String cookies) { |
|
this.cookies = cookies; |
|
} |
|
|
|
public String getOrgId() { |
|
return orgId; |
|
} |
|
|
|
public void setOrgId(String orgId) { |
|
this.orgId = orgId; |
|
} |
|
|
|
public String getDriveId() { |
|
return driveId; |
|
} |
|
|
|
public void setDriveId(String driveId) { |
|
this.driveId = driveId; |
|
} |
|
|
|
public String getSpaceId() { |
|
return spaceId; |
|
} |
|
|
|
public String getAgent() { |
|
return agent; |
|
} |
|
|
|
public void setAgent(String agent) { |
|
this.agent = agent; |
|
} |
|
|
|
public void setSpaceId(String spaceId) { |
|
this.spaceId = spaceId; |
|
} |
|
|
|
public String getRootId() { |
|
return rootId; |
|
} |
|
|
|
public void setRootId(String rootId) { |
|
this.rootId = rootId; |
|
} |
|
}
|
|
|