ovirtsdk4.writers module
Classes
class ActionWriter
Ancestors (in MRO)
- ActionWriter
- 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 AffinityGroupWriter
Ancestors (in MRO)
- AffinityGroupWriter
- 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 AffinityLabelWriter
Ancestors (in MRO)
- AffinityLabelWriter
- 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 AffinityRuleWriter
Ancestors (in MRO)
- AffinityRuleWriter
- 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 AgentConfigurationWriter
Ancestors (in MRO)
- AgentConfigurationWriter
- 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 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)
- ApiSummaryItemWriter
- 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 ApiSummaryWriter
Ancestors (in MRO)
- ApiSummaryWriter
- 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 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)
- ApplicationWriter
- 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 AuthorizedKeyWriter
Ancestors (in MRO)
- AuthorizedKeyWriter
- 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 BalanceWriter
Ancestors (in MRO)
- BalanceWriter
- 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 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)
- BlockStatisticWriter
- 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 BondingWriter
Ancestors (in MRO)
- BondingWriter
- 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 BookmarkWriter
Ancestors (in MRO)
- BookmarkWriter
- 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 BootMenuWriter
Ancestors (in MRO)
- BootMenuWriter
- 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 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)
- BrickProfileDetailWriter
- 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 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)
- CertificateWriter
- 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 CloudInitWriter
Ancestors (in MRO)
- CloudInitWriter
- 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 ClusterFeatureWriter
Ancestors (in MRO)
- ClusterFeatureWriter
- 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 ClusterLevelWriter
Ancestors (in MRO)
- ClusterLevelWriter
- 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 ClusterWriter
Ancestors (in MRO)
- ClusterWriter
- 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 ConfigurationWriter
Ancestors (in MRO)
- ConfigurationWriter
- 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 ConsoleWriter
Ancestors (in MRO)
- ConsoleWriter
- 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 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)
- CpuProfileWriter
- 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 CpuTopologyWriter
Ancestors (in MRO)
- CpuTopologyWriter
- 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 CpuTuneWriter
Ancestors (in MRO)
- CpuTuneWriter
- 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 CpuTypeWriter
Ancestors (in MRO)
- CpuTypeWriter
- 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 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)
- CustomPropertyWriter
- 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 DataCenterWriter
Ancestors (in MRO)
- DataCenterWriter
- 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 DeviceWriter
Ancestors (in MRO)
- DeviceWriter
- 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 DiskAttachmentWriter
Ancestors (in MRO)
- DiskAttachmentWriter
- 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 DiskProfileWriter
Ancestors (in MRO)
- DiskProfileWriter
- 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 DiskSnapshotWriter
Ancestors (in MRO)
- DiskSnapshotWriter
- 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 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)
- DisplayWriter
- 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 DnsResolverConfigurationWriter
Ancestors (in MRO)
- DnsResolverConfigurationWriter
- 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 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)
- DomainWriter
- 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 EntityProfileDetailWriter
Ancestors (in MRO)
- EntityProfileDetailWriter
- 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 ErrorHandlingWriter
Ancestors (in MRO)
- ErrorHandlingWriter
- 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 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)
- ExternalComputeResourceWriter
- 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 ExternalDiscoveredHostWriter
Ancestors (in MRO)
- ExternalDiscoveredHostWriter
- 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 ExternalHostGroupWriter
Ancestors (in MRO)
- ExternalHostGroupWriter
- 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 ExternalHostProviderWriter
Ancestors (in MRO)
- ExternalHostProviderWriter
- 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 ExternalHostWriter
Ancestors (in MRO)
- ExternalHostWriter
- 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 ExternalNetworkProviderConfigurationWriter
Ancestors (in MRO)
- ExternalNetworkProviderConfigurationWriter
- 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 ExternalProviderWriter
Ancestors (in MRO)
- ExternalProviderWriter
- 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 ExternalVmImportWriter
Ancestors (in MRO)
- ExternalVmImportWriter
- 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 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)
- FencingPolicyWriter
- 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 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)
- FilterWriter
- 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 FloppyWriter
Ancestors (in MRO)
- FloppyWriter
- 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 FopStatisticWriter
Ancestors (in MRO)
- FopStatisticWriter
- 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 GlusterBrickAdvancedDetailsWriter
Ancestors (in MRO)
- GlusterBrickAdvancedDetailsWriter
- 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 GlusterBrickMemoryInfoWriter
Ancestors (in MRO)
- GlusterBrickMemoryInfoWriter
- 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 GlusterBrickWriter
Ancestors (in MRO)
- GlusterBrickWriter
- 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 GlusterClientWriter
Ancestors (in MRO)
- GlusterClientWriter
- 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 GlusterHookWriter
Ancestors (in MRO)
- GlusterHookWriter
- 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 GlusterMemoryPoolWriter
Ancestors (in MRO)
- GlusterMemoryPoolWriter
- 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 GlusterServerHookWriter
Ancestors (in MRO)
- GlusterServerHookWriter
- 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 GlusterVolumeProfileDetailsWriter
Ancestors (in MRO)
- GlusterVolumeProfileDetailsWriter
- 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 GlusterVolumeWriter
Ancestors (in MRO)
- GlusterVolumeWriter
- 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 GracePeriodWriter
Ancestors (in MRO)
- GracePeriodWriter
- 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 GraphicsConsoleWriter
Ancestors (in MRO)
- GraphicsConsoleWriter
- 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 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)
- GuestOperatingSystemWriter
- 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 HardwareInformationWriter
Ancestors (in MRO)
- HardwareInformationWriter
- 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 HighAvailabilityWriter
Ancestors (in MRO)
- HighAvailabilityWriter
- 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 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)
- HostDevicePassthroughWriter
- 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 HostDeviceWriter
Ancestors (in MRO)
- HostDeviceWriter
- 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 HostNicVirtualFunctionsConfigurationWriter
Ancestors (in MRO)
- HostNicVirtualFunctionsConfigurationWriter
- 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 HostNicWriter
Ancestors (in MRO)
- HostNicWriter
- 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 HostStorageWriter
Ancestors (in MRO)
- HostStorageWriter
- 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 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)
- HostedEngineWriter
- 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 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)
- IdentifiedWriter
- 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 ImageTransferWriter
Ancestors (in MRO)
- ImageTransferWriter
- 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 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)
- InitializationWriter
- 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 InstanceTypeWriter
Ancestors (in MRO)
- InstanceTypeWriter
- 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 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)
- IpAddressAssignmentWriter
- 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 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)
- IscsiBondWriter
- 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 IscsiDetailsWriter
Ancestors (in MRO)
- IscsiDetailsWriter
- 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 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)
- KatelloErratumWriter
- 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 KernelWriter
Ancestors (in MRO)
- KernelWriter
- 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 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)
- LinkLayerDiscoveryProtocolElementWriter
- 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 LogicalUnitWriter
Ancestors (in MRO)
- LogicalUnitWriter
- 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 MacPoolWriter
Ancestors (in MRO)
- MacPoolWriter
- 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 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)
- MemoryOverCommitWriter
- 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 MemoryPolicyWriter
Ancestors (in MRO)
- MemoryPolicyWriter
- 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 MethodWriter
Ancestors (in MRO)
- MethodWriter
- 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 MigrationBandwidthWriter
Ancestors (in MRO)
- MigrationBandwidthWriter
- 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 MigrationOptionsWriter
Ancestors (in MRO)
- MigrationOptionsWriter
- 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 MigrationPolicyWriter
Ancestors (in MRO)
- MigrationPolicyWriter
- 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 NetworkAttachmentWriter
Ancestors (in MRO)
- NetworkAttachmentWriter
- 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 NetworkConfigurationWriter
Ancestors (in MRO)
- NetworkConfigurationWriter
- 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 NetworkFilterParameterWriter
Ancestors (in MRO)
- NetworkFilterParameterWriter
- 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 NetworkFilterWriter
Ancestors (in MRO)
- NetworkFilterWriter
- 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 NetworkLabelWriter
Ancestors (in MRO)
- NetworkLabelWriter
- 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 NetworkWriter
Ancestors (in MRO)
- NetworkWriter
- 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 NfsProfileDetailWriter
Ancestors (in MRO)
- NfsProfileDetailWriter
- 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 NicConfigurationWriter
Ancestors (in MRO)
- NicConfigurationWriter
- 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 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)
- NumaNodePinWriter
- 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 NumaNodeWriter
Ancestors (in MRO)
- NumaNodeWriter
- 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 OpenStackImageProviderWriter
Ancestors (in MRO)
- OpenStackImageProviderWriter
- 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 OpenStackImageWriter
Ancestors (in MRO)
- OpenStackImageWriter
- 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 OpenStackNetworkProviderWriter
Ancestors (in MRO)
- OpenStackNetworkProviderWriter
- 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 OpenStackNetworkWriter
Ancestors (in MRO)
- OpenStackNetworkWriter
- 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 OpenStackProviderWriter
Ancestors (in MRO)
- OpenStackProviderWriter
- 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 OpenStackSubnetWriter
Ancestors (in MRO)
- OpenStackSubnetWriter
- 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 OpenStackVolumeProviderWriter
Ancestors (in MRO)
- OpenStackVolumeProviderWriter
- 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 OpenStackVolumeTypeWriter
Ancestors (in MRO)
- OpenStackVolumeTypeWriter
- 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 OpenstackVolumeAuthenticationKeyWriter
Ancestors (in MRO)
- OpenstackVolumeAuthenticationKeyWriter
- 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 OperatingSystemInfoWriter
Ancestors (in MRO)
- OperatingSystemInfoWriter
- 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 OperatingSystemWriter
Ancestors (in MRO)
- OperatingSystemWriter
- 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 OptionWriter
Ancestors (in MRO)
- OptionWriter
- 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 PackageWriter
Ancestors (in MRO)
- PackageWriter
- 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 PayloadWriter
Ancestors (in MRO)
- PayloadWriter
- 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 PermissionWriter
Ancestors (in MRO)
- PermissionWriter
- 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 PermitWriter
Ancestors (in MRO)
- PermitWriter
- 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 PmProxyWriter
Ancestors (in MRO)
- PmProxyWriter
- 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 PortMirroringWriter
Ancestors (in MRO)
- PortMirroringWriter
- 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 PowerManagementWriter
Ancestors (in MRO)
- PowerManagementWriter
- 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 ProductInfoWriter
Ancestors (in MRO)
- ProductInfoWriter
- 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 ProductWriter
Ancestors (in MRO)
- ProductWriter
- 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 ProfileDetailWriter
Ancestors (in MRO)
- ProfileDetailWriter
- 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 PropertyWriter
Ancestors (in MRO)
- PropertyWriter
- 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 ProxyTicketWriter
Ancestors (in MRO)
- ProxyTicketWriter
- 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 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)
- QuotaClusterLimitWriter
- 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 QuotaStorageLimitWriter
Ancestors (in MRO)
- QuotaStorageLimitWriter
- 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 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 RegistrationAffinityGroupMappingWriter
Ancestors (in MRO)
- RegistrationAffinityGroupMappingWriter
- 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 RegistrationAffinityLabelMappingWriter
Ancestors (in MRO)
- RegistrationAffinityLabelMappingWriter
- 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 RegistrationClusterMappingWriter
Ancestors (in MRO)
- RegistrationClusterMappingWriter
- 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 RegistrationConfigurationWriter
Ancestors (in MRO)
- RegistrationConfigurationWriter
- 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 RegistrationDomainMappingWriter
Ancestors (in MRO)
- RegistrationDomainMappingWriter
- 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 RegistrationLunMappingWriter
Ancestors (in MRO)
- RegistrationLunMappingWriter
- 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 RegistrationRoleMappingWriter
Ancestors (in MRO)
- RegistrationRoleMappingWriter
- 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 RegistrationVnicProfileMappingWriter
Ancestors (in MRO)
- RegistrationVnicProfileMappingWriter
- 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)
- ReportedConfigurationWriter
- 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 ReportedDeviceWriter
Ancestors (in MRO)
- ReportedDeviceWriter
- 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 RngDeviceWriter
Ancestors (in MRO)
- RngDeviceWriter
- 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 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)
- SchedulingPolicyUnitWriter
- 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 SchedulingPolicyWriter
Ancestors (in MRO)
- SchedulingPolicyWriter
- 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 SeLinuxWriter
Ancestors (in MRO)
- SeLinuxWriter
- 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 SerialNumberWriter
Ancestors (in MRO)
- SerialNumberWriter
- 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 SessionWriter
Ancestors (in MRO)
- SessionWriter
- 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 SkipIfConnectivityBrokenWriter
Ancestors (in MRO)
- SkipIfConnectivityBrokenWriter
- 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 SkipIfSdActiveWriter
Ancestors (in MRO)
- SkipIfSdActiveWriter
- 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 SnapshotWriter
Ancestors (in MRO)
- SnapshotWriter
- 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 SpecialObjectsWriter
Ancestors (in MRO)
- SpecialObjectsWriter
- 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 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)
- SshPublicKeyWriter
- 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 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)
- StatisticWriter
- 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 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)
- StorageConnectionExtensionWriter
- 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 StorageConnectionWriter
Ancestors (in MRO)
- StorageConnectionWriter
- 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 StorageDomainLeaseWriter
Ancestors (in MRO)
- StorageDomainLeaseWriter
- 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 StorageDomainWriter
Ancestors (in MRO)
- StorageDomainWriter
- 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 SystemOptionValueWriter
Ancestors (in MRO)
- SystemOptionValueWriter
- 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 SystemOptionWriter
Ancestors (in MRO)
- SystemOptionWriter
- 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 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)
- TemplateVersionWriter
- 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 TemplateWriter
Ancestors (in MRO)
- TemplateWriter
- 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 TicketWriter
Ancestors (in MRO)
- TicketWriter
- 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 TimeZoneWriter
Ancestors (in MRO)
- TimeZoneWriter
- 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 TransparentHugePagesWriter
Ancestors (in MRO)
- TransparentHugePagesWriter
- 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 UnmanagedNetworkWriter
Ancestors (in MRO)
- UnmanagedNetworkWriter
- 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 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)
- VcpuPinWriter
- 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 VendorWriter
Ancestors (in MRO)
- VendorWriter
- 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 VersionWriter
Ancestors (in MRO)
- VersionWriter
- 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 VirtioScsiWriter
Ancestors (in MRO)
- VirtioScsiWriter
- 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 VirtualNumaNodeWriter
Ancestors (in MRO)
- VirtualNumaNodeWriter
- 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 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)
- VmBaseWriter
- 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 VmPlacementPolicyWriter
Ancestors (in MRO)
- VmPlacementPolicyWriter
- 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 VmPoolWriter
Ancestors (in MRO)
- VmPoolWriter
- 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 VmSummaryWriter
Ancestors (in MRO)
- VmSummaryWriter
- 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 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)
- VnicPassThroughWriter
- 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 VnicProfileMappingWriter
Ancestors (in MRO)
- VnicProfileMappingWriter
- 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 VnicProfileWriter
Ancestors (in MRO)
- VnicProfileWriter
- 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 VolumeGroupWriter
Ancestors (in MRO)
- VolumeGroupWriter
- 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 WatchdogWriter
Ancestors (in MRO)
- WatchdogWriter
- 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 WeightWriter
Ancestors (in MRO)
- WeightWriter
- 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.