Help us shape the future of Go! Take the 2026 Go Developer Survey

createforward

package
v0.47.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCreateForwardPostRequestBodyFromDiscriminatorValue added in v0.24.0

CreateCreateForwardPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type CreateForwardPostRequestBody added in v0.24.0

type CreateForwardPostRequestBody struct {
	// contains filtered or unexported fields
}

CreateForwardPostRequestBody provides operations to call the createForward method.

func NewCreateForwardPostRequestBody added in v0.24.0

func NewCreateForwardPostRequestBody() *CreateForwardPostRequestBody

NewCreateForwardPostRequestBody instantiates a new createForwardPostRequestBody and sets the default values.

func (*CreateForwardPostRequestBody) GetAdditionalData added in v0.24.0

func (m *CreateForwardPostRequestBody) 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 (*CreateForwardPostRequestBody) GetComment added in v0.24.0

func (m *CreateForwardPostRequestBody) GetComment() *string

GetComment gets the comment property value. The Comment property

func (*CreateForwardPostRequestBody) GetFieldDeserializers added in v0.24.0

GetFieldDeserializers the deserialization information for the current model

func (*CreateForwardPostRequestBody) GetMessage added in v0.24.0

GetMessage gets the message property value. The Message property

func (*CreateForwardPostRequestBody) GetToRecipients added in v0.24.0

GetToRecipients gets the toRecipients property value. The ToRecipients property

func (*CreateForwardPostRequestBody) Serialize added in v0.24.0

Serialize serializes information the current object

func (*CreateForwardPostRequestBody) SetAdditionalData added in v0.24.0

func (m *CreateForwardPostRequestBody) 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 (*CreateForwardPostRequestBody) SetComment added in v0.24.0

func (m *CreateForwardPostRequestBody) SetComment(value *string)

SetComment sets the comment property value. The Comment property

func (*CreateForwardPostRequestBody) SetMessage added in v0.24.0

SetMessage sets the message property value. The Message property

func (*CreateForwardPostRequestBody) SetToRecipients added in v0.24.0

SetToRecipients sets the toRecipients property value. The ToRecipients property

type CreateForwardRequestBuilder

type CreateForwardRequestBuilder struct {
	// contains filtered or unexported fields
}

CreateForwardRequestBuilder provides operations to call the createForward method.

func NewCreateForwardRequestBuilder

NewCreateForwardRequestBuilder instantiates a new CreateForwardRequestBuilder and sets the default values.

func NewCreateForwardRequestBuilderInternal

func NewCreateForwardRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CreateForwardRequestBuilder

NewCreateForwardRequestBuilderInternal instantiates a new CreateForwardRequestBuilder and sets the default values.

func (*CreateForwardRequestBuilder) CreatePostRequestInformation

CreatePostRequestInformation create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the **body** property of the `message` parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the `toRecipients` parameter or the **toRecipients** property of the `message` parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the **body** or change other message properties. 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. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation.

func (*CreateForwardRequestBuilder) Post

Post create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the **body** property of the `message` parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the `toRecipients` parameter or the **toRecipients** property of the `message` parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the **body** or change other message properties. 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. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation.

type CreateForwardRequestBuilderPostRequestConfiguration added in v0.22.0

type CreateForwardRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers map[string]string
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

CreateForwardRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL