convert

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvertRequestBody

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

func NewConvertRequestBody

func NewConvertRequestBody() *ConvertRequestBody

Instantiates a new convertRequestBody and sets the default values.

func (*ConvertRequestBody) GetAdditionalData

func (m *ConvertRequestBody) GetAdditionalData() map[string]interface{}

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 (*ConvertRequestBody) GetFieldDeserializers

The deserialization information for the current model

func (*ConvertRequestBody) GetFromUnit

Gets the fromUnit property value.

func (*ConvertRequestBody) GetNumber

Gets the number property value.

func (*ConvertRequestBody) GetToUnit

Gets the toUnit property value.

func (*ConvertRequestBody) IsNil

func (m *ConvertRequestBody) IsNil() bool

func (*ConvertRequestBody) Serialize

Serializes information the current object Parameters:

  • writer : Serialization writer to use to serialize this model

func (*ConvertRequestBody) SetAdditionalData

func (m *ConvertRequestBody) SetAdditionalData(value map[string]interface{})

Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. Parameters:

  • value : Value to set for the AdditionalData property.

func (*ConvertRequestBody) SetFromUnit

Sets the fromUnit property value. Parameters:

  • value : Value to set for the fromUnit property.

func (*ConvertRequestBody) SetNumber

Sets the number property value. Parameters:

  • value : Value to set for the number property.

func (*ConvertRequestBody) SetToUnit

Sets the toUnit property value. Parameters:

  • value : Value to set for the toUnit property.

type ConvertRequestBuilder

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

Builds and executes requests for operations under \workbooks\{driveItem-id}\workbook\functions\microsoft.graph.convert

func NewConvertRequestBuilder

Instantiates a new ConvertRequestBuilder and sets the default values. Parameters:

  • rawUrl : The raw URL to use for the request builder.
  • requestAdapter : The request adapter to use to execute the requests.

func NewConvertRequestBuilderInternal

func NewConvertRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *ConvertRequestBuilder

Instantiates a new ConvertRequestBuilder and sets the default values. Parameters:

  • pathParameters : Path parameters for the request
  • requestAdapter : The request adapter to use to execute the requests.

func (*ConvertRequestBuilder) CreatePostRequestInformation

Invoke action convert Parameters:

  • options : Options for the request

func (*ConvertRequestBuilder) Post

Invoke action convert Parameters:

  • options : Options for the request

type ConvertRequestBuilderPostOptions

type ConvertRequestBuilderPostOptions struct {
	//
	Body *ConvertRequestBody
	// Request headers
	H map[string]string
	// Request options
	O []ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestOption
	// Response handler to use in place of the default response handling provided by the core service
	ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler
}

Options for Post

type ConvertResponse

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

Union type wrapper for classes workbookFunctionResult

func NewConvertResponse

func NewConvertResponse() *ConvertResponse

Instantiates a new convertResponse and sets the default values.

func (*ConvertResponse) GetAdditionalData

func (m *ConvertResponse) GetAdditionalData() map[string]interface{}

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 (*ConvertResponse) GetFieldDeserializers

The deserialization information for the current model

func (*ConvertResponse) GetWorkbookFunctionResult

Gets the workbookFunctionResult property value. Union type representation for type workbookFunctionResult

func (*ConvertResponse) IsNil

func (m *ConvertResponse) IsNil() bool

func (*ConvertResponse) Serialize

Serializes information the current object Parameters:

  • writer : Serialization writer to use to serialize this model

func (*ConvertResponse) SetAdditionalData

func (m *ConvertResponse) SetAdditionalData(value map[string]interface{})

Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. Parameters:

  • value : Value to set for the AdditionalData property.

func (*ConvertResponse) SetWorkbookFunctionResult

Sets the workbookFunctionResult property value. Union type representation for type workbookFunctionResult Parameters:

  • value : Value to set for the workbookFunctionResult property.

Jump to

Keyboard shortcuts

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