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

com.greenapi.client.pkg.models.notifications.messages.messageData.PollUpdateMessageData Maven / Gradle / Ivy

There is a newer version: 0.1.8
Show newest version
package com.greenapi.client.pkg.models.notifications.messages.messageData;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class PollUpdateMessageData {
    private String name;
    private List votes;
    private boolean multipleAnswers;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    static class Vote {
        private String optionName;
        private List optionVoters;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    static class Voter {
        private String wid;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy