
com.aliyun.ims20190815.models.CreateVirtualMFADeviceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ims20190815 Show documentation
Show all versions of ims20190815 Show documentation
Alibaba Cloud Ims (20190815) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ims20190815.models;
import com.aliyun.tea.*;
public class CreateVirtualMFADeviceResponseBody extends TeaModel {
/**
* The ID of the request.
*
* example:
* C609CC97-10FE-43EB-BE32-BDC219D8F1E4
*/
@NameInMap("RequestId")
public String requestId;
/**
* The information of the MFA device.
*/
@NameInMap("VirtualMFADevice")
public CreateVirtualMFADeviceResponseBodyVirtualMFADevice virtualMFADevice;
public static CreateVirtualMFADeviceResponseBody build(java.util.Map map) throws Exception {
CreateVirtualMFADeviceResponseBody self = new CreateVirtualMFADeviceResponseBody();
return TeaModel.build(map, self);
}
public CreateVirtualMFADeviceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateVirtualMFADeviceResponseBody setVirtualMFADevice(CreateVirtualMFADeviceResponseBodyVirtualMFADevice virtualMFADevice) {
this.virtualMFADevice = virtualMFADevice;
return this;
}
public CreateVirtualMFADeviceResponseBodyVirtualMFADevice getVirtualMFADevice() {
return this.virtualMFADevice;
}
public static class CreateVirtualMFADeviceResponseBodyVirtualMFADevice extends TeaModel {
/**
* The key of the MFA device.
*
* example:
* LD3CJ23Z2VGEX6R7ZTQCOA4XL2KODS5PKH7442NLKYX2PVHSHYB7UT3TS5HA****
*/
@NameInMap("Base32StringSeed")
public String base32StringSeed;
/**
* The Base64-encoded QR code of the key.
*
* example:
* YXNkZmFzZDlmeW5hc2Q5OGZoODd4bXJmcThhaGU5aSBmYXNkZiBzYWRmIGFGIDRxd2VjIGEgdHEz****
*/
@NameInMap("QRCodePNG")
public String QRCodePNG;
/**
* The serial number of the MFA device.
*
* example:
* acs:ram::177242285274****:mfa/device001
*/
@NameInMap("SerialNumber")
public String serialNumber;
public static CreateVirtualMFADeviceResponseBodyVirtualMFADevice build(java.util.Map map) throws Exception {
CreateVirtualMFADeviceResponseBodyVirtualMFADevice self = new CreateVirtualMFADeviceResponseBodyVirtualMFADevice();
return TeaModel.build(map, self);
}
public CreateVirtualMFADeviceResponseBodyVirtualMFADevice setBase32StringSeed(String base32StringSeed) {
this.base32StringSeed = base32StringSeed;
return this;
}
public String getBase32StringSeed() {
return this.base32StringSeed;
}
public CreateVirtualMFADeviceResponseBodyVirtualMFADevice setQRCodePNG(String QRCodePNG) {
this.QRCodePNG = QRCodePNG;
return this;
}
public String getQRCodePNG() {
return this.QRCodePNG;
}
public CreateVirtualMFADeviceResponseBodyVirtualMFADevice setSerialNumber(String serialNumber) {
this.serialNumber = serialNumber;
return this;
}
public String getSerialNumber() {
return this.serialNumber;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy