Encapsulates the cookie property of a Postman Collection. Postman SDK analog: Cookie . NOTE: Provided for serialization/de-serialization only, doesn't provide any method capability.
| 14 | */ |
| 15 | |
| 16 | public class Cookie extends CollectionElement { |
| 17 | private String domain = ""; |
| 18 | private String expires = ""; |
| 19 | private String maxAge = ""; |
| 20 | private boolean hostOnly; |
| 21 | private boolean httpOnly; |
| 22 | private String name = ""; |
| 23 | private String path = ""; |
| 24 | private boolean secure; |
| 25 | private boolean session; |
| 26 | private String value = ""; |
| 27 | private PropertyList<Property> extensions; |
| 28 | |
| 29 | public Cookie() { |
| 30 | super(); |
| 31 | } |
| 32 | |
| 33 | |
| 34 | /** |
| 35 | * @return String |
| 36 | */ |
| 37 | public String getDomain() { |
| 38 | return domain; |
| 39 | } |
| 40 | |
| 41 | |
| 42 | /** |
| 43 | * @param domain |
| 44 | */ |
| 45 | public void setDomain(String domain) { |
| 46 | this.domain = domain; |
| 47 | } |
| 48 | |
| 49 | |
| 50 | /** |
| 51 | * @return String |
| 52 | */ |
| 53 | public String getExpires() { |
| 54 | return expires; |
| 55 | } |
| 56 | |
| 57 | |
| 58 | /** |
| 59 | * @param expires |
| 60 | */ |
| 61 | public void setExpires(String expires) { |
| 62 | this.expires = expires; |
| 63 | } |
| 64 | |
| 65 | |
| 66 | /** |
| 67 | * @return String |
| 68 | */ |
| 69 | public String getMaxAge() { |
| 70 | return maxAge; |
| 71 | } |
| 72 | |
| 73 |
nothing calls this directly
no outgoing calls
no test coverage detected