Documentation ¶
Index ¶
- func CreateClonePostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type ClonePostRequestBody
- func (m *ClonePostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *ClonePostRequestBody) GetClassification() *string
- func (m *ClonePostRequestBody) GetDescription() *string
- func (m *ClonePostRequestBody) GetDisplayName() *string
- func (m *ClonePostRequestBody) GetFieldDeserializers() ...
- func (m *ClonePostRequestBody) GetMailNickname() *string
- func (m *ClonePostRequestBody) GetPartsToClone() ...
- func (m *ClonePostRequestBody) GetVisibility() ...
- func (m *ClonePostRequestBody) Serialize(...) error
- func (m *ClonePostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *ClonePostRequestBody) SetClassification(value *string)
- func (m *ClonePostRequestBody) SetDescription(value *string)
- func (m *ClonePostRequestBody) SetDisplayName(value *string)
- func (m *ClonePostRequestBody) SetMailNickname(value *string)
- func (m *ClonePostRequestBody) SetPartsToClone(...)
- func (m *ClonePostRequestBody) SetVisibility(...)
- type ClonePostRequestBodyable
- type CloneRequestBuilder
- type CloneRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClonePostRequestBodyFromDiscriminatorValue ¶ added in v0.24.0
func CreateClonePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateClonePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type ClonePostRequestBody ¶ added in v0.24.0
type ClonePostRequestBody struct {
// contains filtered or unexported fields
}
ClonePostRequestBody provides operations to call the clone method.
func NewClonePostRequestBody ¶ added in v0.24.0
func NewClonePostRequestBody() *ClonePostRequestBody
NewClonePostRequestBody instantiates a new clonePostRequestBody and sets the default values.
func (*ClonePostRequestBody) GetAdditionalData ¶ added in v0.24.0
func (m *ClonePostRequestBody) 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 (*ClonePostRequestBody) GetClassification ¶ added in v0.24.0
func (m *ClonePostRequestBody) GetClassification() *string
GetClassification gets the classification property value. The classification property
func (*ClonePostRequestBody) GetDescription ¶ added in v0.24.0
func (m *ClonePostRequestBody) GetDescription() *string
GetDescription gets the description property value. The description property
func (*ClonePostRequestBody) GetDisplayName ¶ added in v0.24.0
func (m *ClonePostRequestBody) GetDisplayName() *string
GetDisplayName gets the displayName property value. The displayName property
func (*ClonePostRequestBody) GetFieldDeserializers ¶ added in v0.24.0
func (m *ClonePostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ClonePostRequestBody) GetMailNickname ¶ added in v0.24.0
func (m *ClonePostRequestBody) GetMailNickname() *string
GetMailNickname gets the mailNickname property value. The mailNickname property
func (*ClonePostRequestBody) GetPartsToClone ¶ added in v0.24.0
func (m *ClonePostRequestBody) GetPartsToClone() *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ClonableTeamParts
GetPartsToClone gets the partsToClone property value. The partsToClone property
func (*ClonePostRequestBody) GetVisibility ¶ added in v0.24.0
func (m *ClonePostRequestBody) GetVisibility() *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamVisibilityType
GetVisibility gets the visibility property value. The visibility property
func (*ClonePostRequestBody) Serialize ¶ added in v0.24.0
func (m *ClonePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ClonePostRequestBody) SetAdditionalData ¶ added in v0.24.0
func (m *ClonePostRequestBody) 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 (*ClonePostRequestBody) SetClassification ¶ added in v0.24.0
func (m *ClonePostRequestBody) SetClassification(value *string)
SetClassification sets the classification property value. The classification property
func (*ClonePostRequestBody) SetDescription ¶ added in v0.24.0
func (m *ClonePostRequestBody) SetDescription(value *string)
SetDescription sets the description property value. The description property
func (*ClonePostRequestBody) SetDisplayName ¶ added in v0.24.0
func (m *ClonePostRequestBody) SetDisplayName(value *string)
SetDisplayName sets the displayName property value. The displayName property
func (*ClonePostRequestBody) SetMailNickname ¶ added in v0.24.0
func (m *ClonePostRequestBody) SetMailNickname(value *string)
SetMailNickname sets the mailNickname property value. The mailNickname property
func (*ClonePostRequestBody) SetPartsToClone ¶ added in v0.24.0
func (m *ClonePostRequestBody) SetPartsToClone(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ClonableTeamParts)
SetPartsToClone sets the partsToClone property value. The partsToClone property
func (*ClonePostRequestBody) SetVisibility ¶ added in v0.24.0
func (m *ClonePostRequestBody) SetVisibility(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamVisibilityType)
SetVisibility sets the visibility property value. The visibility property
type ClonePostRequestBodyable ¶ added in v0.24.0
type ClonePostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetClassification() *string GetDescription() *string GetDisplayName() *string GetMailNickname() *string GetPartsToClone() *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ClonableTeamParts GetVisibility() *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamVisibilityType SetClassification(value *string) SetDescription(value *string) SetDisplayName(value *string) SetMailNickname(value *string) SetPartsToClone(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ClonableTeamParts) SetVisibility(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamVisibilityType) }
ClonePostRequestBodyable
type CloneRequestBuilder ¶
type CloneRequestBuilder struct {
// contains filtered or unexported fields
}
CloneRequestBuilder provides operations to call the clone method.
func NewCloneRequestBuilder ¶
func NewCloneRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CloneRequestBuilder
NewCloneRequestBuilder instantiates a new CloneRequestBuilder and sets the default values.
func NewCloneRequestBuilderInternal ¶
func NewCloneRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CloneRequestBuilder
NewCloneRequestBuilderInternal instantiates a new CloneRequestBuilder and sets the default values.
func (*CloneRequestBuilder) CreatePostRequestInformation ¶
func (m *CloneRequestBuilder) CreatePostRequestInformation(ctx context.Context, body ClonePostRequestBodyable, requestConfiguration *CloneRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds.
func (*CloneRequestBuilder) Post ¶
func (m *CloneRequestBuilder) Post(ctx context.Context, body ClonePostRequestBodyable, requestConfiguration *CloneRequestBuilderPostRequestConfiguration) error
Post create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds.
type CloneRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type CloneRequestBuilderPostRequestConfiguration struct { // Request headers Headers map[string]string // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
CloneRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.