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.
61 lines
1.5 KiB
61 lines
1.5 KiB
package com.github.zxbu.webdavteambition.config; |
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties; |
|
|
|
@ConfigurationProperties(prefix = "aliyundrive", ignoreUnknownFields = true) |
|
public class AliYunDriveProperties { |
|
private String url = "https://api.aliyundrive.com/v2"; |
|
private String authorization = ""; |
|
private String refreshToken; |
|
private String workDir = "/etc/aliyun-driver/"; |
|
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 driveId; |
|
|
|
public String getUrl() { |
|
return url; |
|
} |
|
|
|
public void setUrl(String url) { |
|
this.url = url; |
|
} |
|
|
|
public String getAuthorization() { |
|
return authorization; |
|
} |
|
|
|
public void setAuthorization(String authorization) { |
|
this.authorization = authorization; |
|
} |
|
|
|
public String getAgent() { |
|
return agent; |
|
} |
|
|
|
public void setAgent(String agent) { |
|
this.agent = agent; |
|
} |
|
|
|
public String getDriveId() { |
|
return driveId; |
|
} |
|
|
|
public String getRefreshToken() { |
|
return refreshToken; |
|
} |
|
|
|
public void setRefreshToken(String refreshToken) { |
|
this.refreshToken = refreshToken; |
|
} |
|
|
|
public String getWorkDir() { |
|
return workDir; |
|
} |
|
|
|
public void setWorkDir(String workDir) { |
|
this.workDir = workDir; |
|
} |
|
|
|
public void setDriveId(String driveId) { |
|
this.driveId = driveId; |
|
} |
|
}
|
|
|