Documentation ¶
Index ¶
- func GetClient(apiUrl string, token string) (graphql.Client, error)
- type Access
- type AddChannelAddChannelInstanceChannelsEdge
- func (v *AddChannelAddChannelInstanceChannelsEdge) GetCursor() string
- func (v *AddChannelAddChannelInstanceChannelsEdge) GetNode() InstanceChannelsEdgeFragmentNodeChannel
- func (v *AddChannelAddChannelInstanceChannelsEdge) MarshalJSON() ([]byte, error)
- func (v *AddChannelAddChannelInstanceChannelsEdge) UnmarshalJSON(b []byte) error
- type AddChannelResponse
- type AddInstanceAddInstanceUserInstancesEdge
- func (v *AddInstanceAddInstanceUserInstancesEdge) GetCursor() string
- func (v *AddInstanceAddInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
- func (v *AddInstanceAddInstanceUserInstancesEdge) GetLikedByMe() bool
- func (v *AddInstanceAddInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
- func (v *AddInstanceAddInstanceUserInstancesEdge) GetPinned() bool
- func (v *AddInstanceAddInstanceUserInstancesEdge) GetRank() string
- func (v *AddInstanceAddInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
- func (v *AddInstanceAddInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
- type AddInstanceResponse
- type AddInviteAddInvite
- func (v *AddInviteAddInvite) GetAuthor() InviteFragmentAuthor
- func (v *AddInviteAddInvite) GetCode() string
- func (v *AddInviteAddInvite) GetCreatedAt() time.Time
- func (v *AddInviteAddInvite) GetExpiresAt() *time.Time
- func (v *AddInviteAddInvite) GetId() uuid.UUID
- func (v *AddInviteAddInvite) GetInstanceId() uuid.UUID
- func (v *AddInviteAddInvite) GetRedemptions() *int
- func (v *AddInviteAddInvite) MarshalJSON() ([]byte, error)
- func (v *AddInviteAddInvite) UnmarshalJSON(b []byte) error
- type AddInviteResponse
- type AddLikeAddLikeInstanceLikesEdge
- func (v *AddLikeAddLikeInstanceLikesEdge) GetCursor() string
- func (v *AddLikeAddLikeInstanceLikesEdge) GetLikedAt() time.Time
- func (v *AddLikeAddLikeInstanceLikesEdge) GetNode() InstanceLikesEdgeFragmentNodeAuthor
- func (v *AddLikeAddLikeInstanceLikesEdge) MarshalJSON() ([]byte, error)
- func (v *AddLikeAddLikeInstanceLikesEdge) UnmarshalJSON(b []byte) error
- type AddLikeResponse
- type AddMessageAddMessageChannelMessagesEdge
- func (v *AddMessageAddMessageChannelMessagesEdge) GetCursor() string
- func (v *AddMessageAddMessageChannelMessagesEdge) GetNode() ChannelMessagesEdgeFragmentNodeMessage
- func (v *AddMessageAddMessageChannelMessagesEdge) MarshalJSON() ([]byte, error)
- func (v *AddMessageAddMessageChannelMessagesEdge) UnmarshalJSON(b []byte) error
- type AddMessageResponse
- type AddRoleAddRoleAuthor
- func (v *AddRoleAddRoleAuthor) GetAvatar() string
- func (v *AddRoleAddRoleAuthor) GetBio() string
- func (v *AddRoleAddRoleAuthor) GetCreatedAt() time.Time
- func (v *AddRoleAddRoleAuthor) GetId() uuid.UUID
- func (v *AddRoleAddRoleAuthor) GetInstanceId() uuid.UUID
- func (v *AddRoleAddRoleAuthor) GetName() string
- func (v *AddRoleAddRoleAuthor) GetRoles() []Role
- func (v *AddRoleAddRoleAuthor) GetUserId() uuid.UUID
- func (v *AddRoleAddRoleAuthor) MarshalJSON() ([]byte, error)
- func (v *AddRoleAddRoleAuthor) UnmarshalJSON(b []byte) error
- type AddRoleResponse
- type AuthorFragment
- func (v *AuthorFragment) GetAvatar() string
- func (v *AuthorFragment) GetBio() string
- func (v *AuthorFragment) GetCreatedAt() time.Time
- func (v *AuthorFragment) GetId() uuid.UUID
- func (v *AuthorFragment) GetInstanceId() uuid.UUID
- func (v *AuthorFragment) GetName() string
- func (v *AuthorFragment) GetRoles() []Role
- func (v *AuthorFragment) GetUserId() uuid.UUID
- type ChannelChannel
- func (v *ChannelChannel) GetCreatedAt() time.Time
- func (v *ChannelChannel) GetId() uuid.UUID
- func (v *ChannelChannel) GetInstanceId() uuid.UUID
- func (v *ChannelChannel) GetIsCategory() bool
- func (v *ChannelChannel) GetIsComments() bool
- func (v *ChannelChannel) GetLastMessageAddedAt() *time.Time
- func (v *ChannelChannel) GetMessageCount() int
- func (v *ChannelChannel) GetMessagesConnection() ChannelFragmentMessagesConnectionChannelMessagesConnection
- func (v *ChannelChannel) GetName() string
- func (v *ChannelChannel) GetPublishers() []Role
- func (v *ChannelChannel) GetRank() string
- func (v *ChannelChannel) GetReaders() []Role
- func (v *ChannelChannel) GetUpdatedAt() time.Time
- func (v *ChannelChannel) MarshalJSON() ([]byte, error)
- func (v *ChannelChannel) UnmarshalJSON(b []byte) error
- type ChannelFragment
- func (v *ChannelFragment) GetCreatedAt() time.Time
- func (v *ChannelFragment) GetId() uuid.UUID
- func (v *ChannelFragment) GetInstanceId() uuid.UUID
- func (v *ChannelFragment) GetIsCategory() bool
- func (v *ChannelFragment) GetIsComments() bool
- func (v *ChannelFragment) GetLastMessageAddedAt() *time.Time
- func (v *ChannelFragment) GetMessageCount() int
- func (v *ChannelFragment) GetMessagesConnection() ChannelFragmentMessagesConnectionChannelMessagesConnection
- func (v *ChannelFragment) GetName() string
- func (v *ChannelFragment) GetPublishers() []Role
- func (v *ChannelFragment) GetRank() string
- func (v *ChannelFragment) GetReaders() []Role
- func (v *ChannelFragment) GetUpdatedAt() time.Time
- type ChannelFragmentMessagesConnectionChannelMessagesConnection
- type ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge
- func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) GetCursor() string
- func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) GetNode() ChannelMessagesEdgeFragmentNodeMessage
- func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) MarshalJSON() ([]byte, error)
- func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) UnmarshalJSON(b []byte) error
- type ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo
- func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) GetHasNextPage() bool
- func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) GetHasPreviousPage() bool
- func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) MarshalJSON() ([]byte, error)
- func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) UnmarshalJSON(b []byte) error
- type ChannelInput
- type ChannelMessagesEdgeFragment
- type ChannelMessagesEdgeFragmentNodeMessage
- func (v *ChannelMessagesEdgeFragmentNodeMessage) GetAuthor() MessageFragmentAuthor
- func (v *ChannelMessagesEdgeFragmentNodeMessage) GetChannelId() uuid.UUID
- func (v *ChannelMessagesEdgeFragmentNodeMessage) GetCreatedAt() time.Time
- func (v *ChannelMessagesEdgeFragmentNodeMessage) GetId() uuid.UUID
- func (v *ChannelMessagesEdgeFragmentNodeMessage) GetImageUrls() []string
- func (v *ChannelMessagesEdgeFragmentNodeMessage) GetRepliedMessage() *MessageFragmentRepliedMessage
- func (v *ChannelMessagesEdgeFragmentNodeMessage) GetText() string
- func (v *ChannelMessagesEdgeFragmentNodeMessage) MarshalJSON() ([]byte, error)
- func (v *ChannelMessagesEdgeFragmentNodeMessage) UnmarshalJSON(b []byte) error
- type ChannelReorderInput
- type ChannelResponse
- type CheckInviteCheckInvite
- func (v *CheckInviteCheckInvite) GetAuthor() InviteFragmentAuthor
- func (v *CheckInviteCheckInvite) GetCode() string
- func (v *CheckInviteCheckInvite) GetCreatedAt() time.Time
- func (v *CheckInviteCheckInvite) GetExpiresAt() *time.Time
- func (v *CheckInviteCheckInvite) GetId() uuid.UUID
- func (v *CheckInviteCheckInvite) GetInstance() *CheckInviteCheckInviteInstance
- func (v *CheckInviteCheckInvite) GetInstanceId() uuid.UUID
- func (v *CheckInviteCheckInvite) GetRedemptions() *int
- func (v *CheckInviteCheckInvite) MarshalJSON() ([]byte, error)
- func (v *CheckInviteCheckInvite) UnmarshalJSON(b []byte) error
- type CheckInviteCheckInviteInstance
- func (v *CheckInviteCheckInviteInstance) GetAuthor() InstanceFragmentAuthor
- func (v *CheckInviteCheckInviteInstance) GetAuthorsConnection() InstanceFragmentAuthorsConnectionInstanceAuthorsConnection
- func (v *CheckInviteCheckInviteInstance) GetChannelsConnection() InstanceFragmentChannelsConnectionInstanceChannelsConnection
- func (v *CheckInviteCheckInviteInstance) GetCommentsCount() int
- func (v *CheckInviteCheckInviteInstance) GetCreatedAt() time.Time
- func (v *CheckInviteCheckInviteInstance) GetDescription() string
- func (v *CheckInviteCheckInviteInstance) GetIcon() string
- func (v *CheckInviteCheckInviteInstance) GetId() uuid.UUID
- func (v *CheckInviteCheckInviteInstance) GetLikesConnection() InstanceFragmentLikesConnectionInstanceLikesConnection
- func (v *CheckInviteCheckInviteInstance) GetLikesCount() int
- func (v *CheckInviteCheckInviteInstance) GetName() string
- func (v *CheckInviteCheckInviteInstance) GetReadAccess() Access
- func (v *CheckInviteCheckInviteInstance) GetShowAuthor() bool
- func (v *CheckInviteCheckInviteInstance) GetShowChat() bool
- func (v *CheckInviteCheckInviteInstance) GetShowComments() bool
- func (v *CheckInviteCheckInviteInstance) GetShowLikes() bool
- func (v *CheckInviteCheckInviteInstance) MarshalJSON() ([]byte, error)
- func (v *CheckInviteCheckInviteInstance) UnmarshalJSON(b []byte) error
- type CheckInviteResponse
- type InstanceAuthorsEdgeFragment
- type InstanceAuthorsEdgeFragmentNodeAuthor
- func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetAvatar() string
- func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetBio() string
- func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetCreatedAt() time.Time
- func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetId() uuid.UUID
- func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetInstanceId() uuid.UUID
- func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetName() string
- func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetRoles() []Role
- func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetUserId() uuid.UUID
- func (v *InstanceAuthorsEdgeFragmentNodeAuthor) MarshalJSON() ([]byte, error)
- func (v *InstanceAuthorsEdgeFragmentNodeAuthor) UnmarshalJSON(b []byte) error
- type InstanceChannelsEdgeFragment
- type InstanceChannelsEdgeFragmentNodeChannel
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetCreatedAt() time.Time
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetId() uuid.UUID
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetInstanceId() uuid.UUID
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetIsCategory() bool
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetIsComments() bool
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetLastMessageAddedAt() *time.Time
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetMessageCount() int
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetMessagesConnection() ChannelFragmentMessagesConnectionChannelMessagesConnection
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetName() string
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetPublishers() []Role
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetRank() string
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetReaders() []Role
- func (v *InstanceChannelsEdgeFragmentNodeChannel) GetUpdatedAt() time.Time
- func (v *InstanceChannelsEdgeFragmentNodeChannel) MarshalJSON() ([]byte, error)
- func (v *InstanceChannelsEdgeFragmentNodeChannel) UnmarshalJSON(b []byte) error
- type InstanceFragment
- func (v *InstanceFragment) GetAuthor() InstanceFragmentAuthor
- func (v *InstanceFragment) GetAuthorsConnection() InstanceFragmentAuthorsConnectionInstanceAuthorsConnection
- func (v *InstanceFragment) GetChannelsConnection() InstanceFragmentChannelsConnectionInstanceChannelsConnection
- func (v *InstanceFragment) GetCommentsCount() int
- func (v *InstanceFragment) GetCreatedAt() time.Time
- func (v *InstanceFragment) GetDescription() string
- func (v *InstanceFragment) GetIcon() string
- func (v *InstanceFragment) GetId() uuid.UUID
- func (v *InstanceFragment) GetLikesConnection() InstanceFragmentLikesConnectionInstanceLikesConnection
- func (v *InstanceFragment) GetLikesCount() int
- func (v *InstanceFragment) GetName() string
- func (v *InstanceFragment) GetReadAccess() Access
- func (v *InstanceFragment) GetShowAuthor() bool
- func (v *InstanceFragment) GetShowChat() bool
- func (v *InstanceFragment) GetShowComments() bool
- func (v *InstanceFragment) GetShowLikes() bool
- type InstanceFragmentAuthor
- func (v *InstanceFragmentAuthor) GetAvatar() string
- func (v *InstanceFragmentAuthor) GetBio() string
- func (v *InstanceFragmentAuthor) GetCreatedAt() time.Time
- func (v *InstanceFragmentAuthor) GetId() uuid.UUID
- func (v *InstanceFragmentAuthor) GetInstanceId() uuid.UUID
- func (v *InstanceFragmentAuthor) GetName() string
- func (v *InstanceFragmentAuthor) GetRoles() []Role
- func (v *InstanceFragmentAuthor) GetUserId() uuid.UUID
- func (v *InstanceFragmentAuthor) MarshalJSON() ([]byte, error)
- func (v *InstanceFragmentAuthor) UnmarshalJSON(b []byte) error
- type InstanceFragmentAuthorsConnectionInstanceAuthorsConnection
- type InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge
- func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) GetCursor() string
- func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) GetNode() InstanceAuthorsEdgeFragmentNodeAuthor
- func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) MarshalJSON() ([]byte, error)
- func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) UnmarshalJSON(b []byte) error
- type InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo
- func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) GetHasNextPage() bool
- func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) GetHasPreviousPage() bool
- func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) MarshalJSON() ([]byte, error)
- func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) UnmarshalJSON(b []byte) error
- type InstanceFragmentChannelsConnectionInstanceChannelsConnection
- type InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge
- func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) GetCursor() string
- func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) GetNode() InstanceChannelsEdgeFragmentNodeChannel
- func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) MarshalJSON() ([]byte, error)
- func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) UnmarshalJSON(b []byte) error
- type InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo
- func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) GetHasNextPage() bool
- func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) GetHasPreviousPage() bool
- func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) MarshalJSON() ([]byte, error)
- func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) UnmarshalJSON(b []byte) error
- type InstanceFragmentLikesConnectionInstanceLikesConnection
- type InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge
- func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) GetCursor() string
- func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) GetLikedAt() time.Time
- func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) GetNode() InstanceLikesEdgeFragmentNodeAuthor
- func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) MarshalJSON() ([]byte, error)
- func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) UnmarshalJSON(b []byte) error
- type InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo
- func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) GetHasNextPage() bool
- func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) GetHasPreviousPage() bool
- func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) MarshalJSON() ([]byte, error)
- func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) UnmarshalJSON(b []byte) error
- type InstanceInput
- func (v *InstanceInput) GetDescription() string
- func (v *InstanceInput) GetIcon() string
- func (v *InstanceInput) GetId() *uuid.UUID
- func (v *InstanceInput) GetName() string
- func (v *InstanceInput) GetReadAccess() Access
- func (v *InstanceInput) GetShowAuthor() bool
- func (v *InstanceInput) GetShowChat() bool
- func (v *InstanceInput) GetShowComments() bool
- func (v *InstanceInput) GetShowLikes() bool
- type InstanceInstanceUserInstancesEdge
- func (v *InstanceInstanceUserInstancesEdge) GetCursor() string
- func (v *InstanceInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
- func (v *InstanceInstanceUserInstancesEdge) GetLikedByMe() bool
- func (v *InstanceInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
- func (v *InstanceInstanceUserInstancesEdge) GetPinned() bool
- func (v *InstanceInstanceUserInstancesEdge) GetRank() string
- func (v *InstanceInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
- func (v *InstanceInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
- type InstanceLikesEdgeFragment
- type InstanceLikesEdgeFragmentNodeAuthor
- func (v *InstanceLikesEdgeFragmentNodeAuthor) GetAvatar() string
- func (v *InstanceLikesEdgeFragmentNodeAuthor) GetBio() string
- func (v *InstanceLikesEdgeFragmentNodeAuthor) GetCreatedAt() time.Time
- func (v *InstanceLikesEdgeFragmentNodeAuthor) GetId() uuid.UUID
- func (v *InstanceLikesEdgeFragmentNodeAuthor) GetInstanceId() uuid.UUID
- func (v *InstanceLikesEdgeFragmentNodeAuthor) GetName() string
- func (v *InstanceLikesEdgeFragmentNodeAuthor) GetRoles() []Role
- func (v *InstanceLikesEdgeFragmentNodeAuthor) GetUserId() uuid.UUID
- func (v *InstanceLikesEdgeFragmentNodeAuthor) MarshalJSON() ([]byte, error)
- func (v *InstanceLikesEdgeFragmentNodeAuthor) UnmarshalJSON(b []byte) error
- type InstancePinInput
- type InstanceReorderInput
- type InstanceResponse
- type InstanceUserListByIdsInstanceUserListByIdsAuthor
- func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetAvatar() string
- func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetBio() string
- func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetCreatedAt() time.Time
- func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetId() uuid.UUID
- func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetInstanceId() uuid.UUID
- func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetName() string
- func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetRoles() []Role
- func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetUserId() uuid.UUID
- func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) MarshalJSON() ([]byte, error)
- func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) UnmarshalJSON(b []byte) error
- type InstanceUserListByIdsResponse
- type InviteFragment
- func (v *InviteFragment) GetAuthor() InviteFragmentAuthor
- func (v *InviteFragment) GetCode() string
- func (v *InviteFragment) GetCreatedAt() time.Time
- func (v *InviteFragment) GetExpiresAt() *time.Time
- func (v *InviteFragment) GetId() uuid.UUID
- func (v *InviteFragment) GetInstanceId() uuid.UUID
- func (v *InviteFragment) GetRedemptions() *int
- type InviteFragmentAuthor
- func (v *InviteFragmentAuthor) GetAvatar() string
- func (v *InviteFragmentAuthor) GetBio() string
- func (v *InviteFragmentAuthor) GetCreatedAt() time.Time
- func (v *InviteFragmentAuthor) GetId() uuid.UUID
- func (v *InviteFragmentAuthor) GetInstanceId() uuid.UUID
- func (v *InviteFragmentAuthor) GetName() string
- func (v *InviteFragmentAuthor) GetRoles() []Role
- func (v *InviteFragmentAuthor) GetUserId() uuid.UUID
- func (v *InviteFragmentAuthor) MarshalJSON() ([]byte, error)
- func (v *InviteFragmentAuthor) UnmarshalJSON(b []byte) error
- type InviteInput
- type InviteInvite
- func (v *InviteInvite) GetAuthor() InviteFragmentAuthor
- func (v *InviteInvite) GetCode() string
- func (v *InviteInvite) GetCreatedAt() time.Time
- func (v *InviteInvite) GetExpiresAt() *time.Time
- func (v *InviteInvite) GetId() uuid.UUID
- func (v *InviteInvite) GetInstanceId() uuid.UUID
- func (v *InviteInvite) GetRedemptions() *int
- func (v *InviteInvite) MarshalJSON() ([]byte, error)
- func (v *InviteInvite) UnmarshalJSON(b []byte) error
- type InviteResponse
- type MessageFragment
- func (v *MessageFragment) GetAuthor() MessageFragmentAuthor
- func (v *MessageFragment) GetChannelId() uuid.UUID
- func (v *MessageFragment) GetCreatedAt() time.Time
- func (v *MessageFragment) GetId() uuid.UUID
- func (v *MessageFragment) GetImageUrls() []string
- func (v *MessageFragment) GetRepliedMessage() *MessageFragmentRepliedMessage
- func (v *MessageFragment) GetText() string
- type MessageFragmentAuthor
- func (v *MessageFragmentAuthor) GetAvatar() string
- func (v *MessageFragmentAuthor) GetBio() string
- func (v *MessageFragmentAuthor) GetCreatedAt() time.Time
- func (v *MessageFragmentAuthor) GetId() uuid.UUID
- func (v *MessageFragmentAuthor) GetInstanceId() uuid.UUID
- func (v *MessageFragmentAuthor) GetName() string
- func (v *MessageFragmentAuthor) GetRoles() []Role
- func (v *MessageFragmentAuthor) GetUserId() uuid.UUID
- func (v *MessageFragmentAuthor) MarshalJSON() ([]byte, error)
- func (v *MessageFragmentAuthor) UnmarshalJSON(b []byte) error
- type MessageFragmentRepliedMessage
- func (v *MessageFragmentRepliedMessage) GetChannelId() uuid.UUID
- func (v *MessageFragmentRepliedMessage) GetCreatedAt() time.Time
- func (v *MessageFragmentRepliedMessage) GetId() uuid.UUID
- func (v *MessageFragmentRepliedMessage) GetImageUrls() []string
- func (v *MessageFragmentRepliedMessage) GetText() string
- type MessageInput
- type NotificationFragment
- func (v *NotificationFragment) GetAuthor() *NotificationFragmentAuthor
- func (v *NotificationFragment) GetCreatedAt() time.Time
- func (v *NotificationFragment) GetId() uuid.UUID
- func (v *NotificationFragment) GetInstance() *NotificationFragmentInstance
- func (v *NotificationFragment) GetKind() NotificationKind
- func (v *NotificationFragment) GetMessage() *NotificationFragmentMessage
- type NotificationFragmentAuthor
- func (v *NotificationFragmentAuthor) GetAvatar() string
- func (v *NotificationFragmentAuthor) GetBio() string
- func (v *NotificationFragmentAuthor) GetCreatedAt() time.Time
- func (v *NotificationFragmentAuthor) GetId() uuid.UUID
- func (v *NotificationFragmentAuthor) GetInstanceId() uuid.UUID
- func (v *NotificationFragmentAuthor) GetName() string
- func (v *NotificationFragmentAuthor) GetRoles() []Role
- func (v *NotificationFragmentAuthor) GetUserId() uuid.UUID
- func (v *NotificationFragmentAuthor) MarshalJSON() ([]byte, error)
- func (v *NotificationFragmentAuthor) UnmarshalJSON(b []byte) error
- type NotificationFragmentInstance
- func (v *NotificationFragmentInstance) GetAuthor() InstanceFragmentAuthor
- func (v *NotificationFragmentInstance) GetAuthorsConnection() InstanceFragmentAuthorsConnectionInstanceAuthorsConnection
- func (v *NotificationFragmentInstance) GetChannelsConnection() InstanceFragmentChannelsConnectionInstanceChannelsConnection
- func (v *NotificationFragmentInstance) GetCommentsCount() int
- func (v *NotificationFragmentInstance) GetCreatedAt() time.Time
- func (v *NotificationFragmentInstance) GetDescription() string
- func (v *NotificationFragmentInstance) GetIcon() string
- func (v *NotificationFragmentInstance) GetId() uuid.UUID
- func (v *NotificationFragmentInstance) GetLikesConnection() InstanceFragmentLikesConnectionInstanceLikesConnection
- func (v *NotificationFragmentInstance) GetLikesCount() int
- func (v *NotificationFragmentInstance) GetName() string
- func (v *NotificationFragmentInstance) GetReadAccess() Access
- func (v *NotificationFragmentInstance) GetShowAuthor() bool
- func (v *NotificationFragmentInstance) GetShowChat() bool
- func (v *NotificationFragmentInstance) GetShowComments() bool
- func (v *NotificationFragmentInstance) GetShowLikes() bool
- func (v *NotificationFragmentInstance) MarshalJSON() ([]byte, error)
- func (v *NotificationFragmentInstance) UnmarshalJSON(b []byte) error
- type NotificationFragmentMessage
- func (v *NotificationFragmentMessage) GetAuthor() MessageFragmentAuthor
- func (v *NotificationFragmentMessage) GetChannelId() uuid.UUID
- func (v *NotificationFragmentMessage) GetCreatedAt() time.Time
- func (v *NotificationFragmentMessage) GetId() uuid.UUID
- func (v *NotificationFragmentMessage) GetImageUrls() []string
- func (v *NotificationFragmentMessage) GetRepliedMessage() *MessageFragmentRepliedMessage
- func (v *NotificationFragmentMessage) GetText() string
- func (v *NotificationFragmentMessage) MarshalJSON() ([]byte, error)
- func (v *NotificationFragmentMessage) UnmarshalJSON(b []byte) error
- type NotificationKind
- type PageInfoFragment
- type PinInstancePinInstanceUserInstancesEdge
- func (v *PinInstancePinInstanceUserInstancesEdge) GetCursor() string
- func (v *PinInstancePinInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
- func (v *PinInstancePinInstanceUserInstancesEdge) GetLikedByMe() bool
- func (v *PinInstancePinInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
- func (v *PinInstancePinInstanceUserInstancesEdge) GetPinned() bool
- func (v *PinInstancePinInstanceUserInstancesEdge) GetRank() string
- func (v *PinInstancePinInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
- func (v *PinInstancePinInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
- type PinInstanceResponse
- type RedeemInviteRedeemInvite
- func (v *RedeemInviteRedeemInvite) GetAuthor() InviteFragmentAuthor
- func (v *RedeemInviteRedeemInvite) GetCode() string
- func (v *RedeemInviteRedeemInvite) GetCreatedAt() time.Time
- func (v *RedeemInviteRedeemInvite) GetExpiresAt() *time.Time
- func (v *RedeemInviteRedeemInvite) GetId() uuid.UUID
- func (v *RedeemInviteRedeemInvite) GetInstanceId() uuid.UUID
- func (v *RedeemInviteRedeemInvite) GetRedemptions() *int
- func (v *RedeemInviteRedeemInvite) MarshalJSON() ([]byte, error)
- func (v *RedeemInviteRedeemInvite) UnmarshalJSON(b []byte) error
- type RedeemInviteResponse
- type RemoveChannelRemoveChannelInstanceChannelsEdge
- func (v *RemoveChannelRemoveChannelInstanceChannelsEdge) GetCursor() string
- func (v *RemoveChannelRemoveChannelInstanceChannelsEdge) GetNode() InstanceChannelsEdgeFragmentNodeChannel
- func (v *RemoveChannelRemoveChannelInstanceChannelsEdge) MarshalJSON() ([]byte, error)
- func (v *RemoveChannelRemoveChannelInstanceChannelsEdge) UnmarshalJSON(b []byte) error
- type RemoveChannelResponse
- type RemoveInstanceRemoveInstanceUserInstancesEdge
- func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetCursor() string
- func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
- func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetLikedByMe() bool
- func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
- func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetPinned() bool
- func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetRank() string
- func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
- func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
- type RemoveInstanceResponse
- type RemoveLikeRemoveLikeInstanceLikesEdge
- func (v *RemoveLikeRemoveLikeInstanceLikesEdge) GetCursor() string
- func (v *RemoveLikeRemoveLikeInstanceLikesEdge) GetLikedAt() time.Time
- func (v *RemoveLikeRemoveLikeInstanceLikesEdge) GetNode() InstanceLikesEdgeFragmentNodeAuthor
- func (v *RemoveLikeRemoveLikeInstanceLikesEdge) MarshalJSON() ([]byte, error)
- func (v *RemoveLikeRemoveLikeInstanceLikesEdge) UnmarshalJSON(b []byte) error
- type RemoveLikeResponse
- type RemoveMessageRemoveMessageChannelMessagesEdge
- func (v *RemoveMessageRemoveMessageChannelMessagesEdge) GetCursor() string
- func (v *RemoveMessageRemoveMessageChannelMessagesEdge) GetNode() ChannelMessagesEdgeFragmentNodeMessage
- func (v *RemoveMessageRemoveMessageChannelMessagesEdge) MarshalJSON() ([]byte, error)
- func (v *RemoveMessageRemoveMessageChannelMessagesEdge) UnmarshalJSON(b []byte) error
- type RemoveMessageResponse
- type RemoveRoleRemoveRoleAuthor
- func (v *RemoveRoleRemoveRoleAuthor) GetAvatar() string
- func (v *RemoveRoleRemoveRoleAuthor) GetBio() string
- func (v *RemoveRoleRemoveRoleAuthor) GetCreatedAt() time.Time
- func (v *RemoveRoleRemoveRoleAuthor) GetId() uuid.UUID
- func (v *RemoveRoleRemoveRoleAuthor) GetInstanceId() uuid.UUID
- func (v *RemoveRoleRemoveRoleAuthor) GetName() string
- func (v *RemoveRoleRemoveRoleAuthor) GetRoles() []Role
- func (v *RemoveRoleRemoveRoleAuthor) GetUserId() uuid.UUID
- func (v *RemoveRoleRemoveRoleAuthor) MarshalJSON() ([]byte, error)
- func (v *RemoveRoleRemoveRoleAuthor) UnmarshalJSON(b []byte) error
- type RemoveRoleResponse
- type ReorderChannelReorderChannelInstanceChannelsEdge
- func (v *ReorderChannelReorderChannelInstanceChannelsEdge) GetCursor() string
- func (v *ReorderChannelReorderChannelInstanceChannelsEdge) GetNode() InstanceChannelsEdgeFragmentNodeChannel
- func (v *ReorderChannelReorderChannelInstanceChannelsEdge) MarshalJSON() ([]byte, error)
- func (v *ReorderChannelReorderChannelInstanceChannelsEdge) UnmarshalJSON(b []byte) error
- type ReorderChannelResponse
- type ReorderInstanceReorderInstanceUserInstancesEdge
- func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetCursor() string
- func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
- func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetLikedByMe() bool
- func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
- func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetPinned() bool
- func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetRank() string
- func (v *ReorderInstanceReorderInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
- func (v *ReorderInstanceReorderInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
- type ReorderInstanceResponse
- type Role
- type UpdateChannelResponse
- type UpdateChannelUpdateChannelInstanceChannelsEdge
- func (v *UpdateChannelUpdateChannelInstanceChannelsEdge) GetCursor() string
- func (v *UpdateChannelUpdateChannelInstanceChannelsEdge) GetNode() InstanceChannelsEdgeFragmentNodeChannel
- func (v *UpdateChannelUpdateChannelInstanceChannelsEdge) MarshalJSON() ([]byte, error)
- func (v *UpdateChannelUpdateChannelInstanceChannelsEdge) UnmarshalJSON(b []byte) error
- type UpdateInstanceResponse
- type UpdateInstanceUpdateInstanceUserInstancesEdge
- func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetCursor() string
- func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
- func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetLikedByMe() bool
- func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
- func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetPinned() bool
- func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetRank() string
- func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
- func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
- type UpdateUserResponse
- type UpdateUserUpdateUser
- func (v *UpdateUserUpdateUser) GetAvatar() string
- func (v *UpdateUserUpdateUser) GetBio() string
- func (v *UpdateUserUpdateUser) GetId() uuid.UUID
- func (v *UpdateUserUpdateUser) GetInstancesConnection() UserFragmentInstancesConnectionUserInstancesConnection
- func (v *UpdateUserUpdateUser) GetName() string
- func (v *UpdateUserUpdateUser) GetNotificationsConnection() UserFragmentNotificationsConnectionUserNotificationsConnection
- func (v *UpdateUserUpdateUser) GetUid() string
- func (v *UpdateUserUpdateUser) MarshalJSON() ([]byte, error)
- func (v *UpdateUserUpdateUser) UnmarshalJSON(b []byte) error
- type UserFragment
- func (v *UserFragment) GetAvatar() string
- func (v *UserFragment) GetBio() string
- func (v *UserFragment) GetId() uuid.UUID
- func (v *UserFragment) GetInstancesConnection() UserFragmentInstancesConnectionUserInstancesConnection
- func (v *UserFragment) GetName() string
- func (v *UserFragment) GetNotificationsConnection() UserFragmentNotificationsConnectionUserNotificationsConnection
- func (v *UserFragment) GetUid() string
- type UserFragmentInstancesConnectionUserInstancesConnection
- type UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetCursor() string
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetLikedByMe() bool
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetPinned() bool
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetRank() string
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) MarshalJSON() ([]byte, error)
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) UnmarshalJSON(b []byte) error
- type UserFragmentInstancesConnectionUserInstancesConnectionPageInfo
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) GetHasNextPage() bool
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) GetHasPreviousPage() bool
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) MarshalJSON() ([]byte, error)
- func (v *UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) UnmarshalJSON(b []byte) error
- type UserFragmentNotificationsConnectionUserNotificationsConnection
- func (v *UserFragmentNotificationsConnectionUserNotificationsConnection) GetEdges() ...
- func (v *UserFragmentNotificationsConnectionUserNotificationsConnection) GetHasUnread() bool
- func (v *UserFragmentNotificationsConnectionUserNotificationsConnection) GetPageInfo() UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo
- type UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge
- func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) GetCursor() string
- func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) GetNode() UserNotificationsEdgeFragmentNodeNotification
- func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) MarshalJSON() ([]byte, error)
- func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) UnmarshalJSON(b []byte) error
- type UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo
- func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) GetHasNextPage() bool
- func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) GetHasPreviousPage() bool
- func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) MarshalJSON() ([]byte, error)
- func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) UnmarshalJSON(b []byte) error
- type UserInput
- type UserInstancesEdgeFragment
- func (v *UserInstancesEdgeFragment) GetCursor() string
- func (v *UserInstancesEdgeFragment) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
- func (v *UserInstancesEdgeFragment) GetLikedByMe() bool
- func (v *UserInstancesEdgeFragment) GetNode() UserInstancesEdgeFragmentNodeInstance
- func (v *UserInstancesEdgeFragment) GetPinned() bool
- func (v *UserInstancesEdgeFragment) GetRank() string
- type UserInstancesEdgeFragmentInstanceUserAuthor
- func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetAvatar() string
- func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetBio() string
- func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetCreatedAt() time.Time
- func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetId() uuid.UUID
- func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetInstanceId() uuid.UUID
- func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetName() string
- func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetRoles() []Role
- func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetUserId() uuid.UUID
- func (v *UserInstancesEdgeFragmentInstanceUserAuthor) MarshalJSON() ([]byte, error)
- func (v *UserInstancesEdgeFragmentInstanceUserAuthor) UnmarshalJSON(b []byte) error
- type UserInstancesEdgeFragmentNodeInstance
- func (v *UserInstancesEdgeFragmentNodeInstance) GetAuthor() InstanceFragmentAuthor
- func (v *UserInstancesEdgeFragmentNodeInstance) GetAuthorsConnection() InstanceFragmentAuthorsConnectionInstanceAuthorsConnection
- func (v *UserInstancesEdgeFragmentNodeInstance) GetChannelsConnection() InstanceFragmentChannelsConnectionInstanceChannelsConnection
- func (v *UserInstancesEdgeFragmentNodeInstance) GetCommentsCount() int
- func (v *UserInstancesEdgeFragmentNodeInstance) GetCreatedAt() time.Time
- func (v *UserInstancesEdgeFragmentNodeInstance) GetDescription() string
- func (v *UserInstancesEdgeFragmentNodeInstance) GetIcon() string
- func (v *UserInstancesEdgeFragmentNodeInstance) GetId() uuid.UUID
- func (v *UserInstancesEdgeFragmentNodeInstance) GetLikesConnection() InstanceFragmentLikesConnectionInstanceLikesConnection
- func (v *UserInstancesEdgeFragmentNodeInstance) GetLikesCount() int
- func (v *UserInstancesEdgeFragmentNodeInstance) GetName() string
- func (v *UserInstancesEdgeFragmentNodeInstance) GetReadAccess() Access
- func (v *UserInstancesEdgeFragmentNodeInstance) GetShowAuthor() bool
- func (v *UserInstancesEdgeFragmentNodeInstance) GetShowChat() bool
- func (v *UserInstancesEdgeFragmentNodeInstance) GetShowComments() bool
- func (v *UserInstancesEdgeFragmentNodeInstance) GetShowLikes() bool
- func (v *UserInstancesEdgeFragmentNodeInstance) MarshalJSON() ([]byte, error)
- func (v *UserInstancesEdgeFragmentNodeInstance) UnmarshalJSON(b []byte) error
- type UserNotificationsEdgeFragment
- type UserNotificationsEdgeFragmentNodeNotification
- func (v *UserNotificationsEdgeFragmentNodeNotification) GetAuthor() *NotificationFragmentAuthor
- func (v *UserNotificationsEdgeFragmentNodeNotification) GetCreatedAt() time.Time
- func (v *UserNotificationsEdgeFragmentNodeNotification) GetId() uuid.UUID
- func (v *UserNotificationsEdgeFragmentNodeNotification) GetInstance() *NotificationFragmentInstance
- func (v *UserNotificationsEdgeFragmentNodeNotification) GetKind() NotificationKind
- func (v *UserNotificationsEdgeFragmentNodeNotification) GetMessage() *NotificationFragmentMessage
- func (v *UserNotificationsEdgeFragmentNodeNotification) MarshalJSON() ([]byte, error)
- func (v *UserNotificationsEdgeFragmentNodeNotification) UnmarshalJSON(b []byte) error
- type UserResponse
- type UserUser
- func (v *UserUser) GetAvatar() string
- func (v *UserUser) GetBio() string
- func (v *UserUser) GetId() uuid.UUID
- func (v *UserUser) GetInstancesConnection() UserFragmentInstancesConnectionUserInstancesConnection
- func (v *UserUser) GetName() string
- func (v *UserUser) GetNotificationsConnection() UserFragmentNotificationsConnectionUserNotificationsConnection
- func (v *UserUser) GetUid() string
- func (v *UserUser) MarshalJSON() ([]byte, error)
- func (v *UserUser) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddChannelAddChannelInstanceChannelsEdge ¶
type AddChannelAddChannelInstanceChannelsEdge struct {
InstanceChannelsEdgeFragment `json:"-"`
}
AddChannelAddChannelInstanceChannelsEdge includes the requested fields of the GraphQL type InstanceChannelsEdge.
func (*AddChannelAddChannelInstanceChannelsEdge) GetCursor ¶
func (v *AddChannelAddChannelInstanceChannelsEdge) GetCursor() string
GetCursor returns AddChannelAddChannelInstanceChannelsEdge.Cursor, and is useful for accessing the field via an interface.
func (*AddChannelAddChannelInstanceChannelsEdge) GetNode ¶
func (v *AddChannelAddChannelInstanceChannelsEdge) GetNode() InstanceChannelsEdgeFragmentNodeChannel
GetNode returns AddChannelAddChannelInstanceChannelsEdge.Node, and is useful for accessing the field via an interface.
func (*AddChannelAddChannelInstanceChannelsEdge) MarshalJSON ¶
func (v *AddChannelAddChannelInstanceChannelsEdge) MarshalJSON() ([]byte, error)
func (*AddChannelAddChannelInstanceChannelsEdge) UnmarshalJSON ¶
func (v *AddChannelAddChannelInstanceChannelsEdge) UnmarshalJSON(b []byte) error
type AddChannelResponse ¶
type AddChannelResponse struct {
AddChannel AddChannelAddChannelInstanceChannelsEdge `json:"addChannel"`
}
AddChannelResponse is returned by AddChannel on success.
func AddChannel ¶
func AddChannel( ctx context.Context, client graphql.Client, input ChannelInput, messagesLast int, messagesBefore string, ) (*AddChannelResponse, error)
func (*AddChannelResponse) GetAddChannel ¶
func (v *AddChannelResponse) GetAddChannel() AddChannelAddChannelInstanceChannelsEdge
GetAddChannel returns AddChannelResponse.AddChannel, and is useful for accessing the field via an interface.
type AddInstanceAddInstanceUserInstancesEdge ¶
type AddInstanceAddInstanceUserInstancesEdge struct {
UserInstancesEdgeFragment `json:"-"`
}
AddInstanceAddInstanceUserInstancesEdge includes the requested fields of the GraphQL type UserInstancesEdge.
func (*AddInstanceAddInstanceUserInstancesEdge) GetCursor ¶
func (v *AddInstanceAddInstanceUserInstancesEdge) GetCursor() string
GetCursor returns AddInstanceAddInstanceUserInstancesEdge.Cursor, and is useful for accessing the field via an interface.
func (*AddInstanceAddInstanceUserInstancesEdge) GetInstanceUser ¶
func (v *AddInstanceAddInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
GetInstanceUser returns AddInstanceAddInstanceUserInstancesEdge.InstanceUser, and is useful for accessing the field via an interface.
func (*AddInstanceAddInstanceUserInstancesEdge) GetLikedByMe ¶
func (v *AddInstanceAddInstanceUserInstancesEdge) GetLikedByMe() bool
GetLikedByMe returns AddInstanceAddInstanceUserInstancesEdge.LikedByMe, and is useful for accessing the field via an interface.
func (*AddInstanceAddInstanceUserInstancesEdge) GetNode ¶
func (v *AddInstanceAddInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
GetNode returns AddInstanceAddInstanceUserInstancesEdge.Node, and is useful for accessing the field via an interface.
func (*AddInstanceAddInstanceUserInstancesEdge) GetPinned ¶
func (v *AddInstanceAddInstanceUserInstancesEdge) GetPinned() bool
GetPinned returns AddInstanceAddInstanceUserInstancesEdge.Pinned, and is useful for accessing the field via an interface.
func (*AddInstanceAddInstanceUserInstancesEdge) GetRank ¶
func (v *AddInstanceAddInstanceUserInstancesEdge) GetRank() string
GetRank returns AddInstanceAddInstanceUserInstancesEdge.Rank, and is useful for accessing the field via an interface.
func (*AddInstanceAddInstanceUserInstancesEdge) MarshalJSON ¶
func (v *AddInstanceAddInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
func (*AddInstanceAddInstanceUserInstancesEdge) UnmarshalJSON ¶
func (v *AddInstanceAddInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
type AddInstanceResponse ¶
type AddInstanceResponse struct {
AddInstance AddInstanceAddInstanceUserInstancesEdge `json:"addInstance"`
}
AddInstanceResponse is returned by AddInstance on success.
func AddInstance ¶
func (*AddInstanceResponse) GetAddInstance ¶
func (v *AddInstanceResponse) GetAddInstance() AddInstanceAddInstanceUserInstancesEdge
GetAddInstance returns AddInstanceResponse.AddInstance, and is useful for accessing the field via an interface.
type AddInviteAddInvite ¶
type AddInviteAddInvite struct {
InviteFragment `json:"-"`
}
AddInviteAddInvite includes the requested fields of the GraphQL type Invite.
func (*AddInviteAddInvite) GetAuthor ¶
func (v *AddInviteAddInvite) GetAuthor() InviteFragmentAuthor
GetAuthor returns AddInviteAddInvite.Author, and is useful for accessing the field via an interface.
func (*AddInviteAddInvite) GetCode ¶
func (v *AddInviteAddInvite) GetCode() string
GetCode returns AddInviteAddInvite.Code, and is useful for accessing the field via an interface.
func (*AddInviteAddInvite) GetCreatedAt ¶
func (v *AddInviteAddInvite) GetCreatedAt() time.Time
GetCreatedAt returns AddInviteAddInvite.CreatedAt, and is useful for accessing the field via an interface.
func (*AddInviteAddInvite) GetExpiresAt ¶
func (v *AddInviteAddInvite) GetExpiresAt() *time.Time
GetExpiresAt returns AddInviteAddInvite.ExpiresAt, and is useful for accessing the field via an interface.
func (*AddInviteAddInvite) GetId ¶
func (v *AddInviteAddInvite) GetId() uuid.UUID
GetId returns AddInviteAddInvite.Id, and is useful for accessing the field via an interface.
func (*AddInviteAddInvite) GetInstanceId ¶
func (v *AddInviteAddInvite) GetInstanceId() uuid.UUID
GetInstanceId returns AddInviteAddInvite.InstanceId, and is useful for accessing the field via an interface.
func (*AddInviteAddInvite) GetRedemptions ¶
func (v *AddInviteAddInvite) GetRedemptions() *int
GetRedemptions returns AddInviteAddInvite.Redemptions, and is useful for accessing the field via an interface.
func (*AddInviteAddInvite) MarshalJSON ¶
func (v *AddInviteAddInvite) MarshalJSON() ([]byte, error)
func (*AddInviteAddInvite) UnmarshalJSON ¶
func (v *AddInviteAddInvite) UnmarshalJSON(b []byte) error
type AddInviteResponse ¶
type AddInviteResponse struct {
AddInvite AddInviteAddInvite `json:"addInvite"`
}
AddInviteResponse is returned by AddInvite on success.
func AddInvite ¶
func AddInvite( ctx context.Context, client graphql.Client, input InviteInput, ) (*AddInviteResponse, error)
func (*AddInviteResponse) GetAddInvite ¶
func (v *AddInviteResponse) GetAddInvite() AddInviteAddInvite
GetAddInvite returns AddInviteResponse.AddInvite, and is useful for accessing the field via an interface.
type AddLikeAddLikeInstanceLikesEdge ¶
type AddLikeAddLikeInstanceLikesEdge struct {
InstanceLikesEdgeFragment `json:"-"`
}
AddLikeAddLikeInstanceLikesEdge includes the requested fields of the GraphQL type InstanceLikesEdge.
func (*AddLikeAddLikeInstanceLikesEdge) GetCursor ¶
func (v *AddLikeAddLikeInstanceLikesEdge) GetCursor() string
GetCursor returns AddLikeAddLikeInstanceLikesEdge.Cursor, and is useful for accessing the field via an interface.
func (*AddLikeAddLikeInstanceLikesEdge) GetLikedAt ¶
func (v *AddLikeAddLikeInstanceLikesEdge) GetLikedAt() time.Time
GetLikedAt returns AddLikeAddLikeInstanceLikesEdge.LikedAt, and is useful for accessing the field via an interface.
func (*AddLikeAddLikeInstanceLikesEdge) GetNode ¶
func (v *AddLikeAddLikeInstanceLikesEdge) GetNode() InstanceLikesEdgeFragmentNodeAuthor
GetNode returns AddLikeAddLikeInstanceLikesEdge.Node, and is useful for accessing the field via an interface.
func (*AddLikeAddLikeInstanceLikesEdge) MarshalJSON ¶
func (v *AddLikeAddLikeInstanceLikesEdge) MarshalJSON() ([]byte, error)
func (*AddLikeAddLikeInstanceLikesEdge) UnmarshalJSON ¶
func (v *AddLikeAddLikeInstanceLikesEdge) UnmarshalJSON(b []byte) error
type AddLikeResponse ¶
type AddLikeResponse struct {
AddLike AddLikeAddLikeInstanceLikesEdge `json:"addLike"`
}
AddLikeResponse is returned by AddLike on success.
func (*AddLikeResponse) GetAddLike ¶
func (v *AddLikeResponse) GetAddLike() AddLikeAddLikeInstanceLikesEdge
GetAddLike returns AddLikeResponse.AddLike, and is useful for accessing the field via an interface.
type AddMessageAddMessageChannelMessagesEdge ¶
type AddMessageAddMessageChannelMessagesEdge struct {
ChannelMessagesEdgeFragment `json:"-"`
}
AddMessageAddMessageChannelMessagesEdge includes the requested fields of the GraphQL type ChannelMessagesEdge.
func (*AddMessageAddMessageChannelMessagesEdge) GetCursor ¶
func (v *AddMessageAddMessageChannelMessagesEdge) GetCursor() string
GetCursor returns AddMessageAddMessageChannelMessagesEdge.Cursor, and is useful for accessing the field via an interface.
func (*AddMessageAddMessageChannelMessagesEdge) GetNode ¶
func (v *AddMessageAddMessageChannelMessagesEdge) GetNode() ChannelMessagesEdgeFragmentNodeMessage
GetNode returns AddMessageAddMessageChannelMessagesEdge.Node, and is useful for accessing the field via an interface.
func (*AddMessageAddMessageChannelMessagesEdge) MarshalJSON ¶
func (v *AddMessageAddMessageChannelMessagesEdge) MarshalJSON() ([]byte, error)
func (*AddMessageAddMessageChannelMessagesEdge) UnmarshalJSON ¶
func (v *AddMessageAddMessageChannelMessagesEdge) UnmarshalJSON(b []byte) error
type AddMessageResponse ¶
type AddMessageResponse struct {
AddMessage AddMessageAddMessageChannelMessagesEdge `json:"addMessage"`
}
AddMessageResponse is returned by AddMessage on success.
func AddMessage ¶
func AddMessage( ctx context.Context, client graphql.Client, input MessageInput, ) (*AddMessageResponse, error)
func (*AddMessageResponse) GetAddMessage ¶
func (v *AddMessageResponse) GetAddMessage() AddMessageAddMessageChannelMessagesEdge
GetAddMessage returns AddMessageResponse.AddMessage, and is useful for accessing the field via an interface.
type AddRoleAddRoleAuthor ¶
type AddRoleAddRoleAuthor struct {
AuthorFragment `json:"-"`
}
AddRoleAddRoleAuthor includes the requested fields of the GraphQL type Author.
func (*AddRoleAddRoleAuthor) GetAvatar ¶
func (v *AddRoleAddRoleAuthor) GetAvatar() string
GetAvatar returns AddRoleAddRoleAuthor.Avatar, and is useful for accessing the field via an interface.
func (*AddRoleAddRoleAuthor) GetBio ¶
func (v *AddRoleAddRoleAuthor) GetBio() string
GetBio returns AddRoleAddRoleAuthor.Bio, and is useful for accessing the field via an interface.
func (*AddRoleAddRoleAuthor) GetCreatedAt ¶
func (v *AddRoleAddRoleAuthor) GetCreatedAt() time.Time
GetCreatedAt returns AddRoleAddRoleAuthor.CreatedAt, and is useful for accessing the field via an interface.
func (*AddRoleAddRoleAuthor) GetId ¶
func (v *AddRoleAddRoleAuthor) GetId() uuid.UUID
GetId returns AddRoleAddRoleAuthor.Id, and is useful for accessing the field via an interface.
func (*AddRoleAddRoleAuthor) GetInstanceId ¶
func (v *AddRoleAddRoleAuthor) GetInstanceId() uuid.UUID
GetInstanceId returns AddRoleAddRoleAuthor.InstanceId, and is useful for accessing the field via an interface.
func (*AddRoleAddRoleAuthor) GetName ¶
func (v *AddRoleAddRoleAuthor) GetName() string
GetName returns AddRoleAddRoleAuthor.Name, and is useful for accessing the field via an interface.
func (*AddRoleAddRoleAuthor) GetRoles ¶
func (v *AddRoleAddRoleAuthor) GetRoles() []Role
GetRoles returns AddRoleAddRoleAuthor.Roles, and is useful for accessing the field via an interface.
func (*AddRoleAddRoleAuthor) GetUserId ¶
func (v *AddRoleAddRoleAuthor) GetUserId() uuid.UUID
GetUserId returns AddRoleAddRoleAuthor.UserId, and is useful for accessing the field via an interface.
func (*AddRoleAddRoleAuthor) MarshalJSON ¶
func (v *AddRoleAddRoleAuthor) MarshalJSON() ([]byte, error)
func (*AddRoleAddRoleAuthor) UnmarshalJSON ¶
func (v *AddRoleAddRoleAuthor) UnmarshalJSON(b []byte) error
type AddRoleResponse ¶
type AddRoleResponse struct {
AddRole AddRoleAddRoleAuthor `json:"addRole"`
}
AddRoleResponse is returned by AddRole on success.
func (*AddRoleResponse) GetAddRole ¶
func (v *AddRoleResponse) GetAddRole() AddRoleAddRoleAuthor
GetAddRole returns AddRoleResponse.AddRole, and is useful for accessing the field via an interface.
type AuthorFragment ¶
type AuthorFragment struct { Id uuid.UUID `json:"id"` UserId uuid.UUID `json:"userId"` InstanceId uuid.UUID `json:"instanceId"` Name string `json:"name"` Avatar string `json:"avatar"` Bio string `json:"bio"` Roles []Role `json:"roles"` CreatedAt time.Time `json:"createdAt"` }
AuthorFragment includes the GraphQL fields of Author requested by the fragment AuthorFragment.
func (*AuthorFragment) GetAvatar ¶
func (v *AuthorFragment) GetAvatar() string
GetAvatar returns AuthorFragment.Avatar, and is useful for accessing the field via an interface.
func (*AuthorFragment) GetBio ¶
func (v *AuthorFragment) GetBio() string
GetBio returns AuthorFragment.Bio, and is useful for accessing the field via an interface.
func (*AuthorFragment) GetCreatedAt ¶
func (v *AuthorFragment) GetCreatedAt() time.Time
GetCreatedAt returns AuthorFragment.CreatedAt, and is useful for accessing the field via an interface.
func (*AuthorFragment) GetId ¶
func (v *AuthorFragment) GetId() uuid.UUID
GetId returns AuthorFragment.Id, and is useful for accessing the field via an interface.
func (*AuthorFragment) GetInstanceId ¶
func (v *AuthorFragment) GetInstanceId() uuid.UUID
GetInstanceId returns AuthorFragment.InstanceId, and is useful for accessing the field via an interface.
func (*AuthorFragment) GetName ¶
func (v *AuthorFragment) GetName() string
GetName returns AuthorFragment.Name, and is useful for accessing the field via an interface.
func (*AuthorFragment) GetRoles ¶
func (v *AuthorFragment) GetRoles() []Role
GetRoles returns AuthorFragment.Roles, and is useful for accessing the field via an interface.
func (*AuthorFragment) GetUserId ¶
func (v *AuthorFragment) GetUserId() uuid.UUID
GetUserId returns AuthorFragment.UserId, and is useful for accessing the field via an interface.
type ChannelChannel ¶
type ChannelChannel struct {
ChannelFragment `json:"-"`
}
ChannelChannel includes the requested fields of the GraphQL type Channel.
func (*ChannelChannel) GetCreatedAt ¶
func (v *ChannelChannel) GetCreatedAt() time.Time
GetCreatedAt returns ChannelChannel.CreatedAt, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetId ¶
func (v *ChannelChannel) GetId() uuid.UUID
GetId returns ChannelChannel.Id, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetInstanceId ¶
func (v *ChannelChannel) GetInstanceId() uuid.UUID
GetInstanceId returns ChannelChannel.InstanceId, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetIsCategory ¶
func (v *ChannelChannel) GetIsCategory() bool
GetIsCategory returns ChannelChannel.IsCategory, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetIsComments ¶
func (v *ChannelChannel) GetIsComments() bool
GetIsComments returns ChannelChannel.IsComments, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetLastMessageAddedAt ¶
func (v *ChannelChannel) GetLastMessageAddedAt() *time.Time
GetLastMessageAddedAt returns ChannelChannel.LastMessageAddedAt, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetMessageCount ¶
func (v *ChannelChannel) GetMessageCount() int
GetMessageCount returns ChannelChannel.MessageCount, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetMessagesConnection ¶
func (v *ChannelChannel) GetMessagesConnection() ChannelFragmentMessagesConnectionChannelMessagesConnection
GetMessagesConnection returns ChannelChannel.MessagesConnection, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetName ¶
func (v *ChannelChannel) GetName() string
GetName returns ChannelChannel.Name, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetPublishers ¶
func (v *ChannelChannel) GetPublishers() []Role
GetPublishers returns ChannelChannel.Publishers, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetRank ¶
func (v *ChannelChannel) GetRank() string
GetRank returns ChannelChannel.Rank, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetReaders ¶
func (v *ChannelChannel) GetReaders() []Role
GetReaders returns ChannelChannel.Readers, and is useful for accessing the field via an interface.
func (*ChannelChannel) GetUpdatedAt ¶
func (v *ChannelChannel) GetUpdatedAt() time.Time
GetUpdatedAt returns ChannelChannel.UpdatedAt, and is useful for accessing the field via an interface.
func (*ChannelChannel) MarshalJSON ¶
func (v *ChannelChannel) MarshalJSON() ([]byte, error)
func (*ChannelChannel) UnmarshalJSON ¶
func (v *ChannelChannel) UnmarshalJSON(b []byte) error
type ChannelFragment ¶
type ChannelFragment struct { Id uuid.UUID `json:"id"` Name string `json:"name"` Rank string `json:"rank"` InstanceId uuid.UUID `json:"instanceId"` Readers []Role `json:"readers"` Publishers []Role `json:"publishers"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` LastMessageAddedAt *time.Time `json:"lastMessageAddedAt"` MessageCount int `json:"messageCount"` IsCategory bool `json:"isCategory"` IsComments bool `json:"isComments"` MessagesConnection ChannelFragmentMessagesConnectionChannelMessagesConnection `json:"messagesConnection"` }
ChannelFragment includes the GraphQL fields of Channel requested by the fragment ChannelFragment.
func (*ChannelFragment) GetCreatedAt ¶
func (v *ChannelFragment) GetCreatedAt() time.Time
GetCreatedAt returns ChannelFragment.CreatedAt, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetId ¶
func (v *ChannelFragment) GetId() uuid.UUID
GetId returns ChannelFragment.Id, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetInstanceId ¶
func (v *ChannelFragment) GetInstanceId() uuid.UUID
GetInstanceId returns ChannelFragment.InstanceId, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetIsCategory ¶
func (v *ChannelFragment) GetIsCategory() bool
GetIsCategory returns ChannelFragment.IsCategory, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetIsComments ¶
func (v *ChannelFragment) GetIsComments() bool
GetIsComments returns ChannelFragment.IsComments, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetLastMessageAddedAt ¶
func (v *ChannelFragment) GetLastMessageAddedAt() *time.Time
GetLastMessageAddedAt returns ChannelFragment.LastMessageAddedAt, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetMessageCount ¶
func (v *ChannelFragment) GetMessageCount() int
GetMessageCount returns ChannelFragment.MessageCount, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetMessagesConnection ¶
func (v *ChannelFragment) GetMessagesConnection() ChannelFragmentMessagesConnectionChannelMessagesConnection
GetMessagesConnection returns ChannelFragment.MessagesConnection, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetName ¶
func (v *ChannelFragment) GetName() string
GetName returns ChannelFragment.Name, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetPublishers ¶
func (v *ChannelFragment) GetPublishers() []Role
GetPublishers returns ChannelFragment.Publishers, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetRank ¶
func (v *ChannelFragment) GetRank() string
GetRank returns ChannelFragment.Rank, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetReaders ¶
func (v *ChannelFragment) GetReaders() []Role
GetReaders returns ChannelFragment.Readers, and is useful for accessing the field via an interface.
func (*ChannelFragment) GetUpdatedAt ¶
func (v *ChannelFragment) GetUpdatedAt() time.Time
GetUpdatedAt returns ChannelFragment.UpdatedAt, and is useful for accessing the field via an interface.
type ChannelFragmentMessagesConnectionChannelMessagesConnection ¶
type ChannelFragmentMessagesConnectionChannelMessagesConnection struct { Edges []ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge `json:"edges"` PageInfo ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo `json:"pageInfo"` }
ChannelFragmentMessagesConnectionChannelMessagesConnection includes the requested fields of the GraphQL type ChannelMessagesConnection.
func (*ChannelFragmentMessagesConnectionChannelMessagesConnection) GetEdges ¶
func (v *ChannelFragmentMessagesConnectionChannelMessagesConnection) GetEdges() []ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge
GetEdges returns ChannelFragmentMessagesConnectionChannelMessagesConnection.Edges, and is useful for accessing the field via an interface.
func (*ChannelFragmentMessagesConnectionChannelMessagesConnection) GetPageInfo ¶
func (v *ChannelFragmentMessagesConnectionChannelMessagesConnection) GetPageInfo() ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo
GetPageInfo returns ChannelFragmentMessagesConnectionChannelMessagesConnection.PageInfo, and is useful for accessing the field via an interface.
type ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge ¶
type ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge struct {
ChannelMessagesEdgeFragment `json:"-"`
}
ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge includes the requested fields of the GraphQL type ChannelMessagesEdge.
func (*ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) GetCursor ¶
func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) GetCursor() string
GetCursor returns ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge.Cursor, and is useful for accessing the field via an interface.
func (*ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) GetNode ¶
func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) GetNode() ChannelMessagesEdgeFragmentNodeMessage
GetNode returns ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge.Node, and is useful for accessing the field via an interface.
func (*ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) MarshalJSON ¶
func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) MarshalJSON() ([]byte, error)
func (*ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) UnmarshalJSON ¶
func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionEdgesChannelMessagesEdge) UnmarshalJSON(b []byte) error
type ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo ¶
type ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo struct {
PageInfoFragment `json:"-"`
}
ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.
func (*ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) GetHasNextPage ¶
func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) GetHasPreviousPage ¶
func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) GetHasPreviousPage() bool
GetHasPreviousPage returns ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo.HasPreviousPage, and is useful for accessing the field via an interface.
func (*ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) MarshalJSON ¶
func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) MarshalJSON() ([]byte, error)
func (*ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) UnmarshalJSON ¶
func (v *ChannelFragmentMessagesConnectionChannelMessagesConnectionPageInfo) UnmarshalJSON(b []byte) error
type ChannelInput ¶
type ChannelInput struct { Name string `json:"name"` InstanceId uuid.UUID `json:"instanceId"` Publishers []Role `json:"publishers"` Readers []Role `json:"readers"` IsCategory bool `json:"isCategory"` }
func (*ChannelInput) GetInstanceId ¶
func (v *ChannelInput) GetInstanceId() uuid.UUID
GetInstanceId returns ChannelInput.InstanceId, and is useful for accessing the field via an interface.
func (*ChannelInput) GetIsCategory ¶
func (v *ChannelInput) GetIsCategory() bool
GetIsCategory returns ChannelInput.IsCategory, and is useful for accessing the field via an interface.
func (*ChannelInput) GetName ¶
func (v *ChannelInput) GetName() string
GetName returns ChannelInput.Name, and is useful for accessing the field via an interface.
func (*ChannelInput) GetPublishers ¶
func (v *ChannelInput) GetPublishers() []Role
GetPublishers returns ChannelInput.Publishers, and is useful for accessing the field via an interface.
func (*ChannelInput) GetReaders ¶
func (v *ChannelInput) GetReaders() []Role
GetReaders returns ChannelInput.Readers, and is useful for accessing the field via an interface.
type ChannelMessagesEdgeFragment ¶
type ChannelMessagesEdgeFragment struct { Cursor string `json:"cursor"` Node ChannelMessagesEdgeFragmentNodeMessage `json:"node"` }
ChannelMessagesEdgeFragment includes the GraphQL fields of ChannelMessagesEdge requested by the fragment ChannelMessagesEdgeFragment.
func (*ChannelMessagesEdgeFragment) GetCursor ¶
func (v *ChannelMessagesEdgeFragment) GetCursor() string
GetCursor returns ChannelMessagesEdgeFragment.Cursor, and is useful for accessing the field via an interface.
func (*ChannelMessagesEdgeFragment) GetNode ¶
func (v *ChannelMessagesEdgeFragment) GetNode() ChannelMessagesEdgeFragmentNodeMessage
GetNode returns ChannelMessagesEdgeFragment.Node, and is useful for accessing the field via an interface.
type ChannelMessagesEdgeFragmentNodeMessage ¶
type ChannelMessagesEdgeFragmentNodeMessage struct {
MessageFragment `json:"-"`
}
ChannelMessagesEdgeFragmentNodeMessage includes the requested fields of the GraphQL type Message.
func (*ChannelMessagesEdgeFragmentNodeMessage) GetAuthor ¶
func (v *ChannelMessagesEdgeFragmentNodeMessage) GetAuthor() MessageFragmentAuthor
GetAuthor returns ChannelMessagesEdgeFragmentNodeMessage.Author, and is useful for accessing the field via an interface.
func (*ChannelMessagesEdgeFragmentNodeMessage) GetChannelId ¶
func (v *ChannelMessagesEdgeFragmentNodeMessage) GetChannelId() uuid.UUID
GetChannelId returns ChannelMessagesEdgeFragmentNodeMessage.ChannelId, and is useful for accessing the field via an interface.
func (*ChannelMessagesEdgeFragmentNodeMessage) GetCreatedAt ¶
func (v *ChannelMessagesEdgeFragmentNodeMessage) GetCreatedAt() time.Time
GetCreatedAt returns ChannelMessagesEdgeFragmentNodeMessage.CreatedAt, and is useful for accessing the field via an interface.
func (*ChannelMessagesEdgeFragmentNodeMessage) GetId ¶
func (v *ChannelMessagesEdgeFragmentNodeMessage) GetId() uuid.UUID
GetId returns ChannelMessagesEdgeFragmentNodeMessage.Id, and is useful for accessing the field via an interface.
func (*ChannelMessagesEdgeFragmentNodeMessage) GetImageUrls ¶ added in v0.0.4
func (v *ChannelMessagesEdgeFragmentNodeMessage) GetImageUrls() []string
GetImageUrls returns ChannelMessagesEdgeFragmentNodeMessage.ImageUrls, and is useful for accessing the field via an interface.
func (*ChannelMessagesEdgeFragmentNodeMessage) GetRepliedMessage ¶ added in v0.0.4
func (v *ChannelMessagesEdgeFragmentNodeMessage) GetRepliedMessage() *MessageFragmentRepliedMessage
GetRepliedMessage returns ChannelMessagesEdgeFragmentNodeMessage.RepliedMessage, and is useful for accessing the field via an interface.
func (*ChannelMessagesEdgeFragmentNodeMessage) GetText ¶
func (v *ChannelMessagesEdgeFragmentNodeMessage) GetText() string
GetText returns ChannelMessagesEdgeFragmentNodeMessage.Text, and is useful for accessing the field via an interface.
func (*ChannelMessagesEdgeFragmentNodeMessage) MarshalJSON ¶
func (v *ChannelMessagesEdgeFragmentNodeMessage) MarshalJSON() ([]byte, error)
func (*ChannelMessagesEdgeFragmentNodeMessage) UnmarshalJSON ¶
func (v *ChannelMessagesEdgeFragmentNodeMessage) UnmarshalJSON(b []byte) error
type ChannelReorderInput ¶
func (*ChannelReorderInput) GetPrevChannelId ¶
func (v *ChannelReorderInput) GetPrevChannelId() *uuid.UUID
GetPrevChannelId returns ChannelReorderInput.PrevChannelId, and is useful for accessing the field via an interface.
type ChannelResponse ¶
type ChannelResponse struct {
Channel ChannelChannel `json:"channel"`
}
ChannelResponse is returned by Channel on success.
func (*ChannelResponse) GetChannel ¶
func (v *ChannelResponse) GetChannel() ChannelChannel
GetChannel returns ChannelResponse.Channel, and is useful for accessing the field via an interface.
type CheckInviteCheckInvite ¶
type CheckInviteCheckInvite struct { Instance *CheckInviteCheckInviteInstance `json:"instance"` InviteFragment `json:"-"` }
CheckInviteCheckInvite includes the requested fields of the GraphQL type Invite.
func (*CheckInviteCheckInvite) GetAuthor ¶
func (v *CheckInviteCheckInvite) GetAuthor() InviteFragmentAuthor
GetAuthor returns CheckInviteCheckInvite.Author, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInvite) GetCode ¶
func (v *CheckInviteCheckInvite) GetCode() string
GetCode returns CheckInviteCheckInvite.Code, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInvite) GetCreatedAt ¶
func (v *CheckInviteCheckInvite) GetCreatedAt() time.Time
GetCreatedAt returns CheckInviteCheckInvite.CreatedAt, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInvite) GetExpiresAt ¶
func (v *CheckInviteCheckInvite) GetExpiresAt() *time.Time
GetExpiresAt returns CheckInviteCheckInvite.ExpiresAt, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInvite) GetId ¶
func (v *CheckInviteCheckInvite) GetId() uuid.UUID
GetId returns CheckInviteCheckInvite.Id, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInvite) GetInstance ¶
func (v *CheckInviteCheckInvite) GetInstance() *CheckInviteCheckInviteInstance
GetInstance returns CheckInviteCheckInvite.Instance, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInvite) GetInstanceId ¶
func (v *CheckInviteCheckInvite) GetInstanceId() uuid.UUID
GetInstanceId returns CheckInviteCheckInvite.InstanceId, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInvite) GetRedemptions ¶
func (v *CheckInviteCheckInvite) GetRedemptions() *int
GetRedemptions returns CheckInviteCheckInvite.Redemptions, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInvite) MarshalJSON ¶
func (v *CheckInviteCheckInvite) MarshalJSON() ([]byte, error)
func (*CheckInviteCheckInvite) UnmarshalJSON ¶
func (v *CheckInviteCheckInvite) UnmarshalJSON(b []byte) error
type CheckInviteCheckInviteInstance ¶
type CheckInviteCheckInviteInstance struct {
InstanceFragment `json:"-"`
}
CheckInviteCheckInviteInstance includes the requested fields of the GraphQL type Instance.
func (*CheckInviteCheckInviteInstance) GetAuthor ¶
func (v *CheckInviteCheckInviteInstance) GetAuthor() InstanceFragmentAuthor
GetAuthor returns CheckInviteCheckInviteInstance.Author, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetAuthorsConnection ¶
func (v *CheckInviteCheckInviteInstance) GetAuthorsConnection() InstanceFragmentAuthorsConnectionInstanceAuthorsConnection
GetAuthorsConnection returns CheckInviteCheckInviteInstance.AuthorsConnection, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetChannelsConnection ¶
func (v *CheckInviteCheckInviteInstance) GetChannelsConnection() InstanceFragmentChannelsConnectionInstanceChannelsConnection
GetChannelsConnection returns CheckInviteCheckInviteInstance.ChannelsConnection, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetCommentsCount ¶
func (v *CheckInviteCheckInviteInstance) GetCommentsCount() int
GetCommentsCount returns CheckInviteCheckInviteInstance.CommentsCount, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetCreatedAt ¶
func (v *CheckInviteCheckInviteInstance) GetCreatedAt() time.Time
GetCreatedAt returns CheckInviteCheckInviteInstance.CreatedAt, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetDescription ¶
func (v *CheckInviteCheckInviteInstance) GetDescription() string
GetDescription returns CheckInviteCheckInviteInstance.Description, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetIcon ¶
func (v *CheckInviteCheckInviteInstance) GetIcon() string
GetIcon returns CheckInviteCheckInviteInstance.Icon, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetId ¶
func (v *CheckInviteCheckInviteInstance) GetId() uuid.UUID
GetId returns CheckInviteCheckInviteInstance.Id, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetLikesConnection ¶
func (v *CheckInviteCheckInviteInstance) GetLikesConnection() InstanceFragmentLikesConnectionInstanceLikesConnection
GetLikesConnection returns CheckInviteCheckInviteInstance.LikesConnection, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetLikesCount ¶
func (v *CheckInviteCheckInviteInstance) GetLikesCount() int
GetLikesCount returns CheckInviteCheckInviteInstance.LikesCount, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetName ¶
func (v *CheckInviteCheckInviteInstance) GetName() string
GetName returns CheckInviteCheckInviteInstance.Name, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetReadAccess ¶
func (v *CheckInviteCheckInviteInstance) GetReadAccess() Access
GetReadAccess returns CheckInviteCheckInviteInstance.ReadAccess, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetShowAuthor ¶
func (v *CheckInviteCheckInviteInstance) GetShowAuthor() bool
GetShowAuthor returns CheckInviteCheckInviteInstance.ShowAuthor, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetShowChat ¶
func (v *CheckInviteCheckInviteInstance) GetShowChat() bool
GetShowChat returns CheckInviteCheckInviteInstance.ShowChat, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetShowComments ¶
func (v *CheckInviteCheckInviteInstance) GetShowComments() bool
GetShowComments returns CheckInviteCheckInviteInstance.ShowComments, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) GetShowLikes ¶
func (v *CheckInviteCheckInviteInstance) GetShowLikes() bool
GetShowLikes returns CheckInviteCheckInviteInstance.ShowLikes, and is useful for accessing the field via an interface.
func (*CheckInviteCheckInviteInstance) MarshalJSON ¶
func (v *CheckInviteCheckInviteInstance) MarshalJSON() ([]byte, error)
func (*CheckInviteCheckInviteInstance) UnmarshalJSON ¶
func (v *CheckInviteCheckInviteInstance) UnmarshalJSON(b []byte) error
type CheckInviteResponse ¶
type CheckInviteResponse struct {
CheckInvite CheckInviteCheckInvite `json:"checkInvite"`
}
CheckInviteResponse is returned by CheckInvite on success.
func CheckInvite ¶
func (*CheckInviteResponse) GetCheckInvite ¶
func (v *CheckInviteResponse) GetCheckInvite() CheckInviteCheckInvite
GetCheckInvite returns CheckInviteResponse.CheckInvite, and is useful for accessing the field via an interface.
type InstanceAuthorsEdgeFragment ¶
type InstanceAuthorsEdgeFragment struct { Cursor string `json:"cursor"` Node InstanceAuthorsEdgeFragmentNodeAuthor `json:"node"` }
InstanceAuthorsEdgeFragment includes the GraphQL fields of InstanceAuthorsEdge requested by the fragment InstanceAuthorsEdgeFragment.
func (*InstanceAuthorsEdgeFragment) GetCursor ¶
func (v *InstanceAuthorsEdgeFragment) GetCursor() string
GetCursor returns InstanceAuthorsEdgeFragment.Cursor, and is useful for accessing the field via an interface.
func (*InstanceAuthorsEdgeFragment) GetNode ¶
func (v *InstanceAuthorsEdgeFragment) GetNode() InstanceAuthorsEdgeFragmentNodeAuthor
GetNode returns InstanceAuthorsEdgeFragment.Node, and is useful for accessing the field via an interface.
type InstanceAuthorsEdgeFragmentNodeAuthor ¶
type InstanceAuthorsEdgeFragmentNodeAuthor struct {
AuthorFragment `json:"-"`
}
InstanceAuthorsEdgeFragmentNodeAuthor includes the requested fields of the GraphQL type Author.
func (*InstanceAuthorsEdgeFragmentNodeAuthor) GetAvatar ¶
func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetAvatar() string
GetAvatar returns InstanceAuthorsEdgeFragmentNodeAuthor.Avatar, and is useful for accessing the field via an interface.
func (*InstanceAuthorsEdgeFragmentNodeAuthor) GetBio ¶
func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetBio() string
GetBio returns InstanceAuthorsEdgeFragmentNodeAuthor.Bio, and is useful for accessing the field via an interface.
func (*InstanceAuthorsEdgeFragmentNodeAuthor) GetCreatedAt ¶
func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetCreatedAt() time.Time
GetCreatedAt returns InstanceAuthorsEdgeFragmentNodeAuthor.CreatedAt, and is useful for accessing the field via an interface.
func (*InstanceAuthorsEdgeFragmentNodeAuthor) GetId ¶
func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetId() uuid.UUID
GetId returns InstanceAuthorsEdgeFragmentNodeAuthor.Id, and is useful for accessing the field via an interface.
func (*InstanceAuthorsEdgeFragmentNodeAuthor) GetInstanceId ¶
func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetInstanceId() uuid.UUID
GetInstanceId returns InstanceAuthorsEdgeFragmentNodeAuthor.InstanceId, and is useful for accessing the field via an interface.
func (*InstanceAuthorsEdgeFragmentNodeAuthor) GetName ¶
func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetName() string
GetName returns InstanceAuthorsEdgeFragmentNodeAuthor.Name, and is useful for accessing the field via an interface.
func (*InstanceAuthorsEdgeFragmentNodeAuthor) GetRoles ¶
func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetRoles() []Role
GetRoles returns InstanceAuthorsEdgeFragmentNodeAuthor.Roles, and is useful for accessing the field via an interface.
func (*InstanceAuthorsEdgeFragmentNodeAuthor) GetUserId ¶
func (v *InstanceAuthorsEdgeFragmentNodeAuthor) GetUserId() uuid.UUID
GetUserId returns InstanceAuthorsEdgeFragmentNodeAuthor.UserId, and is useful for accessing the field via an interface.
func (*InstanceAuthorsEdgeFragmentNodeAuthor) MarshalJSON ¶
func (v *InstanceAuthorsEdgeFragmentNodeAuthor) MarshalJSON() ([]byte, error)
func (*InstanceAuthorsEdgeFragmentNodeAuthor) UnmarshalJSON ¶
func (v *InstanceAuthorsEdgeFragmentNodeAuthor) UnmarshalJSON(b []byte) error
type InstanceChannelsEdgeFragment ¶
type InstanceChannelsEdgeFragment struct { Cursor string `json:"cursor"` Node InstanceChannelsEdgeFragmentNodeChannel `json:"node"` }
InstanceChannelsEdgeFragment includes the GraphQL fields of InstanceChannelsEdge requested by the fragment InstanceChannelsEdgeFragment.
func (*InstanceChannelsEdgeFragment) GetCursor ¶
func (v *InstanceChannelsEdgeFragment) GetCursor() string
GetCursor returns InstanceChannelsEdgeFragment.Cursor, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragment) GetNode ¶
func (v *InstanceChannelsEdgeFragment) GetNode() InstanceChannelsEdgeFragmentNodeChannel
GetNode returns InstanceChannelsEdgeFragment.Node, and is useful for accessing the field via an interface.
type InstanceChannelsEdgeFragmentNodeChannel ¶
type InstanceChannelsEdgeFragmentNodeChannel struct {
ChannelFragment `json:"-"`
}
InstanceChannelsEdgeFragmentNodeChannel includes the requested fields of the GraphQL type Channel.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetCreatedAt ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetCreatedAt() time.Time
GetCreatedAt returns InstanceChannelsEdgeFragmentNodeChannel.CreatedAt, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetId ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetId() uuid.UUID
GetId returns InstanceChannelsEdgeFragmentNodeChannel.Id, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetInstanceId ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetInstanceId() uuid.UUID
GetInstanceId returns InstanceChannelsEdgeFragmentNodeChannel.InstanceId, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetIsCategory ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetIsCategory() bool
GetIsCategory returns InstanceChannelsEdgeFragmentNodeChannel.IsCategory, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetIsComments ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetIsComments() bool
GetIsComments returns InstanceChannelsEdgeFragmentNodeChannel.IsComments, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetLastMessageAddedAt ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetLastMessageAddedAt() *time.Time
GetLastMessageAddedAt returns InstanceChannelsEdgeFragmentNodeChannel.LastMessageAddedAt, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetMessageCount ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetMessageCount() int
GetMessageCount returns InstanceChannelsEdgeFragmentNodeChannel.MessageCount, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetMessagesConnection ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetMessagesConnection() ChannelFragmentMessagesConnectionChannelMessagesConnection
GetMessagesConnection returns InstanceChannelsEdgeFragmentNodeChannel.MessagesConnection, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetName ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetName() string
GetName returns InstanceChannelsEdgeFragmentNodeChannel.Name, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetPublishers ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetPublishers() []Role
GetPublishers returns InstanceChannelsEdgeFragmentNodeChannel.Publishers, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetRank ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetRank() string
GetRank returns InstanceChannelsEdgeFragmentNodeChannel.Rank, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetReaders ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetReaders() []Role
GetReaders returns InstanceChannelsEdgeFragmentNodeChannel.Readers, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) GetUpdatedAt ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) GetUpdatedAt() time.Time
GetUpdatedAt returns InstanceChannelsEdgeFragmentNodeChannel.UpdatedAt, and is useful for accessing the field via an interface.
func (*InstanceChannelsEdgeFragmentNodeChannel) MarshalJSON ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) MarshalJSON() ([]byte, error)
func (*InstanceChannelsEdgeFragmentNodeChannel) UnmarshalJSON ¶
func (v *InstanceChannelsEdgeFragmentNodeChannel) UnmarshalJSON(b []byte) error
type InstanceFragment ¶
type InstanceFragment struct { Id uuid.UUID `json:"id"` Name string `json:"name"` Author InstanceFragmentAuthor `json:"author"` ReadAccess Access `json:"readAccess"` Icon string `json:"icon"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` ShowAuthor bool `json:"showAuthor"` ShowChat bool `json:"showChat"` ShowLikes bool `json:"showLikes"` ShowComments bool `json:"showComments"` LikesCount int `json:"likesCount"` CommentsCount int `json:"commentsCount"` LikesConnection InstanceFragmentLikesConnectionInstanceLikesConnection `json:"likesConnection"` ChannelsConnection InstanceFragmentChannelsConnectionInstanceChannelsConnection `json:"channelsConnection"` AuthorsConnection InstanceFragmentAuthorsConnectionInstanceAuthorsConnection `json:"authorsConnection"` }
InstanceFragment includes the GraphQL fields of Instance requested by the fragment InstanceFragment.
func (*InstanceFragment) GetAuthor ¶
func (v *InstanceFragment) GetAuthor() InstanceFragmentAuthor
GetAuthor returns InstanceFragment.Author, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetAuthorsConnection ¶
func (v *InstanceFragment) GetAuthorsConnection() InstanceFragmentAuthorsConnectionInstanceAuthorsConnection
GetAuthorsConnection returns InstanceFragment.AuthorsConnection, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetChannelsConnection ¶
func (v *InstanceFragment) GetChannelsConnection() InstanceFragmentChannelsConnectionInstanceChannelsConnection
GetChannelsConnection returns InstanceFragment.ChannelsConnection, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetCommentsCount ¶
func (v *InstanceFragment) GetCommentsCount() int
GetCommentsCount returns InstanceFragment.CommentsCount, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetCreatedAt ¶
func (v *InstanceFragment) GetCreatedAt() time.Time
GetCreatedAt returns InstanceFragment.CreatedAt, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetDescription ¶
func (v *InstanceFragment) GetDescription() string
GetDescription returns InstanceFragment.Description, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetIcon ¶
func (v *InstanceFragment) GetIcon() string
GetIcon returns InstanceFragment.Icon, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetId ¶
func (v *InstanceFragment) GetId() uuid.UUID
GetId returns InstanceFragment.Id, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetLikesConnection ¶
func (v *InstanceFragment) GetLikesConnection() InstanceFragmentLikesConnectionInstanceLikesConnection
GetLikesConnection returns InstanceFragment.LikesConnection, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetLikesCount ¶
func (v *InstanceFragment) GetLikesCount() int
GetLikesCount returns InstanceFragment.LikesCount, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetName ¶
func (v *InstanceFragment) GetName() string
GetName returns InstanceFragment.Name, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetReadAccess ¶
func (v *InstanceFragment) GetReadAccess() Access
GetReadAccess returns InstanceFragment.ReadAccess, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetShowAuthor ¶
func (v *InstanceFragment) GetShowAuthor() bool
GetShowAuthor returns InstanceFragment.ShowAuthor, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetShowChat ¶
func (v *InstanceFragment) GetShowChat() bool
GetShowChat returns InstanceFragment.ShowChat, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetShowComments ¶
func (v *InstanceFragment) GetShowComments() bool
GetShowComments returns InstanceFragment.ShowComments, and is useful for accessing the field via an interface.
func (*InstanceFragment) GetShowLikes ¶
func (v *InstanceFragment) GetShowLikes() bool
GetShowLikes returns InstanceFragment.ShowLikes, and is useful for accessing the field via an interface.
type InstanceFragmentAuthor ¶
type InstanceFragmentAuthor struct {
AuthorFragment `json:"-"`
}
InstanceFragmentAuthor includes the requested fields of the GraphQL type Author.
func (*InstanceFragmentAuthor) GetAvatar ¶
func (v *InstanceFragmentAuthor) GetAvatar() string
GetAvatar returns InstanceFragmentAuthor.Avatar, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthor) GetBio ¶
func (v *InstanceFragmentAuthor) GetBio() string
GetBio returns InstanceFragmentAuthor.Bio, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthor) GetCreatedAt ¶
func (v *InstanceFragmentAuthor) GetCreatedAt() time.Time
GetCreatedAt returns InstanceFragmentAuthor.CreatedAt, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthor) GetId ¶
func (v *InstanceFragmentAuthor) GetId() uuid.UUID
GetId returns InstanceFragmentAuthor.Id, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthor) GetInstanceId ¶
func (v *InstanceFragmentAuthor) GetInstanceId() uuid.UUID
GetInstanceId returns InstanceFragmentAuthor.InstanceId, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthor) GetName ¶
func (v *InstanceFragmentAuthor) GetName() string
GetName returns InstanceFragmentAuthor.Name, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthor) GetRoles ¶
func (v *InstanceFragmentAuthor) GetRoles() []Role
GetRoles returns InstanceFragmentAuthor.Roles, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthor) GetUserId ¶
func (v *InstanceFragmentAuthor) GetUserId() uuid.UUID
GetUserId returns InstanceFragmentAuthor.UserId, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthor) MarshalJSON ¶
func (v *InstanceFragmentAuthor) MarshalJSON() ([]byte, error)
func (*InstanceFragmentAuthor) UnmarshalJSON ¶
func (v *InstanceFragmentAuthor) UnmarshalJSON(b []byte) error
type InstanceFragmentAuthorsConnectionInstanceAuthorsConnection ¶
type InstanceFragmentAuthorsConnectionInstanceAuthorsConnection struct { Edges []InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge `json:"edges"` PageInfo InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo `json:"pageInfo"` }
InstanceFragmentAuthorsConnectionInstanceAuthorsConnection includes the requested fields of the GraphQL type InstanceAuthorsConnection.
func (*InstanceFragmentAuthorsConnectionInstanceAuthorsConnection) GetEdges ¶
func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnection) GetEdges() []InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge
GetEdges returns InstanceFragmentAuthorsConnectionInstanceAuthorsConnection.Edges, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthorsConnectionInstanceAuthorsConnection) GetPageInfo ¶
func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnection) GetPageInfo() InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo
GetPageInfo returns InstanceFragmentAuthorsConnectionInstanceAuthorsConnection.PageInfo, and is useful for accessing the field via an interface.
type InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge ¶
type InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge struct {
InstanceAuthorsEdgeFragment `json:"-"`
}
InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge includes the requested fields of the GraphQL type InstanceAuthorsEdge.
func (*InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) GetCursor ¶
func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) GetCursor() string
GetCursor returns InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge.Cursor, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) GetNode ¶
func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) GetNode() InstanceAuthorsEdgeFragmentNodeAuthor
GetNode returns InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge.Node, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) MarshalJSON ¶
func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) MarshalJSON() ([]byte, error)
func (*InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) UnmarshalJSON ¶
func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionEdgesInstanceAuthorsEdge) UnmarshalJSON(b []byte) error
type InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo ¶
type InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo struct {
PageInfoFragment `json:"-"`
}
InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.
func (*InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) GetHasNextPage ¶
func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) GetHasPreviousPage ¶
func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) GetHasPreviousPage() bool
GetHasPreviousPage returns InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo.HasPreviousPage, and is useful for accessing the field via an interface.
func (*InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) MarshalJSON ¶
func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) MarshalJSON() ([]byte, error)
func (*InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) UnmarshalJSON ¶
func (v *InstanceFragmentAuthorsConnectionInstanceAuthorsConnectionPageInfo) UnmarshalJSON(b []byte) error
type InstanceFragmentChannelsConnectionInstanceChannelsConnection ¶
type InstanceFragmentChannelsConnectionInstanceChannelsConnection struct { Edges []InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge `json:"edges"` PageInfo InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo `json:"pageInfo"` }
InstanceFragmentChannelsConnectionInstanceChannelsConnection includes the requested fields of the GraphQL type InstanceChannelsConnection.
func (*InstanceFragmentChannelsConnectionInstanceChannelsConnection) GetEdges ¶
func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnection) GetEdges() []InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge
GetEdges returns InstanceFragmentChannelsConnectionInstanceChannelsConnection.Edges, and is useful for accessing the field via an interface.
func (*InstanceFragmentChannelsConnectionInstanceChannelsConnection) GetPageInfo ¶
func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnection) GetPageInfo() InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo
GetPageInfo returns InstanceFragmentChannelsConnectionInstanceChannelsConnection.PageInfo, and is useful for accessing the field via an interface.
type InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge ¶
type InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge struct {
InstanceChannelsEdgeFragment `json:"-"`
}
InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge includes the requested fields of the GraphQL type InstanceChannelsEdge.
func (*InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) GetCursor ¶
func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) GetCursor() string
GetCursor returns InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge.Cursor, and is useful for accessing the field via an interface.
func (*InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) GetNode ¶
func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) GetNode() InstanceChannelsEdgeFragmentNodeChannel
GetNode returns InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge.Node, and is useful for accessing the field via an interface.
func (*InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) MarshalJSON ¶
func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) MarshalJSON() ([]byte, error)
func (*InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) UnmarshalJSON ¶
func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionEdgesInstanceChannelsEdge) UnmarshalJSON(b []byte) error
type InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo ¶
type InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo struct {
PageInfoFragment `json:"-"`
}
InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.
func (*InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) GetHasNextPage ¶
func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) GetHasPreviousPage ¶
func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) GetHasPreviousPage() bool
GetHasPreviousPage returns InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo.HasPreviousPage, and is useful for accessing the field via an interface.
func (*InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) MarshalJSON ¶
func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) MarshalJSON() ([]byte, error)
func (*InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) UnmarshalJSON ¶
func (v *InstanceFragmentChannelsConnectionInstanceChannelsConnectionPageInfo) UnmarshalJSON(b []byte) error
type InstanceFragmentLikesConnectionInstanceLikesConnection ¶
type InstanceFragmentLikesConnectionInstanceLikesConnection struct { Edges []InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge `json:"edges"` PageInfo InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo `json:"pageInfo"` }
InstanceFragmentLikesConnectionInstanceLikesConnection includes the requested fields of the GraphQL type InstanceLikesConnection.
func (*InstanceFragmentLikesConnectionInstanceLikesConnection) GetEdges ¶
func (v *InstanceFragmentLikesConnectionInstanceLikesConnection) GetEdges() []InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge
GetEdges returns InstanceFragmentLikesConnectionInstanceLikesConnection.Edges, and is useful for accessing the field via an interface.
func (*InstanceFragmentLikesConnectionInstanceLikesConnection) GetPageInfo ¶
func (v *InstanceFragmentLikesConnectionInstanceLikesConnection) GetPageInfo() InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo
GetPageInfo returns InstanceFragmentLikesConnectionInstanceLikesConnection.PageInfo, and is useful for accessing the field via an interface.
type InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge ¶
type InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge struct {
InstanceLikesEdgeFragment `json:"-"`
}
InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge includes the requested fields of the GraphQL type InstanceLikesEdge.
func (*InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) GetCursor ¶
func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) GetCursor() string
GetCursor returns InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge.Cursor, and is useful for accessing the field via an interface.
func (*InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) GetLikedAt ¶
func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) GetLikedAt() time.Time
GetLikedAt returns InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge.LikedAt, and is useful for accessing the field via an interface.
func (*InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) GetNode ¶
func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) GetNode() InstanceLikesEdgeFragmentNodeAuthor
GetNode returns InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge.Node, and is useful for accessing the field via an interface.
func (*InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) MarshalJSON ¶
func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) MarshalJSON() ([]byte, error)
func (*InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) UnmarshalJSON ¶
func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionEdgesInstanceLikesEdge) UnmarshalJSON(b []byte) error
type InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo ¶
type InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo struct {
PageInfoFragment `json:"-"`
}
InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.
func (*InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) GetHasNextPage ¶
func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) GetHasPreviousPage ¶
func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) GetHasPreviousPage() bool
GetHasPreviousPage returns InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo.HasPreviousPage, and is useful for accessing the field via an interface.
func (*InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) MarshalJSON ¶
func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) MarshalJSON() ([]byte, error)
func (*InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) UnmarshalJSON ¶
func (v *InstanceFragmentLikesConnectionInstanceLikesConnectionPageInfo) UnmarshalJSON(b []byte) error
type InstanceInput ¶
type InstanceInput struct { Id *uuid.UUID `json:"id"` Name string `json:"name"` ReadAccess Access `json:"readAccess"` Icon string `json:"icon"` Description string `json:"description"` ShowAuthor bool `json:"showAuthor"` ShowChat bool `json:"showChat"` ShowComments bool `json:"showComments"` ShowLikes bool `json:"showLikes"` }
func (*InstanceInput) GetDescription ¶
func (v *InstanceInput) GetDescription() string
GetDescription returns InstanceInput.Description, and is useful for accessing the field via an interface.
func (*InstanceInput) GetIcon ¶
func (v *InstanceInput) GetIcon() string
GetIcon returns InstanceInput.Icon, and is useful for accessing the field via an interface.
func (*InstanceInput) GetId ¶
func (v *InstanceInput) GetId() *uuid.UUID
GetId returns InstanceInput.Id, and is useful for accessing the field via an interface.
func (*InstanceInput) GetName ¶
func (v *InstanceInput) GetName() string
GetName returns InstanceInput.Name, and is useful for accessing the field via an interface.
func (*InstanceInput) GetReadAccess ¶
func (v *InstanceInput) GetReadAccess() Access
GetReadAccess returns InstanceInput.ReadAccess, and is useful for accessing the field via an interface.
func (*InstanceInput) GetShowAuthor ¶
func (v *InstanceInput) GetShowAuthor() bool
GetShowAuthor returns InstanceInput.ShowAuthor, and is useful for accessing the field via an interface.
func (*InstanceInput) GetShowChat ¶
func (v *InstanceInput) GetShowChat() bool
GetShowChat returns InstanceInput.ShowChat, and is useful for accessing the field via an interface.
func (*InstanceInput) GetShowComments ¶
func (v *InstanceInput) GetShowComments() bool
GetShowComments returns InstanceInput.ShowComments, and is useful for accessing the field via an interface.
func (*InstanceInput) GetShowLikes ¶
func (v *InstanceInput) GetShowLikes() bool
GetShowLikes returns InstanceInput.ShowLikes, and is useful for accessing the field via an interface.
type InstanceInstanceUserInstancesEdge ¶
type InstanceInstanceUserInstancesEdge struct {
UserInstancesEdgeFragment `json:"-"`
}
InstanceInstanceUserInstancesEdge includes the requested fields of the GraphQL type UserInstancesEdge.
func (*InstanceInstanceUserInstancesEdge) GetCursor ¶
func (v *InstanceInstanceUserInstancesEdge) GetCursor() string
GetCursor returns InstanceInstanceUserInstancesEdge.Cursor, and is useful for accessing the field via an interface.
func (*InstanceInstanceUserInstancesEdge) GetInstanceUser ¶
func (v *InstanceInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
GetInstanceUser returns InstanceInstanceUserInstancesEdge.InstanceUser, and is useful for accessing the field via an interface.
func (*InstanceInstanceUserInstancesEdge) GetLikedByMe ¶
func (v *InstanceInstanceUserInstancesEdge) GetLikedByMe() bool
GetLikedByMe returns InstanceInstanceUserInstancesEdge.LikedByMe, and is useful for accessing the field via an interface.
func (*InstanceInstanceUserInstancesEdge) GetNode ¶
func (v *InstanceInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
GetNode returns InstanceInstanceUserInstancesEdge.Node, and is useful for accessing the field via an interface.
func (*InstanceInstanceUserInstancesEdge) GetPinned ¶
func (v *InstanceInstanceUserInstancesEdge) GetPinned() bool
GetPinned returns InstanceInstanceUserInstancesEdge.Pinned, and is useful for accessing the field via an interface.
func (*InstanceInstanceUserInstancesEdge) GetRank ¶
func (v *InstanceInstanceUserInstancesEdge) GetRank() string
GetRank returns InstanceInstanceUserInstancesEdge.Rank, and is useful for accessing the field via an interface.
func (*InstanceInstanceUserInstancesEdge) MarshalJSON ¶
func (v *InstanceInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
func (*InstanceInstanceUserInstancesEdge) UnmarshalJSON ¶
func (v *InstanceInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
type InstanceLikesEdgeFragment ¶
type InstanceLikesEdgeFragment struct { Cursor string `json:"cursor"` LikedAt time.Time `json:"likedAt"` Node InstanceLikesEdgeFragmentNodeAuthor `json:"node"` }
InstanceLikesEdgeFragment includes the GraphQL fields of InstanceLikesEdge requested by the fragment InstanceLikesEdgeFragment.
func (*InstanceLikesEdgeFragment) GetCursor ¶
func (v *InstanceLikesEdgeFragment) GetCursor() string
GetCursor returns InstanceLikesEdgeFragment.Cursor, and is useful for accessing the field via an interface.
func (*InstanceLikesEdgeFragment) GetLikedAt ¶
func (v *InstanceLikesEdgeFragment) GetLikedAt() time.Time
GetLikedAt returns InstanceLikesEdgeFragment.LikedAt, and is useful for accessing the field via an interface.
func (*InstanceLikesEdgeFragment) GetNode ¶
func (v *InstanceLikesEdgeFragment) GetNode() InstanceLikesEdgeFragmentNodeAuthor
GetNode returns InstanceLikesEdgeFragment.Node, and is useful for accessing the field via an interface.
type InstanceLikesEdgeFragmentNodeAuthor ¶
type InstanceLikesEdgeFragmentNodeAuthor struct {
AuthorFragment `json:"-"`
}
InstanceLikesEdgeFragmentNodeAuthor includes the requested fields of the GraphQL type Author.
func (*InstanceLikesEdgeFragmentNodeAuthor) GetAvatar ¶
func (v *InstanceLikesEdgeFragmentNodeAuthor) GetAvatar() string
GetAvatar returns InstanceLikesEdgeFragmentNodeAuthor.Avatar, and is useful for accessing the field via an interface.
func (*InstanceLikesEdgeFragmentNodeAuthor) GetBio ¶
func (v *InstanceLikesEdgeFragmentNodeAuthor) GetBio() string
GetBio returns InstanceLikesEdgeFragmentNodeAuthor.Bio, and is useful for accessing the field via an interface.
func (*InstanceLikesEdgeFragmentNodeAuthor) GetCreatedAt ¶
func (v *InstanceLikesEdgeFragmentNodeAuthor) GetCreatedAt() time.Time
GetCreatedAt returns InstanceLikesEdgeFragmentNodeAuthor.CreatedAt, and is useful for accessing the field via an interface.
func (*InstanceLikesEdgeFragmentNodeAuthor) GetId ¶
func (v *InstanceLikesEdgeFragmentNodeAuthor) GetId() uuid.UUID
GetId returns InstanceLikesEdgeFragmentNodeAuthor.Id, and is useful for accessing the field via an interface.
func (*InstanceLikesEdgeFragmentNodeAuthor) GetInstanceId ¶
func (v *InstanceLikesEdgeFragmentNodeAuthor) GetInstanceId() uuid.UUID
GetInstanceId returns InstanceLikesEdgeFragmentNodeAuthor.InstanceId, and is useful for accessing the field via an interface.
func (*InstanceLikesEdgeFragmentNodeAuthor) GetName ¶
func (v *InstanceLikesEdgeFragmentNodeAuthor) GetName() string
GetName returns InstanceLikesEdgeFragmentNodeAuthor.Name, and is useful for accessing the field via an interface.
func (*InstanceLikesEdgeFragmentNodeAuthor) GetRoles ¶
func (v *InstanceLikesEdgeFragmentNodeAuthor) GetRoles() []Role
GetRoles returns InstanceLikesEdgeFragmentNodeAuthor.Roles, and is useful for accessing the field via an interface.
func (*InstanceLikesEdgeFragmentNodeAuthor) GetUserId ¶
func (v *InstanceLikesEdgeFragmentNodeAuthor) GetUserId() uuid.UUID
GetUserId returns InstanceLikesEdgeFragmentNodeAuthor.UserId, and is useful for accessing the field via an interface.
func (*InstanceLikesEdgeFragmentNodeAuthor) MarshalJSON ¶
func (v *InstanceLikesEdgeFragmentNodeAuthor) MarshalJSON() ([]byte, error)
func (*InstanceLikesEdgeFragmentNodeAuthor) UnmarshalJSON ¶
func (v *InstanceLikesEdgeFragmentNodeAuthor) UnmarshalJSON(b []byte) error
type InstancePinInput ¶
type InstancePinInput struct {
Pinned bool `json:"pinned"`
}
func (*InstancePinInput) GetPinned ¶
func (v *InstancePinInput) GetPinned() bool
GetPinned returns InstancePinInput.Pinned, and is useful for accessing the field via an interface.
type InstanceReorderInput ¶
func (*InstanceReorderInput) GetPrevInstanceId ¶
func (v *InstanceReorderInput) GetPrevInstanceId() *uuid.UUID
GetPrevInstanceId returns InstanceReorderInput.PrevInstanceId, and is useful for accessing the field via an interface.
type InstanceResponse ¶
type InstanceResponse struct {
Instance InstanceInstanceUserInstancesEdge `json:"instance"`
}
InstanceResponse is returned by Instance on success.
func (*InstanceResponse) GetInstance ¶
func (v *InstanceResponse) GetInstance() InstanceInstanceUserInstancesEdge
GetInstance returns InstanceResponse.Instance, and is useful for accessing the field via an interface.
type InstanceUserListByIdsInstanceUserListByIdsAuthor ¶ added in v0.0.4
type InstanceUserListByIdsInstanceUserListByIdsAuthor struct {
AuthorFragment `json:"-"`
}
InstanceUserListByIdsInstanceUserListByIdsAuthor includes the requested fields of the GraphQL type Author.
func (*InstanceUserListByIdsInstanceUserListByIdsAuthor) GetAvatar ¶ added in v0.0.4
func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetAvatar() string
GetAvatar returns InstanceUserListByIdsInstanceUserListByIdsAuthor.Avatar, and is useful for accessing the field via an interface.
func (*InstanceUserListByIdsInstanceUserListByIdsAuthor) GetBio ¶ added in v0.0.4
func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetBio() string
GetBio returns InstanceUserListByIdsInstanceUserListByIdsAuthor.Bio, and is useful for accessing the field via an interface.
func (*InstanceUserListByIdsInstanceUserListByIdsAuthor) GetCreatedAt ¶ added in v0.0.4
func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetCreatedAt() time.Time
GetCreatedAt returns InstanceUserListByIdsInstanceUserListByIdsAuthor.CreatedAt, and is useful for accessing the field via an interface.
func (*InstanceUserListByIdsInstanceUserListByIdsAuthor) GetId ¶ added in v0.0.4
func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetId() uuid.UUID
GetId returns InstanceUserListByIdsInstanceUserListByIdsAuthor.Id, and is useful for accessing the field via an interface.
func (*InstanceUserListByIdsInstanceUserListByIdsAuthor) GetInstanceId ¶ added in v0.0.4
func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetInstanceId() uuid.UUID
GetInstanceId returns InstanceUserListByIdsInstanceUserListByIdsAuthor.InstanceId, and is useful for accessing the field via an interface.
func (*InstanceUserListByIdsInstanceUserListByIdsAuthor) GetName ¶ added in v0.0.4
func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetName() string
GetName returns InstanceUserListByIdsInstanceUserListByIdsAuthor.Name, and is useful for accessing the field via an interface.
func (*InstanceUserListByIdsInstanceUserListByIdsAuthor) GetRoles ¶ added in v0.0.4
func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetRoles() []Role
GetRoles returns InstanceUserListByIdsInstanceUserListByIdsAuthor.Roles, and is useful for accessing the field via an interface.
func (*InstanceUserListByIdsInstanceUserListByIdsAuthor) GetUserId ¶ added in v0.0.4
func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) GetUserId() uuid.UUID
GetUserId returns InstanceUserListByIdsInstanceUserListByIdsAuthor.UserId, and is useful for accessing the field via an interface.
func (*InstanceUserListByIdsInstanceUserListByIdsAuthor) MarshalJSON ¶ added in v0.0.4
func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) MarshalJSON() ([]byte, error)
func (*InstanceUserListByIdsInstanceUserListByIdsAuthor) UnmarshalJSON ¶ added in v0.0.4
func (v *InstanceUserListByIdsInstanceUserListByIdsAuthor) UnmarshalJSON(b []byte) error
type InstanceUserListByIdsResponse ¶ added in v0.0.4
type InstanceUserListByIdsResponse struct {
InstanceUserListByIds []InstanceUserListByIdsInstanceUserListByIdsAuthor `json:"instanceUserListByIds"`
}
InstanceUserListByIdsResponse is returned by InstanceUserListByIds on success.
func InstanceUserListByIds ¶ added in v0.0.4
func (*InstanceUserListByIdsResponse) GetInstanceUserListByIds ¶ added in v0.0.4
func (v *InstanceUserListByIdsResponse) GetInstanceUserListByIds() []InstanceUserListByIdsInstanceUserListByIdsAuthor
GetInstanceUserListByIds returns InstanceUserListByIdsResponse.InstanceUserListByIds, and is useful for accessing the field via an interface.
type InviteFragment ¶
type InviteFragment struct { Id uuid.UUID `json:"id"` InstanceId uuid.UUID `json:"instanceId"` Code string `json:"code"` CreatedAt time.Time `json:"createdAt"` ExpiresAt *time.Time `json:"expiresAt"` Redemptions *int `json:"redemptions"` Author InviteFragmentAuthor `json:"author"` }
InviteFragment includes the GraphQL fields of Invite requested by the fragment InviteFragment.
func (*InviteFragment) GetAuthor ¶
func (v *InviteFragment) GetAuthor() InviteFragmentAuthor
GetAuthor returns InviteFragment.Author, and is useful for accessing the field via an interface.
func (*InviteFragment) GetCode ¶
func (v *InviteFragment) GetCode() string
GetCode returns InviteFragment.Code, and is useful for accessing the field via an interface.
func (*InviteFragment) GetCreatedAt ¶
func (v *InviteFragment) GetCreatedAt() time.Time
GetCreatedAt returns InviteFragment.CreatedAt, and is useful for accessing the field via an interface.
func (*InviteFragment) GetExpiresAt ¶
func (v *InviteFragment) GetExpiresAt() *time.Time
GetExpiresAt returns InviteFragment.ExpiresAt, and is useful for accessing the field via an interface.
func (*InviteFragment) GetId ¶
func (v *InviteFragment) GetId() uuid.UUID
GetId returns InviteFragment.Id, and is useful for accessing the field via an interface.
func (*InviteFragment) GetInstanceId ¶
func (v *InviteFragment) GetInstanceId() uuid.UUID
GetInstanceId returns InviteFragment.InstanceId, and is useful for accessing the field via an interface.
func (*InviteFragment) GetRedemptions ¶
func (v *InviteFragment) GetRedemptions() *int
GetRedemptions returns InviteFragment.Redemptions, and is useful for accessing the field via an interface.
type InviteFragmentAuthor ¶
type InviteFragmentAuthor struct {
AuthorFragment `json:"-"`
}
InviteFragmentAuthor includes the requested fields of the GraphQL type Author.
func (*InviteFragmentAuthor) GetAvatar ¶
func (v *InviteFragmentAuthor) GetAvatar() string
GetAvatar returns InviteFragmentAuthor.Avatar, and is useful for accessing the field via an interface.
func (*InviteFragmentAuthor) GetBio ¶
func (v *InviteFragmentAuthor) GetBio() string
GetBio returns InviteFragmentAuthor.Bio, and is useful for accessing the field via an interface.
func (*InviteFragmentAuthor) GetCreatedAt ¶
func (v *InviteFragmentAuthor) GetCreatedAt() time.Time
GetCreatedAt returns InviteFragmentAuthor.CreatedAt, and is useful for accessing the field via an interface.
func (*InviteFragmentAuthor) GetId ¶
func (v *InviteFragmentAuthor) GetId() uuid.UUID
GetId returns InviteFragmentAuthor.Id, and is useful for accessing the field via an interface.
func (*InviteFragmentAuthor) GetInstanceId ¶
func (v *InviteFragmentAuthor) GetInstanceId() uuid.UUID
GetInstanceId returns InviteFragmentAuthor.InstanceId, and is useful for accessing the field via an interface.
func (*InviteFragmentAuthor) GetName ¶
func (v *InviteFragmentAuthor) GetName() string
GetName returns InviteFragmentAuthor.Name, and is useful for accessing the field via an interface.
func (*InviteFragmentAuthor) GetRoles ¶
func (v *InviteFragmentAuthor) GetRoles() []Role
GetRoles returns InviteFragmentAuthor.Roles, and is useful for accessing the field via an interface.
func (*InviteFragmentAuthor) GetUserId ¶
func (v *InviteFragmentAuthor) GetUserId() uuid.UUID
GetUserId returns InviteFragmentAuthor.UserId, and is useful for accessing the field via an interface.
func (*InviteFragmentAuthor) MarshalJSON ¶
func (v *InviteFragmentAuthor) MarshalJSON() ([]byte, error)
func (*InviteFragmentAuthor) UnmarshalJSON ¶
func (v *InviteFragmentAuthor) UnmarshalJSON(b []byte) error
type InviteInput ¶
type InviteInput struct { InstanceId uuid.UUID `json:"instanceId"` ExpiresAt *time.Time `json:"expiresAt"` Redemptions *int `json:"redemptions"` }
func (*InviteInput) GetExpiresAt ¶
func (v *InviteInput) GetExpiresAt() *time.Time
GetExpiresAt returns InviteInput.ExpiresAt, and is useful for accessing the field via an interface.
func (*InviteInput) GetInstanceId ¶
func (v *InviteInput) GetInstanceId() uuid.UUID
GetInstanceId returns InviteInput.InstanceId, and is useful for accessing the field via an interface.
func (*InviteInput) GetRedemptions ¶
func (v *InviteInput) GetRedemptions() *int
GetRedemptions returns InviteInput.Redemptions, and is useful for accessing the field via an interface.
type InviteInvite ¶
type InviteInvite struct {
InviteFragment `json:"-"`
}
InviteInvite includes the requested fields of the GraphQL type Invite.
func (*InviteInvite) GetAuthor ¶
func (v *InviteInvite) GetAuthor() InviteFragmentAuthor
GetAuthor returns InviteInvite.Author, and is useful for accessing the field via an interface.
func (*InviteInvite) GetCode ¶
func (v *InviteInvite) GetCode() string
GetCode returns InviteInvite.Code, and is useful for accessing the field via an interface.
func (*InviteInvite) GetCreatedAt ¶
func (v *InviteInvite) GetCreatedAt() time.Time
GetCreatedAt returns InviteInvite.CreatedAt, and is useful for accessing the field via an interface.
func (*InviteInvite) GetExpiresAt ¶
func (v *InviteInvite) GetExpiresAt() *time.Time
GetExpiresAt returns InviteInvite.ExpiresAt, and is useful for accessing the field via an interface.
func (*InviteInvite) GetId ¶
func (v *InviteInvite) GetId() uuid.UUID
GetId returns InviteInvite.Id, and is useful for accessing the field via an interface.
func (*InviteInvite) GetInstanceId ¶
func (v *InviteInvite) GetInstanceId() uuid.UUID
GetInstanceId returns InviteInvite.InstanceId, and is useful for accessing the field via an interface.
func (*InviteInvite) GetRedemptions ¶
func (v *InviteInvite) GetRedemptions() *int
GetRedemptions returns InviteInvite.Redemptions, and is useful for accessing the field via an interface.
func (*InviteInvite) MarshalJSON ¶
func (v *InviteInvite) MarshalJSON() ([]byte, error)
func (*InviteInvite) UnmarshalJSON ¶
func (v *InviteInvite) UnmarshalJSON(b []byte) error
type InviteResponse ¶
type InviteResponse struct {
Invite InviteInvite `json:"invite"`
}
InviteResponse is returned by Invite on success.
func (*InviteResponse) GetInvite ¶
func (v *InviteResponse) GetInvite() InviteInvite
GetInvite returns InviteResponse.Invite, and is useful for accessing the field via an interface.
type MessageFragment ¶
type MessageFragment struct { Id uuid.UUID `json:"id"` Author MessageFragmentAuthor `json:"author"` Text string `json:"text"` CreatedAt time.Time `json:"createdAt"` ChannelId uuid.UUID `json:"channelId"` RepliedMessage *MessageFragmentRepliedMessage `json:"repliedMessage"` ImageUrls []string `json:"imageUrls"` }
MessageFragment includes the GraphQL fields of Message requested by the fragment MessageFragment.
func (*MessageFragment) GetAuthor ¶
func (v *MessageFragment) GetAuthor() MessageFragmentAuthor
GetAuthor returns MessageFragment.Author, and is useful for accessing the field via an interface.
func (*MessageFragment) GetChannelId ¶
func (v *MessageFragment) GetChannelId() uuid.UUID
GetChannelId returns MessageFragment.ChannelId, and is useful for accessing the field via an interface.
func (*MessageFragment) GetCreatedAt ¶
func (v *MessageFragment) GetCreatedAt() time.Time
GetCreatedAt returns MessageFragment.CreatedAt, and is useful for accessing the field via an interface.
func (*MessageFragment) GetId ¶
func (v *MessageFragment) GetId() uuid.UUID
GetId returns MessageFragment.Id, and is useful for accessing the field via an interface.
func (*MessageFragment) GetImageUrls ¶ added in v0.0.4
func (v *MessageFragment) GetImageUrls() []string
GetImageUrls returns MessageFragment.ImageUrls, and is useful for accessing the field via an interface.
func (*MessageFragment) GetRepliedMessage ¶ added in v0.0.4
func (v *MessageFragment) GetRepliedMessage() *MessageFragmentRepliedMessage
GetRepliedMessage returns MessageFragment.RepliedMessage, and is useful for accessing the field via an interface.
func (*MessageFragment) GetText ¶
func (v *MessageFragment) GetText() string
GetText returns MessageFragment.Text, and is useful for accessing the field via an interface.
type MessageFragmentAuthor ¶
type MessageFragmentAuthor struct {
AuthorFragment `json:"-"`
}
MessageFragmentAuthor includes the requested fields of the GraphQL type Author.
func (*MessageFragmentAuthor) GetAvatar ¶
func (v *MessageFragmentAuthor) GetAvatar() string
GetAvatar returns MessageFragmentAuthor.Avatar, and is useful for accessing the field via an interface.
func (*MessageFragmentAuthor) GetBio ¶
func (v *MessageFragmentAuthor) GetBio() string
GetBio returns MessageFragmentAuthor.Bio, and is useful for accessing the field via an interface.
func (*MessageFragmentAuthor) GetCreatedAt ¶
func (v *MessageFragmentAuthor) GetCreatedAt() time.Time
GetCreatedAt returns MessageFragmentAuthor.CreatedAt, and is useful for accessing the field via an interface.
func (*MessageFragmentAuthor) GetId ¶
func (v *MessageFragmentAuthor) GetId() uuid.UUID
GetId returns MessageFragmentAuthor.Id, and is useful for accessing the field via an interface.
func (*MessageFragmentAuthor) GetInstanceId ¶
func (v *MessageFragmentAuthor) GetInstanceId() uuid.UUID
GetInstanceId returns MessageFragmentAuthor.InstanceId, and is useful for accessing the field via an interface.
func (*MessageFragmentAuthor) GetName ¶
func (v *MessageFragmentAuthor) GetName() string
GetName returns MessageFragmentAuthor.Name, and is useful for accessing the field via an interface.
func (*MessageFragmentAuthor) GetRoles ¶
func (v *MessageFragmentAuthor) GetRoles() []Role
GetRoles returns MessageFragmentAuthor.Roles, and is useful for accessing the field via an interface.
func (*MessageFragmentAuthor) GetUserId ¶
func (v *MessageFragmentAuthor) GetUserId() uuid.UUID
GetUserId returns MessageFragmentAuthor.UserId, and is useful for accessing the field via an interface.
func (*MessageFragmentAuthor) MarshalJSON ¶
func (v *MessageFragmentAuthor) MarshalJSON() ([]byte, error)
func (*MessageFragmentAuthor) UnmarshalJSON ¶
func (v *MessageFragmentAuthor) UnmarshalJSON(b []byte) error
type MessageFragmentRepliedMessage ¶ added in v0.0.4
type MessageFragmentRepliedMessage struct { Id uuid.UUID `json:"id"` Text string `json:"text"` CreatedAt time.Time `json:"createdAt"` ChannelId uuid.UUID `json:"channelId"` ImageUrls []string `json:"imageUrls"` }
MessageFragmentRepliedMessage includes the requested fields of the GraphQL type Message.
func (*MessageFragmentRepliedMessage) GetChannelId ¶ added in v0.0.4
func (v *MessageFragmentRepliedMessage) GetChannelId() uuid.UUID
GetChannelId returns MessageFragmentRepliedMessage.ChannelId, and is useful for accessing the field via an interface.
func (*MessageFragmentRepliedMessage) GetCreatedAt ¶ added in v0.0.4
func (v *MessageFragmentRepliedMessage) GetCreatedAt() time.Time
GetCreatedAt returns MessageFragmentRepliedMessage.CreatedAt, and is useful for accessing the field via an interface.
func (*MessageFragmentRepliedMessage) GetId ¶ added in v0.0.4
func (v *MessageFragmentRepliedMessage) GetId() uuid.UUID
GetId returns MessageFragmentRepliedMessage.Id, and is useful for accessing the field via an interface.
func (*MessageFragmentRepliedMessage) GetImageUrls ¶ added in v0.0.4
func (v *MessageFragmentRepliedMessage) GetImageUrls() []string
GetImageUrls returns MessageFragmentRepliedMessage.ImageUrls, and is useful for accessing the field via an interface.
func (*MessageFragmentRepliedMessage) GetText ¶ added in v0.0.4
func (v *MessageFragmentRepliedMessage) GetText() string
GetText returns MessageFragmentRepliedMessage.Text, and is useful for accessing the field via an interface.
type MessageInput ¶
type MessageInput struct { Text string `json:"text"` ChannelId uuid.UUID `json:"channelId"` RepliedMessageId *uuid.UUID `json:"repliedMessageId"` ImageUrls []string `json:"imageUrls"` }
func (*MessageInput) GetChannelId ¶
func (v *MessageInput) GetChannelId() uuid.UUID
GetChannelId returns MessageInput.ChannelId, and is useful for accessing the field via an interface.
func (*MessageInput) GetImageUrls ¶ added in v0.0.4
func (v *MessageInput) GetImageUrls() []string
GetImageUrls returns MessageInput.ImageUrls, and is useful for accessing the field via an interface.
func (*MessageInput) GetRepliedMessageId ¶ added in v0.0.4
func (v *MessageInput) GetRepliedMessageId() *uuid.UUID
GetRepliedMessageId returns MessageInput.RepliedMessageId, and is useful for accessing the field via an interface.
func (*MessageInput) GetText ¶
func (v *MessageInput) GetText() string
GetText returns MessageInput.Text, and is useful for accessing the field via an interface.
type NotificationFragment ¶
type NotificationFragment struct { Id uuid.UUID `json:"id"` Kind NotificationKind `json:"kind"` Author *NotificationFragmentAuthor `json:"author"` Instance *NotificationFragmentInstance `json:"instance"` Message *NotificationFragmentMessage `json:"message"` CreatedAt time.Time `json:"createdAt"` }
NotificationFragment includes the GraphQL fields of Notification requested by the fragment NotificationFragment.
func (*NotificationFragment) GetAuthor ¶
func (v *NotificationFragment) GetAuthor() *NotificationFragmentAuthor
GetAuthor returns NotificationFragment.Author, and is useful for accessing the field via an interface.
func (*NotificationFragment) GetCreatedAt ¶
func (v *NotificationFragment) GetCreatedAt() time.Time
GetCreatedAt returns NotificationFragment.CreatedAt, and is useful for accessing the field via an interface.
func (*NotificationFragment) GetId ¶
func (v *NotificationFragment) GetId() uuid.UUID
GetId returns NotificationFragment.Id, and is useful for accessing the field via an interface.
func (*NotificationFragment) GetInstance ¶
func (v *NotificationFragment) GetInstance() *NotificationFragmentInstance
GetInstance returns NotificationFragment.Instance, and is useful for accessing the field via an interface.
func (*NotificationFragment) GetKind ¶
func (v *NotificationFragment) GetKind() NotificationKind
GetKind returns NotificationFragment.Kind, and is useful for accessing the field via an interface.
func (*NotificationFragment) GetMessage ¶
func (v *NotificationFragment) GetMessage() *NotificationFragmentMessage
GetMessage returns NotificationFragment.Message, and is useful for accessing the field via an interface.
type NotificationFragmentAuthor ¶
type NotificationFragmentAuthor struct {
AuthorFragment `json:"-"`
}
NotificationFragmentAuthor includes the requested fields of the GraphQL type Author.
func (*NotificationFragmentAuthor) GetAvatar ¶
func (v *NotificationFragmentAuthor) GetAvatar() string
GetAvatar returns NotificationFragmentAuthor.Avatar, and is useful for accessing the field via an interface.
func (*NotificationFragmentAuthor) GetBio ¶
func (v *NotificationFragmentAuthor) GetBio() string
GetBio returns NotificationFragmentAuthor.Bio, and is useful for accessing the field via an interface.
func (*NotificationFragmentAuthor) GetCreatedAt ¶
func (v *NotificationFragmentAuthor) GetCreatedAt() time.Time
GetCreatedAt returns NotificationFragmentAuthor.CreatedAt, and is useful for accessing the field via an interface.
func (*NotificationFragmentAuthor) GetId ¶
func (v *NotificationFragmentAuthor) GetId() uuid.UUID
GetId returns NotificationFragmentAuthor.Id, and is useful for accessing the field via an interface.
func (*NotificationFragmentAuthor) GetInstanceId ¶
func (v *NotificationFragmentAuthor) GetInstanceId() uuid.UUID
GetInstanceId returns NotificationFragmentAuthor.InstanceId, and is useful for accessing the field via an interface.
func (*NotificationFragmentAuthor) GetName ¶
func (v *NotificationFragmentAuthor) GetName() string
GetName returns NotificationFragmentAuthor.Name, and is useful for accessing the field via an interface.
func (*NotificationFragmentAuthor) GetRoles ¶
func (v *NotificationFragmentAuthor) GetRoles() []Role
GetRoles returns NotificationFragmentAuthor.Roles, and is useful for accessing the field via an interface.
func (*NotificationFragmentAuthor) GetUserId ¶
func (v *NotificationFragmentAuthor) GetUserId() uuid.UUID
GetUserId returns NotificationFragmentAuthor.UserId, and is useful for accessing the field via an interface.
func (*NotificationFragmentAuthor) MarshalJSON ¶
func (v *NotificationFragmentAuthor) MarshalJSON() ([]byte, error)
func (*NotificationFragmentAuthor) UnmarshalJSON ¶
func (v *NotificationFragmentAuthor) UnmarshalJSON(b []byte) error
type NotificationFragmentInstance ¶
type NotificationFragmentInstance struct {
InstanceFragment `json:"-"`
}
NotificationFragmentInstance includes the requested fields of the GraphQL type Instance.
func (*NotificationFragmentInstance) GetAuthor ¶
func (v *NotificationFragmentInstance) GetAuthor() InstanceFragmentAuthor
GetAuthor returns NotificationFragmentInstance.Author, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetAuthorsConnection ¶
func (v *NotificationFragmentInstance) GetAuthorsConnection() InstanceFragmentAuthorsConnectionInstanceAuthorsConnection
GetAuthorsConnection returns NotificationFragmentInstance.AuthorsConnection, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetChannelsConnection ¶
func (v *NotificationFragmentInstance) GetChannelsConnection() InstanceFragmentChannelsConnectionInstanceChannelsConnection
GetChannelsConnection returns NotificationFragmentInstance.ChannelsConnection, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetCommentsCount ¶
func (v *NotificationFragmentInstance) GetCommentsCount() int
GetCommentsCount returns NotificationFragmentInstance.CommentsCount, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetCreatedAt ¶
func (v *NotificationFragmentInstance) GetCreatedAt() time.Time
GetCreatedAt returns NotificationFragmentInstance.CreatedAt, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetDescription ¶
func (v *NotificationFragmentInstance) GetDescription() string
GetDescription returns NotificationFragmentInstance.Description, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetIcon ¶
func (v *NotificationFragmentInstance) GetIcon() string
GetIcon returns NotificationFragmentInstance.Icon, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetId ¶
func (v *NotificationFragmentInstance) GetId() uuid.UUID
GetId returns NotificationFragmentInstance.Id, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetLikesConnection ¶
func (v *NotificationFragmentInstance) GetLikesConnection() InstanceFragmentLikesConnectionInstanceLikesConnection
GetLikesConnection returns NotificationFragmentInstance.LikesConnection, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetLikesCount ¶
func (v *NotificationFragmentInstance) GetLikesCount() int
GetLikesCount returns NotificationFragmentInstance.LikesCount, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetName ¶
func (v *NotificationFragmentInstance) GetName() string
GetName returns NotificationFragmentInstance.Name, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetReadAccess ¶
func (v *NotificationFragmentInstance) GetReadAccess() Access
GetReadAccess returns NotificationFragmentInstance.ReadAccess, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetShowAuthor ¶
func (v *NotificationFragmentInstance) GetShowAuthor() bool
GetShowAuthor returns NotificationFragmentInstance.ShowAuthor, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetShowChat ¶
func (v *NotificationFragmentInstance) GetShowChat() bool
GetShowChat returns NotificationFragmentInstance.ShowChat, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetShowComments ¶
func (v *NotificationFragmentInstance) GetShowComments() bool
GetShowComments returns NotificationFragmentInstance.ShowComments, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) GetShowLikes ¶
func (v *NotificationFragmentInstance) GetShowLikes() bool
GetShowLikes returns NotificationFragmentInstance.ShowLikes, and is useful for accessing the field via an interface.
func (*NotificationFragmentInstance) MarshalJSON ¶
func (v *NotificationFragmentInstance) MarshalJSON() ([]byte, error)
func (*NotificationFragmentInstance) UnmarshalJSON ¶
func (v *NotificationFragmentInstance) UnmarshalJSON(b []byte) error
type NotificationFragmentMessage ¶
type NotificationFragmentMessage struct {
MessageFragment `json:"-"`
}
NotificationFragmentMessage includes the requested fields of the GraphQL type Message.
func (*NotificationFragmentMessage) GetAuthor ¶
func (v *NotificationFragmentMessage) GetAuthor() MessageFragmentAuthor
GetAuthor returns NotificationFragmentMessage.Author, and is useful for accessing the field via an interface.
func (*NotificationFragmentMessage) GetChannelId ¶
func (v *NotificationFragmentMessage) GetChannelId() uuid.UUID
GetChannelId returns NotificationFragmentMessage.ChannelId, and is useful for accessing the field via an interface.
func (*NotificationFragmentMessage) GetCreatedAt ¶
func (v *NotificationFragmentMessage) GetCreatedAt() time.Time
GetCreatedAt returns NotificationFragmentMessage.CreatedAt, and is useful for accessing the field via an interface.
func (*NotificationFragmentMessage) GetId ¶
func (v *NotificationFragmentMessage) GetId() uuid.UUID
GetId returns NotificationFragmentMessage.Id, and is useful for accessing the field via an interface.
func (*NotificationFragmentMessage) GetImageUrls ¶ added in v0.0.4
func (v *NotificationFragmentMessage) GetImageUrls() []string
GetImageUrls returns NotificationFragmentMessage.ImageUrls, and is useful for accessing the field via an interface.
func (*NotificationFragmentMessage) GetRepliedMessage ¶ added in v0.0.4
func (v *NotificationFragmentMessage) GetRepliedMessage() *MessageFragmentRepliedMessage
GetRepliedMessage returns NotificationFragmentMessage.RepliedMessage, and is useful for accessing the field via an interface.
func (*NotificationFragmentMessage) GetText ¶
func (v *NotificationFragmentMessage) GetText() string
GetText returns NotificationFragmentMessage.Text, and is useful for accessing the field via an interface.
func (*NotificationFragmentMessage) MarshalJSON ¶
func (v *NotificationFragmentMessage) MarshalJSON() ([]byte, error)
func (*NotificationFragmentMessage) UnmarshalJSON ¶
func (v *NotificationFragmentMessage) UnmarshalJSON(b []byte) error
type NotificationKind ¶
type NotificationKind string
const ( NotificationKindLikeAdded NotificationKind = "LIKE_ADDED" NotificationKindCommentAdded NotificationKind = "COMMENT_ADDED" NotificationKindReplyAdded NotificationKind = "REPLY_ADDED" NotificationKindBadgeAdded NotificationKind = "BADGE_ADDED" )
type PageInfoFragment ¶
type PageInfoFragment struct { HasNextPage bool `json:"hasNextPage"` HasPreviousPage bool `json:"hasPreviousPage"` }
PageInfoFragment includes the GraphQL fields of PageInfo requested by the fragment PageInfoFragment.
func (*PageInfoFragment) GetHasNextPage ¶
func (v *PageInfoFragment) GetHasNextPage() bool
GetHasNextPage returns PageInfoFragment.HasNextPage, and is useful for accessing the field via an interface.
func (*PageInfoFragment) GetHasPreviousPage ¶
func (v *PageInfoFragment) GetHasPreviousPage() bool
GetHasPreviousPage returns PageInfoFragment.HasPreviousPage, and is useful for accessing the field via an interface.
type PinInstancePinInstanceUserInstancesEdge ¶
type PinInstancePinInstanceUserInstancesEdge struct {
UserInstancesEdgeFragment `json:"-"`
}
PinInstancePinInstanceUserInstancesEdge includes the requested fields of the GraphQL type UserInstancesEdge.
func (*PinInstancePinInstanceUserInstancesEdge) GetCursor ¶
func (v *PinInstancePinInstanceUserInstancesEdge) GetCursor() string
GetCursor returns PinInstancePinInstanceUserInstancesEdge.Cursor, and is useful for accessing the field via an interface.
func (*PinInstancePinInstanceUserInstancesEdge) GetInstanceUser ¶
func (v *PinInstancePinInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
GetInstanceUser returns PinInstancePinInstanceUserInstancesEdge.InstanceUser, and is useful for accessing the field via an interface.
func (*PinInstancePinInstanceUserInstancesEdge) GetLikedByMe ¶
func (v *PinInstancePinInstanceUserInstancesEdge) GetLikedByMe() bool
GetLikedByMe returns PinInstancePinInstanceUserInstancesEdge.LikedByMe, and is useful for accessing the field via an interface.
func (*PinInstancePinInstanceUserInstancesEdge) GetNode ¶
func (v *PinInstancePinInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
GetNode returns PinInstancePinInstanceUserInstancesEdge.Node, and is useful for accessing the field via an interface.
func (*PinInstancePinInstanceUserInstancesEdge) GetPinned ¶
func (v *PinInstancePinInstanceUserInstancesEdge) GetPinned() bool
GetPinned returns PinInstancePinInstanceUserInstancesEdge.Pinned, and is useful for accessing the field via an interface.
func (*PinInstancePinInstanceUserInstancesEdge) GetRank ¶
func (v *PinInstancePinInstanceUserInstancesEdge) GetRank() string
GetRank returns PinInstancePinInstanceUserInstancesEdge.Rank, and is useful for accessing the field via an interface.
func (*PinInstancePinInstanceUserInstancesEdge) MarshalJSON ¶
func (v *PinInstancePinInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
func (*PinInstancePinInstanceUserInstancesEdge) UnmarshalJSON ¶
func (v *PinInstancePinInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
type PinInstanceResponse ¶
type PinInstanceResponse struct {
PinInstance PinInstancePinInstanceUserInstancesEdge `json:"pinInstance"`
}
PinInstanceResponse is returned by PinInstance on success.
func PinInstance ¶
func PinInstance( ctx context.Context, client graphql.Client, input InstancePinInput, instanceId uuid.UUID, channelsFirst int, channelsAfter string, likesFirst int, likesAfter string, authorsFirst int, authorsAfter string, authorsRoles []Role, messagesLast int, messagesBefore string, ) (*PinInstanceResponse, error)
func (*PinInstanceResponse) GetPinInstance ¶
func (v *PinInstanceResponse) GetPinInstance() PinInstancePinInstanceUserInstancesEdge
GetPinInstance returns PinInstanceResponse.PinInstance, and is useful for accessing the field via an interface.
type RedeemInviteRedeemInvite ¶
type RedeemInviteRedeemInvite struct {
InviteFragment `json:"-"`
}
RedeemInviteRedeemInvite includes the requested fields of the GraphQL type Invite.
func (*RedeemInviteRedeemInvite) GetAuthor ¶
func (v *RedeemInviteRedeemInvite) GetAuthor() InviteFragmentAuthor
GetAuthor returns RedeemInviteRedeemInvite.Author, and is useful for accessing the field via an interface.
func (*RedeemInviteRedeemInvite) GetCode ¶
func (v *RedeemInviteRedeemInvite) GetCode() string
GetCode returns RedeemInviteRedeemInvite.Code, and is useful for accessing the field via an interface.
func (*RedeemInviteRedeemInvite) GetCreatedAt ¶
func (v *RedeemInviteRedeemInvite) GetCreatedAt() time.Time
GetCreatedAt returns RedeemInviteRedeemInvite.CreatedAt, and is useful for accessing the field via an interface.
func (*RedeemInviteRedeemInvite) GetExpiresAt ¶
func (v *RedeemInviteRedeemInvite) GetExpiresAt() *time.Time
GetExpiresAt returns RedeemInviteRedeemInvite.ExpiresAt, and is useful for accessing the field via an interface.
func (*RedeemInviteRedeemInvite) GetId ¶
func (v *RedeemInviteRedeemInvite) GetId() uuid.UUID
GetId returns RedeemInviteRedeemInvite.Id, and is useful for accessing the field via an interface.
func (*RedeemInviteRedeemInvite) GetInstanceId ¶
func (v *RedeemInviteRedeemInvite) GetInstanceId() uuid.UUID
GetInstanceId returns RedeemInviteRedeemInvite.InstanceId, and is useful for accessing the field via an interface.
func (*RedeemInviteRedeemInvite) GetRedemptions ¶
func (v *RedeemInviteRedeemInvite) GetRedemptions() *int
GetRedemptions returns RedeemInviteRedeemInvite.Redemptions, and is useful for accessing the field via an interface.
func (*RedeemInviteRedeemInvite) MarshalJSON ¶
func (v *RedeemInviteRedeemInvite) MarshalJSON() ([]byte, error)
func (*RedeemInviteRedeemInvite) UnmarshalJSON ¶
func (v *RedeemInviteRedeemInvite) UnmarshalJSON(b []byte) error
type RedeemInviteResponse ¶
type RedeemInviteResponse struct {
RedeemInvite RedeemInviteRedeemInvite `json:"redeemInvite"`
}
RedeemInviteResponse is returned by RedeemInvite on success.
func RedeemInvite ¶
func (*RedeemInviteResponse) GetRedeemInvite ¶
func (v *RedeemInviteResponse) GetRedeemInvite() RedeemInviteRedeemInvite
GetRedeemInvite returns RedeemInviteResponse.RedeemInvite, and is useful for accessing the field via an interface.
type RemoveChannelRemoveChannelInstanceChannelsEdge ¶
type RemoveChannelRemoveChannelInstanceChannelsEdge struct {
InstanceChannelsEdgeFragment `json:"-"`
}
RemoveChannelRemoveChannelInstanceChannelsEdge includes the requested fields of the GraphQL type InstanceChannelsEdge.
func (*RemoveChannelRemoveChannelInstanceChannelsEdge) GetCursor ¶
func (v *RemoveChannelRemoveChannelInstanceChannelsEdge) GetCursor() string
GetCursor returns RemoveChannelRemoveChannelInstanceChannelsEdge.Cursor, and is useful for accessing the field via an interface.
func (*RemoveChannelRemoveChannelInstanceChannelsEdge) GetNode ¶
func (v *RemoveChannelRemoveChannelInstanceChannelsEdge) GetNode() InstanceChannelsEdgeFragmentNodeChannel
GetNode returns RemoveChannelRemoveChannelInstanceChannelsEdge.Node, and is useful for accessing the field via an interface.
func (*RemoveChannelRemoveChannelInstanceChannelsEdge) MarshalJSON ¶
func (v *RemoveChannelRemoveChannelInstanceChannelsEdge) MarshalJSON() ([]byte, error)
func (*RemoveChannelRemoveChannelInstanceChannelsEdge) UnmarshalJSON ¶
func (v *RemoveChannelRemoveChannelInstanceChannelsEdge) UnmarshalJSON(b []byte) error
type RemoveChannelResponse ¶
type RemoveChannelResponse struct {
RemoveChannel RemoveChannelRemoveChannelInstanceChannelsEdge `json:"removeChannel"`
}
RemoveChannelResponse is returned by RemoveChannel on success.
func RemoveChannel ¶
func (*RemoveChannelResponse) GetRemoveChannel ¶
func (v *RemoveChannelResponse) GetRemoveChannel() RemoveChannelRemoveChannelInstanceChannelsEdge
GetRemoveChannel returns RemoveChannelResponse.RemoveChannel, and is useful for accessing the field via an interface.
type RemoveInstanceRemoveInstanceUserInstancesEdge ¶
type RemoveInstanceRemoveInstanceUserInstancesEdge struct {
UserInstancesEdgeFragment `json:"-"`
}
RemoveInstanceRemoveInstanceUserInstancesEdge includes the requested fields of the GraphQL type UserInstancesEdge.
func (*RemoveInstanceRemoveInstanceUserInstancesEdge) GetCursor ¶
func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetCursor() string
GetCursor returns RemoveInstanceRemoveInstanceUserInstancesEdge.Cursor, and is useful for accessing the field via an interface.
func (*RemoveInstanceRemoveInstanceUserInstancesEdge) GetInstanceUser ¶
func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
GetInstanceUser returns RemoveInstanceRemoveInstanceUserInstancesEdge.InstanceUser, and is useful for accessing the field via an interface.
func (*RemoveInstanceRemoveInstanceUserInstancesEdge) GetLikedByMe ¶
func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetLikedByMe() bool
GetLikedByMe returns RemoveInstanceRemoveInstanceUserInstancesEdge.LikedByMe, and is useful for accessing the field via an interface.
func (*RemoveInstanceRemoveInstanceUserInstancesEdge) GetNode ¶
func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
GetNode returns RemoveInstanceRemoveInstanceUserInstancesEdge.Node, and is useful for accessing the field via an interface.
func (*RemoveInstanceRemoveInstanceUserInstancesEdge) GetPinned ¶
func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetPinned() bool
GetPinned returns RemoveInstanceRemoveInstanceUserInstancesEdge.Pinned, and is useful for accessing the field via an interface.
func (*RemoveInstanceRemoveInstanceUserInstancesEdge) GetRank ¶
func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) GetRank() string
GetRank returns RemoveInstanceRemoveInstanceUserInstancesEdge.Rank, and is useful for accessing the field via an interface.
func (*RemoveInstanceRemoveInstanceUserInstancesEdge) MarshalJSON ¶
func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
func (*RemoveInstanceRemoveInstanceUserInstancesEdge) UnmarshalJSON ¶
func (v *RemoveInstanceRemoveInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
type RemoveInstanceResponse ¶
type RemoveInstanceResponse struct {
RemoveInstance RemoveInstanceRemoveInstanceUserInstancesEdge `json:"removeInstance"`
}
RemoveInstanceResponse is returned by RemoveInstance on success.
func RemoveInstance ¶
func (*RemoveInstanceResponse) GetRemoveInstance ¶
func (v *RemoveInstanceResponse) GetRemoveInstance() RemoveInstanceRemoveInstanceUserInstancesEdge
GetRemoveInstance returns RemoveInstanceResponse.RemoveInstance, and is useful for accessing the field via an interface.
type RemoveLikeRemoveLikeInstanceLikesEdge ¶
type RemoveLikeRemoveLikeInstanceLikesEdge struct {
InstanceLikesEdgeFragment `json:"-"`
}
RemoveLikeRemoveLikeInstanceLikesEdge includes the requested fields of the GraphQL type InstanceLikesEdge.
func (*RemoveLikeRemoveLikeInstanceLikesEdge) GetCursor ¶
func (v *RemoveLikeRemoveLikeInstanceLikesEdge) GetCursor() string
GetCursor returns RemoveLikeRemoveLikeInstanceLikesEdge.Cursor, and is useful for accessing the field via an interface.
func (*RemoveLikeRemoveLikeInstanceLikesEdge) GetLikedAt ¶
func (v *RemoveLikeRemoveLikeInstanceLikesEdge) GetLikedAt() time.Time
GetLikedAt returns RemoveLikeRemoveLikeInstanceLikesEdge.LikedAt, and is useful for accessing the field via an interface.
func (*RemoveLikeRemoveLikeInstanceLikesEdge) GetNode ¶
func (v *RemoveLikeRemoveLikeInstanceLikesEdge) GetNode() InstanceLikesEdgeFragmentNodeAuthor
GetNode returns RemoveLikeRemoveLikeInstanceLikesEdge.Node, and is useful for accessing the field via an interface.
func (*RemoveLikeRemoveLikeInstanceLikesEdge) MarshalJSON ¶
func (v *RemoveLikeRemoveLikeInstanceLikesEdge) MarshalJSON() ([]byte, error)
func (*RemoveLikeRemoveLikeInstanceLikesEdge) UnmarshalJSON ¶
func (v *RemoveLikeRemoveLikeInstanceLikesEdge) UnmarshalJSON(b []byte) error
type RemoveLikeResponse ¶
type RemoveLikeResponse struct {
RemoveLike RemoveLikeRemoveLikeInstanceLikesEdge `json:"removeLike"`
}
RemoveLikeResponse is returned by RemoveLike on success.
func RemoveLike ¶
func (*RemoveLikeResponse) GetRemoveLike ¶
func (v *RemoveLikeResponse) GetRemoveLike() RemoveLikeRemoveLikeInstanceLikesEdge
GetRemoveLike returns RemoveLikeResponse.RemoveLike, and is useful for accessing the field via an interface.
type RemoveMessageRemoveMessageChannelMessagesEdge ¶
type RemoveMessageRemoveMessageChannelMessagesEdge struct {
ChannelMessagesEdgeFragment `json:"-"`
}
RemoveMessageRemoveMessageChannelMessagesEdge includes the requested fields of the GraphQL type ChannelMessagesEdge.
func (*RemoveMessageRemoveMessageChannelMessagesEdge) GetCursor ¶
func (v *RemoveMessageRemoveMessageChannelMessagesEdge) GetCursor() string
GetCursor returns RemoveMessageRemoveMessageChannelMessagesEdge.Cursor, and is useful for accessing the field via an interface.
func (*RemoveMessageRemoveMessageChannelMessagesEdge) GetNode ¶
func (v *RemoveMessageRemoveMessageChannelMessagesEdge) GetNode() ChannelMessagesEdgeFragmentNodeMessage
GetNode returns RemoveMessageRemoveMessageChannelMessagesEdge.Node, and is useful for accessing the field via an interface.
func (*RemoveMessageRemoveMessageChannelMessagesEdge) MarshalJSON ¶
func (v *RemoveMessageRemoveMessageChannelMessagesEdge) MarshalJSON() ([]byte, error)
func (*RemoveMessageRemoveMessageChannelMessagesEdge) UnmarshalJSON ¶
func (v *RemoveMessageRemoveMessageChannelMessagesEdge) UnmarshalJSON(b []byte) error
type RemoveMessageResponse ¶
type RemoveMessageResponse struct {
RemoveMessage RemoveMessageRemoveMessageChannelMessagesEdge `json:"removeMessage"`
}
RemoveMessageResponse is returned by RemoveMessage on success.
func RemoveMessage ¶
func (*RemoveMessageResponse) GetRemoveMessage ¶
func (v *RemoveMessageResponse) GetRemoveMessage() RemoveMessageRemoveMessageChannelMessagesEdge
GetRemoveMessage returns RemoveMessageResponse.RemoveMessage, and is useful for accessing the field via an interface.
type RemoveRoleRemoveRoleAuthor ¶
type RemoveRoleRemoveRoleAuthor struct {
AuthorFragment `json:"-"`
}
RemoveRoleRemoveRoleAuthor includes the requested fields of the GraphQL type Author.
func (*RemoveRoleRemoveRoleAuthor) GetAvatar ¶
func (v *RemoveRoleRemoveRoleAuthor) GetAvatar() string
GetAvatar returns RemoveRoleRemoveRoleAuthor.Avatar, and is useful for accessing the field via an interface.
func (*RemoveRoleRemoveRoleAuthor) GetBio ¶
func (v *RemoveRoleRemoveRoleAuthor) GetBio() string
GetBio returns RemoveRoleRemoveRoleAuthor.Bio, and is useful for accessing the field via an interface.
func (*RemoveRoleRemoveRoleAuthor) GetCreatedAt ¶
func (v *RemoveRoleRemoveRoleAuthor) GetCreatedAt() time.Time
GetCreatedAt returns RemoveRoleRemoveRoleAuthor.CreatedAt, and is useful for accessing the field via an interface.
func (*RemoveRoleRemoveRoleAuthor) GetId ¶
func (v *RemoveRoleRemoveRoleAuthor) GetId() uuid.UUID
GetId returns RemoveRoleRemoveRoleAuthor.Id, and is useful for accessing the field via an interface.
func (*RemoveRoleRemoveRoleAuthor) GetInstanceId ¶
func (v *RemoveRoleRemoveRoleAuthor) GetInstanceId() uuid.UUID
GetInstanceId returns RemoveRoleRemoveRoleAuthor.InstanceId, and is useful for accessing the field via an interface.
func (*RemoveRoleRemoveRoleAuthor) GetName ¶
func (v *RemoveRoleRemoveRoleAuthor) GetName() string
GetName returns RemoveRoleRemoveRoleAuthor.Name, and is useful for accessing the field via an interface.
func (*RemoveRoleRemoveRoleAuthor) GetRoles ¶
func (v *RemoveRoleRemoveRoleAuthor) GetRoles() []Role
GetRoles returns RemoveRoleRemoveRoleAuthor.Roles, and is useful for accessing the field via an interface.
func (*RemoveRoleRemoveRoleAuthor) GetUserId ¶
func (v *RemoveRoleRemoveRoleAuthor) GetUserId() uuid.UUID
GetUserId returns RemoveRoleRemoveRoleAuthor.UserId, and is useful for accessing the field via an interface.
func (*RemoveRoleRemoveRoleAuthor) MarshalJSON ¶
func (v *RemoveRoleRemoveRoleAuthor) MarshalJSON() ([]byte, error)
func (*RemoveRoleRemoveRoleAuthor) UnmarshalJSON ¶
func (v *RemoveRoleRemoveRoleAuthor) UnmarshalJSON(b []byte) error
type RemoveRoleResponse ¶
type RemoveRoleResponse struct {
RemoveRole RemoveRoleRemoveRoleAuthor `json:"removeRole"`
}
RemoveRoleResponse is returned by RemoveRole on success.
func RemoveRole ¶
func (*RemoveRoleResponse) GetRemoveRole ¶
func (v *RemoveRoleResponse) GetRemoveRole() RemoveRoleRemoveRoleAuthor
GetRemoveRole returns RemoveRoleResponse.RemoveRole, and is useful for accessing the field via an interface.
type ReorderChannelReorderChannelInstanceChannelsEdge ¶
type ReorderChannelReorderChannelInstanceChannelsEdge struct {
InstanceChannelsEdgeFragment `json:"-"`
}
ReorderChannelReorderChannelInstanceChannelsEdge includes the requested fields of the GraphQL type InstanceChannelsEdge.
func (*ReorderChannelReorderChannelInstanceChannelsEdge) GetCursor ¶
func (v *ReorderChannelReorderChannelInstanceChannelsEdge) GetCursor() string
GetCursor returns ReorderChannelReorderChannelInstanceChannelsEdge.Cursor, and is useful for accessing the field via an interface.
func (*ReorderChannelReorderChannelInstanceChannelsEdge) GetNode ¶
func (v *ReorderChannelReorderChannelInstanceChannelsEdge) GetNode() InstanceChannelsEdgeFragmentNodeChannel
GetNode returns ReorderChannelReorderChannelInstanceChannelsEdge.Node, and is useful for accessing the field via an interface.
func (*ReorderChannelReorderChannelInstanceChannelsEdge) MarshalJSON ¶
func (v *ReorderChannelReorderChannelInstanceChannelsEdge) MarshalJSON() ([]byte, error)
func (*ReorderChannelReorderChannelInstanceChannelsEdge) UnmarshalJSON ¶
func (v *ReorderChannelReorderChannelInstanceChannelsEdge) UnmarshalJSON(b []byte) error
type ReorderChannelResponse ¶
type ReorderChannelResponse struct {
ReorderChannel ReorderChannelReorderChannelInstanceChannelsEdge `json:"reorderChannel"`
}
ReorderChannelResponse is returned by ReorderChannel on success.
func ReorderChannel ¶
func (*ReorderChannelResponse) GetReorderChannel ¶
func (v *ReorderChannelResponse) GetReorderChannel() ReorderChannelReorderChannelInstanceChannelsEdge
GetReorderChannel returns ReorderChannelResponse.ReorderChannel, and is useful for accessing the field via an interface.
type ReorderInstanceReorderInstanceUserInstancesEdge ¶
type ReorderInstanceReorderInstanceUserInstancesEdge struct {
UserInstancesEdgeFragment `json:"-"`
}
ReorderInstanceReorderInstanceUserInstancesEdge includes the requested fields of the GraphQL type UserInstancesEdge.
func (*ReorderInstanceReorderInstanceUserInstancesEdge) GetCursor ¶
func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetCursor() string
GetCursor returns ReorderInstanceReorderInstanceUserInstancesEdge.Cursor, and is useful for accessing the field via an interface.
func (*ReorderInstanceReorderInstanceUserInstancesEdge) GetInstanceUser ¶
func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
GetInstanceUser returns ReorderInstanceReorderInstanceUserInstancesEdge.InstanceUser, and is useful for accessing the field via an interface.
func (*ReorderInstanceReorderInstanceUserInstancesEdge) GetLikedByMe ¶
func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetLikedByMe() bool
GetLikedByMe returns ReorderInstanceReorderInstanceUserInstancesEdge.LikedByMe, and is useful for accessing the field via an interface.
func (*ReorderInstanceReorderInstanceUserInstancesEdge) GetNode ¶
func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
GetNode returns ReorderInstanceReorderInstanceUserInstancesEdge.Node, and is useful for accessing the field via an interface.
func (*ReorderInstanceReorderInstanceUserInstancesEdge) GetPinned ¶
func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetPinned() bool
GetPinned returns ReorderInstanceReorderInstanceUserInstancesEdge.Pinned, and is useful for accessing the field via an interface.
func (*ReorderInstanceReorderInstanceUserInstancesEdge) GetRank ¶
func (v *ReorderInstanceReorderInstanceUserInstancesEdge) GetRank() string
GetRank returns ReorderInstanceReorderInstanceUserInstancesEdge.Rank, and is useful for accessing the field via an interface.
func (*ReorderInstanceReorderInstanceUserInstancesEdge) MarshalJSON ¶
func (v *ReorderInstanceReorderInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
func (*ReorderInstanceReorderInstanceUserInstancesEdge) UnmarshalJSON ¶
func (v *ReorderInstanceReorderInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
type ReorderInstanceResponse ¶
type ReorderInstanceResponse struct {
ReorderInstance ReorderInstanceReorderInstanceUserInstancesEdge `json:"reorderInstance"`
}
ReorderInstanceResponse is returned by ReorderInstance on success.
func ReorderInstance ¶
func ReorderInstance( ctx context.Context, client graphql.Client, input InstanceReorderInput, instanceId uuid.UUID, channelsFirst int, channelsAfter string, likesFirst int, likesAfter string, authorsFirst int, authorsAfter string, authorsRoles []Role, messagesLast int, messagesBefore string, ) (*ReorderInstanceResponse, error)
func (*ReorderInstanceResponse) GetReorderInstance ¶
func (v *ReorderInstanceResponse) GetReorderInstance() ReorderInstanceReorderInstanceUserInstancesEdge
GetReorderInstance returns ReorderInstanceResponse.ReorderInstance, and is useful for accessing the field via an interface.
type UpdateChannelResponse ¶
type UpdateChannelResponse struct {
UpdateChannel UpdateChannelUpdateChannelInstanceChannelsEdge `json:"updateChannel"`
}
UpdateChannelResponse is returned by UpdateChannel on success.
func UpdateChannel ¶
func (*UpdateChannelResponse) GetUpdateChannel ¶
func (v *UpdateChannelResponse) GetUpdateChannel() UpdateChannelUpdateChannelInstanceChannelsEdge
GetUpdateChannel returns UpdateChannelResponse.UpdateChannel, and is useful for accessing the field via an interface.
type UpdateChannelUpdateChannelInstanceChannelsEdge ¶
type UpdateChannelUpdateChannelInstanceChannelsEdge struct {
InstanceChannelsEdgeFragment `json:"-"`
}
UpdateChannelUpdateChannelInstanceChannelsEdge includes the requested fields of the GraphQL type InstanceChannelsEdge.
func (*UpdateChannelUpdateChannelInstanceChannelsEdge) GetCursor ¶
func (v *UpdateChannelUpdateChannelInstanceChannelsEdge) GetCursor() string
GetCursor returns UpdateChannelUpdateChannelInstanceChannelsEdge.Cursor, and is useful for accessing the field via an interface.
func (*UpdateChannelUpdateChannelInstanceChannelsEdge) GetNode ¶
func (v *UpdateChannelUpdateChannelInstanceChannelsEdge) GetNode() InstanceChannelsEdgeFragmentNodeChannel
GetNode returns UpdateChannelUpdateChannelInstanceChannelsEdge.Node, and is useful for accessing the field via an interface.
func (*UpdateChannelUpdateChannelInstanceChannelsEdge) MarshalJSON ¶
func (v *UpdateChannelUpdateChannelInstanceChannelsEdge) MarshalJSON() ([]byte, error)
func (*UpdateChannelUpdateChannelInstanceChannelsEdge) UnmarshalJSON ¶
func (v *UpdateChannelUpdateChannelInstanceChannelsEdge) UnmarshalJSON(b []byte) error
type UpdateInstanceResponse ¶
type UpdateInstanceResponse struct {
UpdateInstance UpdateInstanceUpdateInstanceUserInstancesEdge `json:"updateInstance"`
}
UpdateInstanceResponse is returned by UpdateInstance on success.
func UpdateInstance ¶
func UpdateInstance( ctx context.Context, client graphql.Client, instanceId uuid.UUID, input InstanceInput, channelsFirst int, channelsAfter string, likesFirst int, likesAfter string, authorsFirst int, authorsAfter string, authorsRoles []Role, messagesLast int, messagesBefore string, ) (*UpdateInstanceResponse, error)
func (*UpdateInstanceResponse) GetUpdateInstance ¶
func (v *UpdateInstanceResponse) GetUpdateInstance() UpdateInstanceUpdateInstanceUserInstancesEdge
GetUpdateInstance returns UpdateInstanceResponse.UpdateInstance, and is useful for accessing the field via an interface.
type UpdateInstanceUpdateInstanceUserInstancesEdge ¶
type UpdateInstanceUpdateInstanceUserInstancesEdge struct {
UserInstancesEdgeFragment `json:"-"`
}
UpdateInstanceUpdateInstanceUserInstancesEdge includes the requested fields of the GraphQL type UserInstancesEdge.
func (*UpdateInstanceUpdateInstanceUserInstancesEdge) GetCursor ¶
func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetCursor() string
GetCursor returns UpdateInstanceUpdateInstanceUserInstancesEdge.Cursor, and is useful for accessing the field via an interface.
func (*UpdateInstanceUpdateInstanceUserInstancesEdge) GetInstanceUser ¶
func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
GetInstanceUser returns UpdateInstanceUpdateInstanceUserInstancesEdge.InstanceUser, and is useful for accessing the field via an interface.
func (*UpdateInstanceUpdateInstanceUserInstancesEdge) GetLikedByMe ¶
func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetLikedByMe() bool
GetLikedByMe returns UpdateInstanceUpdateInstanceUserInstancesEdge.LikedByMe, and is useful for accessing the field via an interface.
func (*UpdateInstanceUpdateInstanceUserInstancesEdge) GetNode ¶
func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
GetNode returns UpdateInstanceUpdateInstanceUserInstancesEdge.Node, and is useful for accessing the field via an interface.
func (*UpdateInstanceUpdateInstanceUserInstancesEdge) GetPinned ¶
func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetPinned() bool
GetPinned returns UpdateInstanceUpdateInstanceUserInstancesEdge.Pinned, and is useful for accessing the field via an interface.
func (*UpdateInstanceUpdateInstanceUserInstancesEdge) GetRank ¶
func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) GetRank() string
GetRank returns UpdateInstanceUpdateInstanceUserInstancesEdge.Rank, and is useful for accessing the field via an interface.
func (*UpdateInstanceUpdateInstanceUserInstancesEdge) MarshalJSON ¶
func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) MarshalJSON() ([]byte, error)
func (*UpdateInstanceUpdateInstanceUserInstancesEdge) UnmarshalJSON ¶
func (v *UpdateInstanceUpdateInstanceUserInstancesEdge) UnmarshalJSON(b []byte) error
type UpdateUserResponse ¶
type UpdateUserResponse struct {
UpdateUser UpdateUserUpdateUser `json:"updateUser"`
}
UpdateUserResponse is returned by UpdateUser on success.
func UpdateUser ¶
func UpdateUser( ctx context.Context, client graphql.Client, input UserInput, instancesFirst int, instancesAfter string, channelsFirst int, channelsAfter string, likesFirst int, likesAfter string, authorsFirst int, authorsAfter string, authorsRoles []Role, messagesLast int, messagesBefore string, notificationsLast int, notificationsBefore string, ) (*UpdateUserResponse, error)
func (*UpdateUserResponse) GetUpdateUser ¶
func (v *UpdateUserResponse) GetUpdateUser() UpdateUserUpdateUser
GetUpdateUser returns UpdateUserResponse.UpdateUser, and is useful for accessing the field via an interface.
type UpdateUserUpdateUser ¶
type UpdateUserUpdateUser struct {
UserFragment `json:"-"`
}
UpdateUserUpdateUser includes the requested fields of the GraphQL type User.
func (*UpdateUserUpdateUser) GetAvatar ¶
func (v *UpdateUserUpdateUser) GetAvatar() string
GetAvatar returns UpdateUserUpdateUser.Avatar, and is useful for accessing the field via an interface.
func (*UpdateUserUpdateUser) GetBio ¶
func (v *UpdateUserUpdateUser) GetBio() string
GetBio returns UpdateUserUpdateUser.Bio, and is useful for accessing the field via an interface.
func (*UpdateUserUpdateUser) GetId ¶
func (v *UpdateUserUpdateUser) GetId() uuid.UUID
GetId returns UpdateUserUpdateUser.Id, and is useful for accessing the field via an interface.
func (*UpdateUserUpdateUser) GetInstancesConnection ¶
func (v *UpdateUserUpdateUser) GetInstancesConnection() UserFragmentInstancesConnectionUserInstancesConnection
GetInstancesConnection returns UpdateUserUpdateUser.InstancesConnection, and is useful for accessing the field via an interface.
func (*UpdateUserUpdateUser) GetName ¶
func (v *UpdateUserUpdateUser) GetName() string
GetName returns UpdateUserUpdateUser.Name, and is useful for accessing the field via an interface.
func (*UpdateUserUpdateUser) GetNotificationsConnection ¶
func (v *UpdateUserUpdateUser) GetNotificationsConnection() UserFragmentNotificationsConnectionUserNotificationsConnection
GetNotificationsConnection returns UpdateUserUpdateUser.NotificationsConnection, and is useful for accessing the field via an interface.
func (*UpdateUserUpdateUser) GetUid ¶
func (v *UpdateUserUpdateUser) GetUid() string
GetUid returns UpdateUserUpdateUser.Uid, and is useful for accessing the field via an interface.
func (*UpdateUserUpdateUser) MarshalJSON ¶
func (v *UpdateUserUpdateUser) MarshalJSON() ([]byte, error)
func (*UpdateUserUpdateUser) UnmarshalJSON ¶
func (v *UpdateUserUpdateUser) UnmarshalJSON(b []byte) error
type UserFragment ¶
type UserFragment struct { Id uuid.UUID `json:"id"` Name string `json:"name"` Avatar string `json:"avatar"` Bio string `json:"bio"` Uid string `json:"uid"` InstancesConnection UserFragmentInstancesConnectionUserInstancesConnection `json:"instancesConnection"` NotificationsConnection UserFragmentNotificationsConnectionUserNotificationsConnection `json:"notificationsConnection"` }
UserFragment includes the GraphQL fields of User requested by the fragment UserFragment.
func (*UserFragment) GetAvatar ¶
func (v *UserFragment) GetAvatar() string
GetAvatar returns UserFragment.Avatar, and is useful for accessing the field via an interface.
func (*UserFragment) GetBio ¶
func (v *UserFragment) GetBio() string
GetBio returns UserFragment.Bio, and is useful for accessing the field via an interface.
func (*UserFragment) GetId ¶
func (v *UserFragment) GetId() uuid.UUID
GetId returns UserFragment.Id, and is useful for accessing the field via an interface.
func (*UserFragment) GetInstancesConnection ¶
func (v *UserFragment) GetInstancesConnection() UserFragmentInstancesConnectionUserInstancesConnection
GetInstancesConnection returns UserFragment.InstancesConnection, and is useful for accessing the field via an interface.
func (*UserFragment) GetName ¶
func (v *UserFragment) GetName() string
GetName returns UserFragment.Name, and is useful for accessing the field via an interface.
func (*UserFragment) GetNotificationsConnection ¶
func (v *UserFragment) GetNotificationsConnection() UserFragmentNotificationsConnectionUserNotificationsConnection
GetNotificationsConnection returns UserFragment.NotificationsConnection, and is useful for accessing the field via an interface.
func (*UserFragment) GetUid ¶
func (v *UserFragment) GetUid() string
GetUid returns UserFragment.Uid, and is useful for accessing the field via an interface.
type UserFragmentInstancesConnectionUserInstancesConnection ¶
type UserFragmentInstancesConnectionUserInstancesConnection struct { Edges []UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge `json:"edges"` PageInfo UserFragmentInstancesConnectionUserInstancesConnectionPageInfo `json:"pageInfo"` }
UserFragmentInstancesConnectionUserInstancesConnection includes the requested fields of the GraphQL type UserInstancesConnection.
func (*UserFragmentInstancesConnectionUserInstancesConnection) GetEdges ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnection) GetEdges() []UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge
GetEdges returns UserFragmentInstancesConnectionUserInstancesConnection.Edges, and is useful for accessing the field via an interface.
func (*UserFragmentInstancesConnectionUserInstancesConnection) GetPageInfo ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnection) GetPageInfo() UserFragmentInstancesConnectionUserInstancesConnectionPageInfo
GetPageInfo returns UserFragmentInstancesConnectionUserInstancesConnection.PageInfo, and is useful for accessing the field via an interface.
type UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge ¶
type UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge struct {
UserInstancesEdgeFragment `json:"-"`
}
UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge includes the requested fields of the GraphQL type UserInstancesEdge.
func (*UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetCursor ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetCursor() string
GetCursor returns UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge.Cursor, and is useful for accessing the field via an interface.
func (*UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetInstanceUser ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
GetInstanceUser returns UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge.InstanceUser, and is useful for accessing the field via an interface.
func (*UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetLikedByMe ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetLikedByMe() bool
GetLikedByMe returns UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge.LikedByMe, and is useful for accessing the field via an interface.
func (*UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetNode ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetNode() UserInstancesEdgeFragmentNodeInstance
GetNode returns UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge.Node, and is useful for accessing the field via an interface.
func (*UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetPinned ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetPinned() bool
GetPinned returns UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge.Pinned, and is useful for accessing the field via an interface.
func (*UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetRank ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) GetRank() string
GetRank returns UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge.Rank, and is useful for accessing the field via an interface.
func (*UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) MarshalJSON ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) MarshalJSON() ([]byte, error)
func (*UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) UnmarshalJSON ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionEdgesUserInstancesEdge) UnmarshalJSON(b []byte) error
type UserFragmentInstancesConnectionUserInstancesConnectionPageInfo ¶
type UserFragmentInstancesConnectionUserInstancesConnectionPageInfo struct {
PageInfoFragment `json:"-"`
}
UserFragmentInstancesConnectionUserInstancesConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.
func (*UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) GetHasNextPage ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns UserFragmentInstancesConnectionUserInstancesConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) GetHasPreviousPage ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) GetHasPreviousPage() bool
GetHasPreviousPage returns UserFragmentInstancesConnectionUserInstancesConnectionPageInfo.HasPreviousPage, and is useful for accessing the field via an interface.
func (*UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) MarshalJSON ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) MarshalJSON() ([]byte, error)
func (*UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) UnmarshalJSON ¶
func (v *UserFragmentInstancesConnectionUserInstancesConnectionPageInfo) UnmarshalJSON(b []byte) error
type UserFragmentNotificationsConnectionUserNotificationsConnection ¶
type UserFragmentNotificationsConnectionUserNotificationsConnection struct { Edges []UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge `json:"edges"` PageInfo UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo `json:"pageInfo"` HasUnread bool `json:"hasUnread"` }
UserFragmentNotificationsConnectionUserNotificationsConnection includes the requested fields of the GraphQL type UserNotificationsConnection.
func (*UserFragmentNotificationsConnectionUserNotificationsConnection) GetEdges ¶
func (v *UserFragmentNotificationsConnectionUserNotificationsConnection) GetEdges() []UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge
GetEdges returns UserFragmentNotificationsConnectionUserNotificationsConnection.Edges, and is useful for accessing the field via an interface.
func (*UserFragmentNotificationsConnectionUserNotificationsConnection) GetHasUnread ¶
func (v *UserFragmentNotificationsConnectionUserNotificationsConnection) GetHasUnread() bool
GetHasUnread returns UserFragmentNotificationsConnectionUserNotificationsConnection.HasUnread, and is useful for accessing the field via an interface.
func (*UserFragmentNotificationsConnectionUserNotificationsConnection) GetPageInfo ¶
func (v *UserFragmentNotificationsConnectionUserNotificationsConnection) GetPageInfo() UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo
GetPageInfo returns UserFragmentNotificationsConnectionUserNotificationsConnection.PageInfo, and is useful for accessing the field via an interface.
type UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge ¶
type UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge struct {
UserNotificationsEdgeFragment `json:"-"`
}
UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge includes the requested fields of the GraphQL type UserNotificationsEdge.
func (*UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) GetCursor ¶
func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) GetCursor() string
GetCursor returns UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge.Cursor, and is useful for accessing the field via an interface.
func (*UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) GetNode ¶
func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) GetNode() UserNotificationsEdgeFragmentNodeNotification
GetNode returns UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge.Node, and is useful for accessing the field via an interface.
func (*UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) MarshalJSON ¶
func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) MarshalJSON() ([]byte, error)
func (*UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) UnmarshalJSON ¶
func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionEdgesUserNotificationsEdge) UnmarshalJSON(b []byte) error
type UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo ¶
type UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo struct {
PageInfoFragment `json:"-"`
}
UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.
func (*UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) GetHasNextPage ¶
func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) GetHasPreviousPage ¶
func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) GetHasPreviousPage() bool
GetHasPreviousPage returns UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo.HasPreviousPage, and is useful for accessing the field via an interface.
func (*UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) MarshalJSON ¶
func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) MarshalJSON() ([]byte, error)
func (*UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) UnmarshalJSON ¶
func (v *UserFragmentNotificationsConnectionUserNotificationsConnectionPageInfo) UnmarshalJSON(b []byte) error
type UserInput ¶
type UserInput struct { Name string `json:"name"` Avatar string `json:"avatar"` Bio string `json:"bio"` }
func (*UserInput) GetAvatar ¶
GetAvatar returns UserInput.Avatar, and is useful for accessing the field via an interface.
type UserInstancesEdgeFragment ¶
type UserInstancesEdgeFragment struct { Cursor string `json:"cursor"` Node UserInstancesEdgeFragmentNodeInstance `json:"node"` InstanceUser UserInstancesEdgeFragmentInstanceUserAuthor `json:"instanceUser"` Rank string `json:"rank"` Pinned bool `json:"pinned"` LikedByMe bool `json:"likedByMe"` }
UserInstancesEdgeFragment includes the GraphQL fields of UserInstancesEdge requested by the fragment UserInstancesEdgeFragment.
func (*UserInstancesEdgeFragment) GetCursor ¶
func (v *UserInstancesEdgeFragment) GetCursor() string
GetCursor returns UserInstancesEdgeFragment.Cursor, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragment) GetInstanceUser ¶
func (v *UserInstancesEdgeFragment) GetInstanceUser() UserInstancesEdgeFragmentInstanceUserAuthor
GetInstanceUser returns UserInstancesEdgeFragment.InstanceUser, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragment) GetLikedByMe ¶
func (v *UserInstancesEdgeFragment) GetLikedByMe() bool
GetLikedByMe returns UserInstancesEdgeFragment.LikedByMe, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragment) GetNode ¶
func (v *UserInstancesEdgeFragment) GetNode() UserInstancesEdgeFragmentNodeInstance
GetNode returns UserInstancesEdgeFragment.Node, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragment) GetPinned ¶
func (v *UserInstancesEdgeFragment) GetPinned() bool
GetPinned returns UserInstancesEdgeFragment.Pinned, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragment) GetRank ¶
func (v *UserInstancesEdgeFragment) GetRank() string
GetRank returns UserInstancesEdgeFragment.Rank, and is useful for accessing the field via an interface.
type UserInstancesEdgeFragmentInstanceUserAuthor ¶
type UserInstancesEdgeFragmentInstanceUserAuthor struct {
AuthorFragment `json:"-"`
}
UserInstancesEdgeFragmentInstanceUserAuthor includes the requested fields of the GraphQL type Author.
func (*UserInstancesEdgeFragmentInstanceUserAuthor) GetAvatar ¶
func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetAvatar() string
GetAvatar returns UserInstancesEdgeFragmentInstanceUserAuthor.Avatar, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentInstanceUserAuthor) GetBio ¶
func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetBio() string
GetBio returns UserInstancesEdgeFragmentInstanceUserAuthor.Bio, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentInstanceUserAuthor) GetCreatedAt ¶
func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetCreatedAt() time.Time
GetCreatedAt returns UserInstancesEdgeFragmentInstanceUserAuthor.CreatedAt, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentInstanceUserAuthor) GetId ¶
func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetId() uuid.UUID
GetId returns UserInstancesEdgeFragmentInstanceUserAuthor.Id, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentInstanceUserAuthor) GetInstanceId ¶
func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetInstanceId() uuid.UUID
GetInstanceId returns UserInstancesEdgeFragmentInstanceUserAuthor.InstanceId, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentInstanceUserAuthor) GetName ¶
func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetName() string
GetName returns UserInstancesEdgeFragmentInstanceUserAuthor.Name, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentInstanceUserAuthor) GetRoles ¶
func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetRoles() []Role
GetRoles returns UserInstancesEdgeFragmentInstanceUserAuthor.Roles, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentInstanceUserAuthor) GetUserId ¶
func (v *UserInstancesEdgeFragmentInstanceUserAuthor) GetUserId() uuid.UUID
GetUserId returns UserInstancesEdgeFragmentInstanceUserAuthor.UserId, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentInstanceUserAuthor) MarshalJSON ¶
func (v *UserInstancesEdgeFragmentInstanceUserAuthor) MarshalJSON() ([]byte, error)
func (*UserInstancesEdgeFragmentInstanceUserAuthor) UnmarshalJSON ¶
func (v *UserInstancesEdgeFragmentInstanceUserAuthor) UnmarshalJSON(b []byte) error
type UserInstancesEdgeFragmentNodeInstance ¶
type UserInstancesEdgeFragmentNodeInstance struct {
InstanceFragment `json:"-"`
}
UserInstancesEdgeFragmentNodeInstance includes the requested fields of the GraphQL type Instance.
func (*UserInstancesEdgeFragmentNodeInstance) GetAuthor ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetAuthor() InstanceFragmentAuthor
GetAuthor returns UserInstancesEdgeFragmentNodeInstance.Author, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetAuthorsConnection ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetAuthorsConnection() InstanceFragmentAuthorsConnectionInstanceAuthorsConnection
GetAuthorsConnection returns UserInstancesEdgeFragmentNodeInstance.AuthorsConnection, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetChannelsConnection ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetChannelsConnection() InstanceFragmentChannelsConnectionInstanceChannelsConnection
GetChannelsConnection returns UserInstancesEdgeFragmentNodeInstance.ChannelsConnection, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetCommentsCount ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetCommentsCount() int
GetCommentsCount returns UserInstancesEdgeFragmentNodeInstance.CommentsCount, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetCreatedAt ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetCreatedAt() time.Time
GetCreatedAt returns UserInstancesEdgeFragmentNodeInstance.CreatedAt, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetDescription ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetDescription() string
GetDescription returns UserInstancesEdgeFragmentNodeInstance.Description, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetIcon ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetIcon() string
GetIcon returns UserInstancesEdgeFragmentNodeInstance.Icon, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetId ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetId() uuid.UUID
GetId returns UserInstancesEdgeFragmentNodeInstance.Id, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetLikesConnection ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetLikesConnection() InstanceFragmentLikesConnectionInstanceLikesConnection
GetLikesConnection returns UserInstancesEdgeFragmentNodeInstance.LikesConnection, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetLikesCount ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetLikesCount() int
GetLikesCount returns UserInstancesEdgeFragmentNodeInstance.LikesCount, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetName ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetName() string
GetName returns UserInstancesEdgeFragmentNodeInstance.Name, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetReadAccess ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetReadAccess() Access
GetReadAccess returns UserInstancesEdgeFragmentNodeInstance.ReadAccess, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetShowAuthor ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetShowAuthor() bool
GetShowAuthor returns UserInstancesEdgeFragmentNodeInstance.ShowAuthor, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetShowChat ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetShowChat() bool
GetShowChat returns UserInstancesEdgeFragmentNodeInstance.ShowChat, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetShowComments ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetShowComments() bool
GetShowComments returns UserInstancesEdgeFragmentNodeInstance.ShowComments, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) GetShowLikes ¶
func (v *UserInstancesEdgeFragmentNodeInstance) GetShowLikes() bool
GetShowLikes returns UserInstancesEdgeFragmentNodeInstance.ShowLikes, and is useful for accessing the field via an interface.
func (*UserInstancesEdgeFragmentNodeInstance) MarshalJSON ¶
func (v *UserInstancesEdgeFragmentNodeInstance) MarshalJSON() ([]byte, error)
func (*UserInstancesEdgeFragmentNodeInstance) UnmarshalJSON ¶
func (v *UserInstancesEdgeFragmentNodeInstance) UnmarshalJSON(b []byte) error
type UserNotificationsEdgeFragment ¶
type UserNotificationsEdgeFragment struct { Cursor string `json:"cursor"` Node UserNotificationsEdgeFragmentNodeNotification `json:"node"` }
UserNotificationsEdgeFragment includes the GraphQL fields of UserNotificationsEdge requested by the fragment UserNotificationsEdgeFragment.
func (*UserNotificationsEdgeFragment) GetCursor ¶
func (v *UserNotificationsEdgeFragment) GetCursor() string
GetCursor returns UserNotificationsEdgeFragment.Cursor, and is useful for accessing the field via an interface.
func (*UserNotificationsEdgeFragment) GetNode ¶
func (v *UserNotificationsEdgeFragment) GetNode() UserNotificationsEdgeFragmentNodeNotification
GetNode returns UserNotificationsEdgeFragment.Node, and is useful for accessing the field via an interface.
type UserNotificationsEdgeFragmentNodeNotification ¶
type UserNotificationsEdgeFragmentNodeNotification struct {
NotificationFragment `json:"-"`
}
UserNotificationsEdgeFragmentNodeNotification includes the requested fields of the GraphQL type Notification.
func (*UserNotificationsEdgeFragmentNodeNotification) GetAuthor ¶
func (v *UserNotificationsEdgeFragmentNodeNotification) GetAuthor() *NotificationFragmentAuthor
GetAuthor returns UserNotificationsEdgeFragmentNodeNotification.Author, and is useful for accessing the field via an interface.
func (*UserNotificationsEdgeFragmentNodeNotification) GetCreatedAt ¶
func (v *UserNotificationsEdgeFragmentNodeNotification) GetCreatedAt() time.Time
GetCreatedAt returns UserNotificationsEdgeFragmentNodeNotification.CreatedAt, and is useful for accessing the field via an interface.
func (*UserNotificationsEdgeFragmentNodeNotification) GetId ¶
func (v *UserNotificationsEdgeFragmentNodeNotification) GetId() uuid.UUID
GetId returns UserNotificationsEdgeFragmentNodeNotification.Id, and is useful for accessing the field via an interface.
func (*UserNotificationsEdgeFragmentNodeNotification) GetInstance ¶
func (v *UserNotificationsEdgeFragmentNodeNotification) GetInstance() *NotificationFragmentInstance
GetInstance returns UserNotificationsEdgeFragmentNodeNotification.Instance, and is useful for accessing the field via an interface.
func (*UserNotificationsEdgeFragmentNodeNotification) GetKind ¶
func (v *UserNotificationsEdgeFragmentNodeNotification) GetKind() NotificationKind
GetKind returns UserNotificationsEdgeFragmentNodeNotification.Kind, and is useful for accessing the field via an interface.
func (*UserNotificationsEdgeFragmentNodeNotification) GetMessage ¶
func (v *UserNotificationsEdgeFragmentNodeNotification) GetMessage() *NotificationFragmentMessage
GetMessage returns UserNotificationsEdgeFragmentNodeNotification.Message, and is useful for accessing the field via an interface.
func (*UserNotificationsEdgeFragmentNodeNotification) MarshalJSON ¶
func (v *UserNotificationsEdgeFragmentNodeNotification) MarshalJSON() ([]byte, error)
func (*UserNotificationsEdgeFragmentNodeNotification) UnmarshalJSON ¶
func (v *UserNotificationsEdgeFragmentNodeNotification) UnmarshalJSON(b []byte) error
type UserResponse ¶
type UserResponse struct {
User UserUser `json:"user"`
}
UserResponse is returned by User on success.
func User ¶
func User( ctx context.Context, client graphql.Client, instancesFirst int, instancesAfter string, channelsFirst int, channelsAfter string, likesFirst int, likesAfter string, authorsFirst int, authorsAfter string, authorsRoles []Role, messagesLast int, messagesBefore string, notificationsLast int, notificationsBefore string, ) (*UserResponse, error)
func (*UserResponse) GetUser ¶
func (v *UserResponse) GetUser() UserUser
GetUser returns UserResponse.User, and is useful for accessing the field via an interface.
type UserUser ¶
type UserUser struct {
UserFragment `json:"-"`
}
UserUser includes the requested fields of the GraphQL type User.
func (*UserUser) GetAvatar ¶
GetAvatar returns UserUser.Avatar, and is useful for accessing the field via an interface.
func (*UserUser) GetBio ¶
GetBio returns UserUser.Bio, and is useful for accessing the field via an interface.
func (*UserUser) GetId ¶
GetId returns UserUser.Id, and is useful for accessing the field via an interface.
func (*UserUser) GetInstancesConnection ¶
func (v *UserUser) GetInstancesConnection() UserFragmentInstancesConnectionUserInstancesConnection
GetInstancesConnection returns UserUser.InstancesConnection, and is useful for accessing the field via an interface.
func (*UserUser) GetName ¶
GetName returns UserUser.Name, and is useful for accessing the field via an interface.
func (*UserUser) GetNotificationsConnection ¶
func (v *UserUser) GetNotificationsConnection() UserFragmentNotificationsConnectionUserNotificationsConnection
GetNotificationsConnection returns UserUser.NotificationsConnection, and is useful for accessing the field via an interface.
func (*UserUser) GetUid ¶
GetUid returns UserUser.Uid, and is useful for accessing the field via an interface.