Partilhar via


BlockLookupList Class

  • java.lang.Object
    • com.azure.storage.blob.models.BlockLookupList

Implements

public final class BlockLookupList
implements XmlSerializable<BlockLookupList>

The BlockLookupList model.

Constructor Summary

Constructor Description
BlockLookupList()

Creates an instance of BlockLookupList class.

Method Summary

Modifier and Type Method and Description
static BlockLookupList fromXml(XmlReader xmlReader)

Reads an instance of BlockLookupList from the XmlReader.

static BlockLookupList fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of BlockLookupList from the XmlReader.

List<String> getCommitted()

Get the committed property: The Committed property.

List<String> getLatest()

Get the latest property: The Latest property.

List<String> getUncommitted()

Get the uncommitted property: The Uncommitted property.

BlockLookupList setCommitted(List<String> committed)

Set the committed property: The Committed property.

BlockLookupList setLatest(List<String> latest)

Set the latest property: The Latest property.

BlockLookupList setUncommitted(List<String> uncommitted)

Set the uncommitted property: The Uncommitted property.

XmlWriter toXml(XmlWriter xmlWriter)
XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)

Methods inherited from java.lang.Object

Constructor Details

BlockLookupList

public BlockLookupList()

Creates an instance of BlockLookupList class.

Method Details

fromXml

public static BlockLookupList fromXml(XmlReader xmlReader)

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(XmlReader xmlReader, String rootElementName)

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.

getCommitted

public List getCommitted()

Get the committed property: The Committed property.

Returns:

the committed value.

getLatest

public List getLatest()

Get the latest property: The Latest property.

Returns:

the latest value.

getUncommitted

public List getUncommitted()

Get the uncommitted property: The Uncommitted property.

Returns:

the uncommitted value.

setCommitted

public BlockLookupList setCommitted(List committed)

Set the committed property: The Committed property.

Parameters:

committed - the committed value to set.

Returns:

the BlockLookupList object itself.

setLatest

public BlockLookupList setLatest(List latest)

Set the latest property: The Latest property.

Parameters:

latest - the latest value to set.

Returns:

the BlockLookupList object itself.

setUncommitted

public BlockLookupList setUncommitted(List uncommitted)

Set the uncommitted property: The Uncommitted property.

Parameters:

uncommitted - the uncommitted value to set.

Returns:

the BlockLookupList object itself.

toXml

public XmlWriter toXml(XmlWriter xmlWriter)

Parameters:

xmlWriter

Throws:

toXml

public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)

Parameters:

xmlWriter
rootElementName

Throws:

Applies to