grant

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 Grant

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

func NewGrant

func NewGrant() *Grant

Instantiates a new grant and sets the default values.

func (*Grant) GetAdditionalData

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

func (m *Grant) GetFieldDeserializers() map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode) error

The deserialization information for the current model

func (*Grant) IsNil

func (m *Grant) IsNil() bool

func (*Grant) Serialize

Serializes information the current object Parameters:

  • writer : Serialization writer to use to serialize this model

func (*Grant) SetAdditionalData

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

type GrantRequestBody

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

func NewGrantRequestBody

func NewGrantRequestBody() *GrantRequestBody

Instantiates a new grantRequestBody and sets the default values.

func (*GrantRequestBody) GetAdditionalData

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

The deserialization information for the current model

func (*GrantRequestBody) GetRecipients

Gets the recipients property value.

func (*GrantRequestBody) GetRoles

func (m *GrantRequestBody) GetRoles() []string

Gets the roles property value.

func (*GrantRequestBody) IsNil

func (m *GrantRequestBody) IsNil() bool

func (*GrantRequestBody) Serialize

Serializes information the current object Parameters:

  • writer : Serialization writer to use to serialize this model

func (*GrantRequestBody) SetAdditionalData

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

Sets the recipients property value. Parameters:

  • value : Value to set for the recipients property.

func (*GrantRequestBody) SetRoles

func (m *GrantRequestBody) SetRoles(value []string)

Sets the roles property value. Parameters:

  • value : Value to set for the roles property.

type GrantRequestBuilder

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

Builds and executes requests for operations under \shares\{sharedDriveItem-id}\permission\microsoft.graph.grant

func NewGrantRequestBuilder

Instantiates a new GrantRequestBuilder 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 NewGrantRequestBuilderInternal

func NewGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *GrantRequestBuilder

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

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

func (*GrantRequestBuilder) CreatePostRequestInformation

Invoke action grant Parameters:

  • options : Options for the request

func (*GrantRequestBuilder) Post

Invoke action grant Parameters:

  • options : Options for the request

type GrantRequestBuilderPostOptions

type GrantRequestBuilderPostOptions struct {
	//
	Body *GrantRequestBody
	// 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

Jump to

Keyboard shortcuts

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