users

package
v2.0.0-beta1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemAuthenticationTokensGetResponseFromDiscriminatorValue

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

func CreateItemAuthenticationTokensGetResponse_metaFromDiscriminatorValue

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

func CreateItemGithubAppOauthTokensGetResponseFromDiscriminatorValue

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

func CreateItemGithubAppOauthTokensGetResponse_metaFromDiscriminatorValue

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

Types

type ItemAuthenticationTokensGetResponse

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

func NewItemAuthenticationTokensGetResponse

func NewItemAuthenticationTokensGetResponse() *ItemAuthenticationTokensGetResponse

NewItemAuthenticationTokensGetResponse instantiates a new ItemAuthenticationTokensGetResponse and sets the default values.

func (*ItemAuthenticationTokensGetResponse) GetAdditionalData

func (m *ItemAuthenticationTokensGetResponse) 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 (*ItemAuthenticationTokensGetResponse) GetData

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

func (*ItemAuthenticationTokensGetResponse) 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 (*ItemAuthenticationTokensGetResponse) GetMeta

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

func (*ItemAuthenticationTokensGetResponse) Serialize

Serialize serializes information the current object

func (*ItemAuthenticationTokensGetResponse) SetAdditionalData

func (m *ItemAuthenticationTokensGetResponse) 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 (*ItemAuthenticationTokensGetResponse) SetData

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*ItemAuthenticationTokensGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type ItemAuthenticationTokensGetResponse_meta

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

func NewItemAuthenticationTokensGetResponse_meta

func NewItemAuthenticationTokensGetResponse_meta() *ItemAuthenticationTokensGetResponse_meta

NewItemAuthenticationTokensGetResponse_meta instantiates a new ItemAuthenticationTokensGetResponse_meta and sets the default values.

func (*ItemAuthenticationTokensGetResponse_meta) GetAdditionalData

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

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

func (*ItemAuthenticationTokensGetResponse_meta) GetPagination

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

func (*ItemAuthenticationTokensGetResponse_meta) Serialize

Serialize serializes information the current object

func (*ItemAuthenticationTokensGetResponse_meta) SetAdditionalData

func (m *ItemAuthenticationTokensGetResponse_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 (*ItemAuthenticationTokensGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type ItemAuthenticationTokensRequestBuilder

type ItemAuthenticationTokensRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemAuthenticationTokensRequestBuilder builds and executes requests for operations under \users\{user_id}\authentication-tokens

func NewItemAuthenticationTokensRequestBuilder

NewItemAuthenticationTokensRequestBuilder instantiates a new ItemAuthenticationTokensRequestBuilder and sets the default values.

func NewItemAuthenticationTokensRequestBuilderInternal

func NewItemAuthenticationTokensRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAuthenticationTokensRequestBuilder

NewItemAuthenticationTokensRequestBuilderInternal instantiates a new ItemAuthenticationTokensRequestBuilder and sets the default values.

func (*ItemAuthenticationTokensRequestBuilder) Get

Get list all tokens for a specified user returns a ItemAuthenticationTokensGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemAuthenticationTokensRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all tokens for a specified user returns a *RequestInformation when successful

func (*ItemAuthenticationTokensRequestBuilder) 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 *ItemAuthenticationTokensRequestBuilder when successful

type ItemAuthenticationTokensRequestBuilderGetQueryParameters

type ItemAuthenticationTokensRequestBuilderGetQueryParameters 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\""
}

ItemAuthenticationTokensRequestBuilderGetQueryParameters list all tokens for a specified user

type ItemGithubAppOauthTokensGetResponse

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

func NewItemGithubAppOauthTokensGetResponse

func NewItemGithubAppOauthTokensGetResponse() *ItemGithubAppOauthTokensGetResponse

NewItemGithubAppOauthTokensGetResponse instantiates a new ItemGithubAppOauthTokensGetResponse and sets the default values.

func (*ItemGithubAppOauthTokensGetResponse) GetAdditionalData

func (m *ItemGithubAppOauthTokensGetResponse) 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 (*ItemGithubAppOauthTokensGetResponse) GetData

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

func (*ItemGithubAppOauthTokensGetResponse) 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 (*ItemGithubAppOauthTokensGetResponse) GetMeta

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

func (*ItemGithubAppOauthTokensGetResponse) Serialize

Serialize serializes information the current object

func (*ItemGithubAppOauthTokensGetResponse) SetAdditionalData

func (m *ItemGithubAppOauthTokensGetResponse) 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 (*ItemGithubAppOauthTokensGetResponse) SetData

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*ItemGithubAppOauthTokensGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type ItemGithubAppOauthTokensGetResponse_meta

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

func NewItemGithubAppOauthTokensGetResponse_meta

func NewItemGithubAppOauthTokensGetResponse_meta() *ItemGithubAppOauthTokensGetResponse_meta

NewItemGithubAppOauthTokensGetResponse_meta instantiates a new ItemGithubAppOauthTokensGetResponse_meta and sets the default values.

func (*ItemGithubAppOauthTokensGetResponse_meta) GetAdditionalData

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

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

func (*ItemGithubAppOauthTokensGetResponse_meta) GetPagination

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

func (*ItemGithubAppOauthTokensGetResponse_meta) Serialize

Serialize serializes information the current object

func (*ItemGithubAppOauthTokensGetResponse_meta) SetAdditionalData

func (m *ItemGithubAppOauthTokensGetResponse_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 (*ItemGithubAppOauthTokensGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type ItemGithubAppOauthTokensRequestBuilder

type ItemGithubAppOauthTokensRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemGithubAppOauthTokensRequestBuilder builds and executes requests for operations under \users\{user_id}\github-app-oauth-tokens

func NewItemGithubAppOauthTokensRequestBuilder

NewItemGithubAppOauthTokensRequestBuilder instantiates a new ItemGithubAppOauthTokensRequestBuilder and sets the default values.

func NewItemGithubAppOauthTokensRequestBuilderInternal

func NewItemGithubAppOauthTokensRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemGithubAppOauthTokensRequestBuilder

NewItemGithubAppOauthTokensRequestBuilderInternal instantiates a new ItemGithubAppOauthTokensRequestBuilder and sets the default values.

func (*ItemGithubAppOauthTokensRequestBuilder) Get

Get list GitHub App OAuth tokens for a given user. returns a ItemGithubAppOauthTokensGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemGithubAppOauthTokensRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list GitHub App OAuth tokens for a given user. returns a *RequestInformation when successful

func (*ItemGithubAppOauthTokensRequestBuilder) 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 *ItemGithubAppOauthTokensRequestBuilder when successful

type ItemGithubAppOauthTokensRequestBuilderGetQueryParameters

type ItemGithubAppOauthTokensRequestBuilderGetQueryParameters 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\""
}

ItemGithubAppOauthTokensRequestBuilderGetQueryParameters list GitHub App OAuth tokens for a given user.

type UsersRequestBuilder

UsersRequestBuilder builds and executes requests for operations under \users

func NewUsersRequestBuilder

NewUsersRequestBuilder instantiates a new UsersRequestBuilder and sets the default values.

func NewUsersRequestBuilderInternal

func NewUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UsersRequestBuilder

NewUsersRequestBuilderInternal instantiates a new UsersRequestBuilder and sets the default values.

func (*UsersRequestBuilder) ByUser_id

ByUser_id gets an item from the github.com/hashicorp/go-tfe/v2/api.users.item collection returns a *WithUser_ItemRequestBuilder when successful

type WithUser_ItemRequestBuilder

WithUser_ItemRequestBuilder builds and executes requests for operations under \users\{user_id}

func NewWithUser_ItemRequestBuilder

NewWithUser_ItemRequestBuilder instantiates a new WithUser_ItemRequestBuilder and sets the default values.

func NewWithUser_ItemRequestBuilderInternal

func NewWithUser_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithUser_ItemRequestBuilder

NewWithUser_ItemRequestBuilderInternal instantiates a new WithUser_ItemRequestBuilder and sets the default values.

func (*WithUser_ItemRequestBuilder) AuthenticationTokens

AuthenticationTokens the authenticationTokens property returns a *ItemAuthenticationTokensRequestBuilder when successful

func (*WithUser_ItemRequestBuilder) Get

Get shows details for a given user. returns a UsersEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*WithUser_ItemRequestBuilder) GithubAppOauthTokens

GithubAppOauthTokens the githubAppOauthTokens property returns a *ItemGithubAppOauthTokensRequestBuilder when successful

func (*WithUser_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation shows details for a given user. returns a *RequestInformation when successful

func (*WithUser_ItemRequestBuilder) 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 *WithUser_ItemRequestBuilder when successful

Jump to

Keyboard shortcuts

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