com.geotab.model.entity.security.SecurityId Maven / Gradle / Ivy
/*
*
* 2020 Copyright (C) Geotab Inc. All rights reserved.
*/
package com.geotab.model.entity.security;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.geotab.model.entity.NameEntityWithVersion;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
/**
* For managing security identifiers.
*/
@NoArgsConstructor
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class SecurityId extends NameEntityWithVersion {
/**
* The custom page name.
*/
private String customPageName;
/**
* Indicates whether this securityIdentifier is a system Id or custom identifier.
*/
@JsonProperty("isSystemSecurityId")
private Boolean isSystemSecurityId;
@Builder
public SecurityId(String id, String name, Long version, String customPageName,
Boolean isSystemSecurityId) {
super(id, name, version);
this.customPageName = customPageName;
this.isSystemSecurityId = isSystemSecurityId;
}
}