public class ExportImportDeviceParser extends Object
| Constructor and Description |
|---|
ExportImportDeviceParser()
Empty constructor: Used only to keep GSON happy.
|
ExportImportDeviceParser(String json)
Constructor for an ExportImportDeviceParser that is built using the provided json
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticationParser |
getAuthentication()
Deprecated.
as of Deps version 0.7.1, please use
getAuthenticationFinal() |
AuthenticationParser |
getAuthenticationFinal()
Getter for authentication
|
String |
getETag()
Getter for eTag
|
String |
getId()
Deprecated.
as of Deps version 0.7.1, please use
getIdFinal() |
String |
getIdFinal()
Getter for id
|
String |
getImportMode()
Getter for importMode
|
String |
getStatus()
Getter for status
|
String |
getStatusReason()
Getter for statusReason
|
TwinCollection |
getTags() |
void |
setAuthentication(AuthenticationParser authentication)
Setter for authentication
|
void |
setETag(String eTag)
Setter for eTag
|
void |
setId(String id)
Setter for id
|
void |
setImportMode(String importMode)
Setter for ImportMode
|
void |
setStatus(String status)
Setter for Status
|
void |
setStatusReason(String statusReason)
Setter for StatusReason
|
void |
setTags(TwinCollection tags) |
String |
toJson()
Converts this into json and returns it
|
public ExportImportDeviceParser()
public ExportImportDeviceParser(String json)
json - the json string to build the ExportImportDeviceParser out ofpublic String toJson()
@Deprecated public String getId()
getIdFinal()public final String getIdFinal()
public void setId(String id) throws IllegalArgumentException
id - the value to set id toIllegalArgumentException - if id is nullpublic String getETag()
public String getImportMode()
public String getStatus()
public String getStatusReason()
public void setETag(String eTag)
eTag - the value to set eTag topublic void setImportMode(String importMode)
importMode - the value to set ImportMode topublic void setStatus(String status)
status - the value to set Status topublic void setStatusReason(String statusReason)
statusReason - the value to set StatusReason to@Deprecated public AuthenticationParser getAuthentication()
getAuthenticationFinal()public final AuthenticationParser getAuthenticationFinal()
public void setAuthentication(AuthenticationParser authentication) throws IllegalArgumentException
IllegalArgumentException - if authentication is nullpublic TwinCollection getTags()
public void setTags(TwinCollection tags)
tags - the tags to setCopyright © 2019. All rights reserved.