All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkattendance_1_0.models.ResultDurationSettingsValue Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkattendance_1_0.models;

import com.aliyun.tea.*;

public class ResultDurationSettingsValue extends TeaModel {
    @NameInMap("calcType")
    public Integer calcType;

    @NameInMap("durationType")
    public Integer durationType;

    @NameInMap("overtimeRedress")
    public Boolean overtimeRedress;

    @NameInMap("settings")
    public java.util.Map settings;

    @NameInMap("overtimeRedressBy")
    public String overtimeRedressBy;

    @NameInMap("vacationRate")
    public Float vacationRate;

    @NameInMap("skipTime")
    public String skipTime;

    @NameInMap("skipTimeByFrames")
    public java.util.List skipTimeByFrames;

    @NameInMap("skipTimeByDurations")
    public java.util.List skipTimeByDurations;

    @NameInMap("holidayPlanOvertimeRedress")
    public Boolean holidayPlanOvertimeRedress;

    @NameInMap("holidayPlanOvertimeRedressBy")
    public String holidayPlanOvertimeRedressBy;

    @NameInMap("holidayPlanVacationRate")
    public Float holidayPlanVacationRate;

    public static ResultDurationSettingsValue build(java.util.Map map) throws Exception {
        ResultDurationSettingsValue self = new ResultDurationSettingsValue();
        return TeaModel.build(map, self);
    }

    public ResultDurationSettingsValue setCalcType(Integer calcType) {
        this.calcType = calcType;
        return this;
    }
    public Integer getCalcType() {
        return this.calcType;
    }

    public ResultDurationSettingsValue setDurationType(Integer durationType) {
        this.durationType = durationType;
        return this;
    }
    public Integer getDurationType() {
        return this.durationType;
    }

    public ResultDurationSettingsValue setOvertimeRedress(Boolean overtimeRedress) {
        this.overtimeRedress = overtimeRedress;
        return this;
    }
    public Boolean getOvertimeRedress() {
        return this.overtimeRedress;
    }

    public ResultDurationSettingsValue setSettings(java.util.Map settings) {
        this.settings = settings;
        return this;
    }
    public java.util.Map getSettings() {
        return this.settings;
    }

    public ResultDurationSettingsValue setOvertimeRedressBy(String overtimeRedressBy) {
        this.overtimeRedressBy = overtimeRedressBy;
        return this;
    }
    public String getOvertimeRedressBy() {
        return this.overtimeRedressBy;
    }

    public ResultDurationSettingsValue setVacationRate(Float vacationRate) {
        this.vacationRate = vacationRate;
        return this;
    }
    public Float getVacationRate() {
        return this.vacationRate;
    }

    public ResultDurationSettingsValue setSkipTime(String skipTime) {
        this.skipTime = skipTime;
        return this;
    }
    public String getSkipTime() {
        return this.skipTime;
    }

    public ResultDurationSettingsValue setSkipTimeByFrames(java.util.List skipTimeByFrames) {
        this.skipTimeByFrames = skipTimeByFrames;
        return this;
    }
    public java.util.List getSkipTimeByFrames() {
        return this.skipTimeByFrames;
    }

    public ResultDurationSettingsValue setSkipTimeByDurations(java.util.List skipTimeByDurations) {
        this.skipTimeByDurations = skipTimeByDurations;
        return this;
    }
    public java.util.List getSkipTimeByDurations() {
        return this.skipTimeByDurations;
    }

    public ResultDurationSettingsValue setHolidayPlanOvertimeRedress(Boolean holidayPlanOvertimeRedress) {
        this.holidayPlanOvertimeRedress = holidayPlanOvertimeRedress;
        return this;
    }
    public Boolean getHolidayPlanOvertimeRedress() {
        return this.holidayPlanOvertimeRedress;
    }

    public ResultDurationSettingsValue setHolidayPlanOvertimeRedressBy(String holidayPlanOvertimeRedressBy) {
        this.holidayPlanOvertimeRedressBy = holidayPlanOvertimeRedressBy;
        return this;
    }
    public String getHolidayPlanOvertimeRedressBy() {
        return this.holidayPlanOvertimeRedressBy;
    }

    public ResultDurationSettingsValue setHolidayPlanVacationRate(Float holidayPlanVacationRate) {
        this.holidayPlanVacationRate = holidayPlanVacationRate;
        return this;
    }
    public Float getHolidayPlanVacationRate() {
        return this.holidayPlanVacationRate;
    }

    public static class ResultDurationSettingsValueSkipTimeByFrames extends TeaModel {
        @NameInMap("startTime")
        public String startTime;

        @NameInMap("endTime")
        public String endTime;

        @NameInMap("valid")
        public Boolean valid;

        public static ResultDurationSettingsValueSkipTimeByFrames build(java.util.Map map) throws Exception {
            ResultDurationSettingsValueSkipTimeByFrames self = new ResultDurationSettingsValueSkipTimeByFrames();
            return TeaModel.build(map, self);
        }

        public ResultDurationSettingsValueSkipTimeByFrames setStartTime(String startTime) {
            this.startTime = startTime;
            return this;
        }
        public String getStartTime() {
            return this.startTime;
        }

        public ResultDurationSettingsValueSkipTimeByFrames setEndTime(String endTime) {
            this.endTime = endTime;
            return this;
        }
        public String getEndTime() {
            return this.endTime;
        }

        public ResultDurationSettingsValueSkipTimeByFrames setValid(Boolean valid) {
            this.valid = valid;
            return this;
        }
        public Boolean getValid() {
            return this.valid;
        }

    }

    public static class ResultDurationSettingsValueSkipTimeByDurations extends TeaModel {
        @NameInMap("duration")
        public Long duration;

        @NameInMap("minus")
        public Long minus;

        public static ResultDurationSettingsValueSkipTimeByDurations build(java.util.Map map) throws Exception {
            ResultDurationSettingsValueSkipTimeByDurations self = new ResultDurationSettingsValueSkipTimeByDurations();
            return TeaModel.build(map, self);
        }

        public ResultDurationSettingsValueSkipTimeByDurations setDuration(Long duration) {
            this.duration = duration;
            return this;
        }
        public Long getDuration() {
            return this.duration;
        }

        public ResultDurationSettingsValueSkipTimeByDurations setMinus(Long minus) {
            this.minus = minus;
            return this;
        }
        public Long getMinus() {
            return this.minus;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy