package com.devicehive.model.rpc;
/*
* #%L
* DeviceHive Common Module
* %%
* Copyright (C) 2016 DataArt
* %%
* 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.
* #L%
*/
import com.devicehive.shim.api.Body;
import java.util.Date;
import java.util.Set;
public class CommandSearchRequest extends Body {
private Long id;
private String guid;
private Set<String> names;
private Date timestampStart;
private Date timestampEnd;
private String status;
public CommandSearchRequest() {
super(Action.COMMAND_SEARCH_REQUEST.name());
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getGuid() {
return guid;
}
public void setGuid(String guid) {
this.guid = guid;
}
public Set<String> getNames() {
return names;
}
public void setNames(Set<String> names) {
this.names = names;
}
public Date getTimestampStart() {
return timestampStart;
}
public void setTimestampStart(Date timestampStart) {
this.timestampStart = timestampStart;
}
public Date getTimestampEnd() {
return timestampEnd;
}
public void setTimestampEnd(Date timestampEnd) {
this.timestampEnd = timestampEnd;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
}