github.com/yaegashi/msgraph.go@v0.1.4/v1.0/ModelOnenote.go (about) 1 // Code generated by msgraph.go/gen DO NOT EDIT. 2 3 package msgraph 4 5 import "time" 6 7 // Onenote undocumented 8 type Onenote struct { 9 // Entity is the base model of Onenote 10 Entity 11 // Notebooks undocumented 12 Notebooks []Notebook `json:"notebooks,omitempty"` 13 // Sections undocumented 14 Sections []OnenoteSection `json:"sections,omitempty"` 15 // SectionGroups undocumented 16 SectionGroups []SectionGroup `json:"sectionGroups,omitempty"` 17 // Pages undocumented 18 Pages []OnenotePage `json:"pages,omitempty"` 19 // Resources undocumented 20 Resources []OnenoteResource `json:"resources,omitempty"` 21 // Operations undocumented 22 Operations []OnenoteOperation `json:"operations,omitempty"` 23 } 24 25 // OnenoteEntityBaseModel undocumented 26 type OnenoteEntityBaseModel struct { 27 // Entity is the base model of OnenoteEntityBaseModel 28 Entity 29 // Self undocumented 30 Self *string `json:"self,omitempty"` 31 } 32 33 // OnenoteEntityHierarchyModel undocumented 34 type OnenoteEntityHierarchyModel struct { 35 // OnenoteEntitySchemaObjectModel is the base model of OnenoteEntityHierarchyModel 36 OnenoteEntitySchemaObjectModel 37 // DisplayName undocumented 38 DisplayName *string `json:"displayName,omitempty"` 39 // CreatedBy undocumented 40 CreatedBy *IdentitySet `json:"createdBy,omitempty"` 41 // LastModifiedBy undocumented 42 LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"` 43 // LastModifiedDateTime undocumented 44 LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"` 45 } 46 47 // OnenoteEntitySchemaObjectModel undocumented 48 type OnenoteEntitySchemaObjectModel struct { 49 // OnenoteEntityBaseModel is the base model of OnenoteEntitySchemaObjectModel 50 OnenoteEntityBaseModel 51 // CreatedDateTime undocumented 52 CreatedDateTime *time.Time `json:"createdDateTime,omitempty"` 53 } 54 55 // OnenoteOperation undocumented 56 type OnenoteOperation struct { 57 // Operation is the base model of OnenoteOperation 58 Operation 59 // ResourceLocation undocumented 60 ResourceLocation *string `json:"resourceLocation,omitempty"` 61 // ResourceID undocumented 62 ResourceID *string `json:"resourceId,omitempty"` 63 // Error undocumented 64 Error *OnenoteOperationError `json:"error,omitempty"` 65 // PercentComplete undocumented 66 PercentComplete *string `json:"percentComplete,omitempty"` 67 } 68 69 // OnenoteOperationError undocumented 70 type OnenoteOperationError struct { 71 // Object is the base model of OnenoteOperationError 72 Object 73 // Code undocumented 74 Code *string `json:"code,omitempty"` 75 // Message undocumented 76 Message *string `json:"message,omitempty"` 77 } 78 79 // OnenotePage undocumented 80 type OnenotePage struct { 81 // OnenoteEntitySchemaObjectModel is the base model of OnenotePage 82 OnenoteEntitySchemaObjectModel 83 // Title undocumented 84 Title *string `json:"title,omitempty"` 85 // CreatedByAppID undocumented 86 CreatedByAppID *string `json:"createdByAppId,omitempty"` 87 // Links undocumented 88 Links *PageLinks `json:"links,omitempty"` 89 // ContentURL undocumented 90 ContentURL *string `json:"contentUrl,omitempty"` 91 // Content undocumented 92 Content *Stream `json:"content,omitempty"` 93 // LastModifiedDateTime undocumented 94 LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"` 95 // Level undocumented 96 Level *int `json:"level,omitempty"` 97 // Order undocumented 98 Order *int `json:"order,omitempty"` 99 // UserTags undocumented 100 UserTags []string `json:"userTags,omitempty"` 101 // ParentSection undocumented 102 ParentSection *OnenoteSection `json:"parentSection,omitempty"` 103 // ParentNotebook undocumented 104 ParentNotebook *Notebook `json:"parentNotebook,omitempty"` 105 } 106 107 // OnenotePagePreview undocumented 108 type OnenotePagePreview struct { 109 // Object is the base model of OnenotePagePreview 110 Object 111 // PreviewText undocumented 112 PreviewText *string `json:"previewText,omitempty"` 113 // Links undocumented 114 Links *OnenotePagePreviewLinks `json:"links,omitempty"` 115 } 116 117 // OnenotePagePreviewLinks undocumented 118 type OnenotePagePreviewLinks struct { 119 // Object is the base model of OnenotePagePreviewLinks 120 Object 121 // PreviewImageURL undocumented 122 PreviewImageURL *ExternalLink `json:"previewImageUrl,omitempty"` 123 } 124 125 // OnenotePatchContentCommand undocumented 126 type OnenotePatchContentCommand struct { 127 // Object is the base model of OnenotePatchContentCommand 128 Object 129 // Action undocumented 130 Action *OnenotePatchActionType `json:"action,omitempty"` 131 // Target undocumented 132 Target *string `json:"target,omitempty"` 133 // Content undocumented 134 Content *string `json:"content,omitempty"` 135 // Position undocumented 136 Position *OnenotePatchInsertPosition `json:"position,omitempty"` 137 } 138 139 // OnenoteResource undocumented 140 type OnenoteResource struct { 141 // OnenoteEntityBaseModel is the base model of OnenoteResource 142 OnenoteEntityBaseModel 143 // Content undocumented 144 Content *Stream `json:"content,omitempty"` 145 // ContentURL undocumented 146 ContentURL *string `json:"contentUrl,omitempty"` 147 } 148 149 // OnenoteSection undocumented 150 type OnenoteSection struct { 151 // OnenoteEntityHierarchyModel is the base model of OnenoteSection 152 OnenoteEntityHierarchyModel 153 // IsDefault undocumented 154 IsDefault *bool `json:"isDefault,omitempty"` 155 // Links undocumented 156 Links *SectionLinks `json:"links,omitempty"` 157 // PagesURL undocumented 158 PagesURL *string `json:"pagesUrl,omitempty"` 159 // ParentNotebook undocumented 160 ParentNotebook *Notebook `json:"parentNotebook,omitempty"` 161 // ParentSectionGroup undocumented 162 ParentSectionGroup *SectionGroup `json:"parentSectionGroup,omitempty"` 163 // Pages undocumented 164 Pages []OnenotePage `json:"pages,omitempty"` 165 }