Models¶
pyholdsport.HoldsportTeam
¶
pyholdsport.HoldsportMember
¶
Bases: BaseModel
Data model for member in Holdsport.
id: int
instance-attribute
¶
firstname: str
instance-attribute
¶
lastname: str
instance-attribute
¶
role: HoldsportRole
instance-attribute
¶
member_number: str
instance-attribute
¶
birthday: str | bool = Field(description='Return value is False for insufficient permissions')
class-attribute
instance-attribute
¶
addresses: list[HoldsportAddress]
instance-attribute
¶
profile_picture_path: str
instance-attribute
¶
pyholdsport.HoldsportActivity
¶
Bases: BaseModel
Data model for activity in Holdsport.
id: int
instance-attribute
¶
name: str
instance-attribute
¶
starttime: str
instance-attribute
¶
endtime: str
instance-attribute
¶
comment: str
instance-attribute
¶
place: str
instance-attribute
¶
pickup_place: str
instance-attribute
¶
pickup_time: str
instance-attribute
¶
status: int
instance-attribute
¶
registration_type: int
instance-attribute
¶
activities_users: list[HoldsportActivitiesUser]
instance-attribute
¶
event_type: str
instance-attribute
¶
event_type_id: int
instance-attribute
¶
pyholdsport.HoldsportActivitiesUser
¶
pyholdsport.HoldsportRole
¶
Bases: IntEnum
Holdsport member role enumeration.
pyholdsport.HoldsportAddress
¶
Bases: BaseModel
Data model for address in Holdsport.