toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final acceleratorType = this.acceleratorType;
final apiVersion = this.apiVersion;
final cidrBlock = this.cidrBlock;
final createTime = this.createTime;
final description = this.description;
final health = this.health;
final healthDescription = this.healthDescription;
final ipAddress = this.ipAddress;
final labels = this.labels;
final name = this.name;
final network = this.network;
final networkEndpoints = this.networkEndpoints;
final port = this.port;
final schedulingConfig = this.schedulingConfig;
final serviceAccount = this.serviceAccount;
final state = this.state;
final symptoms = this.symptoms;
final tensorflowVersion = this.tensorflowVersion;
final useServiceNetworking = this.useServiceNetworking;
return {
'acceleratorType': ?acceleratorType,
'apiVersion': ?apiVersion,
'cidrBlock': ?cidrBlock,
'createTime': ?createTime,
'description': ?description,
'health': ?health,
'healthDescription': ?healthDescription,
'ipAddress': ?ipAddress,
'labels': ?labels,
'name': ?name,
'network': ?network,
'networkEndpoints': ?networkEndpoints,
'port': ?port,
'schedulingConfig': ?schedulingConfig,
'serviceAccount': ?serviceAccount,
'state': ?state,
'symptoms': ?symptoms,
'tensorflowVersion': ?tensorflowVersion,
'useServiceNetworking': ?useServiceNetworking,
};
}