dto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BroadcastResponseDto

type BroadcastResponseDto struct {
	ApnsRequestId string `json:"apns_request_id"`
	ApnsUniqueId  string `json:"apns_unique_id"`
	Body          string `json:"body"`
}

type FollowAthleteRequestDto

type FollowAthleteRequestDto struct {
	AthleteId primitive.ObjectID `json:"athlete"`
	Follow    bool               `json:"follow,omitempty"`
}

type NotificationRequestDto

type NotificationRequestDto struct {
	Title    string `json:"title"`
	Subtitle string `json:"subtitle"`
	Message  string `json:"message"`
}

type NotificationResponseDto

type NotificationResponseDto struct {
	ApnsId string `json:"apns_id"`
	Body   string `json:"body"`
}

type RegisterNotificationUserRequestDto

type RegisterNotificationUserRequestDto struct {
	Token    string                     `json:"token,omitempty"`
	Device   model.Device               `json:"device,omitempty"`
	Settings model.NotificationSettings `json:"settings,omitempty"`
}

type SetLanguageRequestDto

type SetLanguageRequestDto struct {
	Language string `json:"language,omitempty"`
}

type SetMeRequestDto

type SetMeRequestDto struct {
	AthleteId primitive.ObjectID `json:"athlete"`
	Set       bool               `json:"set,omitempty"`
}

type SetThemeRequestDto

type SetThemeRequestDto struct {
	Theme string `json:"theme,omitempty"`
}

type SubscribeMeetingRequestDto

type SubscribeMeetingRequestDto struct {
	Meeting   string `json:"meeting"`
	Subscribe bool   `json:"subscribe,omitempty"`
}

Jump to

Keyboard shortcuts

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