modelRT/network/component_attribute_update_...

15 lines
556 B
Go

// Package network define struct of network operation
package network
// ComponentAttributeUpdateInfo defines circuit diagram component attribute params info
type ComponentAttributeUpdateInfo struct {
AttributeConfigs []ComponentAttributeConfig `json:"attributes"`
}
// ComponentAttributeConfig defines request params of circuit diagram component attribute update config
type ComponentAttributeConfig struct {
AttributeToken string `json:"token"`
AttributeOldVal string `json:"attribute_old_val"`
AttributeNewVal string `json:"attribute_new_val"`
}