59 lines
3.4 KiB
Go
59 lines
3.4 KiB
Go
|
// Code generated by cmd/RolesApiTypeGenerator DO NOT EDIT.
|
||
|
// If you need to refresh the content, run go generate again
|
||
|
package server
|
||
|
|
||
|
import "time"
|
||
|
type linstromRole struct {
|
||
|
Id uint `jsonapi:"primary,roles"`
|
||
|
CreatedAt time.Time `jsonapi:"attr,created-at"`
|
||
|
UpdatedAt time.Time `jsonapi:"attr,updated-at"`
|
||
|
Name string `jsonapi:"attr,name"`
|
||
|
Priority uint32 `jsonapi:"attr,priority"`
|
||
|
IsUserRole bool `jsonapi:"attr,is-user-role"`
|
||
|
IsBuiltIn bool `jsonapi:"attr,is-built-in"`
|
||
|
CanQuote *bool `jsonapi:"attr,can-quote"`
|
||
|
CanFederateFedi *bool `jsonapi:"attr,can-federate-fedi"`
|
||
|
DisallowInteractionsWith []string `jsonapi:"attr,disallow-interactions-with"`
|
||
|
WithholdNotesRegexes []string `jsonapi:"attr,withhold-notes-regexes"`
|
||
|
FullAdmin *bool `jsonapi:"attr,full-admin"`
|
||
|
CanViewDeletedNotes *bool `jsonapi:"attr,can-view-deleted-notes"`
|
||
|
CanSendCustomReactions *bool `jsonapi:"attr,can-send-custom-reactions"`
|
||
|
CanSendFollowerOnlyNotes *bool `jsonapi:"attr,can-send-follower-only-notes"`
|
||
|
CanLogin *bool `jsonapi:"attr,can-login"`
|
||
|
AutoCwPostsText *string `jsonapi:"attr,auto-cw-posts-text"`
|
||
|
WithholdNotesForManualApproval *bool `jsonapi:"attr,withhold-notes-for-manual-approval"`
|
||
|
CanDeleteNotes *bool `jsonapi:"attr,can-delete-notes"`
|
||
|
CanSendLocalNotes *bool `jsonapi:"attr,can-send-local-notes"`
|
||
|
CanIncludeLinks *bool `jsonapi:"attr,can-include-links"`
|
||
|
AutoCwPosts *bool `jsonapi:"attr,auto-cw-posts"`
|
||
|
WithholdNotesBasedOnRegex *bool `jsonapi:"attr,withhold-notes-based-on-regex"`
|
||
|
CanAffectOtherAdmins *bool `jsonapi:"attr,can-affect-other-admins"`
|
||
|
CanAssignRoles *bool `jsonapi:"attr,can-assign-roles"`
|
||
|
CanSendMedia *bool `jsonapi:"attr,can-send-media"`
|
||
|
BlockedUsers []string `jsonapi:"attr,blocked-users"`
|
||
|
AutoNsfwMedia *bool `jsonapi:"attr,auto-nsfw-media"`
|
||
|
CanConfirmWithheldNotes *bool `jsonapi:"attr,can-confirm-withheld-notes"`
|
||
|
CanOverwriteDisplayNames *bool `jsonapi:"attr,can-overwrite-display-names"`
|
||
|
CanManageAds *bool `jsonapi:"attr,can-manage-ads"`
|
||
|
CanIncludeSurvey *bool `jsonapi:"attr,can-include-survey"`
|
||
|
CanSubmitReports *bool `jsonapi:"attr,can-submit-reports"`
|
||
|
ScanCreatedFollowerOnlyNotes *bool `jsonapi:"attr,scan-created-follower-only-notes"`
|
||
|
CanManageCustomEmotes *bool `jsonapi:"attr,can-manage-custom-emotes"`
|
||
|
CanManageAvatarDecorations *bool `jsonapi:"attr,can-manage-avatar-decorations"`
|
||
|
CanSendAnnouncements *bool `jsonapi:"attr,can-send-announcements"`
|
||
|
CanBoost *bool `jsonapi:"attr,can-boost"`
|
||
|
ScanCreatedPublicNotes *bool `jsonapi:"attr,scan-created-public-notes"`
|
||
|
HasMentionCountLimit *bool `jsonapi:"attr,has-mention-count-limit"`
|
||
|
MentionLimit *uint32 `jsonapi:"attr,mention-limit"`
|
||
|
CanSendCustomEmotes *bool `jsonapi:"attr,can-send-custom-emotes"`
|
||
|
CanChangeDisplayName *bool `jsonapi:"attr,can-change-display-name"`
|
||
|
ScanCreatedLocalNotes *bool `jsonapi:"attr,scan-created-local-notes"`
|
||
|
CanSupressInteractionsBetweenUsers *bool `jsonapi:"attr,can-supress-interactions-between-users"`
|
||
|
CanSendReplies *bool `jsonapi:"attr,can-send-replies"`
|
||
|
CanFederateBsky *bool `jsonapi:"attr,can-federate-bsky"`
|
||
|
CanMentionOthers *bool `jsonapi:"attr,can-mention-others"`
|
||
|
ScanCreatedPrivateNotes *bool `jsonapi:"attr,scan-created-private-notes"`
|
||
|
CanRecoverDeletedNotes *bool `jsonapi:"attr,can-recover-deleted-notes"`
|
||
|
CanSendPublicNotes *bool `jsonapi:"attr,can-send-public-notes"`
|
||
|
CanSendPrivateNotes *bool `jsonapi:"attr,can-send-private-notes"`
|
||
|
}
|