package com.microsoft.bingads.v10.campaignmanagement; import java.math.BigDecimal; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for Budget complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="Budget"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Amount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> * <element name="AssociationCount" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="BudgetType" type="{https://bingads.microsoft.com/CampaignManagement/v10}BudgetLimitType" minOccurs="0"/> * <element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Budget", propOrder = { "amount", "associationCount", "budgetType", "id", "name" }) public class Budget { @XmlElement(name = "Amount", nillable = true) protected BigDecimal amount; @XmlElement(name = "AssociationCount", nillable = true) protected Integer associationCount; @XmlElement(name = "BudgetType", nillable = true) @XmlSchemaType(name = "string") protected BudgetLimitType budgetType; @XmlElement(name = "Id", nillable = true) protected Long id; @XmlElement(name = "Name", nillable = true) protected String name; /** * Gets the value of the amount property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getAmount() { return amount; } /** * Sets the value of the amount property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setAmount(BigDecimal value) { this.amount = value; } /** * Gets the value of the associationCount property. * * @return * possible object is * {@link Integer } * */ public Integer getAssociationCount() { return associationCount; } /** * Sets the value of the associationCount property. * * @param value * allowed object is * {@link Integer } * */ public void setAssociationCount(Integer value) { this.associationCount = value; } /** * Gets the value of the budgetType property. * * @return * possible object is * {@link BudgetLimitType } * */ public BudgetLimitType getBudgetType() { return budgetType; } /** * Sets the value of the budgetType property. * * @param value * allowed object is * {@link BudgetLimitType } * */ public void setBudgetType(BudgetLimitType value) { this.budgetType = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link Long } * */ public Long getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Long } * */ public void setId(Long value) { this.id = value; } /** * 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; } }