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

com.github.twitch4j.eventsub.ConduitShard Maven / Gradle / Ivy

The newest version!
package com.github.twitch4j.eventsub;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.With;
import lombok.extern.jackson.Jacksonized;

@With
@Data
@Setter(AccessLevel.PRIVATE)
@Builder(toBuilder = true)
@Jacksonized
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ConduitShard {

    /**
     * Shard ID.
     */
    @JsonProperty("id")
    private String shardId;

    /**
     * The shard status.
     * 

* The subscriber receives events only for enabled shards. */ private ShardStatus status; /** * The transport details used to send the notifications. */ private EventSubTransport transport; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy