![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.cwp.v20180228.models.DescribeAssetUserListRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.cwp.v20180228.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeAssetUserListRequest extends AbstractModel {
/**
* Query the information on the host with the specified QUUID
*/
@SerializedName("Quuid")
@Expose
private String Quuid;
/**
* Filter criteria
IP - String - required: no - host IP address
MachineName - String - required: no - host name
InstanceID - string - required: no - instance ID
Name - String - required: no - account name (fuzzy match)
NameStrict - String - required: no - account name (strict match)
Uid - uint64 - required: no - UID
Guid - uint64 - required: no - GUID
LoginTimeStart - String - required: no - start time, such as 2021-01-11
LoginTimeEnd - String - required: no - end time, such as 2021-01-11
LoginType - uint64 - required: no - 0 - not allowed to log in; 1 - only key-based log-in allowed; 2 - only password-based log-in allowed; 3 - both key-based and password-based log-in allowed (Linux only)
OsType - String - required: no - Windows or Linux
Status - uint64 - required: no - account status: 0 - disabled; 1 - enabled
UserType - uint64 - required: no - account type: 0 - guest user; 1 - standard user; 2 - administrator user (Windows Only)
IsDomain - uint64 - required: no - whether a domain account: 0 - no; 1 - yes (Windows only)
IsRoot - uint64 - required: no - whether there is root permission: 0 - no; 1 - yes (Linux only)
IsSudo - uint64 - required: no - whether there is sudo permission: 0 - no; 1 - yes (Linux only)
IsSshLogin - uint64 - required: no - whether to use SSH log-in: 0 - no; 1 - yes (Linux only)
ShellLoginStatus - uint64 - required: no - whether to use Shell log-in: 0 - no; 1 - yes (Linux only)
PasswordStatus - uint64 - required: no - password status: 1 - normal; 2 - expiring soon; 3 - expired; 4 - locked (Linux only)
Os -String required: no - operating system (the value of DescribeMachineOsList API)
*/
@SerializedName("Filters")
@Expose
private Filter [] Filters;
/**
* Number of items to be returned. It is 10 by default, and the maximum value is 100.
*/
@SerializedName("Limit")
@Expose
private Long Limit;
/**
* Offset, which is 0 by default.
*/
@SerializedName("Offset")
@Expose
private Long Offset;
/**
* Sorting method: asc for ascending order or desc for descending order
*/
@SerializedName("Order")
@Expose
private String Order;
/**
* Optional sorting method: [FirstTime|LoginTime|PasswordChangeTime|PasswordDuaTime|PasswordLockDays]
*/
@SerializedName("By")
@Expose
private String By;
/**
* Get Query the information on the host with the specified QUUID
* @return Quuid Query the information on the host with the specified QUUID
*/
public String getQuuid() {
return this.Quuid;
}
/**
* Set Query the information on the host with the specified QUUID
* @param Quuid Query the information on the host with the specified QUUID
*/
public void setQuuid(String Quuid) {
this.Quuid = Quuid;
}
/**
* Get Filter criteria
IP - String - required: no - host IP address
MachineName - String - required: no - host name
InstanceID - string - required: no - instance ID
Name - String - required: no - account name (fuzzy match)
NameStrict - String - required: no - account name (strict match)
Uid - uint64 - required: no - UID
Guid - uint64 - required: no - GUID
LoginTimeStart - String - required: no - start time, such as 2021-01-11
LoginTimeEnd - String - required: no - end time, such as 2021-01-11
LoginType - uint64 - required: no - 0 - not allowed to log in; 1 - only key-based log-in allowed; 2 - only password-based log-in allowed; 3 - both key-based and password-based log-in allowed (Linux only)
OsType - String - required: no - Windows or Linux
Status - uint64 - required: no - account status: 0 - disabled; 1 - enabled
UserType - uint64 - required: no - account type: 0 - guest user; 1 - standard user; 2 - administrator user (Windows Only)
IsDomain - uint64 - required: no - whether a domain account: 0 - no; 1 - yes (Windows only)
IsRoot - uint64 - required: no - whether there is root permission: 0 - no; 1 - yes (Linux only)
IsSudo - uint64 - required: no - whether there is sudo permission: 0 - no; 1 - yes (Linux only)
IsSshLogin - uint64 - required: no - whether to use SSH log-in: 0 - no; 1 - yes (Linux only)
ShellLoginStatus - uint64 - required: no - whether to use Shell log-in: 0 - no; 1 - yes (Linux only)
PasswordStatus - uint64 - required: no - password status: 1 - normal; 2 - expiring soon; 3 - expired; 4 - locked (Linux only)
Os -String required: no - operating system (the value of DescribeMachineOsList API)
* @return Filters Filter criteria
IP - String - required: no - host IP address
MachineName - String - required: no - host name
InstanceID - string - required: no - instance ID
Name - String - required: no - account name (fuzzy match)
NameStrict - String - required: no - account name (strict match)
Uid - uint64 - required: no - UID
Guid - uint64 - required: no - GUID
LoginTimeStart - String - required: no - start time, such as 2021-01-11
LoginTimeEnd - String - required: no - end time, such as 2021-01-11
LoginType - uint64 - required: no - 0 - not allowed to log in; 1 - only key-based log-in allowed; 2 - only password-based log-in allowed; 3 - both key-based and password-based log-in allowed (Linux only)
OsType - String - required: no - Windows or Linux
Status - uint64 - required: no - account status: 0 - disabled; 1 - enabled
UserType - uint64 - required: no - account type: 0 - guest user; 1 - standard user; 2 - administrator user (Windows Only)
IsDomain - uint64 - required: no - whether a domain account: 0 - no; 1 - yes (Windows only)
IsRoot - uint64 - required: no - whether there is root permission: 0 - no; 1 - yes (Linux only)
IsSudo - uint64 - required: no - whether there is sudo permission: 0 - no; 1 - yes (Linux only)
IsSshLogin - uint64 - required: no - whether to use SSH log-in: 0 - no; 1 - yes (Linux only)
ShellLoginStatus - uint64 - required: no - whether to use Shell log-in: 0 - no; 1 - yes (Linux only)
PasswordStatus - uint64 - required: no - password status: 1 - normal; 2 - expiring soon; 3 - expired; 4 - locked (Linux only)
Os -String required: no - operating system (the value of DescribeMachineOsList API)
*/
public Filter [] getFilters() {
return this.Filters;
}
/**
* Set Filter criteria
IP - String - required: no - host IP address
MachineName - String - required: no - host name
InstanceID - string - required: no - instance ID
Name - String - required: no - account name (fuzzy match)
NameStrict - String - required: no - account name (strict match)
Uid - uint64 - required: no - UID
Guid - uint64 - required: no - GUID
LoginTimeStart - String - required: no - start time, such as 2021-01-11
LoginTimeEnd - String - required: no - end time, such as 2021-01-11
LoginType - uint64 - required: no - 0 - not allowed to log in; 1 - only key-based log-in allowed; 2 - only password-based log-in allowed; 3 - both key-based and password-based log-in allowed (Linux only)
OsType - String - required: no - Windows or Linux
Status - uint64 - required: no - account status: 0 - disabled; 1 - enabled
UserType - uint64 - required: no - account type: 0 - guest user; 1 - standard user; 2 - administrator user (Windows Only)
IsDomain - uint64 - required: no - whether a domain account: 0 - no; 1 - yes (Windows only)
IsRoot - uint64 - required: no - whether there is root permission: 0 - no; 1 - yes (Linux only)
IsSudo - uint64 - required: no - whether there is sudo permission: 0 - no; 1 - yes (Linux only)
IsSshLogin - uint64 - required: no - whether to use SSH log-in: 0 - no; 1 - yes (Linux only)
ShellLoginStatus - uint64 - required: no - whether to use Shell log-in: 0 - no; 1 - yes (Linux only)
PasswordStatus - uint64 - required: no - password status: 1 - normal; 2 - expiring soon; 3 - expired; 4 - locked (Linux only)
Os -String required: no - operating system (the value of DescribeMachineOsList API)
* @param Filters Filter criteria
IP - String - required: no - host IP address
MachineName - String - required: no - host name
InstanceID - string - required: no - instance ID
Name - String - required: no - account name (fuzzy match)
NameStrict - String - required: no - account name (strict match)
Uid - uint64 - required: no - UID
Guid - uint64 - required: no - GUID
LoginTimeStart - String - required: no - start time, such as 2021-01-11
LoginTimeEnd - String - required: no - end time, such as 2021-01-11
LoginType - uint64 - required: no - 0 - not allowed to log in; 1 - only key-based log-in allowed; 2 - only password-based log-in allowed; 3 - both key-based and password-based log-in allowed (Linux only)
OsType - String - required: no - Windows or Linux
Status - uint64 - required: no - account status: 0 - disabled; 1 - enabled
UserType - uint64 - required: no - account type: 0 - guest user; 1 - standard user; 2 - administrator user (Windows Only)
IsDomain - uint64 - required: no - whether a domain account: 0 - no; 1 - yes (Windows only)
IsRoot - uint64 - required: no - whether there is root permission: 0 - no; 1 - yes (Linux only)
IsSudo - uint64 - required: no - whether there is sudo permission: 0 - no; 1 - yes (Linux only)
IsSshLogin - uint64 - required: no - whether to use SSH log-in: 0 - no; 1 - yes (Linux only)
ShellLoginStatus - uint64 - required: no - whether to use Shell log-in: 0 - no; 1 - yes (Linux only)
PasswordStatus - uint64 - required: no - password status: 1 - normal; 2 - expiring soon; 3 - expired; 4 - locked (Linux only)
Os -String required: no - operating system (the value of DescribeMachineOsList API)
*/
public void setFilters(Filter [] Filters) {
this.Filters = Filters;
}
/**
* Get Number of items to be returned. It is 10 by default, and the maximum value is 100.
* @return Limit Number of items to be returned. It is 10 by default, and the maximum value is 100.
*/
public Long getLimit() {
return this.Limit;
}
/**
* Set Number of items to be returned. It is 10 by default, and the maximum value is 100.
* @param Limit Number of items to be returned. It is 10 by default, and the maximum value is 100.
*/
public void setLimit(Long Limit) {
this.Limit = Limit;
}
/**
* Get Offset, which is 0 by default.
* @return Offset Offset, which is 0 by default.
*/
public Long getOffset() {
return this.Offset;
}
/**
* Set Offset, which is 0 by default.
* @param Offset Offset, which is 0 by default.
*/
public void setOffset(Long Offset) {
this.Offset = Offset;
}
/**
* Get Sorting method: asc for ascending order or desc for descending order
* @return Order Sorting method: asc for ascending order or desc for descending order
*/
public String getOrder() {
return this.Order;
}
/**
* Set Sorting method: asc for ascending order or desc for descending order
* @param Order Sorting method: asc for ascending order or desc for descending order
*/
public void setOrder(String Order) {
this.Order = Order;
}
/**
* Get Optional sorting method: [FirstTime|LoginTime|PasswordChangeTime|PasswordDuaTime|PasswordLockDays]
* @return By Optional sorting method: [FirstTime|LoginTime|PasswordChangeTime|PasswordDuaTime|PasswordLockDays]
*/
public String getBy() {
return this.By;
}
/**
* Set Optional sorting method: [FirstTime|LoginTime|PasswordChangeTime|PasswordDuaTime|PasswordLockDays]
* @param By Optional sorting method: [FirstTime|LoginTime|PasswordChangeTime|PasswordDuaTime|PasswordLockDays]
*/
public void setBy(String By) {
this.By = By;
}
public DescribeAssetUserListRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public DescribeAssetUserListRequest(DescribeAssetUserListRequest source) {
if (source.Quuid != null) {
this.Quuid = new String(source.Quuid);
}
if (source.Filters != null) {
this.Filters = new Filter[source.Filters.length];
for (int i = 0; i < source.Filters.length; i++) {
this.Filters[i] = new Filter(source.Filters[i]);
}
}
if (source.Limit != null) {
this.Limit = new Long(source.Limit);
}
if (source.Offset != null) {
this.Offset = new Long(source.Offset);
}
if (source.Order != null) {
this.Order = new String(source.Order);
}
if (source.By != null) {
this.By = new String(source.By);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Quuid", this.Quuid);
this.setParamArrayObj(map, prefix + "Filters.", this.Filters);
this.setParamSimple(map, prefix + "Limit", this.Limit);
this.setParamSimple(map, prefix + "Offset", this.Offset);
this.setParamSimple(map, prefix + "Order", this.Order);
this.setParamSimple(map, prefix + "By", this.By);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy