Documentation
¶
Index ¶
- func CreateSendMailPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type SendMailPostRequestBody
- func (m *SendMailPostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *SendMailPostRequestBody) GetFieldDeserializers() ...
- func (m *SendMailPostRequestBody) GetMessage() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Messageable
- func (m *SendMailPostRequestBody) GetSaveToSentItems() *bool
- func (m *SendMailPostRequestBody) Serialize(...) error
- func (m *SendMailPostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *SendMailPostRequestBody) SetMessage(...)
- func (m *SendMailPostRequestBody) SetSaveToSentItems(value *bool)
- type SendMailPostRequestBodyable
- type SendMailRequestBuilder
- func (m *SendMailRequestBuilder) CreatePostRequestInformation(body SendMailPostRequestBodyable) (...)
- func (m *SendMailRequestBuilder) CreatePostRequestInformationWithRequestConfiguration(body SendMailPostRequestBodyable, ...) (...)
- func (m *SendMailRequestBuilder) Post(ctx context.Context, body SendMailPostRequestBodyable, ...) error
- type SendMailRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSendMailPostRequestBodyFromDiscriminatorValue ¶ added in v0.24.0
func CreateSendMailPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateSendMailPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type SendMailPostRequestBody ¶ added in v0.24.0
type SendMailPostRequestBody struct {
// contains filtered or unexported fields
}
SendMailPostRequestBody provides operations to call the sendMail method.
func NewSendMailPostRequestBody ¶ added in v0.24.0
func NewSendMailPostRequestBody() *SendMailPostRequestBody
NewSendMailPostRequestBody instantiates a new sendMailPostRequestBody and sets the default values.
func (*SendMailPostRequestBody) GetAdditionalData ¶ added in v0.24.0
func (m *SendMailPostRequestBody) GetAdditionalData() map[string]interface{}
GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*SendMailPostRequestBody) GetFieldDeserializers ¶ added in v0.24.0
func (m *SendMailPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*SendMailPostRequestBody) GetMessage ¶ added in v0.24.0
func (m *SendMailPostRequestBody) GetMessage() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Messageable
GetMessage gets the message property value. The Message property
func (*SendMailPostRequestBody) GetSaveToSentItems ¶ added in v0.24.0
func (m *SendMailPostRequestBody) GetSaveToSentItems() *bool
GetSaveToSentItems gets the saveToSentItems property value. The SaveToSentItems property
func (*SendMailPostRequestBody) Serialize ¶ added in v0.24.0
func (m *SendMailPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*SendMailPostRequestBody) SetAdditionalData ¶ added in v0.24.0
func (m *SendMailPostRequestBody) SetAdditionalData(value map[string]interface{})
SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*SendMailPostRequestBody) SetMessage ¶ added in v0.24.0
func (m *SendMailPostRequestBody) SetMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Messageable)
SetMessage sets the message property value. The Message property
func (*SendMailPostRequestBody) SetSaveToSentItems ¶ added in v0.24.0
func (m *SendMailPostRequestBody) SetSaveToSentItems(value *bool)
SetSaveToSentItems sets the saveToSentItems property value. The SaveToSentItems property
type SendMailPostRequestBodyable ¶ added in v0.24.0
type SendMailPostRequestBodyable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetMessage() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Messageable
GetSaveToSentItems() *bool
SetMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Messageable)
SetSaveToSentItems(value *bool)
}
SendMailPostRequestBodyable
type SendMailRequestBuilder ¶
type SendMailRequestBuilder struct {
// contains filtered or unexported fields
}
SendMailRequestBuilder provides operations to call the sendMail method.
func NewSendMailRequestBuilder ¶
func NewSendMailRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SendMailRequestBuilder
NewSendMailRequestBuilder instantiates a new SendMailRequestBuilder and sets the default values.
func NewSendMailRequestBuilderInternal ¶
func NewSendMailRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SendMailRequestBuilder
NewSendMailRequestBuilderInternal instantiates a new SendMailRequestBuilder and sets the default values.
func (*SendMailRequestBuilder) CreatePostRequestInformation ¶
func (m *SendMailRequestBuilder) CreatePostRequestInformation(body SendMailPostRequestBodyable) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation send the message specified in the request body using either JSON or MIME format. When using JSON format you can include a file attachment in the same **sendMail** action call. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in **base64** format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the **Sent Items** folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here.
func (*SendMailRequestBuilder) CreatePostRequestInformationWithRequestConfiguration ¶ added in v0.22.0
func (m *SendMailRequestBuilder) CreatePostRequestInformationWithRequestConfiguration(body SendMailPostRequestBodyable, requestConfiguration *SendMailRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformationWithRequestConfiguration send the message specified in the request body using either JSON or MIME format. When using JSON format you can include a file attachment in the same **sendMail** action call. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in **base64** format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the **Sent Items** folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here.
func (*SendMailRequestBuilder) Post ¶
func (m *SendMailRequestBuilder) Post(ctx context.Context, body SendMailPostRequestBodyable, requestConfiguration *SendMailRequestBuilderPostRequestConfiguration) error
Post send the message specified in the request body using either JSON or MIME format. When using JSON format you can include a file attachment in the same **sendMail** action call. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in **base64** format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the **Sent Items** folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here.
type SendMailRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type SendMailRequestBuilderPostRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
SendMailRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.