toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adminClusterMembership != null)
        'adminClusterMembership': adminClusterMembership!,
      if (adminClusterName != null) 'adminClusterName': adminClusterName!,
      if (annotations != null) 'annotations': annotations!,
      if (bareMetalVersion != null) 'bareMetalVersion': bareMetalVersion!,
      if (binaryAuthorization != null)
        'binaryAuthorization': binaryAuthorization!,
      if (clusterOperations != null) 'clusterOperations': clusterOperations!,
      if (controlPlane != null) 'controlPlane': controlPlane!,
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (description != null) 'description': description!,
      if (endpoint != null) 'endpoint': endpoint!,
      if (etag != null) 'etag': etag!,
      if (fleet != null) 'fleet': fleet!,
      if (loadBalancer != null) 'loadBalancer': loadBalancer!,
      if (localName != null) 'localName': localName!,
      if (maintenanceConfig != null) 'maintenanceConfig': maintenanceConfig!,
      if (maintenanceStatus != null) 'maintenanceStatus': maintenanceStatus!,
      if (name != null) 'name': name!,
      if (networkConfig != null) 'networkConfig': networkConfig!,
      if (nodeAccessConfig != null) 'nodeAccessConfig': nodeAccessConfig!,
      if (nodeConfig != null) 'nodeConfig': nodeConfig!,
      if (osEnvironmentConfig != null)
        'osEnvironmentConfig': osEnvironmentConfig!,
      if (proxy != null) 'proxy': proxy!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (securityConfig != null) 'securityConfig': securityConfig!,
      if (state != null) 'state': state!,
      if (status != null) 'status': status!,
      if (storage != null) 'storage': storage!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (upgradePolicy != null) 'upgradePolicy': upgradePolicy!,
      if (validationCheck != null) 'validationCheck': validationCheck!,
    };