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

     1  // Code generated by msgraph.go/gen DO NOT EDIT.
     2  
     3  package msgraph
     4  
     5  import "time"
     6  
     7  // Item undocumented
     8  type Item struct {
     9  	// Entity is the base model of Item
    10  	Entity
    11  	// Number undocumented
    12  	Number *string `json:"number,omitempty"`
    13  	// DisplayName undocumented
    14  	DisplayName *string `json:"displayName,omitempty"`
    15  	// Type undocumented
    16  	Type *string `json:"type,omitempty"`
    17  	// ItemCategoryID undocumented
    18  	ItemCategoryID *UUID `json:"itemCategoryId,omitempty"`
    19  	// ItemCategoryCode undocumented
    20  	ItemCategoryCode *string `json:"itemCategoryCode,omitempty"`
    21  	// Blocked undocumented
    22  	Blocked *bool `json:"blocked,omitempty"`
    23  	// BaseUnitOfMeasureID undocumented
    24  	BaseUnitOfMeasureID *UUID `json:"baseUnitOfMeasureId,omitempty"`
    25  	// Gtin undocumented
    26  	Gtin *string `json:"gtin,omitempty"`
    27  	// Inventory undocumented
    28  	Inventory *int `json:"inventory,omitempty"`
    29  	// UnitPrice undocumented
    30  	UnitPrice *int `json:"unitPrice,omitempty"`
    31  	// PriceIncludesTax undocumented
    32  	PriceIncludesTax *bool `json:"priceIncludesTax,omitempty"`
    33  	// UnitCost undocumented
    34  	UnitCost *int `json:"unitCost,omitempty"`
    35  	// TaxGroupID undocumented
    36  	TaxGroupID *UUID `json:"taxGroupId,omitempty"`
    37  	// TaxGroupCode undocumented
    38  	TaxGroupCode *string `json:"taxGroupCode,omitempty"`
    39  	// LastModifiedDateTime undocumented
    40  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
    41  	// Picture undocumented
    42  	Picture []Picture `json:"picture,omitempty"`
    43  	// ItemCategory undocumented
    44  	ItemCategory *ItemCategory `json:"itemCategory,omitempty"`
    45  }
    46  
    47  // ItemActionSet undocumented
    48  type ItemActionSet struct {
    49  	// Object is the base model of ItemActionSet
    50  	Object
    51  	// Comment undocumented
    52  	Comment *CommentAction `json:"comment,omitempty"`
    53  	// Create undocumented
    54  	Create *CreateAction `json:"create,omitempty"`
    55  	// Delete undocumented
    56  	Delete *DeleteAction `json:"delete,omitempty"`
    57  	// Edit undocumented
    58  	Edit *EditAction `json:"edit,omitempty"`
    59  	// Mention undocumented
    60  	Mention *MentionAction `json:"mention,omitempty"`
    61  	// Move undocumented
    62  	Move *MoveAction `json:"move,omitempty"`
    63  	// Rename undocumented
    64  	Rename *RenameAction `json:"rename,omitempty"`
    65  	// Restore undocumented
    66  	Restore *RestoreAction `json:"restore,omitempty"`
    67  	// Share undocumented
    68  	Share *ShareAction `json:"share,omitempty"`
    69  	// Version undocumented
    70  	Version *VersionAction `json:"version,omitempty"`
    71  }
    72  
    73  // ItemActionStat undocumented
    74  type ItemActionStat struct {
    75  	// Object is the base model of ItemActionStat
    76  	Object
    77  	// ActionCount undocumented
    78  	ActionCount *int `json:"actionCount,omitempty"`
    79  	// ActorCount undocumented
    80  	ActorCount *int `json:"actorCount,omitempty"`
    81  }
    82  
    83  // ItemActivity undocumented
    84  type ItemActivity struct {
    85  	// Entity is the base model of ItemActivity
    86  	Entity
    87  	// Access undocumented
    88  	Access *AccessAction `json:"access,omitempty"`
    89  	// ActivityDateTime undocumented
    90  	ActivityDateTime *time.Time `json:"activityDateTime,omitempty"`
    91  	// Actor undocumented
    92  	Actor *IdentitySet `json:"actor,omitempty"`
    93  	// DriveItem undocumented
    94  	DriveItem *DriveItem `json:"driveItem,omitempty"`
    95  }
    96  
    97  // ItemActivityOLD undocumented
    98  type ItemActivityOLD struct {
    99  	// Entity is the base model of ItemActivityOLD
   100  	Entity
   101  	// Action undocumented
   102  	Action *ItemActionSet `json:"action,omitempty"`
   103  	// Actor undocumented
   104  	Actor *IdentitySet `json:"actor,omitempty"`
   105  	// Times undocumented
   106  	Times *ItemActivityTimeSet `json:"times,omitempty"`
   107  	// DriveItem undocumented
   108  	DriveItem *DriveItem `json:"driveItem,omitempty"`
   109  	// ListItem undocumented
   110  	ListItem *ListItem `json:"listItem,omitempty"`
   111  }
   112  
   113  // ItemActivityStat undocumented
   114  type ItemActivityStat struct {
   115  	// Entity is the base model of ItemActivityStat
   116  	Entity
   117  	// StartDateTime undocumented
   118  	StartDateTime *time.Time `json:"startDateTime,omitempty"`
   119  	// EndDateTime undocumented
   120  	EndDateTime *time.Time `json:"endDateTime,omitempty"`
   121  	// Access undocumented
   122  	Access *ItemActionStat `json:"access,omitempty"`
   123  	// Create undocumented
   124  	Create *ItemActionStat `json:"create,omitempty"`
   125  	// Delete undocumented
   126  	Delete *ItemActionStat `json:"delete,omitempty"`
   127  	// Edit undocumented
   128  	Edit *ItemActionStat `json:"edit,omitempty"`
   129  	// Move undocumented
   130  	Move *ItemActionStat `json:"move,omitempty"`
   131  	// IsTrending undocumented
   132  	IsTrending *bool `json:"isTrending,omitempty"`
   133  	// IncompleteData undocumented
   134  	IncompleteData *IncompleteData `json:"incompleteData,omitempty"`
   135  	// Activities undocumented
   136  	Activities []ItemActivity `json:"activities,omitempty"`
   137  }
   138  
   139  // ItemActivityTimeSet undocumented
   140  type ItemActivityTimeSet struct {
   141  	// Object is the base model of ItemActivityTimeSet
   142  	Object
   143  	// LastRecordedDateTime undocumented
   144  	LastRecordedDateTime *time.Time `json:"lastRecordedDateTime,omitempty"`
   145  	// ObservedDateTime undocumented
   146  	ObservedDateTime *time.Time `json:"observedDateTime,omitempty"`
   147  	// RecordedDateTime undocumented
   148  	RecordedDateTime *time.Time `json:"recordedDateTime,omitempty"`
   149  }
   150  
   151  // ItemAnalytics undocumented
   152  type ItemAnalytics struct {
   153  	// Entity is the base model of ItemAnalytics
   154  	Entity
   155  	// ItemActivityStats undocumented
   156  	ItemActivityStats []ItemActivityStat `json:"itemActivityStats,omitempty"`
   157  	// AllTime undocumented
   158  	AllTime *ItemActivityStat `json:"allTime,omitempty"`
   159  	// LastSevenDays undocumented
   160  	LastSevenDays *ItemActivityStat `json:"lastSevenDays,omitempty"`
   161  }
   162  
   163  // ItemAttachment undocumented
   164  type ItemAttachment struct {
   165  	// Attachment is the base model of ItemAttachment
   166  	Attachment
   167  	// Item undocumented
   168  	Item *OutlookItem `json:"item,omitempty"`
   169  }
   170  
   171  // ItemBody undocumented
   172  type ItemBody struct {
   173  	// Object is the base model of ItemBody
   174  	Object
   175  	// ContentType undocumented
   176  	ContentType *BodyType `json:"contentType,omitempty"`
   177  	// Content undocumented
   178  	Content *string `json:"content,omitempty"`
   179  }
   180  
   181  // ItemCategory undocumented
   182  type ItemCategory struct {
   183  	// Entity is the base model of ItemCategory
   184  	Entity
   185  	// Code undocumented
   186  	Code *string `json:"code,omitempty"`
   187  	// DisplayName undocumented
   188  	DisplayName *string `json:"displayName,omitempty"`
   189  	// LastModifiedDateTime undocumented
   190  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
   191  }
   192  
   193  // ItemEmail undocumented
   194  type ItemEmail struct {
   195  	// ItemFacet is the base model of ItemEmail
   196  	ItemFacet
   197  	// Address undocumented
   198  	Address *string `json:"address,omitempty"`
   199  	// DisplayName undocumented
   200  	DisplayName *string `json:"displayName,omitempty"`
   201  	// Type undocumented
   202  	Type *EmailType `json:"type,omitempty"`
   203  }
   204  
   205  // ItemFacet undocumented
   206  type ItemFacet struct {
   207  	// Entity is the base model of ItemFacet
   208  	Entity
   209  	// AllowedAudiences undocumented
   210  	AllowedAudiences *AllowedAudiences `json:"allowedAudiences,omitempty"`
   211  	// Inference undocumented
   212  	Inference *InferenceData `json:"inference,omitempty"`
   213  	// CreatedDateTime undocumented
   214  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
   215  	// CreatedBy undocumented
   216  	CreatedBy *IdentitySet `json:"createdBy,omitempty"`
   217  	// LastModifiedDateTime undocumented
   218  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
   219  	// LastModifiedBy undocumented
   220  	LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
   221  }
   222  
   223  // ItemPhone undocumented
   224  type ItemPhone struct {
   225  	// ItemFacet is the base model of ItemPhone
   226  	ItemFacet
   227  	// DisplayName undocumented
   228  	DisplayName *string `json:"displayName,omitempty"`
   229  	// Type undocumented
   230  	Type *PhoneType `json:"type,omitempty"`
   231  	// Number undocumented
   232  	Number *string `json:"number,omitempty"`
   233  }
   234  
   235  // ItemPreviewInfo undocumented
   236  type ItemPreviewInfo struct {
   237  	// Object is the base model of ItemPreviewInfo
   238  	Object
   239  	// GetURL undocumented
   240  	GetURL *string `json:"getUrl,omitempty"`
   241  	// PostParameters undocumented
   242  	PostParameters *string `json:"postParameters,omitempty"`
   243  	// PostURL undocumented
   244  	PostURL *string `json:"postUrl,omitempty"`
   245  }
   246  
   247  // ItemReference undocumented
   248  type ItemReference struct {
   249  	// Object is the base model of ItemReference
   250  	Object
   251  	// DriveID undocumented
   252  	DriveID *string `json:"driveId,omitempty"`
   253  	// DriveType undocumented
   254  	DriveType *string `json:"driveType,omitempty"`
   255  	// ID undocumented
   256  	ID *string `json:"id,omitempty"`
   257  	// Name undocumented
   258  	Name *string `json:"name,omitempty"`
   259  	// Path undocumented
   260  	Path *string `json:"path,omitempty"`
   261  	// ShareID undocumented
   262  	ShareID *string `json:"shareId,omitempty"`
   263  	// SharepointIDs undocumented
   264  	SharepointIDs *SharepointIDs `json:"sharepointIds,omitempty"`
   265  	// SiteID undocumented
   266  	SiteID *string `json:"siteId,omitempty"`
   267  }