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

grant

package
v0.41.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGrantPostRequestBodyFromDiscriminatorValue added in v0.24.0

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

func CreateGrantResponseFromDiscriminatorValue

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

Types

type GrantPostRequestBody added in v0.24.0

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

GrantPostRequestBody provides operations to call the grant method.

func NewGrantPostRequestBody added in v0.24.0

func NewGrantPostRequestBody() *GrantPostRequestBody

NewGrantPostRequestBody instantiates a new grantPostRequestBody and sets the default values.

func (*GrantPostRequestBody) GetAdditionalData added in v0.24.0

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

GetFieldDeserializers the deserialization information for the current model

func (*GrantPostRequestBody) GetRecipients added in v0.24.0

GetRecipients gets the recipients property value. The recipients property

func (*GrantPostRequestBody) GetRoles added in v0.24.0

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

GetRoles gets the roles property value. The roles property

func (*GrantPostRequestBody) Serialize added in v0.24.0

Serialize serializes information the current object

func (*GrantPostRequestBody) SetAdditionalData added in v0.24.0

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

SetRecipients sets the recipients property value. The recipients property

func (*GrantPostRequestBody) SetRoles added in v0.24.0

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

SetRoles sets the roles property value. The roles property

type GrantRequestBuilder

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

GrantRequestBuilder provides operations to call the grant method.

func NewGrantRequestBuilder

NewGrantRequestBuilder instantiates a new GrantRequestBuilder and sets the default values.

func NewGrantRequestBuilderInternal

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

NewGrantRequestBuilderInternal instantiates a new GrantRequestBuilder and sets the default values.

func (*GrantRequestBuilder) CreatePostRequestInformation

CreatePostRequestInformation grant users access to a link represented by a [permission][].

func (*GrantRequestBuilder) CreatePostRequestInformationWithRequestConfiguration added in v0.22.0

CreatePostRequestInformationWithRequestConfiguration grant users access to a link represented by a [permission][].

func (*GrantRequestBuilder) Post

Post grant users access to a link represented by a [permission][].

type GrantRequestBuilderPostRequestConfiguration added in v0.22.0

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

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

type GrantResponse

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

GrantResponse provides operations to call the grant method.

func NewGrantResponse

func NewGrantResponse() *GrantResponse

NewGrantResponse instantiates a new grantResponse and sets the default values.

func (*GrantResponse) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*GrantResponse) GetValue

GetValue gets the value property value. The value property

func (*GrantResponse) Serialize

Serialize serializes information the current object

func (*GrantResponse) SetAdditionalData

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

SetValue sets the value property value. The value property

Jump to

Keyboard shortcuts

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