account

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHcpOrganizationsItemWithHcp_organization_GetResponseFromDiscriminatorValue

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

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

func CreatePasswordPatchRequestBodyFromDiscriminatorValue

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

func CreatePasswordPatchRequestBody_dataFromDiscriminatorValue

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

func CreatePasswordPatchRequestBody_data_attributesFromDiscriminatorValue

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

Types

type AccountRequestBuilder

AccountRequestBuilder builds and executes requests for operations under \account

func NewAccountRequestBuilder

NewAccountRequestBuilder instantiates a new AccountRequestBuilder and sets the default values.

func NewAccountRequestBuilderInternal

func NewAccountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AccountRequestBuilder

NewAccountRequestBuilderInternal instantiates a new AccountRequestBuilder and sets the default values.

func (*AccountRequestBuilder) Details

Details the details property returns a *DetailsRequestBuilder when successful

func (*AccountRequestBuilder) HcpOrganizations

HcpOrganizations the hcpOrganizations property returns a *HcpOrganizationsRequestBuilder when successful

func (*AccountRequestBuilder) Password

Password the password property returns a *PasswordRequestBuilder when successful

func (*AccountRequestBuilder) Update

Update the update property returns a *UpdateRequestBuilder when successful

type DetailsRequestBuilder

DetailsRequestBuilder builds and executes requests for operations under \account\details

func NewDetailsRequestBuilder

NewDetailsRequestBuilder instantiates a new DetailsRequestBuilder and sets the default values.

func NewDetailsRequestBuilderInternal

func NewDetailsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *DetailsRequestBuilder

NewDetailsRequestBuilderInternal instantiates a new DetailsRequestBuilder and sets the default values.

func (*DetailsRequestBuilder) Get

Get get your account details returns a UsersEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code

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

type HcpOrganizationsItemWithHcp_organization_GetResponse

type HcpOrganizationsItemWithHcp_organization_GetResponse struct {
	i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.HcpOrganizationEnvelope
	// contains filtered or unexported fields
}

func NewHcpOrganizationsItemWithHcp_organization_GetResponse

func NewHcpOrganizationsItemWithHcp_organization_GetResponse() *HcpOrganizationsItemWithHcp_organization_GetResponse

NewHcpOrganizationsItemWithHcp_organization_GetResponse instantiates a new HcpOrganizationsItemWithHcp_organization_GetResponse and sets the default values.

func (*HcpOrganizationsItemWithHcp_organization_GetResponse) GetFieldDeserializers

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

func (*HcpOrganizationsItemWithHcp_organization_GetResponse) GetIncluded

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

func (*HcpOrganizationsItemWithHcp_organization_GetResponse) Serialize

Serialize serializes information the current object

func (*HcpOrganizationsItemWithHcp_organization_GetResponse) SetIncluded

SetIncluded sets the included property value. The included property

type HcpOrganizationsRequestBuilder

HcpOrganizationsRequestBuilder builds and executes requests for operations under \account\hcp-organizations

func NewHcpOrganizationsRequestBuilder

NewHcpOrganizationsRequestBuilder instantiates a new HcpOrganizationsRequestBuilder and sets the default values.

func NewHcpOrganizationsRequestBuilderInternal

func NewHcpOrganizationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *HcpOrganizationsRequestBuilder

NewHcpOrganizationsRequestBuilderInternal instantiates a new HcpOrganizationsRequestBuilder and sets the default values.

func (*HcpOrganizationsRequestBuilder) ByHcp_organization_id

ByHcp_organization_id gets an item from the github.com/hashicorp/go-tfe/v2/api.account.hcpOrganizations.item collection returns a *HcpOrganizationsWithHcp_organization_ItemRequestBuilder when successful

type HcpOrganizationsWithHcp_organization_ItemRequestBuilder

type HcpOrganizationsWithHcp_organization_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

HcpOrganizationsWithHcp_organization_ItemRequestBuilder builds and executes requests for operations under \account\hcp-organizations\{hcp_organization_id}

func NewHcpOrganizationsWithHcp_organization_ItemRequestBuilder

func NewHcpOrganizationsWithHcp_organization_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *HcpOrganizationsWithHcp_organization_ItemRequestBuilder

NewHcpOrganizationsWithHcp_organization_ItemRequestBuilder instantiates a new HcpOrganizationsWithHcp_organization_ItemRequestBuilder and sets the default values.

func NewHcpOrganizationsWithHcp_organization_ItemRequestBuilderInternal

func NewHcpOrganizationsWithHcp_organization_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *HcpOrganizationsWithHcp_organization_ItemRequestBuilder

NewHcpOrganizationsWithHcp_organization_ItemRequestBuilderInternal instantiates a new HcpOrganizationsWithHcp_organization_ItemRequestBuilder and sets the default values.

func (*HcpOrganizationsWithHcp_organization_ItemRequestBuilder) Get

Get get details of a specific HCP organization returns a HcpOrganizationsItemWithHcp_organization_GetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*HcpOrganizationsWithHcp_organization_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get details of a specific HCP organization returns a *RequestInformation when successful

func (*HcpOrganizationsWithHcp_organization_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 *HcpOrganizationsWithHcp_organization_ItemRequestBuilder when successful

type PasswordPatchRequestBody

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

func NewPasswordPatchRequestBody

func NewPasswordPatchRequestBody() *PasswordPatchRequestBody

NewPasswordPatchRequestBody instantiates a new PasswordPatchRequestBody and sets the default values.

func (*PasswordPatchRequestBody) GetAdditionalData

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

GetData gets the data property value. The data property returns a PasswordPatchRequestBody_dataable when successful

func (*PasswordPatchRequestBody) GetFieldDeserializers

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

func (*PasswordPatchRequestBody) Serialize

Serialize serializes information the current object

func (*PasswordPatchRequestBody) SetAdditionalData

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

SetData sets the data property value. The data property

type PasswordPatchRequestBody_data

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

func NewPasswordPatchRequestBody_data

func NewPasswordPatchRequestBody_data() *PasswordPatchRequestBody_data

NewPasswordPatchRequestBody_data instantiates a new PasswordPatchRequestBody_data and sets the default values.

func (*PasswordPatchRequestBody_data) GetAdditionalData

func (m *PasswordPatchRequestBody_data) 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 (*PasswordPatchRequestBody_data) GetAttributes

GetAttributes gets the attributes property value. The attributes property returns a PasswordPatchRequestBody_data_attributesable when successful

func (*PasswordPatchRequestBody_data) GetFieldDeserializers

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

func (*PasswordPatchRequestBody_data) Serialize

Serialize serializes information the current object

func (*PasswordPatchRequestBody_data) SetAdditionalData

func (m *PasswordPatchRequestBody_data) 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 (*PasswordPatchRequestBody_data) SetAttributes

SetAttributes sets the attributes property value. The attributes property

type PasswordPatchRequestBody_data_attributes

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

func NewPasswordPatchRequestBody_data_attributes

func NewPasswordPatchRequestBody_data_attributes() *PasswordPatchRequestBody_data_attributes

NewPasswordPatchRequestBody_data_attributes instantiates a new PasswordPatchRequestBody_data_attributes and sets the default values.

func (*PasswordPatchRequestBody_data_attributes) GetAdditionalData

func (m *PasswordPatchRequestBody_data_attributes) 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 (*PasswordPatchRequestBody_data_attributes) GetCurrentPassword

func (m *PasswordPatchRequestBody_data_attributes) GetCurrentPassword() *string

GetCurrentPassword gets the current_password property value. The user's current password. Unlike most API data attributes, this one uses underscore_case instead of kebab-case. returns a *string when successful

func (*PasswordPatchRequestBody_data_attributes) GetFieldDeserializers

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

func (*PasswordPatchRequestBody_data_attributes) GetPassword

GetPassword gets the password property value. The user's new password. returns a *string when successful

func (*PasswordPatchRequestBody_data_attributes) GetPasswordConfirmation

func (m *PasswordPatchRequestBody_data_attributes) GetPasswordConfirmation() *string

GetPasswordConfirmation gets the password_confirmation property value. The confirmation of the user's new password. Unlike most API data attributes, this one uses underscore_case instead of kebab-case. returns a *string when successful

func (*PasswordPatchRequestBody_data_attributes) Serialize

Serialize serializes information the current object

func (*PasswordPatchRequestBody_data_attributes) SetAdditionalData

func (m *PasswordPatchRequestBody_data_attributes) 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 (*PasswordPatchRequestBody_data_attributes) SetCurrentPassword

func (m *PasswordPatchRequestBody_data_attributes) SetCurrentPassword(value *string)

SetCurrentPassword sets the current_password property value. The user's current password. Unlike most API data attributes, this one uses underscore_case instead of kebab-case.

func (*PasswordPatchRequestBody_data_attributes) SetPassword

func (m *PasswordPatchRequestBody_data_attributes) SetPassword(value *string)

SetPassword sets the password property value. The user's new password.

func (*PasswordPatchRequestBody_data_attributes) SetPasswordConfirmation

func (m *PasswordPatchRequestBody_data_attributes) SetPasswordConfirmation(value *string)

SetPasswordConfirmation sets the password_confirmation property value. The confirmation of the user's new password. Unlike most API data attributes, this one uses underscore_case instead of kebab-case.

type PasswordPatchRequestBody_data_attributesable

type PasswordPatchRequestBody_data_attributesable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetCurrentPassword() *string
	GetPassword() *string
	GetPasswordConfirmation() *string
	SetCurrentPassword(value *string)
	SetPassword(value *string)
	SetPasswordConfirmation(value *string)
}

type PasswordRequestBuilder

PasswordRequestBuilder builds and executes requests for operations under \account\password

func NewPasswordRequestBuilder

NewPasswordRequestBuilder instantiates a new PasswordRequestBuilder and sets the default values.

func NewPasswordRequestBuilderInternal

func NewPasswordRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PasswordRequestBuilder

NewPasswordRequestBuilderInternal instantiates a new PasswordRequestBuilder and sets the default values.

func (*PasswordRequestBuilder) Patch

Patch change your account password returns a Usersable when successful returns a Errors error when the service returns a 4XX or 5XX status code

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

type UpdateRequestBuilder

UpdateRequestBuilder builds and executes requests for operations under \account\update

func NewUpdateRequestBuilder

NewUpdateRequestBuilder instantiates a new UpdateRequestBuilder and sets the default values.

func NewUpdateRequestBuilderInternal

func NewUpdateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UpdateRequestBuilder

NewUpdateRequestBuilderInternal instantiates a new UpdateRequestBuilder and sets the default values.

func (*UpdateRequestBuilder) Patch

Patch update your username and email address. Other attributes are ignored. returns a UsersEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*UpdateRequestBuilder) WithUrl

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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