Skip to content

Models

flowtask.components.Workday.models

Location

Bases: BaseModel

Pydantic model for a Workday location record. raw_data holds the full SOAP response dict for any extra fields.

Organization

Bases: BaseModel

Complete organization model based on actual Workday payload.

TimeBlock

Bases: BaseModel

Pydantic model for a Workday calculated time block record. raw_data holds the full SOAP response dict for any extra fields.

TimeRequest

Bases: BaseModel

Pydantic model for a Workday time request record. raw_data holds the full SOAP response dict for any extra fields.

Worker

Bases: BaseModel

Pydantic model for a Workday worker record. raw_data holds the full SOAP response dict for any extra fields.

location

Location

Bases: BaseModel

Pydantic model for a Workday location record. raw_data holds the full SOAP response dict for any extra fields.

location_hierarchy_assignments

Pydantic models for Location Hierarchy Organization Assignments.

LocationHierarchyAssignment

Bases: BaseModel

Model for location hierarchy organization assignment.

LocationHierarchyAssignmentsResponse

Bases: BaseModel

Model for the complete location hierarchy assignments response.

LocationHierarchyReference

Bases: BaseModel

Model for location hierarchy reference.

OrganizationAssignment

Bases: BaseModel

Model for organization assignment by type.

OrganizationReference

Bases: BaseModel

Model for organization reference in assignments.

OrganizationTypeReference

Bases: BaseModel

Model for organization type reference.

organizations

Organization

Bases: BaseModel

Complete organization model based on actual Workday payload.

time_block

TimeBlock

Bases: BaseModel

Pydantic model for a Workday calculated time block record. raw_data holds the full SOAP response dict for any extra fields.

time_request

TimeRequest

Bases: BaseModel

Pydantic model for a Workday time request record. raw_data holds the full SOAP response dict for any extra fields.

worker

ManagementChainLevel

Bases: BaseModel

Model for a single level in the management chain

Worker

Bases: BaseModel

Pydantic model for a Workday worker record. raw_data holds the full SOAP response dict for any extra fields.