Top

ovirtsdk4.writers module

Classes

class ActionWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class AffinityGroupWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class AffinityLabelWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class AffinityRuleWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class AgentConfigurationWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class AgentWriter

Ancestors (in MRO)

  • AgentWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ApiSummaryItemWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ApiSummaryWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ApiWriter

Ancestors (in MRO)

  • ApiWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ApplicationWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class AuthorizedKeyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class BalanceWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class BiosWriter

Ancestors (in MRO)

  • BiosWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class BlockStatisticWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class BondingWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class BookmarkWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class BootMenuWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class BootWriter

Ancestors (in MRO)

  • BootWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class BrickProfileDetailWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class CdromWriter

Ancestors (in MRO)

  • CdromWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class CertificateWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class CloudInitWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ClusterFeatureWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ClusterLevelWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ClusterWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ConfigurationWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ConsoleWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class CoreWriter

Ancestors (in MRO)

  • CoreWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class CpuProfileWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class CpuTopologyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class CpuTuneWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class CpuTypeWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class CpuWriter

Ancestors (in MRO)

  • CpuWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class CustomPropertyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class DataCenterWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class DeviceWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class DiskAttachmentWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class DiskProfileWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class DiskSnapshotWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class DiskWriter

Ancestors (in MRO)

  • DiskWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class DisplayWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class DnsResolverConfigurationWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class DnsWriter

Ancestors (in MRO)

  • DnsWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class DomainWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class EntityProfileDetailWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ErrorHandlingWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class EventWriter

Ancestors (in MRO)

  • EventWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ExternalComputeResourceWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ExternalDiscoveredHostWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ExternalHostGroupWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ExternalHostProviderWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ExternalHostWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ExternalProviderWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ExternalVmImportWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class FaultWriter

Ancestors (in MRO)

  • FaultWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class FencingPolicyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class FileWriter

Ancestors (in MRO)

  • FileWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class FilterWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class FloppyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class FopStatisticWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GlusterBrickAdvancedDetailsWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GlusterBrickMemoryInfoWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GlusterBrickWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GlusterClientWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GlusterHookWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GlusterMemoryPoolWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GlusterServerHookWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GlusterVolumeProfileDetailsWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GlusterVolumeWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GracePeriodWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GraphicsConsoleWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GroupWriter

Ancestors (in MRO)

  • GroupWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class GuestOperatingSystemWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class HardwareInformationWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class HighAvailabilityWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class HookWriter

Ancestors (in MRO)

  • HookWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class HostDevicePassthroughWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class HostDeviceWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class HostNicVirtualFunctionsConfigurationWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class HostNicWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class HostStorageWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class HostWriter

Ancestors (in MRO)

  • HostWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class HostedEngineWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class IconWriter

Ancestors (in MRO)

  • IconWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class IdentifiedWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ImageTransferWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ImageWriter

Ancestors (in MRO)

  • ImageWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class InitializationWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class InstanceTypeWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class IoWriter

Ancestors (in MRO)

  • IoWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class IpAddressAssignmentWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class IpWriter

Ancestors (in MRO)

  • IpWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class IscsiBondWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class IscsiDetailsWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class JobWriter

Ancestors (in MRO)

  • JobWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class KatelloErratumWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class KernelWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class KsmWriter

Ancestors (in MRO)

  • KsmWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class LinkLayerDiscoveryProtocolElementWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class LogicalUnitWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class MacPoolWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class MacWriter

Ancestors (in MRO)

  • MacWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class MemoryOverCommitWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class MemoryPolicyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class MethodWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class MigrationBandwidthWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class MigrationOptionsWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class MigrationPolicyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class NetworkAttachmentWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class NetworkConfigurationWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class NetworkFilterWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class NetworkLabelWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class NetworkWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class NfsProfileDetailWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class NicConfigurationWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class NicWriter

Ancestors (in MRO)

  • NicWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class NumaNodePinWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class NumaNodeWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OpenStackImageProviderWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OpenStackImageWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OpenStackNetworkProviderWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OpenStackNetworkWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OpenStackProviderWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OpenStackSubnetWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OpenStackVolumeProviderWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OpenStackVolumeTypeWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OpenstackVolumeAuthenticationKeyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OperatingSystemInfoWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OperatingSystemWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class OptionWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class PackageWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class PayloadWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class PermissionWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class PermitWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class PmProxyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class PortMirroringWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class PowerManagementWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ProductInfoWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ProductWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ProfileDetailWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class PropertyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ProxyTicketWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class QosWriter

Ancestors (in MRO)

  • QosWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class QuotaClusterLimitWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class QuotaStorageLimitWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class QuotaWriter

Ancestors (in MRO)

  • QuotaWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class RangeWriter

Ancestors (in MRO)

  • RangeWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class RateWriter

Ancestors (in MRO)

  • RateWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ReportedConfigurationWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ReportedDeviceWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class RngDeviceWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class RoleWriter

Ancestors (in MRO)

  • RoleWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SchedulingPolicyUnitWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SchedulingPolicyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SeLinuxWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SerialNumberWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SessionWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SkipIfConnectivityBrokenWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SkipIfSdActiveWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SnapshotWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SpecialObjectsWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SpmWriter

Ancestors (in MRO)

  • SpmWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SshPublicKeyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SshWriter

Ancestors (in MRO)

  • SshWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class SsoWriter

Ancestors (in MRO)

  • SsoWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class StatisticWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class StepWriter

Ancestors (in MRO)

  • StepWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class StorageConnectionExtensionWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class StorageConnectionWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class StorageDomainLeaseWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class StorageDomainWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class TagWriter

Ancestors (in MRO)

  • TagWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class TemplateVersionWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class TemplateWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class TicketWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class TimeZoneWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class TransparentHugePagesWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class UnmanagedNetworkWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class UsbWriter

Ancestors (in MRO)

  • UsbWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class UserWriter

Ancestors (in MRO)

  • UserWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class ValueWriter

Ancestors (in MRO)

  • ValueWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VcpuPinWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VendorWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VersionWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VirtioScsiWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VirtualNumaNodeWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VlanWriter

Ancestors (in MRO)

  • VlanWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VmBaseWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VmPlacementPolicyWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VmPoolWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VmSummaryWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VmWriter

Ancestors (in MRO)

  • VmWriter
  • ovirtsdk4.writer.Writer
  • __builtin__.object

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VnicPassThroughWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VnicProfileMappingWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VnicProfileWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class VolumeGroupWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class WatchdogWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.

class WeightWriter

Ancestors (in MRO)

Static methods

def render_boolean(

value)

Converts the given boolean value to a string.

def render_date(

value)

Converts the given date value to a string.

def render_decimal(

value)

Converts the given decimal value to a string.

def render_integer(

value)

Converts the given integer value to a string.

def write_boolean(

writer, name, value)

Writes an element with the given name and boolean value.

def write_date(

writer, name, value)

Writes an element with the given name and date value.

def write_decimal(

writer, name, value)

Writes an element with the given name and decimal value.

def write_integer(

writer, name, value)

Writes an element with the given name and integer value.

def write_many(

objs, writer, singular=None, plural=None)

def write_one(

obj, writer, singular=None)

def write_string(

writer, name, value)

Writes an element with the given name and string value.

Methods

def __init__(

self)

def register(

cls, typ, writer)

Registers a write method.

typ

The type.

writer

The reference to the method that writes the XML object corresponding to the type.

def write(

cls, obj, target=None, root=None, indent=False)

Writes one object, determining the writer method to use based on the type. For example, if the type of the object is Vm then it will write the vm tag, with its contents.

obj

The object to write.

target

The XML writer where the output will be written. If this parameter isn’t given, or if the value is None the method will return a string containing the XML document.

root

The name of the root tag of the generated XML document. This isn’t needed when writing single objects, as the tag is calculated from the type of the object. For example, if the object isa virtual machine then the tag will be vm. But when writing lists of objects the it is needed, because the list may be empty, or have different types of objects. In this case, for lists, if it isn’t provided an exception will be raised.

indent

Indicates if the output should be indented, for easier reading by humans.