Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8cce7e4

Browse files
committedMar 13, 2025
feat(internal): revert HA and IO to initialisms (#5279)
1 parent ead063a commit 8cce7e4

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed
 

‎internal/services/magic_transit_site/data_source_model.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type MagicTransitSiteDataSourceModel struct {
2222
AccountID types.String `tfsdk:"account_id" path:"account_id,required"`
2323
ConnectorID types.String `tfsdk:"connector_id" json:"connector_id,computed"`
2424
Description types.String `tfsdk:"description" json:"description,computed"`
25-
HAMode types.Bool `tfsdk:"ha_mode" json:"ha_mode,computed"`
25+
HaMode types.Bool `tfsdk:"ha_mode" json:"ha_mode,computed"`
2626
Name types.String `tfsdk:"name" json:"name,computed"`
2727
SecondaryConnectorID types.String `tfsdk:"secondary_connector_id" json:"secondary_connector_id,computed"`
2828
Location customfield.NestedObject[MagicTransitSiteLocationDataSourceModel] `tfsdk:"location" json:"location,computed"`

‎internal/services/magic_transit_site/list_data_source_model.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type MagicTransitSitesResultDataSourceModel struct {
3939
ID types.String `tfsdk:"id" json:"id,computed"`
4040
ConnectorID types.String `tfsdk:"connector_id" json:"connector_id,computed"`
4141
Description types.String `tfsdk:"description" json:"description,computed"`
42-
HAMode types.Bool `tfsdk:"ha_mode" json:"ha_mode,computed"`
42+
HaMode types.Bool `tfsdk:"ha_mode" json:"ha_mode,computed"`
4343
Location customfield.NestedObject[MagicTransitSitesLocationDataSourceModel] `tfsdk:"location" json:"location,computed"`
4444
Name types.String `tfsdk:"name" json:"name,computed"`
4545
SecondaryConnectorID types.String `tfsdk:"secondary_connector_id" json:"secondary_connector_id,computed"`

‎internal/services/magic_transit_site/model.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type MagicTransitSiteResultEnvelope struct {
1515
type MagicTransitSiteModel struct {
1616
ID types.String `tfsdk:"id" json:"id,computed"`
1717
AccountID types.String `tfsdk:"account_id" path:"account_id,required"`
18-
HAMode types.Bool `tfsdk:"ha_mode" json:"ha_mode,optional"`
18+
HaMode types.Bool `tfsdk:"ha_mode" json:"ha_mode,optional"`
1919
Name types.String `tfsdk:"name" json:"name,required"`
2020
ConnectorID types.String `tfsdk:"connector_id" json:"connector_id,optional"`
2121
Description types.String `tfsdk:"description" json:"description,optional"`

‎internal/services/magic_transit_site_lan/data_source_model.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type MagicTransitSiteLANDataSourceModel struct {
2121
LANID types.String `tfsdk:"lan_id" path:"lan_id,optional"`
2222
AccountID types.String `tfsdk:"account_id" path:"account_id,required"`
2323
SiteID types.String `tfsdk:"site_id" path:"site_id,required"`
24-
HALink types.Bool `tfsdk:"ha_link" json:"ha_link,computed"`
24+
HaLink types.Bool `tfsdk:"ha_link" json:"ha_link,computed"`
2525
Name types.String `tfsdk:"name" json:"name,computed"`
2626
Physport types.Int64 `tfsdk:"physport" json:"physport,computed"`
2727
VlanTag types.Int64 `tfsdk:"vlan_tag" json:"vlan_tag,computed"`

‎internal/services/magic_transit_site_lan/list_data_source_model.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func (m *MagicTransitSiteLANsDataSourceModel) toListParams(_ context.Context) (p
3333

3434
type MagicTransitSiteLANsResultDataSourceModel struct {
3535
ID types.String `tfsdk:"id" json:"id,computed"`
36-
HALink types.Bool `tfsdk:"ha_link" json:"ha_link,computed"`
36+
HaLink types.Bool `tfsdk:"ha_link" json:"ha_link,computed"`
3737
Name types.String `tfsdk:"name" json:"name,computed"`
3838
Nat customfield.NestedObject[MagicTransitSiteLANsNatDataSourceModel] `tfsdk:"nat" json:"nat,computed"`
3939
Physport types.Int64 `tfsdk:"physport" json:"physport,computed"`

‎internal/services/magic_transit_site_lan/model.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type MagicTransitSiteLANModel struct {
1616
ID types.String `tfsdk:"id" json:"id,computed"`
1717
AccountID types.String `tfsdk:"account_id" path:"account_id,required"`
1818
SiteID types.String `tfsdk:"site_id" path:"site_id,required"`
19-
HALink types.Bool `tfsdk:"ha_link" json:"ha_link,optional"`
19+
HaLink types.Bool `tfsdk:"ha_link" json:"ha_link,optional"`
2020
Physport types.Int64 `tfsdk:"physport" json:"physport,required"`
2121
VlanTag types.Int64 `tfsdk:"vlan_tag" json:"vlan_tag,required"`
2222
Name types.String `tfsdk:"name" json:"name,optional"`

‎internal/services/managed_transforms/data_source_model.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ func (m *ManagedTransformsDataSourceModel) toReadParams(_ context.Context) (para
3333
type ManagedTransformsManagedRequestHeadersDataSourceModel struct {
3434
ID types.String `tfsdk:"id" json:"id,computed"`
3535
Enabled types.Bool `tfsdk:"enabled" json:"enabled,computed"`
36-
HAsConflict types.Bool `tfsdk:"has_conflict" json:"has_conflict,computed"`
36+
HasConflict types.Bool `tfsdk:"has_conflict" json:"has_conflict,computed"`
3737
ConflictsWith customfield.List[types.String] `tfsdk:"conflicts_with" json:"conflicts_with,computed"`
3838
}
3939

4040
type ManagedTransformsManagedResponseHeadersDataSourceModel struct {
4141
ID types.String `tfsdk:"id" json:"id,computed"`
4242
Enabled types.Bool `tfsdk:"enabled" json:"enabled,computed"`
43-
HAsConflict types.Bool `tfsdk:"has_conflict" json:"has_conflict,computed"`
43+
HasConflict types.Bool `tfsdk:"has_conflict" json:"has_conflict,computed"`
4444
ConflictsWith customfield.List[types.String] `tfsdk:"conflicts_with" json:"conflicts_with,computed"`
4545
}

‎internal/services/managed_transforms/model.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ func (m ManagedTransformsModel) MarshalJSONForUpdate(state ManagedTransformsMode
3030
type ManagedTransformsManagedRequestHeadersModel struct {
3131
ID types.String `tfsdk:"id" json:"id,required"`
3232
Enabled types.Bool `tfsdk:"enabled" json:"enabled,required"`
33-
HAsConflict types.Bool `tfsdk:"has_conflict" json:"has_conflict,computed"`
33+
HasConflict types.Bool `tfsdk:"has_conflict" json:"has_conflict,computed"`
3434
ConflictsWith customfield.List[types.String] `tfsdk:"conflicts_with" json:"conflicts_with,computed"`
3535
}
3636

3737
type ManagedTransformsManagedResponseHeadersModel struct {
3838
ID types.String `tfsdk:"id" json:"id,required"`
3939
Enabled types.Bool `tfsdk:"enabled" json:"enabled,required"`
40-
HAsConflict types.Bool `tfsdk:"has_conflict" json:"has_conflict,computed"`
40+
HasConflict types.Bool `tfsdk:"has_conflict" json:"has_conflict,computed"`
4141
ConflictsWith customfield.List[types.String] `tfsdk:"conflicts_with" json:"conflicts_with,computed"`
4242
}

‎internal/services/workers_script/list_data_source_model.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ type WorkersScriptsResultDataSourceModel struct {
3535
ID types.String `tfsdk:"id" json:"id,computed"`
3636
CreatedOn timetypes.RFC3339 `tfsdk:"created_on" json:"created_on,computed" format:"date-time"`
3737
Etag types.String `tfsdk:"etag" json:"etag,computed"`
38-
HAsAssets types.Bool `tfsdk:"has_assets" json:"has_assets,computed"`
39-
HAsModules types.Bool `tfsdk:"has_modules" json:"has_modules,computed"`
38+
HasAssets types.Bool `tfsdk:"has_assets" json:"has_assets,computed"`
39+
HasModules types.Bool `tfsdk:"has_modules" json:"has_modules,computed"`
4040
Logpush types.Bool `tfsdk:"logpush" json:"logpush,computed"`
4141
ModifiedOn timetypes.RFC3339 `tfsdk:"modified_on" json:"modified_on,computed" format:"date-time"`
4242
Placement customfield.NestedObject[WorkersScriptsPlacementDataSourceModel] `tfsdk:"placement" json:"placement,computed"`

0 commit comments

Comments
 (0)
Please sign in to comment.