Package com.azure.storage.blob.models
Class BlockLookupList
java.lang.Object
com.azure.storage.blob.models.BlockLookupList
- All Implemented Interfaces:
com.azure.xml.XmlSerializable<BlockLookupList>
public final class BlockLookupList
extends Object
implements com.azure.xml.XmlSerializable<BlockLookupList>
The BlockLookupList model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockLookupList
fromXml
(com.azure.xml.XmlReader xmlReader) Reads an instance of BlockLookupList from the XmlReader.static BlockLookupList
Reads an instance of BlockLookupList from the XmlReader.Get the committed property: The Committed property.Get the latest property: The Latest property.Get the uncommitted property: The Uncommitted property.setCommitted
(List<String> committed) Set the committed property: The Committed property.Set the latest property: The Latest property.setUncommitted
(List<String> uncommitted) Set the uncommitted property: The Uncommitted property.com.azure.xml.XmlWriter
toXml
(com.azure.xml.XmlWriter xmlWriter) com.azure.xml.XmlWriter
-
Constructor Details
-
BlockLookupList
public BlockLookupList()Creates an instance of BlockLookupList class.
-
-
Method Details
-
getCommitted
Get the committed property: The Committed property.- Returns:
- the committed value.
-
setCommitted
Set the committed property: The Committed property.- Parameters:
committed
- the committed value to set.- Returns:
- the BlockLookupList object itself.
-
getUncommitted
Get the uncommitted property: The Uncommitted property.- Returns:
- the uncommitted value.
-
setUncommitted
Set the uncommitted property: The Uncommitted property.- Parameters:
uncommitted
- the uncommitted value to set.- Returns:
- the BlockLookupList object itself.
-
getLatest
Get the latest property: The Latest property.- Returns:
- the latest value.
-
setLatest
Set the latest property: The Latest property.- Parameters:
latest
- the latest value to set.- Returns:
- the BlockLookupList object itself.
-
toXml
- Specified by:
toXml
in interfacecom.azure.xml.XmlSerializable<BlockLookupList>
- Throws:
XMLStreamException
-
toXml
public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter, String rootElementName) throws XMLStreamException - Specified by:
toXml
in interfacecom.azure.xml.XmlSerializable<BlockLookupList>
- Throws:
XMLStreamException
-
fromXml
Reads an instance of BlockLookupList from the XmlReader.- Parameters:
xmlReader
- The XmlReader being read.- Returns:
- An instance of BlockLookupList if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.
- Throws:
XMLStreamException
- If an error occurs while reading the BlockLookupList.
-
fromXml
public static BlockLookupList fromXml(com.azure.xml.XmlReader xmlReader, String rootElementName) throws XMLStreamException Reads an instance of BlockLookupList from the XmlReader.- Parameters:
xmlReader
- The XmlReader being read.rootElementName
- Optional root element name to override the default defined by the model. Used to support cases where the model can deserialize from different root element names.- Returns:
- An instance of BlockLookupList if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.
- Throws:
XMLStreamException
- If an error occurs while reading the BlockLookupList.
-