def __str__(self):
        """
        Gets a string representation of the object.
        The result is a semicolon-separated list of key-value pairs as
        "key1=value1;key2=value2;key=value3"

        :return: a string representation of the object.
        """
        result = ''

        for (k, v) in self.items():
            if len(result) > 0:
                result += ';'

            if v != None:
                result += k + '=' + StringConverter.to_string_with_default(v, '')
            else:
                result += k

        return result
def __str__ ( self ) : result = '' for ( k , v ) in self . items ( ) : if len ( result ) > 0 : result += ';' if v != None : result += k + '=' + StringConverter . to_string_with_default ( v , '' ) else : result += k return result
Gets a string representation of the object.
        The result is a semicolon-separated list of key-value pairs as
        "key1=value1;key2=value2;key=value3"

        :return: a string representation of the object.