ConfigurationParser 类

定义

public class ConfigurationParser
继承
java.lang.Object
ConfigurationParser

构造函数

ConfigurationParser()

Empty constructor: Used only to keep GSON happy.

ConfigurationParser(String json)

Constructor for an ExportImportDeviceParser that is built using the provided json

方法

getContent()

Getter for contentParser

getContentType()

Getter for contentType

getCreatedTimeUtc()

Getter for createdTimeUtc

getETag()

Getter for eTag

getId()

Getter for id

getLabels()

Getter for labels

getLastUpdatedTimeUtc()

Getter for lastUpdatedTimeUtc

getMetrics()

Getter for metricsParser

getPriority()

Getter for priority

getSchemaVersion()

Getter for schemaVersion

getSystemMetrics()

Getter for systemMetricsParser

getTargetCondition()

Getter for targetCondition

setContent(ConfigurationContentParser content)

Setter for content

setContentType(String contentType)

Setter for contentType

setCreatedTimeUtc(Date createdTimeUtc)

Setter for createdTimeUtc

setETag(String eTag)

Setter for eTag

setId(String id)

Setter for id

setLabels(HashMap<String, String> labels)

Setter for labels

setLastUpdatedTimeUtc(Date lastUpdatedTimeUtc)

Setter for lastUpdatedTimeUtc

setMetrics(ConfigurationMetricsParser metrics)

Setter for metrics

setPriority(Integer priority)

Setter for priority

setSchemaVersion(String schemaVersion)

Setter for schemaVersion

setSystemMetrics(ConfigurationMetricsParser systemMetrics)

Setter for systemMetricsParser

setTargetCondition(String targetCondition)

Setter for targetCondition

toJson()

Converts this into json and returns it

适用于