package com.newrelic.apm.enterprise.bmc; import javax.xml.bind.annotation.*; /** * <p>Java class for NameValue complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="NameValue"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="value" type="{http://blueprint.bmc.com/BasicTypes}value"/> * <element name="value_type" type="{http://blueprint.bmc.com/BasicTypes}DataType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "NameValue", namespace = "http://blueprint.bmc.com/BasicTypes", propOrder = { "name", "value", "valueType" }) public class NameValue { @XmlElement(required = true) protected String name; @XmlElement(required = true) protected Value value; @XmlElement(name = "value_type") @XmlSchemaType(name = "string") protected DataType valueType; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link Value } * */ public Value getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link Value } * */ public void setValue(Value value) { this.value = value; } /** * Gets the value of the valueType property. * * @return * possible object is * {@link DataType } * */ public DataType getValueType() { return valueType; } /** * Sets the value of the valueType property. * * @param value * allowed object is * {@link DataType } * */ public void setValueType(DataType value) { this.valueType = value; } }