public class ConfigurationParser extends Object
| Constructor and Description |
|---|
ConfigurationParser()
Empty constructor: Used only to keep GSON happy.
|
ConfigurationParser(String json)
Constructor for an ExportImportDeviceParser that is built using the provided json
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurationContentParser |
getContent()
Getter for contentParser
|
String |
getContentType()
Getter for contentType
|
Date |
getCreatedTimeUtc()
Getter for createdTimeUtc
|
String |
getETag()
Getter for eTag
|
String |
getId()
Getter for id
|
HashMap<String,String> |
getLabels()
Getter for labels
|
Date |
getLastUpdatedTimeUtc()
Getter for lastUpdatedTimeUtc
|
ConfigurationMetricsParser |
getMetrics()
Getter for metricsParser
|
Integer |
getPriority()
Getter for priority
|
String |
getSchemaVersion()
Getter for schemaVersion
|
ConfigurationMetricsParser |
getSystemMetrics()
Getter for systemMetricsParser
|
String |
getTargetCondition()
Getter for targetCondition
|
void |
setContent(ConfigurationContentParser content)
Setter for content
|
void |
setContentType(String contentType)
Setter for contentType
|
void |
setCreatedTimeUtc(Date createdTimeUtc)
Setter for createdTimeUtc
|
void |
setETag(String eTag)
Setter for eTag
|
void |
setId(String id)
Setter for id
|
void |
setLabels(HashMap<String,String> labels)
Setter for labels
|
void |
setLastUpdatedTimeUtc(Date lastUpdatedTimeUtc)
Setter for lastUpdatedTimeUtc
|
void |
setMetrics(ConfigurationMetricsParser metrics)
Setter for metrics
|
void |
setPriority(Integer priority)
Setter for priority
|
void |
setSchemaVersion(String schemaVersion)
Setter for schemaVersion
|
void |
setSystemMetrics(ConfigurationMetricsParser systemMetrics)
Setter for systemMetricsParser
|
void |
setTargetCondition(String targetCondition)
Setter for targetCondition
|
String |
toJson()
Converts this into json and returns it
|
public ConfigurationParser()
public ConfigurationParser(String json)
json - the json string to build the ExportImportDeviceParser out ofpublic String toJson()
public String getId()
public void setId(String id) throws IllegalArgumentException
id - the value to set id toIllegalArgumentException - if id is nullpublic String getSchemaVersion()
public void setSchemaVersion(String schemaVersion)
schemaVersion - the value to set schemaVersion topublic void setLabels(HashMap<String,String> labels) throws IllegalArgumentException
labels - the value to set labels toIllegalArgumentExceptionpublic ConfigurationContentParser getContent()
public void setContent(ConfigurationContentParser content)
content - the value to set contentParser topublic String getContentType()
public void setContentType(String contentType)
contentType - the value to set contentType topublic String getTargetCondition()
public void setTargetCondition(String targetCondition)
targetCondition - the value to set targetCondition topublic Date getCreatedTimeUtc()
public void setCreatedTimeUtc(Date createdTimeUtc)
createdTimeUtc - the value to set createdTimeUtc topublic Date getLastUpdatedTimeUtc()
public void setLastUpdatedTimeUtc(Date lastUpdatedTimeUtc)
lastUpdatedTimeUtc - the value to set lastUpdatedTimeUtc topublic Integer getPriority()
public void setPriority(Integer priority)
priority - the value to set priority topublic ConfigurationMetricsParser getSystemMetrics()
public void setSystemMetrics(ConfigurationMetricsParser systemMetrics)
systemMetrics - the value to set systemMetricsParser topublic ConfigurationMetricsParser getMetrics()
public void setMetrics(ConfigurationMetricsParser metrics)
metrics - the value to set metrics topublic String getETag()
public void setETag(String eTag)
eTag - the value to set eTag toCopyright © 2019. All rights reserved.