summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/ModelOnenote.go
blob: 9b638e7ed50dbf71f44bed71077a14d242b69353 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
// Code generated by msgraph.go/gen DO NOT EDIT.

package msgraph

import "time"

// Onenote undocumented
type Onenote struct {
	// Entity is the base model of Onenote
	Entity
	// Notebooks undocumented
	Notebooks []Notebook `json:"notebooks,omitempty"`
	// Sections undocumented
	Sections []OnenoteSection `json:"sections,omitempty"`
	// SectionGroups undocumented
	SectionGroups []SectionGroup `json:"sectionGroups,omitempty"`
	// Pages undocumented
	Pages []OnenotePage `json:"pages,omitempty"`
	// Resources undocumented
	Resources []OnenoteResource `json:"resources,omitempty"`
	// Operations undocumented
	Operations []OnenoteOperation `json:"operations,omitempty"`
}

// OnenoteEntityBaseModel undocumented
type OnenoteEntityBaseModel struct {
	// Entity is the base model of OnenoteEntityBaseModel
	Entity
	// Self undocumented
	Self *string `json:"self,omitempty"`
}

// OnenoteEntityHierarchyModel undocumented
type OnenoteEntityHierarchyModel struct {
	// OnenoteEntitySchemaObjectModel is the base model of OnenoteEntityHierarchyModel
	OnenoteEntitySchemaObjectModel
	// DisplayName undocumented
	DisplayName *string `json:"displayName,omitempty"`
	// CreatedBy undocumented
	CreatedBy *IdentitySet `json:"createdBy,omitempty"`
	// LastModifiedBy undocumented
	LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
	// LastModifiedDateTime undocumented
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
}

// OnenoteEntitySchemaObjectModel undocumented
type OnenoteEntitySchemaObjectModel struct {
	// OnenoteEntityBaseModel is the base model of OnenoteEntitySchemaObjectModel
	OnenoteEntityBaseModel
	// CreatedDateTime undocumented
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
}

// OnenoteOperation undocumented
type OnenoteOperation struct {
	// Operation is the base model of OnenoteOperation
	Operation
	// ResourceLocation undocumented
	ResourceLocation *string `json:"resourceLocation,omitempty"`
	// ResourceID undocumented
	ResourceID *string `json:"resourceId,omitempty"`
	// Error undocumented
	Error *OnenoteOperationError `json:"error,omitempty"`
	// PercentComplete undocumented
	PercentComplete *string `json:"percentComplete,omitempty"`
}

// OnenoteOperationError undocumented
type OnenoteOperationError struct {
	// Object is the base model of OnenoteOperationError
	Object
	// Code undocumented
	Code *string `json:"code,omitempty"`
	// Message undocumented
	Message *string `json:"message,omitempty"`
}

// OnenotePage undocumented
type OnenotePage struct {
	// OnenoteEntitySchemaObjectModel is the base model of OnenotePage
	OnenoteEntitySchemaObjectModel
	// Title undocumented
	Title *string `json:"title,omitempty"`
	// CreatedByAppID undocumented
	CreatedByAppID *string `json:"createdByAppId,omitempty"`
	// Links undocumented
	Links *PageLinks `json:"links,omitempty"`
	// ContentURL undocumented
	ContentURL *string `json:"contentUrl,omitempty"`
	// Content undocumented
	Content *Stream `json:"content,omitempty"`
	// LastModifiedDateTime undocumented
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// Level undocumented
	Level *int `json:"level,omitempty"`
	// Order undocumented
	Order *int `json:"order,omitempty"`
	// UserTags undocumented
	UserTags []string `json:"userTags,omitempty"`
	// ParentSection undocumented
	ParentSection *OnenoteSection `json:"parentSection,omitempty"`
	// ParentNotebook undocumented
	ParentNotebook *Notebook `json:"parentNotebook,omitempty"`
}

// OnenotePagePreview undocumented
type OnenotePagePreview struct {
	// Object is the base model of OnenotePagePreview
	Object
	// PreviewText undocumented
	PreviewText *string `json:"previewText,omitempty"`
	// Links undocumented
	Links *OnenotePagePreviewLinks `json:"links,omitempty"`
}

// OnenotePagePreviewLinks undocumented
type OnenotePagePreviewLinks struct {
	// Object is the base model of OnenotePagePreviewLinks
	Object
	// PreviewImageURL undocumented
	PreviewImageURL *ExternalLink `json:"previewImageUrl,omitempty"`
}

// OnenotePatchContentCommand undocumented
type OnenotePatchContentCommand struct {
	// Object is the base model of OnenotePatchContentCommand
	Object
	// Action undocumented
	Action *OnenotePatchActionType `json:"action,omitempty"`
	// Target undocumented
	Target *string `json:"target,omitempty"`
	// Content undocumented
	Content *string `json:"content,omitempty"`
	// Position undocumented
	Position *OnenotePatchInsertPosition `json:"position,omitempty"`
}

// OnenoteResource undocumented
type OnenoteResource struct {
	// OnenoteEntityBaseModel is the base model of OnenoteResource
	OnenoteEntityBaseModel
	// Content undocumented
	Content *Stream `json:"content,omitempty"`
	// ContentURL undocumented
	ContentURL *string `json:"contentUrl,omitempty"`
}

// OnenoteSection undocumented
type OnenoteSection struct {
	// OnenoteEntityHierarchyModel is the base model of OnenoteSection
	OnenoteEntityHierarchyModel
	// IsDefault undocumented
	IsDefault *bool `json:"isDefault,omitempty"`
	// Links undocumented
	Links *SectionLinks `json:"links,omitempty"`
	// PagesURL undocumented
	PagesURL *string `json:"pagesUrl,omitempty"`
	// ParentNotebook undocumented
	ParentNotebook *Notebook `json:"parentNotebook,omitempty"`
	// ParentSectionGroup undocumented
	ParentSectionGroup *SectionGroup `json:"parentSectionGroup,omitempty"`
	// Pages undocumented
	Pages []OnenotePage `json:"pages,omitempty"`
}