Documentation ¶
Index ¶
- func CreateArchivePostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type ArchivePostRequestBody
- func (m *ArchivePostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *ArchivePostRequestBody) GetFieldDeserializers() ...
- func (m *ArchivePostRequestBody) GetShouldSetSpoSiteReadOnlyForMembers() *bool
- func (m *ArchivePostRequestBody) Serialize(...) error
- func (m *ArchivePostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *ArchivePostRequestBody) SetShouldSetSpoSiteReadOnlyForMembers(value *bool)
- type ArchivePostRequestBodyable
- type ArchiveRequestBuilder
- type ArchiveRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArchivePostRequestBodyFromDiscriminatorValue ¶ added in v0.24.0
func CreateArchivePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateArchivePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type ArchivePostRequestBody ¶ added in v0.24.0
type ArchivePostRequestBody struct {
// contains filtered or unexported fields
}
ArchivePostRequestBody provides operations to call the archive method.
func NewArchivePostRequestBody ¶ added in v0.24.0
func NewArchivePostRequestBody() *ArchivePostRequestBody
NewArchivePostRequestBody instantiates a new archivePostRequestBody and sets the default values.
func (*ArchivePostRequestBody) GetAdditionalData ¶ added in v0.24.0
func (m *ArchivePostRequestBody) 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 (*ArchivePostRequestBody) GetFieldDeserializers ¶ added in v0.24.0
func (m *ArchivePostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ArchivePostRequestBody) GetShouldSetSpoSiteReadOnlyForMembers ¶ added in v0.24.0
func (m *ArchivePostRequestBody) GetShouldSetSpoSiteReadOnlyForMembers() *bool
GetShouldSetSpoSiteReadOnlyForMembers gets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property
func (*ArchivePostRequestBody) Serialize ¶ added in v0.24.0
func (m *ArchivePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ArchivePostRequestBody) SetAdditionalData ¶ added in v0.24.0
func (m *ArchivePostRequestBody) 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 (*ArchivePostRequestBody) SetShouldSetSpoSiteReadOnlyForMembers ¶ added in v0.24.0
func (m *ArchivePostRequestBody) SetShouldSetSpoSiteReadOnlyForMembers(value *bool)
SetShouldSetSpoSiteReadOnlyForMembers sets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property
type ArchivePostRequestBodyable ¶ added in v0.24.0
type ArchivePostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetShouldSetSpoSiteReadOnlyForMembers() *bool SetShouldSetSpoSiteReadOnlyForMembers(value *bool) }
ArchivePostRequestBodyable
type ArchiveRequestBuilder ¶
type ArchiveRequestBuilder struct {
// contains filtered or unexported fields
}
ArchiveRequestBuilder provides operations to call the archive method.
func NewArchiveRequestBuilder ¶
func NewArchiveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ArchiveRequestBuilder
NewArchiveRequestBuilder instantiates a new ArchiveRequestBuilder and sets the default values.
func NewArchiveRequestBuilderInternal ¶
func NewArchiveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ArchiveRequestBuilder
NewArchiveRequestBuilderInternal instantiates a new ArchiveRequestBuilder and sets the default values.
func (*ArchiveRequestBuilder) CreatePostRequestInformation ¶
func (m *ArchiveRequestBuilder) CreatePostRequestInformation(ctx context.Context, body ArchivePostRequestBodyable, requestConfiguration *ArchiveRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive.
func (*ArchiveRequestBuilder) Post ¶
func (m *ArchiveRequestBuilder) Post(ctx context.Context, body ArchivePostRequestBodyable, requestConfiguration *ArchiveRequestBuilderPostRequestConfiguration) error
Post archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive.
type ArchiveRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type ArchiveRequestBuilderPostRequestConfiguration struct { // Request headers Headers map[string]string // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ArchiveRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.