com.github.princesslana.eriscasper.data.request.ModifyGuildIntegrationRequest Maven / Gradle / Ivy
The newest version!
package com.github.princesslana.eriscasper.data.request;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.github.princesslana.eriscasper.data.Snowflake;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import org.immutables.value.Value;
import com.github.princesslana.eriscasper.data.resource.*;
@Value.Immutable
@JsonDeserialize(as=ImmutableModifyGuildIntegrationRequest.class)
public interface ModifyGuildIntegrationRequest {
/**
* the behavior when an integration subscription lapses (see the integration object documentation)
*/
@JsonProperty("expire_behavior")
Long getExpireBehavior();
/**
* period (in seconds) where the integration will ignore lapsed subscriptions
*/
@JsonProperty("expire_grace_period")
Long getExpireGracePeriod();
/**
* whether emoticons should be synced for this integration (twitch only currently)
*/
@JsonProperty("enable_emoticons")
Boolean isEnableEmoticons();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy