def from_map()

in python/alibabacloud_ha3engine/models.py [0:0]


    def from_map(self, m: dict = None):
        m = m or dict()
        if m.get('start') is not None:
            self.start = m.get('start')
        if m.get('hit') is not None:
            self.hit = m.get('hit')
        if m.get('format') is not None:
            self.format = m.get('format')
        if m.get('customConfig') is not None:
            self.custom_config = m.get('customConfig')
        return self