All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.geotab.model.entity.customproperty.PropertySet Maven / Gradle / Ivy

package com.geotab.model.entity.customproperty;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.geotab.model.entity.EntityWithVersion;
import com.geotab.model.entity.group.Group;
import com.geotab.model.serialization.serdes.EntityCollectionAsIdCollectionSerializer;
import java.util.List;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

/**
 * The property set that groups {@link Property} together based on a grouping structure.
 */
@Getter @Setter
@NoArgsConstructor
@SuperBuilder
public class PropertySet extends EntityWithVersion {

  /**
   * The Name of the PropertySet.
   */
  private String name;

  /**
   * The Properties of the PropertySet.
   */
  private List properties;

  /**
   * The {@link Group}s of the PropertySet.
   */
  @JsonSerialize(converter = EntityCollectionAsIdCollectionSerializer.class)
  private List groups;

  /**
   * The External Reference of the PropertySet.
   */
  private String externalReference;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy