index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/CreateAccountResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.CreateAccountResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAccountResponseUnmarshaller {
public static CreateAccountResponse unmarshall(CreateAccountResponse createAccountResponse, UnmarshallerContext _ctx) {
createAccountResponse.setRequestId(_ctx.stringValue("CreateAccountResponse.RequestId"));
return createAccountResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/CreateBackupPolicyResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.CreateBackupPolicyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateBackupPolicyResponseUnmarshaller {
public static CreateBackupPolicyResponse unmarshall(CreateBackupPolicyResponse createBackupPolicyResponse, UnmarshallerContext _ctx) {
createBackupPolicyResponse.setRequestId(_ctx.stringValue("CreateBackupPolicyResponse.RequestId"));
return createBackupPolicyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/CreateDBInstanceResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.CreateDBInstanceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateDBInstanceResponseUnmarshaller {
public static CreateDBInstanceResponse unmarshall(CreateDBInstanceResponse createDBInstanceResponse, UnmarshallerContext _ctx) {
createDBInstanceResponse.setRequestId(_ctx.stringValue("CreateDBInstanceResponse.RequestId"));
createDBInstanceResponse.setDBClusterId(_ctx.stringValue("CreateDBInstanceResponse.DBClusterId"));
createDBInstanceResponse.setOrderId(_ctx.stringValue("CreateDBInstanceResponse.OrderId"));
return createDBInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/CreateMonitorDataReportResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.CreateMonitorDataReportResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateMonitorDataReportResponseUnmarshaller {
public static CreateMonitorDataReportResponse unmarshall(CreateMonitorDataReportResponse createMonitorDataReportResponse, UnmarshallerContext _ctx) {
createMonitorDataReportResponse.setRequestId(_ctx.stringValue("CreateMonitorDataReportResponse.RequestId"));
return createMonitorDataReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/CreateOSSStorageResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.CreateOSSStorageResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateOSSStorageResponseUnmarshaller {
public static CreateOSSStorageResponse unmarshall(CreateOSSStorageResponse createOSSStorageResponse, UnmarshallerContext _ctx) {
createOSSStorageResponse.setRequestId(_ctx.stringValue("CreateOSSStorageResponse.RequestId"));
return createOSSStorageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/CreatePortsForClickHouseResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.CreatePortsForClickHouseResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreatePortsForClickHouseResponseUnmarshaller {
public static CreatePortsForClickHouseResponse unmarshall(CreatePortsForClickHouseResponse createPortsForClickHouseResponse, UnmarshallerContext _ctx) {
createPortsForClickHouseResponse.setRequestId(_ctx.stringValue("CreatePortsForClickHouseResponse.RequestId"));
return createPortsForClickHouseResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/CreateRDSToClickhouseDbResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.CreateRDSToClickhouseDbResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRDSToClickhouseDbResponseUnmarshaller {
public static CreateRDSToClickhouseDbResponse unmarshall(CreateRDSToClickhouseDbResponse createRDSToClickhouseDbResponse, UnmarshallerContext _ctx) {
createRDSToClickhouseDbResponse.setRequestId(_ctx.stringValue("CreateRDSToClickhouseDbResponse.RequestId"));
createRDSToClickhouseDbResponse.setStatus(_ctx.longValue("CreateRDSToClickhouseDbResponse.Status"));
createRDSToClickhouseDbResponse.setErrorMsg(_ctx.stringValue("CreateRDSToClickhouseDbResponse.ErrorMsg"));
List<String> repeatedDbs = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateRDSToClickhouseDbResponse.RepeatedDbs.Length"); i++) {
repeatedDbs.add(_ctx.stringValue("CreateRDSToClickhouseDbResponse.RepeatedDbs["+ i +"]"));
}
createRDSToClickhouseDbResponse.setRepeatedDbs(repeatedDbs);
return createRDSToClickhouseDbResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/CreateSQLAccountResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.CreateSQLAccountResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateSQLAccountResponseUnmarshaller {
public static CreateSQLAccountResponse unmarshall(CreateSQLAccountResponse createSQLAccountResponse, UnmarshallerContext _ctx) {
createSQLAccountResponse.setRequestId(_ctx.stringValue("CreateSQLAccountResponse.RequestId"));
return createSQLAccountResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/CreateServiceLinkedRoleResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.CreateServiceLinkedRoleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateServiceLinkedRoleResponseUnmarshaller {
public static CreateServiceLinkedRoleResponse unmarshall(CreateServiceLinkedRoleResponse createServiceLinkedRoleResponse, UnmarshallerContext _ctx) {
createServiceLinkedRoleResponse.setRequestId(_ctx.stringValue("CreateServiceLinkedRoleResponse.RequestId"));
return createServiceLinkedRoleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DeleteAccountResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.DeleteAccountResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAccountResponseUnmarshaller {
public static DeleteAccountResponse unmarshall(DeleteAccountResponse deleteAccountResponse, UnmarshallerContext _ctx) {
deleteAccountResponse.setRequestId(_ctx.stringValue("DeleteAccountResponse.RequestId"));
return deleteAccountResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DeleteDBClusterResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.DeleteDBClusterResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteDBClusterResponseUnmarshaller {
public static DeleteDBClusterResponse unmarshall(DeleteDBClusterResponse deleteDBClusterResponse, UnmarshallerContext _ctx) {
deleteDBClusterResponse.setRequestId(_ctx.stringValue("DeleteDBClusterResponse.RequestId"));
return deleteDBClusterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DeleteSyndbResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.DeleteSyndbResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteSyndbResponseUnmarshaller {
public static DeleteSyndbResponse unmarshall(DeleteSyndbResponse deleteSyndbResponse, UnmarshallerContext _ctx) {
deleteSyndbResponse.setRequestId(_ctx.stringValue("DeleteSyndbResponse.RequestId"));
deleteSyndbResponse.setStatus(_ctx.booleanValue("DeleteSyndbResponse.Status"));
deleteSyndbResponse.setErrorMsg(_ctx.stringValue("DeleteSyndbResponse.ErrorMsg"));
deleteSyndbResponse.setErrorCode(_ctx.longValue("DeleteSyndbResponse.ErrorCode"));
return deleteSyndbResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeAccountAuthorityResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeAccountAuthorityResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAccountAuthorityResponseUnmarshaller {
public static DescribeAccountAuthorityResponse unmarshall(DescribeAccountAuthorityResponse describeAccountAuthorityResponse, UnmarshallerContext _ctx) {
describeAccountAuthorityResponse.setRequestId(_ctx.stringValue("DescribeAccountAuthorityResponse.RequestId"));
describeAccountAuthorityResponse.setDdlAuthority(_ctx.booleanValue("DescribeAccountAuthorityResponse.DdlAuthority"));
describeAccountAuthorityResponse.setDmlAuthority(_ctx.stringValue("DescribeAccountAuthorityResponse.DmlAuthority"));
describeAccountAuthorityResponse.setAccountName(_ctx.stringValue("DescribeAccountAuthorityResponse.AccountName"));
List<String> totalDatabases = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeAccountAuthorityResponse.TotalDatabases.Length"); i++) {
totalDatabases.add(_ctx.stringValue("DescribeAccountAuthorityResponse.TotalDatabases["+ i +"]"));
}
describeAccountAuthorityResponse.setTotalDatabases(totalDatabases);
List<String> totalDictionaries = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeAccountAuthorityResponse.TotalDictionaries.Length"); i++) {
totalDictionaries.add(_ctx.stringValue("DescribeAccountAuthorityResponse.TotalDictionaries["+ i +"]"));
}
describeAccountAuthorityResponse.setTotalDictionaries(totalDictionaries);
List<String> allowDictionaries = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeAccountAuthorityResponse.AllowDictionaries.Length"); i++) {
allowDictionaries.add(_ctx.stringValue("DescribeAccountAuthorityResponse.AllowDictionaries["+ i +"]"));
}
describeAccountAuthorityResponse.setAllowDictionaries(allowDictionaries);
List<String> allowDatabases = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeAccountAuthorityResponse.AllowDatabases.Length"); i++) {
allowDatabases.add(_ctx.stringValue("DescribeAccountAuthorityResponse.AllowDatabases["+ i +"]"));
}
describeAccountAuthorityResponse.setAllowDatabases(allowDatabases);
return describeAccountAuthorityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeAccountsResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeAccountsResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeAccountsResponse.Account;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAccountsResponseUnmarshaller {
public static DescribeAccountsResponse unmarshall(DescribeAccountsResponse describeAccountsResponse, UnmarshallerContext _ctx) {
describeAccountsResponse.setRequestId(_ctx.stringValue("DescribeAccountsResponse.RequestId"));
describeAccountsResponse.setTotalCount(_ctx.integerValue("DescribeAccountsResponse.TotalCount"));
describeAccountsResponse.setPageSize(_ctx.integerValue("DescribeAccountsResponse.PageSize"));
describeAccountsResponse.setPageNumber(_ctx.integerValue("DescribeAccountsResponse.PageNumber"));
List<Account> accounts = new ArrayList<Account>();
for (int i = 0; i < _ctx.lengthValue("DescribeAccountsResponse.Accounts.Length"); i++) {
Account account = new Account();
account.setAccountStatus(_ctx.stringValue("DescribeAccountsResponse.Accounts["+ i +"].AccountStatus"));
account.setAccountDescription(_ctx.stringValue("DescribeAccountsResponse.Accounts["+ i +"].AccountDescription"));
account.setAccountType(_ctx.stringValue("DescribeAccountsResponse.Accounts["+ i +"].AccountType"));
account.setAccountName(_ctx.stringValue("DescribeAccountsResponse.Accounts["+ i +"].AccountName"));
account.setConfigType(_ctx.stringValue("DescribeAccountsResponse.Accounts["+ i +"].ConfigType"));
accounts.add(account);
}
describeAccountsResponse.setAccounts(accounts);
return describeAccountsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeAllDataSourceResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeAllDataSourceResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeAllDataSourceResponse.Column;
import com.aliyuncs.clickhouse.model.v20191111.DescribeAllDataSourceResponse.Schema;
import com.aliyuncs.clickhouse.model.v20191111.DescribeAllDataSourceResponse.Table;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAllDataSourceResponseUnmarshaller {
public static DescribeAllDataSourceResponse unmarshall(DescribeAllDataSourceResponse describeAllDataSourceResponse, UnmarshallerContext _ctx) {
describeAllDataSourceResponse.setRequestId(_ctx.stringValue("DescribeAllDataSourceResponse.RequestId"));
List<Table> tables = new ArrayList<Table>();
for (int i = 0; i < _ctx.lengthValue("DescribeAllDataSourceResponse.Tables.Length"); i++) {
Table table = new Table();
table.setTableName(_ctx.stringValue("DescribeAllDataSourceResponse.Tables["+ i +"].TableName"));
table.setDBClusterId(_ctx.stringValue("DescribeAllDataSourceResponse.Tables["+ i +"].DBClusterId"));
table.setSchemaName(_ctx.stringValue("DescribeAllDataSourceResponse.Tables["+ i +"].SchemaName"));
tables.add(table);
}
describeAllDataSourceResponse.setTables(tables);
List<Column> columns = new ArrayList<Column>();
for (int i = 0; i < _ctx.lengthValue("DescribeAllDataSourceResponse.Columns.Length"); i++) {
Column column = new Column();
column.setType(_ctx.stringValue("DescribeAllDataSourceResponse.Columns["+ i +"].Type"));
column.setColumnName(_ctx.stringValue("DescribeAllDataSourceResponse.Columns["+ i +"].ColumnName"));
column.setTableName(_ctx.stringValue("DescribeAllDataSourceResponse.Columns["+ i +"].TableName"));
column.setAutoIncrementColumn(_ctx.booleanValue("DescribeAllDataSourceResponse.Columns["+ i +"].AutoIncrementColumn"));
column.setDBClusterId(_ctx.stringValue("DescribeAllDataSourceResponse.Columns["+ i +"].DBClusterId"));
column.setPrimaryKey(_ctx.booleanValue("DescribeAllDataSourceResponse.Columns["+ i +"].PrimaryKey"));
column.setSchemaName(_ctx.stringValue("DescribeAllDataSourceResponse.Columns["+ i +"].SchemaName"));
columns.add(column);
}
describeAllDataSourceResponse.setColumns(columns);
List<Schema> schemas = new ArrayList<Schema>();
for (int i = 0; i < _ctx.lengthValue("DescribeAllDataSourceResponse.Schemas.Length"); i++) {
Schema schema = new Schema();
schema.setDBClusterId(_ctx.stringValue("DescribeAllDataSourceResponse.Schemas["+ i +"].DBClusterId"));
schema.setSchemaName(_ctx.stringValue("DescribeAllDataSourceResponse.Schemas["+ i +"].SchemaName"));
schemas.add(schema);
}
describeAllDataSourceResponse.setSchemas(schemas);
return describeAllDataSourceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeAllDataSourcesResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeAllDataSourcesResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeAllDataSourcesResponse.Column;
import com.aliyuncs.clickhouse.model.v20191111.DescribeAllDataSourcesResponse.Schema;
import com.aliyuncs.clickhouse.model.v20191111.DescribeAllDataSourcesResponse.Table;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAllDataSourcesResponseUnmarshaller {
public static DescribeAllDataSourcesResponse unmarshall(DescribeAllDataSourcesResponse describeAllDataSourcesResponse, UnmarshallerContext _ctx) {
describeAllDataSourcesResponse.setRequestId(_ctx.stringValue("DescribeAllDataSourcesResponse.RequestId"));
List<Table> tables = new ArrayList<Table>();
for (int i = 0; i < _ctx.lengthValue("DescribeAllDataSourcesResponse.Tables.Length"); i++) {
Table table = new Table();
table.setTableName(_ctx.stringValue("DescribeAllDataSourcesResponse.Tables["+ i +"].TableName"));
table.setDBClusterId(_ctx.stringValue("DescribeAllDataSourcesResponse.Tables["+ i +"].DBClusterId"));
table.setSchemaName(_ctx.stringValue("DescribeAllDataSourcesResponse.Tables["+ i +"].SchemaName"));
tables.add(table);
}
describeAllDataSourcesResponse.setTables(tables);
List<Column> columns = new ArrayList<Column>();
for (int i = 0; i < _ctx.lengthValue("DescribeAllDataSourcesResponse.Columns.Length"); i++) {
Column column = new Column();
column.setType(_ctx.stringValue("DescribeAllDataSourcesResponse.Columns["+ i +"].Type"));
column.setColumnName(_ctx.stringValue("DescribeAllDataSourcesResponse.Columns["+ i +"].ColumnName"));
column.setTableName(_ctx.stringValue("DescribeAllDataSourcesResponse.Columns["+ i +"].TableName"));
column.setAutoIncrementColumn(_ctx.booleanValue("DescribeAllDataSourcesResponse.Columns["+ i +"].AutoIncrementColumn"));
column.setDBClusterId(_ctx.stringValue("DescribeAllDataSourcesResponse.Columns["+ i +"].DBClusterId"));
column.setPrimaryKey(_ctx.booleanValue("DescribeAllDataSourcesResponse.Columns["+ i +"].PrimaryKey"));
column.setSchemaName(_ctx.stringValue("DescribeAllDataSourcesResponse.Columns["+ i +"].SchemaName"));
columns.add(column);
}
describeAllDataSourcesResponse.setColumns(columns);
List<Schema> schemas = new ArrayList<Schema>();
for (int i = 0; i < _ctx.lengthValue("DescribeAllDataSourcesResponse.Schemas.Length"); i++) {
Schema schema = new Schema();
schema.setDBClusterId(_ctx.stringValue("DescribeAllDataSourcesResponse.Schemas["+ i +"].DBClusterId"));
schema.setSchemaName(_ctx.stringValue("DescribeAllDataSourcesResponse.Schemas["+ i +"].SchemaName"));
schemas.add(schema);
}
describeAllDataSourcesResponse.setSchemas(schemas);
return describeAllDataSourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeBackupPolicyResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.DescribeBackupPolicyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeBackupPolicyResponseUnmarshaller {
public static DescribeBackupPolicyResponse unmarshall(DescribeBackupPolicyResponse describeBackupPolicyResponse, UnmarshallerContext _ctx) {
describeBackupPolicyResponse.setRequestId(_ctx.stringValue("DescribeBackupPolicyResponse.RequestId"));
describeBackupPolicyResponse.setPreferredBackupPeriod(_ctx.stringValue("DescribeBackupPolicyResponse.PreferredBackupPeriod"));
describeBackupPolicyResponse.set_Switch(_ctx.stringValue("DescribeBackupPolicyResponse.Switch"));
describeBackupPolicyResponse.setPreferredBackupTime(_ctx.stringValue("DescribeBackupPolicyResponse.PreferredBackupTime"));
describeBackupPolicyResponse.setBackupRetentionPeriod(_ctx.integerValue("DescribeBackupPolicyResponse.BackupRetentionPeriod"));
describeBackupPolicyResponse.setBackupSize(_ctx.stringValue("DescribeBackupPolicyResponse.BackupSize"));
return describeBackupPolicyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeBackupsResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeBackupsResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeBackupsResponse.Backup;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeBackupsResponseUnmarshaller {
public static DescribeBackupsResponse unmarshall(DescribeBackupsResponse describeBackupsResponse, UnmarshallerContext _ctx) {
describeBackupsResponse.setRequestId(_ctx.stringValue("DescribeBackupsResponse.RequestId"));
describeBackupsResponse.setTotalCount(_ctx.stringValue("DescribeBackupsResponse.TotalCount"));
describeBackupsResponse.setPageSize(_ctx.stringValue("DescribeBackupsResponse.PageSize"));
describeBackupsResponse.setPageNumber(_ctx.stringValue("DescribeBackupsResponse.PageNumber"));
List<Backup> items = new ArrayList<Backup>();
for (int i = 0; i < _ctx.lengthValue("DescribeBackupsResponse.Items.Length"); i++) {
Backup backup = new Backup();
backup.setDBClusterId(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].DBClusterId"));
backup.setBackupStatus(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].BackupStatus"));
backup.setBackupType(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].BackupType"));
backup.setBackupStartTime(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].BackupStartTime"));
backup.setBackupSize(_ctx.longValue("DescribeBackupsResponse.Items["+ i +"].BackupSize"));
backup.setBackupEndTime(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].BackupEndTime"));
backup.setBackupSetInfo(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].BackupSetInfo"));
backup.setBackupId(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].BackupId"));
backup.setBackupMethod(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].BackupMethod"));
backup.setExpireDate(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].ExpireDate"));
items.add(backup);
}
describeBackupsResponse.setItems(items);
return describeBackupsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeColumnsResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeColumnsResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeColumnsResponse.Column;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeColumnsResponseUnmarshaller {
public static DescribeColumnsResponse unmarshall(DescribeColumnsResponse describeColumnsResponse, UnmarshallerContext _ctx) {
describeColumnsResponse.setRequestId(_ctx.stringValue("DescribeColumnsResponse.RequestId"));
List<Column> items = new ArrayList<Column>();
for (int i = 0; i < _ctx.lengthValue("DescribeColumnsResponse.Items.Length"); i++) {
Column column = new Column();
column.setType(_ctx.stringValue("DescribeColumnsResponse.Items["+ i +"].Type"));
column.setColumnName(_ctx.stringValue("DescribeColumnsResponse.Items["+ i +"].ColumnName"));
column.setTableName(_ctx.stringValue("DescribeColumnsResponse.Items["+ i +"].TableName"));
column.setAutoIncrementColumn(_ctx.booleanValue("DescribeColumnsResponse.Items["+ i +"].AutoIncrementColumn"));
column.setDBClusterId(_ctx.stringValue("DescribeColumnsResponse.Items["+ i +"].DBClusterId"));
column.setPrimaryKey(_ctx.booleanValue("DescribeColumnsResponse.Items["+ i +"].PrimaryKey"));
column.setSchemaName(_ctx.stringValue("DescribeColumnsResponse.Items["+ i +"].SchemaName"));
items.add(column);
}
describeColumnsResponse.setItems(items);
return describeColumnsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeConfigHistoryResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeConfigHistoryResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeConfigHistoryResponse.ConfigHistoryItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeConfigHistoryResponseUnmarshaller {
public static DescribeConfigHistoryResponse unmarshall(DescribeConfigHistoryResponse describeConfigHistoryResponse, UnmarshallerContext _ctx) {
describeConfigHistoryResponse.setRequestId(_ctx.stringValue("DescribeConfigHistoryResponse.RequestId"));
List<ConfigHistoryItem> configHistoryItems = new ArrayList<ConfigHistoryItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeConfigHistoryResponse.ConfigHistoryItems.Length"); i++) {
ConfigHistoryItem configHistoryItem = new ConfigHistoryItem();
configHistoryItem.setTime(_ctx.stringValue("DescribeConfigHistoryResponse.ConfigHistoryItems["+ i +"].Time"));
configHistoryItem.setOwnerId(_ctx.stringValue("DescribeConfigHistoryResponse.ConfigHistoryItems["+ i +"].OwnerId"));
configHistoryItem.setReason(_ctx.stringValue("DescribeConfigHistoryResponse.ConfigHistoryItems["+ i +"].Reason"));
configHistoryItem.setSuccess(_ctx.booleanValue("DescribeConfigHistoryResponse.ConfigHistoryItems["+ i +"].Success"));
configHistoryItem.setChangeId(_ctx.stringValue("DescribeConfigHistoryResponse.ConfigHistoryItems["+ i +"].ChangeId"));
configHistoryItems.add(configHistoryItem);
}
describeConfigHistoryResponse.setConfigHistoryItems(configHistoryItems);
return describeConfigHistoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeConfigVersionDifferenceResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.DescribeConfigVersionDifferenceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeConfigVersionDifferenceResponseUnmarshaller {
public static DescribeConfigVersionDifferenceResponse unmarshall(DescribeConfigVersionDifferenceResponse describeConfigVersionDifferenceResponse, UnmarshallerContext _ctx) {
describeConfigVersionDifferenceResponse.setRequestId(_ctx.stringValue("DescribeConfigVersionDifferenceResponse.RequestId"));
describeConfigVersionDifferenceResponse.setOldConfigXML(_ctx.stringValue("DescribeConfigVersionDifferenceResponse.OldConfigXML"));
describeConfigVersionDifferenceResponse.setNewConfigXML(_ctx.stringValue("DescribeConfigVersionDifferenceResponse.NewConfigXML"));
return describeConfigVersionDifferenceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeDBClusterAccessWhiteListResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterAccessWhiteListResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterAccessWhiteListResponse.IPArray;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDBClusterAccessWhiteListResponseUnmarshaller {
public static DescribeDBClusterAccessWhiteListResponse unmarshall(DescribeDBClusterAccessWhiteListResponse describeDBClusterAccessWhiteListResponse, UnmarshallerContext _ctx) {
describeDBClusterAccessWhiteListResponse.setRequestId(_ctx.stringValue("DescribeDBClusterAccessWhiteListResponse.RequestId"));
List<IPArray> dBClusterAccessWhiteList = new ArrayList<IPArray>();
for (int i = 0; i < _ctx.lengthValue("DescribeDBClusterAccessWhiteListResponse.DBClusterAccessWhiteList.Length"); i++) {
IPArray iPArray = new IPArray();
iPArray.setDBClusterIPArrayAttribute(_ctx.stringValue("DescribeDBClusterAccessWhiteListResponse.DBClusterAccessWhiteList["+ i +"].DBClusterIPArrayAttribute"));
iPArray.setSecurityIPList(_ctx.stringValue("DescribeDBClusterAccessWhiteListResponse.DBClusterAccessWhiteList["+ i +"].SecurityIPList"));
iPArray.setDBClusterIPArrayName(_ctx.stringValue("DescribeDBClusterAccessWhiteListResponse.DBClusterAccessWhiteList["+ i +"].DBClusterIPArrayName"));
dBClusterAccessWhiteList.add(iPArray);
}
describeDBClusterAccessWhiteListResponse.setDBClusterAccessWhiteList(dBClusterAccessWhiteList);
return describeDBClusterAccessWhiteListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeDBClusterAttributeResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterAttributeResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterAttributeResponse.DBCluster;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterAttributeResponse.DBCluster.ScaleOutStatus;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterAttributeResponse.DBCluster.Tag;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDBClusterAttributeResponseUnmarshaller {
public static DescribeDBClusterAttributeResponse unmarshall(DescribeDBClusterAttributeResponse describeDBClusterAttributeResponse, UnmarshallerContext _ctx) {
describeDBClusterAttributeResponse.setRequestId(_ctx.stringValue("DescribeDBClusterAttributeResponse.RequestId"));
DBCluster dBCluster = new DBCluster();
dBCluster.setVpcId(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.VpcId"));
dBCluster.setSupportBackup(_ctx.integerValue("DescribeDBClusterAttributeResponse.DBCluster.SupportBackup"));
dBCluster.setSupportOss(_ctx.integerValue("DescribeDBClusterAttributeResponse.DBCluster.SupportOss"));
dBCluster.setEncryptionType(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.EncryptionType"));
dBCluster.setDBNodeCount(_ctx.longValue("DescribeDBClusterAttributeResponse.DBCluster.DBNodeCount"));
dBCluster.setMaintainTime(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.MaintainTime"));
dBCluster.setCreateTime(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.CreateTime"));
dBCluster.setPayType(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.PayType"));
dBCluster.setPublicConnectionString(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.PublicConnectionString"));
dBCluster.setStorageType(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.StorageType"));
dBCluster.setPort(_ctx.integerValue("DescribeDBClusterAttributeResponse.DBCluster.Port"));
dBCluster.setLockMode(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.LockMode"));
dBCluster.setBid(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.Bid"));
dBCluster.setEngineVersion(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.EngineVersion"));
dBCluster.setIsExpired(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.IsExpired"));
dBCluster.setVpcCloudInstanceId(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.VpcCloudInstanceId"));
dBCluster.setDBClusterId(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.DBClusterId"));
dBCluster.setConnectionString(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.ConnectionString"));
dBCluster.setEncryptionKey(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.EncryptionKey"));
dBCluster.setDBClusterType(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.DBClusterType"));
dBCluster.setCommodityCode(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.CommodityCode"));
dBCluster.setExpireTime(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.ExpireTime"));
dBCluster.setDBNodeStorage(_ctx.longValue("DescribeDBClusterAttributeResponse.DBCluster.DBNodeStorage"));
dBCluster.setDBNodeClass(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.DBNodeClass"));
dBCluster.setAliUid(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.AliUid"));
dBCluster.setLockReason(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.LockReason"));
dBCluster.setRegionId(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.RegionId"));
dBCluster.setPublicPort(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.PublicPort"));
dBCluster.setVSwitchId(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.VSwitchId"));
dBCluster.setDBClusterStatus(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.DBClusterStatus"));
dBCluster.setDBClusterNetworkType(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.DBClusterNetworkType"));
dBCluster.setDBClusterDescription(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.DBClusterDescription"));
dBCluster.setZoneId(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.ZoneId"));
dBCluster.setCategory(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.Category"));
dBCluster.setEngine(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.Engine"));
dBCluster.setSupportMysqlPort(_ctx.booleanValue("DescribeDBClusterAttributeResponse.DBCluster.SupportMysqlPort"));
dBCluster.setSupportHttpsPort(_ctx.booleanValue("DescribeDBClusterAttributeResponse.DBCluster.SupportHttpsPort"));
dBCluster.setControlVersion(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.ControlVersion"));
dBCluster.setPublicIpAddr(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.PublicIpAddr"));
dBCluster.setVpcIpAddr(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.VpcIpAddr"));
dBCluster.setEngineMinorVersion(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.EngineMinorVersion"));
dBCluster.setEngineLatestMinorVersion(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.EngineLatestMinorVersion"));
dBCluster.setMaintainAutoType(_ctx.booleanValue("DescribeDBClusterAttributeResponse.DBCluster.MaintainAutoType"));
dBCluster.setExtStorageType(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.ExtStorageType"));
dBCluster.setExtStorageSize(_ctx.integerValue("DescribeDBClusterAttributeResponse.DBCluster.ExtStorageSize"));
dBCluster.setResourceGroupId(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.ResourceGroupId"));
dBCluster.setZookeeperClass(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.ZookeeperClass"));
dBCluster.setAppointmentRestartTime(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.AppointmentRestartTime"));
dBCluster.setZoneIdVswitchMap(_ctx.mapValue("DescribeDBClusterAttributeResponse.DBCluster.ZoneIdVswitchMap"));
dBCluster.setAvailableUpgradeMajorVersion(_ctx.mapValue("DescribeDBClusterAttributeResponse.DBCluster.AvailableUpgradeMajorVersion"));
dBCluster.setAppointmentRestartNodeTime(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.AppointmentRestartNodeTime"));
dBCluster.setAppointmentRestartNodeList(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.AppointmentRestartNodeList"));
dBCluster.setAppointmentElectZookeeperTime(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.AppointmentElectZookeeperTime"));
dBCluster.setAppointmentElectZookeeperDisableWrite(_ctx.booleanValue("DescribeDBClusterAttributeResponse.DBCluster.AppointmentElectZookeeperDisableWrite"));
ScaleOutStatus scaleOutStatus = new ScaleOutStatus();
scaleOutStatus.setProgress(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.ScaleOutStatus.Progress"));
scaleOutStatus.setRatio(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.ScaleOutStatus.Ratio"));
dBCluster.setScaleOutStatus(scaleOutStatus);
List<Tag> tags = new ArrayList<Tag>();
for (int i = 0; i < _ctx.lengthValue("DescribeDBClusterAttributeResponse.DBCluster.Tags.Length"); i++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.Tags["+ i +"].Key"));
tag.setValue(_ctx.stringValue("DescribeDBClusterAttributeResponse.DBCluster.Tags["+ i +"].Value"));
tags.add(tag);
}
dBCluster.setTags(tags);
describeDBClusterAttributeResponse.setDBCluster(dBCluster);
return describeDBClusterAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeDBClusterConfigInXMLResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterConfigInXMLResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDBClusterConfigInXMLResponseUnmarshaller {
public static DescribeDBClusterConfigInXMLResponse unmarshall(DescribeDBClusterConfigInXMLResponse describeDBClusterConfigInXMLResponse, UnmarshallerContext _ctx) {
describeDBClusterConfigInXMLResponse.setRequestId(_ctx.stringValue("DescribeDBClusterConfigInXMLResponse.RequestId"));
describeDBClusterConfigInXMLResponse.setConfig(_ctx.stringValue("DescribeDBClusterConfigInXMLResponse.Config"));
return describeDBClusterConfigInXMLResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeDBClusterConfigResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDBClusterConfigResponseUnmarshaller {
public static DescribeDBClusterConfigResponse unmarshall(DescribeDBClusterConfigResponse describeDBClusterConfigResponse, UnmarshallerContext _ctx) {
describeDBClusterConfigResponse.setRequestId(_ctx.stringValue("DescribeDBClusterConfigResponse.RequestId"));
describeDBClusterConfigResponse.setConfig(_ctx.stringValue("DescribeDBClusterConfigResponse.Config"));
return describeDBClusterConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeDBClusterNetInfoItemsResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterNetInfoItemsResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterNetInfoItemsResponse.NetInfoItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDBClusterNetInfoItemsResponseUnmarshaller {
public static DescribeDBClusterNetInfoItemsResponse unmarshall(DescribeDBClusterNetInfoItemsResponse describeDBClusterNetInfoItemsResponse, UnmarshallerContext _ctx) {
describeDBClusterNetInfoItemsResponse.setRequestId(_ctx.stringValue("DescribeDBClusterNetInfoItemsResponse.RequestId"));
describeDBClusterNetInfoItemsResponse.setClusterNetworkType(_ctx.stringValue("DescribeDBClusterNetInfoItemsResponse.ClusterNetworkType"));
describeDBClusterNetInfoItemsResponse.setEnableSLB(_ctx.booleanValue("DescribeDBClusterNetInfoItemsResponse.EnableSLB"));
List<NetInfoItem> netInfoItems = new ArrayList<NetInfoItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeDBClusterNetInfoItemsResponse.NetInfoItems.Length"); i++) {
NetInfoItem netInfoItem = new NetInfoItem();
netInfoItem.setVpcId(_ctx.stringValue("DescribeDBClusterNetInfoItemsResponse.NetInfoItems["+ i +"].VpcId"));
netInfoItem.setVSwitchId(_ctx.stringValue("DescribeDBClusterNetInfoItemsResponse.NetInfoItems["+ i +"].VSwitchId"));
netInfoItem.setConnectionString(_ctx.stringValue("DescribeDBClusterNetInfoItemsResponse.NetInfoItems["+ i +"].ConnectionString"));
netInfoItem.setJdbcPort(_ctx.stringValue("DescribeDBClusterNetInfoItemsResponse.NetInfoItems["+ i +"].JdbcPort"));
netInfoItem.setNetType(_ctx.stringValue("DescribeDBClusterNetInfoItemsResponse.NetInfoItems["+ i +"].NetType"));
netInfoItem.setHttpPort(_ctx.stringValue("DescribeDBClusterNetInfoItemsResponse.NetInfoItems["+ i +"].HttpPort"));
netInfoItem.setIPAddress(_ctx.stringValue("DescribeDBClusterNetInfoItemsResponse.NetInfoItems["+ i +"].IPAddress"));
netInfoItem.setHttpsPort(_ctx.stringValue("DescribeDBClusterNetInfoItemsResponse.NetInfoItems["+ i +"].HttpsPort"));
netInfoItem.setMySQLPort(_ctx.stringValue("DescribeDBClusterNetInfoItemsResponse.NetInfoItems["+ i +"].MySQLPort"));
netInfoItems.add(netInfoItem);
}
describeDBClusterNetInfoItemsResponse.setNetInfoItems(netInfoItems);
return describeDBClusterNetInfoItemsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeDBClusterPerformanceResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterPerformanceResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterPerformanceResponse.PerformanceItem;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterPerformanceResponse.PerformanceItem.SeriesItem;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClusterPerformanceResponse.PerformanceItem.SeriesItem.ValueItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDBClusterPerformanceResponseUnmarshaller {
public static DescribeDBClusterPerformanceResponse unmarshall(DescribeDBClusterPerformanceResponse describeDBClusterPerformanceResponse, UnmarshallerContext _ctx) {
describeDBClusterPerformanceResponse.setRequestId(_ctx.stringValue("DescribeDBClusterPerformanceResponse.RequestId"));
describeDBClusterPerformanceResponse.setEndTime(_ctx.stringValue("DescribeDBClusterPerformanceResponse.EndTime"));
describeDBClusterPerformanceResponse.setStartTime(_ctx.stringValue("DescribeDBClusterPerformanceResponse.StartTime"));
describeDBClusterPerformanceResponse.setDBClusterId(_ctx.stringValue("DescribeDBClusterPerformanceResponse.DBClusterId"));
List<PerformanceItem> performances = new ArrayList<PerformanceItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeDBClusterPerformanceResponse.Performances.Length"); i++) {
PerformanceItem performanceItem = new PerformanceItem();
performanceItem.setKey(_ctx.stringValue("DescribeDBClusterPerformanceResponse.Performances["+ i +"].Key"));
performanceItem.setUnit(_ctx.stringValue("DescribeDBClusterPerformanceResponse.Performances["+ i +"].Unit"));
performanceItem.setName(_ctx.stringValue("DescribeDBClusterPerformanceResponse.Performances["+ i +"].Name"));
List<SeriesItem> series = new ArrayList<SeriesItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeDBClusterPerformanceResponse.Performances["+ i +"].Series.Length"); j++) {
SeriesItem seriesItem = new SeriesItem();
seriesItem.setName(_ctx.stringValue("DescribeDBClusterPerformanceResponse.Performances["+ i +"].Series["+ j +"].Name"));
List<ValueItem> values = new ArrayList<ValueItem>();
for (int k = 0; k < _ctx.lengthValue("DescribeDBClusterPerformanceResponse.Performances["+ i +"].Series["+ j +"].Values.Length"); k++) {
ValueItem valueItem = new ValueItem();
List<String> point = new ArrayList<String>();
for (int l = 0; l < _ctx.lengthValue("DescribeDBClusterPerformanceResponse.Performances["+ i +"].Series["+ j +"].Values["+ k +"].Point.Length"); l++) {
point.add(_ctx.stringValue("DescribeDBClusterPerformanceResponse.Performances["+ i +"].Series["+ j +"].Values["+ k +"].Point["+ l +"]"));
}
valueItem.setPoint(point);
values.add(valueItem);
}
seriesItem.setValues(values);
series.add(seriesItem);
}
performanceItem.setSeries(series);
performances.add(performanceItem);
}
describeDBClusterPerformanceResponse.setPerformances(performances);
return describeDBClusterPerformanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeDBClustersResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClustersResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClustersResponse.DBCluster;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClustersResponse.DBCluster.ScaleOutStatus;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBClustersResponse.DBCluster.Tag;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDBClustersResponseUnmarshaller {
public static DescribeDBClustersResponse unmarshall(DescribeDBClustersResponse describeDBClustersResponse, UnmarshallerContext _ctx) {
describeDBClustersResponse.setRequestId(_ctx.stringValue("DescribeDBClustersResponse.RequestId"));
describeDBClustersResponse.setTotalCount(_ctx.integerValue("DescribeDBClustersResponse.TotalCount"));
describeDBClustersResponse.setPageSize(_ctx.integerValue("DescribeDBClustersResponse.PageSize"));
describeDBClustersResponse.setPageNumber(_ctx.integerValue("DescribeDBClustersResponse.PageNumber"));
List<DBCluster> dBClusters = new ArrayList<DBCluster>();
for (int i = 0; i < _ctx.lengthValue("DescribeDBClustersResponse.DBClusters.Length"); i++) {
DBCluster dBCluster = new DBCluster();
dBCluster.setVpcId(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].VpcId"));
dBCluster.setDBNodeCount(_ctx.longValue("DescribeDBClustersResponse.DBClusters["+ i +"].DBNodeCount"));
dBCluster.setCreateTime(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].CreateTime"));
dBCluster.setPayType(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].PayType"));
dBCluster.setStorageType(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].StorageType"));
dBCluster.setPort(_ctx.integerValue("DescribeDBClustersResponse.DBClusters["+ i +"].Port"));
dBCluster.setLockMode(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].LockMode"));
dBCluster.setBid(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].Bid"));
dBCluster.setIsExpired(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].IsExpired"));
dBCluster.setVpcCloudInstanceId(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].VpcCloudInstanceId"));
dBCluster.setScaleOutDisableWriteWindows(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].ScaleOutDisableWriteWindows"));
dBCluster.setDBClusterId(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].DBClusterId"));
dBCluster.setConnectionString(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].ConnectionString"));
dBCluster.setCommodityCode(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].CommodityCode"));
dBCluster.setExpireTime(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].ExpireTime"));
dBCluster.setDBNodeStorage(_ctx.longValue("DescribeDBClustersResponse.DBClusters["+ i +"].DBNodeStorage"));
dBCluster.setDBNodeClass(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].DBNodeClass"));
dBCluster.setAliUid(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].AliUid"));
dBCluster.setLockReason(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].LockReason"));
dBCluster.setRegionId(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].RegionId"));
dBCluster.setVSwitchId(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].VSwitchId"));
dBCluster.setDBClusterStatus(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].DBClusterStatus"));
dBCluster.setDBClusterDescription(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].DBClusterDescription"));
dBCluster.setDBClusterNetworkType(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].DBClusterNetworkType"));
dBCluster.setZoneId(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].ZoneId"));
dBCluster.setCategory(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].Category"));
dBCluster.setControlVersion(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].ControlVersion"));
dBCluster.setExtStorageType(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].ExtStorageType"));
dBCluster.setExtStorageSize(_ctx.integerValue("DescribeDBClustersResponse.DBClusters["+ i +"].ExtStorageSize"));
dBCluster.setResourceGroupId(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].ResourceGroupId"));
dBCluster.setDbVersion(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].DbVersion"));
ScaleOutStatus scaleOutStatus = new ScaleOutStatus();
scaleOutStatus.setProgress(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].ScaleOutStatus.Progress"));
scaleOutStatus.setRatio(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].ScaleOutStatus.Ratio"));
dBCluster.setScaleOutStatus(scaleOutStatus);
List<Tag> tags = new ArrayList<Tag>();
for (int j = 0; j < _ctx.lengthValue("DescribeDBClustersResponse.DBClusters["+ i +"].Tags.Length"); j++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].Tags["+ j +"].Key"));
tag.setValue(_ctx.stringValue("DescribeDBClustersResponse.DBClusters["+ i +"].Tags["+ j +"].Value"));
tags.add(tag);
}
dBCluster.setTags(tags);
dBClusters.add(dBCluster);
}
describeDBClustersResponse.setDBClusters(dBClusters);
return describeDBClustersResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeDBConfigResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.DescribeDBConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDBConfigResponseUnmarshaller {
public static DescribeDBConfigResponse unmarshall(DescribeDBConfigResponse describeDBConfigResponse, UnmarshallerContext _ctx) {
describeDBConfigResponse.setRequestId(_ctx.stringValue("DescribeDBConfigResponse.RequestId"));
describeDBConfigResponse.setConfig(_ctx.stringValue("DescribeDBConfigResponse.Config"));
return describeDBConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeOSSStorageResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.DescribeOSSStorageResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeOSSStorageResponseUnmarshaller {
public static DescribeOSSStorageResponse unmarshall(DescribeOSSStorageResponse describeOSSStorageResponse, UnmarshallerContext _ctx) {
describeOSSStorageResponse.setRequestId(_ctx.stringValue("DescribeOSSStorageResponse.RequestId"));
describeOSSStorageResponse.setPolicy(_ctx.stringValue("DescribeOSSStorageResponse.Policy"));
describeOSSStorageResponse.setState(_ctx.stringValue("DescribeOSSStorageResponse.State"));
describeOSSStorageResponse.setColdStorage(_ctx.booleanValue("DescribeOSSStorageResponse.ColdStorage"));
describeOSSStorageResponse.setStorageUsage(_ctx.stringValue("DescribeOSSStorageResponse.StorageUsage"));
return describeOSSStorageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeProcessListResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeProcessListResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeProcessListResponse.ProcessList;
import com.aliyuncs.clickhouse.model.v20191111.DescribeProcessListResponse.ProcessList.ResultSet;
import com.aliyuncs.clickhouse.model.v20191111.DescribeProcessListResponse.ProcessList.ResultSet1;
import com.aliyuncs.clickhouse.model.v20191111.DescribeProcessListResponse.ProcessList.Statistics;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeProcessListResponseUnmarshaller {
public static DescribeProcessListResponse unmarshall(DescribeProcessListResponse describeProcessListResponse, UnmarshallerContext _ctx) {
describeProcessListResponse.setRequestId(_ctx.stringValue("DescribeProcessListResponse.RequestId"));
ProcessList processList = new ProcessList();
processList.setRows(_ctx.stringValue("DescribeProcessListResponse.ProcessList.Rows"));
processList.setRowsBeforeLimitAtLeast(_ctx.stringValue("DescribeProcessListResponse.ProcessList.RowsBeforeLimitAtLeast"));
Statistics statistics = new Statistics();
statistics.setRowsRead(_ctx.integerValue("DescribeProcessListResponse.ProcessList.Statistics.RowsRead"));
statistics.setElapsedTime(_ctx.floatValue("DescribeProcessListResponse.ProcessList.Statistics.ElapsedTime"));
statistics.setBytesRead(_ctx.integerValue("DescribeProcessListResponse.ProcessList.Statistics.BytesRead"));
processList.setStatistics(statistics);
List<ResultSet> tableSchema = new ArrayList<ResultSet>();
for (int i = 0; i < _ctx.lengthValue("DescribeProcessListResponse.ProcessList.TableSchema.Length"); i++) {
ResultSet resultSet = new ResultSet();
resultSet.setType(_ctx.stringValue("DescribeProcessListResponse.ProcessList.TableSchema["+ i +"].Type"));
resultSet.setName(_ctx.stringValue("DescribeProcessListResponse.ProcessList.TableSchema["+ i +"].Name"));
tableSchema.add(resultSet);
}
processList.setTableSchema(tableSchema);
List<ResultSet1> data = new ArrayList<ResultSet1>();
for (int i = 0; i < _ctx.lengthValue("DescribeProcessListResponse.ProcessList.Data.Length"); i++) {
ResultSet1 resultSet1 = new ResultSet1();
resultSet1.setQueryStartTime(_ctx.stringValue("DescribeProcessListResponse.ProcessList.Data["+ i +"].QueryStartTime"));
resultSet1.setQuery(_ctx.stringValue("DescribeProcessListResponse.ProcessList.Data["+ i +"].Query"));
resultSet1.setInitialAddress(_ctx.stringValue("DescribeProcessListResponse.ProcessList.Data["+ i +"].InitialAddress"));
resultSet1.setInitialQueryId(_ctx.stringValue("DescribeProcessListResponse.ProcessList.Data["+ i +"].InitialQueryId"));
resultSet1.setInitialUser(_ctx.stringValue("DescribeProcessListResponse.ProcessList.Data["+ i +"].InitialUser"));
resultSet1.setQueryDurationMs(_ctx.stringValue("DescribeProcessListResponse.ProcessList.Data["+ i +"].QueryDurationMs"));
data.add(resultSet1);
}
processList.setData(data);
describeProcessListResponse.setProcessList(processList);
return describeProcessListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeRegionsResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeRegionsResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeRegionsResponse.Region;
import com.aliyuncs.clickhouse.model.v20191111.DescribeRegionsResponse.Region.Zone;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRegionsResponseUnmarshaller {
public static DescribeRegionsResponse unmarshall(DescribeRegionsResponse describeRegionsResponse, UnmarshallerContext _ctx) {
describeRegionsResponse.setRequestId(_ctx.stringValue("DescribeRegionsResponse.RequestId"));
List<Region> regions = new ArrayList<Region>();
for (int i = 0; i < _ctx.lengthValue("DescribeRegionsResponse.Regions.Length"); i++) {
Region region = new Region();
region.setRegionId(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionId"));
List<Zone> zones = new ArrayList<Zone>();
for (int j = 0; j < _ctx.lengthValue("DescribeRegionsResponse.Regions["+ i +"].Zones.Length"); j++) {
Zone zone = new Zone();
zone.setZoneId(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].Zones["+ j +"].ZoneId"));
zone.setVpcEnabled(_ctx.booleanValue("DescribeRegionsResponse.Regions["+ i +"].Zones["+ j +"].VpcEnabled"));
zones.add(zone);
}
region.setZones(zones);
regions.add(region);
}
describeRegionsResponse.setRegions(regions);
return describeRegionsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeSchemasResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeSchemasResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeSchemasResponse.Schema;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSchemasResponseUnmarshaller {
public static DescribeSchemasResponse unmarshall(DescribeSchemasResponse describeSchemasResponse, UnmarshallerContext _ctx) {
describeSchemasResponse.setRequestId(_ctx.stringValue("DescribeSchemasResponse.RequestId"));
List<Schema> items = new ArrayList<Schema>();
for (int i = 0; i < _ctx.lengthValue("DescribeSchemasResponse.Items.Length"); i++) {
Schema schema = new Schema();
schema.setDBClusterId(_ctx.stringValue("DescribeSchemasResponse.Items["+ i +"].DBClusterId"));
schema.setSchemaName(_ctx.stringValue("DescribeSchemasResponse.Items["+ i +"].SchemaName"));
items.add(schema);
}
describeSchemasResponse.setItems(items);
return describeSchemasResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeSlowLogRecordsResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeSlowLogRecordsResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeSlowLogRecordsResponse.SlowLogRecords;
import com.aliyuncs.clickhouse.model.v20191111.DescribeSlowLogRecordsResponse.SlowLogRecords.ResultSet;
import com.aliyuncs.clickhouse.model.v20191111.DescribeSlowLogRecordsResponse.SlowLogRecords.ResultSet1;
import com.aliyuncs.clickhouse.model.v20191111.DescribeSlowLogRecordsResponse.SlowLogRecords.Statistics;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSlowLogRecordsResponseUnmarshaller {
public static DescribeSlowLogRecordsResponse unmarshall(DescribeSlowLogRecordsResponse describeSlowLogRecordsResponse, UnmarshallerContext _ctx) {
describeSlowLogRecordsResponse.setRequestId(_ctx.stringValue("DescribeSlowLogRecordsResponse.RequestId"));
SlowLogRecords slowLogRecords = new SlowLogRecords();
slowLogRecords.setRows(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Rows"));
slowLogRecords.setRowsBeforeLimitAtLeast(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.RowsBeforeLimitAtLeast"));
Statistics statistics = new Statistics();
statistics.setRowsRead(_ctx.integerValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Statistics.RowsRead"));
statistics.setElapsedTime(_ctx.floatValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Statistics.ElapsedTime"));
statistics.setBytesRead(_ctx.integerValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Statistics.BytesRead"));
slowLogRecords.setStatistics(statistics);
List<ResultSet> tableSchema = new ArrayList<ResultSet>();
for (int i = 0; i < _ctx.lengthValue("DescribeSlowLogRecordsResponse.SlowLogRecords.TableSchema.Length"); i++) {
ResultSet resultSet = new ResultSet();
resultSet.setType(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.TableSchema["+ i +"].Type"));
resultSet.setName(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.TableSchema["+ i +"].Name"));
tableSchema.add(resultSet);
}
slowLogRecords.setTableSchema(tableSchema);
List<ResultSet1> data = new ArrayList<ResultSet1>();
for (int i = 0; i < _ctx.lengthValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data.Length"); i++) {
ResultSet1 resultSet1 = new ResultSet1();
resultSet1.setType(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data["+ i +"].Type"));
resultSet1.setQueryStartTime(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data["+ i +"].QueryStartTime"));
resultSet1.setQuery(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data["+ i +"].Query"));
resultSet1.setReadRows(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data["+ i +"].ReadRows"));
resultSet1.setInitialAddress(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data["+ i +"].InitialAddress"));
resultSet1.setMemoryUsage(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data["+ i +"].MemoryUsage"));
resultSet1.setInitialUser(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data["+ i +"].InitialUser"));
resultSet1.setInitialQueryId(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data["+ i +"].InitialQueryId"));
resultSet1.setReadBytes(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data["+ i +"].ReadBytes"));
resultSet1.setQueryDurationMs(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data["+ i +"].QueryDurationMs"));
resultSet1.setResultBytes(_ctx.stringValue("DescribeSlowLogRecordsResponse.SlowLogRecords.Data["+ i +"].ResultBytes"));
data.add(resultSet1);
}
slowLogRecords.setData(data);
describeSlowLogRecordsResponse.setSlowLogRecords(slowLogRecords);
return describeSlowLogRecordsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeSynDbTablesResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeSynDbTablesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSynDbTablesResponseUnmarshaller {
public static DescribeSynDbTablesResponse unmarshall(DescribeSynDbTablesResponse describeSynDbTablesResponse, UnmarshallerContext _ctx) {
describeSynDbTablesResponse.setRequestId(_ctx.stringValue("DescribeSynDbTablesResponse.RequestId"));
List<String> tables = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeSynDbTablesResponse.Tables.Length"); i++) {
tables.add(_ctx.stringValue("DescribeSynDbTablesResponse.Tables["+ i +"]"));
}
describeSynDbTablesResponse.setTables(tables);
return describeSynDbTablesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeSynDbsResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeSynDbsResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeSynDbsResponse.SynDb;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSynDbsResponseUnmarshaller {
public static DescribeSynDbsResponse unmarshall(DescribeSynDbsResponse describeSynDbsResponse, UnmarshallerContext _ctx) {
describeSynDbsResponse.setRequestId(_ctx.stringValue("DescribeSynDbsResponse.RequestId"));
describeSynDbsResponse.setTotalCount(_ctx.integerValue("DescribeSynDbsResponse.TotalCount"));
describeSynDbsResponse.setPageSize(_ctx.integerValue("DescribeSynDbsResponse.PageSize"));
describeSynDbsResponse.setPageNumber(_ctx.integerValue("DescribeSynDbsResponse.PageNumber"));
List<SynDb> synDbs = new ArrayList<SynDb>();
for (int i = 0; i < _ctx.lengthValue("DescribeSynDbsResponse.SynDbs.Length"); i++) {
SynDb synDb = new SynDb();
synDb.setRdsId(_ctx.stringValue("DescribeSynDbsResponse.SynDbs["+ i +"].RdsId"));
synDb.setSynDb(_ctx.stringValue("DescribeSynDbsResponse.SynDbs["+ i +"].SynDb"));
synDb.setSynStatus(_ctx.booleanValue("DescribeSynDbsResponse.SynDbs["+ i +"].SynStatus"));
synDb.setErrorMsg(_ctx.stringValue("DescribeSynDbsResponse.SynDbs["+ i +"].ErrorMsg"));
synDb.setRdsUserName(_ctx.stringValue("DescribeSynDbsResponse.SynDbs["+ i +"].RdsUserName"));
synDb.setRdsPassword(_ctx.stringValue("DescribeSynDbsResponse.SynDbs["+ i +"].RdsPassword"));
synDb.setRdsVpcUrl(_ctx.stringValue("DescribeSynDbsResponse.SynDbs["+ i +"].RdsVpcUrl"));
synDbs.add(synDb);
}
describeSynDbsResponse.setSynDbs(synDbs);
return describeSynDbsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeTablesResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeTablesResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeTablesResponse.Table;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTablesResponseUnmarshaller {
public static DescribeTablesResponse unmarshall(DescribeTablesResponse describeTablesResponse, UnmarshallerContext _ctx) {
describeTablesResponse.setRequestId(_ctx.stringValue("DescribeTablesResponse.RequestId"));
List<Table> items = new ArrayList<Table>();
for (int i = 0; i < _ctx.lengthValue("DescribeTablesResponse.Items.Length"); i++) {
Table table = new Table();
table.setTableName(_ctx.stringValue("DescribeTablesResponse.Items["+ i +"].TableName"));
table.setDBClusterId(_ctx.stringValue("DescribeTablesResponse.Items["+ i +"].DBClusterId"));
table.setSchemaName(_ctx.stringValue("DescribeTablesResponse.Items["+ i +"].SchemaName"));
items.add(table);
}
describeTablesResponse.setItems(items);
return describeTablesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/DescribeTransferHistoryResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.clickhouse.model.v20191111.DescribeTransferHistoryResponse;
import com.aliyuncs.clickhouse.model.v20191111.DescribeTransferHistoryResponse.HistoryDetail;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTransferHistoryResponseUnmarshaller {
public static DescribeTransferHistoryResponse unmarshall(DescribeTransferHistoryResponse describeTransferHistoryResponse, UnmarshallerContext _ctx) {
describeTransferHistoryResponse.setRequestId(_ctx.stringValue("DescribeTransferHistoryResponse.RequestId"));
List<HistoryDetail> historyDetails = new ArrayList<HistoryDetail>();
for (int i = 0; i < _ctx.lengthValue("DescribeTransferHistoryResponse.HistoryDetails.Length"); i++) {
HistoryDetail historyDetail = new HistoryDetail();
historyDetail.setSourceDBCluster(_ctx.stringValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].SourceDBCluster"));
historyDetail.setSourceControlVersion(_ctx.stringValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].SourceControlVersion"));
historyDetail.setTargetDBCluster(_ctx.stringValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].TargetDBCluster"));
historyDetail.setTargetControlVersion(_ctx.stringValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].TargetControlVersion"));
historyDetail.setStatus(_ctx.stringValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].Status"));
historyDetail.setProgress(_ctx.stringValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].Progress"));
historyDetail.setDisableWriteWindows(_ctx.stringValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].DisableWriteWindows"));
historyDetail.setUnsyncedBytes(_ctx.longValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].UnsyncedBytes"));
historyDetail.setUnsyncedParts(_ctx.longValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].UnsyncedParts"));
historyDetail.setPartsPerMinute(_ctx.doubleValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].PartsPerMinute"));
historyDetail.setBytesPerMinute(_ctx.longValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].BytesPerMinute"));
historyDetail.setSubJob(_ctx.stringValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].SubJob"));
historyDetail.setSubJobStatus(_ctx.stringValue("DescribeTransferHistoryResponse.HistoryDetails["+ i +"].SubJobStatus"));
historyDetails.add(historyDetail);
}
describeTransferHistoryResponse.setHistoryDetails(historyDetails);
return describeTransferHistoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/KillProcessResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.KillProcessResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class KillProcessResponseUnmarshaller {
public static KillProcessResponse unmarshall(KillProcessResponse killProcessResponse, UnmarshallerContext _ctx) {
killProcessResponse.setRequestId(_ctx.stringValue("KillProcessResponse.RequestId"));
return killProcessResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyAccountAuthorityResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyAccountAuthorityResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyAccountAuthorityResponseUnmarshaller {
public static ModifyAccountAuthorityResponse unmarshall(ModifyAccountAuthorityResponse modifyAccountAuthorityResponse, UnmarshallerContext _ctx) {
modifyAccountAuthorityResponse.setRequestId(_ctx.stringValue("ModifyAccountAuthorityResponse.RequestId"));
return modifyAccountAuthorityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyAccountDescriptionResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyAccountDescriptionResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyAccountDescriptionResponseUnmarshaller {
public static ModifyAccountDescriptionResponse unmarshall(ModifyAccountDescriptionResponse modifyAccountDescriptionResponse, UnmarshallerContext _ctx) {
modifyAccountDescriptionResponse.setRequestId(_ctx.stringValue("ModifyAccountDescriptionResponse.RequestId"));
return modifyAccountDescriptionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyBackupPolicyResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyBackupPolicyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyBackupPolicyResponseUnmarshaller {
public static ModifyBackupPolicyResponse unmarshall(ModifyBackupPolicyResponse modifyBackupPolicyResponse, UnmarshallerContext _ctx) {
modifyBackupPolicyResponse.setRequestId(_ctx.stringValue("ModifyBackupPolicyResponse.RequestId"));
return modifyBackupPolicyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyDBClusterAccessWhiteListResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyDBClusterAccessWhiteListResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyDBClusterAccessWhiteListResponseUnmarshaller {
public static ModifyDBClusterAccessWhiteListResponse unmarshall(ModifyDBClusterAccessWhiteListResponse modifyDBClusterAccessWhiteListResponse, UnmarshallerContext _ctx) {
modifyDBClusterAccessWhiteListResponse.setRequestId(_ctx.stringValue("ModifyDBClusterAccessWhiteListResponse.RequestId"));
return modifyDBClusterAccessWhiteListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyDBClusterConfigInXMLResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyDBClusterConfigInXMLResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyDBClusterConfigInXMLResponseUnmarshaller {
public static ModifyDBClusterConfigInXMLResponse unmarshall(ModifyDBClusterConfigInXMLResponse modifyDBClusterConfigInXMLResponse, UnmarshallerContext _ctx) {
modifyDBClusterConfigInXMLResponse.setRequestId(_ctx.stringValue("ModifyDBClusterConfigInXMLResponse.RequestId"));
return modifyDBClusterConfigInXMLResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyDBClusterConfigResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyDBClusterConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyDBClusterConfigResponseUnmarshaller {
public static ModifyDBClusterConfigResponse unmarshall(ModifyDBClusterConfigResponse modifyDBClusterConfigResponse, UnmarshallerContext _ctx) {
modifyDBClusterConfigResponse.setRequestId(_ctx.stringValue("ModifyDBClusterConfigResponse.RequestId"));
return modifyDBClusterConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyDBClusterDescriptionResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyDBClusterDescriptionResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyDBClusterDescriptionResponseUnmarshaller {
public static ModifyDBClusterDescriptionResponse unmarshall(ModifyDBClusterDescriptionResponse modifyDBClusterDescriptionResponse, UnmarshallerContext _ctx) {
modifyDBClusterDescriptionResponse.setRequestId(_ctx.stringValue("ModifyDBClusterDescriptionResponse.RequestId"));
return modifyDBClusterDescriptionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyDBClusterMaintainTimeResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyDBClusterMaintainTimeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyDBClusterMaintainTimeResponseUnmarshaller {
public static ModifyDBClusterMaintainTimeResponse unmarshall(ModifyDBClusterMaintainTimeResponse modifyDBClusterMaintainTimeResponse, UnmarshallerContext _ctx) {
modifyDBClusterMaintainTimeResponse.setRequestId(_ctx.stringValue("ModifyDBClusterMaintainTimeResponse.RequestId"));
return modifyDBClusterMaintainTimeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyDBClusterResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyDBClusterResponse;
import com.aliyuncs.clickhouse.model.v20191111.ModifyDBClusterResponse.DBCluster;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyDBClusterResponseUnmarshaller {
public static ModifyDBClusterResponse unmarshall(ModifyDBClusterResponse modifyDBClusterResponse, UnmarshallerContext _ctx) {
modifyDBClusterResponse.setRequestId(_ctx.stringValue("ModifyDBClusterResponse.RequestId"));
DBCluster dBCluster = new DBCluster();
dBCluster.setDbClusterId(_ctx.stringValue("ModifyDBClusterResponse.DBCluster.dbClusterId"));
dBCluster.setOrderId(_ctx.stringValue("ModifyDBClusterResponse.DBCluster.orderId"));
modifyDBClusterResponse.setDBCluster(dBCluster);
return modifyDBClusterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyDBConfigResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyDBConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyDBConfigResponseUnmarshaller {
public static ModifyDBConfigResponse unmarshall(ModifyDBConfigResponse modifyDBConfigResponse, UnmarshallerContext _ctx) {
modifyDBConfigResponse.setRequestId(_ctx.stringValue("ModifyDBConfigResponse.RequestId"));
return modifyDBConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyMinorVersionGreadeTypeResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyMinorVersionGreadeTypeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyMinorVersionGreadeTypeResponseUnmarshaller {
public static ModifyMinorVersionGreadeTypeResponse unmarshall(ModifyMinorVersionGreadeTypeResponse modifyMinorVersionGreadeTypeResponse, UnmarshallerContext _ctx) {
modifyMinorVersionGreadeTypeResponse.setRequestId(_ctx.stringValue("ModifyMinorVersionGreadeTypeResponse.RequestId"));
return modifyMinorVersionGreadeTypeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ModifyRDSToClickhouseDbResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ModifyRDSToClickhouseDbResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyRDSToClickhouseDbResponseUnmarshaller {
public static ModifyRDSToClickhouseDbResponse unmarshall(ModifyRDSToClickhouseDbResponse modifyRDSToClickhouseDbResponse, UnmarshallerContext _ctx) {
modifyRDSToClickhouseDbResponse.setRequestId(_ctx.stringValue("ModifyRDSToClickhouseDbResponse.RequestId"));
modifyRDSToClickhouseDbResponse.setStatus(_ctx.longValue("ModifyRDSToClickhouseDbResponse.Status"));
modifyRDSToClickhouseDbResponse.setErrorMsg(_ctx.stringValue("ModifyRDSToClickhouseDbResponse.ErrorMsg"));
modifyRDSToClickhouseDbResponse.setErrorCode(_ctx.longValue("ModifyRDSToClickhouseDbResponse.ErrorCode"));
return modifyRDSToClickhouseDbResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ReleaseClusterPublicConnectionResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ReleaseClusterPublicConnectionResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ReleaseClusterPublicConnectionResponseUnmarshaller {
public static ReleaseClusterPublicConnectionResponse unmarshall(ReleaseClusterPublicConnectionResponse releaseClusterPublicConnectionResponse, UnmarshallerContext _ctx) {
releaseClusterPublicConnectionResponse.setRequestId(_ctx.stringValue("ReleaseClusterPublicConnectionResponse.RequestId"));
return releaseClusterPublicConnectionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/ResetAccountPasswordResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.ResetAccountPasswordResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ResetAccountPasswordResponseUnmarshaller {
public static ResetAccountPasswordResponse unmarshall(ResetAccountPasswordResponse resetAccountPasswordResponse, UnmarshallerContext _ctx) {
resetAccountPasswordResponse.setRequestId(_ctx.stringValue("ResetAccountPasswordResponse.RequestId"));
return resetAccountPasswordResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/RestartInstanceResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.RestartInstanceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RestartInstanceResponseUnmarshaller {
public static RestartInstanceResponse unmarshall(RestartInstanceResponse restartInstanceResponse, UnmarshallerContext _ctx) {
restartInstanceResponse.setRequestId(_ctx.stringValue("RestartInstanceResponse.RequestId"));
return restartInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/TransferVersionResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.TransferVersionResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class TransferVersionResponseUnmarshaller {
public static TransferVersionResponse unmarshall(TransferVersionResponse transferVersionResponse, UnmarshallerContext _ctx) {
transferVersionResponse.setRequestId(_ctx.stringValue("TransferVersionResponse.RequestId"));
transferVersionResponse.setDBInstanceID(_ctx.integerValue("TransferVersionResponse.DBInstanceID"));
transferVersionResponse.setDBInstanceName(_ctx.longValue("TransferVersionResponse.DBInstanceName"));
transferVersionResponse.setTaskId(_ctx.booleanValue("TransferVersionResponse.TaskId"));
return transferVersionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/transform/v20191111/UpgradeMinorVersionResponseUnmarshaller.java
|
/*
* 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.aliyuncs.clickhouse.transform.v20191111;
import com.aliyuncs.clickhouse.model.v20191111.UpgradeMinorVersionResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpgradeMinorVersionResponseUnmarshaller {
public static UpgradeMinorVersionResponse unmarshall(UpgradeMinorVersionResponse upgradeMinorVersionResponse, UnmarshallerContext _ctx) {
upgradeMinorVersionResponse.setRequestId(_ctx.stringValue("UpgradeMinorVersionResponse.RequestId"));
return upgradeMinorVersionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceLogRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class AddDataSourceLogRequest extends RpcAcsRequest<AddDataSourceLogResponse> {
private String cloudCode;
private String accountId;
private String logCode;
private String dataSourceInstanceLogs;
private String dataSourceInstanceId;
public AddDataSourceLogRequest() {
super("cloud-siem", "2022-06-16", "AddDataSourceLog", "cloud-siem");
setMethod(MethodType.POST);
}
public String getCloudCode() {
return this.cloudCode;
}
public void setCloudCode(String cloudCode) {
this.cloudCode = cloudCode;
if(cloudCode != null){
putBodyParameter("CloudCode", cloudCode);
}
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
if(accountId != null){
putBodyParameter("AccountId", accountId);
}
}
public String getLogCode() {
return this.logCode;
}
public void setLogCode(String logCode) {
this.logCode = logCode;
if(logCode != null){
putBodyParameter("LogCode", logCode);
}
}
public String getDataSourceInstanceLogs() {
return this.dataSourceInstanceLogs;
}
public void setDataSourceInstanceLogs(String dataSourceInstanceLogs) {
this.dataSourceInstanceLogs = dataSourceInstanceLogs;
if(dataSourceInstanceLogs != null){
putBodyParameter("DataSourceInstanceLogs", dataSourceInstanceLogs);
}
}
public String getDataSourceInstanceId() {
return this.dataSourceInstanceId;
}
public void setDataSourceInstanceId(String dataSourceInstanceId) {
this.dataSourceInstanceId = dataSourceInstanceId;
if(dataSourceInstanceId != null){
putBodyParameter("DataSourceInstanceId", dataSourceInstanceId);
}
}
@Override
public Class<AddDataSourceLogResponse> getResponseClass() {
return AddDataSourceLogResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceLogResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.AddDataSourceLogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AddDataSourceLogResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer count;
private String logInstanceId;
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
public String getLogInstanceId() {
return this.logInstanceId;
}
public void setLogInstanceId(String logInstanceId) {
this.logInstanceId = logInstanceId;
}
}
@Override
public AddDataSourceLogResponse getInstance(UnmarshallerContext context) {
return AddDataSourceLogResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class AddDataSourceRequest extends RpcAcsRequest<AddDataSourceResponse> {
private String dataSourceType;
private String cloudCode;
private String dataSourceInstanceName;
private String accountId;
private String dataSourceInstanceRemark;
private String dataSourceInstanceParams;
public AddDataSourceRequest() {
super("cloud-siem", "2022-06-16", "AddDataSource", "cloud-siem");
setMethod(MethodType.POST);
}
public String getDataSourceType() {
return this.dataSourceType;
}
public void setDataSourceType(String dataSourceType) {
this.dataSourceType = dataSourceType;
if(dataSourceType != null){
putBodyParameter("DataSourceType", dataSourceType);
}
}
public String getCloudCode() {
return this.cloudCode;
}
public void setCloudCode(String cloudCode) {
this.cloudCode = cloudCode;
if(cloudCode != null){
putBodyParameter("CloudCode", cloudCode);
}
}
public String getDataSourceInstanceName() {
return this.dataSourceInstanceName;
}
public void setDataSourceInstanceName(String dataSourceInstanceName) {
this.dataSourceInstanceName = dataSourceInstanceName;
if(dataSourceInstanceName != null){
putBodyParameter("DataSourceInstanceName", dataSourceInstanceName);
}
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
if(accountId != null){
putBodyParameter("AccountId", accountId);
}
}
public String getDataSourceInstanceRemark() {
return this.dataSourceInstanceRemark;
}
public void setDataSourceInstanceRemark(String dataSourceInstanceRemark) {
this.dataSourceInstanceRemark = dataSourceInstanceRemark;
if(dataSourceInstanceRemark != null){
putBodyParameter("DataSourceInstanceRemark", dataSourceInstanceRemark);
}
}
public String getDataSourceInstanceParams() {
return this.dataSourceInstanceParams;
}
public void setDataSourceInstanceParams(String dataSourceInstanceParams) {
this.dataSourceInstanceParams = dataSourceInstanceParams;
if(dataSourceInstanceParams != null){
putBodyParameter("DataSourceInstanceParams", dataSourceInstanceParams);
}
}
@Override
public Class<AddDataSourceResponse> getResponseClass() {
return AddDataSourceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.AddDataSourceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AddDataSourceResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer count;
private String dataSourceInstanceId;
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
public String getDataSourceInstanceId() {
return this.dataSourceInstanceId;
}
public void setDataSourceInstanceId(String dataSourceInstanceId) {
this.dataSourceInstanceId = dataSourceInstanceId;
}
}
@Override
public AddDataSourceResponse getInstance(UnmarshallerContext context) {
return AddDataSourceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/AddUserSourceLogConfigRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class AddUserSourceLogConfigRequest extends RpcAcsRequest<AddUserSourceLogConfigResponse> {
private String disPlayLine;
private Long subUserId;
private String sourceProdCode;
private String sourceLogInfo;
private Integer deleted;
private String sourceLogCode;
public AddUserSourceLogConfigRequest() {
super("cloud-siem", "2022-06-16", "AddUserSourceLogConfig", "cloud-siem");
setMethod(MethodType.POST);
}
public String getDisPlayLine() {
return this.disPlayLine;
}
public void setDisPlayLine(String disPlayLine) {
this.disPlayLine = disPlayLine;
if(disPlayLine != null){
putBodyParameter("DisPlayLine", disPlayLine);
}
}
public Long getSubUserId() {
return this.subUserId;
}
public void setSubUserId(Long subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putBodyParameter("SubUserId", subUserId.toString());
}
}
public String getSourceProdCode() {
return this.sourceProdCode;
}
public void setSourceProdCode(String sourceProdCode) {
this.sourceProdCode = sourceProdCode;
if(sourceProdCode != null){
putBodyParameter("SourceProdCode", sourceProdCode);
}
}
public String getSourceLogInfo() {
return this.sourceLogInfo;
}
public void setSourceLogInfo(String sourceLogInfo) {
this.sourceLogInfo = sourceLogInfo;
if(sourceLogInfo != null){
putBodyParameter("SourceLogInfo", sourceLogInfo);
}
}
public Integer getDeleted() {
return this.deleted;
}
public void setDeleted(Integer deleted) {
this.deleted = deleted;
if(deleted != null){
putBodyParameter("Deleted", deleted.toString());
}
}
public String getSourceLogCode() {
return this.sourceLogCode;
}
public void setSourceLogCode(String sourceLogCode) {
this.sourceLogCode = sourceLogCode;
if(sourceLogCode != null){
putBodyParameter("SourceLogCode", sourceLogCode);
}
}
@Override
public Class<AddUserSourceLogConfigResponse> getResponseClass() {
return AddUserSourceLogConfigResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/AddUserSourceLogConfigResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.AddUserSourceLogConfigResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AddUserSourceLogConfigResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String diplayLine;
private String sourceProdCode;
private String sourceLogCode;
private Boolean displayed;
private Boolean imported;
private Long mainUserId;
private Long subUserId;
private String subUserName;
public String getDiplayLine() {
return this.diplayLine;
}
public void setDiplayLine(String diplayLine) {
this.diplayLine = diplayLine;
}
public String getSourceProdCode() {
return this.sourceProdCode;
}
public void setSourceProdCode(String sourceProdCode) {
this.sourceProdCode = sourceProdCode;
}
public String getSourceLogCode() {
return this.sourceLogCode;
}
public void setSourceLogCode(String sourceLogCode) {
this.sourceLogCode = sourceLogCode;
}
public Boolean getDisplayed() {
return this.displayed;
}
public void setDisplayed(Boolean displayed) {
this.displayed = displayed;
}
public Boolean getImported() {
return this.imported;
}
public void setImported(Boolean imported) {
this.imported = imported;
}
public Long getMainUserId() {
return this.mainUserId;
}
public void setMainUserId(Long mainUserId) {
this.mainUserId = mainUserId;
}
public Long getSubUserId() {
return this.subUserId;
}
public void setSubUserId(Long subUserId) {
this.subUserId = subUserId;
}
public String getSubUserName() {
return this.subUserName;
}
public void setSubUserName(String subUserName) {
this.subUserName = subUserName;
}
}
@Override
public AddUserSourceLogConfigResponse getInstance(UnmarshallerContext context) {
return AddUserSourceLogConfigResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/BindAccountRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class BindAccountRequest extends RpcAcsRequest<BindAccountResponse> {
private String cloudCode;
private Long roleFor;
private String accountId;
private String accountName;
private Integer roleType;
private String accessId;
public BindAccountRequest() {
super("cloud-siem", "2022-06-16", "BindAccount", "cloud-siem");
setMethod(MethodType.POST);
}
public String getCloudCode() {
return this.cloudCode;
}
public void setCloudCode(String cloudCode) {
this.cloudCode = cloudCode;
if(cloudCode != null){
putBodyParameter("CloudCode", cloudCode);
}
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
if(accountId != null){
putBodyParameter("AccountId", accountId);
}
}
public String getAccountName() {
return this.accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
if(accountName != null){
putBodyParameter("AccountName", accountName);
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public String getAccessId() {
return this.accessId;
}
public void setAccessId(String accessId) {
this.accessId = accessId;
if(accessId != null){
putBodyParameter("AccessId", accessId);
}
}
@Override
public Class<BindAccountResponse> getResponseClass() {
return BindAccountResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/BindAccountResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.BindAccountResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BindAccountResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer count;
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
}
@Override
public BindAccountResponse getInstance(UnmarshallerContext context) {
return BindAccountResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/CloseDeliveryRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CloseDeliveryRequest extends RpcAcsRequest<CloseDeliveryResponse> {
private String productCode;
private Long roleFor;
private String logCode;
private Integer roleType;
public CloseDeliveryRequest() {
super("cloud-siem", "2022-06-16", "CloseDelivery", "cloud-siem");
setMethod(MethodType.POST);
}
public String getProductCode() {
return this.productCode;
}
public void setProductCode(String productCode) {
this.productCode = productCode;
if(productCode != null){
putBodyParameter("ProductCode", productCode);
}
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public String getLogCode() {
return this.logCode;
}
public void setLogCode(String logCode) {
this.logCode = logCode;
if(logCode != null){
putBodyParameter("LogCode", logCode);
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
@Override
public Class<CloseDeliveryResponse> getResponseClass() {
return CloseDeliveryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/CloseDeliveryResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.CloseDeliveryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CloseDeliveryResponse extends AcsResponse {
private Boolean data;
private String requestId;
public Boolean getData() {
return this.data;
}
public void setData(Boolean data) {
this.data = data;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CloseDeliveryResponse getInstance(UnmarshallerContext context) {
return CloseDeliveryResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteAutomateResponseConfigRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DeleteAutomateResponseConfigRequest extends RpcAcsRequest<DeleteAutomateResponseConfigResponse> {
private Long roleFor;
private Integer roleType;
private Long id;
public DeleteAutomateResponseConfigRequest() {
super("cloud-siem", "2022-06-16", "DeleteAutomateResponseConfig", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putBodyParameter("Id", id.toString());
}
}
@Override
public Class<DeleteAutomateResponseConfigResponse> getResponseClass() {
return DeleteAutomateResponseConfigResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteAutomateResponseConfigResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DeleteAutomateResponseConfigResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteAutomateResponseConfigResponse extends AcsResponse {
private String data;
private Boolean success;
private Integer code;
private String message;
private String requestId;
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteAutomateResponseConfigResponse getInstance(UnmarshallerContext context) {
return DeleteAutomateResponseConfigResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteBindAccountRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DeleteBindAccountRequest extends RpcAcsRequest<DeleteBindAccountResponse> {
private String cloudCode;
private Long roleFor;
private String accountId;
private Integer roleType;
private Long bindId;
private String accessId;
public DeleteBindAccountRequest() {
super("cloud-siem", "2022-06-16", "DeleteBindAccount", "cloud-siem");
setMethod(MethodType.POST);
}
public String getCloudCode() {
return this.cloudCode;
}
public void setCloudCode(String cloudCode) {
this.cloudCode = cloudCode;
if(cloudCode != null){
putBodyParameter("CloudCode", cloudCode);
}
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
if(accountId != null){
putBodyParameter("AccountId", accountId);
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public Long getBindId() {
return this.bindId;
}
public void setBindId(Long bindId) {
this.bindId = bindId;
if(bindId != null){
putBodyParameter("BindId", bindId.toString());
}
}
public String getAccessId() {
return this.accessId;
}
public void setAccessId(String accessId) {
this.accessId = accessId;
if(accessId != null){
putBodyParameter("AccessId", accessId);
}
}
@Override
public Class<DeleteBindAccountResponse> getResponseClass() {
return DeleteBindAccountResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteBindAccountResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DeleteBindAccountResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteBindAccountResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer count;
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
}
@Override
public DeleteBindAccountResponse getInstance(UnmarshallerContext context) {
return DeleteBindAccountResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteCustomizeRuleRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DeleteCustomizeRuleRequest extends RpcAcsRequest<DeleteCustomizeRuleResponse> {
private Long roleFor;
private Integer roleType;
private Long ruleId;
public DeleteCustomizeRuleRequest() {
super("cloud-siem", "2022-06-16", "DeleteCustomizeRule", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public Long getRuleId() {
return this.ruleId;
}
public void setRuleId(Long ruleId) {
this.ruleId = ruleId;
if(ruleId != null){
putBodyParameter("RuleId", ruleId.toString());
}
}
@Override
public Class<DeleteCustomizeRuleResponse> getResponseClass() {
return DeleteCustomizeRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteCustomizeRuleResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DeleteCustomizeRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteCustomizeRuleResponse extends AcsResponse {
private Integer data;
private Boolean success;
private Integer code;
private String message;
private String requestId;
public Integer getData() {
return this.data;
}
public void setData(Integer data) {
this.data = data;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteCustomizeRuleResponse getInstance(UnmarshallerContext context) {
return DeleteCustomizeRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceLogRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DeleteDataSourceLogRequest extends RpcAcsRequest<DeleteDataSourceLogResponse> {
private String cloudCode;
private String accountId;
private String logInstanceId;
private String dataSourceInstanceId;
public DeleteDataSourceLogRequest() {
super("cloud-siem", "2022-06-16", "DeleteDataSourceLog", "cloud-siem");
setMethod(MethodType.POST);
}
public String getCloudCode() {
return this.cloudCode;
}
public void setCloudCode(String cloudCode) {
this.cloudCode = cloudCode;
if(cloudCode != null){
putBodyParameter("CloudCode", cloudCode);
}
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
if(accountId != null){
putBodyParameter("AccountId", accountId);
}
}
public String getLogInstanceId() {
return this.logInstanceId;
}
public void setLogInstanceId(String logInstanceId) {
this.logInstanceId = logInstanceId;
if(logInstanceId != null){
putBodyParameter("LogInstanceId", logInstanceId);
}
}
public String getDataSourceInstanceId() {
return this.dataSourceInstanceId;
}
public void setDataSourceInstanceId(String dataSourceInstanceId) {
this.dataSourceInstanceId = dataSourceInstanceId;
if(dataSourceInstanceId != null){
putBodyParameter("DataSourceInstanceId", dataSourceInstanceId);
}
}
@Override
public Class<DeleteDataSourceLogResponse> getResponseClass() {
return DeleteDataSourceLogResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceLogResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DeleteDataSourceLogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteDataSourceLogResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer count;
private String logInstanceId;
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
public String getLogInstanceId() {
return this.logInstanceId;
}
public void setLogInstanceId(String logInstanceId) {
this.logInstanceId = logInstanceId;
}
}
@Override
public DeleteDataSourceLogResponse getInstance(UnmarshallerContext context) {
return DeleteDataSourceLogResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DeleteDataSourceRequest extends RpcAcsRequest<DeleteDataSourceResponse> {
private String cloudCode;
private String accountId;
private String dataSourceInstanceId;
public DeleteDataSourceRequest() {
super("cloud-siem", "2022-06-16", "DeleteDataSource", "cloud-siem");
setMethod(MethodType.POST);
}
public String getCloudCode() {
return this.cloudCode;
}
public void setCloudCode(String cloudCode) {
this.cloudCode = cloudCode;
if(cloudCode != null){
putBodyParameter("CloudCode", cloudCode);
}
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
if(accountId != null){
putBodyParameter("AccountId", accountId);
}
}
public String getDataSourceInstanceId() {
return this.dataSourceInstanceId;
}
public void setDataSourceInstanceId(String dataSourceInstanceId) {
this.dataSourceInstanceId = dataSourceInstanceId;
if(dataSourceInstanceId != null){
putBodyParameter("DataSourceInstanceId", dataSourceInstanceId);
}
}
@Override
public Class<DeleteDataSourceResponse> getResponseClass() {
return DeleteDataSourceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DeleteDataSourceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteDataSourceResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer count;
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
}
@Override
public DeleteDataSourceResponse getInstance(UnmarshallerContext context) {
return DeleteDataSourceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteWhiteRuleListRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DeleteWhiteRuleListRequest extends RpcAcsRequest<DeleteWhiteRuleListResponse> {
private Long roleFor;
private Integer roleType;
private Long id;
public DeleteWhiteRuleListRequest() {
super("cloud-siem", "2022-06-16", "DeleteWhiteRuleList", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putBodyParameter("Id", id.toString());
}
}
@Override
public Class<DeleteWhiteRuleListResponse> getResponseClass() {
return DeleteWhiteRuleListResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DeleteWhiteRuleListResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DeleteWhiteRuleListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteWhiteRuleListResponse extends AcsResponse {
@Override
public DeleteWhiteRuleListResponse getInstance(UnmarshallerContext context) {
return DeleteWhiteRuleListResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAggregateFunctionRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DescribeAggregateFunctionRequest extends RpcAcsRequest<DescribeAggregateFunctionResponse> {
private Long roleFor;
private Integer roleType;
public DescribeAggregateFunctionRequest() {
super("cloud-siem", "2022-06-16", "DescribeAggregateFunction", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
@Override
public Class<DescribeAggregateFunctionResponse> getResponseClass() {
return DescribeAggregateFunctionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAggregateFunctionResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAggregateFunctionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAggregateFunctionResponse extends AcsResponse {
private Boolean success;
private Integer code;
private String message;
private String requestId;
private List<DataItem> data;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DataItem> getData() {
return this.data;
}
public void setData(List<DataItem> data) {
this.data = data;
}
public static class DataItem {
private String function;
private String functionName;
public String getFunction() {
return this.function;
}
public void setFunction(String function) {
this.function = function;
}
public String getFunctionName() {
return this.functionName;
}
public void setFunctionName(String functionName) {
this.functionName = functionName;
}
}
@Override
public DescribeAggregateFunctionResponse getInstance(UnmarshallerContext context) {
return DescribeAggregateFunctionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSceneByEventRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DescribeAlertSceneByEventRequest extends RpcAcsRequest<DescribeAlertSceneByEventResponse> {
private Long roleFor;
private Integer roleType;
private String incidentUuid;
public DescribeAlertSceneByEventRequest() {
super("cloud-siem", "2022-06-16", "DescribeAlertSceneByEvent", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public String getIncidentUuid() {
return this.incidentUuid;
}
public void setIncidentUuid(String incidentUuid) {
this.incidentUuid = incidentUuid;
if(incidentUuid != null){
putBodyParameter("IncidentUuid", incidentUuid);
}
}
@Override
public Class<DescribeAlertSceneByEventResponse> getResponseClass() {
return DescribeAlertSceneByEventResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSceneByEventResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAlertSceneByEventResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAlertSceneByEventResponse extends AcsResponse {
private Boolean success;
private Integer code;
private String message;
private String requestId;
private List<DataItem> data;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DataItem> getData() {
return this.data;
}
public void setData(List<DataItem> data) {
this.data = data;
}
public static class DataItem {
private String alertType;
private String alertTypeId;
private String alertName;
private String alertNameId;
private String alertTile;
private String alertTileId;
private List<Target> targets;
public String getAlertType() {
return this.alertType;
}
public void setAlertType(String alertType) {
this.alertType = alertType;
}
public String getAlertTypeId() {
return this.alertTypeId;
}
public void setAlertTypeId(String alertTypeId) {
this.alertTypeId = alertTypeId;
}
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
}
public String getAlertNameId() {
return this.alertNameId;
}
public void setAlertNameId(String alertNameId) {
this.alertNameId = alertNameId;
}
public String getAlertTile() {
return this.alertTile;
}
public void setAlertTile(String alertTile) {
this.alertTile = alertTile;
}
public String getAlertTileId() {
return this.alertTileId;
}
public void setAlertTileId(String alertTileId) {
this.alertTileId = alertTileId;
}
public List<Target> getTargets() {
return this.targets;
}
public void setTargets(List<Target> targets) {
this.targets = targets;
}
public static class Target {
private String type;
private String name;
private String value;
private List<String> values;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
}
@Override
public DescribeAlertSceneByEventResponse getInstance(UnmarshallerContext context) {
return DescribeAlertSceneByEventResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSceneRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DescribeAlertSceneRequest extends RpcAcsRequest<DescribeAlertSceneResponse> {
private Long roleFor;
private Integer roleType;
public DescribeAlertSceneRequest() {
super("cloud-siem", "2022-06-16", "DescribeAlertScene", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
@Override
public Class<DescribeAlertSceneResponse> getResponseClass() {
return DescribeAlertSceneResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSceneResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAlertSceneResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAlertSceneResponse extends AcsResponse {
private Boolean success;
private Integer code;
private String message;
private String requestId;
private List<DataItem> data;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DataItem> getData() {
return this.data;
}
public void setData(List<DataItem> data) {
this.data = data;
}
public static class DataItem {
private String alertType;
private String alertTypeId;
private String alertName;
private String alertNameId;
private String alertTile;
private String alertTileId;
private List<Target> targets;
public String getAlertType() {
return this.alertType;
}
public void setAlertType(String alertType) {
this.alertType = alertType;
}
public String getAlertTypeId() {
return this.alertTypeId;
}
public void setAlertTypeId(String alertTypeId) {
this.alertTypeId = alertTypeId;
}
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
}
public String getAlertNameId() {
return this.alertNameId;
}
public void setAlertNameId(String alertNameId) {
this.alertNameId = alertNameId;
}
public String getAlertTile() {
return this.alertTile;
}
public void setAlertTile(String alertTile) {
this.alertTile = alertTile;
}
public String getAlertTileId() {
return this.alertTileId;
}
public void setAlertTileId(String alertTileId) {
this.alertTileId = alertTileId;
}
public List<Target> getTargets() {
return this.targets;
}
public void setTargets(List<Target> targets) {
this.targets = targets;
}
public static class Target {
private String type;
private String name;
private String value;
private List<String> values;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
}
@Override
public DescribeAlertSceneResponse getInstance(UnmarshallerContext context) {
return DescribeAlertSceneResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSourceRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DescribeAlertSourceRequest extends RpcAcsRequest<DescribeAlertSourceResponse> {
private Long roleFor;
private Long startTime;
private Integer roleType;
private List<String> levels;
private Long endTime;
public DescribeAlertSourceRequest() {
super("cloud-siem", "2022-06-16", "DescribeAlertSource", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putBodyParameter("StartTime", startTime.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public List<String> getLevels() {
return this.levels;
}
public void setLevels(List<String> levels) {
this.levels = levels;
if (levels != null) {
for (int i = 0; i < levels.size(); i++) {
putBodyParameter("Level." + (i + 1) , levels.get(i));
}
}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putBodyParameter("EndTime", endTime.toString());
}
}
@Override
public Class<DescribeAlertSourceResponse> getResponseClass() {
return DescribeAlertSourceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSourceResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAlertSourceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAlertSourceResponse extends AcsResponse {
private Boolean success;
private Integer code;
private String message;
private String requestId;
private List<DataItem> data;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DataItem> getData() {
return this.data;
}
public void setData(List<DataItem> data) {
this.data = data;
}
public static class DataItem {
private String sourceName;
private String source;
public String getSourceName() {
return this.sourceName;
}
public void setSourceName(String sourceName) {
this.sourceName = sourceName;
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
}
}
@Override
public DescribeAlertSourceResponse getInstance(UnmarshallerContext context) {
return DescribeAlertSourceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSourceWithEventRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DescribeAlertSourceWithEventRequest extends RpcAcsRequest<DescribeAlertSourceWithEventResponse> {
private Long roleFor;
private Integer roleType;
private String incidentUuid;
public DescribeAlertSourceWithEventRequest() {
super("cloud-siem", "2022-06-16", "DescribeAlertSourceWithEvent", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public String getIncidentUuid() {
return this.incidentUuid;
}
public void setIncidentUuid(String incidentUuid) {
this.incidentUuid = incidentUuid;
if(incidentUuid != null){
putBodyParameter("IncidentUuid", incidentUuid);
}
}
@Override
public Class<DescribeAlertSourceWithEventResponse> getResponseClass() {
return DescribeAlertSourceWithEventResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSourceWithEventResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAlertSourceWithEventResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAlertSourceWithEventResponse extends AcsResponse {
private Boolean success;
private Integer code;
private String message;
private String requestId;
private List<DataItem> data;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DataItem> getData() {
return this.data;
}
public void setData(List<DataItem> data) {
this.data = data;
}
public static class DataItem {
private String sourceName;
private String source;
public String getSourceName() {
return this.sourceName;
}
public void setSourceName(String sourceName) {
this.sourceName = sourceName;
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
}
}
@Override
public DescribeAlertSourceWithEventResponse getInstance(UnmarshallerContext context) {
return DescribeAlertSourceWithEventResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertTypeRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DescribeAlertTypeRequest extends RpcAcsRequest<DescribeAlertTypeResponse> {
private Long roleFor;
private Integer roleType;
private String ruleType;
public DescribeAlertTypeRequest() {
super("cloud-siem", "2022-06-16", "DescribeAlertType", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public String getRuleType() {
return this.ruleType;
}
public void setRuleType(String ruleType) {
this.ruleType = ruleType;
if(ruleType != null){
putBodyParameter("RuleType", ruleType);
}
}
@Override
public Class<DescribeAlertTypeResponse> getResponseClass() {
return DescribeAlertTypeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertTypeResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAlertTypeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAlertTypeResponse extends AcsResponse {
private Boolean success;
private Integer code;
private String message;
private String requestId;
private List<DataItem> data;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DataItem> getData() {
return this.data;
}
public void setData(List<DataItem> data) {
this.data = data;
}
public static class DataItem {
private String alertType;
private String alertTypeMds;
public String getAlertType() {
return this.alertType;
}
public void setAlertType(String alertType) {
this.alertType = alertType;
}
public String getAlertTypeMds() {
return this.alertTypeMds;
}
public void setAlertTypeMds(String alertTypeMds) {
this.alertTypeMds = alertTypeMds;
}
}
@Override
public DescribeAlertTypeResponse getInstance(UnmarshallerContext context) {
return DescribeAlertTypeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsCountRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DescribeAlertsCountRequest extends RpcAcsRequest<DescribeAlertsCountResponse> {
private Long roleFor;
private Long startTime;
private Integer roleType;
private String queryType;
private Long endTime;
public DescribeAlertsCountRequest() {
super("cloud-siem", "2022-06-16", "DescribeAlertsCount", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putBodyParameter("StartTime", startTime.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public String getQueryType() {
return this.queryType;
}
public void setQueryType(String queryType) {
this.queryType = queryType;
if(queryType != null){
putBodyParameter("QueryType", queryType);
}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putBodyParameter("EndTime", endTime.toString());
}
}
@Override
public Class<DescribeAlertsCountResponse> getResponseClass() {
return DescribeAlertsCountResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsCountResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAlertsCountResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAlertsCountResponse extends AcsResponse {
private Boolean success;
private Integer code;
private String message;
private String requestId;
private Data data;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Long high;
private Long medium;
private Long low;
private Long all;
private Integer productNum;
private Map<Object,Object> countMap;
public Long getHigh() {
return this.high;
}
public void setHigh(Long high) {
this.high = high;
}
public Long getMedium() {
return this.medium;
}
public void setMedium(Long medium) {
this.medium = medium;
}
public Long getLow() {
return this.low;
}
public void setLow(Long low) {
this.low = low;
}
public Long getAll() {
return this.all;
}
public void setAll(Long all) {
this.all = all;
}
public Integer getProductNum() {
return this.productNum;
}
public void setProductNum(Integer productNum) {
this.productNum = productNum;
}
public Map<Object,Object> getCountMap() {
return this.countMap;
}
public void setCountMap(Map<Object,Object> countMap) {
this.countMap = countMap;
}
}
@Override
public DescribeAlertsCountResponse getInstance(UnmarshallerContext context) {
return DescribeAlertsCountResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DescribeAlertsRequest extends RpcAcsRequest<DescribeAlertsResponse> {
private Long roleFor;
private String alertName;
private String entityName;
private String assetName;
private String entityId;
private String source;
private String isDefend;
private Long startTime;
private String subUserId;
private Integer pageSize;
private Integer roleType;
private List<String> levels;
private Long endTime;
private String alertTitle;
private Integer currentPage;
private String alertType;
private String alertUuid;
private String assetId;
private String labelType;
public DescribeAlertsRequest() {
super("cloud-siem", "2022-06-16", "DescribeAlerts", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
if(alertName != null){
putBodyParameter("AlertName", alertName);
}
}
public String getEntityName() {
return this.entityName;
}
public void setEntityName(String entityName) {
this.entityName = entityName;
if(entityName != null){
putBodyParameter("EntityName", entityName);
}
}
public String getAssetName() {
return this.assetName;
}
public void setAssetName(String assetName) {
this.assetName = assetName;
if(assetName != null){
putBodyParameter("AssetName", assetName);
}
}
public String getEntityId() {
return this.entityId;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
if(entityId != null){
putBodyParameter("EntityId", entityId);
}
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
if(source != null){
putBodyParameter("Source", source);
}
}
public String getIsDefend() {
return this.isDefend;
}
public void setIsDefend(String isDefend) {
this.isDefend = isDefend;
if(isDefend != null){
putBodyParameter("IsDefend", isDefend);
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putBodyParameter("StartTime", startTime.toString());
}
}
public String getSubUserId() {
return this.subUserId;
}
public void setSubUserId(String subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putBodyParameter("SubUserId", subUserId);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putBodyParameter("PageSize", pageSize.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public List<String> getLevels() {
return this.levels;
}
public void setLevels(List<String> levels) {
this.levels = levels;
if (levels != null) {
for (int i = 0; i < levels.size(); i++) {
putBodyParameter("Level." + (i + 1) , levels.get(i));
}
}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putBodyParameter("EndTime", endTime.toString());
}
}
public String getAlertTitle() {
return this.alertTitle;
}
public void setAlertTitle(String alertTitle) {
this.alertTitle = alertTitle;
if(alertTitle != null){
putBodyParameter("AlertTitle", alertTitle);
}
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putBodyParameter("CurrentPage", currentPage.toString());
}
}
public String getAlertType() {
return this.alertType;
}
public void setAlertType(String alertType) {
this.alertType = alertType;
if(alertType != null){
putBodyParameter("AlertType", alertType);
}
}
public String getAlertUuid() {
return this.alertUuid;
}
public void setAlertUuid(String alertUuid) {
this.alertUuid = alertUuid;
if(alertUuid != null){
putBodyParameter("AlertUuid", alertUuid);
}
}
public String getAssetId() {
return this.assetId;
}
public void setAssetId(String assetId) {
this.assetId = assetId;
if(assetId != null){
putBodyParameter("AssetId", assetId);
}
}
public String getLabelType() {
return this.labelType;
}
public void setLabelType(String labelType) {
this.labelType = labelType;
if(labelType != null){
putBodyParameter("LabelType", labelType);
}
}
@Override
public Class<DescribeAlertsResponse> getResponseClass() {
return DescribeAlertsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAlertsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAlertsResponse extends AcsResponse {
private Boolean success;
private Integer code;
private String message;
private String requestId;
private Data data;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private List<ResponseDataItem> responseData;
private PageInfo pageInfo;
public List<ResponseDataItem> getResponseData() {
return this.responseData;
}
public void setResponseData(List<ResponseDataItem> responseData) {
this.responseData = responseData;
}
public PageInfo getPageInfo() {
return this.pageInfo;
}
public void setPageInfo(PageInfo pageInfo) {
this.pageInfo = pageInfo;
}
public static class ResponseDataItem {
private Long id;
private String gmtCreate;
private String gmtModified;
private Long mainUserId;
private String incidentUuid;
private String alertUuid;
private String logTime;
private String alertSrcProd;
private String alertTitle;
private String alertTitleEn;
private String alertType;
private String alertTypeEn;
private String alertTypeCode;
private String alertName;
private String alertNameEn;
private String alertNameCode;
private String alertLevel;
private String assetList;
private String occurTime;
private String startTime;
private String endTime;
private String alertSrcProdModule;
private String alertDesc;
private String alertDescEn;
private String alertDescCode;
private String alertDetail;
private String logUuid;
private String entityList;
private String attCk;
private Long subUserId;
private String subUserName;
private String cloudCode;
private String isDefend;
private String extendContent;
private List<AlertInfoListItem> alertInfoList;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
public String getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}
public Long getMainUserId() {
return this.mainUserId;
}
public void setMainUserId(Long mainUserId) {
this.mainUserId = mainUserId;
}
public String getIncidentUuid() {
return this.incidentUuid;
}
public void setIncidentUuid(String incidentUuid) {
this.incidentUuid = incidentUuid;
}
public String getAlertUuid() {
return this.alertUuid;
}
public void setAlertUuid(String alertUuid) {
this.alertUuid = alertUuid;
}
public String getLogTime() {
return this.logTime;
}
public void setLogTime(String logTime) {
this.logTime = logTime;
}
public String getAlertSrcProd() {
return this.alertSrcProd;
}
public void setAlertSrcProd(String alertSrcProd) {
this.alertSrcProd = alertSrcProd;
}
public String getAlertTitle() {
return this.alertTitle;
}
public void setAlertTitle(String alertTitle) {
this.alertTitle = alertTitle;
}
public String getAlertTitleEn() {
return this.alertTitleEn;
}
public void setAlertTitleEn(String alertTitleEn) {
this.alertTitleEn = alertTitleEn;
}
public String getAlertType() {
return this.alertType;
}
public void setAlertType(String alertType) {
this.alertType = alertType;
}
public String getAlertTypeEn() {
return this.alertTypeEn;
}
public void setAlertTypeEn(String alertTypeEn) {
this.alertTypeEn = alertTypeEn;
}
public String getAlertTypeCode() {
return this.alertTypeCode;
}
public void setAlertTypeCode(String alertTypeCode) {
this.alertTypeCode = alertTypeCode;
}
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
}
public String getAlertNameEn() {
return this.alertNameEn;
}
public void setAlertNameEn(String alertNameEn) {
this.alertNameEn = alertNameEn;
}
public String getAlertNameCode() {
return this.alertNameCode;
}
public void setAlertNameCode(String alertNameCode) {
this.alertNameCode = alertNameCode;
}
public String getAlertLevel() {
return this.alertLevel;
}
public void setAlertLevel(String alertLevel) {
this.alertLevel = alertLevel;
}
public String getAssetList() {
return this.assetList;
}
public void setAssetList(String assetList) {
this.assetList = assetList;
}
public String getOccurTime() {
return this.occurTime;
}
public void setOccurTime(String occurTime) {
this.occurTime = occurTime;
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getAlertSrcProdModule() {
return this.alertSrcProdModule;
}
public void setAlertSrcProdModule(String alertSrcProdModule) {
this.alertSrcProdModule = alertSrcProdModule;
}
public String getAlertDesc() {
return this.alertDesc;
}
public void setAlertDesc(String alertDesc) {
this.alertDesc = alertDesc;
}
public String getAlertDescEn() {
return this.alertDescEn;
}
public void setAlertDescEn(String alertDescEn) {
this.alertDescEn = alertDescEn;
}
public String getAlertDescCode() {
return this.alertDescCode;
}
public void setAlertDescCode(String alertDescCode) {
this.alertDescCode = alertDescCode;
}
public String getAlertDetail() {
return this.alertDetail;
}
public void setAlertDetail(String alertDetail) {
this.alertDetail = alertDetail;
}
public String getLogUuid() {
return this.logUuid;
}
public void setLogUuid(String logUuid) {
this.logUuid = logUuid;
}
public String getEntityList() {
return this.entityList;
}
public void setEntityList(String entityList) {
this.entityList = entityList;
}
public String getAttCk() {
return this.attCk;
}
public void setAttCk(String attCk) {
this.attCk = attCk;
}
public Long getSubUserId() {
return this.subUserId;
}
public void setSubUserId(Long subUserId) {
this.subUserId = subUserId;
}
public String getSubUserName() {
return this.subUserName;
}
public void setSubUserName(String subUserName) {
this.subUserName = subUserName;
}
public String getCloudCode() {
return this.cloudCode;
}
public void setCloudCode(String cloudCode) {
this.cloudCode = cloudCode;
}
public String getIsDefend() {
return this.isDefend;
}
public void setIsDefend(String isDefend) {
this.isDefend = isDefend;
}
public String getExtendContent() {
return this.extendContent;
}
public void setExtendContent(String extendContent) {
this.extendContent = extendContent;
}
public List<AlertInfoListItem> getAlertInfoList() {
return this.alertInfoList;
}
public void setAlertInfoList(List<AlertInfoListItem> alertInfoList) {
this.alertInfoList = alertInfoList;
}
public static class AlertInfoListItem {
private String key;
private String keyName;
private String values;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getKeyName() {
return this.keyName;
}
public void setKeyName(String keyName) {
this.keyName = keyName;
}
public String getValues() {
return this.values;
}
public void setValues(String values) {
this.values = values;
}
}
}
public static class PageInfo {
private Integer currentPage;
private Integer pageSize;
private Long totalCount;
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Long getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
}
}
@Override
public DescribeAlertsResponse getInstance(UnmarshallerContext context) {
return DescribeAlertsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DescribeAlertsWithEntityRequest extends RpcAcsRequest<DescribeAlertsWithEntityResponse> {
private Long roleFor;
private Long entityId;
private Long startTime;
private Integer pageSize;
private Integer roleType;
private String sophonTaskId;
private Long endTime;
private Integer currentPage;
private String entityUuid;
private String incidentUuid;
public DescribeAlertsWithEntityRequest() {
super("cloud-siem", "2022-06-16", "DescribeAlertsWithEntity", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Long getEntityId() {
return this.entityId;
}
public void setEntityId(Long entityId) {
this.entityId = entityId;
if(entityId != null){
putBodyParameter("EntityId", entityId.toString());
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putBodyParameter("StartTime", startTime.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putBodyParameter("PageSize", pageSize.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public String getSophonTaskId() {
return this.sophonTaskId;
}
public void setSophonTaskId(String sophonTaskId) {
this.sophonTaskId = sophonTaskId;
if(sophonTaskId != null){
putBodyParameter("SophonTaskId", sophonTaskId);
}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putBodyParameter("EndTime", endTime.toString());
}
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putBodyParameter("CurrentPage", currentPage.toString());
}
}
public String getEntityUuid() {
return this.entityUuid;
}
public void setEntityUuid(String entityUuid) {
this.entityUuid = entityUuid;
if(entityUuid != null){
putBodyParameter("EntityUuid", entityUuid);
}
}
public String getIncidentUuid() {
return this.incidentUuid;
}
public void setIncidentUuid(String incidentUuid) {
this.incidentUuid = incidentUuid;
if(incidentUuid != null){
putBodyParameter("IncidentUuid", incidentUuid);
}
}
@Override
public Class<DescribeAlertsWithEntityResponse> getResponseClass() {
return DescribeAlertsWithEntityResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAlertsWithEntityResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAlertsWithEntityResponse extends AcsResponse {
private Boolean success;
private Integer code;
private String message;
private String requestId;
private Data data;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private List<ResponseDataItem> responseData;
private PageInfo pageInfo;
public List<ResponseDataItem> getResponseData() {
return this.responseData;
}
public void setResponseData(List<ResponseDataItem> responseData) {
this.responseData = responseData;
}
public PageInfo getPageInfo() {
return this.pageInfo;
}
public void setPageInfo(PageInfo pageInfo) {
this.pageInfo = pageInfo;
}
public static class ResponseDataItem {
private Long id;
private String gmtCreate;
private String gmtModified;
private Long mainUserId;
private String incidentUuid;
private String alertUuid;
private String logTime;
private String alertSrcProd;
private String alertTitle;
private String alertTitleEn;
private String alertType;
private String alertTypeEn;
private String alertTypeCode;
private String alertName;
private String alertNameEn;
private String alertNameCode;
private String alertLevel;
private String assetList;
private String occurTime;
private String startTime;
private String endTime;
private String alertSrcProdModule;
private String alertDesc;
private String alertDescEn;
private String alertDescCode;
private String alertDetail;
private String logUuid;
private String entityList;
private String attCk;
private Long subUserId;
private String subUserName;
private String cloudCode;
private String isDefend;
private List<AlertInfoListItem> alertInfoList;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
public String getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}
public Long getMainUserId() {
return this.mainUserId;
}
public void setMainUserId(Long mainUserId) {
this.mainUserId = mainUserId;
}
public String getIncidentUuid() {
return this.incidentUuid;
}
public void setIncidentUuid(String incidentUuid) {
this.incidentUuid = incidentUuid;
}
public String getAlertUuid() {
return this.alertUuid;
}
public void setAlertUuid(String alertUuid) {
this.alertUuid = alertUuid;
}
public String getLogTime() {
return this.logTime;
}
public void setLogTime(String logTime) {
this.logTime = logTime;
}
public String getAlertSrcProd() {
return this.alertSrcProd;
}
public void setAlertSrcProd(String alertSrcProd) {
this.alertSrcProd = alertSrcProd;
}
public String getAlertTitle() {
return this.alertTitle;
}
public void setAlertTitle(String alertTitle) {
this.alertTitle = alertTitle;
}
public String getAlertTitleEn() {
return this.alertTitleEn;
}
public void setAlertTitleEn(String alertTitleEn) {
this.alertTitleEn = alertTitleEn;
}
public String getAlertType() {
return this.alertType;
}
public void setAlertType(String alertType) {
this.alertType = alertType;
}
public String getAlertTypeEn() {
return this.alertTypeEn;
}
public void setAlertTypeEn(String alertTypeEn) {
this.alertTypeEn = alertTypeEn;
}
public String getAlertTypeCode() {
return this.alertTypeCode;
}
public void setAlertTypeCode(String alertTypeCode) {
this.alertTypeCode = alertTypeCode;
}
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
}
public String getAlertNameEn() {
return this.alertNameEn;
}
public void setAlertNameEn(String alertNameEn) {
this.alertNameEn = alertNameEn;
}
public String getAlertNameCode() {
return this.alertNameCode;
}
public void setAlertNameCode(String alertNameCode) {
this.alertNameCode = alertNameCode;
}
public String getAlertLevel() {
return this.alertLevel;
}
public void setAlertLevel(String alertLevel) {
this.alertLevel = alertLevel;
}
public String getAssetList() {
return this.assetList;
}
public void setAssetList(String assetList) {
this.assetList = assetList;
}
public String getOccurTime() {
return this.occurTime;
}
public void setOccurTime(String occurTime) {
this.occurTime = occurTime;
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getAlertSrcProdModule() {
return this.alertSrcProdModule;
}
public void setAlertSrcProdModule(String alertSrcProdModule) {
this.alertSrcProdModule = alertSrcProdModule;
}
public String getAlertDesc() {
return this.alertDesc;
}
public void setAlertDesc(String alertDesc) {
this.alertDesc = alertDesc;
}
public String getAlertDescEn() {
return this.alertDescEn;
}
public void setAlertDescEn(String alertDescEn) {
this.alertDescEn = alertDescEn;
}
public String getAlertDescCode() {
return this.alertDescCode;
}
public void setAlertDescCode(String alertDescCode) {
this.alertDescCode = alertDescCode;
}
public String getAlertDetail() {
return this.alertDetail;
}
public void setAlertDetail(String alertDetail) {
this.alertDetail = alertDetail;
}
public String getLogUuid() {
return this.logUuid;
}
public void setLogUuid(String logUuid) {
this.logUuid = logUuid;
}
public String getEntityList() {
return this.entityList;
}
public void setEntityList(String entityList) {
this.entityList = entityList;
}
public String getAttCk() {
return this.attCk;
}
public void setAttCk(String attCk) {
this.attCk = attCk;
}
public Long getSubUserId() {
return this.subUserId;
}
public void setSubUserId(Long subUserId) {
this.subUserId = subUserId;
}
public String getSubUserName() {
return this.subUserName;
}
public void setSubUserName(String subUserName) {
this.subUserName = subUserName;
}
public String getCloudCode() {
return this.cloudCode;
}
public void setCloudCode(String cloudCode) {
this.cloudCode = cloudCode;
}
public String getIsDefend() {
return this.isDefend;
}
public void setIsDefend(String isDefend) {
this.isDefend = isDefend;
}
public List<AlertInfoListItem> getAlertInfoList() {
return this.alertInfoList;
}
public void setAlertInfoList(List<AlertInfoListItem> alertInfoList) {
this.alertInfoList = alertInfoList;
}
public static class AlertInfoListItem {
private String key;
private String keyName;
private String values;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getKeyName() {
return this.keyName;
}
public void setKeyName(String keyName) {
this.keyName = keyName;
}
public String getValues() {
return this.values;
}
public void setValues(String values) {
this.values = values;
}
}
}
public static class PageInfo {
private Integer currentPage;
private Integer pageSize;
private Long totalCount;
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Long getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
}
}
@Override
public DescribeAlertsWithEntityResponse getInstance(UnmarshallerContext context) {
return DescribeAlertsWithEntityResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DescribeAlertsWithEventRequest extends RpcAcsRequest<DescribeAlertsWithEventResponse> {
private Long roleFor;
private String alertName;
private String entityName;
private String assetName;
private String entityId;
private String source;
private String isDefend;
private Long startTime;
private Long subUserId;
private Integer pageSize;
private Integer roleType;
private List<String> levels;
private Long endTime;
private String alertTitle;
private Integer currentPage;
private String alertType;
private String assetId;
private String incidentUuid;
public DescribeAlertsWithEventRequest() {
super("cloud-siem", "2022-06-16", "DescribeAlertsWithEvent", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
if(alertName != null){
putBodyParameter("AlertName", alertName);
}
}
public String getEntityName() {
return this.entityName;
}
public void setEntityName(String entityName) {
this.entityName = entityName;
if(entityName != null){
putBodyParameter("EntityName", entityName);
}
}
public String getAssetName() {
return this.assetName;
}
public void setAssetName(String assetName) {
this.assetName = assetName;
if(assetName != null){
putBodyParameter("AssetName", assetName);
}
}
public String getEntityId() {
return this.entityId;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
if(entityId != null){
putBodyParameter("EntityId", entityId);
}
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
if(source != null){
putBodyParameter("Source", source);
}
}
public String getIsDefend() {
return this.isDefend;
}
public void setIsDefend(String isDefend) {
this.isDefend = isDefend;
if(isDefend != null){
putBodyParameter("IsDefend", isDefend);
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putBodyParameter("StartTime", startTime.toString());
}
}
public Long getSubUserId() {
return this.subUserId;
}
public void setSubUserId(Long subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putBodyParameter("SubUserId", subUserId.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putBodyParameter("PageSize", pageSize.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public List<String> getLevels() {
return this.levels;
}
public void setLevels(List<String> levels) {
this.levels = levels;
if (levels != null) {
for (int i = 0; i < levels.size(); i++) {
putBodyParameter("Level." + (i + 1) , levels.get(i));
}
}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putBodyParameter("EndTime", endTime.toString());
}
}
public String getAlertTitle() {
return this.alertTitle;
}
public void setAlertTitle(String alertTitle) {
this.alertTitle = alertTitle;
if(alertTitle != null){
putBodyParameter("AlertTitle", alertTitle);
}
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putBodyParameter("CurrentPage", currentPage.toString());
}
}
public String getAlertType() {
return this.alertType;
}
public void setAlertType(String alertType) {
this.alertType = alertType;
if(alertType != null){
putBodyParameter("AlertType", alertType);
}
}
public String getAssetId() {
return this.assetId;
}
public void setAssetId(String assetId) {
this.assetId = assetId;
if(assetId != null){
putBodyParameter("AssetId", assetId);
}
}
public String getIncidentUuid() {
return this.incidentUuid;
}
public void setIncidentUuid(String incidentUuid) {
this.incidentUuid = incidentUuid;
if(incidentUuid != null){
putBodyParameter("IncidentUuid", incidentUuid);
}
}
@Override
public Class<DescribeAlertsWithEventResponse> getResponseClass() {
return DescribeAlertsWithEventResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAlertsWithEventResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAlertsWithEventResponse extends AcsResponse {
private Boolean success;
private Integer code;
private String message;
private String requestId;
private Data data;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private List<ResponseDataItem> responseData;
private PageInfo pageInfo;
public List<ResponseDataItem> getResponseData() {
return this.responseData;
}
public void setResponseData(List<ResponseDataItem> responseData) {
this.responseData = responseData;
}
public PageInfo getPageInfo() {
return this.pageInfo;
}
public void setPageInfo(PageInfo pageInfo) {
this.pageInfo = pageInfo;
}
public static class ResponseDataItem {
private Long id;
private String gmtCreate;
private String gmtModified;
private Long mainUserId;
private String incidentUuid;
private String alertUuid;
private String logTime;
private String alertSrcProd;
private String alertTitle;
private String alertTitleEn;
private String alertType;
private String alertTypeEn;
private String alertTypeCode;
private String alertName;
private String alertNameEn;
private String alertNameCode;
private String alertLevel;
private String assetList;
private String occurTime;
private String startTime;
private String endTime;
private String alertSrcProdModule;
private String alertDesc;
private String alertDescEn;
private String alertDescCode;
private String alertDetail;
private String logUuid;
private String entityList;
private String attCk;
private Long subUserId;
private String subUserName;
private String cloudCode;
private String isDefend;
private String extendContent;
private List<AlertInfoListItem> alertInfoList;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
public String getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}
public Long getMainUserId() {
return this.mainUserId;
}
public void setMainUserId(Long mainUserId) {
this.mainUserId = mainUserId;
}
public String getIncidentUuid() {
return this.incidentUuid;
}
public void setIncidentUuid(String incidentUuid) {
this.incidentUuid = incidentUuid;
}
public String getAlertUuid() {
return this.alertUuid;
}
public void setAlertUuid(String alertUuid) {
this.alertUuid = alertUuid;
}
public String getLogTime() {
return this.logTime;
}
public void setLogTime(String logTime) {
this.logTime = logTime;
}
public String getAlertSrcProd() {
return this.alertSrcProd;
}
public void setAlertSrcProd(String alertSrcProd) {
this.alertSrcProd = alertSrcProd;
}
public String getAlertTitle() {
return this.alertTitle;
}
public void setAlertTitle(String alertTitle) {
this.alertTitle = alertTitle;
}
public String getAlertTitleEn() {
return this.alertTitleEn;
}
public void setAlertTitleEn(String alertTitleEn) {
this.alertTitleEn = alertTitleEn;
}
public String getAlertType() {
return this.alertType;
}
public void setAlertType(String alertType) {
this.alertType = alertType;
}
public String getAlertTypeEn() {
return this.alertTypeEn;
}
public void setAlertTypeEn(String alertTypeEn) {
this.alertTypeEn = alertTypeEn;
}
public String getAlertTypeCode() {
return this.alertTypeCode;
}
public void setAlertTypeCode(String alertTypeCode) {
this.alertTypeCode = alertTypeCode;
}
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
}
public String getAlertNameEn() {
return this.alertNameEn;
}
public void setAlertNameEn(String alertNameEn) {
this.alertNameEn = alertNameEn;
}
public String getAlertNameCode() {
return this.alertNameCode;
}
public void setAlertNameCode(String alertNameCode) {
this.alertNameCode = alertNameCode;
}
public String getAlertLevel() {
return this.alertLevel;
}
public void setAlertLevel(String alertLevel) {
this.alertLevel = alertLevel;
}
public String getAssetList() {
return this.assetList;
}
public void setAssetList(String assetList) {
this.assetList = assetList;
}
public String getOccurTime() {
return this.occurTime;
}
public void setOccurTime(String occurTime) {
this.occurTime = occurTime;
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getAlertSrcProdModule() {
return this.alertSrcProdModule;
}
public void setAlertSrcProdModule(String alertSrcProdModule) {
this.alertSrcProdModule = alertSrcProdModule;
}
public String getAlertDesc() {
return this.alertDesc;
}
public void setAlertDesc(String alertDesc) {
this.alertDesc = alertDesc;
}
public String getAlertDescEn() {
return this.alertDescEn;
}
public void setAlertDescEn(String alertDescEn) {
this.alertDescEn = alertDescEn;
}
public String getAlertDescCode() {
return this.alertDescCode;
}
public void setAlertDescCode(String alertDescCode) {
this.alertDescCode = alertDescCode;
}
public String getAlertDetail() {
return this.alertDetail;
}
public void setAlertDetail(String alertDetail) {
this.alertDetail = alertDetail;
}
public String getLogUuid() {
return this.logUuid;
}
public void setLogUuid(String logUuid) {
this.logUuid = logUuid;
}
public String getEntityList() {
return this.entityList;
}
public void setEntityList(String entityList) {
this.entityList = entityList;
}
public String getAttCk() {
return this.attCk;
}
public void setAttCk(String attCk) {
this.attCk = attCk;
}
public Long getSubUserId() {
return this.subUserId;
}
public void setSubUserId(Long subUserId) {
this.subUserId = subUserId;
}
public String getSubUserName() {
return this.subUserName;
}
public void setSubUserName(String subUserName) {
this.subUserName = subUserName;
}
public String getCloudCode() {
return this.cloudCode;
}
public void setCloudCode(String cloudCode) {
this.cloudCode = cloudCode;
}
public String getIsDefend() {
return this.isDefend;
}
public void setIsDefend(String isDefend) {
this.isDefend = isDefend;
}
public String getExtendContent() {
return this.extendContent;
}
public void setExtendContent(String extendContent) {
this.extendContent = extendContent;
}
public List<AlertInfoListItem> getAlertInfoList() {
return this.alertInfoList;
}
public void setAlertInfoList(List<AlertInfoListItem> alertInfoList) {
this.alertInfoList = alertInfoList;
}
public static class AlertInfoListItem {
private String key;
private String keyName;
private String values;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getKeyName() {
return this.keyName;
}
public void setKeyName(String keyName) {
this.keyName = keyName;
}
public String getValues() {
return this.values;
}
public void setValues(String values) {
this.values = values;
}
}
}
public static class PageInfo {
private Integer currentPage;
private Integer pageSize;
private Long totalCount;
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Long getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
}
}
@Override
public DescribeAlertsWithEventResponse getInstance(UnmarshallerContext context) {
return DescribeAlertsWithEventResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAuthRequest.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DescribeAuthRequest extends RpcAcsRequest<DescribeAuthResponse> {
public DescribeAuthRequest() {
super("cloud-siem", "2022-06-16", "DescribeAuth", "cloud-siem");
setMethod(MethodType.POST);
}
@Override
public Class<DescribeAuthResponse> getResponseClass() {
return DescribeAuthResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/DescribeAuthResponse.java
|
/*
* 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.aliyuncs.cloud_siem.model.v20220616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAuthResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAuthResponse extends AcsResponse {
private Boolean data;
private String requestId;
public Boolean getData() {
return this.data;
}
public void setData(Boolean data) {
this.data = data;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DescribeAuthResponse getInstance(UnmarshallerContext context) {
return DescribeAuthResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.