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

com.aliyun.dingtalkorg_culture_1_0.models.GrantHonorRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class GrantHonorRequest extends TeaModel {
    // 有效期到期时间 时间戳. 会处理成到期那天的23:59:59秒的时间戳
    @NameInMap("expirationTime")
    public Long expirationTime;

    // 颁奖词,最多可以填50字
    @NameInMap("grantReason")
    public String grantReason;

    // 颁奖人名字,最多15个字
    @NameInMap("granterName")
    public String granterName;

    // 是否使用官宣号发送内网动态
    @NameInMap("noticeAnnouncer")
    public Boolean noticeAnnouncer;

    // 是否触达单聊会话通知
    @NameInMap("noticeSingle")
    public Boolean noticeSingle;

    // 接受人userId
    @NameInMap("receiverUserIds")
    public java.util.List receiverUserIds;

    // 发送人userId
    @NameInMap("senderUserId")
    public String senderUserId;

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

    public GrantHonorRequest setExpirationTime(Long expirationTime) {
        this.expirationTime = expirationTime;
        return this;
    }
    public Long getExpirationTime() {
        return this.expirationTime;
    }

    public GrantHonorRequest setGrantReason(String grantReason) {
        this.grantReason = grantReason;
        return this;
    }
    public String getGrantReason() {
        return this.grantReason;
    }

    public GrantHonorRequest setGranterName(String granterName) {
        this.granterName = granterName;
        return this;
    }
    public String getGranterName() {
        return this.granterName;
    }

    public GrantHonorRequest setNoticeAnnouncer(Boolean noticeAnnouncer) {
        this.noticeAnnouncer = noticeAnnouncer;
        return this;
    }
    public Boolean getNoticeAnnouncer() {
        return this.noticeAnnouncer;
    }

    public GrantHonorRequest setNoticeSingle(Boolean noticeSingle) {
        this.noticeSingle = noticeSingle;
        return this;
    }
    public Boolean getNoticeSingle() {
        return this.noticeSingle;
    }

    public GrantHonorRequest setReceiverUserIds(java.util.List receiverUserIds) {
        this.receiverUserIds = receiverUserIds;
        return this;
    }
    public java.util.List getReceiverUserIds() {
        return this.receiverUserIds;
    }

    public GrantHonorRequest setSenderUserId(String senderUserId) {
        this.senderUserId = senderUserId;
        return this;
    }
    public String getSenderUserId() {
        return this.senderUserId;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy