com.aliyun.oos20190601.models.UpdateOpsItemResponseBody Maven / Gradle / Ivy
Show all versions of oos20190601 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.oos20190601.models;
import com.aliyun.tea.*;
public class UpdateOpsItemResponseBody extends TeaModel {
/**
* The information about the O\&M item.
*/
@NameInMap("OpsItem")
public UpdateOpsItemResponseBodyOpsItem opsItem;
/**
* The request ID.
*
* example:
* C996DECB-3D2B-5321-B359-BE7031B6399E
*/
@NameInMap("RequestId")
public String requestId;
public static UpdateOpsItemResponseBody build(java.util.Map map) throws Exception {
UpdateOpsItemResponseBody self = new UpdateOpsItemResponseBody();
return TeaModel.build(map, self);
}
public UpdateOpsItemResponseBody setOpsItem(UpdateOpsItemResponseBodyOpsItem opsItem) {
this.opsItem = opsItem;
return this;
}
public UpdateOpsItemResponseBodyOpsItem getOpsItem() {
return this.opsItem;
}
public UpdateOpsItemResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class UpdateOpsItemResponseBodyOpsItem extends TeaModel {
/**
* The attributes of the O\&M item.
*
* example:
* [{\"Attribute\": {\"Weight\": 100}, \"RealServer\": \"uaejc8hnqzqz5valyh8dibolpvza48ik.yundunwaf5.com\"}]
*/
@NameInMap("Attributes")
public String attributes;
/**
* The category.
*
* example:
* Security
*/
@NameInMap("Category")
public String category;
/**
* The time when the O\&M item was created.
*
* example:
* 2023-03-16T07:04Z
*/
@NameInMap("CreateDate")
public String createDate;
/**
* The user who created the patch baseline.
*
* example:
* root(130900000)
*/
@NameInMap("CreatedBy")
public String createdBy;
/**
* The description.
*
* example:
* test-update
*/
@NameInMap("Description")
public String description;
/**
* The user who modified the O\&M item.
*
* example:
* root(130900000)
*/
@NameInMap("LastModifiedBy")
public String lastModifiedBy;
/**
* The ID of the O\&M item.
*
* example:
* oi-e2264dcf040c472598e9
*/
@NameInMap("OpsItemId")
public String opsItemId;
/**
* The priority.
*
* example:
* 2
*/
@NameInMap("Priority")
public Integer priority;
/**
* The ID of the resource group.
*
* example:
* rg-acfmxsn4m4******
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* The ARNs of the associated resources.
*/
@NameInMap("Resources")
public java.util.List resources;
/**
* The severity level.
*
* example:
* Medium
*/
@NameInMap("Severity")
public String severity;
/**
* The solutions.
*/
@NameInMap("Solutions")
public java.util.List solutions;
/**
* The source business.
*
* example:
* /aliyun/ecs
*/
@NameInMap("Source")
public String source;
/**
* The status.
*
* example:
* Open
*/
@NameInMap("Status")
public String status;
/**
* The tags.
*
* example:
* {
* "k1": "v1",
* "k2": "v2"
* }
*/
@NameInMap("Tags")
public java.util.Map tags;
/**
* The title of the O\&M item.
*
* example:
* Test
*/
@NameInMap("Title")
public String title;
/**
* The time when the O\&M item was updated.
*
* example:
* 2023-03-16T08:04Z
*/
@NameInMap("UpdateDate")
public String updateDate;
public static UpdateOpsItemResponseBodyOpsItem build(java.util.Map map) throws Exception {
UpdateOpsItemResponseBodyOpsItem self = new UpdateOpsItemResponseBodyOpsItem();
return TeaModel.build(map, self);
}
public UpdateOpsItemResponseBodyOpsItem setAttributes(String attributes) {
this.attributes = attributes;
return this;
}
public String getAttributes() {
return this.attributes;
}
public UpdateOpsItemResponseBodyOpsItem setCategory(String category) {
this.category = category;
return this;
}
public String getCategory() {
return this.category;
}
public UpdateOpsItemResponseBodyOpsItem setCreateDate(String createDate) {
this.createDate = createDate;
return this;
}
public String getCreateDate() {
return this.createDate;
}
public UpdateOpsItemResponseBodyOpsItem setCreatedBy(String createdBy) {
this.createdBy = createdBy;
return this;
}
public String getCreatedBy() {
return this.createdBy;
}
public UpdateOpsItemResponseBodyOpsItem setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public UpdateOpsItemResponseBodyOpsItem setLastModifiedBy(String lastModifiedBy) {
this.lastModifiedBy = lastModifiedBy;
return this;
}
public String getLastModifiedBy() {
return this.lastModifiedBy;
}
public UpdateOpsItemResponseBodyOpsItem setOpsItemId(String opsItemId) {
this.opsItemId = opsItemId;
return this;
}
public String getOpsItemId() {
return this.opsItemId;
}
public UpdateOpsItemResponseBodyOpsItem setPriority(Integer priority) {
this.priority = priority;
return this;
}
public Integer getPriority() {
return this.priority;
}
public UpdateOpsItemResponseBodyOpsItem setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public UpdateOpsItemResponseBodyOpsItem setResources(java.util.List resources) {
this.resources = resources;
return this;
}
public java.util.List getResources() {
return this.resources;
}
public UpdateOpsItemResponseBodyOpsItem setSeverity(String severity) {
this.severity = severity;
return this;
}
public String getSeverity() {
return this.severity;
}
public UpdateOpsItemResponseBodyOpsItem setSolutions(java.util.List solutions) {
this.solutions = solutions;
return this;
}
public java.util.List getSolutions() {
return this.solutions;
}
public UpdateOpsItemResponseBodyOpsItem setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public UpdateOpsItemResponseBodyOpsItem setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public UpdateOpsItemResponseBodyOpsItem setTags(java.util.Map tags) {
this.tags = tags;
return this;
}
public java.util.Map getTags() {
return this.tags;
}
public UpdateOpsItemResponseBodyOpsItem setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public UpdateOpsItemResponseBodyOpsItem setUpdateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public String getUpdateDate() {
return this.updateDate;
}
}
}