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

com.pubnub.api.java.models.consumer.objects_api.PNObject Maven / Gradle / Ivy

package com.pubnub.api.java.models.consumer.objects_api;

import com.pubnub.api.utils.PatchValue;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.jetbrains.annotations.Nullable;

import java.util.Map;

@Getter
@Accessors(chain = true)
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
@ToString
public class PNObject {

    @EqualsAndHashCode.Include
    protected String id;

    @Setter
    protected PatchValue<@Nullable Map> custom;

    @Setter
    protected PatchValue<@Nullable String> updated;

    @Setter
    protected PatchValue<@Nullable String> eTag;

    protected PNObject(String id) {
        this.id = id;
    }

    protected PNObject() {
    }
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy