Skip to content

Commit

Permalink
Merge pull request #89 from tada-team/meeting-freq-statuses
Browse files Browse the repository at this point in the history
update meeting struct: add is required
  • Loading branch information
deniskelin authored Apr 22, 2022
2 parents ae55bbc + a422906 commit 2366640
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions meetings.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ type Meeting struct {
IsArchive bool `json:"is_archive,omitempty"`
IsPublic bool `json:"is_public,omitempty"`
IsOutside bool `json:"is_outside,omitempty"`
IsRequired bool `json:"is_required,omitempty"`
CanAddMember bool `json:"can_add_member,omitempty"`
CanDelete bool `json:"can_delete,omitempty"`
CanEdit bool `json:"can_edit,omitempty"`
Expand All @@ -22,17 +23,18 @@ type Meeting struct {
}

type MeetingsRequestParams struct {
TeamUuid string `json:"team_uuid"`
Year int32 `json:"year"`
Month int32 `json:"month"`
Day *int32 `json:"day,omitempty"`
Members []string `json:"members,omitempty"`
Limit *int32 `json:"limit,omitempty"`
Offset *int32 `json:"offset,omitempty"`
IsArchive *bool `json:"is_archive,omitempty"`
IsFreq *bool `json:"is_freq,omitempty"`
IsPublic *bool `json:"is_public,omitempty"`
IsOutside *bool `json:"is_outside,omitempty"`
TeamUuid string `json:"team_uuid"`
Year int32 `json:"year"`
Month int32 `json:"month"`
Day *int32 `json:"day,omitempty"`
Members []string `json:"members,omitempty"`
Limit *int32 `json:"limit,omitempty"`
Offset *int32 `json:"offset,omitempty"`
IsArchive *bool `json:"is_archive,omitempty"`
IsFreq *bool `json:"is_freq,omitempty"`
IsPublic *bool `json:"is_public,omitempty"`
IsOutside *bool `json:"is_outside,omitempty"`
IsRequired *bool `json:"is_required,omitempty"`
}

type MeetingsResponse struct {
Expand Down

0 comments on commit 2366640

Please sign in to comment.