com.emc.cdp.services.rest.model
Class Account

java.lang.Object
  extended by com.emc.cdp.services.rest.model.Account

public class Account
extends Object

Java class for Account complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Account">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="state" type="{http://cdp.emc.com/services/rest/model}accountState" minOccurs="0"/>
         <element name="attribute" type="{http://cdp.emc.com/services/rest/model}Attribute" maxOccurs="unbounded" minOccurs="0"/>
         <element name="subscription" type="{http://cdp.emc.com/services/rest/model}Subscription" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Attribute> attributes
           
protected  String description
           
protected  String id
           
protected  String name
           
protected  AccountState state
           
protected  List<Subscription> subscriptions
           
protected  String type
           
 
Constructor Summary
Account()
           
 
Method Summary
 List<Attribute> getAttributes()
          Gets the value of the attributes property.
 String getDescription()
          Gets the value of the description property.
 String getId()
          Gets the value of the id property.
 String getName()
          Gets the value of the name property.
 AccountState getState()
          Gets the value of the state property.
 List<Subscription> getSubscriptions()
          Gets the value of the subscriptions property.
 String getType()
          Gets the value of the type property.
 void setDescription(String value)
          Sets the value of the description property.
 void setId(String value)
          Sets the value of the id property.
 void setName(String value)
          Sets the value of the name property.
 void setState(AccountState value)
          Sets the value of the state property.
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

name

protected String name

type

protected String type

description

protected String description

state

protected AccountState state

attributes

protected List<Attribute> attributes

subscriptions

protected List<Subscription> subscriptions
Constructor Detail

Account

public Account()
Method Detail

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getState

public AccountState getState()
Gets the value of the state property.

Returns:
possible object is AccountState

setState

public void setState(AccountState value)
Sets the value of the state property.

Parameters:
value - allowed object is AccountState

getAttributes

public List<Attribute> getAttributes()
Gets the value of the attributes property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the attributes property.

For example, to add a new item, do as follows:

    getAttributes().add(newItem);
 

Objects of the following type(s) are allowed in the list Attribute


getSubscriptions

public List<Subscription> getSubscriptions()
Gets the value of the subscriptions property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the subscriptions property.

For example, to add a new item, do as follows:

    getSubscriptions().add(newItem);
 

Objects of the following type(s) are allowed in the list Subscription



Copyright © 2014. All Rights Reserved.