github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelTime.go (about)

     1  // Code generated by msgraph.go/gen DO NOT EDIT.
     2  
     3  package msgraph
     4  
     5  import "time"
     6  
     7  // TimeConstraint undocumented
     8  type TimeConstraint struct {
     9  	// Object is the base model of TimeConstraint
    10  	Object
    11  	// ActivityDomain undocumented
    12  	ActivityDomain *ActivityDomain `json:"activityDomain,omitempty"`
    13  	// TimeSlots undocumented
    14  	TimeSlots []TimeSlot `json:"timeSlots,omitempty"`
    15  }
    16  
    17  // TimeOff undocumented
    18  type TimeOff struct {
    19  	// ChangeTrackedEntity is the base model of TimeOff
    20  	ChangeTrackedEntity
    21  	// SharedTimeOff undocumented
    22  	SharedTimeOff *TimeOffItem `json:"sharedTimeOff,omitempty"`
    23  	// DraftTimeOff undocumented
    24  	DraftTimeOff *TimeOffItem `json:"draftTimeOff,omitempty"`
    25  	// UserID undocumented
    26  	UserID *string `json:"userId,omitempty"`
    27  }
    28  
    29  // TimeOffItem undocumented
    30  type TimeOffItem struct {
    31  	// ScheduleEntity is the base model of TimeOffItem
    32  	ScheduleEntity
    33  	// TimeOffReasonID undocumented
    34  	TimeOffReasonID *string `json:"timeOffReasonId,omitempty"`
    35  }
    36  
    37  // TimeOffReason undocumented
    38  type TimeOffReason struct {
    39  	// ChangeTrackedEntity is the base model of TimeOffReason
    40  	ChangeTrackedEntity
    41  	// DisplayName undocumented
    42  	DisplayName *string `json:"displayName,omitempty"`
    43  	// IconType undocumented
    44  	IconType *TimeOffReasonIconType `json:"iconType,omitempty"`
    45  	// IsActive undocumented
    46  	IsActive *bool `json:"isActive,omitempty"`
    47  }
    48  
    49  // TimeOffRequestObject undocumented
    50  type TimeOffRequestObject struct {
    51  	// ScheduleChangeRequestObject is the base model of TimeOffRequestObject
    52  	ScheduleChangeRequestObject
    53  	// StartDateTime undocumented
    54  	StartDateTime *time.Time `json:"startDateTime,omitempty"`
    55  	// EndDateTime undocumented
    56  	EndDateTime *time.Time `json:"endDateTime,omitempty"`
    57  	// TimeOffReasonID undocumented
    58  	TimeOffReasonID *string `json:"timeOffReasonId,omitempty"`
    59  }
    60  
    61  // TimeSlot undocumented
    62  type TimeSlot struct {
    63  	// Object is the base model of TimeSlot
    64  	Object
    65  	// Start undocumented
    66  	Start *DateTimeTimeZone `json:"start,omitempty"`
    67  	// End undocumented
    68  	End *DateTimeTimeZone `json:"end,omitempty"`
    69  }
    70  
    71  // TimeZoneBase undocumented
    72  type TimeZoneBase struct {
    73  	// Object is the base model of TimeZoneBase
    74  	Object
    75  	// Name undocumented
    76  	Name *string `json:"name,omitempty"`
    77  }
    78  
    79  // TimeZoneInformation undocumented
    80  type TimeZoneInformation struct {
    81  	// Object is the base model of TimeZoneInformation
    82  	Object
    83  	// Alias undocumented
    84  	Alias *string `json:"alias,omitempty"`
    85  	// DisplayName undocumented
    86  	DisplayName *string `json:"displayName,omitempty"`
    87  }