UpdateAppletReq constructor

UpdateAppletReq({
  1. String? id,
  2. StringValue? name,
  3. StringValue? appID,
  4. StringValue? icon,
  5. StringValue? url,
  6. StringValue? md5,
  7. Int64Value? size,
  8. StringValue? version,
  9. UInt32Value? priority,
  10. UInt32Value? status,
  11. Int64Value? createTime,
})

Implementation

factory UpdateAppletReq({
  $core.String? id,
  $0.StringValue? name,
  $0.StringValue? appID,
  $0.StringValue? icon,
  $0.StringValue? url,
  $0.StringValue? md5,
  $0.Int64Value? size,
  $0.StringValue? version,
  $0.UInt32Value? priority,
  $0.UInt32Value? status,
  $0.Int64Value? createTime,
}) {
  final result = create();
  if (id != null) result.id = id;
  if (name != null) result.name = name;
  if (appID != null) result.appID = appID;
  if (icon != null) result.icon = icon;
  if (url != null) result.url = url;
  if (md5 != null) result.md5 = md5;
  if (size != null) result.size = size;
  if (version != null) result.version = version;
  if (priority != null) result.priority = priority;
  if (status != null) result.status = status;
  if (createTime != null) result.createTime = createTime;
  return result;
}