teams

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemAuthenticationTokenPostResponseFromDiscriminatorValue

CreateItemAuthenticationTokenPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemGetResponseFromDiscriminatorValue

CreateItemGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemGetResponse_GetResponse_includedFromDiscriminatorValue

CreateItemGetResponse_GetResponse_includedFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemNotificationConfigurationsGetResponseFromDiscriminatorValue

CreateItemNotificationConfigurationsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemNotificationConfigurationsGetResponse_metaFromDiscriminatorValue

CreateItemNotificationConfigurationsGetResponse_metaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemRelationshipsOrganizationMembershipsGetResponseFromDiscriminatorValue

func CreateItemRelationshipsOrganizationMembershipsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)

CreateItemRelationshipsOrganizationMembershipsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemRelationshipsOrganizationMembershipsGetResponse_metaFromDiscriminatorValue

func CreateItemRelationshipsOrganizationMembershipsGetResponse_metaFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)

CreateItemRelationshipsOrganizationMembershipsGetResponse_metaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

Types

type ItemAuthenticationTokenPostResponse

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

func NewItemAuthenticationTokenPostResponse

func NewItemAuthenticationTokenPostResponse() *ItemAuthenticationTokenPostResponse

NewItemAuthenticationTokenPostResponse instantiates a new ItemAuthenticationTokenPostResponse and sets the default values.

func (*ItemAuthenticationTokenPostResponse) GetAdditionalData

func (m *ItemAuthenticationTokenPostResponse) GetAdditionalData() map[string]any

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. returns a map[string]any when successful

func (*ItemAuthenticationTokenPostResponse) GetData

GetData gets the data property value. The data property returns a []AuthenticationTokensable when successful

func (*ItemAuthenticationTokenPostResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemAuthenticationTokenPostResponse) Serialize

Serialize serializes information the current object

func (*ItemAuthenticationTokenPostResponse) SetAdditionalData

func (m *ItemAuthenticationTokenPostResponse) SetAdditionalData(value map[string]any)

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 (*ItemAuthenticationTokenPostResponse) SetData

SetData sets the data property value. The data property

type ItemAuthenticationTokenRequestBuilder

type ItemAuthenticationTokenRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemAuthenticationTokenRequestBuilder builds and executes requests for operations under \teams\{-id}\authentication-token

func NewItemAuthenticationTokenRequestBuilder

NewItemAuthenticationTokenRequestBuilder instantiates a new ItemAuthenticationTokenRequestBuilder and sets the default values.

func NewItemAuthenticationTokenRequestBuilderInternal

func NewItemAuthenticationTokenRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAuthenticationTokenRequestBuilder

NewItemAuthenticationTokenRequestBuilderInternal instantiates a new ItemAuthenticationTokenRequestBuilder and sets the default values.

func (*ItemAuthenticationTokenRequestBuilder) Delete

Delete delete an authentication token returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemAuthenticationTokenRequestBuilder) Get

Get get details about an authentication token returns a AuthenticationTokensEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemAuthenticationTokenRequestBuilder) Post

Post create an authentication token returns a ItemAuthenticationTokenPostResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemAuthenticationTokenRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation delete an authentication token returns a *RequestInformation when successful

func (*ItemAuthenticationTokenRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get details about an authentication token returns a *RequestInformation when successful

func (*ItemAuthenticationTokenRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemAuthenticationTokenRequestBuilder when successful

type ItemGetResponse

type ItemGetResponse struct {
	i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamsEnvelope
	// contains filtered or unexported fields
}

func NewItemGetResponse

func NewItemGetResponse() *ItemGetResponse

NewItemGetResponse instantiates a new ItemGetResponse and sets the default values.

func (*ItemGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemGetResponse) GetIncluded

GetIncluded gets the included property value. The included property returns a []ItemGetResponse_GetResponse_includedable when successful

func (*ItemGetResponse) Serialize

Serialize serializes information the current object

func (*ItemGetResponse) SetIncluded

SetIncluded sets the included property value. The included property

type ItemGetResponse_GetResponse_included

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

ItemGetResponse_GetResponse_included composed type wrapper for classes i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.OrganizationMembershipsable, i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Usersable

func NewItemGetResponse_GetResponse_included

func NewItemGetResponse_GetResponse_included() *ItemGetResponse_GetResponse_included

NewItemGetResponse_GetResponse_included instantiates a new ItemGetResponse_GetResponse_included and sets the default values.

func (*ItemGetResponse_GetResponse_included) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemGetResponse_GetResponse_included) GetIsComposedType

func (m *ItemGetResponse_GetResponse_included) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful

func (*ItemGetResponse_GetResponse_included) GetOrganizationMemberships

GetOrganizationMemberships gets the organizationMemberships property value. Composed type representation for type i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.OrganizationMembershipsable returns a OrganizationMembershipsable when successful

func (*ItemGetResponse_GetResponse_included) GetUsers

GetUsers gets the users property value. Composed type representation for type i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Usersable returns a Usersable when successful

func (*ItemGetResponse_GetResponse_included) Serialize

Serialize serializes information the current object

func (*ItemGetResponse_GetResponse_included) SetOrganizationMemberships

SetOrganizationMemberships sets the organizationMemberships property value. Composed type representation for type i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.OrganizationMembershipsable

func (*ItemGetResponse_GetResponse_included) SetUsers

SetUsers sets the users property value. Composed type representation for type i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Usersable

type ItemNotificationConfigurationsGetResponse

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

func NewItemNotificationConfigurationsGetResponse

func NewItemNotificationConfigurationsGetResponse() *ItemNotificationConfigurationsGetResponse

NewItemNotificationConfigurationsGetResponse instantiates a new ItemNotificationConfigurationsGetResponse and sets the default values.

func (*ItemNotificationConfigurationsGetResponse) GetAdditionalData

func (m *ItemNotificationConfigurationsGetResponse) GetAdditionalData() map[string]any

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. returns a map[string]any when successful

func (*ItemNotificationConfigurationsGetResponse) GetData

GetData gets the data property value. The data property returns a []NotificationConfigurationsable when successful

func (*ItemNotificationConfigurationsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

GetLinks gets the links property value. The links property returns a SelfWithPaginationable when successful

func (*ItemNotificationConfigurationsGetResponse) GetMeta

GetMeta gets the meta property value. The meta property returns a ItemNotificationConfigurationsGetResponse_metaable when successful

func (*ItemNotificationConfigurationsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemNotificationConfigurationsGetResponse) SetAdditionalData

func (m *ItemNotificationConfigurationsGetResponse) SetAdditionalData(value map[string]any)

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 (*ItemNotificationConfigurationsGetResponse) SetData

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*ItemNotificationConfigurationsGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type ItemNotificationConfigurationsGetResponse_meta

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

func NewItemNotificationConfigurationsGetResponse_meta

func NewItemNotificationConfigurationsGetResponse_meta() *ItemNotificationConfigurationsGetResponse_meta

NewItemNotificationConfigurationsGetResponse_meta instantiates a new ItemNotificationConfigurationsGetResponse_meta and sets the default values.

func (*ItemNotificationConfigurationsGetResponse_meta) GetAdditionalData

func (m *ItemNotificationConfigurationsGetResponse_meta) GetAdditionalData() map[string]any

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. returns a map[string]any when successful

func (*ItemNotificationConfigurationsGetResponse_meta) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemNotificationConfigurationsGetResponse_meta) GetPagination

GetPagination gets the pagination property value. The pagination property returns a Paginationable when successful

func (*ItemNotificationConfigurationsGetResponse_meta) Serialize

Serialize serializes information the current object

func (*ItemNotificationConfigurationsGetResponse_meta) SetAdditionalData

func (m *ItemNotificationConfigurationsGetResponse_meta) SetAdditionalData(value map[string]any)

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 (*ItemNotificationConfigurationsGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type ItemNotificationConfigurationsRequestBuilder

type ItemNotificationConfigurationsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemNotificationConfigurationsRequestBuilder builds and executes requests for operations under \teams\{-id}\notification-configurations

func NewItemNotificationConfigurationsRequestBuilder

NewItemNotificationConfigurationsRequestBuilder instantiates a new ItemNotificationConfigurationsRequestBuilder and sets the default values.

func NewItemNotificationConfigurationsRequestBuilderInternal

func NewItemNotificationConfigurationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemNotificationConfigurationsRequestBuilder

NewItemNotificationConfigurationsRequestBuilderInternal instantiates a new ItemNotificationConfigurationsRequestBuilder and sets the default values.

func (*ItemNotificationConfigurationsRequestBuilder) Get

Get list all notification configurations for a team. returns a ItemNotificationConfigurationsGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemNotificationConfigurationsRequestBuilder) Post

Post create a new notification configuration for a team. returns a NotificationConfigurationsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemNotificationConfigurationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all notification configurations for a team. returns a *RequestInformation when successful

func (*ItemNotificationConfigurationsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemNotificationConfigurationsRequestBuilder when successful

type ItemNotificationConfigurationsRequestBuilderGetQueryParameters

type ItemNotificationConfigurationsRequestBuilderGetQueryParameters struct {
	// The page number to retrieve.
	Pagenumber *int32 "uriparametername:\"page%5Bnumber%5D\""
	// The number of items to retrieve per page. Defaults to 20.
	Pagesize *int32 "uriparametername:\"page%5Bsize%5D\""
}

ItemNotificationConfigurationsRequestBuilderGetQueryParameters list all notification configurations for a team.

type ItemRelationshipsOrganizationMembershipsGetResponse

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

func NewItemRelationshipsOrganizationMembershipsGetResponse

func NewItemRelationshipsOrganizationMembershipsGetResponse() *ItemRelationshipsOrganizationMembershipsGetResponse

NewItemRelationshipsOrganizationMembershipsGetResponse instantiates a new ItemRelationshipsOrganizationMembershipsGetResponse and sets the default values.

func (*ItemRelationshipsOrganizationMembershipsGetResponse) GetAdditionalData

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. returns a map[string]any when successful

func (*ItemRelationshipsOrganizationMembershipsGetResponse) GetData

GetData gets the data property value. The data property returns a []OrganizationMembershipsable when successful

func (*ItemRelationshipsOrganizationMembershipsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

GetLinks gets the links property value. The links property returns a SelfWithPaginationable when successful

func (*ItemRelationshipsOrganizationMembershipsGetResponse) GetMeta

GetMeta gets the meta property value. The meta property returns a ItemRelationshipsOrganizationMembershipsGetResponse_metaable when successful

func (*ItemRelationshipsOrganizationMembershipsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemRelationshipsOrganizationMembershipsGetResponse) SetAdditionalData

func (m *ItemRelationshipsOrganizationMembershipsGetResponse) SetAdditionalData(value map[string]any)

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 (*ItemRelationshipsOrganizationMembershipsGetResponse) SetData

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*ItemRelationshipsOrganizationMembershipsGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type ItemRelationshipsOrganizationMembershipsGetResponse_meta

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

func NewItemRelationshipsOrganizationMembershipsGetResponse_meta

func NewItemRelationshipsOrganizationMembershipsGetResponse_meta() *ItemRelationshipsOrganizationMembershipsGetResponse_meta

NewItemRelationshipsOrganizationMembershipsGetResponse_meta instantiates a new ItemRelationshipsOrganizationMembershipsGetResponse_meta and sets the default values.

func (*ItemRelationshipsOrganizationMembershipsGetResponse_meta) GetAdditionalData

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. returns a map[string]any when successful

func (*ItemRelationshipsOrganizationMembershipsGetResponse_meta) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemRelationshipsOrganizationMembershipsGetResponse_meta) GetPagination

GetPagination gets the pagination property value. The pagination property returns a Paginationable when successful

func (*ItemRelationshipsOrganizationMembershipsGetResponse_meta) Serialize

Serialize serializes information the current object

func (*ItemRelationshipsOrganizationMembershipsGetResponse_meta) SetAdditionalData

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 (*ItemRelationshipsOrganizationMembershipsGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type ItemRelationshipsOrganizationMembershipsRequestBuilder

type ItemRelationshipsOrganizationMembershipsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemRelationshipsOrganizationMembershipsRequestBuilder builds and executes requests for operations under \teams\{-id}\relationships\organization-memberships

func NewItemRelationshipsOrganizationMembershipsRequestBuilder

func NewItemRelationshipsOrganizationMembershipsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRelationshipsOrganizationMembershipsRequestBuilder

NewItemRelationshipsOrganizationMembershipsRequestBuilder instantiates a new ItemRelationshipsOrganizationMembershipsRequestBuilder and sets the default values.

func NewItemRelationshipsOrganizationMembershipsRequestBuilderInternal

func NewItemRelationshipsOrganizationMembershipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRelationshipsOrganizationMembershipsRequestBuilder

NewItemRelationshipsOrganizationMembershipsRequestBuilderInternal instantiates a new ItemRelationshipsOrganizationMembershipsRequestBuilder and sets the default values.

func (*ItemRelationshipsOrganizationMembershipsRequestBuilder) Delete

Delete remove multiple users from a team using their organization membership IDs. This only removes users from this team; it does not delete the users from the organization. returns a Errors error when the service returns a 400 status code returns a Errors error when the service returns a 403 status code returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRelationshipsOrganizationMembershipsRequestBuilder) Get

Get list all organization memberships for a team. Returns both active members and invited users. returns a ItemRelationshipsOrganizationMembershipsGetResponseable when successful returns a Errors error when the service returns a 400 status code returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRelationshipsOrganizationMembershipsRequestBuilder) Post

Post add multiple users to a team using their organization membership IDs. Unlike the username method, users only need a pending invitation to the organization. returns a Errors error when the service returns a 400 status code returns a Errors error when the service returns a 403 status code returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRelationshipsOrganizationMembershipsRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation remove multiple users from a team using their organization membership IDs. This only removes users from this team; it does not delete the users from the organization. returns a *RequestInformation when successful

func (*ItemRelationshipsOrganizationMembershipsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all organization memberships for a team. Returns both active members and invited users. returns a *RequestInformation when successful

func (*ItemRelationshipsOrganizationMembershipsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation add multiple users to a team using their organization membership IDs. Unlike the username method, users only need a pending invitation to the organization. returns a *RequestInformation when successful

func (*ItemRelationshipsOrganizationMembershipsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemRelationshipsOrganizationMembershipsRequestBuilder when successful

type ItemRelationshipsOrganizationMembershipsRequestBuilderGetQueryParameters

type ItemRelationshipsOrganizationMembershipsRequestBuilderGetQueryParameters struct {
	// Filter to include only service account members.
	Filteris_service_account *i55866a5b5305bf32e8c63ade424f6db8c4707af03285bdc013b3a0b31da9a074.GetFilterIs_service_accountQueryParameterType "uriparametername:\"filter%5Bis_service_account%5D\""
	// Filter memberships by status.
	Filterstatus *i55866a5b5305bf32e8c63ade424f6db8c4707af03285bdc013b3a0b31da9a074.GetFilterStatusQueryParameterType "uriparametername:\"filter%5Bstatus%5D\""
	// The page number to retrieve.
	Pagenumber *int32 "uriparametername:\"page%5Bnumber%5D\""
	// The number of items to retrieve per page. Defaults to 20.
	Pagesize *int32 "uriparametername:\"page%5Bsize%5D\""
	// Sort memberships. Prefix with '-' for descending order (e.g. '-status').
	Sort *i55866a5b5305bf32e8c63ade424f6db8c4707af03285bdc013b3a0b31da9a074.GetSortQueryParameterType "uriparametername:\"sort\""
}

ItemRelationshipsOrganizationMembershipsRequestBuilderGetQueryParameters list all organization memberships for a team. Returns both active members and invited users.

type ItemRelationshipsRequestBuilder

ItemRelationshipsRequestBuilder builds and executes requests for operations under \teams\{-id}\relationships

func NewItemRelationshipsRequestBuilder

NewItemRelationshipsRequestBuilder instantiates a new ItemRelationshipsRequestBuilder and sets the default values.

func NewItemRelationshipsRequestBuilderInternal

func NewItemRelationshipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRelationshipsRequestBuilder

NewItemRelationshipsRequestBuilderInternal instantiates a new ItemRelationshipsRequestBuilder and sets the default values.

func (*ItemRelationshipsRequestBuilder) OrganizationMemberships

OrganizationMemberships the organizationMemberships property returns a *ItemRelationshipsOrganizationMembershipsRequestBuilder when successful

func (*ItemRelationshipsRequestBuilder) Users

Users the users property returns a *ItemRelationshipsUsersRequestBuilder when successful

type ItemRelationshipsUsersRequestBuilder

type ItemRelationshipsUsersRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemRelationshipsUsersRequestBuilder builds and executes requests for operations under \teams\{-id}\relationships\users

func NewItemRelationshipsUsersRequestBuilder

NewItemRelationshipsUsersRequestBuilder instantiates a new ItemRelationshipsUsersRequestBuilder and sets the default values.

func NewItemRelationshipsUsersRequestBuilderInternal

func NewItemRelationshipsUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRelationshipsUsersRequestBuilder

NewItemRelationshipsUsersRequestBuilderInternal instantiates a new ItemRelationshipsUsersRequestBuilder and sets the default values.

func (*ItemRelationshipsUsersRequestBuilder) Delete

Delete remove multiple users from a team using their usernames. This only removes users from this team; it does not delete the users from the organization. returns a Errors error when the service returns a 400 status code returns a Errors error when the service returns a 403 status code returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRelationshipsUsersRequestBuilder) Post

Post add multiple users to a team using their usernames. Both users and teams must already exist. returns a Errors error when the service returns a 400 status code returns a Errors error when the service returns a 403 status code returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRelationshipsUsersRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation remove multiple users from a team using their usernames. This only removes users from this team; it does not delete the users from the organization. returns a *RequestInformation when successful

func (*ItemRelationshipsUsersRequestBuilder) ToPostRequestInformation

ToPostRequestInformation add multiple users to a team using their usernames. Both users and teams must already exist. returns a *RequestInformation when successful

func (*ItemRelationshipsUsersRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemRelationshipsUsersRequestBuilder when successful

type ItemRequestBuilder

ItemRequestBuilder builds and executes requests for operations under \teams\{-id}

func NewItemRequestBuilder

NewItemRequestBuilder instantiates a new ItemRequestBuilder and sets the default values.

func NewItemRequestBuilderInternal

func NewItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRequestBuilder

NewItemRequestBuilderInternal instantiates a new ItemRequestBuilder and sets the default values.

func (*ItemRequestBuilder) AuthenticationToken

AuthenticationToken the authenticationToken property returns a *ItemAuthenticationTokenRequestBuilder when successful

func (*ItemRequestBuilder) Delete

Delete delete a team. Only organization owners can delete teams. returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRequestBuilder) Get

Get get details about a team. returns a ItemGetResponseable when successful returns a Errors error when the service returns a 400 status code returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRequestBuilder) NotificationConfigurations

func (m *ItemRequestBuilder) NotificationConfigurations() *ItemNotificationConfigurationsRequestBuilder

NotificationConfigurations the notificationConfigurations property returns a *ItemNotificationConfigurationsRequestBuilder when successful

func (*ItemRequestBuilder) Patch

Patch update a team's attributes. returns a TeamsEnvelopeable when successful returns a Errors error when the service returns a 400 status code returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 422 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRequestBuilder) Relationships

Relationships the relationships property returns a *ItemRelationshipsRequestBuilder when successful

func (*ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation delete a team. Only organization owners can delete teams. returns a *RequestInformation when successful

func (*ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get details about a team. returns a *RequestInformation when successful

func (*ItemRequestBuilder) WithUrl

func (m *ItemRequestBuilder) WithUrl(rawUrl string) *ItemRequestBuilder

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemRequestBuilder when successful

type ItemRequestBuilderGetQueryParameters

type ItemRequestBuilderGetQueryParameters struct {
	// Optionally side-load relationships. Can include "users" or "organization-memberships".
	Include *ie10571cf190b80b6fd30ffeea982800a2ed15e926bb667f8977c9950586c059a.GetIncludeQueryParameterType "uriparametername:\"include\""
}

ItemRequestBuilderGetQueryParameters get details about a team.

type TeamsRequestBuilder

TeamsRequestBuilder builds and executes requests for operations under \teams

func NewTeamsRequestBuilder

NewTeamsRequestBuilder instantiates a new TeamsRequestBuilder and sets the default values.

func NewTeamsRequestBuilderInternal

func NewTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TeamsRequestBuilder

NewTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder and sets the default values.

func (*TeamsRequestBuilder) ById

ById gets an item from the github.com/hashicorp/go-tfe/v2/api.teams.item collection returns a *ItemRequestBuilder when successful

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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