Ejemplo n.º 1
0
class GetHospitalInfoRequest(ComplexModel):
    __namespace__ = SOAP_NAMESPACE

    hospitalUid = String.customize(
        nillable=True,
        min_occurs=0,
        doc=u'Один или несколько идентификаторов ЛПУ')

    def __init__(self):
        super(GetHospitalInfoRequest, self).__init__(
            doc=u'Параметры запроса для получения подробной информация о ЛПУ')
Ejemplo n.º 2
0
class AcsToCpeRequests(Tr069ComplexModel):
    """ Union of all ACS->CPE requests. Only fields for one request is populated
        per message instance """
    _type_info = odict()

    # Fields for SetParameterValues
    _type_info[
        "ParameterList"] = ParameterListUnion  # See ParameterListUnion for explanation
    _type_info["ParameterKey"] = ParameterKeyType

    # Fields for GetParameterValues
    # _type_info["ParameterList"] = ParameterValueList - Already covered above

    # Fields for GetParameterNames
    _type_info["ParameterPath"] = String.customize(max_length=256)
    _type_info["NextLevel"] = Boolean

    # Fields for SetParameterAttributes
    # _type_info["ParameterList"] = SetParameterAttributesList - Already covered above

    # Fields for GetParameterAttributes
    _type_info["ParameterNames"] = ParameterNames

    # Fields for AddObject
    _type_info["ObjectName"] = ObjectNameType
    _type_info["ParameterKey"] = ParameterKeyType

    # Fields for DeleteObject
    # _type_info["ObjectName"] = ObjectNameType - Already covered above
    # _type_info["ParameterKey"] = ParameterKeyType - Already covered above

    # Fields for Download
    _type_info["CommandKey"] = CommandKeyType
    _type_info["FileType"] = String(max_length=64)
    _type_info["URL"] = String(max_length=256)
    _type_info["Username"] = String(max_length=256)
    _type_info["Password"] = String(max_length=256)
    _type_info["FileSize"] = UnsignedInteger
    _type_info["TargetFileName"] = String(max_length=256)
    _type_info["DelaySeconds"] = UnsignedInteger
    _type_info["SuccessURL"] = String(max_length=256)
    _type_info["FailureURL"] = String(max_length=256)
    # Optional Baicells specific Download fields
    _type_info["Md5"] = String(max_length=32)
    _type_info["RawMode"] = Boolean
Ejemplo n.º 3
0
class GetParameterNames(Tr069ComplexModel):
    _type_info = odict()
    _type_info["ParameterPath"] = String.customize(max_length=256)
    _type_info["NextLevel"] = Boolean
Ejemplo n.º 4
0
class ObjectNameType(String.customize(max_length=256)):
    pass
Ejemplo n.º 5
0
class CommandKeyType(String.customize(max_length=32)):
    pass
Ejemplo n.º 6
0
class AccessList(Tr069ComplexModel):
    _type_info = odict()
    _type_info["string"] = String.customize(max_occurs='unbounded', max_length=64)
    _type_info["arrayType"] = XmlAttribute(String, ns=SOAP_ENC)
Ejemplo n.º 7
0
class ParameterKeyType(String.customize(max_length=32)):
    pass
Ejemplo n.º 8
0
class ParameterNames(Tr069ComplexModel):
    _type_info = odict()
    _type_info["string"] = String.customize(max_occurs='unbounded', max_length=256)
    _type_info["arrayType"] = XmlAttribute(String, ns=SOAP_ENC)
Ejemplo n.º 9
0
class ObjectNameType(String.customize(max_length=256)):  # type: ignore[misc]
    pass
Ejemplo n.º 10
0
class CommandKeyType(String.customize(max_length=32)):  # type: ignore[misc]
    pass