Documentation
¶
Index ¶
- func CreateRejectPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type RejectPostRequestBody
- func (m *RejectPostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *RejectPostRequestBody) GetCallbackUri() *string
- func (m *RejectPostRequestBody) GetFieldDeserializers() ...
- func (m *RejectPostRequestBody) GetReason() ...
- func (m *RejectPostRequestBody) Serialize(...) error
- func (m *RejectPostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *RejectPostRequestBody) SetCallbackUri(value *string)
- func (m *RejectPostRequestBody) SetReason(...)
- type RejectPostRequestBodyable
- type RejectRequestBuilder
- func (m *RejectRequestBuilder) CreatePostRequestInformation(body RejectPostRequestBodyable) (...)
- func (m *RejectRequestBuilder) CreatePostRequestInformationWithRequestConfiguration(body RejectPostRequestBodyable, ...) (...)
- func (m *RejectRequestBuilder) Post(ctx context.Context, body RejectPostRequestBodyable, ...) error
- type RejectRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRejectPostRequestBodyFromDiscriminatorValue ¶ added in v0.24.0
func CreateRejectPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateRejectPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type RejectPostRequestBody ¶ added in v0.24.0
type RejectPostRequestBody struct {
// contains filtered or unexported fields
}
RejectPostRequestBody provides operations to call the reject method.
func NewRejectPostRequestBody ¶ added in v0.24.0
func NewRejectPostRequestBody() *RejectPostRequestBody
NewRejectPostRequestBody instantiates a new rejectPostRequestBody and sets the default values.
func (*RejectPostRequestBody) GetAdditionalData ¶ added in v0.24.0
func (m *RejectPostRequestBody) 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 (*RejectPostRequestBody) GetCallbackUri ¶ added in v0.24.0
func (m *RejectPostRequestBody) GetCallbackUri() *string
GetCallbackUri gets the callbackUri property value. The callbackUri property
func (*RejectPostRequestBody) GetFieldDeserializers ¶ added in v0.24.0
func (m *RejectPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*RejectPostRequestBody) GetReason ¶ added in v0.24.0
func (m *RejectPostRequestBody) GetReason() *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RejectReason
GetReason gets the reason property value. The reason property
func (*RejectPostRequestBody) Serialize ¶ added in v0.24.0
func (m *RejectPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*RejectPostRequestBody) SetAdditionalData ¶ added in v0.24.0
func (m *RejectPostRequestBody) 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 (*RejectPostRequestBody) SetCallbackUri ¶ added in v0.24.0
func (m *RejectPostRequestBody) SetCallbackUri(value *string)
SetCallbackUri sets the callbackUri property value. The callbackUri property
func (*RejectPostRequestBody) SetReason ¶ added in v0.24.0
func (m *RejectPostRequestBody) SetReason(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RejectReason)
SetReason sets the reason property value. The reason property
type RejectPostRequestBodyable ¶ added in v0.24.0
type RejectPostRequestBodyable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetCallbackUri() *string
GetReason() *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RejectReason
SetCallbackUri(value *string)
SetReason(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RejectReason)
}
RejectPostRequestBodyable
type RejectRequestBuilder ¶
type RejectRequestBuilder struct {
// contains filtered or unexported fields
}
RejectRequestBuilder provides operations to call the reject method.
func NewRejectRequestBuilder ¶
func NewRejectRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *RejectRequestBuilder
NewRejectRequestBuilder instantiates a new RejectRequestBuilder and sets the default values.
func NewRejectRequestBuilderInternal ¶
func NewRejectRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *RejectRequestBuilder
NewRejectRequestBuilderInternal instantiates a new RejectRequestBuilder and sets the default values.
func (*RejectRequestBuilder) CreatePostRequestInformation ¶
func (m *RejectRequestBuilder) CreatePostRequestInformation(body RejectPostRequestBodyable) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the **chatInfo** and **meetingInfo** parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call.
func (*RejectRequestBuilder) CreatePostRequestInformationWithRequestConfiguration ¶ added in v0.22.0
func (m *RejectRequestBuilder) CreatePostRequestInformationWithRequestConfiguration(body RejectPostRequestBodyable, requestConfiguration *RejectRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformationWithRequestConfiguration enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the **chatInfo** and **meetingInfo** parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call.
func (*RejectRequestBuilder) Post ¶
func (m *RejectRequestBuilder) Post(ctx context.Context, body RejectPostRequestBodyable, requestConfiguration *RejectRequestBuilderPostRequestConfiguration) error
Post enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the **chatInfo** and **meetingInfo** parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call.
type RejectRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type RejectRequestBuilderPostRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
RejectRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.