Test Failed
Push — master ( c886ea...fc43c4 )
by Misagh
25:04
created

setToken(String)   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
dl 0
loc 2
rs 10
c 1
b 1
f 0
1
package org.apereo.cas.configuration.model.support.sms;
2
3
import org.apereo.cas.configuration.support.RequiresModule;
4
import org.apereo.cas.configuration.support.RequiredProperty;
5
6
import java.io.Serializable;
7
8
/**
9
 * This is {@link TwilioProperties}.
10
 *
11
 * @author Misagh Moayyed
12
 * @since 5.1.0
13
 */
14
@RequiresModule(name = "cas-server-support-sms-twilio")
15
public class TwilioProperties implements Serializable {
16
    private static final long serialVersionUID = -7043132225482495229L;
17
    /**
18
     * Twilio account identifier used for authentication.
19
     */
20
    @RequiredProperty
21
    private String accountId;
22
23
    /**
24
     * Twilio secret token used for authentication.
25
     */
26
    @RequiredProperty
27
    private String token;
28
29
    public String getAccountId() {
30
        return accountId;
31
    }
32
33
    public void setAccountId(final String accountId) {
34
        this.accountId = accountId;
35
    }
36
37
    public String getToken() {
38
        return token;
39
    }
40
41
    public void setToken(final String token) {
42
        this.token = token;
43
    }
44
}
45