Documentation
¶
Index ¶
- type AttachmentsRequestBuilder
- func (m *AttachmentsRequestBuilder) Count() ...
- func (m *AttachmentsRequestBuilder) CreateGetRequestInformation(ctx context.Context, ...) (...)
- func (m *AttachmentsRequestBuilder) CreatePostRequestInformation(ctx context.Context, ...) (...)
- func (m *AttachmentsRequestBuilder) CreateUploadSession() ...
- func (m *AttachmentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *AttachmentsRequestBuilder) Post(ctx context.Context, ...) (...)
- type AttachmentsRequestBuilderGetQueryParameters
- type AttachmentsRequestBuilderGetRequestConfiguration
- type AttachmentsRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachmentsRequestBuilder ¶
type AttachmentsRequestBuilder struct {
// contains filtered or unexported fields
}
AttachmentsRequestBuilder provides operations to manage the attachments property of the microsoft.graph.message entity.
func NewAttachmentsRequestBuilder ¶
func NewAttachmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AttachmentsRequestBuilder
NewAttachmentsRequestBuilder instantiates a new AttachmentsRequestBuilder and sets the default values.
func NewAttachmentsRequestBuilderInternal ¶
func NewAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AttachmentsRequestBuilder
NewAttachmentsRequestBuilderInternal instantiates a new AttachmentsRequestBuilder and sets the default values.
func (*AttachmentsRequestBuilder) Count ¶ added in v0.13.0
func (m *AttachmentsRequestBuilder) Count() *i80be073e11de269580d6337fecbf6a326c19b24a41153675ad9c6a7ac33db9bb.CountRequestBuilder
Count provides operations to count the resources in the collection.
func (*AttachmentsRequestBuilder) CreateGetRequestInformation ¶
func (m *AttachmentsRequestBuilder) CreateGetRequestInformation(ctx context.Context, requestConfiguration *AttachmentsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateGetRequestInformation retrieve a list of attachment objects.
func (*AttachmentsRequestBuilder) CreatePostRequestInformation ¶
func (m *AttachmentsRequestBuilder) CreatePostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Attachmentable, requestConfiguration *AttachmentsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.
func (*AttachmentsRequestBuilder) CreateUploadSession ¶
func (m *AttachmentsRequestBuilder) CreateUploadSession() *i73cded0702724dad4b6b231d49a24aa9723c63547ec848e12f131058cd264589.CreateUploadSessionRequestBuilder
CreateUploadSession provides operations to call the createUploadSession method.
func (*AttachmentsRequestBuilder) Get ¶
func (m *AttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *AttachmentsRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AttachmentCollectionResponseable, error)
Get retrieve a list of attachment objects.
func (*AttachmentsRequestBuilder) Post ¶
func (m *AttachmentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Attachmentable, requestConfiguration *AttachmentsRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Attachmentable, error)
Post use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.
type AttachmentsRequestBuilderGetQueryParameters ¶
type AttachmentsRequestBuilderGetQueryParameters struct {
// Include count of items
Count *bool `uriparametername:"%24count"`
// Expand related entities
Expand []string `uriparametername:"%24expand"`
// Filter items by property values
Filter *string `uriparametername:"%24filter"`
// Order items by property values
Orderby []string `uriparametername:"%24orderby"`
// Select properties to be returned
Select []string `uriparametername:"%24select"`
// Skip the first n items
Skip *int32 `uriparametername:"%24skip"`
// Show only the first n items
Top *int32 `uriparametername:"%24top"`
}
AttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects.
type AttachmentsRequestBuilderGetRequestConfiguration ¶ added in v0.22.0
type AttachmentsRequestBuilderGetRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Request query parameters
QueryParameters *AttachmentsRequestBuilderGetQueryParameters
}
AttachmentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type AttachmentsRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type AttachmentsRequestBuilderPostRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
AttachmentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.