it.auties.whatsapp.model.action.AndroidUnsupportedActions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whatsappweb4j Show documentation
Show all versions of whatsappweb4j Show documentation
Standalone fully-featured Whatsapp Web API for Java and Kotlin
package it.auties.whatsapp.model.action;
import it.auties.protobuf.base.ProtobufProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.jackson.Jacksonized;
import static it.auties.protobuf.base.ProtobufType.BOOL;
/**
* A model clas that represents unsupported actions for android
*/
@AllArgsConstructor(staticName = "of")
@Data
@Builder
@Jacksonized
@Accessors(fluent = true)
public final class AndroidUnsupportedActions implements Action {
/**
* Whether unsupported actions are allowed
*/
@ProtobufProperty(index = 1, type = BOOL)
private boolean allowed;
/**
* The name of this action
*
* @return a non-null string
*/
@Override
public String indexName() {
return "android_unsupported_actions";
}
}