Documentation ¶
Index ¶
- type Grant
- type GrantRequestBody
- func (m *GrantRequestBody) GetAdditionalData() map[string]interface{}
- func (m *GrantRequestBody) GetFieldDeserializers() map[string]func(interface{}, ...) error
- func (m *GrantRequestBody) GetRecipients() ...
- func (m *GrantRequestBody) GetRoles() []string
- func (m *GrantRequestBody) IsNil() bool
- func (m *GrantRequestBody) Serialize(...) error
- func (m *GrantRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *GrantRequestBody) SetRecipients(...)
- func (m *GrantRequestBody) SetRoles(value []string)
- type GrantRequestBuilder
- type GrantRequestBuilderPostOptions
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 (*Grant) 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 (*Grant) GetFieldDeserializers ¶
func (m *Grant) GetFieldDeserializers() map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode) error
The deserialization information for the current model
func (*Grant) Serialize ¶
func (m *Grant) Serialize(writer i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.SerializationWriter) error
Serializes information the current object Parameters:
- writer : Serialization writer to use to serialize this model
func (*Grant) 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. 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 ¶
func (m *GrantRequestBody) GetFieldDeserializers() map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode) error
The deserialization information for the current model
func (*GrantRequestBody) GetRecipients ¶
func (m *GrantRequestBody) GetRecipients() []i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.DriveRecipient
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 ¶
func (m *GrantRequestBody) Serialize(writer i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.SerializationWriter) error
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 ¶
func (m *GrantRequestBody) SetRecipients(value []i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.DriveRecipient)
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 ¶
func NewGrantRequestBuilder(rawUrl string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *GrantRequestBuilder
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 ¶
func (m *GrantRequestBuilder) CreatePostRequestInformation(options *GrantRequestBuilderPostOptions) (*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error)
Invoke action grant Parameters:
- options : Options for the request
func (*GrantRequestBuilder) Post ¶
func (m *GrantRequestBuilder) Post(options *GrantRequestBuilderPostOptions) ([]Grant, error)
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