Documentation ¶
Overview ¶
<GraphHelperSnippet>
Index ¶
- func CreateLocalUploadSession(m *drives.ItemItemsDriveItemItemRequestBuilder, filename string) *drives.ItemItemsItemCreateUploadSessionRequestBuilder
- type GraphHelper
- func (g *GraphHelper) GetInbox() (models.MessageCollectionResponseable, error)
- func (g *GraphHelper) GetUser() (models.Userable, error)
- func (g *GraphHelper) GetUserToken() (*string, error)
- func (g *GraphHelper) InitializeGraphForUserAuth() error
- func (g *GraphHelper) ListFiles() error
- func (g *GraphHelper) MakeGraphCall() error
- func (g *GraphHelper) SendMail(subject *string, body *string, recipient *string) error
- func (g *GraphHelper) UploadFile() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLocalUploadSession ¶
func CreateLocalUploadSession(m *drives.ItemItemsDriveItemItemRequestBuilder, filename string) *drives.ItemItemsItemCreateUploadSessionRequestBuilder
Types ¶
type GraphHelper ¶
type GraphHelper struct {
// contains filtered or unexported fields
}
func NewGraphHelper ¶
func NewGraphHelper() *GraphHelper
func (*GraphHelper) GetInbox ¶
func (g *GraphHelper) GetInbox() (models.MessageCollectionResponseable, error)
<GetInboxSnippet>
func (*GraphHelper) GetUser ¶
func (g *GraphHelper) GetUser() (models.Userable, error)
<GetUserSnippet>
func (*GraphHelper) GetUserToken ¶
func (g *GraphHelper) GetUserToken() (*string, error)
<GetUserTokenSnippet>
func (*GraphHelper) InitializeGraphForUserAuth ¶
func (g *GraphHelper) InitializeGraphForUserAuth() error
<UserAuthConfigSnippet>
func (*GraphHelper) ListFiles ¶
func (g *GraphHelper) ListFiles() error
func (*GraphHelper) MakeGraphCall ¶
func (g *GraphHelper) MakeGraphCall() error
<MakeGraphCallSnippet>
func (*GraphHelper) SendMail ¶
func (g *GraphHelper) SendMail(subject *string, body *string, recipient *string) error
<SendMailSnippet>
func (*GraphHelper) UploadFile ¶
func (g *GraphHelper) UploadFile() error
Click to show internal directories.
Click to hide internal directories.