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

com.aliyun.dingtalkokr_1_0.models.GetPermissionRequest 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.dingtalkokr_1_0.models;

import com.aliyun.tea.*;

public class GetPermissionRequest extends TeaModel {
    @NameInMap("targetId")
    public String targetId;

    @NameInMap("targetType")
    public String targetType;

    // A short description of struct
    @NameInMap("userId")
    public String userId;

    @NameInMap("withKr")
    public Boolean withKr;

    @NameInMap("withObjective")
    public Boolean withObjective;

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

    public GetPermissionRequest setTargetId(String targetId) {
        this.targetId = targetId;
        return this;
    }
    public String getTargetId() {
        return this.targetId;
    }

    public GetPermissionRequest setTargetType(String targetType) {
        this.targetType = targetType;
        return this;
    }
    public String getTargetType() {
        return this.targetType;
    }

    public GetPermissionRequest setUserId(String userId) {
        this.userId = userId;
        return this;
    }
    public String getUserId() {
        return this.userId;
    }

    public GetPermissionRequest setWithKr(Boolean withKr) {
        this.withKr = withKr;
        return this;
    }
    public Boolean getWithKr() {
        return this.withKr;
    }

    public GetPermissionRequest setWithObjective(Boolean withObjective) {
        this.withObjective = withObjective;
        return this;
    }
    public Boolean getWithObjective() {
        return this.withObjective;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy