diff --git a/handler/applicationuser/applicationuser.go b/handler/applicationuser/applicationuser.go index 39a8a1c..8ed480c 100644 --- a/handler/applicationuser/applicationuser.go +++ b/handler/applicationuser/applicationuser.go @@ -145,22 +145,26 @@ type ApplicationUserAccessTokenCreateOut struct { TokenPrefix string `json:"token_prefix"` } type ApplicationUserCreateIn struct { - Name string `json:"name"` + IsSuperAdmin *bool `json:"is_super_admin,omitempty"` + Name string `json:"name"` } type ApplicationUserCreateOut struct { - Name string `json:"name"` - UserEmail string `json:"user_email"` - UserId string `json:"user_id"` + IsSuperAdmin bool `json:"is_super_admin"` + Name string `json:"name"` + UserEmail string `json:"user_email"` + UserId string `json:"user_id"` } type ApplicationUserGetOut struct { - Name string `json:"name"` - UserEmail string `json:"user_email"` - UserId string `json:"user_id"` + IsSuperAdmin bool `json:"is_super_admin"` + Name string `json:"name"` + UserEmail string `json:"user_email"` + UserId string `json:"user_id"` } type ApplicationUserOut struct { - Name string `json:"name"` - UserEmail string `json:"user_email"` - UserId string `json:"user_id"` + IsSuperAdmin bool `json:"is_super_admin"` + Name string `json:"name"` + UserEmail string `json:"user_email"` + UserId string `json:"user_id"` } type TokenOut struct { CreateTime time.Time `json:"create_time"` diff --git a/handler/kafkamirrormaker/kafkamirrormaker.go b/handler/kafkamirrormaker/kafkamirrormaker.go index 1085c92..ed55939 100644 --- a/handler/kafkamirrormaker/kafkamirrormaker.go +++ b/handler/kafkamirrormaker/kafkamirrormaker.go @@ -115,6 +115,7 @@ type ReplicationFlowOut struct { Enabled bool `json:"enabled"` OffsetLagMax *int `json:"offset_lag_max,omitempty"` OffsetSyncsTopicLocation OffsetSyncsTopicLocationType `json:"offset_syncs_topic_location,omitempty"` + ReplicationFactor *int `json:"replication_factor,omitempty"` ReplicationPolicyClass ReplicationPolicyClassType `json:"replication_policy_class,omitempty"` ReplicationProgress *float64 `json:"replication_progress,omitempty"` SourceCluster string `json:"source_cluster"` @@ -142,6 +143,7 @@ type ServiceKafkaMirrorMakerCreateReplicationFlowIn struct { Enabled bool `json:"enabled"` OffsetLagMax *int `json:"offset_lag_max,omitempty"` OffsetSyncsTopicLocation OffsetSyncsTopicLocationType `json:"offset_syncs_topic_location,omitempty"` + ReplicationFactor *int `json:"replication_factor,omitempty"` ReplicationPolicyClass ReplicationPolicyClassType `json:"replication_policy_class,omitempty"` SourceCluster string `json:"source_cluster"` SyncGroupOffsetsEnabled *bool `json:"sync_group_offsets_enabled,omitempty"` @@ -157,6 +159,7 @@ type ServiceKafkaMirrorMakerGetReplicationFlowOut struct { Enabled bool `json:"enabled"` OffsetLagMax *int `json:"offset_lag_max,omitempty"` OffsetSyncsTopicLocation OffsetSyncsTopicLocationType `json:"offset_syncs_topic_location,omitempty"` + ReplicationFactor *int `json:"replication_factor,omitempty"` ReplicationPolicyClass ReplicationPolicyClassType `json:"replication_policy_class,omitempty"` ReplicationProgress *float64 `json:"replication_progress,omitempty"` SourceCluster string `json:"source_cluster"` @@ -173,6 +176,7 @@ type ServiceKafkaMirrorMakerPatchReplicationFlowIn struct { Enabled *bool `json:"enabled,omitempty"` OffsetLagMax *int `json:"offset_lag_max,omitempty"` OffsetSyncsTopicLocation OffsetSyncsTopicLocationType `json:"offset_syncs_topic_location,omitempty"` + ReplicationFactor *int `json:"replication_factor,omitempty"` ReplicationPolicyClass ReplicationPolicyClassType `json:"replication_policy_class,omitempty"` SyncGroupOffsetsEnabled *bool `json:"sync_group_offsets_enabled,omitempty"` SyncGroupOffsetsIntervalSeconds *int `json:"sync_group_offsets_interval_seconds,omitempty"` @@ -186,6 +190,7 @@ type ServiceKafkaMirrorMakerPatchReplicationFlowOut struct { Enabled bool `json:"enabled"` OffsetLagMax *int `json:"offset_lag_max,omitempty"` OffsetSyncsTopicLocation OffsetSyncsTopicLocationType `json:"offset_syncs_topic_location,omitempty"` + ReplicationFactor *int `json:"replication_factor,omitempty"` ReplicationPolicyClass ReplicationPolicyClassType `json:"replication_policy_class,omitempty"` ReplicationProgress *float64 `json:"replication_progress,omitempty"` SourceCluster string `json:"source_cluster"` diff --git a/handler/project/project.go b/handler/project/project.go index 08571d1..c62052d 100644 --- a/handler/project/project.go +++ b/handler/project/project.go @@ -436,6 +436,7 @@ type ProjectCreateIn struct { AccountId string `json:"account_id,omitempty"` AddAccountOwnersAdminAccess *bool `json:"add_account_owners_admin_access,omitempty"` AddressLines *[]string `json:"address_lines,omitempty"` + BasePort *int `json:"base_port,omitempty"` BillingAddress string `json:"billing_address,omitempty"` BillingCurrency BillingCurrencyType `json:"billing_currency,omitempty"` BillingEmails *[]BillingEmailIn `json:"billing_emails,omitempty"`