duration

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 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 DurationRequestBody

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

func NewDurationRequestBody

func NewDurationRequestBody() *DurationRequestBody

Instantiates a new durationRequestBody and sets the default values.

func (*DurationRequestBody) GetAdditionalData

func (m *DurationRequestBody) 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 (*DurationRequestBody) GetBasis

Gets the basis property value.

func (*DurationRequestBody) GetCoupon

Gets the coupon property value.

func (*DurationRequestBody) GetFieldDeserializers

The deserialization information for the current model

func (*DurationRequestBody) GetFrequency

Gets the frequency property value.

func (*DurationRequestBody) GetMaturity

Gets the maturity property value.

func (*DurationRequestBody) GetSettlement

Gets the settlement property value.

func (*DurationRequestBody) GetYld

Gets the yld property value.

func (*DurationRequestBody) IsNil

func (m *DurationRequestBody) IsNil() bool

func (*DurationRequestBody) Serialize

Serializes information the current object Parameters:

  • writer : Serialization writer to use to serialize this model

func (*DurationRequestBody) SetAdditionalData

func (m *DurationRequestBody) 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 (*DurationRequestBody) SetBasis

Sets the basis property value. Parameters:

  • value : Value to set for the basis property.

func (*DurationRequestBody) SetCoupon

Sets the coupon property value. Parameters:

  • value : Value to set for the coupon property.

func (*DurationRequestBody) SetFrequency

Sets the frequency property value. Parameters:

  • value : Value to set for the frequency property.

func (*DurationRequestBody) SetMaturity

Sets the maturity property value. Parameters:

  • value : Value to set for the maturity property.

func (*DurationRequestBody) SetSettlement

Sets the settlement property value. Parameters:

  • value : Value to set for the settlement property.

func (*DurationRequestBody) SetYld

Sets the yld property value. Parameters:

  • value : Value to set for the yld property.

type DurationRequestBuilder

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

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

func NewDurationRequestBuilder

Instantiates a new DurationRequestBuilder 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 NewDurationRequestBuilderInternal

func NewDurationRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *DurationRequestBuilder

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

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

func (*DurationRequestBuilder) CreatePostRequestInformation

Invoke action duration Parameters:

  • options : Options for the request

func (*DurationRequestBuilder) Post

Invoke action duration Parameters:

  • options : Options for the request

type DurationRequestBuilderPostOptions

type DurationRequestBuilderPostOptions struct {
	//
	Body *DurationRequestBody
	// 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 DurationResponse

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

Union type wrapper for classes workbookFunctionResult

func NewDurationResponse

func NewDurationResponse() *DurationResponse

Instantiates a new durationResponse and sets the default values.

func (*DurationResponse) GetAdditionalData

func (m *DurationResponse) 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 (*DurationResponse) GetFieldDeserializers

The deserialization information for the current model

func (*DurationResponse) GetWorkbookFunctionResult

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

func (*DurationResponse) IsNil

func (m *DurationResponse) IsNil() bool

func (*DurationResponse) Serialize

Serializes information the current object Parameters:

  • writer : Serialization writer to use to serialize this model

func (*DurationResponse) SetAdditionalData

func (m *DurationResponse) 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 (*DurationResponse) 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