Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add limit_workspaces to user model #529

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions fastly/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ type User struct {
DeletedAt *time.Time `mapstructure:"deleted_at"`
EmailHash *string `mapstructure:"email_hash"`
LimitServices *bool `mapstructure:"limit_services"`
LimitWorkspaces *bool `mapstructure:"limit_workspaces"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was checking the customer API https://www.fastly.com/documentation/reference/api/account/customer/ and I don't see the limit_workspaces field documented. It's not a blocker for this PR but it's usually a good idea to make sure the docs are updated to reflect the latest interface.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Integralist thank you for reviewing this! We're planning to update the API docs after we release this change

Locked *bool `mapstructure:"locked"`
Login *string `mapstructure:"login"`
Name *string `mapstructure:"name"`
Expand Down
Loading