com.launchkey.sdk.transport.domain.DirectoryV3SessionsDeleteRequest Maven / Gradle / Ivy
Show all versions of launchkey-sdk Show documentation
/**
* Copyright 2017 iovation, Inc.
*
* Licensed under the MIT License.
* You may not use this file except in compliance with the License.
* A copy of the License is located in the "LICENSE.txt" file accompanying
* this file. This file 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.launchkey.sdk.transport.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
public class DirectoryV3SessionsDeleteRequest {
private final String identifier;
public DirectoryV3SessionsDeleteRequest(String identifier) {
this.identifier = identifier;
}
@JsonProperty(value = "identifier")
public String getIdentifier() {
return identifier;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof DirectoryV3SessionsDeleteRequest)) return false;
DirectoryV3SessionsDeleteRequest that = (DirectoryV3SessionsDeleteRequest) o;
return getIdentifier() != null ? getIdentifier().equals(that.getIdentifier()) : that.getIdentifier() == null;
}
@Override
public int hashCode() {
return getIdentifier() != null ? getIdentifier().hashCode() : 0;
}
@Override
public String toString() {
return "DirectoryV3SessionsDeleteRequest{" +
"identifier='" + identifier + '\'' +
'}';
}
}