Skip to content

Commit

Permalink
minor change in text
Browse files Browse the repository at this point in the history
  • Loading branch information
namratabhadauriya committed Apr 24, 2024
1 parent dd2d339 commit 481ece8
Showing 1 changed file with 19 additions and 25 deletions.
44 changes: 19 additions & 25 deletions enterprisemanagementv1/enterprise_management_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ func (enterpriseManagement *EnterpriseManagementV1) ImportAccountToEnterpriseWit

pathParamsMap := map[string]string{
"enterprise_id": *importAccountToEnterpriseOptions.EnterpriseID,
"account_id": *importAccountToEnterpriseOptions.AccountID,
"account_id": *importAccountToEnterpriseOptions.AccountID,
}

builder := core.NewRequestBuilder(core.PUT)
Expand Down Expand Up @@ -1624,8 +1624,8 @@ type CreateAccountGroupOptions struct {
// NewCreateAccountGroupOptions : Instantiate CreateAccountGroupOptions
func (*EnterpriseManagementV1) NewCreateAccountGroupOptions(parent string, name string, primaryContactIamID string) *CreateAccountGroupOptions {
return &CreateAccountGroupOptions{
Parent: core.StringPtr(parent),
Name: core.StringPtr(name),
Parent: core.StringPtr(parent),
Name: core.StringPtr(name),
PrimaryContactIamID: core.StringPtr(primaryContactIamID),
}
}
Expand Down Expand Up @@ -1690,7 +1690,7 @@ type CreateAccountOptions struct {
Traits *CreateAccountRequestTraits `json:"traits,omitempty"`

// The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to
// create IAM service id with IAM api keyg when creating a child account in the enterprise. This is an optional field.
// create IAM service id with IAM api key when creating a child account in the enterprise. This is an optional field.
Options *CreateAccountRequestOptions `json:"options,omitempty"`

// Allows users to set headers on API requests
Expand All @@ -1700,8 +1700,8 @@ type CreateAccountOptions struct {
// NewCreateAccountOptions : Instantiate CreateAccountOptions
func (*EnterpriseManagementV1) NewCreateAccountOptions(parent string, name string, ownerIamID string) *CreateAccountOptions {
return &CreateAccountOptions{
Parent: core.StringPtr(parent),
Name: core.StringPtr(name),
Parent: core.StringPtr(parent),
Name: core.StringPtr(name),
OwnerIamID: core.StringPtr(ownerIamID),
}
}
Expand Down Expand Up @@ -1858,8 +1858,8 @@ type CreateEnterpriseOptions struct {
// NewCreateEnterpriseOptions : Instantiate CreateEnterpriseOptions
func (*EnterpriseManagementV1) NewCreateEnterpriseOptions(sourceAccountID string, name string, primaryContactIamID string) *CreateEnterpriseOptions {
return &CreateEnterpriseOptions{
SourceAccountID: core.StringPtr(sourceAccountID),
Name: core.StringPtr(name),
SourceAccountID: core.StringPtr(sourceAccountID),
Name: core.StringPtr(name),
PrimaryContactIamID: core.StringPtr(primaryContactIamID),
}
}
Expand Down Expand Up @@ -2207,7 +2207,7 @@ type ImportAccountToEnterpriseOptions struct {
func (*EnterpriseManagementV1) NewImportAccountToEnterpriseOptions(enterpriseID string, accountID string) *ImportAccountToEnterpriseOptions {
return &ImportAccountToEnterpriseOptions{
EnterpriseID: core.StringPtr(enterpriseID),
AccountID: core.StringPtr(accountID),
AccountID: core.StringPtr(accountID),
}
}

Expand Down Expand Up @@ -2657,7 +2657,7 @@ type UpdateAccountOptions struct {
func (*EnterpriseManagementV1) NewUpdateAccountOptions(accountID string, parent string) *UpdateAccountOptions {
return &UpdateAccountOptions{
AccountID: core.StringPtr(accountID),
Parent: core.StringPtr(parent),
Parent: core.StringPtr(parent),
}
}

Expand Down Expand Up @@ -2734,13 +2734,11 @@ func (options *UpdateEnterpriseOptions) SetHeaders(param map[string]string) *Upd
return options
}

//
// EnterprisesPager can be used to simplify the use of the "ListEnterprises" method.
//
type EnterprisesPager struct {
hasNext bool
options *ListEnterprisesOptions
client *EnterpriseManagementV1
hasNext bool
options *ListEnterprisesOptions
client *EnterpriseManagementV1
pageContext struct {
next *string
}
Expand Down Expand Up @@ -2828,13 +2826,11 @@ func (pager *EnterprisesPager) GetAll() (allItems []Enterprise, err error) {
return
}

//
// AccountsPager can be used to simplify the use of the "ListAccounts" method.
//
type AccountsPager struct {
hasNext bool
options *ListAccountsOptions
client *EnterpriseManagementV1
hasNext bool
options *ListAccountsOptions
client *EnterpriseManagementV1
pageContext struct {
next *string
}
Expand Down Expand Up @@ -2922,13 +2918,11 @@ func (pager *AccountsPager) GetAll() (allItems []Account, err error) {
return
}

//
// AccountGroupsPager can be used to simplify the use of the "ListAccountGroups" method.
//
type AccountGroupsPager struct {
hasNext bool
options *ListAccountGroupsOptions
client *EnterpriseManagementV1
hasNext bool
options *ListAccountGroupsOptions
client *EnterpriseManagementV1
pageContext struct {
next *string
}
Expand Down

0 comments on commit 481ece8

Please sign in to comment.