forked from Hithomelabs/CFTunnels
23 lines
751 B
Java
23 lines
751 B
Java
package com.hithomelabs.CFTunnels.Config;
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
@Configuration
|
|
@ConfigurationProperties(prefix = "cloudflare")
|
|
public class CloudflareConfig {
|
|
private String accountId;
|
|
private String apiKey;
|
|
private String email;
|
|
|
|
// Getters and Setters
|
|
public String getAccountId() { return accountId; }
|
|
public void setAccountId(String accountId) { this.accountId = accountId; }
|
|
|
|
public String getApiKey() { return apiKey; }
|
|
public void setApiKey(String apiKey) { this.apiKey = apiKey; }
|
|
|
|
public String getEmail() { return email; }
|
|
public void setEmail(String email) { this.email = email; }
|
|
}
|