models.py•31.8 kB
# generated by fastapi-codegen:
# filename: openapi.yaml
# timestamp: 2025-06-29T10:46:08+00:00
from __future__ import annotations
from typing import Optional
from pydantic import BaseModel, Field
class Actions(BaseModel):
text: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class ActionsComments(BaseModel):
text: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class ActionsText(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class Boards(BaseModel):
closed: Optional[str] = Field(None, description=' true or false')
desc: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
idBoardSource: Optional[str] = Field(
None, description='The id of the board to copy into the new board'
)
idOrganization: Optional[str] = Field(
None, description='The id or name of the organization to add the board to.'
)
keepFromSource: Optional[str] = Field(
None, description='Components of the source board to copy.'
)
labelNames_blue: Optional[str] = Field(
None,
alias='labelNames/blue',
description='a string with a length from 0 to 16384',
)
labelNames_green: Optional[str] = Field(
None,
alias='labelNames/green',
description='a string with a length from 0 to 16384',
)
labelNames_orange: Optional[str] = Field(
None,
alias='labelNames/orange',
description='a string with a length from 0 to 16384',
)
labelNames_purple: Optional[str] = Field(
None,
alias='labelNames/purple',
description='a string with a length from 0 to 16384',
)
labelNames_red: Optional[str] = Field(
None,
alias='labelNames/red',
description='a string with a length from 0 to 16384',
)
labelNames_yellow: Optional[str] = Field(
None,
alias='labelNames/yellow',
description='a string with a length from 0 to 16384',
)
name: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
powerUps: Optional[str] = Field(
None,
description='all or a comma-separated list of: calendar, cardAging, recap or voting',
)
prefs_background: Optional[str] = Field(
None,
alias='prefs/background',
description='A standard background name, or the id of a custom background',
)
prefs_calendarFeedEnabled: Optional[str] = Field(
None, alias='prefs/calendarFeedEnabled', description=' true or false'
)
prefs_cardAging: Optional[str] = Field(
None, alias='prefs/cardAging', description='One of: pirate or regular'
)
prefs_cardCovers: Optional[str] = Field(
None, alias='prefs/cardCovers', description=' true or false'
)
prefs_comments: Optional[str] = Field(
None,
alias='prefs/comments',
description='One of: disabled, members, observers, org or public',
)
prefs_invitations: Optional[str] = Field(
None, alias='prefs/invitations', description='One of: admins or members'
)
prefs_permissionLevel: Optional[str] = Field(
None,
alias='prefs/permissionLevel',
description='One of: org, private or public',
)
prefs_selfJoin: Optional[str] = Field(
None, alias='prefs/selfJoin', description=' true or false'
)
prefs_voting: Optional[str] = Field(
None,
alias='prefs/voting',
description='One of: disabled, members, observers, org or public',
)
prefs_background_1: Optional[str] = Field(
None,
alias='prefs_background',
description='a string with a length from 0 to 16384',
)
prefs_cardAging_1: Optional[str] = Field(
None, alias='prefs_cardAging', description='One of: pirate or regular'
)
prefs_cardCovers_1: Optional[str] = Field(
None, alias='prefs_cardCovers', description=' true or false'
)
prefs_comments_1: Optional[str] = Field(
None,
alias='prefs_comments',
description='One of: disabled, members, observers, org or public',
)
prefs_invitations_1: Optional[str] = Field(
None, alias='prefs_invitations', description='One of: admins or members'
)
prefs_permissionLevel_1: Optional[str] = Field(
None,
alias='prefs_permissionLevel',
description='One of: org, private or public',
)
prefs_selfJoin_1: Optional[str] = Field(
None, alias='prefs_selfJoin', description=' true or false'
)
prefs_voting_1: Optional[str] = Field(
None,
alias='prefs_voting',
description='One of: disabled, members, observers, org or public',
)
subscribed: Optional[str] = Field(None, description=' true or false')
class BoardsChecklists(BaseModel):
name: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class BoardsClosed(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class BoardsDesc(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class BoardsIdOrganization(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class BoardsLabels(BaseModel):
color: Optional[str] = Field(None, description='A valid label color or null')
name: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class BoardsLists(BaseModel):
name: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
pos: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
class BoardsMembers(BaseModel):
email: Optional[str] = Field(None, description='An email address')
fullName: Optional[str] = Field(
None,
description='A string with a length of at least 1. Cannot begin or end with a space.',
)
type: Optional[str] = Field(None, description='One of: admin, normal or observer')
class BoardsMemberships(BaseModel):
member_fields: Optional[str] = Field(
None,
description='all or a comma-separated list of: avatarHash, bio, bioData, confirmed, fullName, idPremOrgsAdmin, initials, memberType, products, status, url or username',
)
type: Optional[str] = Field(None, description='One of: admin, normal or observer')
class BoardsName(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class BoardsPowerUps(BaseModel):
value: Optional[str] = Field(
None, description='One of: calendar, cardAging, recap or voting'
)
class BoardsSubscribed(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class Cards(BaseModel):
closed: Optional[str] = Field(None, description=' true or false')
desc: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
due: Optional[str] = Field(None, description='A date, or null')
fileSource: Optional[str] = Field(None, description='A file')
idAttachmentCover: Optional[str] = Field(
None,
description='Id of the image attachment of this card to use as its cover, or null for no cover',
)
idBoard: Optional[str] = Field(
None, description='id of the board the card should be moved to'
)
idCardSource: Optional[str] = Field(
None, description='The id of the card to copy into a new card.'
)
idLabels: Optional[str] = Field(
None,
description='A comma-separated list of objectIds, 24-character hex strings',
)
idList: Optional[str] = Field(
None, description='id of the list that the card should be added to'
)
idMembers: Optional[str] = Field(
None,
description='A comma-separated list of objectIds, 24-character hex strings',
)
keepFromSource: Optional[str] = Field(
None, description='Properties of the card to copy over from the source.'
)
labels: Optional[str] = Field(
None,
description='all or a comma-separated list of: blue, green, orange, purple, red or yellow',
)
name: Optional[str] = Field(
None,
description='The name of the new card. It isn't required if the name is being copied from provided by a URL, file or card that is being copied.',
)
pos: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
subscribed: Optional[str] = Field(None, description=' true or false')
urlSource: Optional[str] = Field(
None, description='A URL starting with http:// or https:// or null'
)
class CardsActionsComments(BaseModel):
text: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class CardsAttachments(BaseModel):
file: Optional[str] = Field(None, description='A file')
mimeType: Optional[str] = Field(
None, description='a string with a length from 0 to 256'
)
name: Optional[str] = Field(
None, description='a string with a length from 0 to 256'
)
url: Optional[str] = Field(
None, description='A URL starting with http:// or https:// or null'
)
class CardsChecklistCheckItem(BaseModel):
name: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
pos: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
class CardsChecklistCheckItemName(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class CardsChecklistCheckItemPos(BaseModel):
value: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
class CardsChecklistCheckItemState(BaseModel):
value: Optional[str] = Field(
None, description='One of: complete, false, incomplete or true'
)
class CardsChecklistIdChecklistCurrentCheckItem(BaseModel):
idChecklist: Optional[str] = Field(None, description='An id, or null')
name: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
pos: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
state: Optional[str] = Field(
None, description='One of: complete, false, incomplete or true'
)
class CardsChecklists(BaseModel):
idChecklistSource: Optional[str] = Field(
None, description='The id of the source checklist to copy into a new checklist.'
)
name: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
value: Optional[str] = Field(
None,
description='The id of the checklist to add to the card, or null to create a new one.',
)
class CardsClosed(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class CardsDesc(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class CardsDue(BaseModel):
value: Optional[str] = Field(None, description='A date, or null')
class CardsIdAttachmentCover(BaseModel):
value: Optional[str] = Field(
None,
description='Id of the image attachment of this card to use as its cover, or null for no cover',
)
class CardsIdBoard(BaseModel):
idList: Optional[str] = Field(
None,
description='id of the list that the card should be moved to on the new board',
)
value: Optional[str] = Field(
None, description='id of the board the card should be moved to'
)
class CardsIdLabels(BaseModel):
value: Optional[str] = Field(None, description='The id of the label to add')
class CardsIdList(BaseModel):
value: Optional[str] = Field(
None, description='id of the list the card should be moved to'
)
class CardsIdMembers(BaseModel):
value: Optional[str] = Field(
None, description='The id of the member to add to the card'
)
class CardsLabels(BaseModel):
color: Optional[str] = Field(None, description='A valid label color or null')
name: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
value: Optional[str] = Field(
None,
description='all or a comma-separated list of: blue, green, orange, purple, red or yellow',
)
class CardsMembersVoted(BaseModel):
value: Optional[str] = Field(
None, description='The id of the member to vote 'yes' on the card'
)
class CardsName(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class CardsPos(BaseModel):
value: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
class CardsStickers(BaseModel):
image: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
left: Optional[str] = Field(None, description='undefined')
rotate: Optional[str] = Field(None, description='undefined')
top: Optional[str] = Field(None, description='undefined')
zIndex: Optional[str] = Field(
None, description='Valid Z values for stickers, must be an integer'
)
class CardsSubscribed(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class Checklists(BaseModel):
idBoard: Optional[str] = Field(
None, description='id of the board that the checklist should be added to'
)
idCard: Optional[str] = Field(
None, description='id of the card that the checklist should be added to'
)
idChecklistSource: Optional[str] = Field(
None, description='The id of the source checklist to copy into a new checklist.'
)
name: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
pos: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
class ChecklistsCheckItems(BaseModel):
checked: Optional[str] = Field(None, description=' true or false')
name: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
pos: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
class ChecklistsIdCard(BaseModel):
value: Optional[str] = Field(
None, description='The id of the card that the checklist is on'
)
class ChecklistsName(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class ChecklistsPos(BaseModel):
value: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
class LabelNamesBlue(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class LabelNamesGreen(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class LabelNamesOrange(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class LabelNamesPurple(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class LabelNamesRed(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class LabelNamesYellow(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class Labels(BaseModel):
color: Optional[str] = Field(None, description='A valid label color or null')
idBoard: Optional[str] = Field(None, description='An id')
name: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class LabelsColor(BaseModel):
value: Optional[str] = Field(None, description='A valid label color or null')
class LabelsName(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class Lists(BaseModel):
closed: Optional[str] = Field(None, description=' true or false')
idBoard: Optional[str] = Field(
None, description='id of the board that the list should be added to'
)
idListSource: Optional[str] = Field(
None, description='The id of the list to copy into a new list.'
)
name: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
pos: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
subscribed: Optional[str] = Field(None, description=' true or false')
class ListsCards(BaseModel):
desc: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
due: Optional[str] = Field(None, description='A date, or null')
idMembers: Optional[str] = Field(
None,
description='A comma-separated list of objectIds, 24-character hex strings',
)
labels: Optional[str] = Field(
None,
description='all or a comma-separated list of: blue, green, orange, purple, red or yellow',
)
name: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class ListsClosed(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class ListsIdBoard(BaseModel):
pos: Optional[str] = Field(
None, description='position of the list on the new board'
)
value: Optional[str] = Field(
None, description='id of the board the list should be moved to'
)
class ListsMoveAllCards(BaseModel):
idBoard: Optional[str] = Field(
None, description='id of the board that the cards should be moved to'
)
class ListsName(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class ListsPos(BaseModel):
value: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
class ListsSubscribed(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class Members(BaseModel):
avatarSource: Optional[str] = Field(
None, description='One of: gravatar, none or upload'
)
bio: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
fullName: Optional[str] = Field(
None,
description='A string with a length of at least 1. Cannot begin or end with a space.',
)
initials: Optional[str] = Field(
None,
description='A string with a length from 1 to 4. Cannot begin or end with a space',
)
prefs_colorBlind: Optional[str] = Field(
None, alias='prefs/colorBlind', description=' true or false'
)
prefs_locale: Optional[str] = Field(
None, alias='prefs/locale', description='a string with a length from 0 to 255'
)
prefs_minutesBetweenSummaries: Optional[str] = Field(
None,
alias='prefs/minutesBetweenSummaries',
description='-1 (disabled), 1 or 60',
)
username: Optional[str] = Field(
None,
description='A string with a length of at least 3. Only lowercase letters, underscores, and numbers are allowed. Must be unique.',
)
class MembersAvatar(BaseModel):
file: Optional[str] = Field(None, description='A file')
class MembersAvatarSource(BaseModel):
value: Optional[str] = Field(None, description='One of: gravatar, none or upload')
class MembersBio(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class MembersBoardBackgrounds(BaseModel):
brightness: Optional[str] = Field(
None, description='One of: dark, light or unknown'
)
file: Optional[str] = Field(None, description='A file')
tile: Optional[str] = Field(None, description=' true or false')
class MembersBoardStars(BaseModel):
idBoard: Optional[str] = Field(None, description='The id of the board to star')
pos: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
class MembersBoardStarsIdBoard(BaseModel):
value: Optional[str] = Field(None, description='An id')
class MembersBoardStarsPos(BaseModel):
value: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
class MembersCustomBoardBackgrounds(BaseModel):
brightness: Optional[str] = Field(
None, description='One of: dark, light or unknown'
)
file: Optional[str] = Field(None, description='A file')
tile: Optional[str] = Field(None, description=' true or false')
class MembersCustomEmoji(BaseModel):
file: Optional[str] = Field(None, description='A file')
name: Optional[str] = Field(None, description='a string with a length from 2 to 64')
class MembersCustomStickers(BaseModel):
file: Optional[str] = Field(None, description='A file')
class MembersFullName(BaseModel):
value: Optional[str] = Field(
None,
description='A string with a length of at least 1. Cannot begin or end with a space.',
)
class MembersInitials(BaseModel):
value: Optional[str] = Field(
None,
description='A string with a length from 1 to 4. Cannot begin or end with a space',
)
class MembersOneTimeMessagesDismissed(BaseModel):
value: Optional[str] = Field(None, description='Type of message dismissed')
class MembersSavedSearches(BaseModel):
name: Optional[str] = Field(
None, description='A non-empty string with at least one non-space character'
)
pos: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
query: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class MembersSavedSearchesName(BaseModel):
value: Optional[str] = Field(
None, description='A non-empty string with at least one non-space character'
)
class MembersSavedSearchesPos(BaseModel):
value: Optional[str] = Field(
None, description='A position. top , bottom , or a positive number.'
)
class MembersSavedSearchesQuery(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 1 to 16384'
)
class MembersUsername(BaseModel):
value: Optional[str] = Field(
None,
description='A string with a length of at least 3. Only lowercase letters, underscores, and numbers are allowed. Must be unique.',
)
class MyPrefsEmailPosition(BaseModel):
value: Optional[str] = Field(None, description='One of: bottom or top')
class MyPrefsIdEmailList(BaseModel):
value: Optional[str] = Field(None, description='An id')
class MyPrefsShowListGuide(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class MyPrefsShowSidebar(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class MyPrefsShowSidebarActivity(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class MyPrefsShowSidebarBoardActions(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class MyPrefsShowSidebarMembers(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class Notifications(BaseModel):
unread: Optional[str] = Field(None, description=' true or false')
class NotificationsUnread(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class Organizations(BaseModel):
desc: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
displayName: Optional[str] = Field(
None,
description='A string with a length of at least 1. Cannot begin or end with a space.',
)
name: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
prefs_associatedDomain: Optional[str] = Field(
None,
alias='prefs/associatedDomain',
description='The google apps domain to link this org to.',
)
prefs_boardVisibilityRestrict_org: Optional[str] = Field(
None,
alias='prefs/boardVisibilityRestrict/org',
description='One of: admin, none or org',
)
prefs_boardVisibilityRestrict_private: Optional[str] = Field(
None,
alias='prefs/boardVisibilityRestrict/private',
description='One of: admin, none or org',
)
prefs_boardVisibilityRestrict_public: Optional[str] = Field(
None,
alias='prefs/boardVisibilityRestrict/public',
description='One of: admin, none or org',
)
prefs_externalMembersDisabled: Optional[str] = Field(
None, alias='prefs/externalMembersDisabled', description=' true or false'
)
prefs_googleAppsVersion: Optional[str] = Field(
None, alias='prefs/googleAppsVersion', description='a number from 1 to 2'
)
prefs_orgInviteRestrict: Optional[str] = Field(
None,
alias='prefs/orgInviteRestrict',
description='An email address with optional expansion tokens',
)
prefs_permissionLevel: Optional[str] = Field(
None, alias='prefs/permissionLevel', description='One of: private or public'
)
website: Optional[str] = Field(
None, description='A URL starting with http:// or https:// or null'
)
class OrganizationsDesc(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class OrganizationsDisplayName(BaseModel):
value: Optional[str] = Field(
None,
description='A string with a length of at least 1. Cannot begin or end with a space.',
)
class OrganizationsLogo(BaseModel):
file: Optional[str] = Field(None, description='A file')
class OrganizationsMembers(BaseModel):
email: Optional[str] = Field(None, description='An email address')
fullName: Optional[str] = Field(
None,
description='A string with a length of at least 1. Cannot begin or end with a space.',
)
type: Optional[str] = Field(None, description='One of: admin, normal or observer')
class OrganizationsMembersDeactivated(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class OrganizationsMemberships(BaseModel):
member_fields: Optional[str] = Field(
None,
description='all or a comma-separated list of: avatarHash, bio, bioData, confirmed, fullName, idPremOrgsAdmin, initials, memberType, products, status, url or username',
)
type: Optional[str] = Field(None, description='One of: admin, normal or observer')
class OrganizationsName(BaseModel):
value: Optional[str] = Field(
None,
description='A string with a length of at least 3. Only lowercase letters, underscores, and numbers are allowed. Must be unique.',
)
class OrganizationsWebsite(BaseModel):
value: Optional[str] = Field(
None, description='A URL starting with http:// or https:// or null'
)
class PrefsAssociatedDomain(BaseModel):
value: Optional[str] = Field(
None, description='The google apps domain to link this org to.'
)
class PrefsBackground(BaseModel):
value: Optional[str] = Field(
None, description='A standard background name, or the id of a custom background'
)
class PrefsBoardVisibilityRestrict(BaseModel):
value: Optional[str] = Field(None, description='One of: admin, none or org')
class PrefsCalendarFeedEnabled(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class PrefsCardAging(BaseModel):
value: Optional[str] = Field(None, description='One of: pirate or regular')
class PrefsCardCovers(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class PrefsColorBlind(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class PrefsComments(BaseModel):
value: Optional[str] = Field(
None, description='One of: disabled, members, observers, org or public'
)
class PrefsExternalMembersDisabled(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class PrefsGoogleAppsVersion(BaseModel):
value: Optional[str] = Field(None, description='a number from 1 to 2')
class PrefsInvitations(BaseModel):
value: Optional[str] = Field(None, description='One of: admins or members')
class PrefsLocale(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 255'
)
class PrefsMinutesBetweenSummaries(BaseModel):
value: Optional[str] = Field(None, description='-1 (disabled), 1 or 60')
class PrefsOrgInviteRestrict(BaseModel):
value: Optional[str] = Field(
None, description='An email address with optional expansion tokens'
)
class PrefsPermissionLevel(BaseModel):
value: Optional[str] = Field(None, description='One of: private or public')
class PrefsSelfJoin(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class PrefsVoting(BaseModel):
value: Optional[str] = Field(
None, description='One of: disabled, members, observers, org or public'
)
class Sessions(BaseModel):
idBoard: Optional[str] = Field(
None,
description='The id of the board you're viewing. Boards with no viewers will not get updates about members' statuses.',
)
status: Optional[str] = Field(
None, description='One of: active, disconnected or idle'
)
class SessionsStatus(BaseModel):
value: Optional[str] = Field(
None, description='One of: active, disconnected or idle'
)
class TokensWebhooks(BaseModel):
callbackURL: Optional[str] = Field(
None, description='A valid URL that is reachable with a HEAD request'
)
description: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
idModel: Optional[str] = Field(None, description='id of the model to be monitored')
class Webhooks(BaseModel):
active: Optional[str] = Field(None, description=' true or false')
callbackURL: Optional[str] = Field(
None, description='A valid URL that is reachable with a HEAD request'
)
description: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
idModel: Optional[str] = Field(
None, description='id of the model that should be hooked'
)
class WebhooksActive(BaseModel):
value: Optional[str] = Field(None, description=' true or false')
class WebhooksCallbackURL(BaseModel):
value: Optional[str] = Field(
None, description='A valid URL that is reachable with a HEAD request'
)
class WebhooksDescription(BaseModel):
value: Optional[str] = Field(
None, description='a string with a length from 0 to 16384'
)
class WebhooksIdModel(BaseModel):
value: Optional[str] = Field(None, description='id of the model to be monitored')