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

com.aliyun.dingtalkbadge_1_0.models.CreateBadgeCodeUserInstanceRequest 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.dingtalkbadge_1_0.models;

import com.aliyun.tea.*;

public class CreateBadgeCodeUserInstanceRequest extends TeaModel {
    /**
     * 

This parameter is required.

*/ @NameInMap("availableTimes") public java.util.List availableTimes; /** *

This parameter is required.

* * example: *

TEST

*/ @NameInMap("codeIdentity") public String codeIdentity; @NameInMap("codeValue") public String codeValue; /** * example: *

DING_STATIC

*/ @NameInMap("codeValueType") public String codeValueType; /** *

This parameter is required.

* * example: *

corpid1234

*/ @NameInMap("corpId") public String corpId; /** *

This parameter is required.

*/ @NameInMap("extInfo") public java.util.Map extInfo; /** *

This parameter is required.

* * example: *

yyyy-MM-dd HH:mm:ss

*/ @NameInMap("gmtExpired") public String gmtExpired; /** *

This parameter is required.

* * example: *

202102021212

*/ @NameInMap("requestId") public String requestId; /** *

This parameter is required.

* * example: *

OPEN

*/ @NameInMap("status") public String status; /** *

This parameter is required.

* * example: *

INTERNAL_STAFF

*/ @NameInMap("userCorpRelationType") public String userCorpRelationType; /** *

This parameter is required.

* * example: *

86-xxxxxx

*/ @NameInMap("userIdentity") public String userIdentity; public static CreateBadgeCodeUserInstanceRequest build(java.util.Map map) throws Exception { CreateBadgeCodeUserInstanceRequest self = new CreateBadgeCodeUserInstanceRequest(); return TeaModel.build(map, self); } public CreateBadgeCodeUserInstanceRequest setAvailableTimes(java.util.List availableTimes) { this.availableTimes = availableTimes; return this; } public java.util.List getAvailableTimes() { return this.availableTimes; } public CreateBadgeCodeUserInstanceRequest setCodeIdentity(String codeIdentity) { this.codeIdentity = codeIdentity; return this; } public String getCodeIdentity() { return this.codeIdentity; } public CreateBadgeCodeUserInstanceRequest setCodeValue(String codeValue) { this.codeValue = codeValue; return this; } public String getCodeValue() { return this.codeValue; } public CreateBadgeCodeUserInstanceRequest setCodeValueType(String codeValueType) { this.codeValueType = codeValueType; return this; } public String getCodeValueType() { return this.codeValueType; } public CreateBadgeCodeUserInstanceRequest setCorpId(String corpId) { this.corpId = corpId; return this; } public String getCorpId() { return this.corpId; } public CreateBadgeCodeUserInstanceRequest setExtInfo(java.util.Map extInfo) { this.extInfo = extInfo; return this; } public java.util.Map getExtInfo() { return this.extInfo; } public CreateBadgeCodeUserInstanceRequest setGmtExpired(String gmtExpired) { this.gmtExpired = gmtExpired; return this; } public String getGmtExpired() { return this.gmtExpired; } public CreateBadgeCodeUserInstanceRequest setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CreateBadgeCodeUserInstanceRequest setStatus(String status) { this.status = status; return this; } public String getStatus() { return this.status; } public CreateBadgeCodeUserInstanceRequest setUserCorpRelationType(String userCorpRelationType) { this.userCorpRelationType = userCorpRelationType; return this; } public String getUserCorpRelationType() { return this.userCorpRelationType; } public CreateBadgeCodeUserInstanceRequest setUserIdentity(String userIdentity) { this.userIdentity = userIdentity; return this; } public String getUserIdentity() { return this.userIdentity; } public static class CreateBadgeCodeUserInstanceRequestAvailableTimes extends TeaModel { /** *

This parameter is required.

* * example: *

yyyy-MM-dd HH:mm:ss

*/ @NameInMap("gmtEnd") public String gmtEnd; /** *

This parameter is required.

* * example: *

yyyy-MM-dd HH:mm:ss

*/ @NameInMap("gmtStart") public String gmtStart; public static CreateBadgeCodeUserInstanceRequestAvailableTimes build(java.util.Map map) throws Exception { CreateBadgeCodeUserInstanceRequestAvailableTimes self = new CreateBadgeCodeUserInstanceRequestAvailableTimes(); return TeaModel.build(map, self); } public CreateBadgeCodeUserInstanceRequestAvailableTimes setGmtEnd(String gmtEnd) { this.gmtEnd = gmtEnd; return this; } public String getGmtEnd() { return this.gmtEnd; } public CreateBadgeCodeUserInstanceRequestAvailableTimes setGmtStart(String gmtStart) { this.gmtStart = gmtStart; return this; } public String getGmtStart() { return this.gmtStart; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy