Clover icon

sunshower-sdk

  1. Project Clover database Wed Apr 4 2018 21:39:43 UTC
  2. Package io.sunshower.sdk.v1.core.auth.model

File KeyPairCredentialElement.java

 

Coverage histogram

../../../../../../../img/srcFileCovDistChart0.png
34% of files have more coverage

Code metrics

0
8
6
1
41
28
6
0.75
1.33
6
1

Classes

Class Line # Actions
KeyPairCredentialElement 8 8 6
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    package io.sunshower.sdk.v1.core.auth.model;
2   
3    import javax.xml.bind.annotation.XmlElement;
4   
5    /**
6    * Created by gumerman on 5/24/17.
7    */
 
8    public class KeyPairCredentialElement extends CredentialElement {
9   
10    @XmlElement
11    private String key;
12   
13    @XmlElement
14    private String secret;
15   
 
16  0 toggle public KeyPairCredentialElement() {
17  0 super();
18    }
19   
 
20  0 toggle public KeyPairCredentialElement(String key, String secret) {
21  0 this();
22  0 this.key = key;
23  0 this.secret = secret;
24    }
25   
 
26  0 toggle public String getKey() {
27  0 return key;
28    }
29   
 
30  0 toggle public void setKey(String key) {
31  0 this.key = key;
32    }
33   
 
34  0 toggle public String getSecret() {
35  0 return secret;
36    }
37   
 
38  0 toggle public void setSecret(String secret) {
39  0 this.secret = secret;
40    }
41    }