pollv2

package
v0.2.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserPollSettings

type UserPollSettings struct {
	CompletedAt   *time.Time             `json:"completedAt,omitempty"`
	DontShowUntil *time.Time             `json:"dontShowUntil,omitempty"`
	IgnoredAt     *time.Time             `json:"ignoredAt,omitempty"`
	ShouldShow    bool                   `json:"shouldShow"`
	Status        UserPollSettingsStatus `json:"status"`
	UserId        string                 `json:"userId"`
}

func (*UserPollSettings) Validate

func (o *UserPollSettings) Validate() error

type UserPollSettingsStatus

type UserPollSettingsStatus string
const UserPollSettingsStatusCompleted UserPollSettingsStatus = "completed"
const UserPollSettingsStatusIgnored UserPollSettingsStatus = "ignored"
const UserPollSettingsStatusMuted UserPollSettingsStatus = "muted"
const UserPollSettingsStatusNew UserPollSettingsStatus = "new"

func (UserPollSettingsStatus) Validate

func (e UserPollSettingsStatus) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL