-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
159 changed files
with
10,838 additions
and
1,132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
2023-12-13 Version: 1.0.3 | ||
- Standardizing api. | ||
|
||
2023-11-01 Version: 1.0.2 | ||
- Standardizing api. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 101 additions & 0 deletions
101
...d-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceLogRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
/* | ||
* 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; | ||
} | ||
|
||
} |
79 changes: 79 additions & 0 deletions
79
...-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceLogResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
/* | ||
* 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; | ||
} | ||
} |
114 changes: 114 additions & 0 deletions
114
...loud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
/* | ||
* 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; | ||
} | ||
|
||
} |
79 changes: 79 additions & 0 deletions
79
...oud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
/* | ||
* 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; | ||
} | ||
} |
Oops, something went wrong.