def to_map()

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


    def to_map(self):
        _map = super().to_map()
        if _map is not None:
            return _map

        result = dict()
        if self.group_key is not None:
            result['group_key'] = self.group_key
        if self.agg_fun is not None:
            result['agg_fun'] = self.agg_fun
        if self.range is not None:
            result['range'] = self.range
        if self.max_group is not None:
            result['max_group'] = self.max_group
        if self.agg_filter is not None:
            result['agg_filter'] = self.agg_filter
        if self.agg_sampler_thres_hold is not None:
            result['agg_sampler_threshold'] = self.agg_sampler_thres_hold
        if self.agg_sampler_step is not None:
            result['agg_sampler_step'] = self.agg_sampler_step
        return result