com.aliyun.pds20220301.models.ListIdentityToBenefitPkgMappingRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pds20220301 Show documentation
Show all versions of pds20220301 Show documentation
Alibaba Cloud pds (20220301) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.pds20220301.models;
import com.aliyun.tea.*;
public class ListIdentityToBenefitPkgMappingRequest extends TeaModel {
/**
* The unique identifier of the entity.
* If you call this operation to manage the benefits of a user, set this parameter to the ID of the user.
* This parameter is required.
*
* example:
* user123
*/
@NameInMap("identity_id")
public String identityId;
/**
* The type of the entity. If you call this operation to manage the benefits of a user, set this parameter to user.
* This parameter is required.
*
* example:
* user
*/
@NameInMap("identity_type")
public String identityType;
/**
* Specifies whether to return the benefit packages that expire. Default value: false.
*
* example:
* false
*/
@NameInMap("include_expired")
public Boolean includeExpired;
public static ListIdentityToBenefitPkgMappingRequest build(java.util.Map map) throws Exception {
ListIdentityToBenefitPkgMappingRequest self = new ListIdentityToBenefitPkgMappingRequest();
return TeaModel.build(map, self);
}
public ListIdentityToBenefitPkgMappingRequest setIdentityId(String identityId) {
this.identityId = identityId;
return this;
}
public String getIdentityId() {
return this.identityId;
}
public ListIdentityToBenefitPkgMappingRequest setIdentityType(String identityType) {
this.identityType = identityType;
return this;
}
public String getIdentityType() {
return this.identityType;
}
public ListIdentityToBenefitPkgMappingRequest setIncludeExpired(Boolean includeExpired) {
this.includeExpired = includeExpired;
return this;
}
public Boolean getIncludeExpired() {
return this.includeExpired;
}
}