@ApiModelProperty(position=11,value="Alarm assignee user id")
privateUserIdassigneeId;
privateUserIdassigneeId;
@ApiModelProperty(position=11,value="Timestamp of the alarm start time, in milliseconds",example="1634058704565")
@ApiModelProperty(position=12,value="Timestamp of the alarm start time, in milliseconds",example="1634058704565")
privatelongstartTs;
privatelongstartTs;
@ApiModelProperty(position=12,value="Timestamp of the alarm end time(last time update), in milliseconds",example="1634111163522")
@ApiModelProperty(position=13,value="Timestamp of the alarm end time(last time update), in milliseconds",example="1634111163522")
privatelongendTs;
privatelongendTs;
@ApiModelProperty(position=13,value="Timestamp of the alarm acknowledgement, in milliseconds",example="1634115221948")
@ApiModelProperty(position=14,value="Timestamp of the alarm acknowledgement, in milliseconds",example="1634115221948")
privatelongackTs;
privatelongackTs;
@ApiModelProperty(position=14,value="Timestamp of the alarm clearing, in milliseconds",example="1634114528465")
@ApiModelProperty(position=15,value="Timestamp of the alarm clearing, in milliseconds",example="1634114528465")
privatelongclearTs;
privatelongclearTs;
@ApiModelProperty(position=15,value="Timestamp of the alarm assignment, in milliseconds",example="1634115928465")
@ApiModelProperty(position=16,value="Timestamp of the alarm assignment, in milliseconds",example="1634115928465")
privatelongassignTs;
privatelongassignTs;
@ApiModelProperty(position=16,value="JSON object with alarm details")
@ApiModelProperty(position=17,value="JSON object with alarm details")
privatetransientJsonNodedetails;
privatetransientJsonNodedetails;
@ApiModelProperty(position=17,value="Propagation flag to specify if alarm should be propagated to parent entities of alarm originator",example="true")
@ApiModelProperty(position=18,value="Propagation flag to specify if alarm should be propagated to parent entities of alarm originator",example="true")
privatebooleanpropagate;
privatebooleanpropagate;
@ApiModelProperty(position=18,value="Propagation flag to specify if alarm should be propagated to the owner (tenant or customer) of alarm originator",example="true")
@ApiModelProperty(position=19,value="Propagation flag to specify if alarm should be propagated to the owner (tenant or customer) of alarm originator",example="true")
privatebooleanpropagateToOwner;
privatebooleanpropagateToOwner;
@ApiModelProperty(position=19,value="Propagation flag to specify if alarm should be propagated to the tenant entity",example="true")
@ApiModelProperty(position=20,value="Propagation flag to specify if alarm should be propagated to the tenant entity",example="true")
privatebooleanpropagateToTenant;
privatebooleanpropagateToTenant;
@ApiModelProperty(position=20,value="JSON array of relation types that should be used for propagation. "+
@ApiModelProperty(position=21,value="JSON array of relation types that should be used for propagation. "+
"By default, 'propagateRelationTypes' array is empty which means that the alarm will be propagated based on any relation type to parent entities. "+
"By default, 'propagateRelationTypes' array is empty which means that the alarm will be propagated based on any relation type to parent entities. "+
"This parameter should be used only in case when 'propagate' parameter is set to true, otherwise, 'propagateRelationTypes' array will be ignored.")
"This parameter should be used only in case when 'propagate' parameter is set to true, otherwise, 'propagateRelationTypes' array will be ignored.")
privateList<String>propagateRelationTypes;
privateList<String>propagateRelationTypes;
@ -106,12 +108,13 @@ public class Alarm extends BaseData<AlarmId> implements HasName, HasTenantId, Ha
this.type=alarm.getType();
this.type=alarm.getType();
this.originator=alarm.getOriginator();
this.originator=alarm.getOriginator();
this.severity=alarm.getSeverity();
this.severity=alarm.getSeverity();
this.status=alarm.getStatus();
this.assigneeId=alarm.getAssigneeId();
this.assigneeId=alarm.getAssigneeId();
this.startTs=alarm.getStartTs();
this.startTs=alarm.getStartTs();
this.endTs=alarm.getEndTs();
this.endTs=alarm.getEndTs();
this.acknowledged=alarm.isAcknowledged();
this.ackTs=alarm.getAckTs();
this.ackTs=alarm.getAckTs();
this.clearTs=alarm.getClearTs();
this.clearTs=alarm.getClearTs();
this.cleared=alarm.isCleared();
this.assignTs=alarm.getAssignTs();
this.assignTs=alarm.getAssignTs();
this.details=alarm.getDetails();
this.details=alarm.getDetails();
this.propagate=alarm.isPropagate();
this.propagate=alarm.isPropagate();
@ -130,7 +133,7 @@ public class Alarm extends BaseData<AlarmId> implements HasName, HasTenantId, Ha
@ApiModelProperty(position=1,value="JSON object with the alarm Id. "+
@ApiModelProperty(position=1,value="JSON object with the alarm Id. "+
"Specify this field to update the alarm. "+
"Specify this field to update the alarm. "+
"Referencing non-existing alarm Id will cause error. "+
"Referencing non-existing alarm Id will cause error. "+
"Omit this field to create new alarm.")
"Omit this field to create new alarm.")
@Override
@Override
publicAlarmIdgetId(){
publicAlarmIdgetId(){
returnsuper.getId();
returnsuper.getId();
@ -143,4 +146,19 @@ public class Alarm extends BaseData<AlarmId> implements HasName, HasTenantId, Ha